"Fossies" - the Fresh Open Source Software Archive

Member "sip-0.12.1/configure" (26 Nov 2016, 532391 Bytes) of package /linux/privat/sip-0.12.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 0.5.6_vs_0.12.1.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for sip 0.12.1.
    4 #
    5 # Report bugs to <ricardofabbri@users.sourceforge.net>.
    6 #
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
   10 #
   11 # This configure script is free software; the Free Software Foundation
   12 # gives unlimited permission to copy, distribute and modify it.
   13 ## -------------------- ##
   14 ## M4sh Initialization. ##
   15 ## -------------------- ##
   16 
   17 # Be more Bourne compatible
   18 DUALCASE=1; export DUALCASE # for MKS sh
   19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20   emulate sh
   21   NULLCMD=:
   22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23   # is contrary to our usage.  Disable this feature.
   24   alias -g '${1+"$@"}'='"$@"'
   25   setopt NO_GLOB_SUBST
   26 else
   27   case `(set -o) 2>/dev/null` in #(
   28   *posix*) :
   29     set -o posix ;; #(
   30   *) :
   31      ;;
   32 esac
   33 fi
   34 
   35 
   36 as_nl='
   37 '
   38 export as_nl
   39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43 # Prefer a ksh shell builtin over an external printf program on Solaris,
   44 # but without wasting forks for bash or zsh.
   45 if test -z "$BASH_VERSION$ZSH_VERSION" \
   46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47   as_echo='print -r --'
   48   as_echo_n='print -rn --'
   49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50   as_echo='printf %s\n'
   51   as_echo_n='printf %s'
   52 else
   53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55     as_echo_n='/usr/ucb/echo -n'
   56   else
   57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58     as_echo_n_body='eval
   59       arg=$1;
   60       case $arg in #(
   61       *"$as_nl"*)
   62     expr "X$arg" : "X\\(.*\\)$as_nl";
   63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64       esac;
   65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66     '
   67     export as_echo_n_body
   68     as_echo_n='sh -c $as_echo_n_body as_echo'
   69   fi
   70   export as_echo_body
   71   as_echo='sh -c $as_echo_body as_echo'
   72 fi
   73 
   74 # The user is always right.
   75 if test "${PATH_SEPARATOR+set}" != set; then
   76   PATH_SEPARATOR=:
   77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79       PATH_SEPARATOR=';'
   80   }
   81 fi
   82 
   83 
   84 # IFS
   85 # We need space, tab and new line, in precisely that order.  Quoting is
   86 # there to prevent editors from complaining about space-tab.
   87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88 # splitting by setting IFS to empty value.)
   89 IFS=" ""    $as_nl"
   90 
   91 # Find who we are.  Look in the path if we contain no directory separator.
   92 as_myself=
   93 case $0 in #((
   94   *[\\/]* ) as_myself=$0 ;;
   95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96 for as_dir in $PATH
   97 do
   98   IFS=$as_save_IFS
   99   test -z "$as_dir" && as_dir=.
  100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101   done
  102 IFS=$as_save_IFS
  103 
  104      ;;
  105 esac
  106 # We did not find ourselves, most probably we were run as `sh COMMAND'
  107 # in which case we are not to be found in the path.
  108 if test "x$as_myself" = x; then
  109   as_myself=$0
  110 fi
  111 if test ! -f "$as_myself"; then
  112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113   exit 1
  114 fi
  115 
  116 # Unset variables that we do not need and which cause bugs (e.g. in
  117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118 # suppresses any "Segmentation fault" message there.  '((' could
  119 # trigger a bug in pdksh 5.2.14.
  120 for as_var in BASH_ENV ENV MAIL MAILPATH
  121 do eval test x\${$as_var+set} = xset \
  122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123 done
  124 PS1='$ '
  125 PS2='> '
  126 PS4='+ '
  127 
  128 # NLS nuisances.
  129 LC_ALL=C
  130 export LC_ALL
  131 LANGUAGE=C
  132 export LANGUAGE
  133 
  134 # CDPATH.
  135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136 
  137 # Use a proper internal environment variable to ensure we don't fall
  138   # into an infinite loop, continuously re-executing ourselves.
  139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140     _as_can_reexec=no; export _as_can_reexec;
  141     # We cannot yet assume a decent shell, so we have to provide a
  142 # neutralization value for shells without unset; and this also
  143 # works around shells that cannot unset nonexistent variables.
  144 # Preserve -v and -x to the replacement shell.
  145 BASH_ENV=/dev/null
  146 ENV=/dev/null
  147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148 case $- in # ((((
  149   *v*x* | *x*v* ) as_opts=-vx ;;
  150   *v* ) as_opts=-v ;;
  151   *x* ) as_opts=-x ;;
  152   * ) as_opts= ;;
  153 esac
  154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155 # Admittedly, this is quite paranoid, since all the known shells bail
  156 # out after a failed `exec'.
  157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158 as_fn_exit 255
  159   fi
  160   # We don't want this to propagate to other subprocesses.
  161           { _as_can_reexec=; unset _as_can_reexec;}
  162 if test "x$CONFIG_SHELL" = x; then
  163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164   emulate sh
  165   NULLCMD=:
  166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167   # is contrary to our usage.  Disable this feature.
  168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169   setopt NO_GLOB_SUBST
  170 else
  171   case \`(set -o) 2>/dev/null\` in #(
  172   *posix*) :
  173     set -o posix ;; #(
  174   *) :
  175      ;;
  176 esac
  177 fi
  178 "
  179   as_required="as_fn_return () { (exit \$1); }
  180 as_fn_success () { as_fn_return 0; }
  181 as_fn_failure () { as_fn_return 1; }
  182 as_fn_ret_success () { return 0; }
  183 as_fn_ret_failure () { return 1; }
  184 
  185 exitcode=0
  186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191 
  192 else
  193   exitcode=1; echo positional parameters were not saved.
  194 fi
  195 test x\$exitcode = x0 || exit 1
  196 test -x / || exit 1"
  197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201 
  202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  206     PATH=/empty FPATH=/empty; export PATH FPATH
  207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  209 test \$(( 1 + 1 )) = 2 || exit 1"
  210   if (eval "$as_required") 2>/dev/null; then :
  211   as_have_required=yes
  212 else
  213   as_have_required=no
  214 fi
  215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  216 
  217 else
  218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  219 as_found=false
  220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  221 do
  222   IFS=$as_save_IFS
  223   test -z "$as_dir" && as_dir=.
  224   as_found=:
  225   case $as_dir in #(
  226      /*)
  227        for as_base in sh bash ksh sh5; do
  228          # Try only shells that exist, to save several forks.
  229          as_shell=$as_dir/$as_base
  230          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  231             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232   CONFIG_SHELL=$as_shell as_have_required=yes
  233            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  234   break 2
  235 fi
  236 fi
  237        done;;
  238        esac
  239   as_found=false
  240 done
  241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  242           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  243   CONFIG_SHELL=$SHELL as_have_required=yes
  244 fi; }
  245 IFS=$as_save_IFS
  246 
  247 
  248       if test "x$CONFIG_SHELL" != x; then :
  249   export CONFIG_SHELL
  250              # We cannot yet assume a decent shell, so we have to provide a
  251 # neutralization value for shells without unset; and this also
  252 # works around shells that cannot unset nonexistent variables.
  253 # Preserve -v and -x to the replacement shell.
  254 BASH_ENV=/dev/null
  255 ENV=/dev/null
  256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  257 case $- in # ((((
  258   *v*x* | *x*v* ) as_opts=-vx ;;
  259   *v* ) as_opts=-v ;;
  260   *x* ) as_opts=-x ;;
  261   * ) as_opts= ;;
  262 esac
  263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  264 # Admittedly, this is quite paranoid, since all the known shells bail
  265 # out after a failed `exec'.
  266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  267 exit 255
  268 fi
  269 
  270     if test x$as_have_required = xno; then :
  271   $as_echo "$0: This script requires a shell more modern than all"
  272   $as_echo "$0: the shells that I found on your system."
  273   if test x${ZSH_VERSION+set} = xset ; then
  274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  276   else
  277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  278 $0: ricardofabbri@users.sourceforge.net about your system,
  279 $0: including any error possibly output before this
  280 $0: message. Then install a modern shell, or manually run
  281 $0: the script under such a shell if you do have one."
  282   fi
  283   exit 1
  284 fi
  285 fi
  286 fi
  287 SHELL=${CONFIG_SHELL-/bin/sh}
  288 export SHELL
  289 # Unset more variables known to interfere with behavior of common tools.
  290 CLICOLOR_FORCE= GREP_OPTIONS=
  291 unset CLICOLOR_FORCE GREP_OPTIONS
  292 
  293 ## --------------------- ##
  294 ## M4sh Shell Functions. ##
  295 ## --------------------- ##
  296 # as_fn_unset VAR
  297 # ---------------
  298 # Portably unset VAR.
  299 as_fn_unset ()
  300 {
  301   { eval $1=; unset $1;}
  302 }
  303 as_unset=as_fn_unset
  304 
  305 # as_fn_set_status STATUS
  306 # -----------------------
  307 # Set $? to STATUS, without forking.
  308 as_fn_set_status ()
  309 {
  310   return $1
  311 } # as_fn_set_status
  312 
  313 # as_fn_exit STATUS
  314 # -----------------
  315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  316 as_fn_exit ()
  317 {
  318   set +e
  319   as_fn_set_status $1
  320   exit $1
  321 } # as_fn_exit
  322 
  323 # as_fn_mkdir_p
  324 # -------------
  325 # Create "$as_dir" as a directory, including parents if necessary.
  326 as_fn_mkdir_p ()
  327 {
  328 
  329   case $as_dir in #(
  330   -*) as_dir=./$as_dir;;
  331   esac
  332   test -d "$as_dir" || eval $as_mkdir_p || {
  333     as_dirs=
  334     while :; do
  335       case $as_dir in #(
  336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  337       *) as_qdir=$as_dir;;
  338       esac
  339       as_dirs="'$as_qdir' $as_dirs"
  340       as_dir=`$as_dirname -- "$as_dir" ||
  341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  342      X"$as_dir" : 'X\(//\)[^/]' \| \
  343      X"$as_dir" : 'X\(//\)$' \| \
  344      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  345 $as_echo X"$as_dir" |
  346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  347         s//\1/
  348         q
  349       }
  350       /^X\(\/\/\)[^/].*/{
  351         s//\1/
  352         q
  353       }
  354       /^X\(\/\/\)$/{
  355         s//\1/
  356         q
  357       }
  358       /^X\(\/\).*/{
  359         s//\1/
  360         q
  361       }
  362       s/.*/./; q'`
  363       test -d "$as_dir" && break
  364     done
  365     test -z "$as_dirs" || eval "mkdir $as_dirs"
  366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  367 
  368 
  369 } # as_fn_mkdir_p
  370 
  371 # as_fn_executable_p FILE
  372 # -----------------------
  373 # Test if FILE is an executable regular file.
  374 as_fn_executable_p ()
  375 {
  376   test -f "$1" && test -x "$1"
  377 } # as_fn_executable_p
  378 # as_fn_append VAR VALUE
  379 # ----------------------
  380 # Append the text in VALUE to the end of the definition contained in VAR. Take
  381 # advantage of any shell optimizations that allow amortized linear growth over
  382 # repeated appends, instead of the typical quadratic growth present in naive
  383 # implementations.
  384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  385   eval 'as_fn_append ()
  386   {
  387     eval $1+=\$2
  388   }'
  389 else
  390   as_fn_append ()
  391   {
  392     eval $1=\$$1\$2
  393   }
  394 fi # as_fn_append
  395 
  396 # as_fn_arith ARG...
  397 # ------------------
  398 # Perform arithmetic evaluation on the ARGs, and store the result in the
  399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  400 # must be portable across $(()) and expr.
  401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  402   eval 'as_fn_arith ()
  403   {
  404     as_val=$(( $* ))
  405   }'
  406 else
  407   as_fn_arith ()
  408   {
  409     as_val=`expr "$@" || test $? -eq 1`
  410   }
  411 fi # as_fn_arith
  412 
  413 
  414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  415 # ----------------------------------------
  416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  418 # script with STATUS, using 1 if that was 0.
  419 as_fn_error ()
  420 {
  421   as_status=$1; test $as_status -eq 0 && as_status=1
  422   if test "$4"; then
  423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  425   fi
  426   $as_echo "$as_me: error: $2" >&2
  427   as_fn_exit $as_status
  428 } # as_fn_error
  429 
  430 if expr a : '\(a\)' >/dev/null 2>&1 &&
  431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  432   as_expr=expr
  433 else
  434   as_expr=false
  435 fi
  436 
  437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  438   as_basename=basename
  439 else
  440   as_basename=false
  441 fi
  442 
  443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  444   as_dirname=dirname
  445 else
  446   as_dirname=false
  447 fi
  448 
  449 as_me=`$as_basename -- "$0" ||
  450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  451      X"$0" : 'X\(//\)$' \| \
  452      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  453 $as_echo X/"$0" |
  454     sed '/^.*\/\([^/][^/]*\)\/*$/{
  455         s//\1/
  456         q
  457       }
  458       /^X\/\(\/\/\)$/{
  459         s//\1/
  460         q
  461       }
  462       /^X\/\(\/\).*/{
  463         s//\1/
  464         q
  465       }
  466       s/.*/./; q'`
  467 
  468 # Avoid depending upon Character Ranges.
  469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  472 as_cr_digits='0123456789'
  473 as_cr_alnum=$as_cr_Letters$as_cr_digits
  474 
  475 
  476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  481   sed -n '
  482     p
  483     /[$]LINENO/=
  484   ' <$as_myself |
  485     sed '
  486       s/[$]LINENO.*/&-/
  487       t lineno
  488       b
  489       :lineno
  490       N
  491       :loop
  492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  493       t loop
  494       s/-\n.*//
  495     ' >$as_me.lineno &&
  496   chmod +x "$as_me.lineno" ||
  497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  498 
  499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  500   # already done that, so ensure we don't try to do so again and fall
  501   # in an infinite loop.  This has already happened in practice.
  502   _as_can_reexec=no; export _as_can_reexec
  503   # Don't try to exec as it changes $[0], causing all sort of problems
  504   # (the dirname of $[0] is not the place where we might find the
  505   # original and so on.  Autoconf is especially sensitive to this).
  506   . "./$as_me.lineno"
  507   # Exit status is that of the last command.
  508   exit
  509 }
  510 
  511 ECHO_C= ECHO_N= ECHO_T=
  512 case `echo -n x` in #(((((
  513 -n*)
  514   case `echo 'xy\c'` in
  515   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  516   xy)  ECHO_C='\c';;
  517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  518        ECHO_T=' ';;
  519   esac;;
  520 *)
  521   ECHO_N='-n';;
  522 esac
  523 
  524 rm -f conf$$ conf$$.exe conf$$.file
  525 if test -d conf$$.dir; then
  526   rm -f conf$$.dir/conf$$.file
  527 else
  528   rm -f conf$$.dir
  529   mkdir conf$$.dir 2>/dev/null
  530 fi
  531 if (echo >conf$$.file) 2>/dev/null; then
  532   if ln -s conf$$.file conf$$ 2>/dev/null; then
  533     as_ln_s='ln -s'
  534     # ... but there are two gotchas:
  535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  537     # In both cases, we have to default to `cp -pR'.
  538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  539       as_ln_s='cp -pR'
  540   elif ln conf$$.file conf$$ 2>/dev/null; then
  541     as_ln_s=ln
  542   else
  543     as_ln_s='cp -pR'
  544   fi
  545 else
  546   as_ln_s='cp -pR'
  547 fi
  548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  549 rmdir conf$$.dir 2>/dev/null
  550 
  551 if mkdir -p . 2>/dev/null; then
  552   as_mkdir_p='mkdir -p "$as_dir"'
  553 else
  554   test -d ./-p && rmdir ./-p
  555   as_mkdir_p=false
  556 fi
  557 
  558 as_test_x='test -x'
  559 as_executable_p=as_fn_executable_p
  560 
  561 # Sed expression to map a string onto a valid CPP name.
  562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  563 
  564 # Sed expression to map a string onto a valid variable name.
  565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  566 
  567 SHELL=${CONFIG_SHELL-/bin/sh}
  568 
  569 
  570 test -n "$DJDIR" || exec 7<&0 </dev/null
  571 exec 6>&1
  572 
  573 # Name of the host.
  574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  575 # so uname gets run too.
  576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  577 
  578 #
  579 # Initializations.
  580 #
  581 ac_default_prefix=/usr/local
  582 ac_clean_files=
  583 ac_config_libobj_dir=.
  584 LIBOBJS=
  585 cross_compiling=no
  586 subdirs=
  587 MFLAGS=
  588 MAKEFLAGS=
  589 
  590 # Identity of this package.
  591 PACKAGE_NAME='sip'
  592 PACKAGE_TARNAME='sip'
  593 PACKAGE_VERSION='0.12.1'
  594 PACKAGE_STRING='sip 0.12.1'
  595 PACKAGE_BUGREPORT='ricardofabbri@users.sourceforge.net'
  596 PACKAGE_URL=''
  597 
  598 ac_unique_file="src/imread.c"
  599 # Factoring default headers for most tests.
  600 ac_includes_default="\
  601 #include <stdio.h>
  602 #ifdef HAVE_SYS_TYPES_H
  603 # include <sys/types.h>
  604 #endif
  605 #ifdef HAVE_SYS_STAT_H
  606 # include <sys/stat.h>
  607 #endif
  608 #ifdef STDC_HEADERS
  609 # include <stdlib.h>
  610 # include <stddef.h>
  611 #else
  612 # ifdef HAVE_STDLIB_H
  613 #  include <stdlib.h>
  614 # endif
  615 #endif
  616 #ifdef HAVE_STRING_H
  617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  618 #  include <memory.h>
  619 # endif
  620 # include <string.h>
  621 #endif
  622 #ifdef HAVE_STRINGS_H
  623 # include <strings.h>
  624 #endif
  625 #ifdef HAVE_INTTYPES_H
  626 # include <inttypes.h>
  627 #endif
  628 #ifdef HAVE_STDINT_H
  629 # include <stdint.h>
  630 #endif
  631 #ifdef HAVE_UNISTD_H
  632 # include <unistd.h>
  633 #endif"
  634 
  635 ac_default_prefix=$TOOLBOXDIR
  636 ac_subst_vars='am__EXEEXT_FALSE
  637 am__EXEEXT_TRUE
  638 LTLIBOBJS
  639 LIBOBJS
  640 LIBLEPT_HEADERSDIR
  641 OPENCV_LIBS
  642 OPENCV_CFLAGS
  643 MAGICK_CPPFLAGS
  644 MAGICK_LDFLAGS
  645 MAGICKWAND_LIBS
  646 MAGICKWAND_CFLAGS
  647 MAGICK_LIBS
  648 MAGICK_CFLAGS
  649 PKG_CONFIG_LIBDIR
  650 PKG_CONFIG_PATH
  651 PKG_CONFIG
  652 IMAGEMAGICK_CPPFLAGS
  653 IMAGEMAGICK_LDFLAGS
  654 IMAGEMAGICK_VERSION
  655 IMAGEMAGICK_LIBS
  656 IMAGEMAGICK_CFLAGS
  657 IMAGEMAGICK_CONFIG
  658 has_magickwand_config
  659 ANIMAL_VERSION
  660 ANIMAL_LIBS
  661 ANIMAL_CFLAGS
  662 ANIMAL_CONFIG
  663 LIBRARY_EXTRA_LIBS
  664 LIBRARY_EXTRA_CPPFLAGS
  665 SHARED_LIB_SUFFIX
  666 HELPDIR
  667 SCIEXE
  668 SCILIBDIR
  669 SCIDIR
  670 TOOLBOXDIR
  671 has_sablotron
  672 has_xsltproc
  673 has_scilab
  674 CPP
  675 LT_SYS_LIBRARY_PATH
  676 OTOOL64
  677 OTOOL
  678 LIPO
  679 NMEDIT
  680 DSYMUTIL
  681 MANIFEST_TOOL
  682 RANLIB
  683 ac_ct_AR
  684 AR
  685 LN_S
  686 NM
  687 ac_ct_DUMPBIN
  688 DUMPBIN
  689 LD
  690 FGREP
  691 EGREP
  692 GREP
  693 SED
  694 LIBTOOL
  695 OBJDUMP
  696 DLLTOOL
  697 AS
  698 host_os
  699 host_vendor
  700 host_cpu
  701 host
  702 build_os
  703 build_vendor
  704 build_cpu
  705 build
  706 am__fastdepCC_FALSE
  707 am__fastdepCC_TRUE
  708 CCDEPMODE
  709 am__nodep
  710 AMDEPBACKSLASH
  711 AMDEP_FALSE
  712 AMDEP_TRUE
  713 am__quote
  714 am__include
  715 DEPDIR
  716 OBJEXT
  717 EXEEXT
  718 ac_ct_CC
  719 CPPFLAGS
  720 LDFLAGS
  721 CFLAGS
  722 CC
  723 AM_BACKSLASH
  724 AM_DEFAULT_VERBOSITY
  725 AM_DEFAULT_V
  726 AM_V
  727 am__untar
  728 am__tar
  729 AMTAR
  730 am__leading_dot
  731 SET_MAKE
  732 AWK
  733 mkdir_p
  734 MKDIR_P
  735 INSTALL_STRIP_PROGRAM
  736 STRIP
  737 install_sh
  738 MAKEINFO
  739 AUTOHEADER
  740 AUTOMAKE
  741 AUTOCONF
  742 ACLOCAL
  743 VERSION
  744 PACKAGE
  745 CYGPATH_W
  746 am__isrc
  747 INSTALL_DATA
  748 INSTALL_SCRIPT
  749 INSTALL_PROGRAM
  750 target_alias
  751 host_alias
  752 build_alias
  753 LIBS
  754 ECHO_T
  755 ECHO_N
  756 ECHO_C
  757 DEFS
  758 mandir
  759 localedir
  760 libdir
  761 psdir
  762 pdfdir
  763 dvidir
  764 htmldir
  765 infodir
  766 docdir
  767 oldincludedir
  768 includedir
  769 runstatedir
  770 localstatedir
  771 sharedstatedir
  772 sysconfdir
  773 datadir
  774 datarootdir
  775 libexecdir
  776 sbindir
  777 bindir
  778 program_transform_name
  779 prefix
  780 exec_prefix
  781 PACKAGE_URL
  782 PACKAGE_BUGREPORT
  783 PACKAGE_STRING
  784 PACKAGE_VERSION
  785 PACKAGE_TARNAME
  786 PACKAGE_NAME
  787 PATH_SEPARATOR
  788 SHELL'
  789 ac_subst_files=''
  790 ac_user_opts='
  791 enable_option_checking
  792 enable_silent_rules
  793 enable_dependency_tracking
  794 enable_static
  795 enable_shared
  796 with_pic
  797 enable_fast_install
  798 with_aix_soname
  799 with_gnu_ld
  800 with_sysroot
  801 enable_libtool_lock
  802 with_animal_prefix
  803 with_animal_exec_prefix
  804 enable_animaltest
  805 with_imagemagick_prefix
  806 with_imagemagick_exec_prefix
  807 enable_imagemagicktest
  808 with_opencv
  809 with_leptonica
  810 '
  811       ac_precious_vars='build_alias
  812 host_alias
  813 target_alias
  814 CC
  815 CFLAGS
  816 LDFLAGS
  817 LIBS
  818 CPPFLAGS
  819 LT_SYS_LIBRARY_PATH
  820 CPP
  821 PKG_CONFIG
  822 PKG_CONFIG_PATH
  823 PKG_CONFIG_LIBDIR
  824 MAGICK_CFLAGS
  825 MAGICK_LIBS
  826 MAGICKWAND_CFLAGS
  827 MAGICKWAND_LIBS
  828 OPENCV_CFLAGS
  829 OPENCV_LIBS
  830 LIBLEPT_HEADERSDIR'
  831 
  832 
  833 # Initialize some variables set by options.
  834 ac_init_help=
  835 ac_init_version=false
  836 ac_unrecognized_opts=
  837 ac_unrecognized_sep=
  838 # The variables have the same names as the options, with
  839 # dashes changed to underlines.
  840 cache_file=/dev/null
  841 exec_prefix=NONE
  842 no_create=
  843 no_recursion=
  844 prefix=NONE
  845 program_prefix=NONE
  846 program_suffix=NONE
  847 program_transform_name=s,x,x,
  848 silent=
  849 site=
  850 srcdir=
  851 verbose=
  852 x_includes=NONE
  853 x_libraries=NONE
  854 
  855 # Installation directory options.
  856 # These are left unexpanded so users can "make install exec_prefix=/foo"
  857 # and all the variables that are supposed to be based on exec_prefix
  858 # by default will actually change.
  859 # Use braces instead of parens because sh, perl, etc. also accept them.
  860 # (The list follows the same order as the GNU Coding Standards.)
  861 bindir='${exec_prefix}/bin'
  862 sbindir='${exec_prefix}/sbin'
  863 libexecdir='${exec_prefix}/libexec'
  864 datarootdir='${prefix}/share'
  865 datadir='${datarootdir}'
  866 sysconfdir='${prefix}/etc'
  867 sharedstatedir='${prefix}/com'
  868 localstatedir='${prefix}/var'
  869 runstatedir='${localstatedir}/run'
  870 includedir='${prefix}/include'
  871 oldincludedir='/usr/include'
  872 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  873 infodir='${datarootdir}/info'
  874 htmldir='${docdir}'
  875 dvidir='${docdir}'
  876 pdfdir='${docdir}'
  877 psdir='${docdir}'
  878 libdir='${exec_prefix}/lib'
  879 localedir='${datarootdir}/locale'
  880 mandir='${datarootdir}/man'
  881 
  882 ac_prev=
  883 ac_dashdash=
  884 for ac_option
  885 do
  886   # If the previous option needs an argument, assign it.
  887   if test -n "$ac_prev"; then
  888     eval $ac_prev=\$ac_option
  889     ac_prev=
  890     continue
  891   fi
  892 
  893   case $ac_option in
  894   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  895   *=)   ac_optarg= ;;
  896   *)    ac_optarg=yes ;;
  897   esac
  898 
  899   # Accept the important Cygnus configure options, so we can diagnose typos.
  900 
  901   case $ac_dashdash$ac_option in
  902   --)
  903     ac_dashdash=yes ;;
  904 
  905   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  906     ac_prev=bindir ;;
  907   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  908     bindir=$ac_optarg ;;
  909 
  910   -build | --build | --buil | --bui | --bu)
  911     ac_prev=build_alias ;;
  912   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  913     build_alias=$ac_optarg ;;
  914 
  915   -cache-file | --cache-file | --cache-fil | --cache-fi \
  916   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  917     ac_prev=cache_file ;;
  918   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  919   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  920     cache_file=$ac_optarg ;;
  921 
  922   --config-cache | -C)
  923     cache_file=config.cache ;;
  924 
  925   -datadir | --datadir | --datadi | --datad)
  926     ac_prev=datadir ;;
  927   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  928     datadir=$ac_optarg ;;
  929 
  930   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  931   | --dataroo | --dataro | --datar)
  932     ac_prev=datarootdir ;;
  933   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  934   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  935     datarootdir=$ac_optarg ;;
  936 
  937   -disable-* | --disable-*)
  938     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  939     # Reject names that are not valid shell variable names.
  940     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  941       as_fn_error $? "invalid feature name: $ac_useropt"
  942     ac_useropt_orig=$ac_useropt
  943     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  944     case $ac_user_opts in
  945       *"
  946 "enable_$ac_useropt"
  947 "*) ;;
  948       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  949      ac_unrecognized_sep=', ';;
  950     esac
  951     eval enable_$ac_useropt=no ;;
  952 
  953   -docdir | --docdir | --docdi | --doc | --do)
  954     ac_prev=docdir ;;
  955   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  956     docdir=$ac_optarg ;;
  957 
  958   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  959     ac_prev=dvidir ;;
  960   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  961     dvidir=$ac_optarg ;;
  962 
  963   -enable-* | --enable-*)
  964     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  965     # Reject names that are not valid shell variable names.
  966     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  967       as_fn_error $? "invalid feature name: $ac_useropt"
  968     ac_useropt_orig=$ac_useropt
  969     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  970     case $ac_user_opts in
  971       *"
  972 "enable_$ac_useropt"
  973 "*) ;;
  974       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  975      ac_unrecognized_sep=', ';;
  976     esac
  977     eval enable_$ac_useropt=\$ac_optarg ;;
  978 
  979   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  980   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  981   | --exec | --exe | --ex)
  982     ac_prev=exec_prefix ;;
  983   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  984   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  985   | --exec=* | --exe=* | --ex=*)
  986     exec_prefix=$ac_optarg ;;
  987 
  988   -gas | --gas | --ga | --g)
  989     # Obsolete; use --with-gas.
  990     with_gas=yes ;;
  991 
  992   -help | --help | --hel | --he | -h)
  993     ac_init_help=long ;;
  994   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  995     ac_init_help=recursive ;;
  996   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  997     ac_init_help=short ;;
  998 
  999   -host | --host | --hos | --ho)
 1000     ac_prev=host_alias ;;
 1001   -host=* | --host=* | --hos=* | --ho=*)
 1002     host_alias=$ac_optarg ;;
 1003 
 1004   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1005     ac_prev=htmldir ;;
 1006   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1007   | --ht=*)
 1008     htmldir=$ac_optarg ;;
 1009 
 1010   -includedir | --includedir | --includedi | --included | --include \
 1011   | --includ | --inclu | --incl | --inc)
 1012     ac_prev=includedir ;;
 1013   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1014   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1015     includedir=$ac_optarg ;;
 1016 
 1017   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1018     ac_prev=infodir ;;
 1019   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1020     infodir=$ac_optarg ;;
 1021 
 1022   -libdir | --libdir | --libdi | --libd)
 1023     ac_prev=libdir ;;
 1024   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1025     libdir=$ac_optarg ;;
 1026 
 1027   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1028   | --libexe | --libex | --libe)
 1029     ac_prev=libexecdir ;;
 1030   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1031   | --libexe=* | --libex=* | --libe=*)
 1032     libexecdir=$ac_optarg ;;
 1033 
 1034   -localedir | --localedir | --localedi | --localed | --locale)
 1035     ac_prev=localedir ;;
 1036   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1037     localedir=$ac_optarg ;;
 1038 
 1039   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1040   | --localstate | --localstat | --localsta | --localst | --locals)
 1041     ac_prev=localstatedir ;;
 1042   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1043   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1044     localstatedir=$ac_optarg ;;
 1045 
 1046   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1047     ac_prev=mandir ;;
 1048   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1049     mandir=$ac_optarg ;;
 1050 
 1051   -nfp | --nfp | --nf)
 1052     # Obsolete; use --without-fp.
 1053     with_fp=no ;;
 1054 
 1055   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1056   | --no-cr | --no-c | -n)
 1057     no_create=yes ;;
 1058 
 1059   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1060   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1061     no_recursion=yes ;;
 1062 
 1063   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1064   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1065   | --oldin | --oldi | --old | --ol | --o)
 1066     ac_prev=oldincludedir ;;
 1067   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1068   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1069   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1070     oldincludedir=$ac_optarg ;;
 1071 
 1072   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1073     ac_prev=prefix ;;
 1074   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1075     prefix=$ac_optarg ;;
 1076 
 1077   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1078   | --program-pre | --program-pr | --program-p)
 1079     ac_prev=program_prefix ;;
 1080   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1081   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1082     program_prefix=$ac_optarg ;;
 1083 
 1084   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1085   | --program-suf | --program-su | --program-s)
 1086     ac_prev=program_suffix ;;
 1087   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1088   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1089     program_suffix=$ac_optarg ;;
 1090 
 1091   -program-transform-name | --program-transform-name \
 1092   | --program-transform-nam | --program-transform-na \
 1093   | --program-transform-n | --program-transform- \
 1094   | --program-transform | --program-transfor \
 1095   | --program-transfo | --program-transf \
 1096   | --program-trans | --program-tran \
 1097   | --progr-tra | --program-tr | --program-t)
 1098     ac_prev=program_transform_name ;;
 1099   -program-transform-name=* | --program-transform-name=* \
 1100   | --program-transform-nam=* | --program-transform-na=* \
 1101   | --program-transform-n=* | --program-transform-=* \
 1102   | --program-transform=* | --program-transfor=* \
 1103   | --program-transfo=* | --program-transf=* \
 1104   | --program-trans=* | --program-tran=* \
 1105   | --progr-tra=* | --program-tr=* | --program-t=*)
 1106     program_transform_name=$ac_optarg ;;
 1107 
 1108   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1109     ac_prev=pdfdir ;;
 1110   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1111     pdfdir=$ac_optarg ;;
 1112 
 1113   -psdir | --psdir | --psdi | --psd | --ps)
 1114     ac_prev=psdir ;;
 1115   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1116     psdir=$ac_optarg ;;
 1117 
 1118   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1119   | -silent | --silent | --silen | --sile | --sil)
 1120     silent=yes ;;
 1121 
 1122   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1123   | --runstate | --runstat | --runsta | --runst | --runs \
 1124   | --run | --ru | --r)
 1125     ac_prev=runstatedir ;;
 1126   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1127   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1128   | --run=* | --ru=* | --r=*)
 1129     runstatedir=$ac_optarg ;;
 1130 
 1131   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1132     ac_prev=sbindir ;;
 1133   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1134   | --sbi=* | --sb=*)
 1135     sbindir=$ac_optarg ;;
 1136 
 1137   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1138   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1139   | --sharedst | --shareds | --shared | --share | --shar \
 1140   | --sha | --sh)
 1141     ac_prev=sharedstatedir ;;
 1142   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1143   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1144   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1145   | --sha=* | --sh=*)
 1146     sharedstatedir=$ac_optarg ;;
 1147 
 1148   -site | --site | --sit)
 1149     ac_prev=site ;;
 1150   -site=* | --site=* | --sit=*)
 1151     site=$ac_optarg ;;
 1152 
 1153   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1154     ac_prev=srcdir ;;
 1155   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1156     srcdir=$ac_optarg ;;
 1157 
 1158   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1159   | --syscon | --sysco | --sysc | --sys | --sy)
 1160     ac_prev=sysconfdir ;;
 1161   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1162   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1163     sysconfdir=$ac_optarg ;;
 1164 
 1165   -target | --target | --targe | --targ | --tar | --ta | --t)
 1166     ac_prev=target_alias ;;
 1167   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1168     target_alias=$ac_optarg ;;
 1169 
 1170   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1171     verbose=yes ;;
 1172 
 1173   -version | --version | --versio | --versi | --vers | -V)
 1174     ac_init_version=: ;;
 1175 
 1176   -with-* | --with-*)
 1177     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1178     # Reject names that are not valid shell variable names.
 1179     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1180       as_fn_error $? "invalid package name: $ac_useropt"
 1181     ac_useropt_orig=$ac_useropt
 1182     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1183     case $ac_user_opts in
 1184       *"
 1185 "with_$ac_useropt"
 1186 "*) ;;
 1187       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1188      ac_unrecognized_sep=', ';;
 1189     esac
 1190     eval with_$ac_useropt=\$ac_optarg ;;
 1191 
 1192   -without-* | --without-*)
 1193     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1194     # Reject names that are not valid shell variable names.
 1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1196       as_fn_error $? "invalid package name: $ac_useropt"
 1197     ac_useropt_orig=$ac_useropt
 1198     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1199     case $ac_user_opts in
 1200       *"
 1201 "with_$ac_useropt"
 1202 "*) ;;
 1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1204      ac_unrecognized_sep=', ';;
 1205     esac
 1206     eval with_$ac_useropt=no ;;
 1207 
 1208   --x)
 1209     # Obsolete; use --with-x.
 1210     with_x=yes ;;
 1211 
 1212   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1213   | --x-incl | --x-inc | --x-in | --x-i)
 1214     ac_prev=x_includes ;;
 1215   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1216   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1217     x_includes=$ac_optarg ;;
 1218 
 1219   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1220   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1221     ac_prev=x_libraries ;;
 1222   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1223   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1224     x_libraries=$ac_optarg ;;
 1225 
 1226   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1227 Try \`$0 --help' for more information"
 1228     ;;
 1229 
 1230   *=*)
 1231     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1232     # Reject names that are not valid shell variable names.
 1233     case $ac_envvar in #(
 1234       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1235       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1236     esac
 1237     eval $ac_envvar=\$ac_optarg
 1238     export $ac_envvar ;;
 1239 
 1240   *)
 1241     # FIXME: should be removed in autoconf 3.0.
 1242     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1243     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1244       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1245     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1246     ;;
 1247 
 1248   esac
 1249 done
 1250 
 1251 if test -n "$ac_prev"; then
 1252   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1253   as_fn_error $? "missing argument to $ac_option"
 1254 fi
 1255 
 1256 if test -n "$ac_unrecognized_opts"; then
 1257   case $enable_option_checking in
 1258     no) ;;
 1259     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1260     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1261   esac
 1262 fi
 1263 
 1264 # Check all directory arguments for consistency.
 1265 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1266         datadir sysconfdir sharedstatedir localstatedir includedir \
 1267         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1268         libdir localedir mandir runstatedir
 1269 do
 1270   eval ac_val=\$$ac_var
 1271   # Remove trailing slashes.
 1272   case $ac_val in
 1273     */ )
 1274       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1275       eval $ac_var=\$ac_val;;
 1276   esac
 1277   # Be sure to have absolute directory names.
 1278   case $ac_val in
 1279     [\\/$]* | ?:[\\/]* )  continue;;
 1280     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1281   esac
 1282   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1283 done
 1284 
 1285 # There might be people who depend on the old broken behavior: `$host'
 1286 # used to hold the argument of --host etc.
 1287 # FIXME: To remove some day.
 1288 build=$build_alias
 1289 host=$host_alias
 1290 target=$target_alias
 1291 
 1292 # FIXME: To remove some day.
 1293 if test "x$host_alias" != x; then
 1294   if test "x$build_alias" = x; then
 1295     cross_compiling=maybe
 1296   elif test "x$build_alias" != "x$host_alias"; then
 1297     cross_compiling=yes
 1298   fi
 1299 fi
 1300 
 1301 ac_tool_prefix=
 1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1303 
 1304 test "$silent" = yes && exec 6>/dev/null
 1305 
 1306 
 1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1308 ac_ls_di=`ls -di .` &&
 1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1310   as_fn_error $? "working directory cannot be determined"
 1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1312   as_fn_error $? "pwd does not report name of working directory"
 1313 
 1314 
 1315 # Find the source files, if location was not specified.
 1316 if test -z "$srcdir"; then
 1317   ac_srcdir_defaulted=yes
 1318   # Try the directory containing this script, then the parent directory.
 1319   ac_confdir=`$as_dirname -- "$as_myself" ||
 1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1321      X"$as_myself" : 'X\(//\)[^/]' \| \
 1322      X"$as_myself" : 'X\(//\)$' \| \
 1323      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1324 $as_echo X"$as_myself" |
 1325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1326         s//\1/
 1327         q
 1328       }
 1329       /^X\(\/\/\)[^/].*/{
 1330         s//\1/
 1331         q
 1332       }
 1333       /^X\(\/\/\)$/{
 1334         s//\1/
 1335         q
 1336       }
 1337       /^X\(\/\).*/{
 1338         s//\1/
 1339         q
 1340       }
 1341       s/.*/./; q'`
 1342   srcdir=$ac_confdir
 1343   if test ! -r "$srcdir/$ac_unique_file"; then
 1344     srcdir=..
 1345   fi
 1346 else
 1347   ac_srcdir_defaulted=no
 1348 fi
 1349 if test ! -r "$srcdir/$ac_unique_file"; then
 1350   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1351   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1352 fi
 1353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1354 ac_abs_confdir=`(
 1355     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1356     pwd)`
 1357 # When building in place, set srcdir=.
 1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1359   srcdir=.
 1360 fi
 1361 # Remove unnecessary trailing slashes from srcdir.
 1362 # Double slashes in file names in object file debugging info
 1363 # mess up M-x gdb in Emacs.
 1364 case $srcdir in
 1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1366 esac
 1367 for ac_var in $ac_precious_vars; do
 1368   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1369   eval ac_env_${ac_var}_value=\$${ac_var}
 1370   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1371   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1372 done
 1373 
 1374 #
 1375 # Report the --help message.
 1376 #
 1377 if test "$ac_init_help" = "long"; then
 1378   # Omit some internal or obsolete options to make the list less imposing.
 1379   # This message is too long to be a string in the A/UX 3.1 sh.
 1380   cat <<_ACEOF
 1381 \`configure' configures sip 0.12.1 to adapt to many kinds of systems.
 1382 
 1383 Usage: $0 [OPTION]... [VAR=VALUE]...
 1384 
 1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1386 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1387 
 1388 Defaults for the options are specified in brackets.
 1389 
 1390 Configuration:
 1391   -h, --help              display this help and exit
 1392       --help=short        display options specific to this package
 1393       --help=recursive    display the short help of all the included packages
 1394   -V, --version           display version information and exit
 1395   -q, --quiet, --silent   do not print \`checking ...' messages
 1396       --cache-file=FILE   cache test results in FILE [disabled]
 1397   -C, --config-cache      alias for \`--cache-file=config.cache'
 1398   -n, --no-create         do not create output files
 1399       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1400 
 1401 Installation directories:
 1402   --prefix=PREFIX         install architecture-independent files in PREFIX
 1403                           [$ac_default_prefix]
 1404   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1405                           [PREFIX]
 1406 
 1407 By default, \`make install' will install all the files in
 1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1410 for instance \`--prefix=\$HOME'.
 1411 
 1412 For better control, use the options below.
 1413 
 1414 Fine tuning of the installation directories:
 1415   --bindir=DIR            user executables [EPREFIX/bin]
 1416   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1417   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1418   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1419   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1420   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1421   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1422   --libdir=DIR            object code libraries [EPREFIX/lib]
 1423   --includedir=DIR        C header files [PREFIX/include]
 1424   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1425   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1426   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1427   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1428   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1429   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1430   --docdir=DIR            documentation root [DATAROOTDIR/doc/sip]
 1431   --htmldir=DIR           html documentation [DOCDIR]
 1432   --dvidir=DIR            dvi documentation [DOCDIR]
 1433   --pdfdir=DIR            pdf documentation [DOCDIR]
 1434   --psdir=DIR             ps documentation [DOCDIR]
 1435 _ACEOF
 1436 
 1437   cat <<\_ACEOF
 1438 
 1439 Program names:
 1440   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1441   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1442   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1443 
 1444 System types:
 1445   --build=BUILD     configure for building on BUILD [guessed]
 1446   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1447 _ACEOF
 1448 fi
 1449 
 1450 if test -n "$ac_init_help"; then
 1451   case $ac_init_help in
 1452      short | recursive ) echo "Configuration of sip 0.12.1:";;
 1453    esac
 1454   cat <<\_ACEOF
 1455 
 1456 Optional Features:
 1457   --disable-option-checking  ignore unrecognized --enable/--with options
 1458   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1459   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1460   --enable-silent-rules   less verbose build output (undo: "make V=1")
 1461   --disable-silent-rules  verbose build output (undo: "make V=0")
 1462   --enable-dependency-tracking
 1463                           do not reject slow dependency extractors
 1464   --disable-dependency-tracking
 1465                           speeds up one-time build
 1466   --enable-static[=PKGS]  build static libraries [default=no]
 1467   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1468   --enable-fast-install[=PKGS]
 1469                           optimize for fast installation [default=yes]
 1470   --disable-libtool-lock  avoid locking (might break parallel builds)
 1471   --disable-animaltest    do not try to compile and run a test animal
 1472                           program
 1473   --disable-imagemagicktest
 1474                           do not try to compile and run a test ImageMagick
 1475                           program
 1476 
 1477 Optional Packages:
 1478   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1479   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1480   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 1481                           both]
 1482   --with-aix-soname=aix|svr4|both
 1483                           shared library versioning (aka "SONAME") variant to
 1484                           provide on AIX, [default=aix].
 1485   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1486   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
 1487                           compiler's sysroot if not specified).
 1488   --with-animal-prefix=PFX
 1489                           prefix where animal is installed (optional)
 1490   --with-animal-exec-prefix=PFX
 1491                           exec-prefix where animal is installed
 1492                           (optional)
 1493   --with-imagemagick-prefix=PFX
 1494                           prefix where ImageMagick is installed (optional)
 1495   --with-imagemagick-exec-prefix=PFX
 1496                           exec-prefix where ImageMagick is installed
 1497                           (optional)
 1498   --without-opencv        disable the OpenCV API
 1499   --without-leptonica     disable the Leptonica API
 1500 
 1501 Some influential environment variables:
 1502   CC          C compiler command
 1503   CFLAGS      C compiler flags
 1504   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1505               nonstandard directory <lib dir>
 1506   LIBS        libraries to pass to the linker, e.g. -l<library>
 1507   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1508               you have headers in a nonstandard directory <include dir>
 1509   LT_SYS_LIBRARY_PATH
 1510               User-defined run-time library search path.
 1511   CPP         C preprocessor
 1512   PKG_CONFIG  path to pkg-config utility
 1513   PKG_CONFIG_PATH
 1514               directories to add to pkg-config's search path
 1515   PKG_CONFIG_LIBDIR
 1516               path overriding pkg-config's built-in search path
 1517   MAGICK_CFLAGS
 1518               C compiler flags for MAGICK, overriding pkg-config
 1519   MAGICK_LIBS linker flags for MAGICK, overriding pkg-config
 1520   MAGICKWAND_CFLAGS
 1521               C compiler flags for MAGICKWAND, overriding pkg-config
 1522   MAGICKWAND_LIBS
 1523               linker flags for MAGICKWAND, overriding pkg-config
 1524   OPENCV_CFLAGS
 1525               C compiler flags for OPENCV, overriding pkg-config
 1526   OPENCV_LIBS linker flags for OPENCV, overriding pkg-config
 1527   LIBLEPT_HEADERSDIR
 1528               Leptonica headers directory
 1529 
 1530 Use these variables to override the choices made by `configure' or to help
 1531 it to find libraries and programs with nonstandard names/locations.
 1532 
 1533 Report bugs to <ricardofabbri@users.sourceforge.net>.
 1534 _ACEOF
 1535 ac_status=$?
 1536 fi
 1537 
 1538 if test "$ac_init_help" = "recursive"; then
 1539   # If there are subdirs, report their specific --help.
 1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1541     test -d "$ac_dir" ||
 1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1543       continue
 1544     ac_builddir=.
 1545 
 1546 case "$ac_dir" in
 1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1548 *)
 1549   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1550   # A ".." for each directory in $ac_dir_suffix.
 1551   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1552   case $ac_top_builddir_sub in
 1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1555   esac ;;
 1556 esac
 1557 ac_abs_top_builddir=$ac_pwd
 1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1559 # for backward compatibility:
 1560 ac_top_builddir=$ac_top_build_prefix
 1561 
 1562 case $srcdir in
 1563   .)  # We are building in place.
 1564     ac_srcdir=.
 1565     ac_top_srcdir=$ac_top_builddir_sub
 1566     ac_abs_top_srcdir=$ac_pwd ;;
 1567   [\\/]* | ?:[\\/]* )  # Absolute name.
 1568     ac_srcdir=$srcdir$ac_dir_suffix;
 1569     ac_top_srcdir=$srcdir
 1570     ac_abs_top_srcdir=$srcdir ;;
 1571   *) # Relative name.
 1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1575 esac
 1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1577 
 1578     cd "$ac_dir" || { ac_status=$?; continue; }
 1579     # Check for guested configure.
 1580     if test -f "$ac_srcdir/configure.gnu"; then
 1581       echo &&
 1582       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1583     elif test -f "$ac_srcdir/configure"; then
 1584       echo &&
 1585       $SHELL "$ac_srcdir/configure" --help=recursive
 1586     else
 1587       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1588     fi || ac_status=$?
 1589     cd "$ac_pwd" || { ac_status=$?; break; }
 1590   done
 1591 fi
 1592 
 1593 test -n "$ac_init_help" && exit $ac_status
 1594 if $ac_init_version; then
 1595   cat <<\_ACEOF
 1596 sip configure 0.12.1
 1597 generated by GNU Autoconf 2.69
 1598 
 1599 Copyright (C) 2012 Free Software Foundation, Inc.
 1600 This configure script is free software; the Free Software Foundation
 1601 gives unlimited permission to copy, distribute and modify it.
 1602 _ACEOF
 1603   exit
 1604 fi
 1605 
 1606 ## ------------------------ ##
 1607 ## Autoconf initialization. ##
 1608 ## ------------------------ ##
 1609 
 1610 # ac_fn_c_try_compile LINENO
 1611 # --------------------------
 1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1613 ac_fn_c_try_compile ()
 1614 {
 1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1616   rm -f conftest.$ac_objext
 1617   if { { ac_try="$ac_compile"
 1618 case "(($ac_try" in
 1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1620   *) ac_try_echo=$ac_try;;
 1621 esac
 1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1623 $as_echo "$ac_try_echo"; } >&5
 1624   (eval "$ac_compile") 2>conftest.err
 1625   ac_status=$?
 1626   if test -s conftest.err; then
 1627     grep -v '^ *+' conftest.err >conftest.er1
 1628     cat conftest.er1 >&5
 1629     mv -f conftest.er1 conftest.err
 1630   fi
 1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1632   test $ac_status = 0; } && {
 1633      test -z "$ac_c_werror_flag" ||
 1634      test ! -s conftest.err
 1635        } && test -s conftest.$ac_objext; then :
 1636   ac_retval=0
 1637 else
 1638   $as_echo "$as_me: failed program was:" >&5
 1639 sed 's/^/| /' conftest.$ac_ext >&5
 1640 
 1641     ac_retval=1
 1642 fi
 1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1644   as_fn_set_status $ac_retval
 1645 
 1646 } # ac_fn_c_try_compile
 1647 
 1648 # ac_fn_c_try_link LINENO
 1649 # -----------------------
 1650 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1651 ac_fn_c_try_link ()
 1652 {
 1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1654   rm -f conftest.$ac_objext conftest$ac_exeext
 1655   if { { ac_try="$ac_link"
 1656 case "(($ac_try" in
 1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1658   *) ac_try_echo=$ac_try;;
 1659 esac
 1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1661 $as_echo "$ac_try_echo"; } >&5
 1662   (eval "$ac_link") 2>conftest.err
 1663   ac_status=$?
 1664   if test -s conftest.err; then
 1665     grep -v '^ *+' conftest.err >conftest.er1
 1666     cat conftest.er1 >&5
 1667     mv -f conftest.er1 conftest.err
 1668   fi
 1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1670   test $ac_status = 0; } && {
 1671      test -z "$ac_c_werror_flag" ||
 1672      test ! -s conftest.err
 1673        } && test -s conftest$ac_exeext && {
 1674      test "$cross_compiling" = yes ||
 1675      test -x conftest$ac_exeext
 1676        }; then :
 1677   ac_retval=0
 1678 else
 1679   $as_echo "$as_me: failed program was:" >&5
 1680 sed 's/^/| /' conftest.$ac_ext >&5
 1681 
 1682     ac_retval=1
 1683 fi
 1684   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1685   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1686   # interfere with the next link command; also delete a directory that is
 1687   # left behind by Apple's compiler.  We do this before executing the actions.
 1688   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1690   as_fn_set_status $ac_retval
 1691 
 1692 } # ac_fn_c_try_link
 1693 
 1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1695 # -------------------------------------------------------
 1696 # Tests whether HEADER exists and can be compiled using the include files in
 1697 # INCLUDES, setting the cache variable VAR accordingly.
 1698 ac_fn_c_check_header_compile ()
 1699 {
 1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1702 $as_echo_n "checking for $2... " >&6; }
 1703 if eval \${$3+:} false; then :
 1704   $as_echo_n "(cached) " >&6
 1705 else
 1706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1707 /* end confdefs.h.  */
 1708 $4
 1709 #include <$2>
 1710 _ACEOF
 1711 if ac_fn_c_try_compile "$LINENO"; then :
 1712   eval "$3=yes"
 1713 else
 1714   eval "$3=no"
 1715 fi
 1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1717 fi
 1718 eval ac_res=\$$3
 1719            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1720 $as_echo "$ac_res" >&6; }
 1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1722 
 1723 } # ac_fn_c_check_header_compile
 1724 
 1725 # ac_fn_c_try_cpp LINENO
 1726 # ----------------------
 1727 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1728 ac_fn_c_try_cpp ()
 1729 {
 1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1731   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1732 case "(($ac_try" in
 1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1734   *) ac_try_echo=$ac_try;;
 1735 esac
 1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1737 $as_echo "$ac_try_echo"; } >&5
 1738   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1739   ac_status=$?
 1740   if test -s conftest.err; then
 1741     grep -v '^ *+' conftest.err >conftest.er1
 1742     cat conftest.er1 >&5
 1743     mv -f conftest.er1 conftest.err
 1744   fi
 1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1746   test $ac_status = 0; } > conftest.i && {
 1747      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1748      test ! -s conftest.err
 1749        }; then :
 1750   ac_retval=0
 1751 else
 1752   $as_echo "$as_me: failed program was:" >&5
 1753 sed 's/^/| /' conftest.$ac_ext >&5
 1754 
 1755     ac_retval=1
 1756 fi
 1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1758   as_fn_set_status $ac_retval
 1759 
 1760 } # ac_fn_c_try_cpp
 1761 
 1762 # ac_fn_c_try_run LINENO
 1763 # ----------------------
 1764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1765 # that executables *can* be run.
 1766 ac_fn_c_try_run ()
 1767 {
 1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1769   if { { ac_try="$ac_link"
 1770 case "(($ac_try" in
 1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1772   *) ac_try_echo=$ac_try;;
 1773 esac
 1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1775 $as_echo "$ac_try_echo"; } >&5
 1776   (eval "$ac_link") 2>&5
 1777   ac_status=$?
 1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1779   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1780   { { case "(($ac_try" in
 1781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1782   *) ac_try_echo=$ac_try;;
 1783 esac
 1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1785 $as_echo "$ac_try_echo"; } >&5
 1786   (eval "$ac_try") 2>&5
 1787   ac_status=$?
 1788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1789   test $ac_status = 0; }; }; then :
 1790   ac_retval=0
 1791 else
 1792   $as_echo "$as_me: program exited with status $ac_status" >&5
 1793        $as_echo "$as_me: failed program was:" >&5
 1794 sed 's/^/| /' conftest.$ac_ext >&5
 1795 
 1796        ac_retval=$ac_status
 1797 fi
 1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1800   as_fn_set_status $ac_retval
 1801 
 1802 } # ac_fn_c_try_run
 1803 
 1804 # ac_fn_c_check_func LINENO FUNC VAR
 1805 # ----------------------------------
 1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1807 ac_fn_c_check_func ()
 1808 {
 1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1811 $as_echo_n "checking for $2... " >&6; }
 1812 if eval \${$3+:} false; then :
 1813   $as_echo_n "(cached) " >&6
 1814 else
 1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1816 /* end confdefs.h.  */
 1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1819 #define $2 innocuous_$2
 1820 
 1821 /* System header to define __stub macros and hopefully few prototypes,
 1822     which can conflict with char $2 (); below.
 1823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1824     <limits.h> exists even on freestanding compilers.  */
 1825 
 1826 #ifdef __STDC__
 1827 # include <limits.h>
 1828 #else
 1829 # include <assert.h>
 1830 #endif
 1831 
 1832 #undef $2
 1833 
 1834 /* Override any GCC internal prototype to avoid an error.
 1835    Use char because int might match the return type of a GCC
 1836    builtin and then its argument prototype would still apply.  */
 1837 #ifdef __cplusplus
 1838 extern "C"
 1839 #endif
 1840 char $2 ();
 1841 /* The GNU C library defines this for functions which it implements
 1842     to always fail with ENOSYS.  Some functions are actually named
 1843     something starting with __ and the normal name is an alias.  */
 1844 #if defined __stub_$2 || defined __stub___$2
 1845 choke me
 1846 #endif
 1847 
 1848 int
 1849 main ()
 1850 {
 1851 return $2 ();
 1852   ;
 1853   return 0;
 1854 }
 1855 _ACEOF
 1856 if ac_fn_c_try_link "$LINENO"; then :
 1857   eval "$3=yes"
 1858 else
 1859   eval "$3=no"
 1860 fi
 1861 rm -f core conftest.err conftest.$ac_objext \
 1862     conftest$ac_exeext conftest.$ac_ext
 1863 fi
 1864 eval ac_res=\$$3
 1865            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1866 $as_echo "$ac_res" >&6; }
 1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1868 
 1869 } # ac_fn_c_check_func
 1870 
 1871 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1872 # -------------------------------------------------------
 1873 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1874 # the include files in INCLUDES and setting the cache variable VAR
 1875 # accordingly.
 1876 ac_fn_c_check_header_mongrel ()
 1877 {
 1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1879   if eval \${$3+:} false; then :
 1880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1881 $as_echo_n "checking for $2... " >&6; }
 1882 if eval \${$3+:} false; then :
 1883   $as_echo_n "(cached) " >&6
 1884 fi
 1885 eval ac_res=\$$3
 1886            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1887 $as_echo "$ac_res" >&6; }
 1888 else
 1889   # Is the header compilable?
 1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1891 $as_echo_n "checking $2 usability... " >&6; }
 1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1893 /* end confdefs.h.  */
 1894 $4
 1895 #include <$2>
 1896 _ACEOF
 1897 if ac_fn_c_try_compile "$LINENO"; then :
 1898   ac_header_compiler=yes
 1899 else
 1900   ac_header_compiler=no
 1901 fi
 1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1904 $as_echo "$ac_header_compiler" >&6; }
 1905 
 1906 # Is the header present?
 1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1908 $as_echo_n "checking $2 presence... " >&6; }
 1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1910 /* end confdefs.h.  */
 1911 #include <$2>
 1912 _ACEOF
 1913 if ac_fn_c_try_cpp "$LINENO"; then :
 1914   ac_header_preproc=yes
 1915 else
 1916   ac_header_preproc=no
 1917 fi
 1918 rm -f conftest.err conftest.i conftest.$ac_ext
 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1920 $as_echo "$ac_header_preproc" >&6; }
 1921 
 1922 # So?  What about this header?
 1923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1924   yes:no: )
 1925     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1926 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1927     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1929     ;;
 1930   no:yes:* )
 1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1932 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1934 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1936 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1938 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1941 ( $as_echo "## -------------------------------------------------- ##
 1942 ## Report this to ricardofabbri@users.sourceforge.net ##
 1943 ## -------------------------------------------------- ##"
 1944      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1945     ;;
 1946 esac
 1947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1948 $as_echo_n "checking for $2... " >&6; }
 1949 if eval \${$3+:} false; then :
 1950   $as_echo_n "(cached) " >&6
 1951 else
 1952   eval "$3=\$ac_header_compiler"
 1953 fi
 1954 eval ac_res=\$$3
 1955            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1956 $as_echo "$ac_res" >&6; }
 1957 fi
 1958   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1959 
 1960 } # ac_fn_c_check_header_mongrel
 1961 
 1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1963 # -------------------------------------------
 1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
 1965 # variable VAR accordingly.
 1966 ac_fn_c_check_type ()
 1967 {
 1968   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1970 $as_echo_n "checking for $2... " >&6; }
 1971 if eval \${$3+:} false; then :
 1972   $as_echo_n "(cached) " >&6
 1973 else
 1974   eval "$3=no"
 1975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1976 /* end confdefs.h.  */
 1977 $4
 1978 int
 1979 main ()
 1980 {
 1981 if (sizeof ($2))
 1982      return 0;
 1983   ;
 1984   return 0;
 1985 }
 1986 _ACEOF
 1987 if ac_fn_c_try_compile "$LINENO"; then :
 1988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1989 /* end confdefs.h.  */
 1990 $4
 1991 int
 1992 main ()
 1993 {
 1994 if (sizeof (($2)))
 1995         return 0;
 1996   ;
 1997   return 0;
 1998 }
 1999 _ACEOF
 2000 if ac_fn_c_try_compile "$LINENO"; then :
 2001 
 2002 else
 2003   eval "$3=yes"
 2004 fi
 2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2006 fi
 2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2008 fi
 2009 eval ac_res=\$$3
 2010            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2011 $as_echo "$ac_res" >&6; }
 2012   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2013 
 2014 } # ac_fn_c_check_type
 2015 cat >config.log <<_ACEOF
 2016 This file contains any messages produced by compilers while
 2017 running configure, to aid debugging if configure makes a mistake.
 2018 
 2019 It was created by sip $as_me 0.12.1, which was
 2020 generated by GNU Autoconf 2.69.  Invocation command line was
 2021 
 2022   $ $0 $@
 2023 
 2024 _ACEOF
 2025 exec 5>>config.log
 2026 {
 2027 cat <<_ASUNAME
 2028 ## --------- ##
 2029 ## Platform. ##
 2030 ## --------- ##
 2031 
 2032 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2033 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2034 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2035 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2036 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2037 
 2038 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2039 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2040 
 2041 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2042 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2043 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2044 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2045 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2046 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2047 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2048 
 2049 _ASUNAME
 2050 
 2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2052 for as_dir in $PATH
 2053 do
 2054   IFS=$as_save_IFS
 2055   test -z "$as_dir" && as_dir=.
 2056     $as_echo "PATH: $as_dir"
 2057   done
 2058 IFS=$as_save_IFS
 2059 
 2060 } >&5
 2061 
 2062 cat >&5 <<_ACEOF
 2063 
 2064 
 2065 ## ----------- ##
 2066 ## Core tests. ##
 2067 ## ----------- ##
 2068 
 2069 _ACEOF
 2070 
 2071 
 2072 # Keep a trace of the command line.
 2073 # Strip out --no-create and --no-recursion so they do not pile up.
 2074 # Strip out --silent because we don't want to record it for future runs.
 2075 # Also quote any args containing shell meta-characters.
 2076 # Make two passes to allow for proper duplicate-argument suppression.
 2077 ac_configure_args=
 2078 ac_configure_args0=
 2079 ac_configure_args1=
 2080 ac_must_keep_next=false
 2081 for ac_pass in 1 2
 2082 do
 2083   for ac_arg
 2084   do
 2085     case $ac_arg in
 2086     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2087     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2088     | -silent | --silent | --silen | --sile | --sil)
 2089       continue ;;
 2090     *\'*)
 2091       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2092     esac
 2093     case $ac_pass in
 2094     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2095     2)
 2096       as_fn_append ac_configure_args1 " '$ac_arg'"
 2097       if test $ac_must_keep_next = true; then
 2098     ac_must_keep_next=false # Got value, back to normal.
 2099       else
 2100     case $ac_arg in
 2101       *=* | --config-cache | -C | -disable-* | --disable-* \
 2102       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2103       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2104       | -with-* | --with-* | -without-* | --without-* | --x)
 2105         case "$ac_configure_args0 " in
 2106           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2107         esac
 2108         ;;
 2109       -* ) ac_must_keep_next=true ;;
 2110     esac
 2111       fi
 2112       as_fn_append ac_configure_args " '$ac_arg'"
 2113       ;;
 2114     esac
 2115   done
 2116 done
 2117 { ac_configure_args0=; unset ac_configure_args0;}
 2118 { ac_configure_args1=; unset ac_configure_args1;}
 2119 
 2120 # When interrupted or exit'd, cleanup temporary files, and complete
 2121 # config.log.  We remove comments because anyway the quotes in there
 2122 # would cause problems or look ugly.
 2123 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2124 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2125 trap 'exit_status=$?
 2126   # Save into config.log some information that might help in debugging.
 2127   {
 2128     echo
 2129 
 2130     $as_echo "## ---------------- ##
 2131 ## Cache variables. ##
 2132 ## ---------------- ##"
 2133     echo
 2134     # The following way of writing the cache mishandles newlines in values,
 2135 (
 2136   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2137     eval ac_val=\$$ac_var
 2138     case $ac_val in #(
 2139     *${as_nl}*)
 2140       case $ac_var in #(
 2141       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2142 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2143       esac
 2144       case $ac_var in #(
 2145       _ | IFS | as_nl) ;; #(
 2146       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2147       *) { eval $ac_var=; unset $ac_var;} ;;
 2148       esac ;;
 2149     esac
 2150   done
 2151   (set) 2>&1 |
 2152     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2153     *${as_nl}ac_space=\ *)
 2154       sed -n \
 2155     "s/'\''/'\''\\\\'\'''\''/g;
 2156       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2157       ;; #(
 2158     *)
 2159       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2160       ;;
 2161     esac |
 2162     sort
 2163 )
 2164     echo
 2165 
 2166     $as_echo "## ----------------- ##
 2167 ## Output variables. ##
 2168 ## ----------------- ##"
 2169     echo
 2170     for ac_var in $ac_subst_vars
 2171     do
 2172       eval ac_val=\$$ac_var
 2173       case $ac_val in
 2174       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2175       esac
 2176       $as_echo "$ac_var='\''$ac_val'\''"
 2177     done | sort
 2178     echo
 2179 
 2180     if test -n "$ac_subst_files"; then
 2181       $as_echo "## ------------------- ##
 2182 ## File substitutions. ##
 2183 ## ------------------- ##"
 2184       echo
 2185       for ac_var in $ac_subst_files
 2186       do
 2187     eval ac_val=\$$ac_var
 2188     case $ac_val in
 2189     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2190     esac
 2191     $as_echo "$ac_var='\''$ac_val'\''"
 2192       done | sort
 2193       echo
 2194     fi
 2195 
 2196     if test -s confdefs.h; then
 2197       $as_echo "## ----------- ##
 2198 ## confdefs.h. ##
 2199 ## ----------- ##"
 2200       echo
 2201       cat confdefs.h
 2202       echo
 2203     fi
 2204     test "$ac_signal" != 0 &&
 2205       $as_echo "$as_me: caught signal $ac_signal"
 2206     $as_echo "$as_me: exit $exit_status"
 2207   } >&5
 2208   rm -f core *.core core.conftest.* &&
 2209     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2210     exit $exit_status
 2211 ' 0
 2212 for ac_signal in 1 2 13 15; do
 2213   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2214 done
 2215 ac_signal=0
 2216 
 2217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2218 rm -f -r conftest* confdefs.h
 2219 
 2220 $as_echo "/* confdefs.h */" > confdefs.h
 2221 
 2222 # Predefined preprocessor variables.
 2223 
 2224 cat >>confdefs.h <<_ACEOF
 2225 #define PACKAGE_NAME "$PACKAGE_NAME"
 2226 _ACEOF
 2227 
 2228 cat >>confdefs.h <<_ACEOF
 2229 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2230 _ACEOF
 2231 
 2232 cat >>confdefs.h <<_ACEOF
 2233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2234 _ACEOF
 2235 
 2236 cat >>confdefs.h <<_ACEOF
 2237 #define PACKAGE_STRING "$PACKAGE_STRING"
 2238 _ACEOF
 2239 
 2240 cat >>confdefs.h <<_ACEOF
 2241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2242 _ACEOF
 2243 
 2244 cat >>confdefs.h <<_ACEOF
 2245 #define PACKAGE_URL "$PACKAGE_URL"
 2246 _ACEOF
 2247 
 2248 
 2249 # Let the site file select an alternate cache file if it wants to.
 2250 # Prefer an explicitly selected file to automatically selected ones.
 2251 ac_site_file1=NONE
 2252 ac_site_file2=NONE
 2253 if test -n "$CONFIG_SITE"; then
 2254   # We do not want a PATH search for config.site.
 2255   case $CONFIG_SITE in #((
 2256     -*)  ac_site_file1=./$CONFIG_SITE;;
 2257     */*) ac_site_file1=$CONFIG_SITE;;
 2258     *)   ac_site_file1=./$CONFIG_SITE;;
 2259   esac
 2260 elif test "x$prefix" != xNONE; then
 2261   ac_site_file1=$prefix/share/config.site
 2262   ac_site_file2=$prefix/etc/config.site
 2263 else
 2264   ac_site_file1=$ac_default_prefix/share/config.site
 2265   ac_site_file2=$ac_default_prefix/etc/config.site
 2266 fi
 2267 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2268 do
 2269   test "x$ac_site_file" = xNONE && continue
 2270   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2271     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2272 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2273     sed 's/^/| /' "$ac_site_file" >&5
 2274     . "$ac_site_file" \
 2275       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2277 as_fn_error $? "failed to load site script $ac_site_file
 2278 See \`config.log' for more details" "$LINENO" 5; }
 2279   fi
 2280 done
 2281 
 2282 if test -r "$cache_file"; then
 2283   # Some versions of bash will fail to source /dev/null (special files
 2284   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2285   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2286     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2287 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2288     case $cache_file in
 2289       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2290       *)                      . "./$cache_file";;
 2291     esac
 2292   fi
 2293 else
 2294   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2295 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2296   >$cache_file
 2297 fi
 2298 
 2299 # Check that the precious variables saved in the cache have kept the same
 2300 # value.
 2301 ac_cache_corrupted=false
 2302 for ac_var in $ac_precious_vars; do
 2303   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2304   eval ac_new_set=\$ac_env_${ac_var}_set
 2305   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2306   eval ac_new_val=\$ac_env_${ac_var}_value
 2307   case $ac_old_set,$ac_new_set in
 2308     set,)
 2309       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2310 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2311       ac_cache_corrupted=: ;;
 2312     ,set)
 2313       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2314 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2315       ac_cache_corrupted=: ;;
 2316     ,);;
 2317     *)
 2318       if test "x$ac_old_val" != "x$ac_new_val"; then
 2319     # differences in whitespace do not lead to failure.
 2320     ac_old_val_w=`echo x $ac_old_val`
 2321     ac_new_val_w=`echo x $ac_new_val`
 2322     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2323       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2324 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2325       ac_cache_corrupted=:
 2326     else
 2327       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2328 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2329       eval $ac_var=\$ac_old_val
 2330     fi
 2331     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2332 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2333     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2334 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2335       fi;;
 2336   esac
 2337   # Pass precious variables to config.status.
 2338   if test "$ac_new_set" = set; then
 2339     case $ac_new_val in
 2340     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2341     *) ac_arg=$ac_var=$ac_new_val ;;
 2342     esac
 2343     case " $ac_configure_args " in
 2344       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2345       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2346     esac
 2347   fi
 2348 done
 2349 if $ac_cache_corrupted; then
 2350   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2352   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2353 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2354   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2355 fi
 2356 ## -------------------- ##
 2357 ## Main body of script. ##
 2358 ## -------------------- ##
 2359 
 2360 ac_ext=c
 2361 ac_cpp='$CPP $CPPFLAGS'
 2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2365 
 2366 
 2367 echo "configuring SIP 0.12.1"
 2368 ac_aux_dir=
 2369 for ac_dir in config "$srcdir"/config; do
 2370   if test -f "$ac_dir/install-sh"; then
 2371     ac_aux_dir=$ac_dir
 2372     ac_install_sh="$ac_aux_dir/install-sh -c"
 2373     break
 2374   elif test -f "$ac_dir/install.sh"; then
 2375     ac_aux_dir=$ac_dir
 2376     ac_install_sh="$ac_aux_dir/install.sh -c"
 2377     break
 2378   elif test -f "$ac_dir/shtool"; then
 2379     ac_aux_dir=$ac_dir
 2380     ac_install_sh="$ac_aux_dir/shtool install -c"
 2381     break
 2382   fi
 2383 done
 2384 if test -z "$ac_aux_dir"; then
 2385   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
 2386 fi
 2387 
 2388 # These three variables are undocumented and unsupported,
 2389 # and are intended to be withdrawn in a future Autoconf release.
 2390 # They can cause serious problems if a builder's source tree is in a directory
 2391 # whose full name contains unusual characters.
 2392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2394 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2395 
 2396 
 2397 
 2398 ac_config_headers="$ac_config_headers src/config.h"
 2399 
 2400 
 2401 ac_config_commands="$ac_config_commands src/sip_config.h"
 2402 
 2403 am__api_version='1.15'
 2404 
 2405 # Find a good install program.  We prefer a C program (faster),
 2406 # so one script is as good as another.  But avoid the broken or
 2407 # incompatible versions:
 2408 # SysV /etc/install, /usr/sbin/install
 2409 # SunOS /usr/etc/install
 2410 # IRIX /sbin/install
 2411 # AIX /bin/install
 2412 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2416 # OS/2's system install, which has a completely different semantic
 2417 # ./install, which can be erroneously created by make from ./install.sh.
 2418 # Reject install programs that cannot install multiple files.
 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2420 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2421 if test -z "$INSTALL"; then
 2422 if ${ac_cv_path_install+:} false; then :
 2423   $as_echo_n "(cached) " >&6
 2424 else
 2425   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2426 for as_dir in $PATH
 2427 do
 2428   IFS=$as_save_IFS
 2429   test -z "$as_dir" && as_dir=.
 2430     # Account for people who put trailing slashes in PATH elements.
 2431 case $as_dir/ in #((
 2432   ./ | .// | /[cC]/* | \
 2433   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2434   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2435   /usr/ucb/* ) ;;
 2436   *)
 2437     # OSF1 and SCO ODT 3.0 have their own names for install.
 2438     # Don't use installbsd from OSF since it installs stuff as root
 2439     # by default.
 2440     for ac_prog in ginstall scoinst install; do
 2441       for ac_exec_ext in '' $ac_executable_extensions; do
 2442     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2443       if test $ac_prog = install &&
 2444         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2445         # AIX install.  It has an incompatible calling convention.
 2446         :
 2447       elif test $ac_prog = install &&
 2448         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2449         # program-specific install script used by HP pwplus--don't use.
 2450         :
 2451       else
 2452         rm -rf conftest.one conftest.two conftest.dir
 2453         echo one > conftest.one
 2454         echo two > conftest.two
 2455         mkdir conftest.dir
 2456         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2457           test -s conftest.one && test -s conftest.two &&
 2458           test -s conftest.dir/conftest.one &&
 2459           test -s conftest.dir/conftest.two
 2460         then
 2461           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2462           break 3
 2463         fi
 2464       fi
 2465     fi
 2466       done
 2467     done
 2468     ;;
 2469 esac
 2470 
 2471   done
 2472 IFS=$as_save_IFS
 2473 
 2474 rm -rf conftest.one conftest.two conftest.dir
 2475 
 2476 fi
 2477   if test "${ac_cv_path_install+set}" = set; then
 2478     INSTALL=$ac_cv_path_install
 2479   else
 2480     # As a last resort, use the slow shell script.  Don't cache a
 2481     # value for INSTALL within a source directory, because that will
 2482     # break other packages using the cache if that directory is
 2483     # removed, or if the value is a relative name.
 2484     INSTALL=$ac_install_sh
 2485   fi
 2486 fi
 2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2488 $as_echo "$INSTALL" >&6; }
 2489 
 2490 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2491 # It thinks the first close brace ends the variable substitution.
 2492 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2493 
 2494 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2495 
 2496 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2497 
 2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2499 $as_echo_n "checking whether build environment is sane... " >&6; }
 2500 # Reject unsafe characters in $srcdir or the absolute working directory
 2501 # name.  Accept space and tab only in the latter.
 2502 am_lf='
 2503 '
 2504 case `pwd` in
 2505   *[\\\"\#\$\&\'\`$am_lf]*)
 2506     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2507 esac
 2508 case $srcdir in
 2509   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2510     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2511 esac
 2512 
 2513 # Do 'set' in a subshell so we don't clobber the current shell's
 2514 # arguments.  Must try -L first in case configure is actually a
 2515 # symlink; some systems play weird games with the mod time of symlinks
 2516 # (eg FreeBSD returns the mod time of the symlink's containing
 2517 # directory).
 2518 if (
 2519    am_has_slept=no
 2520    for am_try in 1 2; do
 2521      echo "timestamp, slept: $am_has_slept" > conftest.file
 2522      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2523      if test "$*" = "X"; then
 2524     # -L didn't work.
 2525     set X `ls -t "$srcdir/configure" conftest.file`
 2526      fi
 2527      if test "$*" != "X $srcdir/configure conftest.file" \
 2528     && test "$*" != "X conftest.file $srcdir/configure"; then
 2529 
 2530     # If neither matched, then we have a broken ls.  This can happen
 2531     # if, for instance, CONFIG_SHELL is bash and it inherits a
 2532     # broken ls alias from the environment.  This has actually
 2533     # happened.  Such a system could not be considered "sane".
 2534     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2535   alias in your environment" "$LINENO" 5
 2536      fi
 2537      if test "$2" = conftest.file || test $am_try -eq 2; then
 2538        break
 2539      fi
 2540      # Just in case.
 2541      sleep 1
 2542      am_has_slept=yes
 2543    done
 2544    test "$2" = conftest.file
 2545    )
 2546 then
 2547    # Ok.
 2548    :
 2549 else
 2550    as_fn_error $? "newly created file is older than distributed files!
 2551 Check your system clock" "$LINENO" 5
 2552 fi
 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2554 $as_echo "yes" >&6; }
 2555 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2556 # generated files are strictly newer.
 2557 am_sleep_pid=
 2558 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2559   ( sleep 1 ) &
 2560   am_sleep_pid=$!
 2561 fi
 2562 
 2563 rm -f conftest.file
 2564 
 2565 test "$program_prefix" != NONE &&
 2566   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2567 # Use a double $ so make ignores it.
 2568 test "$program_suffix" != NONE &&
 2569   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2570 # Double any \ or $.
 2571 # By default was `s,x,x', remove it if useless.
 2572 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2573 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2574 
 2575 # Expand $ac_aux_dir to an absolute path.
 2576 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 2577 
 2578 if test x"${MISSING+set}" != xset; then
 2579   case $am_aux_dir in
 2580   *\ * | *\ *)
 2581     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2582   *)
 2583     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2584   esac
 2585 fi
 2586 # Use eval to expand $SHELL
 2587 if eval "$MISSING --is-lightweight"; then
 2588   am_missing_run="$MISSING "
 2589 else
 2590   am_missing_run=
 2591   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2592 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2593 fi
 2594 
 2595 if test x"${install_sh+set}" != xset; then
 2596   case $am_aux_dir in
 2597   *\ * | *\ *)
 2598     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2599   *)
 2600     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2601   esac
 2602 fi
 2603 
 2604 # Installed binaries are usually stripped using 'strip' when the user
 2605 # run "make install-strip".  However 'strip' might not be the right
 2606 # tool to use in cross-compilation environments, therefore Automake
 2607 # will honor the 'STRIP' environment variable to overrule this program.
 2608 if test "$cross_compiling" != no; then
 2609   if test -n "$ac_tool_prefix"; then
 2610   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2611 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2613 $as_echo_n "checking for $ac_word... " >&6; }
 2614 if ${ac_cv_prog_STRIP+:} false; then :
 2615   $as_echo_n "(cached) " >&6
 2616 else
 2617   if test -n "$STRIP"; then
 2618   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2619 else
 2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2621 for as_dir in $PATH
 2622 do
 2623   IFS=$as_save_IFS
 2624   test -z "$as_dir" && as_dir=.
 2625     for ac_exec_ext in '' $ac_executable_extensions; do
 2626   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2627     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2629     break 2
 2630   fi
 2631 done
 2632   done
 2633 IFS=$as_save_IFS
 2634 
 2635 fi
 2636 fi
 2637 STRIP=$ac_cv_prog_STRIP
 2638 if test -n "$STRIP"; then
 2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2640 $as_echo "$STRIP" >&6; }
 2641 else
 2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2643 $as_echo "no" >&6; }
 2644 fi
 2645 
 2646 
 2647 fi
 2648 if test -z "$ac_cv_prog_STRIP"; then
 2649   ac_ct_STRIP=$STRIP
 2650   # Extract the first word of "strip", so it can be a program name with args.
 2651 set dummy strip; ac_word=$2
 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2653 $as_echo_n "checking for $ac_word... " >&6; }
 2654 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2655   $as_echo_n "(cached) " >&6
 2656 else
 2657   if test -n "$ac_ct_STRIP"; then
 2658   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2659 else
 2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2661 for as_dir in $PATH
 2662 do
 2663   IFS=$as_save_IFS
 2664   test -z "$as_dir" && as_dir=.
 2665     for ac_exec_ext in '' $ac_executable_extensions; do
 2666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2667     ac_cv_prog_ac_ct_STRIP="strip"
 2668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2669     break 2
 2670   fi
 2671 done
 2672   done
 2673 IFS=$as_save_IFS
 2674 
 2675 fi
 2676 fi
 2677 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2678 if test -n "$ac_ct_STRIP"; then
 2679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2680 $as_echo "$ac_ct_STRIP" >&6; }
 2681 else
 2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2683 $as_echo "no" >&6; }
 2684 fi
 2685 
 2686   if test "x$ac_ct_STRIP" = x; then
 2687     STRIP=":"
 2688   else
 2689     case $cross_compiling:$ac_tool_warned in
 2690 yes:)
 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2693 ac_tool_warned=yes ;;
 2694 esac
 2695     STRIP=$ac_ct_STRIP
 2696   fi
 2697 else
 2698   STRIP="$ac_cv_prog_STRIP"
 2699 fi
 2700 
 2701 fi
 2702 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2703 
 2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2705 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2706 if test -z "$MKDIR_P"; then
 2707   if ${ac_cv_path_mkdir+:} false; then :
 2708   $as_echo_n "(cached) " >&6
 2709 else
 2710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2711 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2712 do
 2713   IFS=$as_save_IFS
 2714   test -z "$as_dir" && as_dir=.
 2715     for ac_prog in mkdir gmkdir; do
 2716      for ac_exec_ext in '' $ac_executable_extensions; do
 2717        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 2718        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2719          'mkdir (GNU coreutils) '* | \
 2720          'mkdir (coreutils) '* | \
 2721          'mkdir (fileutils) '4.1*)
 2722            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2723            break 3;;
 2724        esac
 2725      done
 2726        done
 2727   done
 2728 IFS=$as_save_IFS
 2729 
 2730 fi
 2731 
 2732   test -d ./--version && rmdir ./--version
 2733   if test "${ac_cv_path_mkdir+set}" = set; then
 2734     MKDIR_P="$ac_cv_path_mkdir -p"
 2735   else
 2736     # As a last resort, use the slow shell script.  Don't cache a
 2737     # value for MKDIR_P within a source directory, because that will
 2738     # break other packages using the cache if that directory is
 2739     # removed, or if the value is a relative name.
 2740     MKDIR_P="$ac_install_sh -d"
 2741   fi
 2742 fi
 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2744 $as_echo "$MKDIR_P" >&6; }
 2745 
 2746 for ac_prog in gawk mawk nawk awk
 2747 do
 2748   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2749 set dummy $ac_prog; ac_word=$2
 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2751 $as_echo_n "checking for $ac_word... " >&6; }
 2752 if ${ac_cv_prog_AWK+:} false; then :
 2753   $as_echo_n "(cached) " >&6
 2754 else
 2755   if test -n "$AWK"; then
 2756   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2757 else
 2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2759 for as_dir in $PATH
 2760 do
 2761   IFS=$as_save_IFS
 2762   test -z "$as_dir" && as_dir=.
 2763     for ac_exec_ext in '' $ac_executable_extensions; do
 2764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2765     ac_cv_prog_AWK="$ac_prog"
 2766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2767     break 2
 2768   fi
 2769 done
 2770   done
 2771 IFS=$as_save_IFS
 2772 
 2773 fi
 2774 fi
 2775 AWK=$ac_cv_prog_AWK
 2776 if test -n "$AWK"; then
 2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2778 $as_echo "$AWK" >&6; }
 2779 else
 2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2781 $as_echo "no" >&6; }
 2782 fi
 2783 
 2784 
 2785   test -n "$AWK" && break
 2786 done
 2787 
 2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2789 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2790 set x ${MAKE-make}
 2791 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2792 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 2793   $as_echo_n "(cached) " >&6
 2794 else
 2795   cat >conftest.make <<\_ACEOF
 2796 SHELL = /bin/sh
 2797 all:
 2798     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2799 _ACEOF
 2800 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2802   *@@@%%%=?*=@@@%%%*)
 2803     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2804   *)
 2805     eval ac_cv_prog_make_${ac_make}_set=no;;
 2806 esac
 2807 rm -f conftest.make
 2808 fi
 2809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2811 $as_echo "yes" >&6; }
 2812   SET_MAKE=
 2813 else
 2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2815 $as_echo "no" >&6; }
 2816   SET_MAKE="MAKE=${MAKE-make}"
 2817 fi
 2818 
 2819 rm -rf .tst 2>/dev/null
 2820 mkdir .tst 2>/dev/null
 2821 if test -d .tst; then
 2822   am__leading_dot=.
 2823 else
 2824   am__leading_dot=_
 2825 fi
 2826 rmdir .tst 2>/dev/null
 2827 
 2828 # Check whether --enable-silent-rules was given.
 2829 if test "${enable_silent_rules+set}" = set; then :
 2830   enableval=$enable_silent_rules;
 2831 fi
 2832 
 2833 case $enable_silent_rules in # (((
 2834   yes) AM_DEFAULT_VERBOSITY=0;;
 2835    no) AM_DEFAULT_VERBOSITY=1;;
 2836     *) AM_DEFAULT_VERBOSITY=1;;
 2837 esac
 2838 am_make=${MAKE-make}
 2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 2840 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 2841 if ${am_cv_make_support_nested_variables+:} false; then :
 2842   $as_echo_n "(cached) " >&6
 2843 else
 2844   if $as_echo 'TRUE=$(BAR$(V))
 2845 BAR0=false
 2846 BAR1=true
 2847 V=1
 2848 am__doit:
 2849     @$(TRUE)
 2850 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 2851   am_cv_make_support_nested_variables=yes
 2852 else
 2853   am_cv_make_support_nested_variables=no
 2854 fi
 2855 fi
 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 2857 $as_echo "$am_cv_make_support_nested_variables" >&6; }
 2858 if test $am_cv_make_support_nested_variables = yes; then
 2859     AM_V='$(V)'
 2860   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2861 else
 2862   AM_V=$AM_DEFAULT_VERBOSITY
 2863   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2864 fi
 2865 AM_BACKSLASH='\'
 2866 
 2867 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2868   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2869   # is not polluted with repeated "-I."
 2870   am__isrc=' -I$(srcdir)'
 2871   # test to see if srcdir already configured
 2872   if test -f $srcdir/config.status; then
 2873     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2874   fi
 2875 fi
 2876 
 2877 # test whether we have cygpath
 2878 if test -z "$CYGPATH_W"; then
 2879   if (cygpath --version) >/dev/null 2>/dev/null; then
 2880     CYGPATH_W='cygpath -w'
 2881   else
 2882     CYGPATH_W=echo
 2883   fi
 2884 fi
 2885 
 2886 
 2887 # Define the identity of the package.
 2888  PACKAGE='sip'
 2889  VERSION='0.12.1'
 2890 
 2891 
 2892 # Some tools Automake needs.
 2893 
 2894 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2895 
 2896 
 2897 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2898 
 2899 
 2900 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2901 
 2902 
 2903 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2904 
 2905 
 2906 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2907 
 2908 # For better backward compatibility.  To be removed once Automake 1.9.x
 2909 # dies out for good.  For more background, see:
 2910 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 2911 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 2912 mkdir_p='$(MKDIR_P)'
 2913 
 2914 # We need awk for the "check" target (and possibly the TAP driver).  The
 2915 # system "awk" is bad on some platforms.
 2916 # Always define AMTAR for backward compatibility.  Yes, it's still used
 2917 # in the wild :-(  We should find a proper way to deprecate it ...
 2918 AMTAR='$${TAR-tar}'
 2919 
 2920 
 2921 # We'll loop over all known methods to create a tar archive until one works.
 2922 _am_tools='gnutar  pax cpio none'
 2923 
 2924 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 2925 
 2926 
 2927 
 2928 
 2929 
 2930 
 2931 # POSIX will say in a future version that running "rm -f" with no argument
 2932 # is OK; and we want to be able to make that assumption in our Makefile
 2933 # recipes.  So use an aggressive probe to check that the usage we want is
 2934 # actually supported "in the wild" to an acceptable degree.
 2935 # See automake bug#10828.
 2936 # To make any issue more visible, cause the running configure to be aborted
 2937 # by default if the 'rm' program in use doesn't match our expectations; the
 2938 # user can still override this though.
 2939 if rm -f && rm -fr && rm -rf; then : OK; else
 2940   cat >&2 <<'END'
 2941 Oops!
 2942 
 2943 Your 'rm' program seems unable to run without file operands specified
 2944 on the command line, even when the '-f' option is present.  This is contrary
 2945 to the behaviour of most rm programs out there, and not conforming with
 2946 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 2947 
 2948 Please tell bug-automake@gnu.org about your system, including the value
 2949 of your $PATH and any error possibly output before this message.  This
 2950 can help us improve future automake versions.
 2951 
 2952 END
 2953   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 2954     echo 'Configuration will proceed anyway, since you have set the' >&2
 2955     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 2956     echo >&2
 2957   else
 2958     cat >&2 <<'END'
 2959 Aborting the configuration process, to ensure you take notice of the issue.
 2960 
 2961 You can download and install GNU coreutils to get an 'rm' implementation
 2962 that behaves properly: <http://www.gnu.org/software/coreutils/>.
 2963 
 2964 If you want to complete the configuration process using your problematic
 2965 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 2966 to "yes", and re-run configure.
 2967 
 2968 END
 2969     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 2970   fi
 2971 fi
 2972 
 2973 
 2974 # Checks for programs.
 2975 ac_ext=c
 2976 ac_cpp='$CPP $CPPFLAGS'
 2977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2980 if test -n "$ac_tool_prefix"; then
 2981   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2982 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2984 $as_echo_n "checking for $ac_word... " >&6; }
 2985 if ${ac_cv_prog_CC+:} false; then :
 2986   $as_echo_n "(cached) " >&6
 2987 else
 2988   if test -n "$CC"; then
 2989   ac_cv_prog_CC="$CC" # Let the user override the test.
 2990 else
 2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2992 for as_dir in $PATH
 2993 do
 2994   IFS=$as_save_IFS
 2995   test -z "$as_dir" && as_dir=.
 2996     for ac_exec_ext in '' $ac_executable_extensions; do
 2997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2998     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3000     break 2
 3001   fi
 3002 done
 3003   done
 3004 IFS=$as_save_IFS
 3005 
 3006 fi
 3007 fi
 3008 CC=$ac_cv_prog_CC
 3009 if test -n "$CC"; then
 3010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3011 $as_echo "$CC" >&6; }
 3012 else
 3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3014 $as_echo "no" >&6; }
 3015 fi
 3016 
 3017 
 3018 fi
 3019 if test -z "$ac_cv_prog_CC"; then
 3020   ac_ct_CC=$CC
 3021   # Extract the first word of "gcc", so it can be a program name with args.
 3022 set dummy gcc; ac_word=$2
 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3024 $as_echo_n "checking for $ac_word... " >&6; }
 3025 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3026   $as_echo_n "(cached) " >&6
 3027 else
 3028   if test -n "$ac_ct_CC"; then
 3029   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3030 else
 3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3032 for as_dir in $PATH
 3033 do
 3034   IFS=$as_save_IFS
 3035   test -z "$as_dir" && as_dir=.
 3036     for ac_exec_ext in '' $ac_executable_extensions; do
 3037   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3038     ac_cv_prog_ac_ct_CC="gcc"
 3039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3040     break 2
 3041   fi
 3042 done
 3043   done
 3044 IFS=$as_save_IFS
 3045 
 3046 fi
 3047 fi
 3048 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3049 if test -n "$ac_ct_CC"; then
 3050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3051 $as_echo "$ac_ct_CC" >&6; }
 3052 else
 3053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3054 $as_echo "no" >&6; }
 3055 fi
 3056 
 3057   if test "x$ac_ct_CC" = x; then
 3058     CC=""
 3059   else
 3060     case $cross_compiling:$ac_tool_warned in
 3061 yes:)
 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3064 ac_tool_warned=yes ;;
 3065 esac
 3066     CC=$ac_ct_CC
 3067   fi
 3068 else
 3069   CC="$ac_cv_prog_CC"
 3070 fi
 3071 
 3072 if test -z "$CC"; then
 3073           if test -n "$ac_tool_prefix"; then
 3074     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3075 set dummy ${ac_tool_prefix}cc; ac_word=$2
 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3077 $as_echo_n "checking for $ac_word... " >&6; }
 3078 if ${ac_cv_prog_CC+:} false; then :
 3079   $as_echo_n "(cached) " >&6
 3080 else
 3081   if test -n "$CC"; then
 3082   ac_cv_prog_CC="$CC" # Let the user override the test.
 3083 else
 3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3085 for as_dir in $PATH
 3086 do
 3087   IFS=$as_save_IFS
 3088   test -z "$as_dir" && as_dir=.
 3089     for ac_exec_ext in '' $ac_executable_extensions; do
 3090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3091     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3093     break 2
 3094   fi
 3095 done
 3096   done
 3097 IFS=$as_save_IFS
 3098 
 3099 fi
 3100 fi
 3101 CC=$ac_cv_prog_CC
 3102 if test -n "$CC"; then
 3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3104 $as_echo "$CC" >&6; }
 3105 else
 3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3107 $as_echo "no" >&6; }
 3108 fi
 3109 
 3110 
 3111   fi
 3112 fi
 3113 if test -z "$CC"; then
 3114   # Extract the first word of "cc", so it can be a program name with args.
 3115 set dummy cc; ac_word=$2
 3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3117 $as_echo_n "checking for $ac_word... " >&6; }
 3118 if ${ac_cv_prog_CC+:} false; then :
 3119   $as_echo_n "(cached) " >&6
 3120 else
 3121   if test -n "$CC"; then
 3122   ac_cv_prog_CC="$CC" # Let the user override the test.
 3123 else
 3124   ac_prog_rejected=no
 3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3126 for as_dir in $PATH
 3127 do
 3128   IFS=$as_save_IFS
 3129   test -z "$as_dir" && as_dir=.
 3130     for ac_exec_ext in '' $ac_executable_extensions; do
 3131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3132     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3133        ac_prog_rejected=yes
 3134        continue
 3135      fi
 3136     ac_cv_prog_CC="cc"
 3137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3138     break 2
 3139   fi
 3140 done
 3141   done
 3142 IFS=$as_save_IFS
 3143 
 3144 if test $ac_prog_rejected = yes; then
 3145   # We found a bogon in the path, so make sure we never use it.
 3146   set dummy $ac_cv_prog_CC
 3147   shift
 3148   if test $# != 0; then
 3149     # We chose a different compiler from the bogus one.
 3150     # However, it has the same basename, so the bogon will be chosen
 3151     # first if we set CC to just the basename; use the full file name.
 3152     shift
 3153     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3154   fi
 3155 fi
 3156 fi
 3157 fi
 3158 CC=$ac_cv_prog_CC
 3159 if test -n "$CC"; then
 3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3161 $as_echo "$CC" >&6; }
 3162 else
 3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3164 $as_echo "no" >&6; }
 3165 fi
 3166 
 3167 
 3168 fi
 3169 if test -z "$CC"; then
 3170   if test -n "$ac_tool_prefix"; then
 3171   for ac_prog in cl.exe
 3172   do
 3173     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3176 $as_echo_n "checking for $ac_word... " >&6; }
 3177 if ${ac_cv_prog_CC+:} false; then :
 3178   $as_echo_n "(cached) " >&6
 3179 else
 3180   if test -n "$CC"; then
 3181   ac_cv_prog_CC="$CC" # Let the user override the test.
 3182 else
 3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3184 for as_dir in $PATH
 3185 do
 3186   IFS=$as_save_IFS
 3187   test -z "$as_dir" && as_dir=.
 3188     for ac_exec_ext in '' $ac_executable_extensions; do
 3189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3190     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3192     break 2
 3193   fi
 3194 done
 3195   done
 3196 IFS=$as_save_IFS
 3197 
 3198 fi
 3199 fi
 3200 CC=$ac_cv_prog_CC
 3201 if test -n "$CC"; then
 3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3203 $as_echo "$CC" >&6; }
 3204 else
 3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3206 $as_echo "no" >&6; }
 3207 fi
 3208 
 3209 
 3210     test -n "$CC" && break
 3211   done
 3212 fi
 3213 if test -z "$CC"; then
 3214   ac_ct_CC=$CC
 3215   for ac_prog in cl.exe
 3216 do
 3217   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3218 set dummy $ac_prog; ac_word=$2
 3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3220 $as_echo_n "checking for $ac_word... " >&6; }
 3221 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3222   $as_echo_n "(cached) " >&6
 3223 else
 3224   if test -n "$ac_ct_CC"; then
 3225   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3226 else
 3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3228 for as_dir in $PATH
 3229 do
 3230   IFS=$as_save_IFS
 3231   test -z "$as_dir" && as_dir=.
 3232     for ac_exec_ext in '' $ac_executable_extensions; do
 3233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3234     ac_cv_prog_ac_ct_CC="$ac_prog"
 3235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3236     break 2
 3237   fi
 3238 done
 3239   done
 3240 IFS=$as_save_IFS
 3241 
 3242 fi
 3243 fi
 3244 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3245 if test -n "$ac_ct_CC"; then
 3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3247 $as_echo "$ac_ct_CC" >&6; }
 3248 else
 3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3250 $as_echo "no" >&6; }
 3251 fi
 3252 
 3253 
 3254   test -n "$ac_ct_CC" && break
 3255 done
 3256 
 3257   if test "x$ac_ct_CC" = x; then
 3258     CC=""
 3259   else
 3260     case $cross_compiling:$ac_tool_warned in
 3261 yes:)
 3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3264 ac_tool_warned=yes ;;
 3265 esac
 3266     CC=$ac_ct_CC
 3267   fi
 3268 fi
 3269 
 3270 fi
 3271 
 3272 
 3273 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3275 as_fn_error $? "no acceptable C compiler found in \$PATH
 3276 See \`config.log' for more details" "$LINENO" 5; }
 3277 
 3278 # Provide some information about the compiler.
 3279 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3280 set X $ac_compile
 3281 ac_compiler=$2
 3282 for ac_option in --version -v -V -qversion; do
 3283   { { ac_try="$ac_compiler $ac_option >&5"
 3284 case "(($ac_try" in
 3285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3286   *) ac_try_echo=$ac_try;;
 3287 esac
 3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3289 $as_echo "$ac_try_echo"; } >&5
 3290   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3291   ac_status=$?
 3292   if test -s conftest.err; then
 3293     sed '10a\
 3294 ... rest of stderr output deleted ...
 3295          10q' conftest.err >conftest.er1
 3296     cat conftest.er1 >&5
 3297   fi
 3298   rm -f conftest.er1 conftest.err
 3299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3300   test $ac_status = 0; }
 3301 done
 3302 
 3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3304 /* end confdefs.h.  */
 3305 
 3306 int
 3307 main ()
 3308 {
 3309 
 3310   ;
 3311   return 0;
 3312 }
 3313 _ACEOF
 3314 ac_clean_files_save=$ac_clean_files
 3315 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3316 # Try to create an executable without -o first, disregard a.out.
 3317 # It will help us diagnose broken compilers, and finding out an intuition
 3318 # of exeext.
 3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3320 $as_echo_n "checking whether the C compiler works... " >&6; }
 3321 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3322 
 3323 # The possible output files:
 3324 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3325 
 3326 ac_rmfiles=
 3327 for ac_file in $ac_files
 3328 do
 3329   case $ac_file in
 3330     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3331     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3332   esac
 3333 done
 3334 rm -f $ac_rmfiles
 3335 
 3336 if { { ac_try="$ac_link_default"
 3337 case "(($ac_try" in
 3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3339   *) ac_try_echo=$ac_try;;
 3340 esac
 3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3342 $as_echo "$ac_try_echo"; } >&5
 3343   (eval "$ac_link_default") 2>&5
 3344   ac_status=$?
 3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3346   test $ac_status = 0; }; then :
 3347   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3348 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3349 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3350 # so that the user can short-circuit this test for compilers unknown to
 3351 # Autoconf.
 3352 for ac_file in $ac_files ''
 3353 do
 3354   test -f "$ac_file" || continue
 3355   case $ac_file in
 3356     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3357     ;;
 3358     [ab].out )
 3359     # We found the default executable, but exeext='' is most
 3360     # certainly right.
 3361     break;;
 3362     *.* )
 3363     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3364     then :; else
 3365        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3366     fi
 3367     # We set ac_cv_exeext here because the later test for it is not
 3368     # safe: cross compilers may not add the suffix if given an `-o'
 3369     # argument, so we may need to know it at that point already.
 3370     # Even if this section looks crufty: it has the advantage of
 3371     # actually working.
 3372     break;;
 3373     * )
 3374     break;;
 3375   esac
 3376 done
 3377 test "$ac_cv_exeext" = no && ac_cv_exeext=
 3378 
 3379 else
 3380   ac_file=''
 3381 fi
 3382 if test -z "$ac_file"; then :
 3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3384 $as_echo "no" >&6; }
 3385 $as_echo "$as_me: failed program was:" >&5
 3386 sed 's/^/| /' conftest.$ac_ext >&5
 3387 
 3388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3390 as_fn_error 77 "C compiler cannot create executables
 3391 See \`config.log' for more details" "$LINENO" 5; }
 3392 else
 3393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3394 $as_echo "yes" >&6; }
 3395 fi
 3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3397 $as_echo_n "checking for C compiler default output file name... " >&6; }
 3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3399 $as_echo "$ac_file" >&6; }
 3400 ac_exeext=$ac_cv_exeext
 3401 
 3402 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3403 ac_clean_files=$ac_clean_files_save
 3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3405 $as_echo_n "checking for suffix of executables... " >&6; }
 3406 if { { ac_try="$ac_link"
 3407 case "(($ac_try" in
 3408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3409   *) ac_try_echo=$ac_try;;
 3410 esac
 3411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3412 $as_echo "$ac_try_echo"; } >&5
 3413   (eval "$ac_link") 2>&5
 3414   ac_status=$?
 3415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3416   test $ac_status = 0; }; then :
 3417   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3418 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3419 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3420 # `rm'.
 3421 for ac_file in conftest.exe conftest conftest.*; do
 3422   test -f "$ac_file" || continue
 3423   case $ac_file in
 3424     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3425     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3426       break;;
 3427     * ) break;;
 3428   esac
 3429 done
 3430 else
 3431   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3433 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3434 See \`config.log' for more details" "$LINENO" 5; }
 3435 fi
 3436 rm -f conftest conftest$ac_cv_exeext
 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3438 $as_echo "$ac_cv_exeext" >&6; }
 3439 
 3440 rm -f conftest.$ac_ext
 3441 EXEEXT=$ac_cv_exeext
 3442 ac_exeext=$EXEEXT
 3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3444 /* end confdefs.h.  */
 3445 #include <stdio.h>
 3446 int
 3447 main ()
 3448 {
 3449 FILE *f = fopen ("conftest.out", "w");
 3450  return ferror (f) || fclose (f) != 0;
 3451 
 3452   ;
 3453   return 0;
 3454 }
 3455 _ACEOF
 3456 ac_clean_files="$ac_clean_files conftest.out"
 3457 # Check that the compiler produces executables we can run.  If not, either
 3458 # the compiler is broken, or we cross compile.
 3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3460 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3461 if test "$cross_compiling" != yes; then
 3462   { { ac_try="$ac_link"
 3463 case "(($ac_try" in
 3464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3465   *) ac_try_echo=$ac_try;;
 3466 esac
 3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3468 $as_echo "$ac_try_echo"; } >&5
 3469   (eval "$ac_link") 2>&5
 3470   ac_status=$?
 3471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3472   test $ac_status = 0; }
 3473   if { ac_try='./conftest$ac_cv_exeext'
 3474   { { case "(($ac_try" in
 3475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3476   *) ac_try_echo=$ac_try;;
 3477 esac
 3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3479 $as_echo "$ac_try_echo"; } >&5
 3480   (eval "$ac_try") 2>&5
 3481   ac_status=$?
 3482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3483   test $ac_status = 0; }; }; then
 3484     cross_compiling=no
 3485   else
 3486     if test "$cross_compiling" = maybe; then
 3487     cross_compiling=yes
 3488     else
 3489     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3491 as_fn_error $? "cannot run C compiled programs.
 3492 If you meant to cross compile, use \`--host'.
 3493 See \`config.log' for more details" "$LINENO" 5; }
 3494     fi
 3495   fi
 3496 fi
 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3498 $as_echo "$cross_compiling" >&6; }
 3499 
 3500 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3501 ac_clean_files=$ac_clean_files_save
 3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3503 $as_echo_n "checking for suffix of object files... " >&6; }
 3504 if ${ac_cv_objext+:} false; then :
 3505   $as_echo_n "(cached) " >&6
 3506 else
 3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3508 /* end confdefs.h.  */
 3509 
 3510 int
 3511 main ()
 3512 {
 3513 
 3514   ;
 3515   return 0;
 3516 }
 3517 _ACEOF
 3518 rm -f conftest.o conftest.obj
 3519 if { { ac_try="$ac_compile"
 3520 case "(($ac_try" in
 3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3522   *) ac_try_echo=$ac_try;;
 3523 esac
 3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3525 $as_echo "$ac_try_echo"; } >&5
 3526   (eval "$ac_compile") 2>&5
 3527   ac_status=$?
 3528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3529   test $ac_status = 0; }; then :
 3530   for ac_file in conftest.o conftest.obj conftest.*; do
 3531   test -f "$ac_file" || continue;
 3532   case $ac_file in
 3533     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3534     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3535        break;;
 3536   esac
 3537 done
 3538 else
 3539   $as_echo "$as_me: failed program was:" >&5
 3540 sed 's/^/| /' conftest.$ac_ext >&5
 3541 
 3542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3544 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3545 See \`config.log' for more details" "$LINENO" 5; }
 3546 fi
 3547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3548 fi
 3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3550 $as_echo "$ac_cv_objext" >&6; }
 3551 OBJEXT=$ac_cv_objext
 3552 ac_objext=$OBJEXT
 3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3554 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3555 if ${ac_cv_c_compiler_gnu+:} false; then :
 3556   $as_echo_n "(cached) " >&6
 3557 else
 3558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3559 /* end confdefs.h.  */
 3560 
 3561 int
 3562 main ()
 3563 {
 3564 #ifndef __GNUC__
 3565        choke me
 3566 #endif
 3567 
 3568   ;
 3569   return 0;
 3570 }
 3571 _ACEOF
 3572 if ac_fn_c_try_compile "$LINENO"; then :
 3573   ac_compiler_gnu=yes
 3574 else
 3575   ac_compiler_gnu=no
 3576 fi
 3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3579 
 3580 fi
 3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3582 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3583 if test $ac_compiler_gnu = yes; then
 3584   GCC=yes
 3585 else
 3586   GCC=
 3587 fi
 3588 ac_test_CFLAGS=${CFLAGS+set}
 3589 ac_save_CFLAGS=$CFLAGS
 3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3591 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3592 if ${ac_cv_prog_cc_g+:} false; then :
 3593   $as_echo_n "(cached) " >&6
 3594 else
 3595   ac_save_c_werror_flag=$ac_c_werror_flag
 3596    ac_c_werror_flag=yes
 3597    ac_cv_prog_cc_g=no
 3598    CFLAGS="-g"
 3599    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3600 /* end confdefs.h.  */
 3601 
 3602 int
 3603 main ()
 3604 {
 3605 
 3606   ;
 3607   return 0;
 3608 }
 3609 _ACEOF
 3610 if ac_fn_c_try_compile "$LINENO"; then :
 3611   ac_cv_prog_cc_g=yes
 3612 else
 3613   CFLAGS=""
 3614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3615 /* end confdefs.h.  */
 3616 
 3617 int
 3618 main ()
 3619 {
 3620 
 3621   ;
 3622   return 0;
 3623 }
 3624 _ACEOF
 3625 if ac_fn_c_try_compile "$LINENO"; then :
 3626 
 3627 else
 3628   ac_c_werror_flag=$ac_save_c_werror_flag
 3629      CFLAGS="-g"
 3630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3631 /* end confdefs.h.  */
 3632 
 3633 int
 3634 main ()
 3635 {
 3636 
 3637   ;
 3638   return 0;
 3639 }
 3640 _ACEOF
 3641 if ac_fn_c_try_compile "$LINENO"; then :
 3642   ac_cv_prog_cc_g=yes
 3643 fi
 3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3645 fi
 3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3647 fi
 3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3649    ac_c_werror_flag=$ac_save_c_werror_flag
 3650 fi
 3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3652 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3653 if test "$ac_test_CFLAGS" = set; then
 3654   CFLAGS=$ac_save_CFLAGS
 3655 elif test $ac_cv_prog_cc_g = yes; then
 3656   if test "$GCC" = yes; then
 3657     CFLAGS="-g -O2"
 3658   else
 3659     CFLAGS="-g"
 3660   fi
 3661 else
 3662   if test "$GCC" = yes; then
 3663     CFLAGS="-O2"
 3664   else
 3665     CFLAGS=
 3666   fi
 3667 fi
 3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3669 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3670 if ${ac_cv_prog_cc_c89+:} false; then :
 3671   $as_echo_n "(cached) " >&6
 3672 else
 3673   ac_cv_prog_cc_c89=no
 3674 ac_save_CC=$CC
 3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3676 /* end confdefs.h.  */
 3677 #include <stdarg.h>
 3678 #include <stdio.h>
 3679 struct stat;
 3680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3681 struct buf { int x; };
 3682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3683 static char *e (p, i)
 3684      char **p;
 3685      int i;
 3686 {
 3687   return p[i];
 3688 }
 3689 static char *f (char * (*g) (char **, int), char **p, ...)
 3690 {
 3691   char *s;
 3692   va_list v;
 3693   va_start (v,p);
 3694   s = g (p, va_arg (v,int));
 3695   va_end (v);
 3696   return s;
 3697 }
 3698 
 3699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3700    function prototypes and stuff, but not '\xHH' hex character constants.
 3701    These don't provoke an error unfortunately, instead are silently treated
 3702    as 'x'.  The following induces an error, until -std is added to get
 3703    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3704    array size at least.  It's necessary to write '\x00'==0 to get something
 3705    that's true only with -std.  */
 3706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3707 
 3708 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3709    inside strings and character constants.  */
 3710 #define FOO(x) 'x'
 3711 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3712 
 3713 int test (int i, double x);
 3714 struct s1 {int (*f) (int a);};
 3715 struct s2 {int (*f) (double a);};
 3716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3717 int argc;
 3718 char **argv;
 3719 int
 3720 main ()
 3721 {
 3722 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3723   ;
 3724   return 0;
 3725 }
 3726 _ACEOF
 3727 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3728     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3729 do
 3730   CC="$ac_save_CC $ac_arg"
 3731   if ac_fn_c_try_compile "$LINENO"; then :
 3732   ac_cv_prog_cc_c89=$ac_arg
 3733 fi
 3734 rm -f core conftest.err conftest.$ac_objext
 3735   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3736 done
 3737 rm -f conftest.$ac_ext
 3738 CC=$ac_save_CC
 3739 
 3740 fi
 3741 # AC_CACHE_VAL
 3742 case "x$ac_cv_prog_cc_c89" in
 3743   x)
 3744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3745 $as_echo "none needed" >&6; } ;;
 3746   xno)
 3747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3748 $as_echo "unsupported" >&6; } ;;
 3749   *)
 3750     CC="$CC $ac_cv_prog_cc_c89"
 3751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3752 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3753 esac
 3754 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3755 
 3756 fi
 3757 
 3758 ac_ext=c
 3759 ac_cpp='$CPP $CPPFLAGS'
 3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3763 
 3764 ac_ext=c
 3765 ac_cpp='$CPP $CPPFLAGS'
 3766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 3770 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 3771 if ${am_cv_prog_cc_c_o+:} false; then :
 3772   $as_echo_n "(cached) " >&6
 3773 else
 3774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3775 /* end confdefs.h.  */
 3776 
 3777 int
 3778 main ()
 3779 {
 3780 
 3781   ;
 3782   return 0;
 3783 }
 3784 _ACEOF
 3785   # Make sure it works both with $CC and with simple cc.
 3786   # Following AC_PROG_CC_C_O, we do the test twice because some
 3787   # compilers refuse to overwrite an existing .o file with -o,
 3788   # though they will create one.
 3789   am_cv_prog_cc_c_o=yes
 3790   for am_i in 1 2; do
 3791     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 3792    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 3793    ac_status=$?
 3794    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3795    (exit $ac_status); } \
 3796          && test -f conftest2.$ac_objext; then
 3797       : OK
 3798     else
 3799       am_cv_prog_cc_c_o=no
 3800       break
 3801     fi
 3802   done
 3803   rm -f core conftest*
 3804   unset am_i
 3805 fi
 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 3807 $as_echo "$am_cv_prog_cc_c_o" >&6; }
 3808 if test "$am_cv_prog_cc_c_o" != yes; then
 3809    # Losing compiler, so override with the script.
 3810    # FIXME: It is wrong to rewrite CC.
 3811    # But if we don't then we get into trouble of one sort or another.
 3812    # A longer-term fix would be to have automake use am__CC in this case,
 3813    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 3814    CC="$am_aux_dir/compile $CC"
 3815 fi
 3816 ac_ext=c
 3817 ac_cpp='$CPP $CPPFLAGS'
 3818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3821 
 3822 DEPDIR="${am__leading_dot}deps"
 3823 
 3824 ac_config_commands="$ac_config_commands depfiles"
 3825 
 3826 
 3827 am_make=${MAKE-make}
 3828 cat > confinc << 'END'
 3829 am__doit:
 3830     @echo this is the am__doit target
 3831 .PHONY: am__doit
 3832 END
 3833 # If we don't find an include directive, just comment out the code.
 3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3835 $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3836 am__include="#"
 3837 am__quote=
 3838 _am_result=none
 3839 # First try GNU make style include.
 3840 echo "include confinc" > confmf
 3841 # Ignore all kinds of additional output from 'make'.
 3842 case `$am_make -s -f confmf 2> /dev/null` in #(
 3843 *the\ am__doit\ target*)
 3844   am__include=include
 3845   am__quote=
 3846   _am_result=GNU
 3847   ;;
 3848 esac
 3849 # Now try BSD make style include.
 3850 if test "$am__include" = "#"; then
 3851    echo '.include "confinc"' > confmf
 3852    case `$am_make -s -f confmf 2> /dev/null` in #(
 3853    *the\ am__doit\ target*)
 3854      am__include=.include
 3855      am__quote="\""
 3856      _am_result=BSD
 3857      ;;
 3858    esac
 3859 fi
 3860 
 3861 
 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3863 $as_echo "$_am_result" >&6; }
 3864 rm -f confinc confmf
 3865 
 3866 # Check whether --enable-dependency-tracking was given.
 3867 if test "${enable_dependency_tracking+set}" = set; then :
 3868   enableval=$enable_dependency_tracking;
 3869 fi
 3870 
 3871 if test "x$enable_dependency_tracking" != xno; then
 3872   am_depcomp="$ac_aux_dir/depcomp"
 3873   AMDEPBACKSLASH='\'
 3874   am__nodep='_no'
 3875 fi
 3876  if test "x$enable_dependency_tracking" != xno; then
 3877   AMDEP_TRUE=
 3878   AMDEP_FALSE='#'
 3879 else
 3880   AMDEP_TRUE='#'
 3881   AMDEP_FALSE=
 3882 fi
 3883 
 3884 
 3885 
 3886 depcc="$CC"   am_compiler_list=
 3887 
 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3889 $as_echo_n "checking dependency style of $depcc... " >&6; }
 3890 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3891   $as_echo_n "(cached) " >&6
 3892 else
 3893   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3894   # We make a subdir and do the tests there.  Otherwise we can end up
 3895   # making bogus files that we don't know about and never remove.  For
 3896   # instance it was reported that on HP-UX the gcc test will end up
 3897   # making a dummy file named 'D' -- because '-MD' means "put the output
 3898   # in D".
 3899   rm -rf conftest.dir
 3900   mkdir conftest.dir
 3901   # Copy depcomp to subdir because otherwise we won't find it if we're
 3902   # using a relative directory.
 3903   cp "$am_depcomp" conftest.dir
 3904   cd conftest.dir
 3905   # We will build objects and dependencies in a subdirectory because
 3906   # it helps to detect inapplicable dependency modes.  For instance
 3907   # both Tru64's cc and ICC support -MD to output dependencies as a
 3908   # side effect of compilation, but ICC will put the dependencies in
 3909   # the current directory while Tru64 will put them in the object
 3910   # directory.
 3911   mkdir sub
 3912 
 3913   am_cv_CC_dependencies_compiler_type=none
 3914   if test "$am_compiler_list" = ""; then
 3915      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3916   fi
 3917   am__universal=false
 3918   case " $depcc " in #(
 3919      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3920      esac
 3921 
 3922   for depmode in $am_compiler_list; do
 3923     # Setup a source with many dependencies, because some compilers
 3924     # like to wrap large dependency lists on column 80 (with \), and
 3925     # we should not choose a depcomp mode which is confused by this.
 3926     #
 3927     # We need to recreate these files for each test, as the compiler may
 3928     # overwrite some of them when testing with obscure command lines.
 3929     # This happens at least with the AIX C compiler.
 3930     : > sub/conftest.c
 3931     for i in 1 2 3 4 5 6; do
 3932       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3933       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 3934       # Solaris 10 /bin/sh.
 3935       echo '/* dummy */' > sub/conftst$i.h
 3936     done
 3937     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3938 
 3939     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 3940     # mode.  It turns out that the SunPro C++ compiler does not properly
 3941     # handle '-M -o', and we need to detect this.  Also, some Intel
 3942     # versions had trouble with output in subdirs.
 3943     am__obj=sub/conftest.${OBJEXT-o}
 3944     am__minus_obj="-o $am__obj"
 3945     case $depmode in
 3946     gcc)
 3947       # This depmode causes a compiler race in universal mode.
 3948       test "$am__universal" = false || continue
 3949       ;;
 3950     nosideeffect)
 3951       # After this tag, mechanisms are not by side-effect, so they'll
 3952       # only be used when explicitly requested.
 3953       if test "x$enable_dependency_tracking" = xyes; then
 3954     continue
 3955       else
 3956     break
 3957       fi
 3958       ;;
 3959     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 3960       # This compiler won't grok '-c -o', but also, the minuso test has
 3961       # not run yet.  These depmodes are late enough in the game, and
 3962       # so weak that their functioning should not be impacted.
 3963       am__obj=conftest.${OBJEXT-o}
 3964       am__minus_obj=
 3965       ;;
 3966     none) break ;;
 3967     esac
 3968     if depmode=$depmode \
 3969        source=sub/conftest.c object=$am__obj \
 3970        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3971        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3972          >/dev/null 2>conftest.err &&
 3973        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3974        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3975        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3976        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3977       # icc doesn't choke on unknown options, it will just issue warnings
 3978       # or remarks (even with -Werror).  So we grep stderr for any message
 3979       # that says an option was ignored or not supported.
 3980       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3981       #   icc: Command line warning: ignoring option '-M'; no argument required
 3982       # The diagnosis changed in icc 8.0:
 3983       #   icc: Command line remark: option '-MP' not supported
 3984       if (grep 'ignoring option' conftest.err ||
 3985           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3986         am_cv_CC_dependencies_compiler_type=$depmode
 3987         break
 3988       fi
 3989     fi
 3990   done
 3991 
 3992   cd ..
 3993   rm -rf conftest.dir
 3994 else
 3995   am_cv_CC_dependencies_compiler_type=none
 3996 fi
 3997 
 3998 fi
 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4000 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4001 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4002 
 4003  if
 4004   test "x$enable_dependency_tracking" != xno \
 4005   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4006   am__fastdepCC_TRUE=
 4007   am__fastdepCC_FALSE='#'
 4008 else
 4009   am__fastdepCC_TRUE='#'
 4010   am__fastdepCC_FALSE=
 4011 fi
 4012 
 4013 
 4014 
 4015 if test x"$ac_cv_prog_cc_stdc" = x'no'; then
 4016    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found the $CC compiler but it is not ANSI-C compliant." >&5
 4017 $as_echo "$as_me: WARNING: found the $CC compiler but it is not ANSI-C compliant." >&2;}
 4018 fi
 4019 
 4020 # Make sure we can run config.sub.
 4021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 4022   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 4023 
 4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 4025 $as_echo_n "checking build system type... " >&6; }
 4026 if ${ac_cv_build+:} false; then :
 4027   $as_echo_n "(cached) " >&6
 4028 else
 4029   ac_build_alias=$build_alias
 4030 test "x$ac_build_alias" = x &&
 4031   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 4032 test "x$ac_build_alias" = x &&
 4033   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 4034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 4035   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 4036 
 4037 fi
 4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 4039 $as_echo "$ac_cv_build" >&6; }
 4040 case $ac_cv_build in
 4041 *-*-*) ;;
 4042 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 4043 esac
 4044 build=$ac_cv_build
 4045 ac_save_IFS=$IFS; IFS='-'
 4046 set x $ac_cv_build
 4047 shift
 4048 build_cpu=$1
 4049 build_vendor=$2
 4050 shift; shift
 4051 # Remember, the first character of IFS is used to create $*,
 4052 # except with old shells:
 4053 build_os=$*
 4054 IFS=$ac_save_IFS
 4055 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 4056 
 4057 
 4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 4059 $as_echo_n "checking host system type... " >&6; }
 4060 if ${ac_cv_host+:} false; then :
 4061   $as_echo_n "(cached) " >&6
 4062 else
 4063   if test "x$host_alias" = x; then
 4064   ac_cv_host=$ac_cv_build
 4065 else
 4066   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 4067     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 4068 fi
 4069 
 4070 fi
 4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 4072 $as_echo "$ac_cv_host" >&6; }
 4073 case $ac_cv_host in
 4074 *-*-*) ;;
 4075 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 4076 esac
 4077 host=$ac_cv_host
 4078 ac_save_IFS=$IFS; IFS='-'
 4079 set x $ac_cv_host
 4080 shift
 4081 host_cpu=$1
 4082 host_vendor=$2
 4083 shift; shift
 4084 # Remember, the first character of IFS is used to create $*,
 4085 # except with old shells:
 4086 host_os=$*
 4087 IFS=$ac_save_IFS
 4088 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 4089 
 4090 
 4091 enable_win32_dll=yes
 4092 
 4093 case $host in
 4094 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
 4095   if test -n "$ac_tool_prefix"; then
 4096   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 4097 set dummy ${ac_tool_prefix}as; ac_word=$2
 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4099 $as_echo_n "checking for $ac_word... " >&6; }
 4100 if ${ac_cv_prog_AS+:} false; then :
 4101   $as_echo_n "(cached) " >&6
 4102 else
 4103   if test -n "$AS"; then
 4104   ac_cv_prog_AS="$AS" # Let the user override the test.
 4105 else
 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4107 for as_dir in $PATH
 4108 do
 4109   IFS=$as_save_IFS
 4110   test -z "$as_dir" && as_dir=.
 4111     for ac_exec_ext in '' $ac_executable_extensions; do
 4112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4113     ac_cv_prog_AS="${ac_tool_prefix}as"
 4114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4115     break 2
 4116   fi
 4117 done
 4118   done
 4119 IFS=$as_save_IFS
 4120 
 4121 fi
 4122 fi
 4123 AS=$ac_cv_prog_AS
 4124 if test -n "$AS"; then
 4125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 4126 $as_echo "$AS" >&6; }
 4127 else
 4128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4129 $as_echo "no" >&6; }
 4130 fi
 4131 
 4132 
 4133 fi
 4134 if test -z "$ac_cv_prog_AS"; then
 4135   ac_ct_AS=$AS
 4136   # Extract the first word of "as", so it can be a program name with args.
 4137 set dummy as; ac_word=$2
 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4139 $as_echo_n "checking for $ac_word... " >&6; }
 4140 if ${ac_cv_prog_ac_ct_AS+:} false; then :
 4141   $as_echo_n "(cached) " >&6
 4142 else
 4143   if test -n "$ac_ct_AS"; then
 4144   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 4145 else
 4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4147 for as_dir in $PATH
 4148 do
 4149   IFS=$as_save_IFS
 4150   test -z "$as_dir" && as_dir=.
 4151     for ac_exec_ext in '' $ac_executable_extensions; do
 4152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4153     ac_cv_prog_ac_ct_AS="as"
 4154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4155     break 2
 4156   fi
 4157 done
 4158   done
 4159 IFS=$as_save_IFS
 4160 
 4161 fi
 4162 fi
 4163 ac_ct_AS=$ac_cv_prog_ac_ct_AS
 4164 if test -n "$ac_ct_AS"; then
 4165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 4166 $as_echo "$ac_ct_AS" >&6; }
 4167 else
 4168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4169 $as_echo "no" >&6; }
 4170 fi
 4171 
 4172   if test "x$ac_ct_AS" = x; then
 4173     AS="false"
 4174   else
 4175     case $cross_compiling:$ac_tool_warned in
 4176 yes:)
 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4179 ac_tool_warned=yes ;;
 4180 esac
 4181     AS=$ac_ct_AS
 4182   fi
 4183 else
 4184   AS="$ac_cv_prog_AS"
 4185 fi
 4186 
 4187   if test -n "$ac_tool_prefix"; then
 4188   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 4189 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4191 $as_echo_n "checking for $ac_word... " >&6; }
 4192 if ${ac_cv_prog_DLLTOOL+:} false; then :
 4193   $as_echo_n "(cached) " >&6
 4194 else
 4195   if test -n "$DLLTOOL"; then
 4196   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 4197 else
 4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4199 for as_dir in $PATH
 4200 do
 4201   IFS=$as_save_IFS
 4202   test -z "$as_dir" && as_dir=.
 4203     for ac_exec_ext in '' $ac_executable_extensions; do
 4204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4205     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 4206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4207     break 2
 4208   fi
 4209 done
 4210   done
 4211 IFS=$as_save_IFS
 4212 
 4213 fi
 4214 fi
 4215 DLLTOOL=$ac_cv_prog_DLLTOOL
 4216 if test -n "$DLLTOOL"; then
 4217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 4218 $as_echo "$DLLTOOL" >&6; }
 4219 else
 4220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4221 $as_echo "no" >&6; }
 4222 fi
 4223 
 4224 
 4225 fi
 4226 if test -z "$ac_cv_prog_DLLTOOL"; then
 4227   ac_ct_DLLTOOL=$DLLTOOL
 4228   # Extract the first word of "dlltool", so it can be a program name with args.
 4229 set dummy dlltool; ac_word=$2
 4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4231 $as_echo_n "checking for $ac_word... " >&6; }
 4232 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 4233   $as_echo_n "(cached) " >&6
 4234 else
 4235   if test -n "$ac_ct_DLLTOOL"; then
 4236   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 4237 else
 4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4239 for as_dir in $PATH
 4240 do
 4241   IFS=$as_save_IFS
 4242   test -z "$as_dir" && as_dir=.
 4243     for ac_exec_ext in '' $ac_executable_extensions; do
 4244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4245     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 4246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4247     break 2
 4248   fi
 4249 done
 4250   done
 4251 IFS=$as_save_IFS
 4252 
 4253 fi
 4254 fi
 4255 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 4256 if test -n "$ac_ct_DLLTOOL"; then
 4257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 4258 $as_echo "$ac_ct_DLLTOOL" >&6; }
 4259 else
 4260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4261 $as_echo "no" >&6; }
 4262 fi
 4263 
 4264   if test "x$ac_ct_DLLTOOL" = x; then
 4265     DLLTOOL="false"
 4266   else
 4267     case $cross_compiling:$ac_tool_warned in
 4268 yes:)
 4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4271 ac_tool_warned=yes ;;
 4272 esac
 4273     DLLTOOL=$ac_ct_DLLTOOL
 4274   fi
 4275 else
 4276   DLLTOOL="$ac_cv_prog_DLLTOOL"
 4277 fi
 4278 
 4279   if test -n "$ac_tool_prefix"; then
 4280   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 4281 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4283 $as_echo_n "checking for $ac_word... " >&6; }
 4284 if ${ac_cv_prog_OBJDUMP+:} false; then :
 4285   $as_echo_n "(cached) " >&6
 4286 else
 4287   if test -n "$OBJDUMP"; then
 4288   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 4289 else
 4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4291 for as_dir in $PATH
 4292 do
 4293   IFS=$as_save_IFS
 4294   test -z "$as_dir" && as_dir=.
 4295     for ac_exec_ext in '' $ac_executable_extensions; do
 4296   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4297     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 4298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4299     break 2
 4300   fi
 4301 done
 4302   done
 4303 IFS=$as_save_IFS
 4304 
 4305 fi
 4306 fi
 4307 OBJDUMP=$ac_cv_prog_OBJDUMP
 4308 if test -n "$OBJDUMP"; then
 4309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 4310 $as_echo "$OBJDUMP" >&6; }
 4311 else
 4312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4313 $as_echo "no" >&6; }
 4314 fi
 4315 
 4316 
 4317 fi
 4318 if test -z "$ac_cv_prog_OBJDUMP"; then
 4319   ac_ct_OBJDUMP=$OBJDUMP
 4320   # Extract the first word of "objdump", so it can be a program name with args.
 4321 set dummy objdump; ac_word=$2
 4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4323 $as_echo_n "checking for $ac_word... " >&6; }
 4324 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 4325   $as_echo_n "(cached) " >&6
 4326 else
 4327   if test -n "$ac_ct_OBJDUMP"; then
 4328   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 4329 else
 4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4331 for as_dir in $PATH
 4332 do
 4333   IFS=$as_save_IFS
 4334   test -z "$as_dir" && as_dir=.
 4335     for ac_exec_ext in '' $ac_executable_extensions; do
 4336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4337     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 4338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4339     break 2
 4340   fi
 4341 done
 4342   done
 4343 IFS=$as_save_IFS
 4344 
 4345 fi
 4346 fi
 4347 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 4348 if test -n "$ac_ct_OBJDUMP"; then
 4349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 4350 $as_echo "$ac_ct_OBJDUMP" >&6; }
 4351 else
 4352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4353 $as_echo "no" >&6; }
 4354 fi
 4355 
 4356   if test "x$ac_ct_OBJDUMP" = x; then
 4357     OBJDUMP="false"
 4358   else
 4359     case $cross_compiling:$ac_tool_warned in
 4360 yes:)
 4361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4363 ac_tool_warned=yes ;;
 4364 esac
 4365     OBJDUMP=$ac_ct_OBJDUMP
 4366   fi
 4367 else
 4368   OBJDUMP="$ac_cv_prog_OBJDUMP"
 4369 fi
 4370 
 4371   ;;
 4372 esac
 4373 
 4374 test -z "$AS" && AS=as
 4375 
 4376 
 4377 
 4378 
 4379 
 4380 test -z "$DLLTOOL" && DLLTOOL=dlltool
 4381 
 4382 
 4383 
 4384 
 4385 
 4386 test -z "$OBJDUMP" && OBJDUMP=objdump
 4387 
 4388 
 4389 
 4390 
 4391 
 4392 
 4393 
 4394 # Check whether --enable-static was given.
 4395 if test "${enable_static+set}" = set; then :
 4396   enableval=$enable_static; p=${PACKAGE-default}
 4397     case $enableval in
 4398     yes) enable_static=yes ;;
 4399     no) enable_static=no ;;
 4400     *)
 4401      enable_static=no
 4402       # Look at the argument we got.  We use all the common list separators.
 4403       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 4404       for pkg in $enableval; do
 4405     IFS=$lt_save_ifs
 4406     if test "X$pkg" = "X$p"; then
 4407       enable_static=yes
 4408     fi
 4409       done
 4410       IFS=$lt_save_ifs
 4411       ;;
 4412     esac
 4413 else
 4414   enable_static=no
 4415 fi
 4416 
 4417 
 4418 
 4419 
 4420 
 4421 
 4422 
 4423 
 4424 
 4425 case `pwd` in
 4426   *\ * | *\ *)
 4427     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 4428 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 4429 esac
 4430 
 4431 
 4432 
 4433 macro_version='2.4.6'
 4434 macro_revision='2.4.6'
 4435 
 4436 
 4437 
 4438 
 4439 
 4440 
 4441 
 4442 
 4443 
 4444 
 4445 
 4446 
 4447 
 4448 ltmain=$ac_aux_dir/ltmain.sh
 4449 
 4450 # Backslashify metacharacters that are still active within
 4451 # double-quoted strings.
 4452 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 4453 
 4454 # Same as above, but do not quote variable references.
 4455 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 4456 
 4457 # Sed substitution to delay expansion of an escaped shell variable in a
 4458 # double_quote_subst'ed string.
 4459 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 4460 
 4461 # Sed substitution to delay expansion of an escaped single quote.
 4462 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 4463 
 4464 # Sed substitution to avoid accidental globbing in evaled expressions
 4465 no_glob_subst='s/\*/\\\*/g'
 4466 
 4467 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4468 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 4469 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 4470 
 4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 4472 $as_echo_n "checking how to print strings... " >&6; }
 4473 # Test print first, because it will be a builtin if present.
 4474 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 4475    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 4476   ECHO='print -r --'
 4477 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 4478   ECHO='printf %s\n'
 4479 else
 4480   # Use this function as a fallback that always works.
 4481   func_fallback_echo ()
 4482   {
 4483     eval 'cat <<_LTECHO_EOF
 4484 $1
 4485 _LTECHO_EOF'
 4486   }
 4487   ECHO='func_fallback_echo'
 4488 fi
 4489 
 4490 # func_echo_all arg...
 4491 # Invoke $ECHO with all args, space-separated.
 4492 func_echo_all ()
 4493 {
 4494     $ECHO ""
 4495 }
 4496 
 4497 case $ECHO in
 4498   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 4499 $as_echo "printf" >&6; } ;;
 4500   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 4501 $as_echo "print -r" >&6; } ;;
 4502   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 4503 $as_echo "cat" >&6; } ;;
 4504 esac
 4505 
 4506 
 4507 
 4508 
 4509 
 4510 
 4511 
 4512 
 4513 
 4514 
 4515 
 4516 
 4517 
 4518 
 4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4520 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4521 if ${ac_cv_path_SED+:} false; then :
 4522   $as_echo_n "(cached) " >&6
 4523 else
 4524             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4525      for ac_i in 1 2 3 4 5 6 7; do
 4526        ac_script="$ac_script$as_nl$ac_script"
 4527      done
 4528      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4529      { ac_script=; unset ac_script;}
 4530      if test -z "$SED"; then
 4531   ac_path_SED_found=false
 4532   # Loop through the user's path and test for each of PROGNAME-LIST
 4533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4534 for as_dir in $PATH
 4535 do
 4536   IFS=$as_save_IFS
 4537   test -z "$as_dir" && as_dir=.
 4538     for ac_prog in sed gsed; do
 4539     for ac_exec_ext in '' $ac_executable_extensions; do
 4540       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4541       as_fn_executable_p "$ac_path_SED" || continue
 4542 # Check for GNU ac_path_SED and select it if it is found.
 4543   # Check for GNU $ac_path_SED
 4544 case `"$ac_path_SED" --version 2>&1` in
 4545 *GNU*)
 4546   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4547 *)
 4548   ac_count=0
 4549   $as_echo_n 0123456789 >"conftest.in"
 4550   while :
 4551   do
 4552     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4553     mv "conftest.tmp" "conftest.in"
 4554     cp "conftest.in" "conftest.nl"
 4555     $as_echo '' >> "conftest.nl"
 4556     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4557     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4558     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4559     if test $ac_count -gt ${ac_path_SED_max-0}; then
 4560       # Best one so far, save it but keep looking for a better one
 4561       ac_cv_path_SED="$ac_path_SED"
 4562       ac_path_SED_max=$ac_count
 4563     fi
 4564     # 10*(2^10) chars as input seems more than enough
 4565     test $ac_count -gt 10 && break
 4566   done
 4567   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4568 esac
 4569 
 4570       $ac_path_SED_found && break 3
 4571     done
 4572   done
 4573   done
 4574 IFS=$as_save_IFS
 4575   if test -z "$ac_cv_path_SED"; then
 4576     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4577   fi
 4578 else
 4579   ac_cv_path_SED=$SED
 4580 fi
 4581 
 4582 fi
 4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4584 $as_echo "$ac_cv_path_SED" >&6; }
 4585  SED="$ac_cv_path_SED"
 4586   rm -f conftest.sed
 4587 
 4588 test -z "$SED" && SED=sed
 4589 Xsed="$SED -e 1s/^X//"
 4590 
 4591 
 4592 
 4593 
 4594 
 4595 
 4596 
 4597 
 4598 
 4599 
 4600 
 4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4602 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4603 if ${ac_cv_path_GREP+:} false; then :
 4604   $as_echo_n "(cached) " >&6
 4605 else
 4606   if test -z "$GREP"; then
 4607   ac_path_GREP_found=false
 4608   # Loop through the user's path and test for each of PROGNAME-LIST
 4609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4611 do
 4612   IFS=$as_save_IFS
 4613   test -z "$as_dir" && as_dir=.
 4614     for ac_prog in grep ggrep; do
 4615     for ac_exec_ext in '' $ac_executable_extensions; do
 4616       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4617       as_fn_executable_p "$ac_path_GREP" || continue
 4618 # Check for GNU ac_path_GREP and select it if it is found.
 4619   # Check for GNU $ac_path_GREP
 4620 case `"$ac_path_GREP" --version 2>&1` in
 4621 *GNU*)
 4622   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4623 *)
 4624   ac_count=0
 4625   $as_echo_n 0123456789 >"conftest.in"
 4626   while :
 4627   do
 4628     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4629     mv "conftest.tmp" "conftest.in"
 4630     cp "conftest.in" "conftest.nl"
 4631     $as_echo 'GREP' >> "conftest.nl"
 4632     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4633     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4634     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4635     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4636       # Best one so far, save it but keep looking for a better one
 4637       ac_cv_path_GREP="$ac_path_GREP"
 4638       ac_path_GREP_max=$ac_count
 4639     fi
 4640     # 10*(2^10) chars as input seems more than enough
 4641     test $ac_count -gt 10 && break
 4642   done
 4643   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4644 esac
 4645 
 4646       $ac_path_GREP_found && break 3
 4647     done
 4648   done
 4649   done
 4650 IFS=$as_save_IFS
 4651   if test -z "$ac_cv_path_GREP"; then
 4652     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4653   fi
 4654 else
 4655   ac_cv_path_GREP=$GREP
 4656 fi
 4657 
 4658 fi
 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4660 $as_echo "$ac_cv_path_GREP" >&6; }
 4661  GREP="$ac_cv_path_GREP"
 4662 
 4663 
 4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4665 $as_echo_n "checking for egrep... " >&6; }
 4666 if ${ac_cv_path_EGREP+:} false; then :
 4667   $as_echo_n "(cached) " >&6
 4668 else
 4669   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4670    then ac_cv_path_EGREP="$GREP -E"
 4671    else
 4672      if test -z "$EGREP"; then
 4673   ac_path_EGREP_found=false
 4674   # Loop through the user's path and test for each of PROGNAME-LIST
 4675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4677 do
 4678   IFS=$as_save_IFS
 4679   test -z "$as_dir" && as_dir=.
 4680     for ac_prog in egrep; do
 4681     for ac_exec_ext in '' $ac_executable_extensions; do
 4682       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4683       as_fn_executable_p "$ac_path_EGREP" || continue
 4684 # Check for GNU ac_path_EGREP and select it if it is found.
 4685   # Check for GNU $ac_path_EGREP
 4686 case `"$ac_path_EGREP" --version 2>&1` in
 4687 *GNU*)
 4688   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4689 *)
 4690   ac_count=0
 4691   $as_echo_n 0123456789 >"conftest.in"
 4692   while :
 4693   do
 4694     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4695     mv "conftest.tmp" "conftest.in"
 4696     cp "conftest.in" "conftest.nl"
 4697     $as_echo 'EGREP' >> "conftest.nl"
 4698     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4699     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4700     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4701     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4702       # Best one so far, save it but keep looking for a better one
 4703       ac_cv_path_EGREP="$ac_path_EGREP"
 4704       ac_path_EGREP_max=$ac_count
 4705     fi
 4706     # 10*(2^10) chars as input seems more than enough
 4707     test $ac_count -gt 10 && break
 4708   done
 4709   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4710 esac
 4711 
 4712       $ac_path_EGREP_found && break 3
 4713     done
 4714   done
 4715   done
 4716 IFS=$as_save_IFS
 4717   if test -z "$ac_cv_path_EGREP"; then
 4718     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4719   fi
 4720 else
 4721   ac_cv_path_EGREP=$EGREP
 4722 fi
 4723 
 4724    fi
 4725 fi
 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4727 $as_echo "$ac_cv_path_EGREP" >&6; }
 4728  EGREP="$ac_cv_path_EGREP"
 4729 
 4730 
 4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 4732 $as_echo_n "checking for fgrep... " >&6; }
 4733 if ${ac_cv_path_FGREP+:} false; then :
 4734   $as_echo_n "(cached) " >&6
 4735 else
 4736   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 4737    then ac_cv_path_FGREP="$GREP -F"
 4738    else
 4739      if test -z "$FGREP"; then
 4740   ac_path_FGREP_found=false
 4741   # Loop through the user's path and test for each of PROGNAME-LIST
 4742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4744 do
 4745   IFS=$as_save_IFS
 4746   test -z "$as_dir" && as_dir=.
 4747     for ac_prog in fgrep; do
 4748     for ac_exec_ext in '' $ac_executable_extensions; do
 4749       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 4750       as_fn_executable_p "$ac_path_FGREP" || continue
 4751 # Check for GNU ac_path_FGREP and select it if it is found.
 4752   # Check for GNU $ac_path_FGREP
 4753 case `"$ac_path_FGREP" --version 2>&1` in
 4754 *GNU*)
 4755   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 4756 *)
 4757   ac_count=0
 4758   $as_echo_n 0123456789 >"conftest.in"
 4759   while :
 4760   do
 4761     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4762     mv "conftest.tmp" "conftest.in"
 4763     cp "conftest.in" "conftest.nl"
 4764     $as_echo 'FGREP' >> "conftest.nl"
 4765     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4766     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4767     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4768     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 4769       # Best one so far, save it but keep looking for a better one
 4770       ac_cv_path_FGREP="$ac_path_FGREP"
 4771       ac_path_FGREP_max=$ac_count
 4772     fi
 4773     # 10*(2^10) chars as input seems more than enough
 4774     test $ac_count -gt 10 && break
 4775   done
 4776   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4777 esac
 4778 
 4779       $ac_path_FGREP_found && break 3
 4780     done
 4781   done
 4782   done
 4783 IFS=$as_save_IFS
 4784   if test -z "$ac_cv_path_FGREP"; then
 4785     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4786   fi
 4787 else
 4788   ac_cv_path_FGREP=$FGREP
 4789 fi
 4790 
 4791    fi
 4792 fi
 4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 4794 $as_echo "$ac_cv_path_FGREP" >&6; }
 4795  FGREP="$ac_cv_path_FGREP"
 4796 
 4797 
 4798 test -z "$GREP" && GREP=grep
 4799 
 4800 
 4801 
 4802 
 4803 
 4804 
 4805 
 4806 
 4807 
 4808 
 4809 
 4810 
 4811 
 4812 
 4813 
 4814 
 4815 
 4816 
 4817 
 4818 # Check whether --with-gnu-ld was given.
 4819 if test "${with_gnu_ld+set}" = set; then :
 4820   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
 4821 else
 4822   with_gnu_ld=no
 4823 fi
 4824 
 4825 ac_prog=ld
 4826 if test yes = "$GCC"; then
 4827   # Check if gcc -print-prog-name=ld gives a path.
 4828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 4829 $as_echo_n "checking for ld used by $CC... " >&6; }
 4830   case $host in
 4831   *-*-mingw*)
 4832     # gcc leaves a trailing carriage return, which upsets mingw
 4833     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4834   *)
 4835     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4836   esac
 4837   case $ac_prog in
 4838     # Accept absolute paths.
 4839     [\\/]* | ?:[\\/]*)
 4840       re_direlt='/[^/][^/]*/\.\./'
 4841       # Canonicalize the pathname of ld
 4842       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 4843       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 4844     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 4845       done
 4846       test -z "$LD" && LD=$ac_prog
 4847       ;;
 4848   "")
 4849     # If it fails, then pretend we aren't using GCC.
 4850     ac_prog=ld
 4851     ;;
 4852   *)
 4853     # If it is relative, then search for the first ld in PATH.
 4854     with_gnu_ld=unknown
 4855     ;;
 4856   esac
 4857 elif test yes = "$with_gnu_ld"; then
 4858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 4859 $as_echo_n "checking for GNU ld... " >&6; }
 4860 else
 4861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 4862 $as_echo_n "checking for non-GNU ld... " >&6; }
 4863 fi
 4864 if ${lt_cv_path_LD+:} false; then :
 4865   $as_echo_n "(cached) " >&6
 4866 else
 4867   if test -z "$LD"; then
 4868   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 4869   for ac_dir in $PATH; do
 4870     IFS=$lt_save_ifs
 4871     test -z "$ac_dir" && ac_dir=.
 4872     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4873       lt_cv_path_LD=$ac_dir/$ac_prog
 4874       # Check to see if the program is GNU ld.  I'd rather use --version,
 4875       # but apparently some variants of GNU ld only accept -v.
 4876       # Break only if it was the GNU/non-GNU ld that we prefer.
 4877       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4878       *GNU* | *'with BFD'*)
 4879     test no != "$with_gnu_ld" && break
 4880     ;;
 4881       *)
 4882     test yes != "$with_gnu_ld" && break
 4883     ;;
 4884       esac
 4885     fi
 4886   done
 4887   IFS=$lt_save_ifs
 4888 else
 4889   lt_cv_path_LD=$LD # Let the user override the test with a path.
 4890 fi
 4891 fi
 4892 
 4893 LD=$lt_cv_path_LD
 4894 if test -n "$LD"; then
 4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 4896 $as_echo "$LD" >&6; }
 4897 else
 4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4899 $as_echo "no" >&6; }
 4900 fi
 4901 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 4903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 4904 if ${lt_cv_prog_gnu_ld+:} false; then :
 4905   $as_echo_n "(cached) " >&6
 4906 else
 4907   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4908 case `$LD -v 2>&1 </dev/null` in
 4909 *GNU* | *'with BFD'*)
 4910   lt_cv_prog_gnu_ld=yes
 4911   ;;
 4912 *)
 4913   lt_cv_prog_gnu_ld=no
 4914   ;;
 4915 esac
 4916 fi
 4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 4918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 4919 with_gnu_ld=$lt_cv_prog_gnu_ld
 4920 
 4921 
 4922 
 4923 
 4924 
 4925 
 4926 
 4927 
 4928 
 4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 4930 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 4931 if ${lt_cv_path_NM+:} false; then :
 4932   $as_echo_n "(cached) " >&6
 4933 else
 4934   if test -n "$NM"; then
 4935   # Let the user override the test.
 4936   lt_cv_path_NM=$NM
 4937 else
 4938   lt_nm_to_check=${ac_tool_prefix}nm
 4939   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4940     lt_nm_to_check="$lt_nm_to_check nm"
 4941   fi
 4942   for lt_tmp_nm in $lt_nm_to_check; do
 4943     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 4944     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4945       IFS=$lt_save_ifs
 4946       test -z "$ac_dir" && ac_dir=.
 4947       tmp_nm=$ac_dir/$lt_tmp_nm
 4948       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 4949     # Check to see if the nm accepts a BSD-compat flag.
 4950     # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 4951     #   nm: unknown option "B" ignored
 4952     # Tru64's nm complains that /dev/null is an invalid object file
 4953     # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 4954     case $build_os in
 4955     mingw*) lt_bad_file=conftest.nm/nofile ;;
 4956     *) lt_bad_file=/dev/null ;;
 4957     esac
 4958     case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 4959     *$lt_bad_file* | *'Invalid file or object type'*)
 4960       lt_cv_path_NM="$tmp_nm -B"
 4961       break 2
 4962       ;;
 4963     *)
 4964       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4965       */dev/null*)
 4966         lt_cv_path_NM="$tmp_nm -p"
 4967         break 2
 4968         ;;
 4969       *)
 4970         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4971         continue # so that we can try to find one that supports BSD flags
 4972         ;;
 4973       esac
 4974       ;;
 4975     esac
 4976       fi
 4977     done
 4978     IFS=$lt_save_ifs
 4979   done
 4980   : ${lt_cv_path_NM=no}
 4981 fi
 4982 fi
 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 4984 $as_echo "$lt_cv_path_NM" >&6; }
 4985 if test no != "$lt_cv_path_NM"; then
 4986   NM=$lt_cv_path_NM
 4987 else
 4988   # Didn't find any BSD compatible name lister, look for dumpbin.
 4989   if test -n "$DUMPBIN"; then :
 4990     # Let the user override the test.
 4991   else
 4992     if test -n "$ac_tool_prefix"; then
 4993   for ac_prog in dumpbin "link -dump"
 4994   do
 4995     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4998 $as_echo_n "checking for $ac_word... " >&6; }
 4999 if ${ac_cv_prog_DUMPBIN+:} false; then :
 5000   $as_echo_n "(cached) " >&6
 5001 else
 5002   if test -n "$DUMPBIN"; then
 5003   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 5004 else
 5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5006 for as_dir in $PATH
 5007 do
 5008   IFS=$as_save_IFS
 5009   test -z "$as_dir" && as_dir=.
 5010     for ac_exec_ext in '' $ac_executable_extensions; do
 5011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5012     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5014     break 2
 5015   fi
 5016 done
 5017   done
 5018 IFS=$as_save_IFS
 5019 
 5020 fi
 5021 fi
 5022 DUMPBIN=$ac_cv_prog_DUMPBIN
 5023 if test -n "$DUMPBIN"; then
 5024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 5025 $as_echo "$DUMPBIN" >&6; }
 5026 else
 5027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5028 $as_echo "no" >&6; }
 5029 fi
 5030 
 5031 
 5032     test -n "$DUMPBIN" && break
 5033   done
 5034 fi
 5035 if test -z "$DUMPBIN"; then
 5036   ac_ct_DUMPBIN=$DUMPBIN
 5037   for ac_prog in dumpbin "link -dump"
 5038 do
 5039   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5040 set dummy $ac_prog; ac_word=$2
 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5042 $as_echo_n "checking for $ac_word... " >&6; }
 5043 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 5044   $as_echo_n "(cached) " >&6
 5045 else
 5046   if test -n "$ac_ct_DUMPBIN"; then
 5047   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 5048 else
 5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5050 for as_dir in $PATH
 5051 do
 5052   IFS=$as_save_IFS
 5053   test -z "$as_dir" && as_dir=.
 5054     for ac_exec_ext in '' $ac_executable_extensions; do
 5055   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5056     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5058     break 2
 5059   fi
 5060 done
 5061   done
 5062 IFS=$as_save_IFS
 5063 
 5064 fi
 5065 fi
 5066 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5067 if test -n "$ac_ct_DUMPBIN"; then
 5068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5069 $as_echo "$ac_ct_DUMPBIN" >&6; }
 5070 else
 5071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5072 $as_echo "no" >&6; }
 5073 fi
 5074 
 5075 
 5076   test -n "$ac_ct_DUMPBIN" && break
 5077 done
 5078 
 5079   if test "x$ac_ct_DUMPBIN" = x; then
 5080     DUMPBIN=":"
 5081   else
 5082     case $cross_compiling:$ac_tool_warned in
 5083 yes:)
 5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5086 ac_tool_warned=yes ;;
 5087 esac
 5088     DUMPBIN=$ac_ct_DUMPBIN
 5089   fi
 5090 fi
 5091 
 5092     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
 5093     *COFF*)
 5094       DUMPBIN="$DUMPBIN -symbols -headers"
 5095       ;;
 5096     *)
 5097       DUMPBIN=:
 5098       ;;
 5099     esac
 5100   fi
 5101 
 5102   if test : != "$DUMPBIN"; then
 5103     NM=$DUMPBIN
 5104   fi
 5105 fi
 5106 test -z "$NM" && NM=nm
 5107 
 5108 
 5109 
 5110 
 5111 
 5112 
 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 5114 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 5115 if ${lt_cv_nm_interface+:} false; then :
 5116   $as_echo_n "(cached) " >&6
 5117 else
 5118   lt_cv_nm_interface="BSD nm"
 5119   echo "int some_variable = 0;" > conftest.$ac_ext
 5120   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 5121   (eval "$ac_compile" 2>conftest.err)
 5122   cat conftest.err >&5
 5123   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 5124   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 5125   cat conftest.err >&5
 5126   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 5127   cat conftest.out >&5
 5128   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 5129     lt_cv_nm_interface="MS dumpbin"
 5130   fi
 5131   rm -f conftest*
 5132 fi
 5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 5134 $as_echo "$lt_cv_nm_interface" >&6; }
 5135 
 5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 5137 $as_echo_n "checking whether ln -s works... " >&6; }
 5138 LN_S=$as_ln_s
 5139 if test "$LN_S" = "ln -s"; then
 5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5141 $as_echo "yes" >&6; }
 5142 else
 5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 5144 $as_echo "no, using $LN_S" >&6; }
 5145 fi
 5146 
 5147 # find the maximum length of command line arguments
 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 5149 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 5150 if ${lt_cv_sys_max_cmd_len+:} false; then :
 5151   $as_echo_n "(cached) " >&6
 5152 else
 5153     i=0
 5154   teststring=ABCD
 5155 
 5156   case $build_os in
 5157   msdosdjgpp*)
 5158     # On DJGPP, this test can blow up pretty badly due to problems in libc
 5159     # (any single argument exceeding 2000 bytes causes a buffer overrun
 5160     # during glob expansion).  Even if it were fixed, the result of this
 5161     # check would be larger than it should be.
 5162     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5163     ;;
 5164 
 5165   gnu*)
 5166     # Under GNU Hurd, this test is not required because there is
 5167     # no limit to the length of command line arguments.
 5168     # Libtool will interpret -1 as no limit whatsoever
 5169     lt_cv_sys_max_cmd_len=-1;
 5170     ;;
 5171 
 5172   cygwin* | mingw* | cegcc*)
 5173     # On Win9x/ME, this test blows up -- it succeeds, but takes
 5174     # about 5 minutes as the teststring grows exponentially.
 5175     # Worse, since 9x/ME are not pre-emptively multitasking,
 5176     # you end up with a "frozen" computer, even though with patience
 5177     # the test eventually succeeds (with a max line length of 256k).
 5178     # Instead, let's just punt: use the minimum linelength reported by
 5179     # all of the supported platforms: 8192 (on NT/2K/XP).
 5180     lt_cv_sys_max_cmd_len=8192;
 5181     ;;
 5182 
 5183   mint*)
 5184     # On MiNT this can take a long time and run out of memory.
 5185     lt_cv_sys_max_cmd_len=8192;
 5186     ;;
 5187 
 5188   amigaos*)
 5189     # On AmigaOS with pdksh, this test takes hours, literally.
 5190     # So we just punt and use a minimum line length of 8192.
 5191     lt_cv_sys_max_cmd_len=8192;
 5192     ;;
 5193 
 5194   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
 5195     # This has been around since 386BSD, at least.  Likely further.
 5196     if test -x /sbin/sysctl; then
 5197       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 5198     elif test -x /usr/sbin/sysctl; then
 5199       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 5200     else
 5201       lt_cv_sys_max_cmd_len=65536   # usable default for all BSDs
 5202     fi
 5203     # And add a safety zone
 5204     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5205     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5206     ;;
 5207 
 5208   interix*)
 5209     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 5210     lt_cv_sys_max_cmd_len=196608
 5211     ;;
 5212 
 5213   os2*)
 5214     # The test takes a long time on OS/2.
 5215     lt_cv_sys_max_cmd_len=8192
 5216     ;;
 5217 
 5218   osf*)
 5219     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 5220     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 5221     # nice to cause kernel panics so lets avoid the loop below.
 5222     # First set a reasonable default.
 5223     lt_cv_sys_max_cmd_len=16384
 5224     #
 5225     if test -x /sbin/sysconfig; then
 5226       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 5227         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 5228       esac
 5229     fi
 5230     ;;
 5231   sco3.2v5*)
 5232     lt_cv_sys_max_cmd_len=102400
 5233     ;;
 5234   sysv5* | sco5v6* | sysv4.2uw2*)
 5235     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 5236     if test -n "$kargmax"; then
 5237       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 5238     else
 5239       lt_cv_sys_max_cmd_len=32768
 5240     fi
 5241     ;;
 5242   *)
 5243     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 5244     if test -n "$lt_cv_sys_max_cmd_len" && \
 5245        test undefined != "$lt_cv_sys_max_cmd_len"; then
 5246       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5247       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5248     else
 5249       # Make teststring a little bigger before we do anything with it.
 5250       # a 1K string should be a reasonable start.
 5251       for i in 1 2 3 4 5 6 7 8; do
 5252         teststring=$teststring$teststring
 5253       done
 5254       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 5255       # If test is not a shell built-in, we'll probably end up computing a
 5256       # maximum length that is only half of the actual maximum length, but
 5257       # we can't tell.
 5258       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
 5259              = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 5260           test 17 != "$i" # 1/2 MB should be enough
 5261       do
 5262         i=`expr $i + 1`
 5263         teststring=$teststring$teststring
 5264       done
 5265       # Only check the string length outside the loop.
 5266       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 5267       teststring=
 5268       # Add a significant safety factor because C++ compilers can tack on
 5269       # massive amounts of additional arguments before passing them to the
 5270       # linker.  It appears as though 1/2 is a usable value.
 5271       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 5272     fi
 5273     ;;
 5274   esac
 5275 
 5276 fi
 5277 
 5278 if test -n "$lt_cv_sys_max_cmd_len"; then
 5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 5280 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 5281 else
 5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 5283 $as_echo "none" >&6; }
 5284 fi
 5285 max_cmd_len=$lt_cv_sys_max_cmd_len
 5286 
 5287 
 5288 
 5289 
 5290 
 5291 
 5292 : ${CP="cp -f"}
 5293 : ${MV="mv -f"}
 5294 : ${RM="rm -f"}
 5295 
 5296 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 5297   lt_unset=unset
 5298 else
 5299   lt_unset=false
 5300 fi
 5301 
 5302 
 5303 
 5304 
 5305 
 5306 # test EBCDIC or ASCII
 5307 case `echo X|tr X '\101'` in
 5308  A) # ASCII based system
 5309     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 5310   lt_SP2NL='tr \040 \012'
 5311   lt_NL2SP='tr \015\012 \040\040'
 5312   ;;
 5313  *) # EBCDIC based system
 5314   lt_SP2NL='tr \100 \n'
 5315   lt_NL2SP='tr \r\n \100\100'
 5316   ;;
 5317 esac
 5318 
 5319 
 5320 
 5321 
 5322 
 5323 
 5324 
 5325 
 5326 
 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 5328 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 5329 if ${lt_cv_to_host_file_cmd+:} false; then :
 5330   $as_echo_n "(cached) " >&6
 5331 else
 5332   case $host in
 5333   *-*-mingw* )
 5334     case $build in
 5335       *-*-mingw* ) # actually msys
 5336         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 5337         ;;
 5338       *-*-cygwin* )
 5339         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 5340         ;;
 5341       * ) # otherwise, assume *nix
 5342         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 5343         ;;
 5344     esac
 5345     ;;
 5346   *-*-cygwin* )
 5347     case $build in
 5348       *-*-mingw* ) # actually msys
 5349         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 5350         ;;
 5351       *-*-cygwin* )
 5352         lt_cv_to_host_file_cmd=func_convert_file_noop
 5353         ;;
 5354       * ) # otherwise, assume *nix
 5355         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 5356         ;;
 5357     esac
 5358     ;;
 5359   * ) # unhandled hosts (and "normal" native builds)
 5360     lt_cv_to_host_file_cmd=func_convert_file_noop
 5361     ;;
 5362 esac
 5363 
 5364 fi
 5365 
 5366 to_host_file_cmd=$lt_cv_to_host_file_cmd
 5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 5368 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
 5369 
 5370 
 5371 
 5372 
 5373 
 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 5375 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 5376 if ${lt_cv_to_tool_file_cmd+:} false; then :
 5377   $as_echo_n "(cached) " >&6
 5378 else
 5379   #assume ordinary cross tools, or native build.
 5380 lt_cv_to_tool_file_cmd=func_convert_file_noop
 5381 case $host in
 5382   *-*-mingw* )
 5383     case $build in
 5384       *-*-mingw* ) # actually msys
 5385         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 5386         ;;
 5387     esac
 5388     ;;
 5389 esac
 5390 
 5391 fi
 5392 
 5393 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 5395 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 5396 
 5397 
 5398 
 5399 
 5400 
 5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 5402 $as_echo_n "checking for $LD option to reload object files... " >&6; }
 5403 if ${lt_cv_ld_reload_flag+:} false; then :
 5404   $as_echo_n "(cached) " >&6
 5405 else
 5406   lt_cv_ld_reload_flag='-r'
 5407 fi
 5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 5409 $as_echo "$lt_cv_ld_reload_flag" >&6; }
 5410 reload_flag=$lt_cv_ld_reload_flag
 5411 case $reload_flag in
 5412 "" | " "*) ;;
 5413 *) reload_flag=" $reload_flag" ;;
 5414 esac
 5415 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5416 case $host_os in
 5417   cygwin* | mingw* | pw32* | cegcc*)
 5418     if test yes != "$GCC"; then
 5419       reload_cmds=false
 5420     fi
 5421     ;;
 5422   darwin*)
 5423     if test yes = "$GCC"; then
 5424       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
 5425     else
 5426       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5427     fi
 5428     ;;
 5429 esac
 5430 
 5431 
 5432 
 5433 
 5434 
 5435 
 5436 
 5437 
 5438 
 5439 if test -n "$ac_tool_prefix"; then
 5440   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5441 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5443 $as_echo_n "checking for $ac_word... " >&6; }
 5444 if ${ac_cv_prog_OBJDUMP+:} false; then :
 5445   $as_echo_n "(cached) " >&6
 5446 else
 5447   if test -n "$OBJDUMP"; then
 5448   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5449 else
 5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5451 for as_dir in $PATH
 5452 do
 5453   IFS=$as_save_IFS
 5454   test -z "$as_dir" && as_dir=.
 5455     for ac_exec_ext in '' $ac_executable_extensions; do
 5456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5457     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5459     break 2
 5460   fi
 5461 done
 5462   done
 5463 IFS=$as_save_IFS
 5464 
 5465 fi
 5466 fi
 5467 OBJDUMP=$ac_cv_prog_OBJDUMP
 5468 if test -n "$OBJDUMP"; then
 5469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5470 $as_echo "$OBJDUMP" >&6; }
 5471 else
 5472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5473 $as_echo "no" >&6; }
 5474 fi
 5475 
 5476 
 5477 fi
 5478 if test -z "$ac_cv_prog_OBJDUMP"; then
 5479   ac_ct_OBJDUMP=$OBJDUMP
 5480   # Extract the first word of "objdump", so it can be a program name with args.
 5481 set dummy objdump; ac_word=$2
 5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5483 $as_echo_n "checking for $ac_word... " >&6; }
 5484 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 5485   $as_echo_n "(cached) " >&6
 5486 else
 5487   if test -n "$ac_ct_OBJDUMP"; then
 5488   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5489 else
 5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5491 for as_dir in $PATH
 5492 do
 5493   IFS=$as_save_IFS
 5494   test -z "$as_dir" && as_dir=.
 5495     for ac_exec_ext in '' $ac_executable_extensions; do
 5496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5497     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5499     break 2
 5500   fi
 5501 done
 5502   done
 5503 IFS=$as_save_IFS
 5504 
 5505 fi
 5506 fi
 5507 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5508 if test -n "$ac_ct_OBJDUMP"; then
 5509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5510 $as_echo "$ac_ct_OBJDUMP" >&6; }
 5511 else
 5512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5513 $as_echo "no" >&6; }
 5514 fi
 5515 
 5516   if test "x$ac_ct_OBJDUMP" = x; then
 5517     OBJDUMP="false"
 5518   else
 5519     case $cross_compiling:$ac_tool_warned in
 5520 yes:)
 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5523 ac_tool_warned=yes ;;
 5524 esac
 5525     OBJDUMP=$ac_ct_OBJDUMP
 5526   fi
 5527 else
 5528   OBJDUMP="$ac_cv_prog_OBJDUMP"
 5529 fi
 5530 
 5531 test -z "$OBJDUMP" && OBJDUMP=objdump
 5532 
 5533 
 5534 
 5535 
 5536 
 5537 
 5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 5539 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 5540 if ${lt_cv_deplibs_check_method+:} false; then :
 5541   $as_echo_n "(cached) " >&6
 5542 else
 5543   lt_cv_file_magic_cmd='$MAGIC_CMD'
 5544 lt_cv_file_magic_test_file=
 5545 lt_cv_deplibs_check_method='unknown'
 5546 # Need to set the preceding variable on all platforms that support
 5547 # interlibrary dependencies.
 5548 # 'none' -- dependencies not supported.
 5549 # 'unknown' -- same as none, but documents that we really don't know.
 5550 # 'pass_all' -- all dependencies passed with no checks.
 5551 # 'test_compile' -- check by making test program.
 5552 # 'file_magic [[regex]]' -- check by looking for files in library path
 5553 # that responds to the $file_magic_cmd with a given extended regex.
 5554 # If you have 'file' or equivalent on your system and you're not sure
 5555 # whether 'pass_all' will *always* work, you probably want this one.
 5556 
 5557 case $host_os in
 5558 aix[4-9]*)
 5559   lt_cv_deplibs_check_method=pass_all
 5560   ;;
 5561 
 5562 beos*)
 5563   lt_cv_deplibs_check_method=pass_all
 5564   ;;
 5565 
 5566 bsdi[45]*)
 5567   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 5568   lt_cv_file_magic_cmd='/usr/bin/file -L'
 5569   lt_cv_file_magic_test_file=/shlib/libc.so
 5570   ;;
 5571 
 5572 cygwin*)
 5573   # func_win32_libid is a shell function defined in ltmain.sh
 5574   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5575   lt_cv_file_magic_cmd='func_win32_libid'
 5576   ;;
 5577 
 5578 mingw* | pw32*)
 5579   # Base MSYS/MinGW do not provide the 'file' command needed by
 5580   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 5581   # unless we find 'file', for example because we are cross-compiling.
 5582   if ( file / ) >/dev/null 2>&1; then
 5583     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5584     lt_cv_file_magic_cmd='func_win32_libid'
 5585   else
 5586     # Keep this pattern in sync with the one in func_win32_libid.
 5587     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 5588     lt_cv_file_magic_cmd='$OBJDUMP -f'
 5589   fi
 5590   ;;
 5591 
 5592 cegcc*)
 5593   # use the weaker test based on 'objdump'. See mingw*.
 5594   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 5595   lt_cv_file_magic_cmd='$OBJDUMP -f'
 5596   ;;
 5597 
 5598 darwin* | rhapsody*)
 5599   lt_cv_deplibs_check_method=pass_all
 5600   ;;
 5601 
 5602 freebsd* | dragonfly*)
 5603   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5604     case $host_cpu in
 5605     i*86 )
 5606       # Not sure whether the presence of OpenBSD here was a mistake.
 5607       # Let's accept both of them until this is cleared up.
 5608       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 5609       lt_cv_file_magic_cmd=/usr/bin/file
 5610       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 5611