"Fossies" - the Fresh Open Source Software Archive

Member "libgeotiff-1.6.0/configure" (22 Apr 2020, 526333 Bytes) of package /linux/privat/libgeotiff-1.6.0.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": 1.5.1_vs_1.6.0.

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