File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libiconv / configure
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 13:38:46 2021 UTC (3 years, 3 months ago) by misho
Branches: libiconv, MAIN
CVS tags: v1_16p0, HEAD
libiconv 1.16

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.69 for libiconv 1.16.
    4: #
    5: #
    6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    7: #
    8: #
    9: # This configure script is free software; the Free Software Foundation
   10: # gives unlimited permission to copy, distribute and modify it.
   11: ## -------------------- ##
   12: ## M4sh Initialization. ##
   13: ## -------------------- ##
   14: 
   15: # Be more Bourne compatible
   16: DUALCASE=1; export DUALCASE # for MKS sh
   17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18:   emulate sh
   19:   NULLCMD=:
   20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21:   # is contrary to our usage.  Disable this feature.
   22:   alias -g '${1+"$@"}'='"$@"'
   23:   setopt NO_GLOB_SUBST
   24: else
   25:   case `(set -o) 2>/dev/null` in #(
   26:   *posix*) :
   27:     set -o posix ;; #(
   28:   *) :
   29:      ;;
   30: esac
   31: fi
   32: 
   33: 
   34: as_nl='
   35: '
   36: export as_nl
   37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   41: # Prefer a ksh shell builtin over an external printf program on Solaris,
   42: # but without wasting forks for bash or zsh.
   43: if test -z "$BASH_VERSION$ZSH_VERSION" \
   44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   45:   as_echo='print -r --'
   46:   as_echo_n='print -rn --'
   47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   48:   as_echo='printf %s\n'
   49:   as_echo_n='printf %s'
   50: else
   51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   53:     as_echo_n='/usr/ucb/echo -n'
   54:   else
   55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   56:     as_echo_n_body='eval
   57:       arg=$1;
   58:       case $arg in #(
   59:       *"$as_nl"*)
   60: 	expr "X$arg" : "X\\(.*\\)$as_nl";
   61: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   62:       esac;
   63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   64:     '
   65:     export as_echo_n_body
   66:     as_echo_n='sh -c $as_echo_n_body as_echo'
   67:   fi
   68:   export as_echo_body
   69:   as_echo='sh -c $as_echo_body as_echo'
   70: fi
   71: 
   72: # The user is always right.
   73: if test "${PATH_SEPARATOR+set}" != set; then
   74:   PATH_SEPARATOR=:
   75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   77:       PATH_SEPARATOR=';'
   78:   }
   79: fi
   80: 
   81: 
   82: # IFS
   83: # We need space, tab and new line, in precisely that order.  Quoting is
   84: # there to prevent editors from complaining about space-tab.
   85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   86: # splitting by setting IFS to empty value.)
   87: IFS=" ""	$as_nl"
   88: 
   89: # Find who we are.  Look in the path if we contain no directory separator.
   90: as_myself=
   91: case $0 in #((
   92:   *[\\/]* ) as_myself=$0 ;;
   93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   94: for as_dir in $PATH
   95: do
   96:   IFS=$as_save_IFS
   97:   test -z "$as_dir" && as_dir=.
   98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   99:   done
  100: IFS=$as_save_IFS
  101: 
  102:      ;;
  103: esac
  104: # We did not find ourselves, most probably we were run as `sh COMMAND'
  105: # in which case we are not to be found in the path.
  106: if test "x$as_myself" = x; then
  107:   as_myself=$0
  108: fi
  109: if test ! -f "$as_myself"; then
  110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  111:   exit 1
  112: fi
  113: 
  114: # Unset variables that we do not need and which cause bugs (e.g. in
  115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  116: # suppresses any "Segmentation fault" message there.  '((' could
  117: # trigger a bug in pdksh 5.2.14.
  118: for as_var in BASH_ENV ENV MAIL MAILPATH
  119: do eval test x\${$as_var+set} = xset \
  120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  121: done
  122: PS1='$ '
  123: PS2='> '
  124: PS4='+ '
  125: 
  126: # NLS nuisances.
  127: LC_ALL=C
  128: export LC_ALL
  129: LANGUAGE=C
  130: export LANGUAGE
  131: 
  132: # CDPATH.
  133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  134: 
  135: # Use a proper internal environment variable to ensure we don't fall
  136:   # into an infinite loop, continuously re-executing ourselves.
  137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  138:     _as_can_reexec=no; export _as_can_reexec;
  139:     # We cannot yet assume a decent shell, so we have to provide a
  140: # neutralization value for shells without unset; and this also
  141: # works around shells that cannot unset nonexistent variables.
  142: # Preserve -v and -x to the replacement shell.
  143: BASH_ENV=/dev/null
  144: ENV=/dev/null
  145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  146: case $- in # ((((
  147:   *v*x* | *x*v* ) as_opts=-vx ;;
  148:   *v* ) as_opts=-v ;;
  149:   *x* ) as_opts=-x ;;
  150:   * ) as_opts= ;;
  151: esac
  152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  153: # Admittedly, this is quite paranoid, since all the known shells bail
  154: # out after a failed `exec'.
  155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  156: as_fn_exit 255
  157:   fi
  158:   # We don't want this to propagate to other subprocesses.
  159:           { _as_can_reexec=; unset _as_can_reexec;}
  160: if test "x$CONFIG_SHELL" = x; then
  161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  162:   emulate sh
  163:   NULLCMD=:
  164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  165:   # is contrary to our usage.  Disable this feature.
  166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  167:   setopt NO_GLOB_SUBST
  168: else
  169:   case \`(set -o) 2>/dev/null\` in #(
  170:   *posix*) :
  171:     set -o posix ;; #(
  172:   *) :
  173:      ;;
  174: esac
  175: fi
  176: "
  177:   as_required="as_fn_return () { (exit \$1); }
  178: as_fn_success () { as_fn_return 0; }
  179: as_fn_failure () { as_fn_return 1; }
  180: as_fn_ret_success () { return 0; }
  181: as_fn_ret_failure () { return 1; }
  182: 
  183: exitcode=0
  184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  189: 
  190: else
  191:   exitcode=1; echo positional parameters were not saved.
  192: fi
  193: test x\$exitcode = x0 || exit 1
  194: test -x / || exit 1"
  195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  199: test \$(( 1 + 1 )) = 2 || exit 1
  200: 
  201:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  202:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  203:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  204:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  205:     PATH=/empty FPATH=/empty; export PATH FPATH
  206:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  207:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  208:   if (eval "$as_required") 2>/dev/null; then :
  209:   as_have_required=yes
  210: else
  211:   as_have_required=no
  212: fi
  213:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  214: 
  215: else
  216:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  217: as_found=false
  218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  219: do
  220:   IFS=$as_save_IFS
  221:   test -z "$as_dir" && as_dir=.
  222:   as_found=:
  223:   case $as_dir in #(
  224: 	 /*)
  225: 	   for as_base in sh bash ksh sh5; do
  226: 	     # Try only shells that exist, to save several forks.
  227: 	     as_shell=$as_dir/$as_base
  228: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  229: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  230:   CONFIG_SHELL=$as_shell as_have_required=yes
  231: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232:   break 2
  233: fi
  234: fi
  235: 	   done;;
  236:        esac
  237:   as_found=false
  238: done
  239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  240: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  241:   CONFIG_SHELL=$SHELL as_have_required=yes
  242: fi; }
  243: IFS=$as_save_IFS
  244: 
  245: 
  246:       if test "x$CONFIG_SHELL" != x; then :
  247:   export CONFIG_SHELL
  248:              # We cannot yet assume a decent shell, so we have to provide a
  249: # neutralization value for shells without unset; and this also
  250: # works around shells that cannot unset nonexistent variables.
  251: # Preserve -v and -x to the replacement shell.
  252: BASH_ENV=/dev/null
  253: ENV=/dev/null
  254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  255: case $- in # ((((
  256:   *v*x* | *x*v* ) as_opts=-vx ;;
  257:   *v* ) as_opts=-v ;;
  258:   *x* ) as_opts=-x ;;
  259:   * ) as_opts= ;;
  260: esac
  261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  262: # Admittedly, this is quite paranoid, since all the known shells bail
  263: # out after a failed `exec'.
  264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  265: exit 255
  266: fi
  267: 
  268:     if test x$as_have_required = xno; then :
  269:   $as_echo "$0: This script requires a shell more modern than all"
  270:   $as_echo "$0: the shells that I found on your system."
  271:   if test x${ZSH_VERSION+set} = xset ; then
  272:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  273:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  274:   else
  275:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  276: $0: including any error possibly output before this
  277: $0: message. Then install a modern shell, or manually run
  278: $0: the script under such a shell if you do have one."
  279:   fi
  280:   exit 1
  281: fi
  282: fi
  283: fi
  284: SHELL=${CONFIG_SHELL-/bin/sh}
  285: export SHELL
  286: # Unset more variables known to interfere with behavior of common tools.
  287: CLICOLOR_FORCE= GREP_OPTIONS=
  288: unset CLICOLOR_FORCE GREP_OPTIONS
  289: 
  290: ## --------------------- ##
  291: ## M4sh Shell Functions. ##
  292: ## --------------------- ##
  293: # as_fn_unset VAR
  294: # ---------------
  295: # Portably unset VAR.
  296: as_fn_unset ()
  297: {
  298:   { eval $1=; unset $1;}
  299: }
  300: as_unset=as_fn_unset
  301: 
  302: # as_fn_set_status STATUS
  303: # -----------------------
  304: # Set $? to STATUS, without forking.
  305: as_fn_set_status ()
  306: {
  307:   return $1
  308: } # as_fn_set_status
  309: 
  310: # as_fn_exit STATUS
  311: # -----------------
  312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  313: as_fn_exit ()
  314: {
  315:   set +e
  316:   as_fn_set_status $1
  317:   exit $1
  318: } # as_fn_exit
  319: 
  320: # as_fn_mkdir_p
  321: # -------------
  322: # Create "$as_dir" as a directory, including parents if necessary.
  323: as_fn_mkdir_p ()
  324: {
  325: 
  326:   case $as_dir in #(
  327:   -*) as_dir=./$as_dir;;
  328:   esac
  329:   test -d "$as_dir" || eval $as_mkdir_p || {
  330:     as_dirs=
  331:     while :; do
  332:       case $as_dir in #(
  333:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  334:       *) as_qdir=$as_dir;;
  335:       esac
  336:       as_dirs="'$as_qdir' $as_dirs"
  337:       as_dir=`$as_dirname -- "$as_dir" ||
  338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  339: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  340: 	 X"$as_dir" : 'X\(//\)$' \| \
  341: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  342: $as_echo X"$as_dir" |
  343:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  344: 	    s//\1/
  345: 	    q
  346: 	  }
  347: 	  /^X\(\/\/\)[^/].*/{
  348: 	    s//\1/
  349: 	    q
  350: 	  }
  351: 	  /^X\(\/\/\)$/{
  352: 	    s//\1/
  353: 	    q
  354: 	  }
  355: 	  /^X\(\/\).*/{
  356: 	    s//\1/
  357: 	    q
  358: 	  }
  359: 	  s/.*/./; q'`
  360:       test -d "$as_dir" && break
  361:     done
  362:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  363:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  364: 
  365: 
  366: } # as_fn_mkdir_p
  367: 
  368: # as_fn_executable_p FILE
  369: # -----------------------
  370: # Test if FILE is an executable regular file.
  371: as_fn_executable_p ()
  372: {
  373:   test -f "$1" && test -x "$1"
  374: } # as_fn_executable_p
  375: # as_fn_append VAR VALUE
  376: # ----------------------
  377: # Append the text in VALUE to the end of the definition contained in VAR. Take
  378: # advantage of any shell optimizations that allow amortized linear growth over
  379: # repeated appends, instead of the typical quadratic growth present in naive
  380: # implementations.
  381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  382:   eval 'as_fn_append ()
  383:   {
  384:     eval $1+=\$2
  385:   }'
  386: else
  387:   as_fn_append ()
  388:   {
  389:     eval $1=\$$1\$2
  390:   }
  391: fi # as_fn_append
  392: 
  393: # as_fn_arith ARG...
  394: # ------------------
  395: # Perform arithmetic evaluation on the ARGs, and store the result in the
  396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  397: # must be portable across $(()) and expr.
  398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  399:   eval 'as_fn_arith ()
  400:   {
  401:     as_val=$(( $* ))
  402:   }'
  403: else
  404:   as_fn_arith ()
  405:   {
  406:     as_val=`expr "$@" || test $? -eq 1`
  407:   }
  408: fi # as_fn_arith
  409: 
  410: 
  411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  412: # ----------------------------------------
  413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  415: # script with STATUS, using 1 if that was 0.
  416: as_fn_error ()
  417: {
  418:   as_status=$1; test $as_status -eq 0 && as_status=1
  419:   if test "$4"; then
  420:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  421:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  422:   fi
  423:   $as_echo "$as_me: error: $2" >&2
  424:   as_fn_exit $as_status
  425: } # as_fn_error
  426: 
  427: if expr a : '\(a\)' >/dev/null 2>&1 &&
  428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  429:   as_expr=expr
  430: else
  431:   as_expr=false
  432: fi
  433: 
  434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  435:   as_basename=basename
  436: else
  437:   as_basename=false
  438: fi
  439: 
  440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  441:   as_dirname=dirname
  442: else
  443:   as_dirname=false
  444: fi
  445: 
  446: as_me=`$as_basename -- "$0" ||
  447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  448: 	 X"$0" : 'X\(//\)$' \| \
  449: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  450: $as_echo X/"$0" |
  451:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  452: 	    s//\1/
  453: 	    q
  454: 	  }
  455: 	  /^X\/\(\/\/\)$/{
  456: 	    s//\1/
  457: 	    q
  458: 	  }
  459: 	  /^X\/\(\/\).*/{
  460: 	    s//\1/
  461: 	    q
  462: 	  }
  463: 	  s/.*/./; q'`
  464: 
  465: # Avoid depending upon Character Ranges.
  466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  469: as_cr_digits='0123456789'
  470: as_cr_alnum=$as_cr_Letters$as_cr_digits
  471: 
  472: 
  473:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  474:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  475:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  476:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  477:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  478:   sed -n '
  479:     p
  480:     /[$]LINENO/=
  481:   ' <$as_myself |
  482:     sed '
  483:       s/[$]LINENO.*/&-/
  484:       t lineno
  485:       b
  486:       :lineno
  487:       N
  488:       :loop
  489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  490:       t loop
  491:       s/-\n.*//
  492:     ' >$as_me.lineno &&
  493:   chmod +x "$as_me.lineno" ||
  494:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  495: 
  496:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  497:   # already done that, so ensure we don't try to do so again and fall
  498:   # in an infinite loop.  This has already happened in practice.
  499:   _as_can_reexec=no; export _as_can_reexec
  500:   # Don't try to exec as it changes $[0], causing all sort of problems
  501:   # (the dirname of $[0] is not the place where we might find the
  502:   # original and so on.  Autoconf is especially sensitive to this).
  503:   . "./$as_me.lineno"
  504:   # Exit status is that of the last command.
  505:   exit
  506: }
  507: 
  508: ECHO_C= ECHO_N= ECHO_T=
  509: case `echo -n x` in #(((((
  510: -n*)
  511:   case `echo 'xy\c'` in
  512:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  513:   xy)  ECHO_C='\c';;
  514:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  515:        ECHO_T='	';;
  516:   esac;;
  517: *)
  518:   ECHO_N='-n';;
  519: esac
  520: 
  521: rm -f conf$$ conf$$.exe conf$$.file
  522: if test -d conf$$.dir; then
  523:   rm -f conf$$.dir/conf$$.file
  524: else
  525:   rm -f conf$$.dir
  526:   mkdir conf$$.dir 2>/dev/null
  527: fi
  528: if (echo >conf$$.file) 2>/dev/null; then
  529:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  530:     as_ln_s='ln -s'
  531:     # ... but there are two gotchas:
  532:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  533:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  534:     # In both cases, we have to default to `cp -pR'.
  535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  536:       as_ln_s='cp -pR'
  537:   elif ln conf$$.file conf$$ 2>/dev/null; then
  538:     as_ln_s=ln
  539:   else
  540:     as_ln_s='cp -pR'
  541:   fi
  542: else
  543:   as_ln_s='cp -pR'
  544: fi
  545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  546: rmdir conf$$.dir 2>/dev/null
  547: 
  548: if mkdir -p . 2>/dev/null; then
  549:   as_mkdir_p='mkdir -p "$as_dir"'
  550: else
  551:   test -d ./-p && rmdir ./-p
  552:   as_mkdir_p=false
  553: fi
  554: 
  555: as_test_x='test -x'
  556: as_executable_p=as_fn_executable_p
  557: 
  558: # Sed expression to map a string onto a valid CPP name.
  559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  560: 
  561: # Sed expression to map a string onto a valid variable name.
  562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  563: 
  564: SHELL=${CONFIG_SHELL-/bin/sh}
  565: 
  566: 
  567: test -n "$DJDIR" || exec 7<&0 </dev/null
  568: exec 6>&1
  569: 
  570: # Name of the host.
  571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  572: # so uname gets run too.
  573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  574: 
  575: #
  576: # Initializations.
  577: #
  578: ac_default_prefix=/usr/local
  579: ac_clean_files=
  580: ac_config_libobj_dir=.
  581: LIBOBJS=
  582: cross_compiling=no
  583: subdirs=
  584: MFLAGS=
  585: MAKEFLAGS=
  586: 
  587: # Identity of this package.
  588: PACKAGE_NAME='libiconv'
  589: PACKAGE_TARNAME='libiconv'
  590: PACKAGE_VERSION='1.16'
  591: PACKAGE_STRING='libiconv 1.16'
  592: PACKAGE_BUGREPORT=''
  593: PACKAGE_URL=''
  594: 
  595: ac_unique_file="lib/iconv.c"
  596: # Factoring default headers for most tests.
  597: ac_includes_default="\
  598: #include <stdio.h>
  599: #ifdef HAVE_SYS_TYPES_H
  600: # include <sys/types.h>
  601: #endif
  602: #ifdef HAVE_SYS_STAT_H
  603: # include <sys/stat.h>
  604: #endif
  605: #ifdef STDC_HEADERS
  606: # include <stdlib.h>
  607: # include <stddef.h>
  608: #else
  609: # ifdef HAVE_STDLIB_H
  610: #  include <stdlib.h>
  611: # endif
  612: #endif
  613: #ifdef HAVE_STRING_H
  614: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  615: #  include <memory.h>
  616: # endif
  617: # include <string.h>
  618: #endif
  619: #ifdef HAVE_STRINGS_H
  620: # include <strings.h>
  621: #endif
  622: #ifdef HAVE_INTTYPES_H
  623: # include <inttypes.h>
  624: #endif
  625: #ifdef HAVE_STDINT_H
  626: # include <stdint.h>
  627: #endif
  628: #ifdef HAVE_UNISTD_H
  629: # include <unistd.h>
  630: #endif"
  631: 
  632: gt_needs=
  633: ac_header_list=
  634: ac_func_list=
  635: enable_option_checking=no
  636: ac_subst_vars='gltests_LTLIBOBJS
  637: gltests_LIBOBJS
  638: gl_LTLIBOBJS
  639: gl_LIBOBJS
  640: am__EXEEXT_FALSE
  641: am__EXEEXT_TRUE
  642: LTLIBOBJS
  643: LIBOBJS
  644: subdirs
  645: DLL_VARIABLE
  646: WOE32DLL
  647: SRCLIBOBJS
  648: LIBICRT_LTLIBDEPS
  649: LIBICRT_LIBDEPS
  650: gltests_WITNESS
  651: LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
  652: LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
  653: LIBUNISTRING_UNIWIDTH_H
  654: LIBUNISTRING_UNITYPES_H
  655: HAVE_UNISTD_H
  656: NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
  657: NEXT_UNISTD_H
  658: UNISTD_H_DEFINES_STRUCT_TIMESPEC
  659: PTHREAD_H_DEFINES_STRUCT_TIMESPEC
  660: SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
  661: TIME_H_DEFINES_STRUCT_TIMESPEC
  662: NEXT_AS_FIRST_DIRECTIVE_TIME_H
  663: NEXT_TIME_H
  664: REPLACE_LOCALTIME
  665: REPLACE_GMTIME
  666: GNULIB_GETTIMEOFDAY
  667: REPLACE_TZSET
  668: REPLACE_TIMEGM
  669: REPLACE_STRFTIME
  670: REPLACE_NANOSLEEP
  671: REPLACE_MKTIME
  672: REPLACE_LOCALTIME_R
  673: REPLACE_CTIME
  674: HAVE_TIMEZONE_T
  675: HAVE_TZSET
  676: HAVE_TIMEGM
  677: HAVE_STRPTIME
  678: HAVE_NANOSLEEP
  679: HAVE_DECL_LOCALTIME_R
  680: GNULIB_TZSET
  681: GNULIB_TIME_RZ
  682: GNULIB_TIME_R
  683: GNULIB_TIMEGM
  684: GNULIB_STRPTIME
  685: GNULIB_STRFTIME
  686: GNULIB_NANOSLEEP
  687: GNULIB_LOCALTIME
  688: GNULIB_MKTIME
  689: GNULIB_CTIME
  690: WINDOWS_STAT_INODES
  691: WINDOWS_64_BIT_OFF_T
  692: NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
  693: NEXT_SYS_TYPES_H
  694: NEXT_AS_FIRST_DIRECTIVE_STRING_H
  695: NEXT_STRING_H
  696: HAVE_WINSOCK2_H
  697: UNDEFINE_STRTOK_R
  698: REPLACE_STRSIGNAL
  699: REPLACE_STRERROR_R
  700: REPLACE_STRERROR
  701: REPLACE_STRTOK_R
  702: REPLACE_STRCASESTR
  703: REPLACE_STRSTR
  704: REPLACE_STRNLEN
  705: REPLACE_STRNDUP
  706: REPLACE_STRNCAT
  707: REPLACE_STRDUP
  708: REPLACE_STRCHRNUL
  709: REPLACE_STPNCPY
  710: REPLACE_MEMMEM
  711: REPLACE_MEMCHR
  712: HAVE_STRVERSCMP
  713: HAVE_DECL_STRSIGNAL
  714: HAVE_DECL_STRERROR_R
  715: HAVE_DECL_STRTOK_R
  716: HAVE_STRCASESTR
  717: HAVE_STRSEP
  718: HAVE_STRPBRK
  719: HAVE_DECL_STRNLEN
  720: HAVE_DECL_STRNDUP
  721: HAVE_DECL_STRDUP
  722: HAVE_STRCHRNUL
  723: HAVE_STPNCPY
  724: HAVE_STPCPY
  725: HAVE_RAWMEMCHR
  726: HAVE_DECL_MEMRCHR
  727: HAVE_MEMPCPY
  728: HAVE_DECL_MEMMEM
  729: HAVE_MEMCHR
  730: HAVE_FFSLL
  731: HAVE_FFSL
  732: HAVE_EXPLICIT_BZERO
  733: HAVE_MBSLEN
  734: GNULIB_STRVERSCMP
  735: GNULIB_STRSIGNAL
  736: GNULIB_STRERROR_R
  737: GNULIB_STRERROR
  738: GNULIB_MBSTOK_R
  739: GNULIB_MBSSEP
  740: GNULIB_MBSSPN
  741: GNULIB_MBSPBRK
  742: GNULIB_MBSCSPN
  743: GNULIB_MBSCASESTR
  744: GNULIB_MBSPCASECMP
  745: GNULIB_MBSNCASECMP
  746: GNULIB_MBSCASECMP
  747: GNULIB_MBSSTR
  748: GNULIB_MBSRCHR
  749: GNULIB_MBSCHR
  750: GNULIB_MBSNLEN
  751: GNULIB_MBSLEN
  752: GNULIB_STRTOK_R
  753: GNULIB_STRCASESTR
  754: GNULIB_STRSTR
  755: GNULIB_STRSEP
  756: GNULIB_STRPBRK
  757: GNULIB_STRNLEN
  758: GNULIB_STRNDUP
  759: GNULIB_STRNCAT
  760: GNULIB_STRDUP
  761: GNULIB_STRCHRNUL
  762: GNULIB_STPNCPY
  763: GNULIB_STPCPY
  764: GNULIB_RAWMEMCHR
  765: GNULIB_MEMRCHR
  766: GNULIB_MEMPCPY
  767: GNULIB_MEMMEM
  768: GNULIB_MEMCHR
  769: GNULIB_FFSLL
  770: GNULIB_FFSL
  771: GNULIB_EXPLICIT_BZERO
  772: NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
  773: NEXT_STDLIB_H
  774: NEXT_AS_FIRST_DIRECTIVE_STDIO_H
  775: NEXT_STDIO_H
  776: GL_GENERATE_STDINT_H_FALSE
  777: GL_GENERATE_STDINT_H_TRUE
  778: STDINT_H
  779: HAVE_SYS_INTTYPES_H
  780: HAVE_SYS_BITYPES_H
  781: HAVE_C99_STDINT_H
  782: WINT_T_SUFFIX
  783: WCHAR_T_SUFFIX
  784: SIG_ATOMIC_T_SUFFIX
  785: SIZE_T_SUFFIX
  786: PTRDIFF_T_SUFFIX
  787: HAVE_SIGNED_WINT_T
  788: HAVE_SIGNED_WCHAR_T
  789: HAVE_SIGNED_SIG_ATOMIC_T
  790: BITSIZEOF_WINT_T
  791: BITSIZEOF_WCHAR_T
  792: BITSIZEOF_SIG_ATOMIC_T
  793: BITSIZEOF_SIZE_T
  794: BITSIZEOF_PTRDIFF_T
  795: HAVE_STDINT_H
  796: NEXT_AS_FIRST_DIRECTIVE_STDINT_H
  797: NEXT_STDINT_H
  798: HAVE_SYS_TYPES_H
  799: HAVE_INTTYPES_H
  800: HAVE_WCHAR_H
  801: HAVE_UNSIGNED_LONG_LONG_INT
  802: HAVE_LONG_LONG_INT
  803: GNULIB_OVERRIDES_WINT_T
  804: NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
  805: NEXT_STDDEF_H
  806: GL_GENERATE_STDDEF_H_FALSE
  807: GL_GENERATE_STDDEF_H_TRUE
  808: STDDEF_H
  809: HAVE_MAX_ALIGN_T
  810: REPLACE_NULL
  811: HAVE__BOOL
  812: GL_GENERATE_STDBOOL_H_FALSE
  813: GL_GENERATE_STDBOOL_H_TRUE
  814: STDBOOL_H
  815: WINDOWS_64_BIT_ST_SIZE
  816: WINDOWS_STAT_TIMESPEC
  817: NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
  818: NEXT_SYS_STAT_H
  819: ASM_SYMBOL_PREFIX
  820: REPLACE_VSPRINTF
  821: REPLACE_VSNPRINTF
  822: REPLACE_VPRINTF
  823: REPLACE_VFPRINTF
  824: REPLACE_VDPRINTF
  825: REPLACE_VASPRINTF
  826: REPLACE_TMPFILE
  827: REPLACE_STDIO_WRITE_FUNCS
  828: REPLACE_STDIO_READ_FUNCS
  829: REPLACE_SPRINTF
  830: REPLACE_SNPRINTF
  831: REPLACE_RENAMEAT
  832: REPLACE_RENAME
  833: REPLACE_REMOVE
  834: REPLACE_PRINTF
  835: REPLACE_POPEN
  836: REPLACE_PERROR
  837: REPLACE_OBSTACK_PRINTF
  838: REPLACE_GETLINE
  839: REPLACE_GETDELIM
  840: REPLACE_FTELLO
  841: REPLACE_FTELL
  842: REPLACE_FSEEKO
  843: REPLACE_FSEEK
  844: REPLACE_FREOPEN
  845: REPLACE_FPURGE
  846: REPLACE_FPRINTF
  847: REPLACE_FOPEN
  848: REPLACE_FFLUSH
  849: REPLACE_FDOPEN
  850: REPLACE_FCLOSE
  851: REPLACE_DPRINTF
  852: HAVE_VDPRINTF
  853: HAVE_VASPRINTF
  854: HAVE_RENAMEAT
  855: HAVE_POPEN
  856: HAVE_PCLOSE
  857: HAVE_FTELLO
  858: HAVE_FSEEKO
  859: HAVE_DPRINTF
  860: HAVE_DECL_VSNPRINTF
  861: HAVE_DECL_SNPRINTF
  862: HAVE_DECL_OBSTACK_PRINTF
  863: HAVE_DECL_GETLINE
  864: HAVE_DECL_GETDELIM
  865: HAVE_DECL_FTELLO
  866: HAVE_DECL_FSEEKO
  867: HAVE_DECL_FPURGE
  868: GNULIB_VSPRINTF_POSIX
  869: GNULIB_VSNPRINTF
  870: GNULIB_VPRINTF_POSIX
  871: GNULIB_VPRINTF
  872: GNULIB_VFPRINTF_POSIX
  873: GNULIB_VFPRINTF
  874: GNULIB_VDPRINTF
  875: GNULIB_VSCANF
  876: GNULIB_VFSCANF
  877: GNULIB_VASPRINTF
  878: GNULIB_TMPFILE
  879: GNULIB_STDIO_H_SIGPIPE
  880: GNULIB_STDIO_H_NONBLOCKING
  881: GNULIB_SPRINTF_POSIX
  882: GNULIB_SNPRINTF
  883: GNULIB_SCANF
  884: GNULIB_RENAMEAT
  885: GNULIB_RENAME
  886: GNULIB_REMOVE
  887: GNULIB_PUTS
  888: GNULIB_PUTCHAR
  889: GNULIB_PUTC
  890: GNULIB_PRINTF_POSIX
  891: GNULIB_PRINTF
  892: GNULIB_POPEN
  893: GNULIB_PERROR
  894: GNULIB_PCLOSE
  895: GNULIB_OBSTACK_PRINTF_POSIX
  896: GNULIB_OBSTACK_PRINTF
  897: GNULIB_GETLINE
  898: GNULIB_GETDELIM
  899: GNULIB_GETCHAR
  900: GNULIB_GETC
  901: GNULIB_FWRITE
  902: GNULIB_FTELLO
  903: GNULIB_FTELL
  904: GNULIB_FSEEKO
  905: GNULIB_FSEEK
  906: GNULIB_FSCANF
  907: GNULIB_FREOPEN
  908: GNULIB_FREAD
  909: GNULIB_FPUTS
  910: GNULIB_FPUTC
  911: GNULIB_FPURGE
  912: GNULIB_FPRINTF_POSIX
  913: GNULIB_FPRINTF
  914: GNULIB_FOPEN
  915: GNULIB_FGETS
  916: GNULIB_FGETC
  917: GNULIB_FFLUSH
  918: GNULIB_FDOPEN
  919: GNULIB_FCLOSE
  920: GNULIB_DPRINTF
  921: NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
  922: NEXT_SIGNAL_H
  923: REPLACE_RAISE
  924: REPLACE_PTHREAD_SIGMASK
  925: HAVE_SIGHANDLER_T
  926: HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
  927: HAVE_STRUCT_SIGACTION_SA_SIGACTION
  928: HAVE_SIGACTION
  929: HAVE_SIGINFO_T
  930: HAVE_SIGSET_T
  931: HAVE_RAISE
  932: HAVE_PTHREAD_SIGMASK
  933: HAVE_POSIX_SIGNALBLOCKING
  934: GNULIB_SIGACTION
  935: GNULIB_SIGPROCMASK
  936: GNULIB_SIGNAL_H_SIGPIPE
  937: GNULIB_RAISE
  938: GNULIB_PTHREAD_SIGMASK
  939: APPLE_UNIVERSAL_BUILD
  940: HAVE_MSVC_INVALID_PARAMETER_HANDLER
  941: REPLACE_UTIMENSAT
  942: REPLACE_STAT
  943: REPLACE_MKNOD
  944: REPLACE_MKFIFO
  945: REPLACE_MKDIR
  946: REPLACE_LSTAT
  947: REPLACE_FUTIMENS
  948: REPLACE_FSTATAT
  949: REPLACE_FSTAT
  950: HAVE_UTIMENSAT
  951: HAVE_MKNODAT
  952: HAVE_MKNOD
  953: HAVE_MKFIFOAT
  954: HAVE_MKFIFO
  955: HAVE_MKDIRAT
  956: HAVE_LSTAT
  957: HAVE_LCHMOD
  958: HAVE_FUTIMENS
  959: HAVE_FSTATAT
  960: HAVE_FCHMODAT
  961: GNULIB_OVERRIDES_STRUCT_STAT
  962: GNULIB_UTIMENSAT
  963: GNULIB_STAT
  964: GNULIB_MKNODAT
  965: GNULIB_MKNOD
  966: GNULIB_MKFIFOAT
  967: GNULIB_MKFIFO
  968: GNULIB_MKDIRAT
  969: GNULIB_LSTAT
  970: GNULIB_LCHMOD
  971: GNULIB_FUTIMENS
  972: GNULIB_FSTATAT
  973: GNULIB_FSTAT
  974: GNULIB_FCHMODAT
  975: GL_GENERATE_LIMITS_H_FALSE
  976: GL_GENERATE_LIMITS_H_TRUE
  977: LIMITS_H
  978: NEXT_AS_FIRST_DIRECTIVE_LIMITS_H
  979: NEXT_LIMITS_H
  980: NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
  981: NEXT_FCNTL_H
  982: REPLACE_OPENAT
  983: REPLACE_OPEN
  984: REPLACE_FCNTL
  985: HAVE_OPENAT
  986: HAVE_FCNTL
  987: GNULIB_OPENAT
  988: GNULIB_OPEN
  989: GNULIB_NONBLOCKING
  990: GNULIB_FCNTL
  991: EOVERFLOW_VALUE
  992: EOVERFLOW_HIDDEN
  993: ENOLINK_VALUE
  994: ENOLINK_HIDDEN
  995: EMULTIHOP_VALUE
  996: EMULTIHOP_HIDDEN
  997: GL_GENERATE_ERRNO_H_FALSE
  998: GL_GENERATE_ERRNO_H_TRUE
  999: ERRNO_H
 1000: NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
 1001: NEXT_ERRNO_H
 1002: PRAGMA_COLUMNS
 1003: PRAGMA_SYSTEM_HEADER
 1004: INCLUDE_NEXT_AS_FIRST_DIRECTIVE
 1005: INCLUDE_NEXT
 1006: UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
 1007: UNISTD_H_HAVE_WINSOCK2_H
 1008: REPLACE_WRITE
 1009: REPLACE_USLEEP
 1010: REPLACE_UNLINKAT
 1011: REPLACE_UNLINK
 1012: REPLACE_TTYNAME_R
 1013: REPLACE_TRUNCATE
 1014: REPLACE_SYMLINKAT
 1015: REPLACE_SYMLINK
 1016: REPLACE_SLEEP
 1017: REPLACE_RMDIR
 1018: REPLACE_READLINKAT
 1019: REPLACE_READLINK
 1020: REPLACE_READ
 1021: REPLACE_PWRITE
 1022: REPLACE_PREAD
 1023: REPLACE_LSEEK
 1024: REPLACE_LINKAT
 1025: REPLACE_LINK
 1026: REPLACE_LCHOWN
 1027: REPLACE_ISATTY
 1028: REPLACE_GETPASS
 1029: REPLACE_GETPAGESIZE
 1030: REPLACE_GETGROUPS
 1031: REPLACE_GETLOGIN_R
 1032: REPLACE_GETDTABLESIZE
 1033: REPLACE_GETDOMAINNAME
 1034: REPLACE_GETCWD
 1035: REPLACE_FTRUNCATE
 1036: REPLACE_FCHOWNAT
 1037: REPLACE_FACCESSAT
 1038: REPLACE_DUP2
 1039: REPLACE_DUP
 1040: REPLACE_CLOSE
 1041: REPLACE_CHOWN
 1042: HAVE_SYS_PARAM_H
 1043: HAVE_OS_H
 1044: HAVE_DECL_TTYNAME_R
 1045: HAVE_DECL_TRUNCATE
 1046: HAVE_DECL_SETHOSTNAME
 1047: HAVE_DECL_GETUSERSHELL
 1048: HAVE_DECL_GETPAGESIZE
 1049: HAVE_DECL_GETLOGIN_R
 1050: HAVE_DECL_GETLOGIN
 1051: HAVE_DECL_GETDOMAINNAME
 1052: HAVE_DECL_FDATASYNC
 1053: HAVE_DECL_FCHDIR
 1054: HAVE_DECL_ENVIRON
 1055: HAVE_USLEEP
 1056: HAVE_UNLINKAT
 1057: HAVE_SYMLINKAT
 1058: HAVE_SYMLINK
 1059: HAVE_SLEEP
 1060: HAVE_SETHOSTNAME
 1061: HAVE_READLINKAT
 1062: HAVE_READLINK
 1063: HAVE_PWRITE
 1064: HAVE_PREAD
 1065: HAVE_PIPE2
 1066: HAVE_PIPE
 1067: HAVE_LINKAT
 1068: HAVE_LINK
 1069: HAVE_LCHOWN
 1070: HAVE_GROUP_MEMBER
 1071: HAVE_GETPASS
 1072: HAVE_GETPAGESIZE
 1073: HAVE_GETLOGIN
 1074: HAVE_GETHOSTNAME
 1075: HAVE_GETGROUPS
 1076: HAVE_GETDTABLESIZE
 1077: HAVE_FTRUNCATE
 1078: HAVE_FSYNC
 1079: HAVE_FDATASYNC
 1080: HAVE_FCHOWNAT
 1081: HAVE_FCHDIR
 1082: HAVE_FACCESSAT
 1083: HAVE_EUIDACCESS
 1084: HAVE_DUP3
 1085: HAVE_DUP2
 1086: HAVE_CHOWN
 1087: GNULIB_WRITE
 1088: GNULIB_USLEEP
 1089: GNULIB_UNLINKAT
 1090: GNULIB_UNLINK
 1091: GNULIB_UNISTD_H_SIGPIPE
 1092: GNULIB_UNISTD_H_NONBLOCKING
 1093: GNULIB_TTYNAME_R
 1094: GNULIB_TRUNCATE
 1095: GNULIB_SYMLINKAT
 1096: GNULIB_SYMLINK
 1097: GNULIB_SLEEP
 1098: GNULIB_SETHOSTNAME
 1099: GNULIB_RMDIR
 1100: GNULIB_READLINKAT
 1101: GNULIB_READLINK
 1102: GNULIB_READ
 1103: GNULIB_PWRITE
 1104: GNULIB_PREAD
 1105: GNULIB_PIPE2
 1106: GNULIB_PIPE
 1107: GNULIB_LSEEK
 1108: GNULIB_LINKAT
 1109: GNULIB_LINK
 1110: GNULIB_LCHOWN
 1111: GNULIB_ISATTY
 1112: GNULIB_GROUP_MEMBER
 1113: GNULIB_GETUSERSHELL
 1114: GNULIB_GETPASS
 1115: GNULIB_GETPAGESIZE
 1116: GNULIB_GETLOGIN_R
 1117: GNULIB_GETLOGIN
 1118: GNULIB_GETHOSTNAME
 1119: GNULIB_GETGROUPS
 1120: GNULIB_GETDTABLESIZE
 1121: GNULIB_GETDOMAINNAME
 1122: GNULIB_GETCWD
 1123: GNULIB_FTRUNCATE
 1124: GNULIB_FSYNC
 1125: GNULIB_FDATASYNC
 1126: GNULIB_FCHOWNAT
 1127: GNULIB_FCHDIR
 1128: GNULIB_FACCESSAT
 1129: GNULIB_EUIDACCESS
 1130: GNULIB_ENVIRON
 1131: GNULIB_DUP3
 1132: GNULIB_DUP2
 1133: GNULIB_DUP
 1134: GNULIB_CLOSE
 1135: GNULIB_CHOWN
 1136: GNULIB_CHDIR
 1137: REPLACE_WCTOMB
 1138: REPLACE_UNSETENV
 1139: REPLACE_STRTOLD
 1140: REPLACE_STRTOD
 1141: REPLACE_SETSTATE
 1142: REPLACE_SETENV
 1143: REPLACE_REALPATH
 1144: REPLACE_REALLOC
 1145: REPLACE_RANDOM_R
 1146: REPLACE_RANDOM
 1147: REPLACE_QSORT_R
 1148: REPLACE_PUTENV
 1149: REPLACE_PTSNAME_R
 1150: REPLACE_PTSNAME
 1151: REPLACE_MKSTEMP
 1152: REPLACE_MBTOWC
 1153: REPLACE_MALLOC
 1154: REPLACE_INITSTATE
 1155: REPLACE_CANONICALIZE_FILE_NAME
 1156: REPLACE_CALLOC
 1157: HAVE_DECL_UNSETENV
 1158: HAVE_UNLOCKPT
 1159: HAVE_SYS_LOADAVG_H
 1160: HAVE_STRUCT_RANDOM_DATA
 1161: HAVE_STRTOULL
 1162: HAVE_STRTOLL
 1163: HAVE_STRTOLD
 1164: HAVE_STRTOD
 1165: HAVE_DECL_SETSTATE
 1166: HAVE_SETSTATE
 1167: HAVE_DECL_SETENV
 1168: HAVE_SETENV
 1169: HAVE_SECURE_GETENV
 1170: HAVE_RPMATCH
 1171: HAVE_REALPATH
 1172: HAVE_REALLOCARRAY
 1173: HAVE_RANDOM_R
 1174: HAVE_RANDOM_H
 1175: HAVE_RANDOM
 1176: HAVE_QSORT_R
 1177: HAVE_PTSNAME_R
 1178: HAVE_PTSNAME
 1179: HAVE_POSIX_OPENPT
 1180: HAVE_MKSTEMPS
 1181: HAVE_MKSTEMP
 1182: HAVE_MKOSTEMPS
 1183: HAVE_MKOSTEMP
 1184: HAVE_MKDTEMP
 1185: HAVE_MBTOWC
 1186: HAVE_DECL_INITSTATE
 1187: HAVE_INITSTATE
 1188: HAVE_GRANTPT
 1189: HAVE_GETSUBOPT
 1190: HAVE_DECL_GETLOADAVG
 1191: HAVE_CANONICALIZE_FILE_NAME
 1192: HAVE_ATOLL
 1193: HAVE__EXIT
 1194: GNULIB_WCTOMB
 1195: GNULIB_UNSETENV
 1196: GNULIB_UNLOCKPT
 1197: GNULIB_SYSTEM_POSIX
 1198: GNULIB_STRTOULL
 1199: GNULIB_STRTOLL
 1200: GNULIB_STRTOLD
 1201: GNULIB_STRTOD
 1202: GNULIB_SETENV
 1203: GNULIB_SECURE_GETENV
 1204: GNULIB_RPMATCH
 1205: GNULIB_REALPATH
 1206: GNULIB_REALLOC_POSIX
 1207: GNULIB_REALLOCARRAY
 1208: GNULIB_RANDOM_R
 1209: GNULIB_RANDOM
 1210: GNULIB_QSORT_R
 1211: GNULIB_PUTENV
 1212: GNULIB_PTSNAME_R
 1213: GNULIB_PTSNAME
 1214: GNULIB_POSIX_OPENPT
 1215: GNULIB_MKSTEMPS
 1216: GNULIB_MKSTEMP
 1217: GNULIB_MKOSTEMPS
 1218: GNULIB_MKOSTEMP
 1219: GNULIB_MKDTEMP
 1220: GNULIB_MBTOWC
 1221: GNULIB_MALLOC_POSIX
 1222: GNULIB_GRANTPT
 1223: GNULIB_GETSUBOPT
 1224: GNULIB_GETLOADAVG
 1225: GNULIB_CANONICALIZE_FILE_NAME
 1226: GNULIB_CALLOC_POSIX
 1227: GNULIB_ATOLL
 1228: GNULIB__EXIT
 1229: GL_GENERATE_ALLOCA_H_FALSE
 1230: GL_GENERATE_ALLOCA_H_TRUE
 1231: ALLOCA_H
 1232: ALLOCA
 1233: GL_COND_LIBTOOL_FALSE
 1234: GL_COND_LIBTOOL_TRUE
 1235: EILSEQ
 1236: BROKEN_WCHAR_H
 1237: USE_MBSTATE_T
 1238: HAVE_WCHAR_T
 1239: ICONV_CONST
 1240: POSUB
 1241: LTLIBINTL
 1242: LIBINTL
 1243: INTLLIBS
 1244: INTL_MACOSX_LIBS
 1245: XGETTEXT_EXTRA_OPTIONS
 1246: MSGMERGE
 1247: XGETTEXT_015
 1248: XGETTEXT
 1249: GMSGFMT_015
 1250: MSGFMT_015
 1251: GMSGFMT
 1252: MSGFMT
 1253: GETTEXT_MACRO_VERSION
 1254: USE_NLS
 1255: LTLIBICONV
 1256: LIBICONV
 1257: HAVE_VISIBILITY
 1258: CFLAG_VISIBILITY
 1259: WINDRES
 1260: WOE32
 1261: RC
 1262: LN
 1263: CP
 1264: USE_EXTRA_ENCODINGS
 1265: RELOCATABLE_STRIP
 1266: RELOCATABLE_BUILD_DIR
 1267: RELOCATABLE_SRC_DIR
 1268: RELOCATABLE_CONFIG_H_DIR
 1269: RELOCATABLE_LIBRARY_PATH
 1270: RELOCATABLE_VIA_WRAPPER_FALSE
 1271: RELOCATABLE_VIA_WRAPPER_TRUE
 1272: RELOCATABLE_VIA_LD_FALSE
 1273: RELOCATABLE_VIA_LD_TRUE
 1274: INSTALL_PROGRAM_ENV
 1275: RELOCATABLE_LDFLAGS
 1276: RELOCATABLE
 1277: LT_SYS_LIBRARY_PATH
 1278: OTOOL64
 1279: OTOOL
 1280: LIPO
 1281: NMEDIT
 1282: DSYMUTIL
 1283: MANIFEST_TOOL
 1284: ac_ct_AR
 1285: LN_S
 1286: NM
 1287: ac_ct_DUMPBIN
 1288: DUMPBIN
 1289: LD
 1290: FGREP
 1291: SED
 1292: LIBTOOL
 1293: OBJDUMP
 1294: DLLTOOL
 1295: AS
 1296: RANLIB
 1297: ARFLAGS
 1298: AR
 1299: EGREP
 1300: GREP
 1301: host_os
 1302: host_vendor
 1303: host_cpu
 1304: host
 1305: build_os
 1306: build_vendor
 1307: build_cpu
 1308: build
 1309: CPP
 1310: am__fastdepCC_FALSE
 1311: am__fastdepCC_TRUE
 1312: CCDEPMODE
 1313: am__nodep
 1314: AMDEPBACKSLASH
 1315: AMDEP_FALSE
 1316: AMDEP_TRUE
 1317: am__include
 1318: DEPDIR
 1319: OBJEXT
 1320: EXEEXT
 1321: ac_ct_CC
 1322: CPPFLAGS
 1323: LDFLAGS
 1324: CFLAGS
 1325: CC
 1326: AM_BACKSLASH
 1327: AM_DEFAULT_VERBOSITY
 1328: AM_DEFAULT_V
 1329: AM_V
 1330: am__untar
 1331: am__tar
 1332: AMTAR
 1333: am__leading_dot
 1334: SET_MAKE
 1335: AWK
 1336: mkdir_p
 1337: MKDIR_P
 1338: INSTALL_STRIP_PROGRAM
 1339: STRIP
 1340: install_sh
 1341: MAKEINFO
 1342: AUTOHEADER
 1343: AUTOMAKE
 1344: AUTOCONF
 1345: ACLOCAL
 1346: VERSION
 1347: PACKAGE
 1348: CYGPATH_W
 1349: am__isrc
 1350: INSTALL_DATA
 1351: INSTALL_SCRIPT
 1352: INSTALL_PROGRAM
 1353: target_alias
 1354: host_alias
 1355: build_alias
 1356: LIBS
 1357: ECHO_T
 1358: ECHO_N
 1359: ECHO_C
 1360: DEFS
 1361: mandir
 1362: localedir
 1363: libdir
 1364: psdir
 1365: pdfdir
 1366: dvidir
 1367: htmldir
 1368: infodir
 1369: docdir
 1370: oldincludedir
 1371: includedir
 1372: localstatedir
 1373: sharedstatedir
 1374: sysconfdir
 1375: datadir
 1376: datarootdir
 1377: libexecdir
 1378: sbindir
 1379: bindir
 1380: program_transform_name
 1381: prefix
 1382: exec_prefix
 1383: PACKAGE_URL
 1384: PACKAGE_BUGREPORT
 1385: PACKAGE_STRING
 1386: PACKAGE_VERSION
 1387: PACKAGE_TARNAME
 1388: PACKAGE_NAME
 1389: PATH_SEPARATOR
 1390: SHELL
 1391: am__quote'
 1392: ac_subst_files=''
 1393: ac_user_opts='
 1394: enable_option_checking
 1395: enable_silent_rules
 1396: enable_dependency_tracking
 1397: enable_largefile
 1398: enable_static
 1399: enable_shared
 1400: with_pic
 1401: enable_fast_install
 1402: with_aix_soname
 1403: with_gnu_ld
 1404: with_sysroot
 1405: enable_libtool_lock
 1406: enable_relocatable
 1407: enable_extra_encodings
 1408: enable_rpath
 1409: with_libiconv_prefix
 1410: enable_nls
 1411: with_libintl_prefix
 1412: '
 1413:       ac_precious_vars='build_alias
 1414: host_alias
 1415: target_alias
 1416: CC
 1417: CFLAGS
 1418: LDFLAGS
 1419: LIBS
 1420: CPPFLAGS
 1421: CPP
 1422: LT_SYS_LIBRARY_PATH'
 1423: ac_subdirs_all='libcharset'
 1424: 
 1425: # Initialize some variables set by options.
 1426: ac_init_help=
 1427: ac_init_version=false
 1428: ac_unrecognized_opts=
 1429: ac_unrecognized_sep=
 1430: # The variables have the same names as the options, with
 1431: # dashes changed to underlines.
 1432: cache_file=/dev/null
 1433: exec_prefix=NONE
 1434: no_create=
 1435: no_recursion=
 1436: prefix=NONE
 1437: program_prefix=NONE
 1438: program_suffix=NONE
 1439: program_transform_name=s,x,x,
 1440: silent=
 1441: site=
 1442: srcdir=
 1443: verbose=
 1444: x_includes=NONE
 1445: x_libraries=NONE
 1446: 
 1447: # Installation directory options.
 1448: # These are left unexpanded so users can "make install exec_prefix=/foo"
 1449: # and all the variables that are supposed to be based on exec_prefix
 1450: # by default will actually change.
 1451: # Use braces instead of parens because sh, perl, etc. also accept them.
 1452: # (The list follows the same order as the GNU Coding Standards.)
 1453: bindir='${exec_prefix}/bin'
 1454: sbindir='${exec_prefix}/sbin'
 1455: libexecdir='${exec_prefix}/libexec'
 1456: datarootdir='${prefix}/share'
 1457: datadir='${datarootdir}'
 1458: sysconfdir='${prefix}/etc'
 1459: sharedstatedir='${prefix}/com'
 1460: localstatedir='${prefix}/var'
 1461: includedir='${prefix}/include'
 1462: oldincludedir='/usr/include'
 1463: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 1464: infodir='${datarootdir}/info'
 1465: htmldir='${docdir}'
 1466: dvidir='${docdir}'
 1467: pdfdir='${docdir}'
 1468: psdir='${docdir}'
 1469: libdir='${exec_prefix}/lib'
 1470: localedir='${datarootdir}/locale'
 1471: mandir='${datarootdir}/man'
 1472: 
 1473: ac_prev=
 1474: ac_dashdash=
 1475: for ac_option
 1476: do
 1477:   # If the previous option needs an argument, assign it.
 1478:   if test -n "$ac_prev"; then
 1479:     eval $ac_prev=\$ac_option
 1480:     ac_prev=
 1481:     continue
 1482:   fi
 1483: 
 1484:   case $ac_option in
 1485:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 1486:   *=)   ac_optarg= ;;
 1487:   *)    ac_optarg=yes ;;
 1488:   esac
 1489: 
 1490:   # Accept the important Cygnus configure options, so we can diagnose typos.
 1491: 
 1492:   case $ac_dashdash$ac_option in
 1493:   --)
 1494:     ac_dashdash=yes ;;
 1495: 
 1496:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 1497:     ac_prev=bindir ;;
 1498:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 1499:     bindir=$ac_optarg ;;
 1500: 
 1501:   -build | --build | --buil | --bui | --bu)
 1502:     ac_prev=build_alias ;;
 1503:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 1504:     build_alias=$ac_optarg ;;
 1505: 
 1506:   -cache-file | --cache-file | --cache-fil | --cache-fi \
 1507:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 1508:     ac_prev=cache_file ;;
 1509:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1510:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1511:     cache_file=$ac_optarg ;;
 1512: 
 1513:   --config-cache | -C)
 1514:     cache_file=config.cache ;;
 1515: 
 1516:   -datadir | --datadir | --datadi | --datad)
 1517:     ac_prev=datadir ;;
 1518:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1519:     datadir=$ac_optarg ;;
 1520: 
 1521:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1522:   | --dataroo | --dataro | --datar)
 1523:     ac_prev=datarootdir ;;
 1524:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1525:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1526:     datarootdir=$ac_optarg ;;
 1527: 
 1528:   -disable-* | --disable-*)
 1529:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1530:     # Reject names that are not valid shell variable names.
 1531:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1532:       as_fn_error $? "invalid feature name: $ac_useropt"
 1533:     ac_useropt_orig=$ac_useropt
 1534:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1535:     case $ac_user_opts in
 1536:       *"
 1537: "enable_$ac_useropt"
 1538: "*) ;;
 1539:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 1540: 	 ac_unrecognized_sep=', ';;
 1541:     esac
 1542:     eval enable_$ac_useropt=no ;;
 1543: 
 1544:   -docdir | --docdir | --docdi | --doc | --do)
 1545:     ac_prev=docdir ;;
 1546:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1547:     docdir=$ac_optarg ;;
 1548: 
 1549:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1550:     ac_prev=dvidir ;;
 1551:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1552:     dvidir=$ac_optarg ;;
 1553: 
 1554:   -enable-* | --enable-*)
 1555:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1556:     # Reject names that are not valid shell variable names.
 1557:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1558:       as_fn_error $? "invalid feature name: $ac_useropt"
 1559:     ac_useropt_orig=$ac_useropt
 1560:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1561:     case $ac_user_opts in
 1562:       *"
 1563: "enable_$ac_useropt"
 1564: "*) ;;
 1565:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 1566: 	 ac_unrecognized_sep=', ';;
 1567:     esac
 1568:     eval enable_$ac_useropt=\$ac_optarg ;;
 1569: 
 1570:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1571:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1572:   | --exec | --exe | --ex)
 1573:     ac_prev=exec_prefix ;;
 1574:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1575:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1576:   | --exec=* | --exe=* | --ex=*)
 1577:     exec_prefix=$ac_optarg ;;
 1578: 
 1579:   -gas | --gas | --ga | --g)
 1580:     # Obsolete; use --with-gas.
 1581:     with_gas=yes ;;
 1582: 
 1583:   -help | --help | --hel | --he | -h)
 1584:     ac_init_help=long ;;
 1585:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1586:     ac_init_help=recursive ;;
 1587:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1588:     ac_init_help=short ;;
 1589: 
 1590:   -host | --host | --hos | --ho)
 1591:     ac_prev=host_alias ;;
 1592:   -host=* | --host=* | --hos=* | --ho=*)
 1593:     host_alias=$ac_optarg ;;
 1594: 
 1595:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1596:     ac_prev=htmldir ;;
 1597:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1598:   | --ht=*)
 1599:     htmldir=$ac_optarg ;;
 1600: 
 1601:   -includedir | --includedir | --includedi | --included | --include \
 1602:   | --includ | --inclu | --incl | --inc)
 1603:     ac_prev=includedir ;;
 1604:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1605:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1606:     includedir=$ac_optarg ;;
 1607: 
 1608:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1609:     ac_prev=infodir ;;
 1610:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1611:     infodir=$ac_optarg ;;
 1612: 
 1613:   -libdir | --libdir | --libdi | --libd)
 1614:     ac_prev=libdir ;;
 1615:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1616:     libdir=$ac_optarg ;;
 1617: 
 1618:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1619:   | --libexe | --libex | --libe)
 1620:     ac_prev=libexecdir ;;
 1621:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1622:   | --libexe=* | --libex=* | --libe=*)
 1623:     libexecdir=$ac_optarg ;;
 1624: 
 1625:   -localedir | --localedir | --localedi | --localed | --locale)
 1626:     ac_prev=localedir ;;
 1627:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1628:     localedir=$ac_optarg ;;
 1629: 
 1630:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1631:   | --localstate | --localstat | --localsta | --localst | --locals)
 1632:     ac_prev=localstatedir ;;
 1633:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1634:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1635:     localstatedir=$ac_optarg ;;
 1636: 
 1637:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1638:     ac_prev=mandir ;;
 1639:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1640:     mandir=$ac_optarg ;;
 1641: 
 1642:   -nfp | --nfp | --nf)
 1643:     # Obsolete; use --without-fp.
 1644:     with_fp=no ;;
 1645: 
 1646:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1647:   | --no-cr | --no-c | -n)
 1648:     no_create=yes ;;
 1649: 
 1650:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1651:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1652:     no_recursion=yes ;;
 1653: 
 1654:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1655:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1656:   | --oldin | --oldi | --old | --ol | --o)
 1657:     ac_prev=oldincludedir ;;
 1658:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1659:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1660:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1661:     oldincludedir=$ac_optarg ;;
 1662: 
 1663:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1664:     ac_prev=prefix ;;
 1665:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1666:     prefix=$ac_optarg ;;
 1667: 
 1668:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1669:   | --program-pre | --program-pr | --program-p)
 1670:     ac_prev=program_prefix ;;
 1671:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1672:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1673:     program_prefix=$ac_optarg ;;
 1674: 
 1675:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1676:   | --program-suf | --program-su | --program-s)
 1677:     ac_prev=program_suffix ;;
 1678:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1679:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1680:     program_suffix=$ac_optarg ;;
 1681: 
 1682:   -program-transform-name | --program-transform-name \
 1683:   | --program-transform-nam | --program-transform-na \
 1684:   | --program-transform-n | --program-transform- \
 1685:   | --program-transform | --program-transfor \
 1686:   | --program-transfo | --program-transf \
 1687:   | --program-trans | --program-tran \
 1688:   | --progr-tra | --program-tr | --program-t)
 1689:     ac_prev=program_transform_name ;;
 1690:   -program-transform-name=* | --program-transform-name=* \
 1691:   | --program-transform-nam=* | --program-transform-na=* \
 1692:   | --program-transform-n=* | --program-transform-=* \
 1693:   | --program-transform=* | --program-transfor=* \
 1694:   | --program-transfo=* | --program-transf=* \
 1695:   | --program-trans=* | --program-tran=* \
 1696:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1697:     program_transform_name=$ac_optarg ;;
 1698: 
 1699:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1700:     ac_prev=pdfdir ;;
 1701:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1702:     pdfdir=$ac_optarg ;;
 1703: 
 1704:   -psdir | --psdir | --psdi | --psd | --ps)
 1705:     ac_prev=psdir ;;
 1706:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1707:     psdir=$ac_optarg ;;
 1708: 
 1709:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1710:   | -silent | --silent | --silen | --sile | --sil)
 1711:     silent=yes ;;
 1712: 
 1713:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1714:     ac_prev=sbindir ;;
 1715:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1716:   | --sbi=* | --sb=*)
 1717:     sbindir=$ac_optarg ;;
 1718: 
 1719:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1720:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1721:   | --sharedst | --shareds | --shared | --share | --shar \
 1722:   | --sha | --sh)
 1723:     ac_prev=sharedstatedir ;;
 1724:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1725:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1726:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1727:   | --sha=* | --sh=*)
 1728:     sharedstatedir=$ac_optarg ;;
 1729: 
 1730:   -site | --site | --sit)
 1731:     ac_prev=site ;;
 1732:   -site=* | --site=* | --sit=*)
 1733:     site=$ac_optarg ;;
 1734: 
 1735:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1736:     ac_prev=srcdir ;;
 1737:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1738:     srcdir=$ac_optarg ;;
 1739: 
 1740:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1741:   | --syscon | --sysco | --sysc | --sys | --sy)
 1742:     ac_prev=sysconfdir ;;
 1743:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1744:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1745:     sysconfdir=$ac_optarg ;;
 1746: 
 1747:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1748:     ac_prev=target_alias ;;
 1749:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1750:     target_alias=$ac_optarg ;;
 1751: 
 1752:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1753:     verbose=yes ;;
 1754: 
 1755:   -version | --version | --versio | --versi | --vers | -V)
 1756:     ac_init_version=: ;;
 1757: 
 1758:   -with-* | --with-*)
 1759:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1760:     # Reject names that are not valid shell variable names.
 1761:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1762:       as_fn_error $? "invalid package name: $ac_useropt"
 1763:     ac_useropt_orig=$ac_useropt
 1764:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1765:     case $ac_user_opts in
 1766:       *"
 1767: "with_$ac_useropt"
 1768: "*) ;;
 1769:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1770: 	 ac_unrecognized_sep=', ';;
 1771:     esac
 1772:     eval with_$ac_useropt=\$ac_optarg ;;
 1773: 
 1774:   -without-* | --without-*)
 1775:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1776:     # Reject names that are not valid shell variable names.
 1777:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1778:       as_fn_error $? "invalid package name: $ac_useropt"
 1779:     ac_useropt_orig=$ac_useropt
 1780:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1781:     case $ac_user_opts in
 1782:       *"
 1783: "with_$ac_useropt"
 1784: "*) ;;
 1785:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1786: 	 ac_unrecognized_sep=', ';;
 1787:     esac
 1788:     eval with_$ac_useropt=no ;;
 1789: 
 1790:   --x)
 1791:     # Obsolete; use --with-x.
 1792:     with_x=yes ;;
 1793: 
 1794:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1795:   | --x-incl | --x-inc | --x-in | --x-i)
 1796:     ac_prev=x_includes ;;
 1797:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1798:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1799:     x_includes=$ac_optarg ;;
 1800: 
 1801:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1802:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1803:     ac_prev=x_libraries ;;
 1804:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1805:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1806:     x_libraries=$ac_optarg ;;
 1807: 
 1808:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1809: Try \`$0 --help' for more information"
 1810:     ;;
 1811: 
 1812:   *=*)
 1813:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1814:     # Reject names that are not valid shell variable names.
 1815:     case $ac_envvar in #(
 1816:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1817:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1818:     esac
 1819:     eval $ac_envvar=\$ac_optarg
 1820:     export $ac_envvar ;;
 1821: 
 1822:   *)
 1823:     # FIXME: should be removed in autoconf 3.0.
 1824:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1825:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1826:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1827:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1828:     ;;
 1829: 
 1830:   esac
 1831: done
 1832: 
 1833: if test -n "$ac_prev"; then
 1834:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1835:   as_fn_error $? "missing argument to $ac_option"
 1836: fi
 1837: 
 1838: if test -n "$ac_unrecognized_opts"; then
 1839:   case $enable_option_checking in
 1840:     no) ;;
 1841:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1842:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1843:   esac
 1844: fi
 1845: 
 1846: # Check all directory arguments for consistency.
 1847: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1848: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1849: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1850: 		libdir localedir mandir
 1851: do
 1852:   eval ac_val=\$$ac_var
 1853:   # Remove trailing slashes.
 1854:   case $ac_val in
 1855:     */ )
 1856:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1857:       eval $ac_var=\$ac_val;;
 1858:   esac
 1859:   # Be sure to have absolute directory names.
 1860:   case $ac_val in
 1861:     [\\/$]* | ?:[\\/]* )  continue;;
 1862:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1863:   esac
 1864:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1865: done
 1866: 
 1867: # There might be people who depend on the old broken behavior: `$host'
 1868: # used to hold the argument of --host etc.
 1869: # FIXME: To remove some day.
 1870: build=$build_alias
 1871: host=$host_alias
 1872: target=$target_alias
 1873: 
 1874: # FIXME: To remove some day.
 1875: if test "x$host_alias" != x; then
 1876:   if test "x$build_alias" = x; then
 1877:     cross_compiling=maybe
 1878:   elif test "x$build_alias" != "x$host_alias"; then
 1879:     cross_compiling=yes
 1880:   fi
 1881: fi
 1882: 
 1883: ac_tool_prefix=
 1884: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1885: 
 1886: test "$silent" = yes && exec 6>/dev/null
 1887: 
 1888: 
 1889: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1890: ac_ls_di=`ls -di .` &&
 1891: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1892:   as_fn_error $? "working directory cannot be determined"
 1893: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1894:   as_fn_error $? "pwd does not report name of working directory"
 1895: 
 1896: 
 1897: # Find the source files, if location was not specified.
 1898: if test -z "$srcdir"; then
 1899:   ac_srcdir_defaulted=yes
 1900:   # Try the directory containing this script, then the parent directory.
 1901:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1902: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1903: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1904: 	 X"$as_myself" : 'X\(//\)$' \| \
 1905: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1906: $as_echo X"$as_myself" |
 1907:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1908: 	    s//\1/
 1909: 	    q
 1910: 	  }
 1911: 	  /^X\(\/\/\)[^/].*/{
 1912: 	    s//\1/
 1913: 	    q
 1914: 	  }
 1915: 	  /^X\(\/\/\)$/{
 1916: 	    s//\1/
 1917: 	    q
 1918: 	  }
 1919: 	  /^X\(\/\).*/{
 1920: 	    s//\1/
 1921: 	    q
 1922: 	  }
 1923: 	  s/.*/./; q'`
 1924:   srcdir=$ac_confdir
 1925:   if test ! -r "$srcdir/$ac_unique_file"; then
 1926:     srcdir=..
 1927:   fi
 1928: else
 1929:   ac_srcdir_defaulted=no
 1930: fi
 1931: if test ! -r "$srcdir/$ac_unique_file"; then
 1932:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1933:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1934: fi
 1935: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1936: ac_abs_confdir=`(
 1937: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1938: 	pwd)`
 1939: # When building in place, set srcdir=.
 1940: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1941:   srcdir=.
 1942: fi
 1943: # Remove unnecessary trailing slashes from srcdir.
 1944: # Double slashes in file names in object file debugging info
 1945: # mess up M-x gdb in Emacs.
 1946: case $srcdir in
 1947: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1948: esac
 1949: for ac_var in $ac_precious_vars; do
 1950:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1951:   eval ac_env_${ac_var}_value=\$${ac_var}
 1952:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1953:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1954: done
 1955: 
 1956: #
 1957: # Report the --help message.
 1958: #
 1959: if test "$ac_init_help" = "long"; then
 1960:   # Omit some internal or obsolete options to make the list less imposing.
 1961:   # This message is too long to be a string in the A/UX 3.1 sh.
 1962:   cat <<_ACEOF
 1963: \`configure' configures libiconv 1.16 to adapt to many kinds of systems.
 1964: 
 1965: Usage: $0 [OPTION]... [VAR=VALUE]...
 1966: 
 1967: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1968: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1969: 
 1970: Defaults for the options are specified in brackets.
 1971: 
 1972: Configuration:
 1973:   -h, --help              display this help and exit
 1974:       --help=short        display options specific to this package
 1975:       --help=recursive    display the short help of all the included packages
 1976:   -V, --version           display version information and exit
 1977:   -q, --quiet, --silent   do not print \`checking ...' messages
 1978:       --cache-file=FILE   cache test results in FILE [disabled]
 1979:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1980:   -n, --no-create         do not create output files
 1981:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1982: 
 1983: Installation directories:
 1984:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1985:                           [$ac_default_prefix]
 1986:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1987:                           [PREFIX]
 1988: 
 1989: By default, \`make install' will install all the files in
 1990: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1991: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1992: for instance \`--prefix=\$HOME'.
 1993: 
 1994: For better control, use the options below.
 1995: 
 1996: Fine tuning of the installation directories:
 1997:   --bindir=DIR            user executables [EPREFIX/bin]
 1998:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1999:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 2000:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 2001:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 2002:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 2003:   --libdir=DIR            object code libraries [EPREFIX/lib]
 2004:   --includedir=DIR        C header files [PREFIX/include]
 2005:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 2006:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 2007:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 2008:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 2009:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 2010:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 2011:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libiconv]
 2012:   --htmldir=DIR           html documentation [DOCDIR]
 2013:   --dvidir=DIR            dvi documentation [DOCDIR]
 2014:   --pdfdir=DIR            pdf documentation [DOCDIR]
 2015:   --psdir=DIR             ps documentation [DOCDIR]
 2016: _ACEOF
 2017: 
 2018:   cat <<\_ACEOF
 2019: 
 2020: Program names:
 2021:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 2022:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 2023:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 2024: 
 2025: System types:
 2026:   --build=BUILD     configure for building on BUILD [guessed]
 2027:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 2028: _ACEOF
 2029: fi
 2030: 
 2031: if test -n "$ac_init_help"; then
 2032:   case $ac_init_help in
 2033:      short | recursive ) echo "Configuration of libiconv 1.16:";;
 2034:    esac
 2035:   cat <<\_ACEOF
 2036: 
 2037: Optional Features:
 2038:   --disable-option-checking  ignore unrecognized --enable/--with options
 2039:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 2040:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 2041:   --enable-silent-rules   less verbose build output (undo: "make V=1")
 2042:   --disable-silent-rules  verbose build output (undo: "make V=0")
 2043:   --enable-dependency-tracking
 2044:                           do not reject slow dependency extractors
 2045:   --disable-dependency-tracking
 2046:                           speeds up one-time build
 2047:   --disable-largefile     omit support for large files
 2048:   --enable-static[=PKGS]  build static libraries [default=no]
 2049:   --enable-shared[=PKGS]  build shared libraries [default=yes]
 2050:   --enable-fast-install[=PKGS]
 2051:                           optimize for fast installation [default=yes]
 2052:   --disable-libtool-lock  avoid locking (might break parallel builds)
 2053:   --enable-relocatable    install a package that can be moved in the file
 2054:                           system
 2055:   --enable-extra-encodings
 2056:                           add support for a few rarely used encodings
 2057:   --disable-rpath         do not hardcode runtime library paths
 2058:   --disable-nls           do not use Native Language Support
 2059: 
 2060: Optional Packages:
 2061:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 2062:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 2063:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 2064:                           both]
 2065:   --with-aix-soname=aix|svr4|both
 2066:                           shared library versioning (aka "SONAME") variant to
 2067:                           provide on AIX, [default=aix].
 2068:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 2069:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
 2070:                           compiler's sysroot if not specified).
 2071:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 2072:   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 2073:   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 2074:   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 2075:   --without-libintl-prefix     don't search for libintl in includedir and libdir
 2076: 
 2077: Some influential environment variables:
 2078:   CC          C compiler command
 2079:   CFLAGS      C compiler flags
 2080:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 2081:               nonstandard directory <lib dir>
 2082:   LIBS        libraries to pass to the linker, e.g. -l<library>
 2083:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 2084:               you have headers in a nonstandard directory <include dir>
 2085:   CPP         C preprocessor
 2086:   LT_SYS_LIBRARY_PATH
 2087:               User-defined run-time library search path.
 2088: 
 2089: Use these variables to override the choices made by `configure' or to help
 2090: it to find libraries and programs with nonstandard names/locations.
 2091: 
 2092: Report bugs to the package provider.
 2093: _ACEOF
 2094: ac_status=$?
 2095: fi
 2096: 
 2097: if test "$ac_init_help" = "recursive"; then
 2098:   # If there are subdirs, report their specific --help.
 2099:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 2100:     test -d "$ac_dir" ||
 2101:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 2102:       continue
 2103:     ac_builddir=.
 2104: 
 2105: case "$ac_dir" in
 2106: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 2107: *)
 2108:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 2109:   # A ".." for each directory in $ac_dir_suffix.
 2110:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 2111:   case $ac_top_builddir_sub in
 2112:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 2113:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 2114:   esac ;;
 2115: esac
 2116: ac_abs_top_builddir=$ac_pwd
 2117: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 2118: # for backward compatibility:
 2119: ac_top_builddir=$ac_top_build_prefix
 2120: 
 2121: case $srcdir in
 2122:   .)  # We are building in place.
 2123:     ac_srcdir=.
 2124:     ac_top_srcdir=$ac_top_builddir_sub
 2125:     ac_abs_top_srcdir=$ac_pwd ;;
 2126:   [\\/]* | ?:[\\/]* )  # Absolute name.
 2127:     ac_srcdir=$srcdir$ac_dir_suffix;
 2128:     ac_top_srcdir=$srcdir
 2129:     ac_abs_top_srcdir=$srcdir ;;
 2130:   *) # Relative name.
 2131:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 2132:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 2133:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 2134: esac
 2135: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 2136: 
 2137:     cd "$ac_dir" || { ac_status=$?; continue; }
 2138:     # Check for guested configure.
 2139:     if test -f "$ac_srcdir/configure.gnu"; then
 2140:       echo &&
 2141:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 2142:     elif test -f "$ac_srcdir/configure"; then
 2143:       echo &&
 2144:       $SHELL "$ac_srcdir/configure" --help=recursive
 2145:     else
 2146:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 2147:     fi || ac_status=$?
 2148:     cd "$ac_pwd" || { ac_status=$?; break; }
 2149:   done
 2150: fi
 2151: 
 2152: test -n "$ac_init_help" && exit $ac_status
 2153: if $ac_init_version; then
 2154:   cat <<\_ACEOF
 2155: libiconv configure 1.16
 2156: generated by GNU Autoconf 2.69
 2157: 
 2158: Copyright (C) 2012 Free Software Foundation, Inc.
 2159: This configure script is free software; the Free Software Foundation
 2160: gives unlimited permission to copy, distribute and modify it.
 2161: _ACEOF
 2162:   exit
 2163: fi
 2164: 
 2165: ## ------------------------ ##
 2166: ## Autoconf initialization. ##
 2167: ## ------------------------ ##
 2168: 
 2169: # ac_fn_c_try_compile LINENO
 2170: # --------------------------
 2171: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 2172: ac_fn_c_try_compile ()
 2173: {
 2174:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2175:   rm -f conftest.$ac_objext
 2176:   if { { ac_try="$ac_compile"
 2177: case "(($ac_try" in
 2178:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2179:   *) ac_try_echo=$ac_try;;
 2180: esac
 2181: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2182: $as_echo "$ac_try_echo"; } >&5
 2183:   (eval "$ac_compile") 2>conftest.err
 2184:   ac_status=$?
 2185:   if test -s conftest.err; then
 2186:     grep -v '^ *+' conftest.err >conftest.er1
 2187:     cat conftest.er1 >&5
 2188:     mv -f conftest.er1 conftest.err
 2189:   fi
 2190:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2191:   test $ac_status = 0; } && {
 2192: 	 test -z "$ac_c_werror_flag" ||
 2193: 	 test ! -s conftest.err
 2194:        } && test -s conftest.$ac_objext; then :
 2195:   ac_retval=0
 2196: else
 2197:   $as_echo "$as_me: failed program was:" >&5
 2198: sed 's/^/| /' conftest.$ac_ext >&5
 2199: 
 2200: 	ac_retval=1
 2201: fi
 2202:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2203:   as_fn_set_status $ac_retval
 2204: 
 2205: } # ac_fn_c_try_compile
 2206: 
 2207: # ac_fn_c_try_cpp LINENO
 2208: # ----------------------
 2209: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 2210: ac_fn_c_try_cpp ()
 2211: {
 2212:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2213:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 2214: case "(($ac_try" in
 2215:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2216:   *) ac_try_echo=$ac_try;;
 2217: esac
 2218: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2219: $as_echo "$ac_try_echo"; } >&5
 2220:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 2221:   ac_status=$?
 2222:   if test -s conftest.err; then
 2223:     grep -v '^ *+' conftest.err >conftest.er1
 2224:     cat conftest.er1 >&5
 2225:     mv -f conftest.er1 conftest.err
 2226:   fi
 2227:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2228:   test $ac_status = 0; } > conftest.i && {
 2229: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 2230: 	 test ! -s conftest.err
 2231:        }; then :
 2232:   ac_retval=0
 2233: else
 2234:   $as_echo "$as_me: failed program was:" >&5
 2235: sed 's/^/| /' conftest.$ac_ext >&5
 2236: 
 2237:     ac_retval=1
 2238: fi
 2239:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2240:   as_fn_set_status $ac_retval
 2241: 
 2242: } # ac_fn_c_try_cpp
 2243: 
 2244: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2245: # -------------------------------------------------------
 2246: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2247: # the include files in INCLUDES and setting the cache variable VAR
 2248: # accordingly.
 2249: ac_fn_c_check_header_mongrel ()
 2250: {
 2251:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2252:   if eval \${$3+:} false; then :
 2253:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2254: $as_echo_n "checking for $2... " >&6; }
 2255: if eval \${$3+:} false; then :
 2256:   $as_echo_n "(cached) " >&6
 2257: fi
 2258: eval ac_res=\$$3
 2259: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2260: $as_echo "$ac_res" >&6; }
 2261: else
 2262:   # Is the header compilable?
 2263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2264: $as_echo_n "checking $2 usability... " >&6; }
 2265: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2266: /* end confdefs.h.  */
 2267: $4
 2268: #include <$2>
 2269: _ACEOF
 2270: if ac_fn_c_try_compile "$LINENO"; then :
 2271:   ac_header_compiler=yes
 2272: else
 2273:   ac_header_compiler=no
 2274: fi
 2275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2277: $as_echo "$ac_header_compiler" >&6; }
 2278: 
 2279: # Is the header present?
 2280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2281: $as_echo_n "checking $2 presence... " >&6; }
 2282: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2283: /* end confdefs.h.  */
 2284: #include <$2>
 2285: _ACEOF
 2286: if ac_fn_c_try_cpp "$LINENO"; then :
 2287:   ac_header_preproc=yes
 2288: else
 2289:   ac_header_preproc=no
 2290: fi
 2291: rm -f conftest.err conftest.i conftest.$ac_ext
 2292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2293: $as_echo "$ac_header_preproc" >&6; }
 2294: 
 2295: # So?  What about this header?
 2296: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2297:   yes:no: )
 2298:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2299: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2300:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2301: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2302:     ;;
 2303:   no:yes:* )
 2304:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2305: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2306:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2307: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2308:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2309: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2310:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2311: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2312:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2313: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2314:     ;;
 2315: esac
 2316:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2317: $as_echo_n "checking for $2... " >&6; }
 2318: if eval \${$3+:} false; then :
 2319:   $as_echo_n "(cached) " >&6
 2320: else
 2321:   eval "$3=\$ac_header_compiler"
 2322: fi
 2323: eval ac_res=\$$3
 2324: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2325: $as_echo "$ac_res" >&6; }
 2326: fi
 2327:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2328: 
 2329: } # ac_fn_c_check_header_mongrel
 2330: 
 2331: # ac_fn_c_try_run LINENO
 2332: # ----------------------
 2333: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 2334: # that executables *can* be run.
 2335: ac_fn_c_try_run ()
 2336: {
 2337:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2338:   if { { ac_try="$ac_link"
 2339: case "(($ac_try" in
 2340:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2341:   *) ac_try_echo=$ac_try;;
 2342: esac
 2343: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2344: $as_echo "$ac_try_echo"; } >&5
 2345:   (eval "$ac_link") 2>&5
 2346:   ac_status=$?
 2347:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2348:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 2349:   { { case "(($ac_try" in
 2350:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2351:   *) ac_try_echo=$ac_try;;
 2352: esac
 2353: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2354: $as_echo "$ac_try_echo"; } >&5
 2355:   (eval "$ac_try") 2>&5
 2356:   ac_status=$?
 2357:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2358:   test $ac_status = 0; }; }; then :
 2359:   ac_retval=0
 2360: else
 2361:   $as_echo "$as_me: program exited with status $ac_status" >&5
 2362:        $as_echo "$as_me: failed program was:" >&5
 2363: sed 's/^/| /' conftest.$ac_ext >&5
 2364: 
 2365:        ac_retval=$ac_status
 2366: fi
 2367:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 2368:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2369:   as_fn_set_status $ac_retval
 2370: 
 2371: } # ac_fn_c_try_run
 2372: 
 2373: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2374: # -------------------------------------------------------
 2375: # Tests whether HEADER exists and can be compiled using the include files in
 2376: # INCLUDES, setting the cache variable VAR accordingly.
 2377: ac_fn_c_check_header_compile ()
 2378: {
 2379:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2380:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2381: $as_echo_n "checking for $2... " >&6; }
 2382: if eval \${$3+:} false; then :
 2383:   $as_echo_n "(cached) " >&6
 2384: else
 2385:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2386: /* end confdefs.h.  */
 2387: $4
 2388: #include <$2>
 2389: _ACEOF
 2390: if ac_fn_c_try_compile "$LINENO"; then :
 2391:   eval "$3=yes"
 2392: else
 2393:   eval "$3=no"
 2394: fi
 2395: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2396: fi
 2397: eval ac_res=\$$3
 2398: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2399: $as_echo "$ac_res" >&6; }
 2400:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2401: 
 2402: } # ac_fn_c_check_header_compile
 2403: 
 2404: # ac_fn_c_try_link LINENO
 2405: # -----------------------
 2406: # Try to link conftest.$ac_ext, and return whether this succeeded.
 2407: ac_fn_c_try_link ()
 2408: {
 2409:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2410:   rm -f conftest.$ac_objext conftest$ac_exeext
 2411:   if { { ac_try="$ac_link"
 2412: case "(($ac_try" in
 2413:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2414:   *) ac_try_echo=$ac_try;;
 2415: esac
 2416: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2417: $as_echo "$ac_try_echo"; } >&5
 2418:   (eval "$ac_link") 2>conftest.err
 2419:   ac_status=$?
 2420:   if test -s conftest.err; then
 2421:     grep -v '^ *+' conftest.err >conftest.er1
 2422:     cat conftest.er1 >&5
 2423:     mv -f conftest.er1 conftest.err
 2424:   fi
 2425:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2426:   test $ac_status = 0; } && {
 2427: 	 test -z "$ac_c_werror_flag" ||
 2428: 	 test ! -s conftest.err
 2429:        } && test -s conftest$ac_exeext && {
 2430: 	 test "$cross_compiling" = yes ||
 2431: 	 test -x conftest$ac_exeext
 2432:        }; then :
 2433:   ac_retval=0
 2434: else
 2435:   $as_echo "$as_me: failed program was:" >&5
 2436: sed 's/^/| /' conftest.$ac_ext >&5
 2437: 
 2438: 	ac_retval=1
 2439: fi
 2440:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 2441:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 2442:   # interfere with the next link command; also delete a directory that is
 2443:   # left behind by Apple's compiler.  We do this before executing the actions.
 2444:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 2445:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2446:   as_fn_set_status $ac_retval
 2447: 
 2448: } # ac_fn_c_try_link
 2449: 
 2450: # ac_fn_c_check_func LINENO FUNC VAR
 2451: # ----------------------------------
 2452: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 2453: ac_fn_c_check_func ()
 2454: {
 2455:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2456:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2457: $as_echo_n "checking for $2... " >&6; }
 2458: if eval \${$3+:} false; then :
 2459:   $as_echo_n "(cached) " >&6
 2460: else
 2461:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2462: /* end confdefs.h.  */
 2463: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 2464:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 2465: #define $2 innocuous_$2
 2466: 
 2467: /* System header to define __stub macros and hopefully few prototypes,
 2468:     which can conflict with char $2 (); below.
 2469:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2470:     <limits.h> exists even on freestanding compilers.  */
 2471: 
 2472: #ifdef __STDC__
 2473: # include <limits.h>
 2474: #else
 2475: # include <assert.h>
 2476: #endif
 2477: 
 2478: #undef $2
 2479: 
 2480: /* Override any GCC internal prototype to avoid an error.
 2481:    Use char because int might match the return type of a GCC
 2482:    builtin and then its argument prototype would still apply.  */
 2483: #ifdef __cplusplus
 2484: extern "C"
 2485: #endif
 2486: char $2 ();
 2487: /* The GNU C library defines this for functions which it implements
 2488:     to always fail with ENOSYS.  Some functions are actually named
 2489:     something starting with __ and the normal name is an alias.  */
 2490: #if defined __stub_$2 || defined __stub___$2
 2491: choke me
 2492: #endif
 2493: 
 2494: int
 2495: main ()
 2496: {
 2497: return $2 ();
 2498:   ;
 2499:   return 0;
 2500: }
 2501: _ACEOF
 2502: if ac_fn_c_try_link "$LINENO"; then :
 2503:   eval "$3=yes"
 2504: else
 2505:   eval "$3=no"
 2506: fi
 2507: rm -f core conftest.err conftest.$ac_objext \
 2508:     conftest$ac_exeext conftest.$ac_ext
 2509: fi
 2510: eval ac_res=\$$3
 2511: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2512: $as_echo "$ac_res" >&6; }
 2513:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2514: 
 2515: } # ac_fn_c_check_func
 2516: 
 2517: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 2518: # --------------------------------------------
 2519: # Tries to find the compile-time value of EXPR in a program that includes
 2520: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 2521: # computed
 2522: ac_fn_c_compute_int ()
 2523: {
 2524:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2525:   if test "$cross_compiling" = yes; then
 2526:     # Depending upon the size, compute the lo and hi bounds.
 2527: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2528: /* end confdefs.h.  */
 2529: $4
 2530: int
 2531: main ()
 2532: {
 2533: static int test_array [1 - 2 * !(($2) >= 0)];
 2534: test_array [0] = 0;
 2535: return test_array [0];
 2536: 
 2537:   ;
 2538:   return 0;
 2539: }
 2540: _ACEOF
 2541: if ac_fn_c_try_compile "$LINENO"; then :
 2542:   ac_lo=0 ac_mid=0
 2543:   while :; do
 2544:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2545: /* end confdefs.h.  */
 2546: $4
 2547: int
 2548: main ()
 2549: {
 2550: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2551: test_array [0] = 0;
 2552: return test_array [0];
 2553: 
 2554:   ;
 2555:   return 0;
 2556: }
 2557: _ACEOF
 2558: if ac_fn_c_try_compile "$LINENO"; then :
 2559:   ac_hi=$ac_mid; break
 2560: else
 2561:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2562: 			if test $ac_lo -le $ac_mid; then
 2563: 			  ac_lo= ac_hi=
 2564: 			  break
 2565: 			fi
 2566: 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2567: fi
 2568: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2569:   done
 2570: else
 2571:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2572: /* end confdefs.h.  */
 2573: $4
 2574: int
 2575: main ()
 2576: {
 2577: static int test_array [1 - 2 * !(($2) < 0)];
 2578: test_array [0] = 0;
 2579: return test_array [0];
 2580: 
 2581:   ;
 2582:   return 0;
 2583: }
 2584: _ACEOF
 2585: if ac_fn_c_try_compile "$LINENO"; then :
 2586:   ac_hi=-1 ac_mid=-1
 2587:   while :; do
 2588:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2589: /* end confdefs.h.  */
 2590: $4
 2591: int
 2592: main ()
 2593: {
 2594: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2595: test_array [0] = 0;
 2596: return test_array [0];
 2597: 
 2598:   ;
 2599:   return 0;
 2600: }
 2601: _ACEOF
 2602: if ac_fn_c_try_compile "$LINENO"; then :
 2603:   ac_lo=$ac_mid; break
 2604: else
 2605:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2606: 			if test $ac_mid -le $ac_hi; then
 2607: 			  ac_lo= ac_hi=
 2608: 			  break
 2609: 			fi
 2610: 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2611: fi
 2612: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2613:   done
 2614: else
 2615:   ac_lo= ac_hi=
 2616: fi
 2617: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2618: fi
 2619: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2620: # Binary search between lo and hi bounds.
 2621: while test "x$ac_lo" != "x$ac_hi"; do
 2622:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2623:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2624: /* end confdefs.h.  */
 2625: $4
 2626: int
 2627: main ()
 2628: {
 2629: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2630: test_array [0] = 0;
 2631: return test_array [0];
 2632: 
 2633:   ;
 2634:   return 0;
 2635: }
 2636: _ACEOF
 2637: if ac_fn_c_try_compile "$LINENO"; then :
 2638:   ac_hi=$ac_mid
 2639: else
 2640:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2641: fi
 2642: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2643: done
 2644: case $ac_lo in #((
 2645: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2646: '') ac_retval=1 ;;
 2647: esac
 2648:   else
 2649:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2650: /* end confdefs.h.  */
 2651: $4
 2652: static long int longval () { return $2; }
 2653: static unsigned long int ulongval () { return $2; }
 2654: #include <stdio.h>
 2655: #include <stdlib.h>
 2656: int
 2657: main ()
 2658: {
 2659: 
 2660:   FILE *f = fopen ("conftest.val", "w");
 2661:   if (! f)
 2662:     return 1;
 2663:   if (($2) < 0)
 2664:     {
 2665:       long int i = longval ();
 2666:       if (i != ($2))
 2667: 	return 1;
 2668:       fprintf (f, "%ld", i);
 2669:     }
 2670:   else
 2671:     {
 2672:       unsigned long int i = ulongval ();
 2673:       if (i != ($2))
 2674: 	return 1;
 2675:       fprintf (f, "%lu", i);
 2676:     }
 2677:   /* Do not output a trailing newline, as this causes \r\n confusion
 2678:      on some platforms.  */
 2679:   return ferror (f) || fclose (f) != 0;
 2680: 
 2681:   ;
 2682:   return 0;
 2683: }
 2684: _ACEOF
 2685: if ac_fn_c_try_run "$LINENO"; then :
 2686:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2687: else
 2688:   ac_retval=1
 2689: fi
 2690: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2691:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2692: rm -f conftest.val
 2693: 
 2694:   fi
 2695:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2696:   as_fn_set_status $ac_retval
 2697: 
 2698: } # ac_fn_c_compute_int
 2699: 
 2700: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 2701: # -------------------------------------------
 2702: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2703: # variable VAR accordingly.
 2704: ac_fn_c_check_type ()
 2705: {
 2706:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2707:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2708: $as_echo_n "checking for $2... " >&6; }
 2709: if eval \${$3+:} false; then :
 2710:   $as_echo_n "(cached) " >&6
 2711: else
 2712:   eval "$3=no"
 2713:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2714: /* end confdefs.h.  */
 2715: $4
 2716: int
 2717: main ()
 2718: {
 2719: if (sizeof ($2))
 2720: 	 return 0;
 2721:   ;
 2722:   return 0;
 2723: }
 2724: _ACEOF
 2725: if ac_fn_c_try_compile "$LINENO"; then :
 2726:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2727: /* end confdefs.h.  */
 2728: $4
 2729: int
 2730: main ()
 2731: {
 2732: if (sizeof (($2)))
 2733: 	    return 0;
 2734:   ;
 2735:   return 0;
 2736: }
 2737: _ACEOF
 2738: if ac_fn_c_try_compile "$LINENO"; then :
 2739: 
 2740: else
 2741:   eval "$3=yes"
 2742: fi
 2743: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2744: fi
 2745: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2746: fi
 2747: eval ac_res=\$$3
 2748: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2749: $as_echo "$ac_res" >&6; }
 2750:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2751: 
 2752: } # ac_fn_c_check_type
 2753: 
 2754: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 2755: # ---------------------------------------------
 2756: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 2757: # accordingly.
 2758: ac_fn_c_check_decl ()
 2759: {
 2760:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2761:   as_decl_name=`echo $2|sed 's/ *(.*//'`
 2762:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 2763:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 2764: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 2765: if eval \${$3+:} false; then :
 2766:   $as_echo_n "(cached) " >&6
 2767: else
 2768:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2769: /* end confdefs.h.  */
 2770: $4
 2771: int
 2772: main ()
 2773: {
 2774: #ifndef $as_decl_name
 2775: #ifdef __cplusplus
 2776:   (void) $as_decl_use;
 2777: #else
 2778:   (void) $as_decl_name;
 2779: #endif
 2780: #endif
 2781: 
 2782:   ;
 2783:   return 0;
 2784: }
 2785: _ACEOF
 2786: if ac_fn_c_try_compile "$LINENO"; then :
 2787:   eval "$3=yes"
 2788: else
 2789:   eval "$3=no"
 2790: fi
 2791: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2792: fi
 2793: eval ac_res=\$$3
 2794: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2795: $as_echo "$ac_res" >&6; }
 2796:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2797: 
 2798: } # ac_fn_c_check_decl
 2799: 
 2800: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 2801: # ----------------------------------------------------
 2802: # Tries to find if the field MEMBER exists in type AGGR, after including
 2803: # INCLUDES, setting cache variable VAR accordingly.
 2804: ac_fn_c_check_member ()
 2805: {
 2806:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2807:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 2808: $as_echo_n "checking for $2.$3... " >&6; }
 2809: if eval \${$4+:} false; then :
 2810:   $as_echo_n "(cached) " >&6
 2811: else
 2812:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2813: /* end confdefs.h.  */
 2814: $5
 2815: int
 2816: main ()
 2817: {
 2818: static $2 ac_aggr;
 2819: if (ac_aggr.$3)
 2820: return 0;
 2821:   ;
 2822:   return 0;
 2823: }
 2824: _ACEOF
 2825: if ac_fn_c_try_compile "$LINENO"; then :
 2826:   eval "$4=yes"
 2827: else
 2828:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2829: /* end confdefs.h.  */
 2830: $5
 2831: int
 2832: main ()
 2833: {
 2834: static $2 ac_aggr;
 2835: if (sizeof ac_aggr.$3)
 2836: return 0;
 2837:   ;
 2838:   return 0;
 2839: }
 2840: _ACEOF
 2841: if ac_fn_c_try_compile "$LINENO"; then :
 2842:   eval "$4=yes"
 2843: else
 2844:   eval "$4=no"
 2845: fi
 2846: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2847: fi
 2848: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2849: fi
 2850: eval ac_res=\$$4
 2851: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2852: $as_echo "$ac_res" >&6; }
 2853:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2854: 
 2855: } # ac_fn_c_check_member
 2856: cat >config.log <<_ACEOF
 2857: This file contains any messages produced by compilers while
 2858: running configure, to aid debugging if configure makes a mistake.
 2859: 
 2860: It was created by libiconv $as_me 1.16, which was
 2861: generated by GNU Autoconf 2.69.  Invocation command line was
 2862: 
 2863:   $ $0 $@
 2864: 
 2865: _ACEOF
 2866: exec 5>>config.log
 2867: {
 2868: cat <<_ASUNAME
 2869: ## --------- ##
 2870: ## Platform. ##
 2871: ## --------- ##
 2872: 
 2873: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2874: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2875: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2876: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2877: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2878: 
 2879: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2880: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2881: 
 2882: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2883: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2884: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2885: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2886: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2887: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2888: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2889: 
 2890: _ASUNAME
 2891: 
 2892: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2893: for as_dir in $PATH
 2894: do
 2895:   IFS=$as_save_IFS
 2896:   test -z "$as_dir" && as_dir=.
 2897:     $as_echo "PATH: $as_dir"
 2898:   done
 2899: IFS=$as_save_IFS
 2900: 
 2901: } >&5
 2902: 
 2903: cat >&5 <<_ACEOF
 2904: 
 2905: 
 2906: ## ----------- ##
 2907: ## Core tests. ##
 2908: ## ----------- ##
 2909: 
 2910: _ACEOF
 2911: 
 2912: 
 2913: # Keep a trace of the command line.
 2914: # Strip out --no-create and --no-recursion so they do not pile up.
 2915: # Strip out --silent because we don't want to record it for future runs.
 2916: # Also quote any args containing shell meta-characters.
 2917: # Make two passes to allow for proper duplicate-argument suppression.
 2918: ac_configure_args=
 2919: ac_configure_args0=
 2920: ac_configure_args1=
 2921: ac_must_keep_next=false
 2922: for ac_pass in 1 2
 2923: do
 2924:   for ac_arg
 2925:   do
 2926:     case $ac_arg in
 2927:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2928:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2929:     | -silent | --silent | --silen | --sile | --sil)
 2930:       continue ;;
 2931:     *\'*)
 2932:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2933:     esac
 2934:     case $ac_pass in
 2935:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2936:     2)
 2937:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2938:       if test $ac_must_keep_next = true; then
 2939: 	ac_must_keep_next=false # Got value, back to normal.
 2940:       else
 2941: 	case $ac_arg in
 2942: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2943: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2944: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2945: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2946: 	    case "$ac_configure_args0 " in
 2947: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2948: 	    esac
 2949: 	    ;;
 2950: 	  -* ) ac_must_keep_next=true ;;
 2951: 	esac
 2952:       fi
 2953:       as_fn_append ac_configure_args " '$ac_arg'"
 2954:       ;;
 2955:     esac
 2956:   done
 2957: done
 2958: { ac_configure_args0=; unset ac_configure_args0;}
 2959: { ac_configure_args1=; unset ac_configure_args1;}
 2960: 
 2961: # When interrupted or exit'd, cleanup temporary files, and complete
 2962: # config.log.  We remove comments because anyway the quotes in there
 2963: # would cause problems or look ugly.
 2964: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2965: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2966: trap 'exit_status=$?
 2967:   # Save into config.log some information that might help in debugging.
 2968:   {
 2969:     echo
 2970: 
 2971:     $as_echo "## ---------------- ##
 2972: ## Cache variables. ##
 2973: ## ---------------- ##"
 2974:     echo
 2975:     # The following way of writing the cache mishandles newlines in values,
 2976: (
 2977:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2978:     eval ac_val=\$$ac_var
 2979:     case $ac_val in #(
 2980:     *${as_nl}*)
 2981:       case $ac_var in #(
 2982:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2983: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2984:       esac
 2985:       case $ac_var in #(
 2986:       _ | IFS | as_nl) ;; #(
 2987:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2988:       *) { eval $ac_var=; unset $ac_var;} ;;
 2989:       esac ;;
 2990:     esac
 2991:   done
 2992:   (set) 2>&1 |
 2993:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2994:     *${as_nl}ac_space=\ *)
 2995:       sed -n \
 2996: 	"s/'\''/'\''\\\\'\'''\''/g;
 2997: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2998:       ;; #(
 2999:     *)
 3000:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 3001:       ;;
 3002:     esac |
 3003:     sort
 3004: )
 3005:     echo
 3006: 
 3007:     $as_echo "## ----------------- ##
 3008: ## Output variables. ##
 3009: ## ----------------- ##"
 3010:     echo
 3011:     for ac_var in $ac_subst_vars
 3012:     do
 3013:       eval ac_val=\$$ac_var
 3014:       case $ac_val in
 3015:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 3016:       esac
 3017:       $as_echo "$ac_var='\''$ac_val'\''"
 3018:     done | sort
 3019:     echo
 3020: 
 3021:     if test -n "$ac_subst_files"; then
 3022:       $as_echo "## ------------------- ##
 3023: ## File substitutions. ##
 3024: ## ------------------- ##"
 3025:       echo
 3026:       for ac_var in $ac_subst_files
 3027:       do
 3028: 	eval ac_val=\$$ac_var
 3029: 	case $ac_val in
 3030: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 3031: 	esac
 3032: 	$as_echo "$ac_var='\''$ac_val'\''"
 3033:       done | sort
 3034:       echo
 3035:     fi
 3036: 
 3037:     if test -s confdefs.h; then
 3038:       $as_echo "## ----------- ##
 3039: ## confdefs.h. ##
 3040: ## ----------- ##"
 3041:       echo
 3042:       cat confdefs.h
 3043:       echo
 3044:     fi
 3045:     test "$ac_signal" != 0 &&
 3046:       $as_echo "$as_me: caught signal $ac_signal"
 3047:     $as_echo "$as_me: exit $exit_status"
 3048:   } >&5
 3049:   rm -f core *.core core.conftest.* &&
 3050:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 3051:     exit $exit_status
 3052: ' 0
 3053: for ac_signal in 1 2 13 15; do
 3054:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 3055: done
 3056: ac_signal=0
 3057: 
 3058: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 3059: rm -f -r conftest* confdefs.h
 3060: 
 3061: $as_echo "/* confdefs.h */" > confdefs.h
 3062: 
 3063: # Predefined preprocessor variables.
 3064: 
 3065: cat >>confdefs.h <<_ACEOF
 3066: #define PACKAGE_NAME "$PACKAGE_NAME"
 3067: _ACEOF
 3068: 
 3069: cat >>confdefs.h <<_ACEOF
 3070: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 3071: _ACEOF
 3072: 
 3073: cat >>confdefs.h <<_ACEOF
 3074: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 3075: _ACEOF
 3076: 
 3077: cat >>confdefs.h <<_ACEOF
 3078: #define PACKAGE_STRING "$PACKAGE_STRING"
 3079: _ACEOF
 3080: 
 3081: cat >>confdefs.h <<_ACEOF
 3082: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 3083: _ACEOF
 3084: 
 3085: cat >>confdefs.h <<_ACEOF
 3086: #define PACKAGE_URL "$PACKAGE_URL"
 3087: _ACEOF
 3088: 
 3089: 
 3090: # Let the site file select an alternate cache file if it wants to.
 3091: # Prefer an explicitly selected file to automatically selected ones.
 3092: ac_site_file1=NONE
 3093: ac_site_file2=NONE
 3094: if test -n "$CONFIG_SITE"; then
 3095:   # We do not want a PATH search for config.site.
 3096:   case $CONFIG_SITE in #((
 3097:     -*)  ac_site_file1=./$CONFIG_SITE;;
 3098:     */*) ac_site_file1=$CONFIG_SITE;;
 3099:     *)   ac_site_file1=./$CONFIG_SITE;;
 3100:   esac
 3101: elif test "x$prefix" != xNONE; then
 3102:   ac_site_file1=$prefix/share/config.site
 3103:   ac_site_file2=$prefix/etc/config.site
 3104: else
 3105:   ac_site_file1=$ac_default_prefix/share/config.site
 3106:   ac_site_file2=$ac_default_prefix/etc/config.site
 3107: fi
 3108: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 3109: do
 3110:   test "x$ac_site_file" = xNONE && continue
 3111:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 3112:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 3113: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 3114:     sed 's/^/| /' "$ac_site_file" >&5
 3115:     . "$ac_site_file" \
 3116:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3117: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3118: as_fn_error $? "failed to load site script $ac_site_file
 3119: See \`config.log' for more details" "$LINENO" 5; }
 3120:   fi
 3121: done
 3122: 
 3123: if test -r "$cache_file"; then
 3124:   # Some versions of bash will fail to source /dev/null (special files
 3125:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 3126:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 3127:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 3128: $as_echo "$as_me: loading cache $cache_file" >&6;}
 3129:     case $cache_file in
 3130:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 3131:       *)                      . "./$cache_file";;
 3132:     esac
 3133:   fi
 3134: else
 3135:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 3136: $as_echo "$as_me: creating cache $cache_file" >&6;}
 3137:   >$cache_file
 3138: fi
 3139: 
 3140: gt_needs="$gt_needs need-ngettext"
 3141: as_fn_append ac_header_list " unistd.h"
 3142: as_fn_append ac_func_list " symlink"
 3143: as_fn_append ac_header_list " stdlib.h"
 3144: as_fn_append ac_header_list " string.h"
 3145: as_fn_append ac_func_list " canonicalize_file_name"
 3146: as_fn_append ac_func_list " getcwd"
 3147: as_fn_append ac_func_list " readlink"
 3148: as_fn_append ac_func_list " realpath"
 3149: as_fn_append ac_header_list " sys/param.h"
 3150: as_fn_append ac_func_list " readlinkat"
 3151: as_fn_append ac_func_list " getprogname"
 3152: as_fn_append ac_func_list " getexecname"
 3153: as_fn_append ac_header_list " limits.h"
 3154: as_fn_append ac_func_list " lstat"
 3155: as_fn_append ac_func_list " _set_invalid_parameter_handler"
 3156: as_fn_append ac_func_list " setenv"
 3157: as_fn_append ac_header_list " sys/stat.h"
 3158: as_fn_append ac_header_list " sys/time.h"
 3159: as_fn_append ac_header_list " wchar.h"
 3160: as_fn_append ac_header_list " stdint.h"
 3161: as_fn_append ac_header_list " sys/socket.h"
 3162: # Check that the precious variables saved in the cache have kept the same
 3163: # value.
 3164: ac_cache_corrupted=false
 3165: for ac_var in $ac_precious_vars; do
 3166:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 3167:   eval ac_new_set=\$ac_env_${ac_var}_set
 3168:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 3169:   eval ac_new_val=\$ac_env_${ac_var}_value
 3170:   case $ac_old_set,$ac_new_set in
 3171:     set,)
 3172:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 3173: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 3174:       ac_cache_corrupted=: ;;
 3175:     ,set)
 3176:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 3177: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 3178:       ac_cache_corrupted=: ;;
 3179:     ,);;
 3180:     *)
 3181:       if test "x$ac_old_val" != "x$ac_new_val"; then
 3182: 	# differences in whitespace do not lead to failure.
 3183: 	ac_old_val_w=`echo x $ac_old_val`
 3184: 	ac_new_val_w=`echo x $ac_new_val`
 3185: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 3186: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 3187: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 3188: 	  ac_cache_corrupted=:
 3189: 	else
 3190: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 3191: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 3192: 	  eval $ac_var=\$ac_old_val
 3193: 	fi
 3194: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 3195: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 3196: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 3197: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 3198:       fi;;
 3199:   esac
 3200:   # Pass precious variables to config.status.
 3201:   if test "$ac_new_set" = set; then
 3202:     case $ac_new_val in
 3203:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 3204:     *) ac_arg=$ac_var=$ac_new_val ;;
 3205:     esac
 3206:     case " $ac_configure_args " in
 3207:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 3208:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 3209:     esac
 3210:   fi
 3211: done
 3212: if $ac_cache_corrupted; then
 3213:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3214: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3215:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 3216: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 3217:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 3218: fi
 3219: ## -------------------- ##
 3220: ## Main body of script. ##
 3221: ## -------------------- ##
 3222: 
 3223: ac_ext=c
 3224: ac_cpp='$CPP $CPPFLAGS'
 3225: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3226: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3227: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3228: 
 3229: 
 3230: 
 3231: ac_aux_dir=
 3232: for ac_dir in build-aux "$srcdir"/build-aux; do
 3233:   if test -f "$ac_dir/install-sh"; then
 3234:     ac_aux_dir=$ac_dir
 3235:     ac_install_sh="$ac_aux_dir/install-sh -c"
 3236:     break
 3237:   elif test -f "$ac_dir/install.sh"; then
 3238:     ac_aux_dir=$ac_dir
 3239:     ac_install_sh="$ac_aux_dir/install.sh -c"
 3240:     break
 3241:   elif test -f "$ac_dir/shtool"; then
 3242:     ac_aux_dir=$ac_dir
 3243:     ac_install_sh="$ac_aux_dir/shtool install -c"
 3244:     break
 3245:   fi
 3246: done
 3247: if test -z "$ac_aux_dir"; then
 3248:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 3249: fi
 3250: 
 3251: # These three variables are undocumented and unsupported,
 3252: # and are intended to be withdrawn in a future Autoconf release.
 3253: # They can cause serious problems if a builder's source tree is in a directory
 3254: # whose full name contains unusual characters.
 3255: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 3256: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 3257: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 3258: 
 3259: 
 3260: am__api_version='1.16'
 3261: 
 3262: # Find a good install program.  We prefer a C program (faster),
 3263: # so one script is as good as another.  But avoid the broken or
 3264: # incompatible versions:
 3265: # SysV /etc/install, /usr/sbin/install
 3266: # SunOS /usr/etc/install
 3267: # IRIX /sbin/install
 3268: # AIX /bin/install
 3269: # AmigaOS /C/install, which installs bootblocks on floppy discs
 3270: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3271: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3272: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3273: # OS/2's system install, which has a completely different semantic
 3274: # ./install, which can be erroneously created by make from ./install.sh.
 3275: # Reject install programs that cannot install multiple files.
 3276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 3277: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 3278: if test -z "$INSTALL"; then
 3279: if ${ac_cv_path_install+:} false; then :
 3280:   $as_echo_n "(cached) " >&6
 3281: else
 3282:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3283: for as_dir in $PATH
 3284: do
 3285:   IFS=$as_save_IFS
 3286:   test -z "$as_dir" && as_dir=.
 3287:     # Account for people who put trailing slashes in PATH elements.
 3288: case $as_dir/ in #((
 3289:   ./ | .// | /[cC]/* | \
 3290:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3291:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 3292:   /usr/ucb/* ) ;;
 3293:   *)
 3294:     # OSF1 and SCO ODT 3.0 have their own names for install.
 3295:     # Don't use installbsd from OSF since it installs stuff as root
 3296:     # by default.
 3297:     for ac_prog in ginstall scoinst install; do
 3298:       for ac_exec_ext in '' $ac_executable_extensions; do
 3299: 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3300: 	  if test $ac_prog = install &&
 3301: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3302: 	    # AIX install.  It has an incompatible calling convention.
 3303: 	    :
 3304: 	  elif test $ac_prog = install &&
 3305: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3306: 	    # program-specific install script used by HP pwplus--don't use.
 3307: 	    :
 3308: 	  else
 3309: 	    rm -rf conftest.one conftest.two conftest.dir
 3310: 	    echo one > conftest.one
 3311: 	    echo two > conftest.two
 3312: 	    mkdir conftest.dir
 3313: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 3314: 	      test -s conftest.one && test -s conftest.two &&
 3315: 	      test -s conftest.dir/conftest.one &&
 3316: 	      test -s conftest.dir/conftest.two
 3317: 	    then
 3318: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3319: 	      break 3
 3320: 	    fi
 3321: 	  fi
 3322: 	fi
 3323:       done
 3324:     done
 3325:     ;;
 3326: esac
 3327: 
 3328:   done
 3329: IFS=$as_save_IFS
 3330: 
 3331: rm -rf conftest.one conftest.two conftest.dir
 3332: 
 3333: fi
 3334:   if test "${ac_cv_path_install+set}" = set; then
 3335:     INSTALL=$ac_cv_path_install
 3336:   else
 3337:     # As a last resort, use the slow shell script.  Don't cache a
 3338:     # value for INSTALL within a source directory, because that will
 3339:     # break other packages using the cache if that directory is
 3340:     # removed, or if the value is a relative name.
 3341:     INSTALL=$ac_install_sh
 3342:   fi
 3343: fi
 3344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 3345: $as_echo "$INSTALL" >&6; }
 3346: 
 3347: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3348: # It thinks the first close brace ends the variable substitution.
 3349: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3350: 
 3351: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3352: 
 3353: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3354: 
 3355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 3356: $as_echo_n "checking whether build environment is sane... " >&6; }
 3357: # Reject unsafe characters in $srcdir or the absolute working directory
 3358: # name.  Accept space and tab only in the latter.
 3359: am_lf='
 3360: '
 3361: case `pwd` in
 3362:   *[\\\"\#\$\&\'\`$am_lf]*)
 3363:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 3364: esac
 3365: case $srcdir in
 3366:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 3367:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 3368: esac
 3369: 
 3370: # Do 'set' in a subshell so we don't clobber the current shell's
 3371: # arguments.  Must try -L first in case configure is actually a
 3372: # symlink; some systems play weird games with the mod time of symlinks
 3373: # (eg FreeBSD returns the mod time of the symlink's containing
 3374: # directory).
 3375: if (
 3376:    am_has_slept=no
 3377:    for am_try in 1 2; do
 3378:      echo "timestamp, slept: $am_has_slept" > conftest.file
 3379:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 3380:      if test "$*" = "X"; then
 3381: 	# -L didn't work.
 3382: 	set X `ls -t "$srcdir/configure" conftest.file`
 3383:      fi
 3384:      if test "$*" != "X $srcdir/configure conftest.file" \
 3385: 	&& test "$*" != "X conftest.file $srcdir/configure"; then
 3386: 
 3387: 	# If neither matched, then we have a broken ls.  This can happen
 3388: 	# if, for instance, CONFIG_SHELL is bash and it inherits a
 3389: 	# broken ls alias from the environment.  This has actually
 3390: 	# happened.  Such a system could not be considered "sane".
 3391: 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 3392:   alias in your environment" "$LINENO" 5
 3393:      fi
 3394:      if test "$2" = conftest.file || test $am_try -eq 2; then
 3395:        break
 3396:      fi
 3397:      # Just in case.
 3398:      sleep 1
 3399:      am_has_slept=yes
 3400:    done
 3401:    test "$2" = conftest.file
 3402:    )
 3403: then
 3404:    # Ok.
 3405:    :
 3406: else
 3407:    as_fn_error $? "newly created file is older than distributed files!
 3408: Check your system clock" "$LINENO" 5
 3409: fi
 3410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3411: $as_echo "yes" >&6; }
 3412: # If we didn't sleep, we still need to ensure time stamps of config.status and
 3413: # generated files are strictly newer.
 3414: am_sleep_pid=
 3415: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 3416:   ( sleep 1 ) &
 3417:   am_sleep_pid=$!
 3418: fi
 3419: 
 3420: rm -f conftest.file
 3421: 
 3422: test "$program_prefix" != NONE &&
 3423:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 3424: # Use a double $ so make ignores it.
 3425: test "$program_suffix" != NONE &&
 3426:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 3427: # Double any \ or $.
 3428: # By default was `s,x,x', remove it if useless.
 3429: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 3430: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 3431: 
 3432: # Expand $ac_aux_dir to an absolute path.
 3433: am_aux_dir=`cd "$ac_aux_dir" && pwd`
 3434: 
 3435: if test x"${MISSING+set}" != xset; then
 3436:   case $am_aux_dir in
 3437:   *\ * | *\	*)
 3438:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 3439:   *)
 3440:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 3441:   esac
 3442: fi
 3443: # Use eval to expand $SHELL
 3444: if eval "$MISSING --is-lightweight"; then
 3445:   am_missing_run="$MISSING "
 3446: else
 3447:   am_missing_run=
 3448:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 3449: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 3450: fi
 3451: 
 3452: if test x"${install_sh+set}" != xset; then
 3453:   case $am_aux_dir in
 3454:   *\ * | *\	*)
 3455:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 3456:   *)
 3457:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 3458:   esac
 3459: fi
 3460: 
 3461: # Installed binaries are usually stripped using 'strip' when the user
 3462: # run "make install-strip".  However 'strip' might not be the right
 3463: # tool to use in cross-compilation environments, therefore Automake
 3464: # will honor the 'STRIP' environment variable to overrule this program.
 3465: if test "$cross_compiling" != no; then
 3466:   if test -n "$ac_tool_prefix"; then
 3467:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 3468: set dummy ${ac_tool_prefix}strip; ac_word=$2
 3469: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3470: $as_echo_n "checking for $ac_word... " >&6; }
 3471: if ${ac_cv_prog_STRIP+:} false; then :
 3472:   $as_echo_n "(cached) " >&6
 3473: else
 3474:   if test -n "$STRIP"; then
 3475:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 3476: else
 3477: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3478: for as_dir in $PATH
 3479: do
 3480:   IFS=$as_save_IFS
 3481:   test -z "$as_dir" && as_dir=.
 3482:     for ac_exec_ext in '' $ac_executable_extensions; do
 3483:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3484:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 3485:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3486:     break 2
 3487:   fi
 3488: done
 3489:   done
 3490: IFS=$as_save_IFS
 3491: 
 3492: fi
 3493: fi
 3494: STRIP=$ac_cv_prog_STRIP
 3495: if test -n "$STRIP"; then
 3496:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 3497: $as_echo "$STRIP" >&6; }
 3498: else
 3499:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3500: $as_echo "no" >&6; }
 3501: fi
 3502: 
 3503: 
 3504: fi
 3505: if test -z "$ac_cv_prog_STRIP"; then
 3506:   ac_ct_STRIP=$STRIP
 3507:   # Extract the first word of "strip", so it can be a program name with args.
 3508: set dummy strip; ac_word=$2
 3509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3510: $as_echo_n "checking for $ac_word... " >&6; }
 3511: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 3512:   $as_echo_n "(cached) " >&6
 3513: else
 3514:   if test -n "$ac_ct_STRIP"; then
 3515:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3516: else
 3517: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3518: for as_dir in $PATH
 3519: do
 3520:   IFS=$as_save_IFS
 3521:   test -z "$as_dir" && as_dir=.
 3522:     for ac_exec_ext in '' $ac_executable_extensions; do
 3523:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3524:     ac_cv_prog_ac_ct_STRIP="strip"
 3525:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3526:     break 2
 3527:   fi
 3528: done
 3529:   done
 3530: IFS=$as_save_IFS
 3531: 
 3532: fi
 3533: fi
 3534: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3535: if test -n "$ac_ct_STRIP"; then
 3536:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3537: $as_echo "$ac_ct_STRIP" >&6; }
 3538: else
 3539:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3540: $as_echo "no" >&6; }
 3541: fi
 3542: 
 3543:   if test "x$ac_ct_STRIP" = x; then
 3544:     STRIP=":"
 3545:   else
 3546:     case $cross_compiling:$ac_tool_warned in
 3547: yes:)
 3548: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3549: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3550: ac_tool_warned=yes ;;
 3551: esac
 3552:     STRIP=$ac_ct_STRIP
 3553:   fi
 3554: else
 3555:   STRIP="$ac_cv_prog_STRIP"
 3556: fi
 3557: 
 3558: fi
 3559: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3560: 
 3561: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3562: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3563: if test -z "$MKDIR_P"; then
 3564:   if ${ac_cv_path_mkdir+:} false; then :
 3565:   $as_echo_n "(cached) " >&6
 3566: else
 3567:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3568: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3569: do
 3570:   IFS=$as_save_IFS
 3571:   test -z "$as_dir" && as_dir=.
 3572:     for ac_prog in mkdir gmkdir; do
 3573: 	 for ac_exec_ext in '' $ac_executable_extensions; do
 3574: 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 3575: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3576: 	     'mkdir (GNU coreutils) '* | \
 3577: 	     'mkdir (coreutils) '* | \
 3578: 	     'mkdir (fileutils) '4.1*)
 3579: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3580: 	       break 3;;
 3581: 	   esac
 3582: 	 done
 3583:        done
 3584:   done
 3585: IFS=$as_save_IFS
 3586: 
 3587: fi
 3588: 
 3589:   test -d ./--version && rmdir ./--version
 3590:   if test "${ac_cv_path_mkdir+set}" = set; then
 3591:     MKDIR_P="$ac_cv_path_mkdir -p"
 3592:   else
 3593:     # As a last resort, use the slow shell script.  Don't cache a
 3594:     # value for MKDIR_P within a source directory, because that will
 3595:     # break other packages using the cache if that directory is
 3596:     # removed, or if the value is a relative name.
 3597:     MKDIR_P="$ac_install_sh -d"
 3598:   fi
 3599: fi
 3600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3601: $as_echo "$MKDIR_P" >&6; }
 3602: 
 3603: for ac_prog in gawk mawk nawk awk
 3604: do
 3605:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3606: set dummy $ac_prog; ac_word=$2
 3607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3608: $as_echo_n "checking for $ac_word... " >&6; }
 3609: if ${ac_cv_prog_AWK+:} false; then :
 3610:   $as_echo_n "(cached) " >&6
 3611: else
 3612:   if test -n "$AWK"; then
 3613:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3614: else
 3615: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3616: for as_dir in $PATH
 3617: do
 3618:   IFS=$as_save_IFS
 3619:   test -z "$as_dir" && as_dir=.
 3620:     for ac_exec_ext in '' $ac_executable_extensions; do
 3621:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3622:     ac_cv_prog_AWK="$ac_prog"
 3623:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3624:     break 2
 3625:   fi
 3626: done
 3627:   done
 3628: IFS=$as_save_IFS
 3629: 
 3630: fi
 3631: fi
 3632: AWK=$ac_cv_prog_AWK
 3633: if test -n "$AWK"; then
 3634:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3635: $as_echo "$AWK" >&6; }
 3636: else
 3637:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3638: $as_echo "no" >&6; }
 3639: fi
 3640: 
 3641: 
 3642:   test -n "$AWK" && break
 3643: done
 3644: 
 3645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3646: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3647: set x ${MAKE-make}
 3648: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3649: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3650:   $as_echo_n "(cached) " >&6
 3651: else
 3652:   cat >conftest.make <<\_ACEOF
 3653: SHELL = /bin/sh
 3654: all:
 3655: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 3656: _ACEOF
 3657: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3658: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3659:   *@@@%%%=?*=@@@%%%*)
 3660:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3661:   *)
 3662:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3663: esac
 3664: rm -f conftest.make
 3665: fi
 3666: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3667:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3668: $as_echo "yes" >&6; }
 3669:   SET_MAKE=
 3670: else
 3671:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3672: $as_echo "no" >&6; }
 3673:   SET_MAKE="MAKE=${MAKE-make}"
 3674: fi
 3675: 
 3676: rm -rf .tst 2>/dev/null
 3677: mkdir .tst 2>/dev/null
 3678: if test -d .tst; then
 3679:   am__leading_dot=.
 3680: else
 3681:   am__leading_dot=_
 3682: fi
 3683: rmdir .tst 2>/dev/null
 3684: 
 3685: # Check whether --enable-silent-rules was given.
 3686: if test "${enable_silent_rules+set}" = set; then :
 3687:   enableval=$enable_silent_rules;
 3688: fi
 3689: 
 3690: case $enable_silent_rules in # (((
 3691:   yes) AM_DEFAULT_VERBOSITY=0;;
 3692:    no) AM_DEFAULT_VERBOSITY=1;;
 3693:     *) AM_DEFAULT_VERBOSITY=1;;
 3694: esac
 3695: am_make=${MAKE-make}
 3696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 3697: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 3698: if ${am_cv_make_support_nested_variables+:} false; then :
 3699:   $as_echo_n "(cached) " >&6
 3700: else
 3701:   if $as_echo 'TRUE=$(BAR$(V))
 3702: BAR0=false
 3703: BAR1=true
 3704: V=1
 3705: am__doit:
 3706: 	@$(TRUE)
 3707: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 3708:   am_cv_make_support_nested_variables=yes
 3709: else
 3710:   am_cv_make_support_nested_variables=no
 3711: fi
 3712: fi
 3713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 3714: $as_echo "$am_cv_make_support_nested_variables" >&6; }
 3715: if test $am_cv_make_support_nested_variables = yes; then
 3716:     AM_V='$(V)'
 3717:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 3718: else
 3719:   AM_V=$AM_DEFAULT_VERBOSITY
 3720:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 3721: fi
 3722: AM_BACKSLASH='\'
 3723: 
 3724: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3725:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3726:   # is not polluted with repeated "-I."
 3727:   am__isrc=' -I$(srcdir)'
 3728:   # test to see if srcdir already configured
 3729:   if test -f $srcdir/config.status; then
 3730:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3731:   fi
 3732: fi
 3733: 
 3734: # test whether we have cygpath
 3735: if test -z "$CYGPATH_W"; then
 3736:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3737:     CYGPATH_W='cygpath -w'
 3738:   else
 3739:     CYGPATH_W=echo
 3740:   fi
 3741: fi
 3742: 
 3743: 
 3744: # Define the identity of the package.
 3745:  PACKAGE='libiconv'
 3746:  VERSION='1.16'
 3747: 
 3748: 
 3749: cat >>confdefs.h <<_ACEOF
 3750: #define PACKAGE "$PACKAGE"
 3751: _ACEOF
 3752: 
 3753: 
 3754: cat >>confdefs.h <<_ACEOF
 3755: #define VERSION "$VERSION"
 3756: _ACEOF
 3757: 
 3758: # Some tools Automake needs.
 3759: 
 3760: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3761: 
 3762: 
 3763: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3764: 
 3765: 
 3766: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3767: 
 3768: 
 3769: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3770: 
 3771: 
 3772: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3773: 
 3774: # For better backward compatibility.  To be removed once Automake 1.9.x
 3775: # dies out for good.  For more background, see:
 3776: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 3777: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 3778: mkdir_p='$(MKDIR_P)'
 3779: 
 3780: # We need awk for the "check" target (and possibly the TAP driver).  The
 3781: # system "awk" is bad on some platforms.
 3782: # Always define AMTAR for backward compatibility.  Yes, it's still used
 3783: # in the wild :-(  We should find a proper way to deprecate it ...
 3784: AMTAR='$${TAR-tar}'
 3785: 
 3786: 
 3787: # We'll loop over all known methods to create a tar archive until one works.
 3788: _am_tools='gnutar  pax cpio none'
 3789: 
 3790: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 3791: 
 3792: 
 3793: 
 3794: 
 3795: 
 3796: 
 3797: # POSIX will say in a future version that running "rm -f" with no argument
 3798: # is OK; and we want to be able to make that assumption in our Makefile
 3799: # recipes.  So use an aggressive probe to check that the usage we want is
 3800: # actually supported "in the wild" to an acceptable degree.
 3801: # See automake bug#10828.
 3802: # To make any issue more visible, cause the running configure to be aborted
 3803: # by default if the 'rm' program in use doesn't match our expectations; the
 3804: # user can still override this though.
 3805: if rm -f && rm -fr && rm -rf; then : OK; else
 3806:   cat >&2 <<'END'
 3807: Oops!
 3808: 
 3809: Your 'rm' program seems unable to run without file operands specified
 3810: on the command line, even when the '-f' option is present.  This is contrary
 3811: to the behaviour of most rm programs out there, and not conforming with
 3812: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 3813: 
 3814: Please tell bug-automake@gnu.org about your system, including the value
 3815: of your $PATH and any error possibly output before this message.  This
 3816: can help us improve future automake versions.
 3817: 
 3818: END
 3819:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 3820:     echo 'Configuration will proceed anyway, since you have set the' >&2
 3821:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 3822:     echo >&2
 3823:   else
 3824:     cat >&2 <<'END'
 3825: Aborting the configuration process, to ensure you take notice of the issue.
 3826: 
 3827: You can download and install GNU coreutils to get an 'rm' implementation
 3828: that behaves properly: <https://www.gnu.org/software/coreutils/>.
 3829: 
 3830: If you want to complete the configuration process using your problematic
 3831: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 3832: to "yes", and re-run configure.
 3833: 
 3834: END
 3835:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 3836:   fi
 3837: fi
 3838: 
 3839: ac_config_headers="$ac_config_headers config.h lib/config.h"
 3840: 
 3841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3842: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3843: set x ${MAKE-make}
 3844: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3845: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3846:   $as_echo_n "(cached) " >&6
 3847: else
 3848:   cat >conftest.make <<\_ACEOF
 3849: SHELL = /bin/sh
 3850: all:
 3851: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 3852: _ACEOF
 3853: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3854: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3855:   *@@@%%%=?*=@@@%%%*)
 3856:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3857:   *)
 3858:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3859: esac
 3860: rm -f conftest.make
 3861: fi
 3862: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3863:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3864: $as_echo "yes" >&6; }
 3865:   SET_MAKE=
 3866: else
 3867:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3868: $as_echo "no" >&6; }
 3869:   SET_MAKE="MAKE=${MAKE-make}"
 3870: fi
 3871: 
 3872: 
 3873: 
 3874: ac_ext=c
 3875: ac_cpp='$CPP $CPPFLAGS'
 3876: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3877: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3878: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3879: if test -n "$ac_tool_prefix"; then
 3880:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3881: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3883: $as_echo_n "checking for $ac_word... " >&6; }
 3884: if ${ac_cv_prog_CC+:} false; then :
 3885:   $as_echo_n "(cached) " >&6
 3886: else
 3887:   if test -n "$CC"; then
 3888:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3889: else
 3890: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3891: for as_dir in $PATH
 3892: do
 3893:   IFS=$as_save_IFS
 3894:   test -z "$as_dir" && as_dir=.
 3895:     for ac_exec_ext in '' $ac_executable_extensions; do
 3896:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3897:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3898:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3899:     break 2
 3900:   fi
 3901: done
 3902:   done
 3903: IFS=$as_save_IFS
 3904: 
 3905: fi
 3906: fi
 3907: CC=$ac_cv_prog_CC
 3908: if test -n "$CC"; then
 3909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3910: $as_echo "$CC" >&6; }
 3911: else
 3912:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3913: $as_echo "no" >&6; }
 3914: fi
 3915: 
 3916: 
 3917: fi
 3918: if test -z "$ac_cv_prog_CC"; then
 3919:   ac_ct_CC=$CC
 3920:   # Extract the first word of "gcc", so it can be a program name with args.
 3921: set dummy gcc; ac_word=$2
 3922: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3923: $as_echo_n "checking for $ac_word... " >&6; }
 3924: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3925:   $as_echo_n "(cached) " >&6
 3926: else
 3927:   if test -n "$ac_ct_CC"; then
 3928:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3929: else
 3930: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3931: for as_dir in $PATH
 3932: do
 3933:   IFS=$as_save_IFS
 3934:   test -z "$as_dir" && as_dir=.
 3935:     for ac_exec_ext in '' $ac_executable_extensions; do
 3936:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3937:     ac_cv_prog_ac_ct_CC="gcc"
 3938:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3939:     break 2
 3940:   fi
 3941: done
 3942:   done
 3943: IFS=$as_save_IFS
 3944: 
 3945: fi
 3946: fi
 3947: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3948: if test -n "$ac_ct_CC"; then
 3949:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3950: $as_echo "$ac_ct_CC" >&6; }
 3951: else
 3952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3953: $as_echo "no" >&6; }
 3954: fi
 3955: 
 3956:   if test "x$ac_ct_CC" = x; then
 3957:     CC=""
 3958:   else
 3959:     case $cross_compiling:$ac_tool_warned in
 3960: yes:)
 3961: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3962: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3963: ac_tool_warned=yes ;;
 3964: esac
 3965:     CC=$ac_ct_CC
 3966:   fi
 3967: else
 3968:   CC="$ac_cv_prog_CC"
 3969: fi
 3970: 
 3971: if test -z "$CC"; then
 3972:           if test -n "$ac_tool_prefix"; then
 3973:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3974: set dummy ${ac_tool_prefix}cc; ac_word=$2
 3975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3976: $as_echo_n "checking for $ac_word... " >&6; }
 3977: if ${ac_cv_prog_CC+:} false; then :
 3978:   $as_echo_n "(cached) " >&6
 3979: else
 3980:   if test -n "$CC"; then
 3981:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3982: else
 3983: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3984: for as_dir in $PATH
 3985: do
 3986:   IFS=$as_save_IFS
 3987:   test -z "$as_dir" && as_dir=.
 3988:     for ac_exec_ext in '' $ac_executable_extensions; do
 3989:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3990:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3991:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3992:     break 2
 3993:   fi
 3994: done
 3995:   done
 3996: IFS=$as_save_IFS
 3997: 
 3998: fi
 3999: fi
 4000: CC=$ac_cv_prog_CC
 4001: if test -n "$CC"; then
 4002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4003: $as_echo "$CC" >&6; }
 4004: else
 4005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4006: $as_echo "no" >&6; }
 4007: fi
 4008: 
 4009: 
 4010:   fi
 4011: fi
 4012: if test -z "$CC"; then
 4013:   # Extract the first word of "cc", so it can be a program name with args.
 4014: set dummy cc; ac_word=$2
 4015: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4016: $as_echo_n "checking for $ac_word... " >&6; }
 4017: if ${ac_cv_prog_CC+:} false; then :
 4018:   $as_echo_n "(cached) " >&6
 4019: else
 4020:   if test -n "$CC"; then
 4021:   ac_cv_prog_CC="$CC" # Let the user override the test.
 4022: else
 4023:   ac_prog_rejected=no
 4024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4025: for as_dir in $PATH
 4026: do
 4027:   IFS=$as_save_IFS
 4028:   test -z "$as_dir" && as_dir=.
 4029:     for ac_exec_ext in '' $ac_executable_extensions; do
 4030:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4031:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 4032:        ac_prog_rejected=yes
 4033:        continue
 4034:      fi
 4035:     ac_cv_prog_CC="cc"
 4036:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4037:     break 2
 4038:   fi
 4039: done
 4040:   done
 4041: IFS=$as_save_IFS
 4042: 
 4043: if test $ac_prog_rejected = yes; then
 4044:   # We found a bogon in the path, so make sure we never use it.
 4045:   set dummy $ac_cv_prog_CC
 4046:   shift
 4047:   if test $# != 0; then
 4048:     # We chose a different compiler from the bogus one.
 4049:     # However, it has the same basename, so the bogon will be chosen
 4050:     # first if we set CC to just the basename; use the full file name.
 4051:     shift
 4052:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 4053:   fi
 4054: fi
 4055: fi
 4056: fi
 4057: CC=$ac_cv_prog_CC
 4058: if test -n "$CC"; then
 4059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4060: $as_echo "$CC" >&6; }
 4061: else
 4062:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4063: $as_echo "no" >&6; }
 4064: fi
 4065: 
 4066: 
 4067: fi
 4068: if test -z "$CC"; then
 4069:   if test -n "$ac_tool_prefix"; then
 4070:   for ac_prog in cl.exe
 4071:   do
 4072:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4073: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4075: $as_echo_n "checking for $ac_word... " >&6; }
 4076: if ${ac_cv_prog_CC+:} false; then :
 4077:   $as_echo_n "(cached) " >&6
 4078: else
 4079:   if test -n "$CC"; then
 4080:   ac_cv_prog_CC="$CC" # Let the user override the test.
 4081: else
 4082: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4083: for as_dir in $PATH
 4084: do
 4085:   IFS=$as_save_IFS
 4086:   test -z "$as_dir" && as_dir=.
 4087:     for ac_exec_ext in '' $ac_executable_extensions; do
 4088:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4089:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 4090:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4091:     break 2
 4092:   fi
 4093: done
 4094:   done
 4095: IFS=$as_save_IFS
 4096: 
 4097: fi
 4098: fi
 4099: CC=$ac_cv_prog_CC
 4100: if test -n "$CC"; then
 4101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 4102: $as_echo "$CC" >&6; }
 4103: else
 4104:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4105: $as_echo "no" >&6; }
 4106: fi
 4107: 
 4108: 
 4109:     test -n "$CC" && break
 4110:   done
 4111: fi
 4112: if test -z "$CC"; then
 4113:   ac_ct_CC=$CC
 4114:   for ac_prog in cl.exe
 4115: do
 4116:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4117: set dummy $ac_prog; ac_word=$2
 4118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4119: $as_echo_n "checking for $ac_word... " >&6; }
 4120: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 4121:   $as_echo_n "(cached) " >&6
 4122: else
 4123:   if test -n "$ac_ct_CC"; then
 4124:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 4125: else
 4126: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4127: for as_dir in $PATH
 4128: do
 4129:   IFS=$as_save_IFS
 4130:   test -z "$as_dir" && as_dir=.
 4131:     for ac_exec_ext in '' $ac_executable_extensions; do
 4132:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4133:     ac_cv_prog_ac_ct_CC="$ac_prog"
 4134:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4135:     break 2
 4136:   fi
 4137: done
 4138:   done
 4139: IFS=$as_save_IFS
 4140: 
 4141: fi
 4142: fi
 4143: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 4144: if test -n "$ac_ct_CC"; then
 4145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 4146: $as_echo "$ac_ct_CC" >&6; }
 4147: else
 4148:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4149: $as_echo "no" >&6; }
 4150: fi
 4151: 
 4152: 
 4153:   test -n "$ac_ct_CC" && break
 4154: done
 4155: 
 4156:   if test "x$ac_ct_CC" = x; then
 4157:     CC=""
 4158:   else
 4159:     case $cross_compiling:$ac_tool_warned in
 4160: yes:)
 4161: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4162: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4163: ac_tool_warned=yes ;;
 4164: esac
 4165:     CC=$ac_ct_CC
 4166:   fi
 4167: fi
 4168: 
 4169: fi
 4170: 
 4171: 
 4172: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4173: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4174: as_fn_error $? "no acceptable C compiler found in \$PATH
 4175: See \`config.log' for more details" "$LINENO" 5; }
 4176: 
 4177: # Provide some information about the compiler.
 4178: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 4179: set X $ac_compile
 4180: ac_compiler=$2
 4181: for ac_option in --version -v -V -qversion; do
 4182:   { { ac_try="$ac_compiler $ac_option >&5"
 4183: case "(($ac_try" in
 4184:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4185:   *) ac_try_echo=$ac_try;;
 4186: esac
 4187: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4188: $as_echo "$ac_try_echo"; } >&5
 4189:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4190:   ac_status=$?
 4191:   if test -s conftest.err; then
 4192:     sed '10a\
 4193: ... rest of stderr output deleted ...
 4194:          10q' conftest.err >conftest.er1
 4195:     cat conftest.er1 >&5
 4196:   fi
 4197:   rm -f conftest.er1 conftest.err
 4198:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4199:   test $ac_status = 0; }
 4200: done
 4201: 
 4202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4203: /* end confdefs.h.  */
 4204: 
 4205: int
 4206: main ()
 4207: {
 4208: 
 4209:   ;
 4210:   return 0;
 4211: }
 4212: _ACEOF
 4213: ac_clean_files_save=$ac_clean_files
 4214: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 4215: # Try to create an executable without -o first, disregard a.out.
 4216: # It will help us diagnose broken compilers, and finding out an intuition
 4217: # of exeext.
 4218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 4219: $as_echo_n "checking whether the C compiler works... " >&6; }
 4220: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 4221: 
 4222: # The possible output files:
 4223: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 4224: 
 4225: ac_rmfiles=
 4226: for ac_file in $ac_files
 4227: do
 4228:   case $ac_file in
 4229:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 4230:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 4231:   esac
 4232: done
 4233: rm -f $ac_rmfiles
 4234: 
 4235: if { { ac_try="$ac_link_default"
 4236: case "(($ac_try" in
 4237:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4238:   *) ac_try_echo=$ac_try;;
 4239: esac
 4240: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4241: $as_echo "$ac_try_echo"; } >&5
 4242:   (eval "$ac_link_default") 2>&5
 4243:   ac_status=$?
 4244:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4245:   test $ac_status = 0; }; then :
 4246:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 4247: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 4248: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 4249: # so that the user can short-circuit this test for compilers unknown to
 4250: # Autoconf.
 4251: for ac_file in $ac_files ''
 4252: do
 4253:   test -f "$ac_file" || continue
 4254:   case $ac_file in
 4255:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 4256: 	;;
 4257:     [ab].out )
 4258: 	# We found the default executable, but exeext='' is most
 4259: 	# certainly right.
 4260: 	break;;
 4261:     *.* )
 4262: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 4263: 	then :; else
 4264: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 4265: 	fi
 4266: 	# We set ac_cv_exeext here because the later test for it is not
 4267: 	# safe: cross compilers may not add the suffix if given an `-o'
 4268: 	# argument, so we may need to know it at that point already.
 4269: 	# Even if this section looks crufty: it has the advantage of
 4270: 	# actually working.
 4271: 	break;;
 4272:     * )
 4273: 	break;;
 4274:   esac
 4275: done
 4276: test "$ac_cv_exeext" = no && ac_cv_exeext=
 4277: 
 4278: else
 4279:   ac_file=''
 4280: fi
 4281: if test -z "$ac_file"; then :
 4282:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4283: $as_echo "no" >&6; }
 4284: $as_echo "$as_me: failed program was:" >&5
 4285: sed 's/^/| /' conftest.$ac_ext >&5
 4286: 
 4287: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4288: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4289: as_fn_error 77 "C compiler cannot create executables
 4290: See \`config.log' for more details" "$LINENO" 5; }
 4291: else
 4292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4293: $as_echo "yes" >&6; }
 4294: fi
 4295: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 4296: $as_echo_n "checking for C compiler default output file name... " >&6; }
 4297: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 4298: $as_echo "$ac_file" >&6; }
 4299: ac_exeext=$ac_cv_exeext
 4300: 
 4301: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 4302: ac_clean_files=$ac_clean_files_save
 4303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 4304: $as_echo_n "checking for suffix of executables... " >&6; }
 4305: if { { ac_try="$ac_link"
 4306: case "(($ac_try" in
 4307:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4308:   *) ac_try_echo=$ac_try;;
 4309: esac
 4310: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4311: $as_echo "$ac_try_echo"; } >&5
 4312:   (eval "$ac_link") 2>&5
 4313:   ac_status=$?
 4314:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4315:   test $ac_status = 0; }; then :
 4316:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 4317: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 4318: # work properly (i.e., refer to `conftest.exe'), while it won't with
 4319: # `rm'.
 4320: for ac_file in conftest.exe conftest conftest.*; do
 4321:   test -f "$ac_file" || continue
 4322:   case $ac_file in
 4323:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 4324:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 4325: 	  break;;
 4326:     * ) break;;
 4327:   esac
 4328: done
 4329: else
 4330:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4331: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4332: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 4333: See \`config.log' for more details" "$LINENO" 5; }
 4334: fi
 4335: rm -f conftest conftest$ac_cv_exeext
 4336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 4337: $as_echo "$ac_cv_exeext" >&6; }
 4338: 
 4339: rm -f conftest.$ac_ext
 4340: EXEEXT=$ac_cv_exeext
 4341: ac_exeext=$EXEEXT
 4342: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4343: /* end confdefs.h.  */
 4344: #include <stdio.h>
 4345: int
 4346: main ()
 4347: {
 4348: FILE *f = fopen ("conftest.out", "w");
 4349:  return ferror (f) || fclose (f) != 0;
 4350: 
 4351:   ;
 4352:   return 0;
 4353: }
 4354: _ACEOF
 4355: ac_clean_files="$ac_clean_files conftest.out"
 4356: # Check that the compiler produces executables we can run.  If not, either
 4357: # the compiler is broken, or we cross compile.
 4358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 4359: $as_echo_n "checking whether we are cross compiling... " >&6; }
 4360: if test "$cross_compiling" != yes; then
 4361:   { { ac_try="$ac_link"
 4362: case "(($ac_try" in
 4363:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4364:   *) ac_try_echo=$ac_try;;
 4365: esac
 4366: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4367: $as_echo "$ac_try_echo"; } >&5
 4368:   (eval "$ac_link") 2>&5
 4369:   ac_status=$?
 4370:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4371:   test $ac_status = 0; }
 4372:   if { ac_try='./conftest$ac_cv_exeext'
 4373:   { { case "(($ac_try" in
 4374:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4375:   *) ac_try_echo=$ac_try;;
 4376: esac
 4377: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4378: $as_echo "$ac_try_echo"; } >&5
 4379:   (eval "$ac_try") 2>&5
 4380:   ac_status=$?
 4381:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4382:   test $ac_status = 0; }; }; then
 4383:     cross_compiling=no
 4384:   else
 4385:     if test "$cross_compiling" = maybe; then
 4386: 	cross_compiling=yes
 4387:     else
 4388: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4389: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4390: as_fn_error $? "cannot run C compiled programs.
 4391: If you meant to cross compile, use \`--host'.
 4392: See \`config.log' for more details" "$LINENO" 5; }
 4393:     fi
 4394:   fi
 4395: fi
 4396: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 4397: $as_echo "$cross_compiling" >&6; }
 4398: 
 4399: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 4400: ac_clean_files=$ac_clean_files_save
 4401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 4402: $as_echo_n "checking for suffix of object files... " >&6; }
 4403: if ${ac_cv_objext+:} false; then :
 4404:   $as_echo_n "(cached) " >&6
 4405: else
 4406:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4407: /* end confdefs.h.  */
 4408: 
 4409: int
 4410: main ()
 4411: {
 4412: 
 4413:   ;
 4414:   return 0;
 4415: }
 4416: _ACEOF
 4417: rm -f conftest.o conftest.obj
 4418: if { { ac_try="$ac_compile"
 4419: case "(($ac_try" in
 4420:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4421:   *) ac_try_echo=$ac_try;;
 4422: esac
 4423: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4424: $as_echo "$ac_try_echo"; } >&5
 4425:   (eval "$ac_compile") 2>&5
 4426:   ac_status=$?
 4427:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4428:   test $ac_status = 0; }; then :
 4429:   for ac_file in conftest.o conftest.obj conftest.*; do
 4430:   test -f "$ac_file" || continue;
 4431:   case $ac_file in
 4432:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 4433:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 4434:        break;;
 4435:   esac
 4436: done
 4437: else
 4438:   $as_echo "$as_me: failed program was:" >&5
 4439: sed 's/^/| /' conftest.$ac_ext >&5
 4440: 
 4441: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4442: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4443: as_fn_error $? "cannot compute suffix of object files: cannot compile
 4444: See \`config.log' for more details" "$LINENO" 5; }
 4445: fi
 4446: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 4447: fi
 4448: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 4449: $as_echo "$ac_cv_objext" >&6; }
 4450: OBJEXT=$ac_cv_objext
 4451: ac_objext=$OBJEXT
 4452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 4453: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 4454: if ${ac_cv_c_compiler_gnu+:} false; then :
 4455:   $as_echo_n "(cached) " >&6
 4456: else
 4457:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4458: /* end confdefs.h.  */
 4459: 
 4460: int
 4461: main ()
 4462: {
 4463: #ifndef __GNUC__
 4464:        choke me
 4465: #endif
 4466: 
 4467:   ;
 4468:   return 0;
 4469: }
 4470: _ACEOF
 4471: if ac_fn_c_try_compile "$LINENO"; then :
 4472:   ac_compiler_gnu=yes
 4473: else
 4474:   ac_compiler_gnu=no
 4475: fi
 4476: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4477: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 4478: 
 4479: fi
 4480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 4481: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 4482: if test $ac_compiler_gnu = yes; then
 4483:   GCC=yes
 4484: else
 4485:   GCC=
 4486: fi
 4487: ac_test_CFLAGS=${CFLAGS+set}
 4488: ac_save_CFLAGS=$CFLAGS
 4489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 4490: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 4491: if ${ac_cv_prog_cc_g+:} false; then :
 4492:   $as_echo_n "(cached) " >&6
 4493: else
 4494:   ac_save_c_werror_flag=$ac_c_werror_flag
 4495:    ac_c_werror_flag=yes
 4496:    ac_cv_prog_cc_g=no
 4497:    CFLAGS="-g"
 4498:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4499: /* end confdefs.h.  */
 4500: 
 4501: int
 4502: main ()
 4503: {
 4504: 
 4505:   ;
 4506:   return 0;
 4507: }
 4508: _ACEOF
 4509: if ac_fn_c_try_compile "$LINENO"; then :
 4510:   ac_cv_prog_cc_g=yes
 4511: else
 4512:   CFLAGS=""
 4513:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4514: /* end confdefs.h.  */
 4515: 
 4516: int
 4517: main ()
 4518: {
 4519: 
 4520:   ;
 4521:   return 0;
 4522: }
 4523: _ACEOF
 4524: if ac_fn_c_try_compile "$LINENO"; then :
 4525: 
 4526: else
 4527:   ac_c_werror_flag=$ac_save_c_werror_flag
 4528: 	 CFLAGS="-g"
 4529: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4530: /* end confdefs.h.  */
 4531: 
 4532: int
 4533: main ()
 4534: {
 4535: 
 4536:   ;
 4537:   return 0;
 4538: }
 4539: _ACEOF
 4540: if ac_fn_c_try_compile "$LINENO"; then :
 4541:   ac_cv_prog_cc_g=yes
 4542: fi
 4543: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4544: fi
 4545: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4546: fi
 4547: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4548:    ac_c_werror_flag=$ac_save_c_werror_flag
 4549: fi
 4550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 4551: $as_echo "$ac_cv_prog_cc_g" >&6; }
 4552: if test "$ac_test_CFLAGS" = set; then
 4553:   CFLAGS=$ac_save_CFLAGS
 4554: elif test $ac_cv_prog_cc_g = yes; then
 4555:   if test "$GCC" = yes; then
 4556:     CFLAGS="-g -O2"
 4557:   else
 4558:     CFLAGS="-g"
 4559:   fi
 4560: else
 4561:   if test "$GCC" = yes; then
 4562:     CFLAGS="-O2"
 4563:   else
 4564:     CFLAGS=
 4565:   fi
 4566: fi
 4567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 4568: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 4569: if ${ac_cv_prog_cc_c89+:} false; then :
 4570:   $as_echo_n "(cached) " >&6
 4571: else
 4572:   ac_cv_prog_cc_c89=no
 4573: ac_save_CC=$CC
 4574: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4575: /* end confdefs.h.  */
 4576: #include <stdarg.h>
 4577: #include <stdio.h>
 4578: struct stat;
 4579: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 4580: struct buf { int x; };
 4581: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 4582: static char *e (p, i)
 4583:      char **p;
 4584:      int i;
 4585: {
 4586:   return p[i];
 4587: }
 4588: static char *f (char * (*g) (char **, int), char **p, ...)
 4589: {
 4590:   char *s;
 4591:   va_list v;
 4592:   va_start (v,p);
 4593:   s = g (p, va_arg (v,int));
 4594:   va_end (v);
 4595:   return s;
 4596: }
 4597: 
 4598: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 4599:    function prototypes and stuff, but not '\xHH' hex character constants.
 4600:    These don't provoke an error unfortunately, instead are silently treated
 4601:    as 'x'.  The following induces an error, until -std is added to get
 4602:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 4603:    array size at least.  It's necessary to write '\x00'==0 to get something
 4604:    that's true only with -std.  */
 4605: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 4606: 
 4607: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 4608:    inside strings and character constants.  */
 4609: #define FOO(x) 'x'
 4610: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 4611: 
 4612: int test (int i, double x);
 4613: struct s1 {int (*f) (int a);};
 4614: struct s2 {int (*f) (double a);};
 4615: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 4616: int argc;
 4617: char **argv;
 4618: int
 4619: main ()
 4620: {
 4621: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 4622:   ;
 4623:   return 0;
 4624: }
 4625: _ACEOF
 4626: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 4627: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 4628: do
 4629:   CC="$ac_save_CC $ac_arg"
 4630:   if ac_fn_c_try_compile "$LINENO"; then :
 4631:   ac_cv_prog_cc_c89=$ac_arg
 4632: fi
 4633: rm -f core conftest.err conftest.$ac_objext
 4634:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 4635: done
 4636: rm -f conftest.$ac_ext
 4637: CC=$ac_save_CC
 4638: 
 4639: fi
 4640: # AC_CACHE_VAL
 4641: case "x$ac_cv_prog_cc_c89" in
 4642:   x)
 4643:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 4644: $as_echo "none needed" >&6; } ;;
 4645:   xno)
 4646:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 4647: $as_echo "unsupported" >&6; } ;;
 4648:   *)
 4649:     CC="$CC $ac_cv_prog_cc_c89"
 4650:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 4651: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 4652: esac
 4653: if test "x$ac_cv_prog_cc_c89" != xno; then :
 4654: 
 4655: fi
 4656: 
 4657: ac_ext=c
 4658: ac_cpp='$CPP $CPPFLAGS'
 4659: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4660: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4661: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4662: 
 4663: ac_ext=c
 4664: ac_cpp='$CPP $CPPFLAGS'
 4665: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4666: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4667: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 4669: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 4670: if ${am_cv_prog_cc_c_o+:} false; then :
 4671:   $as_echo_n "(cached) " >&6
 4672: else
 4673:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4674: /* end confdefs.h.  */
 4675: 
 4676: int
 4677: main ()
 4678: {
 4679: 
 4680:   ;
 4681:   return 0;
 4682: }
 4683: _ACEOF
 4684:   # Make sure it works both with $CC and with simple cc.
 4685:   # Following AC_PROG_CC_C_O, we do the test twice because some
 4686:   # compilers refuse to overwrite an existing .o file with -o,
 4687:   # though they will create one.
 4688:   am_cv_prog_cc_c_o=yes
 4689:   for am_i in 1 2; do
 4690:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 4691:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 4692:    ac_status=$?
 4693:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4694:    (exit $ac_status); } \
 4695:          && test -f conftest2.$ac_objext; then
 4696:       : OK
 4697:     else
 4698:       am_cv_prog_cc_c_o=no
 4699:       break
 4700:     fi
 4701:   done
 4702:   rm -f core conftest*
 4703:   unset am_i
 4704: fi
 4705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 4706: $as_echo "$am_cv_prog_cc_c_o" >&6; }
 4707: if test "$am_cv_prog_cc_c_o" != yes; then
 4708:    # Losing compiler, so override with the script.
 4709:    # FIXME: It is wrong to rewrite CC.
 4710:    # But if we don't then we get into trouble of one sort or another.
 4711:    # A longer-term fix would be to have automake use am__CC in this case,
 4712:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4713:    CC="$am_aux_dir/compile $CC"
 4714: fi
 4715: ac_ext=c
 4716: ac_cpp='$CPP $CPPFLAGS'
 4717: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4718: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4719: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4720: 
 4721: DEPDIR="${am__leading_dot}deps"
 4722: 
 4723: ac_config_commands="$ac_config_commands depfiles"
 4724: 
 4725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
 4726: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
 4727: cat > confinc.mk << 'END'
 4728: am__doit:
 4729: 	@echo this is the am__doit target >confinc.out
 4730: .PHONY: am__doit
 4731: END
 4732: am__include="#"
 4733: am__quote=
 4734: # BSD make does it like this.
 4735: echo '.include "confinc.mk" # ignored' > confmf.BSD
 4736: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
 4737: echo 'include confinc.mk # ignored' > confmf.GNU
 4738: _am_result=no
 4739: for s in GNU BSD; do
 4740:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
 4741:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
 4742:    ac_status=$?
 4743:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4744:    (exit $ac_status); }
 4745:   case $?:`cat confinc.out 2>/dev/null` in #(
 4746:   '0:this is the am__doit target') :
 4747:     case $s in #(
 4748:   BSD) :
 4749:     am__include='.include' am__quote='"' ;; #(
 4750:   *) :
 4751:     am__include='include' am__quote='' ;;
 4752: esac ;; #(
 4753:   *) :
 4754:      ;;
 4755: esac
 4756:   if test "$am__include" != "#"; then
 4757:     _am_result="yes ($s style)"
 4758:     break
 4759:   fi
 4760: done
 4761: rm -f confinc.* confmf.*
 4762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
 4763: $as_echo "${_am_result}" >&6; }
 4764: 
 4765: # Check whether --enable-dependency-tracking was given.
 4766: if test "${enable_dependency_tracking+set}" = set; then :
 4767:   enableval=$enable_dependency_tracking;
 4768: fi
 4769: 
 4770: if test "x$enable_dependency_tracking" != xno; then
 4771:   am_depcomp="$ac_aux_dir/depcomp"
 4772:   AMDEPBACKSLASH='\'
 4773:   am__nodep='_no'
 4774: fi
 4775:  if test "x$enable_dependency_tracking" != xno; then
 4776:   AMDEP_TRUE=
 4777:   AMDEP_FALSE='#'
 4778: else
 4779:   AMDEP_TRUE='#'
 4780:   AMDEP_FALSE=
 4781: fi
 4782: 
 4783: 
 4784: 
 4785: depcc="$CC"   am_compiler_list=
 4786: 
 4787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4788: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4789: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 4790:   $as_echo_n "(cached) " >&6
 4791: else
 4792:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4793:   # We make a subdir and do the tests there.  Otherwise we can end up
 4794:   # making bogus files that we don't know about and never remove.  For
 4795:   # instance it was reported that on HP-UX the gcc test will end up
 4796:   # making a dummy file named 'D' -- because '-MD' means "put the output
 4797:   # in D".
 4798:   rm -rf conftest.dir
 4799:   mkdir conftest.dir
 4800:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4801:   # using a relative directory.
 4802:   cp "$am_depcomp" conftest.dir
 4803:   cd conftest.dir
 4804:   # We will build objects and dependencies in a subdirectory because
 4805:   # it helps to detect inapplicable dependency modes.  For instance
 4806:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4807:   # side effect of compilation, but ICC will put the dependencies in
 4808:   # the current directory while Tru64 will put them in the object
 4809:   # directory.
 4810:   mkdir sub
 4811: 
 4812:   am_cv_CC_dependencies_compiler_type=none
 4813:   if test "$am_compiler_list" = ""; then
 4814:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4815:   fi
 4816:   am__universal=false
 4817:   case " $depcc " in #(
 4818:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4819:      esac
 4820: 
 4821:   for depmode in $am_compiler_list; do
 4822:     # Setup a source with many dependencies, because some compilers
 4823:     # like to wrap large dependency lists on column 80 (with \), and
 4824:     # we should not choose a depcomp mode which is confused by this.
 4825:     #
 4826:     # We need to recreate these files for each test, as the compiler may
 4827:     # overwrite some of them when testing with obscure command lines.
 4828:     # This happens at least with the AIX C compiler.
 4829:     : > sub/conftest.c
 4830:     for i in 1 2 3 4 5 6; do
 4831:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4832:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 4833:       # Solaris 10 /bin/sh.
 4834:       echo '/* dummy */' > sub/conftst$i.h
 4835:     done
 4836:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4837: 
 4838:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 4839:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4840:     # handle '-M -o', and we need to detect this.  Also, some Intel
 4841:     # versions had trouble with output in subdirs.
 4842:     am__obj=sub/conftest.${OBJEXT-o}
 4843:     am__minus_obj="-o $am__obj"
 4844:     case $depmode in
 4845:     gcc)
 4846:       # This depmode causes a compiler race in universal mode.
 4847:       test "$am__universal" = false || continue
 4848:       ;;
 4849:     nosideeffect)
 4850:       # After this tag, mechanisms are not by side-effect, so they'll
 4851:       # only be used when explicitly requested.
 4852:       if test "x$enable_dependency_tracking" = xyes; then
 4853: 	continue
 4854:       else
 4855: 	break
 4856:       fi
 4857:       ;;
 4858:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 4859:       # This compiler won't grok '-c -o', but also, the minuso test has
 4860:       # not run yet.  These depmodes are late enough in the game, and
 4861:       # so weak that their functioning should not be impacted.
 4862:       am__obj=conftest.${OBJEXT-o}
 4863:       am__minus_obj=
 4864:       ;;
 4865:     none) break ;;
 4866:     esac
 4867:     if depmode=$depmode \
 4868:        source=sub/conftest.c object=$am__obj \
 4869:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4870:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4871:          >/dev/null 2>conftest.err &&
 4872:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4873:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4874:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4875:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4876:       # icc doesn't choke on unknown options, it will just issue warnings
 4877:       # or remarks (even with -Werror).  So we grep stderr for any message
 4878:       # that says an option was ignored or not supported.
 4879:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4880:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4881:       # The diagnosis changed in icc 8.0:
 4882:       #   icc: Command line remark: option '-MP' not supported
 4883:       if (grep 'ignoring option' conftest.err ||
 4884:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4885:         am_cv_CC_dependencies_compiler_type=$depmode
 4886:         break
 4887:       fi
 4888:     fi
 4889:   done
 4890: 
 4891:   cd ..
 4892:   rm -rf conftest.dir
 4893: else
 4894:   am_cv_CC_dependencies_compiler_type=none
 4895: fi
 4896: 
 4897: fi
 4898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4899: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4900: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4901: 
 4902:  if
 4903:   test "x$enable_dependency_tracking" != xno \
 4904:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4905:   am__fastdepCC_TRUE=
 4906:   am__fastdepCC_FALSE='#'
 4907: else
 4908:   am__fastdepCC_TRUE='#'
 4909:   am__fastdepCC_FALSE=
 4910: fi
 4911: 
 4912: 
 4913: ac_ext=c
 4914: ac_cpp='$CPP $CPPFLAGS'
 4915: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4916: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4917: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4919: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4920: # On Suns, sometimes $CPP names a directory.
 4921: if test -n "$CPP" && test -d "$CPP"; then
 4922:   CPP=
 4923: fi
 4924: if test -z "$CPP"; then
 4925:   if ${ac_cv_prog_CPP+:} false; then :
 4926:   $as_echo_n "(cached) " >&6
 4927: else
 4928:       # Double quotes because CPP needs to be expanded
 4929:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4930:     do
 4931:       ac_preproc_ok=false
 4932: for ac_c_preproc_warn_flag in '' yes
 4933: do
 4934:   # Use a header file that comes with gcc, so configuring glibc
 4935:   # with a fresh cross-compiler works.
 4936:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4937:   # <limits.h> exists even on freestanding compilers.
 4938:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4939:   # not just through cpp. "Syntax error" is here to catch this case.
 4940:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4941: /* end confdefs.h.  */
 4942: #ifdef __STDC__
 4943: # include <limits.h>
 4944: #else
 4945: # include <assert.h>
 4946: #endif
 4947: 		     Syntax error
 4948: _ACEOF
 4949: if ac_fn_c_try_cpp "$LINENO"; then :
 4950: 
 4951: else
 4952:   # Broken: fails on valid input.
 4953: continue
 4954: fi
 4955: rm -f conftest.err conftest.i conftest.$ac_ext
 4956: 
 4957:   # OK, works on sane cases.  Now check whether nonexistent headers
 4958:   # can be detected and how.
 4959:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4960: /* end confdefs.h.  */
 4961: #include <ac_nonexistent.h>
 4962: _ACEOF
 4963: if ac_fn_c_try_cpp "$LINENO"; then :
 4964:   # Broken: success on invalid input.
 4965: continue
 4966: else
 4967:   # Passes both tests.
 4968: ac_preproc_ok=:
 4969: break
 4970: fi
 4971: rm -f conftest.err conftest.i conftest.$ac_ext
 4972: 
 4973: done
 4974: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4975: rm -f conftest.i conftest.err conftest.$ac_ext
 4976: if $ac_preproc_ok; then :
 4977:   break
 4978: fi
 4979: 
 4980:     done
 4981:     ac_cv_prog_CPP=$CPP
 4982: 
 4983: fi
 4984:   CPP=$ac_cv_prog_CPP
 4985: else
 4986:   ac_cv_prog_CPP=$CPP
 4987: fi
 4988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 4989: $as_echo "$CPP" >&6; }
 4990: ac_preproc_ok=false
 4991: for ac_c_preproc_warn_flag in '' yes
 4992: do
 4993:   # Use a header file that comes with gcc, so configuring glibc
 4994:   # with a fresh cross-compiler works.
 4995:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4996:   # <limits.h> exists even on freestanding compilers.
 4997:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4998:   # not just through cpp. "Syntax error" is here to catch this case.
 4999:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5000: /* end confdefs.h.  */
 5001: #ifdef __STDC__
 5002: # include <limits.h>
 5003: #else
 5004: # include <assert.h>
 5005: #endif
 5006: 		     Syntax error
 5007: _ACEOF
 5008: if ac_fn_c_try_cpp "$LINENO"; then :
 5009: 
 5010: else
 5011:   # Broken: fails on valid input.
 5012: continue
 5013: fi
 5014: rm -f conftest.err conftest.i conftest.$ac_ext
 5015: 
 5016:   # OK, works on sane cases.  Now check whether nonexistent headers
 5017:   # can be detected and how.
 5018:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5019: /* end confdefs.h.  */
 5020: #include <ac_nonexistent.h>
 5021: _ACEOF
 5022: if ac_fn_c_try_cpp "$LINENO"; then :
 5023:   # Broken: success on invalid input.
 5024: continue
 5025: else
 5026:   # Passes both tests.
 5027: ac_preproc_ok=:
 5028: break
 5029: fi
 5030: rm -f conftest.err conftest.i conftest.$ac_ext
 5031: 
 5032: done
 5033: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5034: rm -f conftest.i conftest.err conftest.$ac_ext
 5035: if $ac_preproc_ok; then :
 5036: 
 5037: else
 5038:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5039: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5040: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5041: See \`config.log' for more details" "$LINENO" 5; }
 5042: fi
 5043: 
 5044: ac_ext=c
 5045: ac_cpp='$CPP $CPPFLAGS'
 5046: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5047: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5048: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5049: 
 5050: 
 5051: 
 5052: # Extract the first word of "strip", so it can be a program name with args.
 5053: set dummy strip; ac_word=$2
 5054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5055: $as_echo_n "checking for $ac_word... " >&6; }
 5056: if ${ac_cv_path_STRIP+:} false; then :
 5057:   $as_echo_n "(cached) " >&6
 5058: else
 5059:   case $STRIP in
 5060:   [\\/]* | ?:[\\/]*)
 5061:   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
 5062:   ;;
 5063:   *)
 5064:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5065: for as_dir in $PATH
 5066: do
 5067:   IFS=$as_save_IFS
 5068:   test -z "$as_dir" && as_dir=.
 5069:     for ac_exec_ext in '' $ac_executable_extensions; do
 5070:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5071:     ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
 5072:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5073:     break 2
 5074:   fi
 5075: done
 5076:   done
 5077: IFS=$as_save_IFS
 5078: 
 5079:   test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP=":"
 5080:   ;;
 5081: esac
 5082: fi
 5083: STRIP=$ac_cv_path_STRIP
 5084: if test -n "$STRIP"; then
 5085:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 5086: $as_echo "$STRIP" >&6; }
 5087: else
 5088:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5089: $as_echo "no" >&6; }
 5090: fi
 5091: 
 5092:  # Installed binaries are usually stripped using 'strip' when the user
 5093: # run "make install-strip".  However 'strip' might not be the right
 5094: # tool to use in cross-compilation environments, therefore Automake
 5095: # will honor the 'STRIP' environment variable to overrule this program.
 5096: if test "$cross_compiling" != no; then
 5097:   if test -n "$ac_tool_prefix"; then
 5098:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 5099: set dummy ${ac_tool_prefix}strip; ac_word=$2
 5100: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5101: $as_echo_n "checking for $ac_word... " >&6; }
 5102: if ${ac_cv_prog_STRIP+:} false; then :
 5103:   $as_echo_n "(cached) " >&6
 5104: else
 5105:   if test -n "$STRIP"; then
 5106:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 5107: else
 5108: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5109: for as_dir in $PATH
 5110: do
 5111:   IFS=$as_save_IFS
 5112:   test -z "$as_dir" && as_dir=.
 5113:     for ac_exec_ext in '' $ac_executable_extensions; do
 5114:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5115:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 5116:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5117:     break 2
 5118:   fi
 5119: done
 5120:   done
 5121: IFS=$as_save_IFS
 5122: 
 5123: fi
 5124: fi
 5125: STRIP=$ac_cv_prog_STRIP
 5126: if test -n "$STRIP"; then
 5127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 5128: $as_echo "$STRIP" >&6; }
 5129: else
 5130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5131: $as_echo "no" >&6; }
 5132: fi
 5133: 
 5134: 
 5135: fi
 5136: if test -z "$ac_cv_prog_STRIP"; then
 5137:   ac_ct_STRIP=$STRIP
 5138:   # Extract the first word of "strip", so it can be a program name with args.
 5139: set dummy strip; ac_word=$2
 5140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5141: $as_echo_n "checking for $ac_word... " >&6; }
 5142: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 5143:   $as_echo_n "(cached) " >&6
 5144: else
 5145:   if test -n "$ac_ct_STRIP"; then
 5146:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 5147: else
 5148: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5149: for as_dir in $PATH
 5150: do
 5151:   IFS=$as_save_IFS
 5152:   test -z "$as_dir" && as_dir=.
 5153:     for ac_exec_ext in '' $ac_executable_extensions; do
 5154:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5155:     ac_cv_prog_ac_ct_STRIP="strip"
 5156:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5157:     break 2
 5158:   fi
 5159: done
 5160:   done
 5161: IFS=$as_save_IFS
 5162: 
 5163: fi
 5164: fi
 5165: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 5166: if test -n "$ac_ct_STRIP"; then
 5167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 5168: $as_echo "$ac_ct_STRIP" >&6; }
 5169: else
 5170:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5171: $as_echo "no" >&6; }
 5172: fi
 5173: 
 5174:   if test "x$ac_ct_STRIP" = x; then
 5175:     STRIP=":"
 5176:   else
 5177:     case $cross_compiling:$ac_tool_warned in
 5178: yes:)
 5179: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5180: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5181: ac_tool_warned=yes ;;
 5182: esac
 5183:     STRIP=$ac_ct_STRIP
 5184:   fi
 5185: else
 5186:   STRIP="$ac_cv_prog_STRIP"
 5187: fi
 5188: 
 5189: fi
 5190: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 5191: 
 5192: 
 5193: # Make sure we can run config.sub.
 5194: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 5195:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 5196: 
 5197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 5198: $as_echo_n "checking build system type... " >&6; }
 5199: if ${ac_cv_build+:} false; then :
 5200:   $as_echo_n "(cached) " >&6
 5201: else
 5202:   ac_build_alias=$build_alias
 5203: test "x$ac_build_alias" = x &&
 5204:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 5205: test "x$ac_build_alias" = x &&
 5206:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 5207: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 5208:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 5209: 
 5210: fi
 5211: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 5212: $as_echo "$ac_cv_build" >&6; }
 5213: case $ac_cv_build in
 5214: *-*-*) ;;
 5215: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 5216: esac
 5217: build=$ac_cv_build
 5218: ac_save_IFS=$IFS; IFS='-'
 5219: set x $ac_cv_build
 5220: shift
 5221: build_cpu=$1
 5222: build_vendor=$2
 5223: shift; shift
 5224: # Remember, the first character of IFS is used to create $*,
 5225: # except with old shells:
 5226: build_os=$*
 5227: IFS=$ac_save_IFS
 5228: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 5229: 
 5230: 
 5231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 5232: $as_echo_n "checking host system type... " >&6; }
 5233: if ${ac_cv_host+:} false; then :
 5234:   $as_echo_n "(cached) " >&6
 5235: else
 5236:   if test "x$host_alias" = x; then
 5237:   ac_cv_host=$ac_cv_build
 5238: else
 5239:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 5240:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 5241: fi
 5242: 
 5243: fi
 5244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 5245: $as_echo "$ac_cv_host" >&6; }
 5246: case $ac_cv_host in
 5247: *-*-*) ;;
 5248: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 5249: esac
 5250: host=$ac_cv_host
 5251: ac_save_IFS=$IFS; IFS='-'
 5252: set x $ac_cv_host
 5253: shift
 5254: host_cpu=$1
 5255: host_vendor=$2
 5256: shift; shift
 5257: # Remember, the first character of IFS is used to create $*,
 5258: # except with old shells:
 5259: host_os=$*
 5260: IFS=$ac_save_IFS
 5261: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 5262: 
 5263: 
 5264: 
 5265: 
 5266: 
 5267: 
 5268: 
 5269: 
 5270: 
 5271: 
 5272: 
 5273: 
 5274: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 5275: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 5276: if ${ac_cv_path_GREP+:} false; then :
 5277:   $as_echo_n "(cached) " >&6
 5278: else
 5279:   if test -z "$GREP"; then
 5280:   ac_path_GREP_found=false
 5281:   # Loop through the user's path and test for each of PROGNAME-LIST
 5282:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5283: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5284: do
 5285:   IFS=$as_save_IFS
 5286:   test -z "$as_dir" && as_dir=.
 5287:     for ac_prog in grep ggrep; do
 5288:     for ac_exec_ext in '' $ac_executable_extensions; do
 5289:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 5290:       as_fn_executable_p "$ac_path_GREP" || continue
 5291: # Check for GNU ac_path_GREP and select it if it is found.
 5292:   # Check for GNU $ac_path_GREP
 5293: case `"$ac_path_GREP" --version 2>&1` in
 5294: *GNU*)
 5295:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 5296: *)
 5297:   ac_count=0
 5298:   $as_echo_n 0123456789 >"conftest.in"
 5299:   while :
 5300:   do
 5301:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5302:     mv "conftest.tmp" "conftest.in"
 5303:     cp "conftest.in" "conftest.nl"
 5304:     $as_echo 'GREP' >> "conftest.nl"
 5305:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5306:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5307:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5308:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 5309:       # Best one so far, save it but keep looking for a better one
 5310:       ac_cv_path_GREP="$ac_path_GREP"
 5311:       ac_path_GREP_max=$ac_count
 5312:     fi
 5313:     # 10*(2^10) chars as input seems more than enough
 5314:     test $ac_count -gt 10 && break
 5315:   done
 5316:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5317: esac
 5318: 
 5319:       $ac_path_GREP_found && break 3
 5320:     done
 5321:   done
 5322:   done
 5323: IFS=$as_save_IFS
 5324:   if test -z "$ac_cv_path_GREP"; then
 5325:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5326:   fi
 5327: else
 5328:   ac_cv_path_GREP=$GREP
 5329: fi
 5330: 
 5331: fi
 5332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 5333: $as_echo "$ac_cv_path_GREP" >&6; }
 5334:  GREP="$ac_cv_path_GREP"
 5335: 
 5336: 
 5337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 5338: $as_echo_n "checking for egrep... " >&6; }
 5339: if ${ac_cv_path_EGREP+:} false; then :
 5340:   $as_echo_n "(cached) " >&6
 5341: else
 5342:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 5343:    then ac_cv_path_EGREP="$GREP -E"
 5344:    else
 5345:      if test -z "$EGREP"; then
 5346:   ac_path_EGREP_found=false
 5347:   # Loop through the user's path and test for each of PROGNAME-LIST
 5348:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5349: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5350: do
 5351:   IFS=$as_save_IFS
 5352:   test -z "$as_dir" && as_dir=.
 5353:     for ac_prog in egrep; do
 5354:     for ac_exec_ext in '' $ac_executable_extensions; do
 5355:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 5356:       as_fn_executable_p "$ac_path_EGREP" || continue
 5357: # Check for GNU ac_path_EGREP and select it if it is found.
 5358:   # Check for GNU $ac_path_EGREP
 5359: case `"$ac_path_EGREP" --version 2>&1` in
 5360: *GNU*)
 5361:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 5362: *)
 5363:   ac_count=0
 5364:   $as_echo_n 0123456789 >"conftest.in"
 5365:   while :
 5366:   do
 5367:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5368:     mv "conftest.tmp" "conftest.in"
 5369:     cp "conftest.in" "conftest.nl"
 5370:     $as_echo 'EGREP' >> "conftest.nl"
 5371:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5372:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5373:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5374:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 5375:       # Best one so far, save it but keep looking for a better one
 5376:       ac_cv_path_EGREP="$ac_path_EGREP"
 5377:       ac_path_EGREP_max=$ac_count
 5378:     fi
 5379:     # 10*(2^10) chars as input seems more than enough
 5380:     test $ac_count -gt 10 && break
 5381:   done
 5382:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5383: esac
 5384: 
 5385:       $ac_path_EGREP_found && break 3
 5386:     done
 5387:   done
 5388:   done
 5389: IFS=$as_save_IFS
 5390:   if test -z "$ac_cv_path_EGREP"; then
 5391:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5392:   fi
 5393: else
 5394:   ac_cv_path_EGREP=$EGREP
 5395: fi
 5396: 
 5397:    fi
 5398: fi
 5399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 5400: $as_echo "$ac_cv_path_EGREP" >&6; }
 5401:  EGREP="$ac_cv_path_EGREP"
 5402: 
 5403: 
 5404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 5405: $as_echo_n "checking for ANSI C header files... " >&6; }
 5406: if ${ac_cv_header_stdc+:} false; then :
 5407:   $as_echo_n "(cached) " >&6
 5408: else
 5409:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5410: /* end confdefs.h.  */
 5411: #include <stdlib.h>
 5412: #include <stdarg.h>
 5413: #include <string.h>
 5414: #include <float.h>
 5415: 
 5416: int
 5417: main ()
 5418: {
 5419: 
 5420:   ;
 5421:   return 0;
 5422: }
 5423: _ACEOF
 5424: if ac_fn_c_try_compile "$LINENO"; then :
 5425:   ac_cv_header_stdc=yes
 5426: else
 5427:   ac_cv_header_stdc=no
 5428: fi
 5429: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5430: 
 5431: if test $ac_cv_header_stdc = yes; then
 5432:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5433:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5434: /* end confdefs.h.  */
 5435: #include <string.h>
 5436: 
 5437: _ACEOF
 5438: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5439:   $EGREP "memchr" >/dev/null 2>&1; then :
 5440: 
 5441: else
 5442:   ac_cv_header_stdc=no
 5443: fi
 5444: rm -f conftest*
 5445: 
 5446: fi
 5447: 
 5448: if test $ac_cv_header_stdc = yes; then
 5449:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5450:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5451: /* end confdefs.h.  */
 5452: #include <stdlib.h>
 5453: 
 5454: _ACEOF
 5455: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5456:   $EGREP "free" >/dev/null 2>&1; then :
 5457: 
 5458: else
 5459:   ac_cv_header_stdc=no
 5460: fi
 5461: rm -f conftest*
 5462: 
 5463: fi
 5464: 
 5465: if test $ac_cv_header_stdc = yes; then
 5466:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5467:   if test "$cross_compiling" = yes; then :
 5468:   :
 5469: else
 5470:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5471: /* end confdefs.h.  */
 5472: #include <ctype.h>
 5473: #include <stdlib.h>
 5474: #if ((' ' & 0x0FF) == 0x020)
 5475: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5476: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5477: #else
 5478: # define ISLOWER(c) \
 5479: 		   (('a' <= (c) && (c) <= 'i') \
 5480: 		     || ('j' <= (c) && (c) <= 'r') \
 5481: 		     || ('s' <= (c) && (c) <= 'z'))
 5482: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5483: #endif
 5484: 
 5485: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5486: int
 5487: main ()
 5488: {
 5489:   int i;
 5490:   for (i = 0; i < 256; i++)
 5491:     if (XOR (islower (i), ISLOWER (i))
 5492: 	|| toupper (i) != TOUPPER (i))
 5493:       return 2;
 5494:   return 0;
 5495: }
 5496: _ACEOF
 5497: if ac_fn_c_try_run "$LINENO"; then :
 5498: 
 5499: else
 5500:   ac_cv_header_stdc=no
 5501: fi
 5502: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 5503:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 5504: fi
 5505: 
 5506: fi
 5507: fi
 5508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 5509: $as_echo "$ac_cv_header_stdc" >&6; }
 5510: if test $ac_cv_header_stdc = yes; then
 5511: 
 5512: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 5513: 
 5514: fi
 5515: 
 5516: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5517: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5518: 		  inttypes.h stdint.h unistd.h
 5519: do :
 5520:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5521: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 5522: "
 5523: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5524:   cat >>confdefs.h <<_ACEOF
 5525: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5526: _ACEOF
 5527: 
 5528: fi
 5529: 
 5530: done
 5531: 
 5532: 
 5533: 
 5534:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 5535: if test "x$ac_cv_header_minix_config_h" = xyes; then :
 5536:   MINIX=yes
 5537: else
 5538:   MINIX=
 5539: fi
 5540: 
 5541: 
 5542:   if test "$MINIX" = yes; then
 5543: 
 5544: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 5545: 
 5546: 
 5547: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 5548: 
 5549: 
 5550: $as_echo "#define _MINIX 1" >>confdefs.h
 5551: 
 5552: 
 5553: $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
 5554: 
 5555:   fi
 5556: 
 5557: 
 5558:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 5559: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 5560: if ${ac_cv_safe_to_define___extensions__+:} false; then :
 5561:   $as_echo_n "(cached) " >&6
 5562: else
 5563:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5564: /* end confdefs.h.  */
 5565: 
 5566: #         define __EXTENSIONS__ 1
 5567:           $ac_includes_default
 5568: int
 5569: main ()
 5570: {
 5571: 
 5572:   ;
 5573:   return 0;
 5574: }
 5575: _ACEOF
 5576: if ac_fn_c_try_compile "$LINENO"; then :
 5577:   ac_cv_safe_to_define___extensions__=yes
 5578: else
 5579:   ac_cv_safe_to_define___extensions__=no
 5580: fi
 5581: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5582: fi
 5583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 5584: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 5585:   test $ac_cv_safe_to_define___extensions__ = yes &&
 5586:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 5587: 
 5588:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 5589: 
 5590:   $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
 5591: 
 5592:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 5593: 
 5594:   $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
 5595: 
 5596:   $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h
 5597: 
 5598:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 5599: 
 5600:   $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
 5601: 
 5602:   $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
 5603: 
 5604:   $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
 5605: 
 5606:   $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
 5607: 
 5608:   $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
 5609: 
 5610:   $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
 5611: 
 5612:   $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
 5613: 
 5614:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 5615: 
 5616:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
 5617: $as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; }
 5618: if ${ac_cv_should_define__xopen_source+:} false; then :
 5619:   $as_echo_n "(cached) " >&6
 5620: else
 5621:   ac_cv_should_define__xopen_source=no
 5622:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5623: /* end confdefs.h.  */
 5624: 
 5625:           #include <wchar.h>
 5626:           mbstate_t x;
 5627: int
 5628: main ()
 5629: {
 5630: 
 5631:   ;
 5632:   return 0;
 5633: }
 5634: _ACEOF
 5635: if ac_fn_c_try_compile "$LINENO"; then :
 5636: 
 5637: else
 5638:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5639: /* end confdefs.h.  */
 5640: 
 5641:              #define _XOPEN_SOURCE 500
 5642:              #include <wchar.h>
 5643:              mbstate_t x;
 5644: int
 5645: main ()
 5646: {
 5647: 
 5648:   ;
 5649:   return 0;
 5650: }
 5651: _ACEOF
 5652: if ac_fn_c_try_compile "$LINENO"; then :
 5653:   ac_cv_should_define__xopen_source=yes
 5654: fi
 5655: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5656: fi
 5657: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5658: fi
 5659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
 5660: $as_echo "$ac_cv_should_define__xopen_source" >&6; }
 5661:   test $ac_cv_should_define__xopen_source = yes &&
 5662:     $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
 5663: 
 5664:   $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
 5665: 
 5666: 
 5667: 
 5668: 
 5669: 
 5670: 
 5671: 
 5672: 
 5673: 
 5674: 
 5675: 
 5676:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
 5677: $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
 5678: if ${gl_cv_c_amsterdam_compiler+:} false; then :
 5679:   $as_echo_n "(cached) " >&6
 5680: else
 5681: 
 5682:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5683: /* end confdefs.h.  */
 5684: 
 5685: #ifdef __ACK__
 5686: Amsterdam
 5687: #endif
 5688: 
 5689: _ACEOF
 5690: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5691:   $EGREP "Amsterdam" >/dev/null 2>&1; then :
 5692:   gl_cv_c_amsterdam_compiler=yes
 5693: else
 5694:   gl_cv_c_amsterdam_compiler=no
 5695: fi
 5696: rm -f conftest*
 5697: 
 5698: 
 5699: fi
 5700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
 5701: $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
 5702: 
 5703:       if test $gl_cv_c_amsterdam_compiler = yes; then
 5704:     if test -z "$AR"; then
 5705:       AR='cc -c.a'
 5706:     fi
 5707:     if test -z "$ARFLAGS"; then
 5708:       ARFLAGS='-o'
 5709:     fi
 5710:   else
 5711:                                                 :
 5712:   fi
 5713: 
 5714:         if test -n "$ac_tool_prefix"; then
 5715:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 5716: set dummy ${ac_tool_prefix}ar; ac_word=$2
 5717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5718: $as_echo_n "checking for $ac_word... " >&6; }
 5719: if ${ac_cv_prog_AR+:} false; then :
 5720:   $as_echo_n "(cached) " >&6
 5721: else
 5722:   if test -n "$AR"; then
 5723:   ac_cv_prog_AR="$AR" # Let the user override the test.
 5724: else
 5725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5726: for as_dir in $PATH
 5727: do
 5728:   IFS=$as_save_IFS
 5729:   test -z "$as_dir" && as_dir=.
 5730:     for ac_exec_ext in '' $ac_executable_extensions; do
 5731:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5732:     ac_cv_prog_AR="${ac_tool_prefix}ar"
 5733:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5734:     break 2
 5735:   fi
 5736: done
 5737:   done
 5738: IFS=$as_save_IFS
 5739: 
 5740: fi
 5741: fi
 5742: AR=$ac_cv_prog_AR
 5743: if test -n "$AR"; then
 5744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 5745: $as_echo "$AR" >&6; }
 5746: else
 5747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5748: $as_echo "no" >&6; }
 5749: fi
 5750: 
 5751: 
 5752: fi
 5753: if test -z "$ac_cv_prog_AR"; then
 5754:   ac_ct_AR=$AR
 5755:   # Extract the first word of "ar", so it can be a program name with args.
 5756: set dummy ar; ac_word=$2
 5757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5758: $as_echo_n "checking for $ac_word... " >&6; }
 5759: if ${ac_cv_prog_ac_ct_AR+:} false; then :
 5760:   $as_echo_n "(cached) " >&6
 5761: else
 5762:   if test -n "$ac_ct_AR"; then
 5763:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5764: else
 5765: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5766: for as_dir in $PATH
 5767: do
 5768:   IFS=$as_save_IFS
 5769:   test -z "$as_dir" && as_dir=.
 5770:     for ac_exec_ext in '' $ac_executable_extensions; do
 5771:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5772:     ac_cv_prog_ac_ct_AR="ar"
 5773:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5774:     break 2
 5775:   fi
 5776: done
 5777:   done
 5778: IFS=$as_save_IFS
 5779: 
 5780: fi
 5781: fi
 5782: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5783: if test -n "$ac_ct_AR"; then
 5784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 5785: $as_echo "$ac_ct_AR" >&6; }
 5786: else
 5787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5788: $as_echo "no" >&6; }
 5789: fi
 5790: 
 5791:   if test "x$ac_ct_AR" = x; then
 5792:     AR="ar"
 5793:   else
 5794:     case $cross_compiling:$ac_tool_warned in
 5795: yes:)
 5796: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5797: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5798: ac_tool_warned=yes ;;
 5799: esac
 5800:     AR=$ac_ct_AR
 5801:   fi
 5802: else
 5803:   AR="$ac_cv_prog_AR"
 5804: fi
 5805: 
 5806:   if test -z "$ARFLAGS"; then
 5807:     ARFLAGS='cr'
 5808:   fi
 5809: 
 5810: 
 5811: 
 5812:   if test -z "$RANLIB"; then
 5813:     if test $gl_cv_c_amsterdam_compiler = yes; then
 5814:       RANLIB=':'
 5815:     else
 5816:             if test -n "$ac_tool_prefix"; then
 5817:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 5818: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 5819: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5820: $as_echo_n "checking for $ac_word... " >&6; }
 5821: if ${ac_cv_prog_RANLIB+:} false; then :
 5822:   $as_echo_n "(cached) " >&6
 5823: else
 5824:   if test -n "$RANLIB"; then
 5825:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 5826: else
 5827: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5828: for as_dir in $PATH
 5829: do
 5830:   IFS=$as_save_IFS
 5831:   test -z "$as_dir" && as_dir=.
 5832:     for ac_exec_ext in '' $ac_executable_extensions; do
 5833:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5834:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 5835:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5836:     break 2
 5837:   fi
 5838: done
 5839:   done
 5840: IFS=$as_save_IFS
 5841: 
 5842: fi
 5843: fi
 5844: RANLIB=$ac_cv_prog_RANLIB
 5845: if test -n "$RANLIB"; then
 5846:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 5847: $as_echo "$RANLIB" >&6; }
 5848: else
 5849:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5850: $as_echo "no" >&6; }
 5851: fi
 5852: 
 5853: 
 5854: fi
 5855: if test -z "$ac_cv_prog_RANLIB"; then
 5856:   ac_ct_RANLIB=$RANLIB
 5857:   # Extract the first word of "ranlib", so it can be a program name with args.
 5858: set dummy ranlib; ac_word=$2
 5859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5860: $as_echo_n "checking for $ac_word... " >&6; }
 5861: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 5862:   $as_echo_n "(cached) " >&6
 5863: else
 5864:   if test -n "$ac_ct_RANLIB"; then
 5865:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 5866: else
 5867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5868: for as_dir in $PATH
 5869: do
 5870:   IFS=$as_save_IFS
 5871:   test -z "$as_dir" && as_dir=.
 5872:     for ac_exec_ext in '' $ac_executable_extensions; do
 5873:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5874:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 5875:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5876:     break 2
 5877:   fi
 5878: done
 5879:   done
 5880: IFS=$as_save_IFS
 5881: 
 5882: fi
 5883: fi
 5884: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 5885: if test -n "$ac_ct_RANLIB"; then
 5886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 5887: $as_echo "$ac_ct_RANLIB" >&6; }
 5888: else
 5889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5890: $as_echo "no" >&6; }
 5891: fi
 5892: 
 5893:   if test "x$ac_ct_RANLIB" = x; then
 5894:     RANLIB=":"
 5895:   else
 5896:     case $cross_compiling:$ac_tool_warned in
 5897: yes:)
 5898: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5899: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5900: ac_tool_warned=yes ;;
 5901: esac
 5902:     RANLIB=$ac_ct_RANLIB
 5903:   fi
 5904: else
 5905:   RANLIB="$ac_cv_prog_RANLIB"
 5906: fi
 5907: 
 5908:     fi
 5909:   fi
 5910: 
 5911: 
 5912: 
 5913: # Check whether --enable-largefile was given.
 5914: if test "${enable_largefile+set}" = set; then :
 5915:   enableval=$enable_largefile;
 5916: fi
 5917: 
 5918: if test "$enable_largefile" != no; then
 5919: 
 5920:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
 5921: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
 5922: if ${ac_cv_sys_largefile_CC+:} false; then :
 5923:   $as_echo_n "(cached) " >&6
 5924: else
 5925:   ac_cv_sys_largefile_CC=no
 5926:      if test "$GCC" != yes; then
 5927:        ac_save_CC=$CC
 5928:        while :; do
 5929:          # IRIX 6.2 and later do not support large files by default,
 5930:          # so use the C compiler's -n32 option if that helps.
 5931:          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5932: /* end confdefs.h.  */
 5933: #include <sys/types.h>
 5934:  /* Check that off_t can represent 2**63 - 1 correctly.
 5935:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 5936:     since some C++ compilers masquerading as C compilers
 5937:     incorrectly reject 9223372036854775807.  */
 5938: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 5939:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 5940:                        && LARGE_OFF_T % 2147483647 == 1)
 5941:                       ? 1 : -1];
 5942: int
 5943: main ()
 5944: {
 5945: 
 5946:   ;
 5947:   return 0;
 5948: }
 5949: _ACEOF
 5950:          if ac_fn_c_try_compile "$LINENO"; then :
 5951:   break
 5952: fi
 5953: rm -f core conftest.err conftest.$ac_objext
 5954:          CC="$CC -n32"
 5955:          if ac_fn_c_try_compile "$LINENO"; then :
 5956:   ac_cv_sys_largefile_CC=' -n32'; break
 5957: fi
 5958: rm -f core conftest.err conftest.$ac_objext
 5959:          break
 5960:        done
 5961:        CC=$ac_save_CC
 5962:        rm -f conftest.$ac_ext
 5963:     fi
 5964: fi
 5965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
 5966: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
 5967:   if test "$ac_cv_sys_largefile_CC" != no; then
 5968:     CC=$CC$ac_cv_sys_largefile_CC
 5969:   fi
 5970: 
 5971:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 5972: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
 5973: if ${ac_cv_sys_file_offset_bits+:} false; then :
 5974:   $as_echo_n "(cached) " >&6
 5975: else
 5976:   while :; do
 5977:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5978: /* end confdefs.h.  */
 5979: #include <sys/types.h>
 5980:  /* Check that off_t can represent 2**63 - 1 correctly.
 5981:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 5982:     since some C++ compilers masquerading as C compilers
 5983:     incorrectly reject 9223372036854775807.  */
 5984: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 5985:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 5986:                        && LARGE_OFF_T % 2147483647 == 1)
 5987:                       ? 1 : -1];
 5988: int
 5989: main ()
 5990: {
 5991: 
 5992:   ;
 5993:   return 0;
 5994: }
 5995: _ACEOF
 5996: if ac_fn_c_try_compile "$LINENO"; then :
 5997:   ac_cv_sys_file_offset_bits=no; break
 5998: fi
 5999: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6000:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6001: /* end confdefs.h.  */
 6002: #define _FILE_OFFSET_BITS 64
 6003: #include <sys/types.h>
 6004:  /* Check that off_t can represent 2**63 - 1 correctly.
 6005:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 6006:     since some C++ compilers masquerading as C compilers
 6007:     incorrectly reject 9223372036854775807.  */
 6008: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 6009:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 6010:                        && LARGE_OFF_T % 2147483647 == 1)
 6011:                       ? 1 : -1];
 6012: int
 6013: main ()
 6014: {
 6015: 
 6016:   ;
 6017:   return 0;
 6018: }
 6019: _ACEOF
 6020: if ac_fn_c_try_compile "$LINENO"; then :
 6021:   ac_cv_sys_file_offset_bits=64; break
 6022: fi
 6023: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6024:   ac_cv_sys_file_offset_bits=unknown
 6025:   break
 6026: done
 6027: fi
 6028: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
 6029: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
 6030: case $ac_cv_sys_file_offset_bits in #(
 6031:   no | unknown) ;;
 6032:   *)
 6033: cat >>confdefs.h <<_ACEOF
 6034: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
 6035: _ACEOF
 6036: ;;
 6037: esac
 6038: rm -rf conftest*
 6039:   if test $ac_cv_sys_file_offset_bits = unknown; then
 6040:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
 6041: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
 6042: if ${ac_cv_sys_large_files+:} false; then :
 6043:   $as_echo_n "(cached) " >&6
 6044: else
 6045:   while :; do
 6046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6047: /* end confdefs.h.  */
 6048: #include <sys/types.h>
 6049:  /* Check that off_t can represent 2**63 - 1 correctly.
 6050:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 6051:     since some C++ compilers masquerading as C compilers
 6052:     incorrectly reject 9223372036854775807.  */
 6053: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 6054:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 6055:                        && LARGE_OFF_T % 2147483647 == 1)
 6056:                       ? 1 : -1];
 6057: int
 6058: main ()
 6059: {
 6060: 
 6061:   ;
 6062:   return 0;
 6063: }
 6064: _ACEOF
 6065: if ac_fn_c_try_compile "$LINENO"; then :
 6066:   ac_cv_sys_large_files=no; break
 6067: fi
 6068: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6069:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6070: /* end confdefs.h.  */
 6071: #define _LARGE_FILES 1
 6072: #include <sys/types.h>
 6073:  /* Check that off_t can represent 2**63 - 1 correctly.
 6074:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 6075:     since some C++ compilers masquerading as C compilers
 6076:     incorrectly reject 9223372036854775807.  */
 6077: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 6078:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 6079:                        && LARGE_OFF_T % 2147483647 == 1)
 6080:                       ? 1 : -1];
 6081: int
 6082: main ()
 6083: {
 6084: 
 6085:   ;
 6086:   return 0;
 6087: }
 6088: _ACEOF
 6089: if ac_fn_c_try_compile "$LINENO"; then :
 6090:   ac_cv_sys_large_files=1; break
 6091: fi
 6092: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6093:   ac_cv_sys_large_files=unknown
 6094:   break
 6095: done
 6096: fi
 6097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
 6098: $as_echo "$ac_cv_sys_large_files" >&6; }
 6099: case $ac_cv_sys_large_files in #(
 6100:   no | unknown) ;;
 6101:   *)
 6102: cat >>confdefs.h <<_ACEOF
 6103: #define _LARGE_FILES $ac_cv_sys_large_files
 6104: _ACEOF
 6105: ;;
 6106: esac
 6107: rm -rf conftest*
 6108:   fi
 6109: 
 6110: 
 6111: $as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h
 6112: 
 6113: fi
 6114: 
 6115: 
 6116: 
 6117:   # Pre-early section.
 6118: 
 6119: 
 6120: 
 6121: 
 6122:   # Code from module absolute-header:
 6123:   # Code from module alloca-opt:
 6124:   # Code from module allocator:
 6125:   # Code from module areadlink:
 6126:   # Code from module binary-io:
 6127:   # Code from module canonicalize-lgpl:
 6128:   # Code from module careadlinkat:
 6129:   # Code from module dirname-lgpl:
 6130:   # Code from module dosname:
 6131:   # Code from module double-slash-root:
 6132:   # Code from module environ:
 6133:   # Code from module errno:
 6134:   # Code from module error:
 6135:   # Code from module extensions:
 6136:   # Code from module extern-inline:
 6137:   # Code from module fcntl-h:
 6138:   # Code from module filename:
 6139:   # Code from module getprogname:
 6140:   # Code from module gettext:
 6141:   # Code from module gettext-h:
 6142:   # Code from module havelib:
 6143:   # Code from module include_next:
 6144:   # Code from module intprops:
 6145:   # Code from module largefile:
 6146: 
 6147:   # Code from module libiconv-misc:
 6148:   # Code from module limits-h:
 6149:   # Code from module lstat:
 6150:   # Code from module malloc-posix:
 6151:   # Code from module malloca:
 6152:   # Code from module mbstate:
 6153:   # Code from module msvc-inval:
 6154:   # Code from module msvc-nothrow:
 6155:   # Code from module multiarch:
 6156:   # Code from module nocrash:
 6157:   # Code from module pathmax:
 6158:   # Code from module progname:
 6159:   # Code from module raise:
 6160:   # Code from module read:
 6161:   # Code from module readlink:
 6162:   # Code from module relocatable-prog:
 6163:   # Code from module relocatable-prog-wrapper:
 6164:   # Code from module safe-read:
 6165:   # Code from module signal-h:
 6166:   # Code from module sigpipe:
 6167:   # Code from module sigprocmask:
 6168:   # Code from module snippet/_Noreturn:
 6169:   # Code from module snippet/arg-nonnull:
 6170:   # Code from module snippet/c++defs:
 6171:   # Code from module snippet/warn-on-use:
 6172:   # Code from module ssize_t:
 6173:   # Code from module stat:
 6174:   # Code from module stat-time:
 6175:   # Code from module stdbool:
 6176:   # Code from module stddef:
 6177:   # Code from module stdint:
 6178:   # Code from module stdio:
 6179:   # Code from module stdlib:
 6180:   # Code from module streq:
 6181:   # Code from module strerror:
 6182:   # Code from module strerror-override:
 6183:   # Code from module string:
 6184:   # Code from module sys_stat:
 6185:   # Code from module sys_types:
 6186:   # Code from module time:
 6187:   # Code from module unistd:
 6188:   # Code from module unitypes:
 6189:   # Code from module uniwidth/base:
 6190:   # Code from module uniwidth/width:
 6191:   # Code from module unlocked-io:
 6192:   # Code from module verify:
 6193:   # Code from module xalloc:
 6194:   # Code from module xalloc-oversized:
 6195:   # Code from module xreadlink:
 6196: 
 6197: 
 6198: 
 6199: case `pwd` in
 6200:   *\ * | *\	*)
 6201:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 6202: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 6203: esac
 6204: 
 6205: 
 6206: 
 6207: macro_version='2.4.6'
 6208: macro_revision='2.4.6'
 6209: 
 6210: 
 6211: 
 6212: 
 6213: 
 6214: 
 6215: 
 6216: 
 6217: 
 6218: 
 6219: 
 6220: 
 6221: 
 6222: ltmain=$ac_aux_dir/ltmain.sh
 6223: 
 6224: # Backslashify metacharacters that are still active within
 6225: # double-quoted strings.
 6226: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 6227: 
 6228: # Same as above, but do not quote variable references.
 6229: double_quote_subst='s/\(["`\\]\)/\\\1/g'
 6230: 
 6231: # Sed substitution to delay expansion of an escaped shell variable in a
 6232: # double_quote_subst'ed string.
 6233: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 6234: 
 6235: # Sed substitution to delay expansion of an escaped single quote.
 6236: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 6237: 
 6238: # Sed substitution to avoid accidental globbing in evaled expressions
 6239: no_glob_subst='s/\*/\\\*/g'
 6240: 
 6241: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 6242: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 6243: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 6244: 
 6245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 6246: $as_echo_n "checking how to print strings... " >&6; }
 6247: # Test print first, because it will be a builtin if present.
 6248: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 6249:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 6250:   ECHO='print -r --'
 6251: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 6252:   ECHO='printf %s\n'
 6253: else
 6254:   # Use this function as a fallback that always works.
 6255:   func_fallback_echo ()
 6256:   {
 6257:     eval 'cat <<_LTECHO_EOF
 6258: $1
 6259: _LTECHO_EOF'
 6260:   }
 6261:   ECHO='func_fallback_echo'
 6262: fi
 6263: 
 6264: # func_echo_all arg...
 6265: # Invoke $ECHO with all args, space-separated.
 6266: func_echo_all ()
 6267: {
 6268:     $ECHO ""
 6269: }
 6270: 
 6271: case $ECHO in
 6272:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 6273: $as_echo "printf" >&6; } ;;
 6274:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 6275: $as_echo "print -r" >&6; } ;;
 6276:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 6277: $as_echo "cat" >&6; } ;;
 6278: esac
 6279: 
 6280: 
 6281: 
 6282: 
 6283: 
 6284: 
 6285: 
 6286: 
 6287: 
 6288: 
 6289: 
 6290: 
 6291: 
 6292: 
 6293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 6294: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 6295: if ${ac_cv_path_SED+:} false; then :
 6296:   $as_echo_n "(cached) " >&6
 6297: else
 6298:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 6299:      for ac_i in 1 2 3 4 5 6 7; do
 6300:        ac_script="$ac_script$as_nl$ac_script"
 6301:      done
 6302:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 6303:      { ac_script=; unset ac_script;}
 6304:      if test -z "$SED"; then
 6305:   ac_path_SED_found=false
 6306:   # Loop through the user's path and test for each of PROGNAME-LIST
 6307:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6308: for as_dir in $PATH
 6309: do
 6310:   IFS=$as_save_IFS
 6311:   test -z "$as_dir" && as_dir=.
 6312:     for ac_prog in sed gsed; do
 6313:     for ac_exec_ext in '' $ac_executable_extensions; do
 6314:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 6315:       as_fn_executable_p "$ac_path_SED" || continue
 6316: # Check for GNU ac_path_SED and select it if it is found.
 6317:   # Check for GNU $ac_path_SED
 6318: case `"$ac_path_SED" --version 2>&1` in
 6319: *GNU*)
 6320:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 6321: *)
 6322:   ac_count=0
 6323:   $as_echo_n 0123456789 >"conftest.in"
 6324:   while :
 6325:   do
 6326:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 6327:     mv "conftest.tmp" "conftest.in"
 6328:     cp "conftest.in" "conftest.nl"
 6329:     $as_echo '' >> "conftest.nl"
 6330:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 6331:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 6332:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 6333:     if test $ac_count -gt ${ac_path_SED_max-0}; then
 6334:       # Best one so far, save it but keep looking for a better one
 6335:       ac_cv_path_SED="$ac_path_SED"
 6336:       ac_path_SED_max=$ac_count
 6337:     fi
 6338:     # 10*(2^10) chars as input seems more than enough
 6339:     test $ac_count -gt 10 && break
 6340:   done
 6341:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 6342: esac
 6343: 
 6344:       $ac_path_SED_found && break 3
 6345:     done
 6346:   done
 6347:   done
 6348: IFS=$as_save_IFS
 6349:   if test -z "$ac_cv_path_SED"; then
 6350:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 6351:   fi
 6352: else
 6353:   ac_cv_path_SED=$SED
 6354: fi
 6355: 
 6356: fi
 6357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 6358: $as_echo "$ac_cv_path_SED" >&6; }
 6359:  SED="$ac_cv_path_SED"
 6360:   rm -f conftest.sed
 6361: 
 6362: test -z "$SED" && SED=sed
 6363: Xsed="$SED -e 1s/^X//"
 6364: 
 6365: 
 6366: 
 6367: 
 6368: 
 6369: 
 6370: 
 6371: 
 6372: 
 6373: 
 6374: 
 6375: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 6376: $as_echo_n "checking for fgrep... " >&6; }
 6377: if ${ac_cv_path_FGREP+:} false; then :
 6378:   $as_echo_n "(cached) " >&6
 6379: else
 6380:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 6381:    then ac_cv_path_FGREP="$GREP -F"
 6382:    else
 6383:      if test -z "$FGREP"; then
 6384:   ac_path_FGREP_found=false
 6385:   # Loop through the user's path and test for each of PROGNAME-LIST
 6386:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6387: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 6388: do
 6389:   IFS=$as_save_IFS
 6390:   test -z "$as_dir" && as_dir=.
 6391:     for ac_prog in fgrep; do
 6392:     for ac_exec_ext in '' $ac_executable_extensions; do
 6393:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 6394:       as_fn_executable_p "$ac_path_FGREP" || continue
 6395: # Check for GNU ac_path_FGREP and select it if it is found.
 6396:   # Check for GNU $ac_path_FGREP
 6397: case `"$ac_path_FGREP" --version 2>&1` in
 6398: *GNU*)
 6399:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 6400: *)
 6401:   ac_count=0
 6402:   $as_echo_n 0123456789 >"conftest.in"
 6403:   while :
 6404:   do
 6405:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 6406:     mv "conftest.tmp" "conftest.in"
 6407:     cp "conftest.in" "conftest.nl"
 6408:     $as_echo 'FGREP' >> "conftest.nl"
 6409:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 6410:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 6411:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 6412:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 6413:       # Best one so far, save it but keep looking for a better one
 6414:       ac_cv_path_FGREP="$ac_path_FGREP"
 6415:       ac_path_FGREP_max=$ac_count
 6416:     fi
 6417:     # 10*(2^10) chars as input seems more than enough
 6418:     test $ac_count -gt 10 && break
 6419:   done
 6420:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 6421: esac
 6422: 
 6423:       $ac_path_FGREP_found && break 3
 6424:     done
 6425:   done
 6426:   done
 6427: IFS=$as_save_IFS
 6428:   if test -z "$ac_cv_path_FGREP"; then
 6429:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 6430:   fi
 6431: else
 6432:   ac_cv_path_FGREP=$FGREP
 6433: fi
 6434: 
 6435:    fi
 6436: fi
 6437: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 6438: $as_echo "$ac_cv_path_FGREP" >&6; }
 6439:  FGREP="$ac_cv_path_FGREP"
 6440: 
 6441: 
 6442: test -z "$GREP" && GREP=grep
 6443: 
 6444: 
 6445: 
 6446: 
 6447: 
 6448: 
 6449: 
 6450: 
 6451: 
 6452: 
 6453: 
 6454: 
 6455: 
 6456: 
 6457: 
 6458: 
 6459: 
 6460: 
 6461: 
 6462: # Check whether --with-gnu-ld was given.
 6463: if test "${with_gnu_ld+set}" = set; then :
 6464:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
 6465: else
 6466:   with_gnu_ld=no
 6467: fi
 6468: 
 6469: ac_prog=ld
 6470: if test yes = "$GCC"; then
 6471:   # Check if gcc -print-prog-name=ld gives a path.
 6472:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 6473: $as_echo_n "checking for ld used by $CC... " >&6; }
 6474:   case $host in
 6475:   *-*-mingw*)
 6476:     # gcc leaves a trailing carriage return, which upsets mingw
 6477:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 6478:   *)
 6479:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 6480:   esac
 6481:   case $ac_prog in
 6482:     # Accept absolute paths.
 6483:     [\\/]* | ?:[\\/]*)
 6484:       re_direlt='/[^/][^/]*/\.\./'
 6485:       # Canonicalize the pathname of ld
 6486:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 6487:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 6488: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 6489:       done
 6490:       test -z "$LD" && LD=$ac_prog
 6491:       ;;
 6492:   "")
 6493:     # If it fails, then pretend we aren't using GCC.
 6494:     ac_prog=ld
 6495:     ;;
 6496:   *)
 6497:     # If it is relative, then search for the first ld in PATH.
 6498:     with_gnu_ld=unknown
 6499:     ;;
 6500:   esac
 6501: elif test yes = "$with_gnu_ld"; then
 6502:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 6503: $as_echo_n "checking for GNU ld... " >&6; }
 6504: else
 6505:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 6506: $as_echo_n "checking for non-GNU ld... " >&6; }
 6507: fi
 6508: if ${lt_cv_path_LD+:} false; then :
 6509:   $as_echo_n "(cached) " >&6
 6510: else
 6511:   if test -z "$LD"; then
 6512:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 6513:   for ac_dir in $PATH; do
 6514:     IFS=$lt_save_ifs
 6515:     test -z "$ac_dir" && ac_dir=.
 6516:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 6517:       lt_cv_path_LD=$ac_dir/$ac_prog
 6518:       # Check to see if the program is GNU ld.  I'd rather use --version,
 6519:       # but apparently some variants of GNU ld only accept -v.
 6520:       # Break only if it was the GNU/non-GNU ld that we prefer.
 6521:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 6522:       *GNU* | *'with BFD'*)
 6523: 	test no != "$with_gnu_ld" && break
 6524: 	;;
 6525:       *)
 6526: 	test yes != "$with_gnu_ld" && break
 6527: 	;;
 6528:       esac
 6529:     fi
 6530:   done
 6531:   IFS=$lt_save_ifs
 6532: else
 6533:   lt_cv_path_LD=$LD # Let the user override the test with a path.
 6534: fi
 6535: fi
 6536: 
 6537: LD=$lt_cv_path_LD
 6538: if test -n "$LD"; then
 6539:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 6540: $as_echo "$LD" >&6; }
 6541: else
 6542:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6543: $as_echo "no" >&6; }
 6544: fi
 6545: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 6546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 6547: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 6548: if ${lt_cv_prog_gnu_ld+:} false; then :
 6549:   $as_echo_n "(cached) " >&6
 6550: else
 6551:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 6552: case `$LD -v 2>&1 </dev/null` in
 6553: *GNU* | *'with BFD'*)
 6554:   lt_cv_prog_gnu_ld=yes
 6555:   ;;
 6556: *)
 6557:   lt_cv_prog_gnu_ld=no
 6558:   ;;
 6559: esac
 6560: fi
 6561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 6562: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 6563: with_gnu_ld=$lt_cv_prog_gnu_ld
 6564: 
 6565: 
 6566: 
 6567: 
 6568: 
 6569: 
 6570: 
 6571: 
 6572: 
 6573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 6574: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 6575: if ${lt_cv_path_NM+:} false; then :
 6576:   $as_echo_n "(cached) " >&6
 6577: else
 6578:   if test -n "$NM"; then
 6579:   # Let the user override the test.
 6580:   lt_cv_path_NM=$NM
 6581: else
 6582:   lt_nm_to_check=${ac_tool_prefix}nm
 6583:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 6584:     lt_nm_to_check="$lt_nm_to_check nm"
 6585:   fi
 6586:   for lt_tmp_nm in $lt_nm_to_check; do
 6587:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 6588:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 6589:       IFS=$lt_save_ifs
 6590:       test -z "$ac_dir" && ac_dir=.
 6591:       tmp_nm=$ac_dir/$lt_tmp_nm
 6592:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 6593: 	# Check to see if the nm accepts a BSD-compat flag.
 6594: 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 6595: 	#   nm: unknown option "B" ignored
 6596: 	# Tru64's nm complains that /dev/null is an invalid object file
 6597: 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 6598: 	case $build_os in
 6599: 	mingw*) lt_bad_file=conftest.nm/nofile ;;
 6600: 	*) lt_bad_file=/dev/null ;;
 6601: 	esac
 6602: 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 6603: 	*$lt_bad_file* | *'Invalid file or object type'*)
 6604: 	  lt_cv_path_NM="$tmp_nm -B"
 6605: 	  break 2
 6606: 	  ;;
 6607: 	*)
 6608: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 6609: 	  */dev/null*)
 6610: 	    lt_cv_path_NM="$tmp_nm -p"
 6611: 	    break 2
 6612: 	    ;;
 6613: 	  *)
 6614: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 6615: 	    continue # so that we can try to find one that supports BSD flags
 6616: 	    ;;
 6617: 	  esac
 6618: 	  ;;
 6619: 	esac
 6620:       fi
 6621:     done
 6622:     IFS=$lt_save_ifs
 6623:   done
 6624:   : ${lt_cv_path_NM=no}
 6625: fi
 6626: fi
 6627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 6628: $as_echo "$lt_cv_path_NM" >&6; }
 6629: if test no != "$lt_cv_path_NM"; then
 6630:   NM=$lt_cv_path_NM
 6631: else
 6632:   # Didn't find any BSD compatible name lister, look for dumpbin.
 6633:   if test -n "$DUMPBIN"; then :
 6634:     # Let the user override the test.
 6635:   else
 6636:     if test -n "$ac_tool_prefix"; then
 6637:   for ac_prog in dumpbin "link -dump"
 6638:   do
 6639:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 6640: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 6641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6642: $as_echo_n "checking for $ac_word... " >&6; }
 6643: if ${ac_cv_prog_DUMPBIN+:} false; then :
 6644:   $as_echo_n "(cached) " >&6
 6645: else
 6646:   if test -n "$DUMPBIN"; then
 6647:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 6648: else
 6649: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6650: for as_dir in $PATH
 6651: do
 6652:   IFS=$as_save_IFS
 6653:   test -z "$as_dir" && as_dir=.
 6654:     for ac_exec_ext in '' $ac_executable_extensions; do
 6655:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6656:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 6657:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6658:     break 2
 6659:   fi
 6660: done
 6661:   done
 6662: IFS=$as_save_IFS
 6663: 
 6664: fi
 6665: fi
 6666: DUMPBIN=$ac_cv_prog_DUMPBIN
 6667: if test -n "$DUMPBIN"; then
 6668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 6669: $as_echo "$DUMPBIN" >&6; }
 6670: else
 6671:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6672: $as_echo "no" >&6; }
 6673: fi
 6674: 
 6675: 
 6676:     test -n "$DUMPBIN" && break
 6677:   done
 6678: fi
 6679: if test -z "$DUMPBIN"; then
 6680:   ac_ct_DUMPBIN=$DUMPBIN
 6681:   for ac_prog in dumpbin "link -dump"
 6682: do
 6683:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 6684: set dummy $ac_prog; ac_word=$2
 6685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6686: $as_echo_n "checking for $ac_word... " >&6; }
 6687: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 6688:   $as_echo_n "(cached) " >&6
 6689: else
 6690:   if test -n "$ac_ct_DUMPBIN"; then
 6691:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 6692: else
 6693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6694: for as_dir in $PATH
 6695: do
 6696:   IFS=$as_save_IFS
 6697:   test -z "$as_dir" && as_dir=.
 6698:     for ac_exec_ext in '' $ac_executable_extensions; do
 6699:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6700:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 6701:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6702:     break 2
 6703:   fi
 6704: done
 6705:   done
 6706: IFS=$as_save_IFS
 6707: 
 6708: fi
 6709: fi
 6710: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 6711: if test -n "$ac_ct_DUMPBIN"; then
 6712:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 6713: $as_echo "$ac_ct_DUMPBIN" >&6; }
 6714: else
 6715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6716: $as_echo "no" >&6; }
 6717: fi
 6718: 
 6719: 
 6720:   test -n "$ac_ct_DUMPBIN" && break
 6721: done
 6722: 
 6723:   if test "x$ac_ct_DUMPBIN" = x; then
 6724:     DUMPBIN=":"
 6725:   else
 6726:     case $cross_compiling:$ac_tool_warned in
 6727: yes:)
 6728: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6729: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6730: ac_tool_warned=yes ;;
 6731: esac
 6732:     DUMPBIN=$ac_ct_DUMPBIN
 6733:   fi
 6734: fi
 6735: 
 6736:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
 6737:     *COFF*)
 6738:       DUMPBIN="$DUMPBIN -symbols -headers"
 6739:       ;;
 6740:     *)
 6741:       DUMPBIN=:
 6742:       ;;
 6743:     esac
 6744:   fi
 6745: 
 6746:   if test : != "$DUMPBIN"; then
 6747:     NM=$DUMPBIN
 6748:   fi
 6749: fi
 6750: test -z "$NM" && NM=nm
 6751: 
 6752: 
 6753: 
 6754: 
 6755: 
 6756: 
 6757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 6758: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 6759: if ${lt_cv_nm_interface+:} false; then :
 6760:   $as_echo_n "(cached) " >&6
 6761: else
 6762:   lt_cv_nm_interface="BSD nm"
 6763:   echo "int some_variable = 0;" > conftest.$ac_ext
 6764:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 6765:   (eval "$ac_compile" 2>conftest.err)
 6766:   cat conftest.err >&5
 6767:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 6768:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 6769:   cat conftest.err >&5
 6770:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 6771:   cat conftest.out >&5
 6772:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 6773:     lt_cv_nm_interface="MS dumpbin"
 6774:   fi
 6775:   rm -f conftest*
 6776: fi
 6777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 6778: $as_echo "$lt_cv_nm_interface" >&6; }
 6779: 
 6780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6781: $as_echo_n "checking whether ln -s works... " >&6; }
 6782: LN_S=$as_ln_s
 6783: if test "$LN_S" = "ln -s"; then
 6784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6785: $as_echo "yes" >&6; }
 6786: else
 6787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6788: $as_echo "no, using $LN_S" >&6; }
 6789: fi
 6790: 
 6791: # find the maximum length of command line arguments
 6792: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 6793: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 6794: if ${lt_cv_sys_max_cmd_len+:} false; then :
 6795:   $as_echo_n "(cached) " >&6
 6796: else
 6797:     i=0
 6798:   teststring=ABCD
 6799: 
 6800:   case $build_os in
 6801:   msdosdjgpp*)
 6802:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 6803:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 6804:     # during glob expansion).  Even if it were fixed, the result of this
 6805:     # check would be larger than it should be.
 6806:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 6807:     ;;
 6808: 
 6809:   gnu*)
 6810:     # Under GNU Hurd, this test is not required because there is
 6811:     # no limit to the length of command line arguments.
 6812:     # Libtool will interpret -1 as no limit whatsoever
 6813:     lt_cv_sys_max_cmd_len=-1;
 6814:     ;;
 6815: 
 6816:   cygwin* | mingw* | cegcc*)
 6817:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 6818:     # about 5 minutes as the teststring grows exponentially.
 6819:     # Worse, since 9x/ME are not pre-emptively multitasking,
 6820:     # you end up with a "frozen" computer, even though with patience
 6821:     # the test eventually succeeds (with a max line length of 256k).
 6822:     # Instead, let's just punt: use the minimum linelength reported by
 6823:     # all of the supported platforms: 8192 (on NT/2K/XP).
 6824:     lt_cv_sys_max_cmd_len=8192;
 6825:     ;;
 6826: 
 6827:   mint*)
 6828:     # On MiNT this can take a long time and run out of memory.
 6829:     lt_cv_sys_max_cmd_len=8192;
 6830:     ;;
 6831: 
 6832:   amigaos*)
 6833:     # On AmigaOS with pdksh, this test takes hours, literally.
 6834:     # So we just punt and use a minimum line length of 8192.
 6835:     lt_cv_sys_max_cmd_len=8192;
 6836:     ;;
 6837: 
 6838:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
 6839:     # This has been around since 386BSD, at least.  Likely further.
 6840:     if test -x /sbin/sysctl; then
 6841:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 6842:     elif test -x /usr/sbin/sysctl; then
 6843:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 6844:     else
 6845:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 6846:     fi
 6847:     # And add a safety zone
 6848:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6849:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6850:     ;;
 6851: 
 6852:   interix*)
 6853:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 6854:     lt_cv_sys_max_cmd_len=196608
 6855:     ;;
 6856: 
 6857:   os2*)
 6858:     # The test takes a long time on OS/2.
 6859:     lt_cv_sys_max_cmd_len=8192
 6860:     ;;
 6861: 
 6862:   osf*)
 6863:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 6864:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 6865:     # nice to cause kernel panics so lets avoid the loop below.
 6866:     # First set a reasonable default.
 6867:     lt_cv_sys_max_cmd_len=16384
 6868:     #
 6869:     if test -x /sbin/sysconfig; then
 6870:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 6871:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 6872:       esac
 6873:     fi
 6874:     ;;
 6875:   sco3.2v5*)
 6876:     lt_cv_sys_max_cmd_len=102400
 6877:     ;;
 6878:   sysv5* | sco5v6* | sysv4.2uw2*)
 6879:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 6880:     if test -n "$kargmax"; then
 6881:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 6882:     else
 6883:       lt_cv_sys_max_cmd_len=32768
 6884:     fi
 6885:     ;;
 6886:   *)
 6887:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 6888:     if test -n "$lt_cv_sys_max_cmd_len" && \
 6889:        test undefined != "$lt_cv_sys_max_cmd_len"; then
 6890:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6891:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6892:     else
 6893:       # Make teststring a little bigger before we do anything with it.
 6894:       # a 1K string should be a reasonable start.
 6895:       for i in 1 2 3 4 5 6 7 8; do
 6896:         teststring=$teststring$teststring
 6897:       done
 6898:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 6899:       # If test is not a shell built-in, we'll probably end up computing a
 6900:       # maximum length that is only half of the actual maximum length, but
 6901:       # we can't tell.
 6902:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
 6903: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 6904: 	      test 17 != "$i" # 1/2 MB should be enough
 6905:       do
 6906:         i=`expr $i + 1`
 6907:         teststring=$teststring$teststring
 6908:       done
 6909:       # Only check the string length outside the loop.
 6910:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 6911:       teststring=
 6912:       # Add a significant safety factor because C++ compilers can tack on
 6913:       # massive amounts of additional arguments before passing them to the
 6914:       # linker.  It appears as though 1/2 is a usable value.
 6915:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 6916:     fi
 6917:     ;;
 6918:   esac
 6919: 
 6920: fi
 6921: 
 6922: if test -n "$lt_cv_sys_max_cmd_len"; then
 6923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 6924: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 6925: else
 6926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 6927: $as_echo "none" >&6; }
 6928: fi
 6929: max_cmd_len=$lt_cv_sys_max_cmd_len
 6930: 
 6931: 
 6932: 
 6933: 
 6934: 
 6935: 
 6936: : ${CP="cp -f"}
 6937: : ${MV="mv -f"}
 6938: : ${RM="rm -f"}
 6939: 
 6940: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 6941:   lt_unset=unset
 6942: else
 6943:   lt_unset=false
 6944: fi
 6945: 
 6946: 
 6947: 
 6948: 
 6949: 
 6950: # test EBCDIC or ASCII
 6951: case `echo X|tr X '\101'` in
 6952:  A) # ASCII based system
 6953:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 6954:   lt_SP2NL='tr \040 \012'
 6955:   lt_NL2SP='tr \015\012 \040\040'
 6956:   ;;
 6957:  *) # EBCDIC based system
 6958:   lt_SP2NL='tr \100 \n'
 6959:   lt_NL2SP='tr \r\n \100\100'
 6960:   ;;
 6961: esac
 6962: 
 6963: 
 6964: 
 6965: 
 6966: 
 6967: 
 6968: 
 6969: 
 6970: 
 6971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 6972: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 6973: if ${lt_cv_to_host_file_cmd+:} false; then :
 6974:   $as_echo_n "(cached) " >&6
 6975: else
 6976:   case $host in
 6977:   *-*-mingw* )
 6978:     case $build in
 6979:       *-*-mingw* ) # actually msys
 6980:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 6981:         ;;
 6982:       *-*-cygwin* )
 6983:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 6984:         ;;
 6985:       * ) # otherwise, assume *nix
 6986:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 6987:         ;;
 6988:     esac
 6989:     ;;
 6990:   *-*-cygwin* )
 6991:     case $build in
 6992:       *-*-mingw* ) # actually msys
 6993:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 6994:         ;;
 6995:       *-*-cygwin* )
 6996:         lt_cv_to_host_file_cmd=func_convert_file_noop
 6997:         ;;
 6998:       * ) # otherwise, assume *nix
 6999:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 7000:         ;;
 7001:     esac
 7002:     ;;
 7003:   * ) # unhandled hosts (and "normal" native builds)
 7004:     lt_cv_to_host_file_cmd=func_convert_file_noop
 7005:     ;;
 7006: esac
 7007: 
 7008: fi
 7009: 
 7010: to_host_file_cmd=$lt_cv_to_host_file_cmd
 7011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 7012: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
 7013: 
 7014: 
 7015: 
 7016: 
 7017: 
 7018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 7019: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 7020: if ${lt_cv_to_tool_file_cmd+:} false; then :
 7021:   $as_echo_n "(cached) " >&6
 7022: else
 7023:   #assume ordinary cross tools, or native build.
 7024: lt_cv_to_tool_file_cmd=func_convert_file_noop
 7025: case $host in
 7026:   *-*-mingw* )
 7027:     case $build in
 7028:       *-*-mingw* ) # actually msys
 7029:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 7030:         ;;
 7031:     esac
 7032:     ;;
 7033: esac
 7034: 
 7035: fi
 7036: 
 7037: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 7038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 7039: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 7040: 
 7041: 
 7042: 
 7043: 
 7044: 
 7045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 7046: $as_echo_n "checking for $LD option to reload object files... " >&6; }
 7047: if ${lt_cv_ld_reload_flag+:} false; then :
 7048:   $as_echo_n "(cached) " >&6
 7049: else
 7050:   lt_cv_ld_reload_flag='-r'
 7051: fi
 7052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 7053: $as_echo "$lt_cv_ld_reload_flag" >&6; }
 7054: reload_flag=$lt_cv_ld_reload_flag
 7055: case $reload_flag in
 7056: "" | " "*) ;;
 7057: *) reload_flag=" $reload_flag" ;;
 7058: esac
 7059: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 7060: case $host_os in
 7061:   cygwin* | mingw* | pw32* | cegcc*)
 7062:     if test yes != "$GCC"; then
 7063:       reload_cmds=false
 7064:     fi
 7065:     ;;
 7066:   darwin*)
 7067:     if test yes = "$GCC"; then
 7068:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
 7069:     else
 7070:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 7071:     fi
 7072:     ;;
 7073: esac
 7074: 
 7075: 
 7076: 
 7077: 
 7078: 
 7079: 
 7080: 
 7081: 
 7082: 
 7083: if test -n "$ac_tool_prefix"; then
 7084:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 7085: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 7086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7087: $as_echo_n "checking for $ac_word... " >&6; }
 7088: if ${ac_cv_prog_OBJDUMP+:} false; then :
 7089:   $as_echo_n "(cached) " >&6
 7090: else
 7091:   if test -n "$OBJDUMP"; then
 7092:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 7093: else
 7094: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7095: for as_dir in $PATH
 7096: do
 7097:   IFS=$as_save_IFS
 7098:   test -z "$as_dir" && as_dir=.
 7099:     for ac_exec_ext in '' $ac_executable_extensions; do
 7100:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7101:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 7102:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7103:     break 2
 7104:   fi
 7105: done
 7106:   done
 7107: IFS=$as_save_IFS
 7108: 
 7109: fi
 7110: fi
 7111: OBJDUMP=$ac_cv_prog_OBJDUMP
 7112: if test -n "$OBJDUMP"; then
 7113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 7114: $as_echo "$OBJDUMP" >&6; }
 7115: else
 7116:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7117: $as_echo "no" >&6; }
 7118: fi
 7119: 
 7120: 
 7121: fi
 7122: if test -z "$ac_cv_prog_OBJDUMP"; then
 7123:   ac_ct_OBJDUMP=$OBJDUMP
 7124:   # Extract the first word of "objdump", so it can be a program name with args.
 7125: set dummy objdump; ac_word=$2
 7126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7127: $as_echo_n "checking for $ac_word... " >&6; }
 7128: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 7129:   $as_echo_n "(cached) " >&6
 7130: else
 7131:   if test -n "$ac_ct_OBJDUMP"; then
 7132:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 7133: else
 7134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7135: for as_dir in $PATH
 7136: do
 7137:   IFS=$as_save_IFS
 7138:   test -z "$as_dir" && as_dir=.
 7139:     for ac_exec_ext in '' $ac_executable_extensions; do
 7140:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7141:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 7142:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7143:     break 2
 7144:   fi
 7145: done
 7146:   done
 7147: IFS=$as_save_IFS
 7148: 
 7149: fi
 7150: fi
 7151: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 7152: if test -n "$ac_ct_OBJDUMP"; then
 7153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 7154: $as_echo "$ac_ct_OBJDUMP" >&6; }
 7155: else
 7156:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7157: $as_echo "no" >&6; }
 7158: fi
 7159: 
 7160:   if test "x$ac_ct_OBJDUMP" = x; then
 7161:     OBJDUMP="false"
 7162:   else
 7163:     case $cross_compiling:$ac_tool_warned in
 7164: yes:)
 7165: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7166: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7167: ac_tool_warned=yes ;;
 7168: esac
 7169:     OBJDUMP=$ac_ct_OBJDUMP
 7170:   fi
 7171: else
 7172:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 7173: fi
 7174: 
 7175: test -z "$OBJDUMP" && OBJDUMP=objdump
 7176: 
 7177: 
 7178: 
 7179: 
 7180: 
 7181: 
 7182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 7183: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 7184: if ${lt_cv_deplibs_check_method+:} false; then :
 7185:   $as_echo_n "(cached) " >&6
 7186: else
 7187:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 7188: lt_cv_file_magic_test_file=
 7189: lt_cv_deplibs_check_method='unknown'
 7190: # Need to set the preceding variable on all platforms that support
 7191: # interlibrary dependencies.
 7192: # 'none' -- dependencies not supported.
 7193: # 'unknown' -- same as none, but documents that we really don't know.
 7194: # 'pass_all' -- all dependencies passed with no checks.
 7195: # 'test_compile' -- check by making test program.
 7196: # 'file_magic [[regex]]' -- check by looking for files in library path
 7197: # that responds to the $file_magic_cmd with a given extended regex.
 7198: # If you have 'file' or equivalent on your system and you're not sure
 7199: # whether 'pass_all' will *always* work, you probably want this one.
 7200: 
 7201: case $host_os in
 7202: aix[4-9]*)
 7203:   lt_cv_deplibs_check_method=pass_all
 7204:   ;;
 7205: 
 7206: beos*)
 7207:   lt_cv_deplibs_check_method=pass_all
 7208:   ;;
 7209: 
 7210: bsdi[45]*)
 7211:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 7212:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 7213:   lt_cv_file_magic_test_file=/shlib/libc.so
 7214:   ;;
 7215: 
 7216: cygwin*)
 7217:   # func_win32_libid is a shell function defined in ltmain.sh
 7218:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 7219:   lt_cv_file_magic_cmd='func_win32_libid'
 7220:   ;;
 7221: 
 7222: mingw* | pw32*)
 7223:   # Base MSYS/MinGW do not provide the 'file' command needed by
 7224:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 7225:   # unless we find 'file', for example because we are cross-compiling.
 7226:   if ( file / ) >/dev/null 2>&1; then
 7227:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 7228:     lt_cv_file_magic_cmd='func_win32_libid'
 7229:   else
 7230:     # Keep this pattern in sync with the one in func_win32_libid.
 7231:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 7232:     lt_cv_file_magic_cmd='$OBJDUMP -f'
 7233:   fi
 7234:   ;;
 7235: 
 7236: cegcc*)
 7237:   # use the weaker test based on 'objdump'. See mingw*.
 7238:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 7239:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 7240:   ;;
 7241: 
 7242: darwin* | rhapsody*)
 7243:   lt_cv_deplibs_check_method=pass_all
 7244:   ;;
 7245: 
 7246: freebsd* | dragonfly*)
 7247:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 7248:     case $host_cpu in
 7249:     i*86 )
 7250:       # Not sure whether the presence of OpenBSD here was a mistake.
 7251:       # Let's accept both of them until this is cleared up.
 7252:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 7253:       lt_cv_file_magic_cmd=/usr/bin/file
 7254:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 7255:       ;;
 7256:     esac
 7257:   else
 7258:     lt_cv_deplibs_check_method=pass_all
 7259:   fi
 7260:   ;;
 7261: 
 7262: haiku*)
 7263:   lt_cv_deplibs_check_method=pass_all
 7264:   ;;
 7265: 
 7266: hpux10.20* | hpux11*)
 7267:   lt_cv_file_magic_cmd=/usr/bin/file
 7268:   case $host_cpu in
 7269:   ia64*)
 7270:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 7271:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 7272:     ;;
 7273:   hppa*64*)
 7274:     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]'
 7275:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 7276:     ;;
 7277:   *)
 7278:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 7279:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 7280:     ;;
 7281:   esac
 7282:   ;;
 7283: 
 7284: interix[3-9]*)
 7285:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 7286:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 7287:   ;;
 7288: 
 7289: irix5* | irix6* | nonstopux*)
 7290:   case $LD in
 7291:   *-32|*"-32 ") libmagic=32-bit;;
 7292:   *-n32|*"-n32 ") libmagic=N32;;
 7293:   *-64|*"-64 ") libmagic=64-bit;;
 7294:   *) libmagic=never-match;;
 7295:   esac
 7296:   lt_cv_deplibs_check_method=pass_all
 7297:   ;;
 7298: 
 7299: # This must be glibc/ELF.
 7300: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 7301:   lt_cv_deplibs_check_method=pass_all
 7302:   ;;
 7303: 
 7304: netbsd*)
 7305:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 7306:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 7307:   else
 7308:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 7309:   fi
 7310:   ;;
 7311: 
 7312: newos6*)
 7313:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 7314:   lt_cv_file_magic_cmd=/usr/bin/file
 7315:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 7316:   ;;
 7317: 
 7318: *nto* | *qnx*)
 7319:   lt_cv_deplibs_check_method=pass_all
 7320:   ;;
 7321: 
 7322: openbsd* | bitrig*)
 7323:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 7324:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 7325:   else
 7326:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 7327:   fi
 7328:   ;;
 7329: 
 7330: osf3* | osf4* | osf5*)
 7331:   lt_cv_deplibs_check_method=pass_all
 7332:   ;;
 7333: 
 7334: rdos*)
 7335:   lt_cv_deplibs_check_method=pass_all
 7336:   ;;
 7337: 
 7338: solaris*)
 7339:   lt_cv_deplibs_check_method=pass_all
 7340:   ;;
 7341: 
 7342: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 7343:   lt_cv_deplibs_check_method=pass_all
 7344:   ;;
 7345: 
 7346: sysv4 | sysv4.3*)
 7347:   case $host_vendor in
 7348:   motorola)
 7349:     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]'
 7350:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 7351:     ;;
 7352:   ncr)
 7353:     lt_cv_deplibs_check_method=pass_all
 7354:     ;;
 7355:   sequent)
 7356:     lt_cv_file_magic_cmd='/bin/file'
 7357:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 7358:     ;;
 7359:   sni)
 7360:     lt_cv_file_magic_cmd='/bin/file'
 7361:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 7362:     lt_cv_file_magic_test_file=/lib/libc.so
 7363:     ;;
 7364:   siemens)
 7365:     lt_cv_deplibs_check_method=pass_all
 7366:     ;;
 7367:   pc)
 7368:     lt_cv_deplibs_check_method=pass_all
 7369:     ;;
 7370:   esac
 7371:   ;;
 7372: 
 7373: tpf*)
 7374:   lt_cv_deplibs_check_method=pass_all
 7375:   ;;
 7376: os2*)
 7377:   lt_cv_deplibs_check_method=pass_all
 7378:   ;;
 7379: esac
 7380: 
 7381: fi
 7382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 7383: $as_echo "$lt_cv_deplibs_check_method" >&6; }
 7384: 
 7385: file_magic_glob=
 7386: want_nocaseglob=no
 7387: if test "$build" = "$host"; then
 7388:   case $host_os in
 7389:   mingw* | pw32*)
 7390:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 7391:       want_nocaseglob=yes
 7392:     else
 7393:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 7394:     fi
 7395:     ;;
 7396:   esac
 7397: fi
 7398: 
 7399: file_magic_cmd=$lt_cv_file_magic_cmd
 7400: deplibs_check_method=$lt_cv_deplibs_check_method
 7401: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 7402: 
 7403: 
 7404: 
 7405: 
 7406: 
 7407: 
 7408: 
 7409: 
 7410: 
 7411: 
 7412: 
 7413: 
 7414: 
 7415: 
 7416: 
 7417: 
 7418: 
 7419: 
 7420: 
 7421: 
 7422: 
 7423: 
 7424: if test -n "$ac_tool_prefix"; then
 7425:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 7426: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 7427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7428: $as_echo_n "checking for $ac_word... " >&6; }
 7429: if ${ac_cv_prog_DLLTOOL+:} false; then :
 7430:   $as_echo_n "(cached) " >&6
 7431: else
 7432:   if test -n "$DLLTOOL"; then
 7433:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 7434: else
 7435: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7436: for as_dir in $PATH
 7437: do
 7438:   IFS=$as_save_IFS
 7439:   test -z "$as_dir" && as_dir=.
 7440:     for ac_exec_ext in '' $ac_executable_extensions; do
 7441:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7442:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 7443:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7444:     break 2
 7445:   fi
 7446: done
 7447:   done
 7448: IFS=$as_save_IFS
 7449: 
 7450: fi
 7451: fi
 7452: DLLTOOL=$ac_cv_prog_DLLTOOL
 7453: if test -n "$DLLTOOL"; then
 7454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 7455: $as_echo "$DLLTOOL" >&6; }
 7456: else
 7457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7458: $as_echo "no" >&6; }
 7459: fi
 7460: 
 7461: 
 7462: fi
 7463: if test -z "$ac_cv_prog_DLLTOOL"; then
 7464:   ac_ct_DLLTOOL=$DLLTOOL
 7465:   # Extract the first word of "dlltool", so it can be a program name with args.
 7466: set dummy dlltool; ac_word=$2
 7467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7468: $as_echo_n "checking for $ac_word... " >&6; }
 7469: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 7470:   $as_echo_n "(cached) " >&6
 7471: else
 7472:   if test -n "$ac_ct_DLLTOOL"; then
 7473:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 7474: else
 7475: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7476: for as_dir in $PATH
 7477: do
 7478:   IFS=$as_save_IFS
 7479:   test -z "$as_dir" && as_dir=.
 7480:     for ac_exec_ext in '' $ac_executable_extensions; do
 7481:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7482:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 7483:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7484:     break 2
 7485:   fi
 7486: done
 7487:   done
 7488: IFS=$as_save_IFS
 7489: 
 7490: fi
 7491: fi
 7492: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 7493: if test -n "$ac_ct_DLLTOOL"; then
 7494:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 7495: $as_echo "$ac_ct_DLLTOOL" >&6; }
 7496: else
 7497:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7498: $as_echo "no" >&6; }
 7499: fi
 7500: 
 7501:   if test "x$ac_ct_DLLTOOL" = x; then
 7502:     DLLTOOL="false"
 7503:   else
 7504:     case $cross_compiling:$ac_tool_warned in
 7505: yes:)
 7506: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7507: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7508: ac_tool_warned=yes ;;
 7509: esac
 7510:     DLLTOOL=$ac_ct_DLLTOOL
 7511:   fi
 7512: else
 7513:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 7514: fi
 7515: 
 7516: test -z "$DLLTOOL" && DLLTOOL=dlltool
 7517: 
 7518: 
 7519: 
 7520: 
 7521: 
 7522: 
 7523: 
 7524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 7525: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 7526: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 7527:   $as_echo_n "(cached) " >&6
 7528: else
 7529:   lt_cv_sharedlib_from_linklib_cmd='unknown'
 7530: 
 7531: case $host_os in
 7532: cygwin* | mingw* | pw32* | cegcc*)
 7533:   # two different shell functions defined in ltmain.sh;
 7534:   # decide which one to use based on capabilities of $DLLTOOL
 7535:   case `$DLLTOOL --help 2>&1` in
 7536:   *--identify-strict*)
 7537:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 7538:     ;;
 7539:   *)
 7540:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 7541:     ;;
 7542:   esac
 7543:   ;;
 7544: *)
 7545:   # fallback: assume linklib IS sharedlib
 7546:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
 7547:   ;;
 7548: esac
 7549: 
 7550: fi
 7551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 7552: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 7553: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 7554: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 7555: 
 7556: 
 7557: 
 7558: 
 7559: 
 7560: 
 7561: 
 7562: if test -n "$ac_tool_prefix"; then
 7563:   for ac_prog in ar
 7564:   do
 7565:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 7566: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 7567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7568: $as_echo_n "checking for $ac_word... " >&6; }
 7569: if ${ac_cv_prog_AR+:} false; then :
 7570:   $as_echo_n "(cached) " >&6
 7571: else
 7572:   if test -n "$AR"; then
 7573:   ac_cv_prog_AR="$AR" # Let the user override the test.
 7574: else
 7575: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7576: for as_dir in $PATH
 7577: do
 7578:   IFS=$as_save_IFS
 7579:   test -z "$as_dir" && as_dir=.
 7580:     for ac_exec_ext in '' $ac_executable_extensions; do
 7581:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7582:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 7583:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7584:     break 2
 7585:   fi
 7586: done
 7587:   done
 7588: IFS=$as_save_IFS
 7589: 
 7590: fi
 7591: fi
 7592: AR=$ac_cv_prog_AR
 7593: if test -n "$AR"; then
 7594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 7595: $as_echo "$AR" >&6; }
 7596: else
 7597:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7598: $as_echo "no" >&6; }
 7599: fi
 7600: 
 7601: 
 7602:     test -n "$AR" && break
 7603:   done
 7604: fi
 7605: if test -z "$AR"; then
 7606:   ac_ct_AR=$AR
 7607:   for ac_prog in ar
 7608: do
 7609:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 7610: set dummy $ac_prog; ac_word=$2
 7611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7612: $as_echo_n "checking for $ac_word... " >&6; }
 7613: if ${ac_cv_prog_ac_ct_AR+:} false; then :
 7614:   $as_echo_n "(cached) " >&6
 7615: else
 7616:   if test -n "$ac_ct_AR"; then
 7617:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 7618: else
 7619: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7620: for as_dir in $PATH
 7621: do
 7622:   IFS=$as_save_IFS
 7623:   test -z "$as_dir" && as_dir=.
 7624:     for ac_exec_ext in '' $ac_executable_extensions; do
 7625:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7626:     ac_cv_prog_ac_ct_AR="$ac_prog"
 7627:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7628:     break 2
 7629:   fi
 7630: done
 7631:   done
 7632: IFS=$as_save_IFS
 7633: 
 7634: fi
 7635: fi
 7636: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 7637: if test -n "$ac_ct_AR"; then
 7638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 7639: $as_echo "$ac_ct_AR" >&6; }
 7640: else
 7641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7642: $as_echo "no" >&6; }
 7643: fi
 7644: 
 7645: 
 7646:   test -n "$ac_ct_AR" && break
 7647: done
 7648: 
 7649:   if test "x$ac_ct_AR" = x; then
 7650:     AR="false"
 7651:   else
 7652:     case $cross_compiling:$ac_tool_warned in
 7653: yes:)
 7654: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7655: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7656: ac_tool_warned=yes ;;
 7657: esac
 7658:     AR=$ac_ct_AR
 7659:   fi
 7660: fi
 7661: 
 7662: : ${AR=ar}
 7663: : ${AR_FLAGS=cru}
 7664: 
 7665: 
 7666: 
 7667: 
 7668: 
 7669: 
 7670: 
 7671: 
 7672: 
 7673: 
 7674: 
 7675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 7676: $as_echo_n "checking for archiver @FILE support... " >&6; }
 7677: if ${lt_cv_ar_at_file+:} false; then :
 7678:   $as_echo_n "(cached) " >&6
 7679: else
 7680:   lt_cv_ar_at_file=no
 7681:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7682: /* end confdefs.h.  */
 7683: 
 7684: int
 7685: main ()
 7686: {
 7687: 
 7688:   ;
 7689:   return 0;
 7690: }
 7691: _ACEOF
 7692: if ac_fn_c_try_compile "$LINENO"; then :
 7693:   echo conftest.$ac_objext > conftest.lst
 7694:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 7695:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 7696:   (eval $lt_ar_try) 2>&5
 7697:   ac_status=$?
 7698:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7699:   test $ac_status = 0; }
 7700:       if test 0 -eq "$ac_status"; then
 7701: 	# Ensure the archiver fails upon bogus file names.
 7702: 	rm -f conftest.$ac_objext libconftest.a
 7703: 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 7704:   (eval $lt_ar_try) 2>&5
 7705:   ac_status=$?
 7706:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7707:   test $ac_status = 0; }
 7708: 	if test 0 -ne "$ac_status"; then
 7709:           lt_cv_ar_at_file=@
 7710:         fi
 7711:       fi
 7712:       rm -f conftest.* libconftest.a
 7713: 
 7714: fi
 7715: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7716: 
 7717: fi
 7718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 7719: $as_echo "$lt_cv_ar_at_file" >&6; }
 7720: 
 7721: if test no = "$lt_cv_ar_at_file"; then
 7722:   archiver_list_spec=
 7723: else
 7724:   archiver_list_spec=$lt_cv_ar_at_file
 7725: fi
 7726: 
 7727: 
 7728: 
 7729: 
 7730: 
 7731: 
 7732: 
 7733: if test -n "$ac_tool_prefix"; then
 7734:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 7735: set dummy ${ac_tool_prefix}strip; ac_word=$2
 7736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7737: $as_echo_n "checking for $ac_word... " >&6; }
 7738: if ${ac_cv_prog_STRIP+:} false; then :
 7739:   $as_echo_n "(cached) " >&6
 7740: else
 7741:   if test -n "$STRIP"; then
 7742:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 7743: else
 7744: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7745: for as_dir in $PATH
 7746: do
 7747:   IFS=$as_save_IFS
 7748:   test -z "$as_dir" && as_dir=.
 7749:     for ac_exec_ext in '' $ac_executable_extensions; do
 7750:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7751:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 7752:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7753:     break 2
 7754:   fi
 7755: done
 7756:   done
 7757: IFS=$as_save_IFS
 7758: 
 7759: fi
 7760: fi
 7761: STRIP=$ac_cv_prog_STRIP
 7762: if test -n "$STRIP"; then
 7763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 7764: $as_echo "$STRIP" >&6; }
 7765: else
 7766:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7767: $as_echo "no" >&6; }
 7768: fi
 7769: 
 7770: 
 7771: fi
 7772: if test -z "$ac_cv_prog_STRIP"; then
 7773:   ac_ct_STRIP=$STRIP
 7774:   # Extract the first word of "strip", so it can be a program name with args.
 7775: set dummy strip; ac_word=$2
 7776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7777: $as_echo_n "checking for $ac_word... " >&6; }
 7778: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 7779:   $as_echo_n "(cached) " >&6
 7780: else
 7781:   if test -n "$ac_ct_STRIP"; then
 7782:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 7783: else
 7784: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7785: for as_dir in $PATH
 7786: do
 7787:   IFS=$as_save_IFS
 7788:   test -z "$as_dir" && as_dir=.
 7789:     for ac_exec_ext in '' $ac_executable_extensions; do
 7790:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7791:     ac_cv_prog_ac_ct_STRIP="strip"
 7792:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7793:     break 2
 7794:   fi
 7795: done
 7796:   done
 7797: IFS=$as_save_IFS
 7798: 
 7799: fi
 7800: fi
 7801: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 7802: if test -n "$ac_ct_STRIP"; then
 7803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 7804: $as_echo "$ac_ct_STRIP" >&6; }
 7805: else
 7806:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7807: $as_echo "no" >&6; }
 7808: fi
 7809: 
 7810:   if test "x$ac_ct_STRIP" = x; then
 7811:     STRIP=":"
 7812:   else
 7813:     case $cross_compiling:$ac_tool_warned in
 7814: yes:)
 7815: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7816: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7817: ac_tool_warned=yes ;;
 7818: esac
 7819:     STRIP=$ac_ct_STRIP
 7820:   fi
 7821: else
 7822:   STRIP="$ac_cv_prog_STRIP"
 7823: fi
 7824: 
 7825: test -z "$STRIP" && STRIP=:
 7826: 
 7827: 
 7828: 
 7829: 
 7830: 
 7831: 
 7832: if test -n "$ac_tool_prefix"; then
 7833:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 7834: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 7835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7836: $as_echo_n "checking for $ac_word... " >&6; }
 7837: if ${ac_cv_prog_RANLIB+:} false; then :
 7838:   $as_echo_n "(cached) " >&6
 7839: else
 7840:   if test -n "$RANLIB"; then
 7841:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 7842: else
 7843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7844: for as_dir in $PATH
 7845: do
 7846:   IFS=$as_save_IFS
 7847:   test -z "$as_dir" && as_dir=.
 7848:     for ac_exec_ext in '' $ac_executable_extensions; do
 7849:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7850:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 7851:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7852:     break 2
 7853:   fi
 7854: done
 7855:   done
 7856: IFS=$as_save_IFS
 7857: 
 7858: fi
 7859: fi
 7860: RANLIB=$ac_cv_prog_RANLIB
 7861: if test -n "$RANLIB"; then
 7862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 7863: $as_echo "$RANLIB" >&6; }
 7864: else
 7865:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7866: $as_echo "no" >&6; }
 7867: fi
 7868: 
 7869: 
 7870: fi
 7871: if test -z "$ac_cv_prog_RANLIB"; then
 7872:   ac_ct_RANLIB=$RANLIB
 7873:   # Extract the first word of "ranlib", so it can be a program name with args.
 7874: set dummy ranlib; ac_word=$2
 7875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7876: $as_echo_n "checking for $ac_word... " >&6; }
 7877: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 7878:   $as_echo_n "(cached) " >&6
 7879: else
 7880:   if test -n "$ac_ct_RANLIB"; then
 7881:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 7882: else
 7883: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7884: for as_dir in $PATH
 7885: do
 7886:   IFS=$as_save_IFS
 7887:   test -z "$as_dir" && as_dir=.
 7888:     for ac_exec_ext in '' $ac_executable_extensions; do
 7889:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7890:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 7891:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7892:     break 2
 7893:   fi
 7894: done
 7895:   done
 7896: IFS=$as_save_IFS
 7897: 
 7898: fi
 7899: fi
 7900: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 7901: if test -n "$ac_ct_RANLIB"; then
 7902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 7903: $as_echo "$ac_ct_RANLIB" >&6; }
 7904: else
 7905:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7906: $as_echo "no" >&6; }
 7907: fi
 7908: 
 7909:   if test "x$ac_ct_RANLIB" = x; then
 7910:     RANLIB=":"
 7911:   else
 7912:     case $cross_compiling:$ac_tool_warned in
 7913: yes:)
 7914: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7915: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7916: ac_tool_warned=yes ;;
 7917: esac
 7918:     RANLIB=$ac_ct_RANLIB
 7919:   fi
 7920: else
 7921:   RANLIB="$ac_cv_prog_RANLIB"
 7922: fi
 7923: 
 7924: test -z "$RANLIB" && RANLIB=:
 7925: 
 7926: 
 7927: 
 7928: 
 7929: 
 7930: 
 7931: # Determine commands to create old-style static archives.
 7932: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 7933: old_postinstall_cmds='chmod 644 $oldlib'
 7934: old_postuninstall_cmds=
 7935: 
 7936: if test -n "$RANLIB"; then
 7937:   case $host_os in
 7938:   bitrig* | openbsd*)
 7939:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 7940:     ;;
 7941:   *)
 7942:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 7943:     ;;
 7944:   esac
 7945:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 7946: fi
 7947: 
 7948: case $host_os in
 7949:   darwin*)
 7950:     lock_old_archive_extraction=yes ;;
 7951:   *)
 7952:     lock_old_archive_extraction=no ;;
 7953: esac
 7954: 
 7955: 
 7956: 
 7957: 
 7958: 
 7959: 
 7960: 
 7961: 
 7962: 
 7963: 
 7964: 
 7965: 
 7966: 
 7967: 
 7968: 
 7969: 
 7970: 
 7971: 
 7972: 
 7973: 
 7974: 
 7975: 
 7976: 
 7977: 
 7978: 
 7979: 
 7980: 
 7981: 
 7982: 
 7983: 
 7984: 
 7985: 
 7986: 
 7987: 
 7988: 
 7989: 
 7990: 
 7991: 
 7992: 
 7993: # If no C compiler was specified, use CC.
 7994: LTCC=${LTCC-"$CC"}
 7995: 
 7996: # If no C compiler flags were specified, use CFLAGS.
 7997: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7998: 
 7999: # Allow CC to be a program name with arguments.
 8000: compiler=$CC
 8001: 
 8002: 
 8003: # Check for command to grab the raw symbol name followed by C symbol from nm.
 8004: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 8005: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 8006: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 8007:   $as_echo_n "(cached) " >&6
 8008: else
 8009: 
 8010: # These are sane defaults that work on at least a few old systems.
 8011: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 8012: 
 8013: # Character class describing NM global symbol codes.
 8014: symcode='[BCDEGRST]'
 8015: 
 8016: # Regexp to match symbols that can be accessed directly from C.
 8017: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 8018: 
 8019: # Define system-specific variables.
 8020: case $host_os in
 8021: aix*)
 8022:   symcode='[BCDT]'
 8023:   ;;
 8024: cygwin* | mingw* | pw32* | cegcc*)
 8025:   symcode='[ABCDGISTW]'
 8026:   ;;
 8027: hpux*)
 8028:   if test ia64 = "$host_cpu"; then
 8029:     symcode='[ABCDEGRST]'
 8030:   fi
 8031:   ;;
 8032: irix* | nonstopux*)
 8033:   symcode='[BCDEGRST]'
 8034:   ;;
 8035: osf*)
 8036:   symcode='[BCDEGQRST]'
 8037:   ;;
 8038: solaris*)
 8039:   symcode='[BDRT]'
 8040:   ;;
 8041: sco3.2v5*)
 8042:   symcode='[DT]'
 8043:   ;;
 8044: sysv4.2uw2*)
 8045:   symcode='[DT]'
 8046:   ;;
 8047: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 8048:   symcode='[ABDT]'
 8049:   ;;
 8050: sysv4)
 8051:   symcode='[DFNSTU]'
 8052:   ;;
 8053: esac
 8054: 
 8055: # If we're using GNU nm, then use its standard symbol codes.
 8056: case `$NM -V 2>&1` in
 8057: *GNU* | *'with BFD'*)
 8058:   symcode='[ABCDGIRSTW]' ;;
 8059: esac
 8060: 
 8061: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 8062:   # Gets list of data symbols to import.
 8063:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
 8064:   # Adjust the below global symbol transforms to fixup imported variables.
 8065:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
 8066:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
 8067:   lt_c_name_lib_hook="\
 8068:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
 8069:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
 8070: else
 8071:   # Disable hooks by default.
 8072:   lt_cv_sys_global_symbol_to_import=
 8073:   lt_cdecl_hook=
 8074:   lt_c_name_hook=
 8075:   lt_c_name_lib_hook=
 8076: fi
 8077: 
 8078: # Transform an extracted symbol line into a proper C declaration.
 8079: # Some systems (esp. on ia64) link data and code symbols differently,
 8080: # so use this general approach.
 8081: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
 8082: $lt_cdecl_hook\
 8083: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 8084: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
 8085: 
 8086: # Transform an extracted symbol line into symbol name and symbol address
 8087: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
 8088: $lt_c_name_hook\
 8089: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 8090: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
 8091: 
 8092: # Transform an extracted symbol line into symbol name with lib prefix and
 8093: # symbol address.
 8094: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
 8095: $lt_c_name_lib_hook\
 8096: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 8097: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
 8098: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
 8099: 
 8100: # Handle CRLF in mingw tool chain
 8101: opt_cr=
 8102: case $build_os in
 8103: mingw*)
 8104:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 8105:   ;;
 8106: esac
 8107: 
 8108: # Try without a prefix underscore, then with it.
 8109: for ac_symprfx in "" "_"; do
 8110: 
 8111:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 8112:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 8113: 
 8114:   # Write the raw and C identifiers.
 8115:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 8116:     # Fake it for dumpbin and say T for any non-static function,
 8117:     # D for any global variable and I for any imported variable.
 8118:     # Also find C++ and __fastcall symbols from MSVC++,
 8119:     # which start with @ or ?.
 8120:     lt_cv_sys_global_symbol_pipe="$AWK '"\
 8121: "     {last_section=section; section=\$ 3};"\
 8122: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 8123: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 8124: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
 8125: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
 8126: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
 8127: "     \$ 0!~/External *\|/{next};"\
 8128: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 8129: "     {if(hide[section]) next};"\
 8130: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
 8131: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
 8132: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
 8133: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
 8134: "     ' prfx=^$ac_symprfx"
 8135:   else
 8136:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 8137:   fi
 8138:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 8139: 
 8140:   # Check to see that the pipe works correctly.
 8141:   pipe_works=no
 8142: 
 8143:   rm -f conftest*
 8144:   cat > conftest.$ac_ext <<_LT_EOF
 8145: #ifdef __cplusplus
 8146: extern "C" {
 8147: #endif
 8148: char nm_test_var;
 8149: void nm_test_func(void);
 8150: void nm_test_func(void){}
 8151: #ifdef __cplusplus
 8152: }
 8153: #endif
 8154: int main(){nm_test_var='a';nm_test_func();return(0);}
 8155: _LT_EOF
 8156: 
 8157:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 8158:   (eval $ac_compile) 2>&5
 8159:   ac_status=$?
 8160:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8161:   test $ac_status = 0; }; then
 8162:     # Now try to grab the symbols.
 8163:     nlist=conftest.nm
 8164:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 8165:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 8166:   ac_status=$?
 8167:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8168:   test $ac_status = 0; } && test -s "$nlist"; then
 8169:       # Try sorting and uniquifying the output.
 8170:       if sort "$nlist" | uniq > "$nlist"T; then
 8171: 	mv -f "$nlist"T "$nlist"
 8172:       else
 8173: 	rm -f "$nlist"T
 8174:       fi
 8175: 
 8176:       # Make sure that we snagged all the symbols we need.
 8177:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 8178: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 8179: 	  cat <<_LT_EOF > conftest.$ac_ext
 8180: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 8181: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
 8182: /* DATA imports from DLLs on WIN32 can't be const, because runtime
 8183:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 8184: # define LT_DLSYM_CONST
 8185: #elif defined __osf__
 8186: /* This system does not cope well with relocations in const data.  */
 8187: # define LT_DLSYM_CONST
 8188: #else
 8189: # define LT_DLSYM_CONST const
 8190: #endif
 8191: 
 8192: #ifdef __cplusplus
 8193: extern "C" {
 8194: #endif
 8195: 
 8196: _LT_EOF
 8197: 	  # Now generate the symbol file.
 8198: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 8199: 
 8200: 	  cat <<_LT_EOF >> conftest.$ac_ext
 8201: 
 8202: /* The mapping between symbol names and symbols.  */
 8203: LT_DLSYM_CONST struct {
 8204:   const char *name;
 8205:   void       *address;
 8206: }
 8207: lt__PROGRAM__LTX_preloaded_symbols[] =
 8208: {
 8209:   { "@PROGRAM@", (void *) 0 },
 8210: _LT_EOF
 8211: 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 8212: 	  cat <<\_LT_EOF >> conftest.$ac_ext
 8213:   {0, (void *) 0}
 8214: };
 8215: 
 8216: /* This works around a problem in FreeBSD linker */
 8217: #ifdef FREEBSD_WORKAROUND
 8218: static const void *lt_preloaded_setup() {
 8219:   return lt__PROGRAM__LTX_preloaded_symbols;
 8220: }
 8221: #endif
 8222: 
 8223: #ifdef __cplusplus
 8224: }
 8225: #endif
 8226: _LT_EOF
 8227: 	  # Now try linking the two files.
 8228: 	  mv conftest.$ac_objext conftstm.$ac_objext
 8229: 	  lt_globsym_save_LIBS=$LIBS
 8230: 	  lt_globsym_save_CFLAGS=$CFLAGS
 8231: 	  LIBS=conftstm.$ac_objext
 8232: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 8233: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 8234:   (eval $ac_link) 2>&5
 8235:   ac_status=$?
 8236:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8237:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
 8238: 	    pipe_works=yes
 8239: 	  fi
 8240: 	  LIBS=$lt_globsym_save_LIBS
 8241: 	  CFLAGS=$lt_globsym_save_CFLAGS
 8242: 	else
 8243: 	  echo "cannot find nm_test_func in $nlist" >&5
 8244: 	fi
 8245:       else
 8246: 	echo "cannot find nm_test_var in $nlist" >&5
 8247:       fi
 8248:     else
 8249:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 8250:     fi
 8251:   else
 8252:     echo "$progname: failed program was:" >&5
 8253:     cat conftest.$ac_ext >&5
 8254:   fi
 8255:   rm -rf conftest* conftst*
 8256: 
 8257:   # Do not use the global_symbol_pipe unless it works.
 8258:   if test yes = "$pipe_works"; then
 8259:     break
 8260:   else
 8261:     lt_cv_sys_global_symbol_pipe=
 8262:   fi
 8263: done
 8264: 
 8265: fi
 8266: 
 8267: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 8268:   lt_cv_sys_global_symbol_to_cdecl=
 8269: fi
 8270: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 8271:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 8272: $as_echo "failed" >&6; }
 8273: else
 8274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 8275: $as_echo "ok" >&6; }
 8276: fi
 8277: 
 8278: # Response file support.
 8279: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 8280:   nm_file_list_spec='@'
 8281: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 8282:   nm_file_list_spec='@'
 8283: fi
 8284: 
 8285: 
 8286: 
 8287: 
 8288: 
 8289: 
 8290: 
 8291: 
 8292: 
 8293: 
 8294: 
 8295: 
 8296: 
 8297: 
 8298: 
 8299: 
 8300: 
 8301: 
 8302: 
 8303: 
 8304: 
 8305: 
 8306: 
 8307: 
 8308: 
 8309: 
 8310: 
 8311: 
 8312: 
 8313: 
 8314: 
 8315: 
 8316: 
 8317: 
 8318: 
 8319: 
 8320: 
 8321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 8322: $as_echo_n "checking for sysroot... " >&6; }
 8323: 
 8324: # Check whether --with-sysroot was given.
 8325: if test "${with_sysroot+set}" = set; then :
 8326:   withval=$with_sysroot;
 8327: else
 8328:   with_sysroot=no
 8329: fi
 8330: 
 8331: 
 8332: lt_sysroot=
 8333: case $with_sysroot in #(
 8334:  yes)
 8335:    if test yes = "$GCC"; then
 8336:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 8337:    fi
 8338:    ;; #(
 8339:  /*)
 8340:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 8341:    ;; #(
 8342:  no|'')
 8343:    ;; #(
 8344:  *)
 8345:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
 8346: $as_echo "$with_sysroot" >&6; }
 8347:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 8348:    ;;
 8349: esac
 8350: 
 8351:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 8352: $as_echo "${lt_sysroot:-no}" >&6; }
 8353: 
 8354: 
 8355: 
 8356: 
 8357: 
 8358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
 8359: $as_echo_n "checking for a working dd... " >&6; }
 8360: if ${ac_cv_path_lt_DD+:} false; then :
 8361:   $as_echo_n "(cached) " >&6
 8362: else
 8363:   printf 0123456789abcdef0123456789abcdef >conftest.i
 8364: cat conftest.i conftest.i >conftest2.i
 8365: : ${lt_DD:=$DD}
 8366: if test -z "$lt_DD"; then
 8367:   ac_path_lt_DD_found=false
 8368:   # Loop through the user's path and test for each of PROGNAME-LIST
 8369:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8370: for as_dir in $PATH
 8371: do
 8372:   IFS=$as_save_IFS
 8373:   test -z "$as_dir" && as_dir=.
 8374:     for ac_prog in dd; do
 8375:     for ac_exec_ext in '' $ac_executable_extensions; do
 8376:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
 8377:       as_fn_executable_p "$ac_path_lt_DD" || continue
 8378: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 8379:   cmp -s conftest.i conftest.out \
 8380:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
 8381: fi
 8382:       $ac_path_lt_DD_found && break 3
 8383:     done
 8384:   done
 8385:   done
 8386: IFS=$as_save_IFS
 8387:   if test -z "$ac_cv_path_lt_DD"; then
 8388:     :
 8389:   fi
 8390: else
 8391:   ac_cv_path_lt_DD=$lt_DD
 8392: fi
 8393: 
 8394: rm -f conftest.i conftest2.i conftest.out
 8395: fi
 8396: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
 8397: $as_echo "$ac_cv_path_lt_DD" >&6; }
 8398: 
 8399: 
 8400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
 8401: $as_echo_n "checking how to truncate binary pipes... " >&6; }
 8402: if ${lt_cv_truncate_bin+:} false; then :
 8403:   $as_echo_n "(cached) " >&6
 8404: else
 8405:   printf 0123456789abcdef0123456789abcdef >conftest.i
 8406: cat conftest.i conftest.i >conftest2.i
 8407: lt_cv_truncate_bin=
 8408: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 8409:   cmp -s conftest.i conftest.out \
 8410:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
 8411: fi
 8412: rm -f conftest.i conftest2.i conftest.out
 8413: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
 8414: fi
 8415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
 8416: $as_echo "$lt_cv_truncate_bin" >&6; }
 8417: 
 8418: 
 8419: 
 8420: 
 8421: 
 8422: 
 8423: 
 8424: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 8425: func_cc_basename ()
 8426: {
 8427:     for cc_temp in $*""; do
 8428:       case $cc_temp in
 8429:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 8430:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 8431:         \-*) ;;
 8432:         *) break;;
 8433:       esac
 8434:     done
 8435:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 8436: }
 8437: 
 8438: # Check whether --enable-libtool-lock was given.
 8439: if test "${enable_libtool_lock+set}" = set; then :
 8440:   enableval=$enable_libtool_lock;
 8441: fi
 8442: 
 8443: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
 8444: 
 8445: # Some flags need to be propagated to the compiler or linker for good
 8446: # libtool support.
 8447: case $host in
 8448: ia64-*-hpux*)
 8449:   # Find out what ABI is being produced by ac_compile, and set mode
 8450:   # options accordingly.
 8451:   echo 'int i;' > conftest.$ac_ext
 8452:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 8453:   (eval $ac_compile) 2>&5
 8454:   ac_status=$?
 8455:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8456:   test $ac_status = 0; }; then
 8457:     case `/usr/bin/file conftest.$ac_objext` in
 8458:       *ELF-32*)
 8459: 	HPUX_IA64_MODE=32
 8460: 	;;
 8461:       *ELF-64*)
 8462: 	HPUX_IA64_MODE=64
 8463: 	;;
 8464:     esac
 8465:   fi
 8466:   rm -rf conftest*
 8467:   ;;
 8468: *-*-irix6*)
 8469:   # Find out what ABI is being produced by ac_compile, and set linker
 8470:   # options accordingly.
 8471:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 8472:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 8473:   (eval $ac_compile) 2>&5
 8474:   ac_status=$?
 8475:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8476:   test $ac_status = 0; }; then
 8477:     if test yes = "$lt_cv_prog_gnu_ld"; then
 8478:       case `/usr/bin/file conftest.$ac_objext` in
 8479: 	*32-bit*)
 8480: 	  LD="${LD-ld} -melf32bsmip"
 8481: 	  ;;
 8482: 	*N32*)
 8483: 	  LD="${LD-ld} -melf32bmipn32"
 8484: 	  ;;
 8485: 	*64-bit*)
 8486: 	  LD="${LD-ld} -melf64bmip"
 8487: 	;;
 8488:       esac
 8489:     else
 8490:       case `/usr/bin/file conftest.$ac_objext` in
 8491: 	*32-bit*)
 8492: 	  LD="${LD-ld} -32"
 8493: 	  ;;
 8494: 	*N32*)
 8495: 	  LD="${LD-ld} -n32"
 8496: 	  ;;
 8497: 	*64-bit*)
 8498: 	  LD="${LD-ld} -64"
 8499: 	  ;;
 8500:       esac
 8501:     fi
 8502:   fi
 8503:   rm -rf conftest*
 8504:   ;;
 8505: 
 8506: mips64*-*linux*)
 8507:   # Find out what ABI is being produced by ac_compile, and set linker
 8508:   # options accordingly.
 8509:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 8510:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 8511:   (eval $ac_compile) 2>&5
 8512:   ac_status=$?
 8513:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8514:   test $ac_status = 0; }; then
 8515:     emul=elf
 8516:     case `/usr/bin/file conftest.$ac_objext` in
 8517:       *32-bit*)
 8518: 	emul="${emul}32"
 8519: 	;;
 8520:       *64-bit*)
 8521: 	emul="${emul}64"
 8522: 	;;
 8523:     esac
 8524:     case `/usr/bin/file conftest.$ac_objext` in
 8525:       *MSB*)
 8526: 	emul="${emul}btsmip"
 8527: 	;;
 8528:       *LSB*)
 8529: 	emul="${emul}ltsmip"
 8530: 	;;
 8531:     esac
 8532:     case `/usr/bin/file conftest.$ac_objext` in
 8533:       *N32*)
 8534: 	emul="${emul}n32"
 8535: 	;;
 8536:     esac
 8537:     LD="${LD-ld} -m $emul"
 8538:   fi
 8539:   rm -rf conftest*
 8540:   ;;
 8541: 
 8542: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 8543: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 8544:   # Find out what ABI is being produced by ac_compile, and set linker
 8545:   # options accordingly.  Note that the listed cases only cover the
 8546:   # situations where additional linker options are needed (such as when
 8547:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
 8548:   # vice versa); the common cases where no linker options are needed do
 8549:   # not appear in the list.
 8550:   echo 'int i;' > conftest.$ac_ext
 8551:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 8552:   (eval $ac_compile) 2>&5
 8553:   ac_status=$?
 8554:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8555:   test $ac_status = 0; }; then
 8556:     case `/usr/bin/file conftest.o` in
 8557:       *32-bit*)
 8558: 	case $host in
 8559: 	  x86_64-*kfreebsd*-gnu)
 8560: 	    LD="${LD-ld} -m elf_i386_fbsd"
 8561: 	    ;;
 8562: 	  x86_64-*linux*)
 8563: 	    case `/usr/bin/file conftest.o` in
 8564: 	      *x86-64*)
 8565: 		LD="${LD-ld} -m elf32_x86_64"
 8566: 		;;
 8567: 	      *)
 8568: 		LD="${LD-ld} -m elf_i386"
 8569: 		;;
 8570: 	    esac
 8571: 	    ;;
 8572: 	  powerpc64le-*linux*)
 8573: 	    LD="${LD-ld} -m elf32lppclinux"
 8574: 	    ;;
 8575: 	  powerpc64-*linux*)
 8576: 	    LD="${LD-ld} -m elf32ppclinux"
 8577: 	    ;;
 8578: 	  s390x-*linux*)
 8579: 	    LD="${LD-ld} -m elf_s390"
 8580: 	    ;;
 8581: 	  sparc64-*linux*)
 8582: 	    LD="${LD-ld} -m elf32_sparc"
 8583: 	    ;;
 8584: 	esac
 8585: 	;;
 8586:       *64-bit*)
 8587: 	case $host in
 8588: 	  x86_64-*kfreebsd*-gnu)
 8589: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 8590: 	    ;;
 8591: 	  x86_64-*linux*)
 8592: 	    LD="${LD-ld} -m elf_x86_64"
 8593: 	    ;;
 8594: 	  powerpcle-*linux*)
 8595: 	    LD="${LD-ld} -m elf64lppc"
 8596: 	    ;;
 8597: 	  powerpc-*linux*)
 8598: 	    LD="${LD-ld} -m elf64ppc"
 8599: 	    ;;
 8600: 	  s390*-*linux*|s390*-*tpf*)
 8601: 	    LD="${LD-ld} -m elf64_s390"
 8602: 	    ;;
 8603: 	  sparc*-*linux*)
 8604: 	    LD="${LD-ld} -m elf64_sparc"
 8605: 	    ;;
 8606: 	esac
 8607: 	;;
 8608:     esac
 8609:   fi
 8610:   rm -rf conftest*
 8611:   ;;
 8612: 
 8613: *-*-sco3.2v5*)
 8614:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 8615:   SAVE_CFLAGS=$CFLAGS
 8616:   CFLAGS="$CFLAGS -belf"
 8617:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 8618: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 8619: if ${lt_cv_cc_needs_belf+:} false; then :
 8620:   $as_echo_n "(cached) " >&6
 8621: else
 8622:   ac_ext=c
 8623: ac_cpp='$CPP $CPPFLAGS'
 8624: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8625: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8626: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 8627: 
 8628:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8629: /* end confdefs.h.  */
 8630: 
 8631: int
 8632: main ()
 8633: {
 8634: 
 8635:   ;
 8636:   return 0;
 8637: }
 8638: _ACEOF
 8639: if ac_fn_c_try_link "$LINENO"; then :
 8640:   lt_cv_cc_needs_belf=yes
 8641: else
 8642:   lt_cv_cc_needs_belf=no
 8643: fi
 8644: rm -f core conftest.err conftest.$ac_objext \
 8645:     conftest$ac_exeext conftest.$ac_ext
 8646:      ac_ext=c
 8647: ac_cpp='$CPP $CPPFLAGS'
 8648: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8649: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8650: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 8651: 
 8652: fi
 8653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 8654: $as_echo "$lt_cv_cc_needs_belf" >&6; }
 8655:   if test yes != "$lt_cv_cc_needs_belf"; then
 8656:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 8657:     CFLAGS=$SAVE_CFLAGS
 8658:   fi
 8659:   ;;
 8660: *-*solaris*)
 8661:   # Find out what ABI is being produced by ac_compile, and set linker
 8662:   # options accordingly.
 8663:   echo 'int i;' > conftest.$ac_ext
 8664:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 8665:   (eval $ac_compile) 2>&5
 8666:   ac_status=$?
 8667:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 8668:   test $ac_status = 0; }; then
 8669:     case `/usr/bin/file conftest.o` in
 8670:     *64-bit*)
 8671:       case $lt_cv_prog_gnu_ld in
 8672:       yes*)
 8673:         case $host in
 8674:         i?86-*-solaris*|x86_64-*-solaris*)
 8675:           LD="${LD-ld} -m elf_x86_64"
 8676:           ;;
 8677:         sparc*-*-solaris*)
 8678:           LD="${LD-ld} -m elf64_sparc"
 8679:           ;;
 8680:         esac
 8681:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 8682:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 8683:           LD=${LD-ld}_sol2
 8684:         fi
 8685:         ;;
 8686:       *)
 8687: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 8688: 	  LD="${LD-ld} -64"
 8689: 	fi
 8690: 	;;
 8691:       esac
 8692:       ;;
 8693:     esac
 8694:   fi
 8695:   rm -rf conftest*
 8696:   ;;
 8697: esac
 8698: 
 8699: need_locks=$enable_libtool_lock
 8700: 
 8701: if test -n "$ac_tool_prefix"; then
 8702:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 8703: set dummy ${ac_tool_prefix}mt; ac_word=$2
 8704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8705: $as_echo_n "checking for $ac_word... " >&6; }
 8706: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 8707:   $as_echo_n "(cached) " >&6
 8708: else
 8709:   if test -n "$MANIFEST_TOOL"; then
 8710:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 8711: else
 8712: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8713: for as_dir in $PATH
 8714: do
 8715:   IFS=$as_save_IFS
 8716:   test -z "$as_dir" && as_dir=.
 8717:     for ac_exec_ext in '' $ac_executable_extensions; do
 8718:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8719:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 8720:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8721:     break 2
 8722:   fi
 8723: done
 8724:   done
 8725: IFS=$as_save_IFS
 8726: 
 8727: fi
 8728: fi
 8729: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 8730: if test -n "$MANIFEST_TOOL"; then
 8731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 8732: $as_echo "$MANIFEST_TOOL" >&6; }
 8733: else
 8734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8735: $as_echo "no" >&6; }
 8736: fi
 8737: 
 8738: 
 8739: fi
 8740: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 8741:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 8742:   # Extract the first word of "mt", so it can be a program name with args.
 8743: set dummy mt; ac_word=$2
 8744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8745: $as_echo_n "checking for $ac_word... " >&6; }
 8746: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 8747:   $as_echo_n "(cached) " >&6
 8748: else
 8749:   if test -n "$ac_ct_MANIFEST_TOOL"; then
 8750:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 8751: else
 8752: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8753: for as_dir in $PATH
 8754: do
 8755:   IFS=$as_save_IFS
 8756:   test -z "$as_dir" && as_dir=.
 8757:     for ac_exec_ext in '' $ac_executable_extensions; do
 8758:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8759:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 8760:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8761:     break 2
 8762:   fi
 8763: done
 8764:   done
 8765: IFS=$as_save_IFS
 8766: 
 8767: fi
 8768: fi
 8769: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 8770: if test -n "$ac_ct_MANIFEST_TOOL"; then
 8771:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 8772: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 8773: else
 8774:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8775: $as_echo "no" >&6; }
 8776: fi
 8777: 
 8778:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
 8779:     MANIFEST_TOOL=":"
 8780:   else
 8781:     case $cross_compiling:$ac_tool_warned in
 8782: yes:)
 8783: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8784: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8785: ac_tool_warned=yes ;;
 8786: esac
 8787:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 8788:   fi
 8789: else
 8790:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 8791: fi
 8792: 
 8793: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 8794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 8795: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 8796: if ${lt_cv_path_mainfest_tool+:} false; then :
 8797:   $as_echo_n "(cached) " >&6
 8798: else
 8799:   lt_cv_path_mainfest_tool=no
 8800:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 8801:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 8802:   cat conftest.err >&5
 8803:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 8804:     lt_cv_path_mainfest_tool=yes
 8805:   fi
 8806:   rm -f conftest*
 8807: fi
 8808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 8809: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
 8810: if test yes != "$lt_cv_path_mainfest_tool"; then
 8811:   MANIFEST_TOOL=:
 8812: fi
 8813: 
 8814: 
 8815: 
 8816: 
 8817: 
 8818: 
 8819:   case $host_os in
 8820:     rhapsody* | darwin*)
 8821:     if test -n "$ac_tool_prefix"; then
 8822:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 8823: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 8824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8825: $as_echo_n "checking for $ac_word... " >&6; }
 8826: if ${ac_cv_prog_DSYMUTIL+:} false; then :
 8827:   $as_echo_n "(cached) " >&6
 8828: else
 8829:   if test -n "$DSYMUTIL"; then
 8830:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 8831: else
 8832: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8833: for as_dir in $PATH
 8834: do
 8835:   IFS=$as_save_IFS
 8836:   test -z "$as_dir" && as_dir=.
 8837:     for ac_exec_ext in '' $ac_executable_extensions; do
 8838:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8839:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 8840:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8841:     break 2
 8842:   fi
 8843: done
 8844:   done
 8845: IFS=$as_save_IFS
 8846: 
 8847: fi
 8848: fi
 8849: DSYMUTIL=$ac_cv_prog_DSYMUTIL
 8850: if test -n "$DSYMUTIL"; then
 8851:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 8852: $as_echo "$DSYMUTIL" >&6; }
 8853: else
 8854:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8855: $as_echo "no" >&6; }
 8856: fi
 8857: 
 8858: 
 8859: fi
 8860: if test -z "$ac_cv_prog_DSYMUTIL"; then
 8861:   ac_ct_DSYMUTIL=$DSYMUTIL
 8862:   # Extract the first word of "dsymutil", so it can be a program name with args.
 8863: set dummy dsymutil; ac_word=$2
 8864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8865: $as_echo_n "checking for $ac_word... " >&6; }
 8866: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 8867:   $as_echo_n "(cached) " >&6
 8868: else
 8869:   if test -n "$ac_ct_DSYMUTIL"; then
 8870:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 8871: else
 8872: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8873: for as_dir in $PATH
 8874: do
 8875:   IFS=$as_save_IFS
 8876:   test -z "$as_dir" && as_dir=.
 8877:     for ac_exec_ext in '' $ac_executable_extensions; do
 8878:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8879:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 8880:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8881:     break 2
 8882:   fi
 8883: done
 8884:   done
 8885: IFS=$as_save_IFS
 8886: 
 8887: fi
 8888: fi
 8889: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 8890: if test -n "$ac_ct_DSYMUTIL"; then
 8891:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 8892: $as_echo "$ac_ct_DSYMUTIL" >&6; }
 8893: else
 8894:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8895: $as_echo "no" >&6; }
 8896: fi
 8897: 
 8898:   if test "x$ac_ct_DSYMUTIL" = x; then
 8899:     DSYMUTIL=":"
 8900:   else
 8901:     case $cross_compiling:$ac_tool_warned in
 8902: yes:)
 8903: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8904: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8905: ac_tool_warned=yes ;;
 8906: esac
 8907:     DSYMUTIL=$ac_ct_DSYMUTIL
 8908:   fi
 8909: else
 8910:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 8911: fi
 8912: 
 8913:     if test -n "$ac_tool_prefix"; then
 8914:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 8915: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 8916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8917: $as_echo_n "checking for $ac_word... " >&6; }
 8918: if ${ac_cv_prog_NMEDIT+:} false; then :
 8919:   $as_echo_n "(cached) " >&6
 8920: else
 8921:   if test -n "$NMEDIT"; then
 8922:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 8923: else
 8924: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8925: for as_dir in $PATH
 8926: do
 8927:   IFS=$as_save_IFS
 8928:   test -z "$as_dir" && as_dir=.
 8929:     for ac_exec_ext in '' $ac_executable_extensions; do
 8930:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8931:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 8932:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8933:     break 2
 8934:   fi
 8935: done
 8936:   done
 8937: IFS=$as_save_IFS
 8938: 
 8939: fi
 8940: fi
 8941: NMEDIT=$ac_cv_prog_NMEDIT
 8942: if test -n "$NMEDIT"; then
 8943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 8944: $as_echo "$NMEDIT" >&6; }
 8945: else
 8946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8947: $as_echo "no" >&6; }
 8948: fi
 8949: 
 8950: 
 8951: fi
 8952: if test -z "$ac_cv_prog_NMEDIT"; then
 8953:   ac_ct_NMEDIT=$NMEDIT
 8954:   # Extract the first word of "nmedit", so it can be a program name with args.
 8955: set dummy nmedit; ac_word=$2
 8956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8957: $as_echo_n "checking for $ac_word... " >&6; }
 8958: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 8959:   $as_echo_n "(cached) " >&6
 8960: else
 8961:   if test -n "$ac_ct_NMEDIT"; then
 8962:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 8963: else
 8964: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8965: for as_dir in $PATH
 8966: do
 8967:   IFS=$as_save_IFS
 8968:   test -z "$as_dir" && as_dir=.
 8969:     for ac_exec_ext in '' $ac_executable_extensions; do
 8970:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8971:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 8972:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8973:     break 2
 8974:   fi
 8975: done
 8976:   done
 8977: IFS=$as_save_IFS
 8978: 
 8979: fi
 8980: fi
 8981: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 8982: if test -n "$ac_ct_NMEDIT"; then
 8983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 8984: $as_echo "$ac_ct_NMEDIT" >&6; }
 8985: else
 8986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8987: $as_echo "no" >&6; }
 8988: fi
 8989: 
 8990:   if test "x$ac_ct_NMEDIT" = x; then
 8991:     NMEDIT=":"
 8992:   else
 8993:     case $cross_compiling:$ac_tool_warned in
 8994: yes:)
 8995: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8996: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8997: ac_tool_warned=yes ;;
 8998: esac
 8999:     NMEDIT=$ac_ct_NMEDIT
 9000:   fi
 9001: else
 9002:   NMEDIT="$ac_cv_prog_NMEDIT"
 9003: fi
 9004: 
 9005:     if test -n "$ac_tool_prefix"; then
 9006:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 9007: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 9008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9009: $as_echo_n "checking for $ac_word... " >&6; }
 9010: if ${ac_cv_prog_LIPO+:} false; then :
 9011:   $as_echo_n "(cached) " >&6
 9012: else
 9013:   if test -n "$LIPO"; then
 9014:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 9015: else
 9016: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9017: for as_dir in $PATH
 9018: do
 9019:   IFS=$as_save_IFS
 9020:   test -z "$as_dir" && as_dir=.
 9021:     for ac_exec_ext in '' $ac_executable_extensions; do
 9022:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9023:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 9024:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9025:     break 2
 9026:   fi
 9027: done
 9028:   done
 9029: IFS=$as_save_IFS
 9030: 
 9031: fi
 9032: fi
 9033: LIPO=$ac_cv_prog_LIPO
 9034: if test -n "$LIPO"; then
 9035:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 9036: $as_echo "$LIPO" >&6; }
 9037: else
 9038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9039: $as_echo "no" >&6; }
 9040: fi
 9041: 
 9042: 
 9043: fi
 9044: if test -z "$ac_cv_prog_LIPO"; then
 9045:   ac_ct_LIPO=$LIPO
 9046:   # Extract the first word of "lipo", so it can be a program name with args.
 9047: set dummy lipo; ac_word=$2
 9048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9049: $as_echo_n "checking for $ac_word... " >&6; }
 9050: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 9051:   $as_echo_n "(cached) " >&6
 9052: else
 9053:   if test -n "$ac_ct_LIPO"; then
 9054:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 9055: else
 9056: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9057: for as_dir in $PATH
 9058: do
 9059:   IFS=$as_save_IFS
 9060:   test -z "$as_dir" && as_dir=.
 9061:     for ac_exec_ext in '' $ac_executable_extensions; do
 9062:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9063:     ac_cv_prog_ac_ct_LIPO="lipo"
 9064:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9065:     break 2
 9066:   fi
 9067: done
 9068:   done
 9069: IFS=$as_save_IFS
 9070: 
 9071: fi
 9072: fi
 9073: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 9074: if test -n "$ac_ct_LIPO"; then
 9075:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 9076: $as_echo "$ac_ct_LIPO" >&6; }
 9077: else
 9078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9079: $as_echo "no" >&6; }
 9080: fi
 9081: 
 9082:   if test "x$ac_ct_LIPO" = x; then
 9083:     LIPO=":"
 9084:   else
 9085:     case $cross_compiling:$ac_tool_warned in
 9086: yes:)
 9087: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 9088: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 9089: ac_tool_warned=yes ;;
 9090: esac
 9091:     LIPO=$ac_ct_LIPO
 9092:   fi
 9093: else
 9094:   LIPO="$ac_cv_prog_LIPO"
 9095: fi
 9096: 
 9097:     if test -n "$ac_tool_prefix"; then
 9098:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 9099: set dummy ${ac_tool_prefix}otool; ac_word=$2
 9100: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9101: $as_echo_n "checking for $ac_word... " >&6; }
 9102: if ${ac_cv_prog_OTOOL+:} false; then :
 9103:   $as_echo_n "(cached) " >&6
 9104: else
 9105:   if test -n "$OTOOL"; then
 9106:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 9107: else
 9108: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9109: for as_dir in $PATH
 9110: do
 9111:   IFS=$as_save_IFS
 9112:   test -z "$as_dir" && as_dir=.
 9113:     for ac_exec_ext in '' $ac_executable_extensions; do
 9114:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9115:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 9116:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9117:     break 2
 9118:   fi
 9119: done
 9120:   done
 9121: IFS=$as_save_IFS
 9122: 
 9123: fi
 9124: fi
 9125: OTOOL=$ac_cv_prog_OTOOL
 9126: if test -n "$OTOOL"; then
 9127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 9128: $as_echo "$OTOOL" >&6; }
 9129: else
 9130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9131: $as_echo "no" >&6; }
 9132: fi
 9133: 
 9134: 
 9135: fi
 9136: if test -z "$ac_cv_prog_OTOOL"; then
 9137:   ac_ct_OTOOL=$OTOOL
 9138:   # Extract the first word of "otool", so it can be a program name with args.
 9139: set dummy otool; ac_word=$2
 9140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9141: $as_echo_n "checking for $ac_word... " >&6; }
 9142: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 9143:   $as_echo_n "(cached) " >&6
 9144: else
 9145:   if test -n "$ac_ct_OTOOL"; then
 9146:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 9147: else
 9148: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9149: for as_dir in $PATH
 9150: do
 9151:   IFS=$as_save_IFS
 9152:   test -z "$as_dir" && as_dir=.
 9153:     for ac_exec_ext in '' $ac_executable_extensions; do
 9154:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9155:     ac_cv_prog_ac_ct_OTOOL="otool"
 9156:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9157:     break 2
 9158:   fi
 9159: done
 9160:   done
 9161: IFS=$as_save_IFS
 9162: 
 9163: fi
 9164: fi
 9165: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 9166: if test -n "$ac_ct_OTOOL"; then
 9167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 9168: $as_echo "$ac_ct_OTOOL" >&6; }
 9169: else
 9170:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9171: $as_echo "no" >&6; }
 9172: fi
 9173: 
 9174:   if test "x$ac_ct_OTOOL" = x; then
 9175:     OTOOL=":"
 9176:   else
 9177:     case $cross_compiling:$ac_tool_warned in
 9178: yes:)
 9179: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 9180: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 9181: ac_tool_warned=yes ;;
 9182: esac
 9183:     OTOOL=$ac_ct_OTOOL
 9184:   fi
 9185: else
 9186:   OTOOL="$ac_cv_prog_OTOOL"
 9187: fi
 9188: 
 9189:     if test -n "$ac_tool_prefix"; then
 9190:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 9191: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 9192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9193: $as_echo_n "checking for $ac_word... " >&6; }
 9194: if ${ac_cv_prog_OTOOL64+:} false; then :
 9195:   $as_echo_n "(cached) " >&6
 9196: else
 9197:   if test -n "$OTOOL64"; then
 9198:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 9199: else
 9200: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9201: for as_dir in $PATH
 9202: do
 9203:   IFS=$as_save_IFS
 9204:   test -z "$as_dir" && as_dir=.
 9205:     for ac_exec_ext in '' $ac_executable_extensions; do
 9206:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9207:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 9208:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9209:     break 2
 9210:   fi
 9211: done
 9212:   done
 9213: IFS=$as_save_IFS
 9214: 
 9215: fi
 9216: fi
 9217: OTOOL64=$ac_cv_prog_OTOOL64
 9218: if test -n "$OTOOL64"; then
 9219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 9220: $as_echo "$OTOOL64" >&6; }
 9221: else
 9222:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9223: $as_echo "no" >&6; }
 9224: fi
 9225: 
 9226: 
 9227: fi
 9228: if test -z "$ac_cv_prog_OTOOL64"; then
 9229:   ac_ct_OTOOL64=$OTOOL64
 9230:   # Extract the first word of "otool64", so it can be a program name with args.
 9231: set dummy otool64; ac_word=$2
 9232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9233: $as_echo_n "checking for $ac_word... " >&6; }
 9234: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 9235:   $as_echo_n "(cached) " >&6
 9236: else
 9237:   if test -n "$ac_ct_OTOOL64"; then
 9238:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 9239: else
 9240: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9241: for as_dir in $PATH
 9242: do
 9243:   IFS=$as_save_IFS
 9244:   test -z "$as_dir" && as_dir=.
 9245:     for ac_exec_ext in '' $ac_executable_extensions; do
 9246:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9247:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 9248:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9249:     break 2
 9250:   fi
 9251: done
 9252:   done
 9253: IFS=$as_save_IFS
 9254: 
 9255: fi
 9256: fi
 9257: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 9258: if test -n "$ac_ct_OTOOL64"; then
 9259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 9260: $as_echo "$ac_ct_OTOOL64" >&6; }
 9261: else
 9262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9263: $as_echo "no" >&6; }
 9264: fi
 9265: 
 9266:   if test "x$ac_ct_OTOOL64" = x; then
 9267:     OTOOL64=":"
 9268:   else
 9269:     case $cross_compiling:$ac_tool_warned in
 9270: yes:)
 9271: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 9272: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 9273: ac_tool_warned=yes ;;
 9274: esac
 9275:     OTOOL64=$ac_ct_OTOOL64
 9276:   fi
 9277: else
 9278:   OTOOL64="$ac_cv_prog_OTOOL64"
 9279: fi
 9280: 
 9281: 
 9282: 
 9283: 
 9284: 
 9285: 
 9286: 
 9287: 
 9288: 
 9289: 
 9290: 
 9291: 
 9292: 
 9293: 
 9294: 
 9295: 
 9296: 
 9297: 
 9298: 
 9299: 
 9300: 
 9301: 
 9302: 
 9303: 
 9304: 
 9305: 
 9306: 
 9307:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 9308: $as_echo_n "checking for -single_module linker flag... " >&6; }
 9309: if ${lt_cv_apple_cc_single_mod+:} false; then :
 9310:   $as_echo_n "(cached) " >&6
 9311: else
 9312:   lt_cv_apple_cc_single_mod=no
 9313:       if test -z "$LT_MULTI_MODULE"; then
 9314: 	# By default we will add the -single_module flag. You can override
 9315: 	# by either setting the environment variable LT_MULTI_MODULE
 9316: 	# non-empty at configure time, or by adding -multi_module to the
 9317: 	# link flags.
 9318: 	rm -rf libconftest.dylib*
 9319: 	echo "int foo(void){return 1;}" > conftest.c
 9320: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 9321: -dynamiclib -Wl,-single_module conftest.c" >&5
 9322: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 9323: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 9324:         _lt_result=$?
 9325: 	# If there is a non-empty error log, and "single_module"
 9326: 	# appears in it, assume the flag caused a linker warning
 9327:         if test -s conftest.err && $GREP single_module conftest.err; then
 9328: 	  cat conftest.err >&5
 9329: 	# Otherwise, if the output was created with a 0 exit code from
 9330: 	# the compiler, it worked.
 9331: 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
 9332: 	  lt_cv_apple_cc_single_mod=yes
 9333: 	else
 9334: 	  cat conftest.err >&5
 9335: 	fi
 9336: 	rm -rf libconftest.dylib*
 9337: 	rm -f conftest.*
 9338:       fi
 9339: fi
 9340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 9341: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 9342: 
 9343:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 9344: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 9345: if ${lt_cv_ld_exported_symbols_list+:} false; then :
 9346:   $as_echo_n "(cached) " >&6
 9347: else
 9348:   lt_cv_ld_exported_symbols_list=no
 9349:       save_LDFLAGS=$LDFLAGS
 9350:       echo "_main" > conftest.sym
 9351:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 9352:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9353: /* end confdefs.h.  */
 9354: 
 9355: int
 9356: main ()
 9357: {
 9358: 
 9359:   ;
 9360:   return 0;
 9361: }
 9362: _ACEOF
 9363: if ac_fn_c_try_link "$LINENO"; then :
 9364:   lt_cv_ld_exported_symbols_list=yes
 9365: else
 9366:   lt_cv_ld_exported_symbols_list=no
 9367: fi
 9368: rm -f core conftest.err conftest.$ac_objext \
 9369:     conftest$ac_exeext conftest.$ac_ext
 9370: 	LDFLAGS=$save_LDFLAGS
 9371: 
 9372: fi
 9373: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 9374: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 9375: 
 9376:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 9377: $as_echo_n "checking for -force_load linker flag... " >&6; }
 9378: if ${lt_cv_ld_force_load+:} false; then :
 9379:   $as_echo_n "(cached) " >&6
 9380: else
 9381:   lt_cv_ld_force_load=no
 9382:       cat > conftest.c << _LT_EOF
 9383: int forced_loaded() { return 2;}
 9384: _LT_EOF
 9385:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 9386:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 9387:       echo "$AR cru libconftest.a conftest.o" >&5
 9388:       $AR cru libconftest.a conftest.o 2>&5
 9389:       echo "$RANLIB libconftest.a" >&5
 9390:       $RANLIB libconftest.a 2>&5
 9391:       cat > conftest.c << _LT_EOF
 9392: int main() { return 0;}
 9393: _LT_EOF
 9394:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 9395:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 9396:       _lt_result=$?
 9397:       if test -s conftest.err && $GREP force_load conftest.err; then
 9398: 	cat conftest.err >&5
 9399:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
 9400: 	lt_cv_ld_force_load=yes
 9401:       else
 9402: 	cat conftest.err >&5
 9403:       fi
 9404:         rm -f conftest.err libconftest.a conftest conftest.c
 9405:         rm -rf conftest.dSYM
 9406: 
 9407: fi
 9408: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 9409: $as_echo "$lt_cv_ld_force_load" >&6; }
 9410:     case $host_os in
 9411:     rhapsody* | darwin1.[012])
 9412:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 9413:     darwin1.*)
 9414:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 9415:     darwin*) # darwin 5.x on
 9416:       # if running on 10.5 or later, the deployment target defaults
 9417:       # to the OS version, if on x86, and 10.4, the deployment
 9418:       # target defaults to 10.4. Don't you love it?
 9419:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 9420: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 9421: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 9422: 	10.[012][,.]*)
 9423: 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 9424: 	10.*)
 9425: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 9426:       esac
 9427:     ;;
 9428:   esac
 9429:     if test yes = "$lt_cv_apple_cc_single_mod"; then
 9430:       _lt_dar_single_mod='$single_module'
 9431:     fi
 9432:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
 9433:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 9434:     else
 9435:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 9436:     fi
 9437:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 9438:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 9439:     else
 9440:       _lt_dsymutil=
 9441:     fi
 9442:     ;;
 9443:   esac
 9444: 
 9445: # func_munge_path_list VARIABLE PATH
 9446: # -----------------------------------
 9447: # VARIABLE is name of variable containing _space_ separated list of
 9448: # directories to be munged by the contents of PATH, which is string
 9449: # having a format:
 9450: # "DIR[:DIR]:"
 9451: #       string "DIR[ DIR]" will be prepended to VARIABLE
 9452: # ":DIR[:DIR]"
 9453: #       string "DIR[ DIR]" will be appended to VARIABLE
 9454: # "DIRP[:DIRP]::[DIRA:]DIRA"
 9455: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 9456: #       "DIRA[ DIRA]" will be appended to VARIABLE
 9457: # "DIR[:DIR]"
 9458: #       VARIABLE will be replaced by "DIR[ DIR]"
 9459: func_munge_path_list ()
 9460: {
 9461:     case x$2 in
 9462:     x)
 9463:         ;;
 9464:     *:)
 9465:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 9466:         ;;
 9467:     x:*)
 9468:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 9469:         ;;
 9470:     *::*)
 9471:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 9472:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 9473:         ;;
 9474:     *)
 9475:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 9476:         ;;
 9477:     esac
 9478: }
 9479: 
 9480: for ac_header in dlfcn.h
 9481: do :
 9482:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 9483: "
 9484: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 9485:   cat >>confdefs.h <<_ACEOF
 9486: #define HAVE_DLFCN_H 1
 9487: _ACEOF
 9488: 
 9489: fi
 9490: 
 9491: done
 9492: 
 9493: 
 9494: 
 9495: 
 9496: 
 9497: # Set options
 9498: # Check whether --enable-static was given.
 9499: if test "${enable_static+set}" = set; then :
 9500:   enableval=$enable_static; p=${PACKAGE-default}
 9501:     case $enableval in
 9502:     yes) enable_static=yes ;;
 9503:     no) enable_static=no ;;
 9504:     *)
 9505:      enable_static=no
 9506:       # Look at the argument we got.  We use all the common list separators.
 9507:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 9508:       for pkg in $enableval; do
 9509: 	IFS=$lt_save_ifs
 9510: 	if test "X$pkg" = "X$p"; then
 9511: 	  enable_static=yes
 9512: 	fi
 9513:       done
 9514:       IFS=$lt_save_ifs
 9515:       ;;
 9516:     esac
 9517: else
 9518:   enable_static=no
 9519: fi
 9520: 
 9521: 
 9522: 
 9523: 
 9524: 
 9525: 
 9526: 
 9527: enable_win32_dll=yes
 9528: 
 9529: case $host in
 9530: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
 9531:   if test -n "$ac_tool_prefix"; then
 9532:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 9533: set dummy ${ac_tool_prefix}as; ac_word=$2
 9534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9535: $as_echo_n "checking for $ac_word... " >&6; }
 9536: if ${ac_cv_prog_AS+:} false; then :
 9537:   $as_echo_n "(cached) " >&6
 9538: else
 9539:   if test -n "$AS"; then
 9540:   ac_cv_prog_AS="$AS" # Let the user override the test.
 9541: else
 9542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9543: for as_dir in $PATH
 9544: do
 9545:   IFS=$as_save_IFS
 9546:   test -z "$as_dir" && as_dir=.
 9547:     for ac_exec_ext in '' $ac_executable_extensions; do
 9548:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9549:     ac_cv_prog_AS="${ac_tool_prefix}as"
 9550:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9551:     break 2
 9552:   fi
 9553: done
 9554:   done
 9555: IFS=$as_save_IFS
 9556: 
 9557: fi
 9558: fi
 9559: AS=$ac_cv_prog_AS
 9560: if test -n "$AS"; then
 9561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 9562: $as_echo "$AS" >&6; }
 9563: else
 9564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9565: $as_echo "no" >&6; }
 9566: fi
 9567: 
 9568: 
 9569: fi
 9570: if test -z "$ac_cv_prog_AS"; then
 9571:   ac_ct_AS=$AS
 9572:   # Extract the first word of "as", so it can be a program name with args.
 9573: set dummy as; ac_word=$2
 9574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9575: $as_echo_n "checking for $ac_word... " >&6; }
 9576: if ${ac_cv_prog_ac_ct_AS+:} false; then :
 9577:   $as_echo_n "(cached) " >&6
 9578: else
 9579:   if test -n "$ac_ct_AS"; then
 9580:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 9581: else
 9582: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9583: for as_dir in $PATH
 9584: do
 9585:   IFS=$as_save_IFS
 9586:   test -z "$as_dir" && as_dir=.
 9587:     for ac_exec_ext in '' $ac_executable_extensions; do
 9588:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9589:     ac_cv_prog_ac_ct_AS="as"
 9590:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9591:     break 2
 9592:   fi
 9593: done
 9594:   done
 9595: IFS=$as_save_IFS
 9596: 
 9597: fi
 9598: fi
 9599: ac_ct_AS=$ac_cv_prog_ac_ct_AS
 9600: if test -n "$ac_ct_AS"; then
 9601:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 9602: $as_echo "$ac_ct_AS" >&6; }
 9603: else
 9604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9605: $as_echo "no" >&6; }
 9606: fi
 9607: 
 9608:   if test "x$ac_ct_AS" = x; then
 9609:     AS="false"
 9610:   else
 9611:     case $cross_compiling:$ac_tool_warned in
 9612: yes:)
 9613: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 9614: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 9615: ac_tool_warned=yes ;;
 9616: esac
 9617:     AS=$ac_ct_AS
 9618:   fi
 9619: else
 9620:   AS="$ac_cv_prog_AS"
 9621: fi
 9622: 
 9623:   if test -n "$ac_tool_prefix"; then
 9624:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 9625: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 9626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9627: $as_echo_n "checking for $ac_word... " >&6; }
 9628: if ${ac_cv_prog_DLLTOOL+:} false; then :
 9629:   $as_echo_n "(cached) " >&6
 9630: else
 9631:   if test -n "$DLLTOOL"; then
 9632:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 9633: else
 9634: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9635: for as_dir in $PATH
 9636: do
 9637:   IFS=$as_save_IFS
 9638:   test -z "$as_dir" && as_dir=.
 9639:     for ac_exec_ext in '' $ac_executable_extensions; do
 9640:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9641:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 9642:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9643:     break 2
 9644:   fi
 9645: done
 9646:   done
 9647: IFS=$as_save_IFS
 9648: 
 9649: fi
 9650: fi
 9651: DLLTOOL=$ac_cv_prog_DLLTOOL
 9652: if test -n "$DLLTOOL"; then
 9653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 9654: $as_echo "$DLLTOOL" >&6; }
 9655: else
 9656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9657: $as_echo "no" >&6; }
 9658: fi
 9659: 
 9660: 
 9661: fi
 9662: if test -z "$ac_cv_prog_DLLTOOL"; then
 9663:   ac_ct_DLLTOOL=$DLLTOOL
 9664:   # Extract the first word of "dlltool", so it can be a program name with args.
 9665: set dummy dlltool; ac_word=$2
 9666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9667: $as_echo_n "checking for $ac_word... " >&6; }
 9668: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 9669:   $as_echo_n "(cached) " >&6
 9670: else
 9671:   if test -n "$ac_ct_DLLTOOL"; then
 9672:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 9673: else
 9674: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9675: for as_dir in $PATH
 9676: do
 9677:   IFS=$as_save_IFS
 9678:   test -z "$as_dir" && as_dir=.
 9679:     for ac_exec_ext in '' $ac_executable_extensions; do
 9680:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9681:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 9682:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9683:     break 2
 9684:   fi
 9685: done
 9686:   done
 9687: IFS=$as_save_IFS
 9688: 
 9689: fi
 9690: fi
 9691: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 9692: if test -n "$ac_ct_DLLTOOL"; then
 9693:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 9694: $as_echo "$ac_ct_DLLTOOL" >&6; }
 9695: else
 9696:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9697: $as_echo "no" >&6; }
 9698: fi
 9699: 
 9700:   if test "x$ac_ct_DLLTOOL" = x; then
 9701:     DLLTOOL="false"
 9702:   else
 9703:     case $cross_compiling:$ac_tool_warned in
 9704: yes:)
 9705: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 9706: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 9707: ac_tool_warned=yes ;;
 9708: esac
 9709:     DLLTOOL=$ac_ct_DLLTOOL
 9710:   fi
 9711: else
 9712:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 9713: fi
 9714: 
 9715:   if test -n "$ac_tool_prefix"; then
 9716:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 9717: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 9718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9719: $as_echo_n "checking for $ac_word... " >&6; }
 9720: if ${ac_cv_prog_OBJDUMP+:} false; then :
 9721:   $as_echo_n "(cached) " >&6
 9722: else
 9723:   if test -n "$OBJDUMP"; then
 9724:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 9725: else
 9726: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9727: for as_dir in $PATH
 9728: do
 9729:   IFS=$as_save_IFS
 9730:   test -z "$as_dir" && as_dir=.
 9731:     for ac_exec_ext in '' $ac_executable_extensions; do
 9732:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9733:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 9734:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9735:     break 2
 9736:   fi
 9737: done
 9738:   done
 9739: IFS=$as_save_IFS
 9740: 
 9741: fi
 9742: fi
 9743: OBJDUMP=$ac_cv_prog_OBJDUMP
 9744: if test -n "$OBJDUMP"; then
 9745:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 9746: $as_echo "$OBJDUMP" >&6; }
 9747: else
 9748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9749: $as_echo "no" >&6; }
 9750: fi
 9751: 
 9752: 
 9753: fi
 9754: if test -z "$ac_cv_prog_OBJDUMP"; then
 9755:   ac_ct_OBJDUMP=$OBJDUMP
 9756:   # Extract the first word of "objdump", so it can be a program name with args.
 9757: set dummy objdump; ac_word=$2
 9758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 9759: $as_echo_n "checking for $ac_word... " >&6; }
 9760: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 9761:   $as_echo_n "(cached) " >&6
 9762: else
 9763:   if test -n "$ac_ct_OBJDUMP"; then
 9764:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 9765: else
 9766: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9767: for as_dir in $PATH
 9768: do
 9769:   IFS=$as_save_IFS
 9770:   test -z "$as_dir" && as_dir=.
 9771:     for ac_exec_ext in '' $ac_executable_extensions; do
 9772:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9773:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 9774:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 9775:     break 2
 9776:   fi
 9777: done
 9778:   done
 9779: IFS=$as_save_IFS
 9780: 
 9781: fi
 9782: fi
 9783: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 9784: if test -n "$ac_ct_OBJDUMP"; then
 9785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 9786: $as_echo "$ac_ct_OBJDUMP" >&6; }
 9787: else
 9788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9789: $as_echo "no" >&6; }
 9790: fi
 9791: 
 9792:   if test "x$ac_ct_OBJDUMP" = x; then
 9793:     OBJDUMP="false"
 9794:   else
 9795:     case $cross_compiling:$ac_tool_warned in
 9796: yes:)
 9797: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 9798: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 9799: ac_tool_warned=yes ;;
 9800: esac
 9801:     OBJDUMP=$ac_ct_OBJDUMP
 9802:   fi
 9803: else
 9804:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 9805: fi
 9806: 
 9807:   ;;
 9808: esac
 9809: 
 9810: test -z "$AS" && AS=as
 9811: 
 9812: 
 9813: 
 9814: 
 9815: 
 9816: test -z "$DLLTOOL" && DLLTOOL=dlltool
 9817: 
 9818: 
 9819: 
 9820: 
 9821: 
 9822: test -z "$OBJDUMP" && OBJDUMP=objdump
 9823: 
 9824: 
 9825: 
 9826: 
 9827: 
 9828: 
 9829: 
 9830:         enable_dlopen=no
 9831: 
 9832: 
 9833: 
 9834:             # Check whether --enable-shared was given.
 9835: if test "${enable_shared+set}" = set; then :
 9836:   enableval=$enable_shared; p=${PACKAGE-default}
 9837:     case $enableval in
 9838:     yes) enable_shared=yes ;;
 9839:     no) enable_shared=no ;;
 9840:     *)
 9841:       enable_shared=no
 9842:       # Look at the argument we got.  We use all the common list separators.
 9843:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 9844:       for pkg in $enableval; do
 9845: 	IFS=$lt_save_ifs
 9846: 	if test "X$pkg" = "X$p"; then
 9847: 	  enable_shared=yes
 9848: 	fi
 9849:       done
 9850:       IFS=$lt_save_ifs
 9851:       ;;
 9852:     esac
 9853: else
 9854:   enable_shared=yes
 9855: fi
 9856: 
 9857: 
 9858: 
 9859: 
 9860: 
 9861: 
 9862: 
 9863: 
 9864: 
 9865: 
 9866: 
 9867: # Check whether --with-pic was given.
 9868: if test "${with_pic+set}" = set; then :
 9869:   withval=$with_pic; lt_p=${PACKAGE-default}
 9870:     case $withval in
 9871:     yes|no) pic_mode=$withval ;;
 9872:     *)
 9873:       pic_mode=default
 9874:       # Look at the argument we got.  We use all the common list separators.
 9875:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 9876:       for lt_pkg in $withval; do
 9877: 	IFS=$lt_save_ifs
 9878: 	if test "X$lt_pkg" = "X$lt_p"; then
 9879: 	  pic_mode=yes
 9880: 	fi
 9881:       done
 9882:       IFS=$lt_save_ifs
 9883:       ;;
 9884:     esac
 9885: else
 9886:   pic_mode=default
 9887: fi
 9888: 
 9889: 
 9890: 
 9891: 
 9892: 
 9893: 
 9894: 
 9895: 
 9896:   # Check whether --enable-fast-install was given.
 9897: if test "${enable_fast_install+set}" = set; then :
 9898:   enableval=$enable_fast_install; p=${PACKAGE-default}
 9899:     case $enableval in
 9900:     yes) enable_fast_install=yes ;;
 9901:     no) enable_fast_install=no ;;
 9902:     *)
 9903:       enable_fast_install=no
 9904:       # Look at the argument we got.  We use all the common list separators.
 9905:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 9906:       for pkg in $enableval; do
 9907: 	IFS=$lt_save_ifs
 9908: 	if test "X$pkg" = "X$p"; then
 9909: 	  enable_fast_install=yes
 9910: 	fi
 9911:       done
 9912:       IFS=$lt_save_ifs
 9913:       ;;
 9914:     esac
 9915: else
 9916:   enable_fast_install=yes
 9917: fi
 9918: 
 9919: 
 9920: 
 9921: 
 9922: 
 9923: 
 9924: 
 9925: 
 9926:   shared_archive_member_spec=
 9927: case $host,$enable_shared in
 9928: power*-*-aix[5-9]*,yes)
 9929:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 9930: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 9931: 
 9932: # Check whether --with-aix-soname was given.
 9933: if test "${with_aix_soname+set}" = set; then :
 9934:   withval=$with_aix_soname; case $withval in
 9935:     aix|svr4|both)
 9936:       ;;
 9937:     *)
 9938:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 9939:       ;;
 9940:     esac
 9941:     lt_cv_with_aix_soname=$with_aix_soname
 9942: else
 9943:   if ${lt_cv_with_aix_soname+:} false; then :
 9944:   $as_echo_n "(cached) " >&6
 9945: else
 9946:   lt_cv_with_aix_soname=aix
 9947: fi
 9948: 
 9949:     with_aix_soname=$lt_cv_with_aix_soname
 9950: fi
 9951: 
 9952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 9953: $as_echo "$with_aix_soname" >&6; }
 9954:   if test aix != "$with_aix_soname"; then
 9955:     # For the AIX way of multilib, we name the shared archive member
 9956:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 9957:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 9958:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 9959:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
 9960:     if test 64 = "${OBJECT_MODE-32}"; then
 9961:       shared_archive_member_spec=shr_64
 9962:     else
 9963:       shared_archive_member_spec=shr
 9964:     fi
 9965:   fi
 9966:   ;;
 9967: *)
 9968:   with_aix_soname=aix
 9969:   ;;
 9970: esac
 9971: 
 9972: 
 9973: 
 9974: 
 9975: 
 9976: 
 9977: 
 9978: 
 9979: 
 9980: 
 9981: # This can be used to rebuild libtool when needed
 9982: LIBTOOL_DEPS=$ltmain
 9983: 
 9984: # Always use our own libtool.
 9985: LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool'
 9986: 
 9987: 
 9988: 
 9989: 
 9990: 
 9991: 
 9992: 
 9993: 
 9994: 
 9995: 
 9996: 
 9997: 
 9998: 
 9999: 
10000: 
10001: 
10002: 
10003: 
10004: 
10005: 
10006: 
10007: 
10008: 
10009: 
10010: 
10011: 
10012: 
10013: 
10014: 
10015: 
10016: test -z "$LN_S" && LN_S="ln -s"
10017: 
10018: 
10019: 
10020: 
10021: 
10022: 
10023: 
10024: 
10025: 
10026: 
10027: 
10028: 
10029: 
10030: 
10031: if test -n "${ZSH_VERSION+set}"; then
10032:    setopt NO_GLOB_SUBST
10033: fi
10034: 
10035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10036: $as_echo_n "checking for objdir... " >&6; }
10037: if ${lt_cv_objdir+:} false; then :
10038:   $as_echo_n "(cached) " >&6
10039: else
10040:   rm -f .libs 2>/dev/null
10041: mkdir .libs 2>/dev/null
10042: if test -d .libs; then
10043:   lt_cv_objdir=.libs
10044: else
10045:   # MS-DOS does not allow filenames that begin with a dot.
10046:   lt_cv_objdir=_libs
10047: fi
10048: rmdir .libs 2>/dev/null
10049: fi
10050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10051: $as_echo "$lt_cv_objdir" >&6; }
10052: objdir=$lt_cv_objdir
10053: 
10054: 
10055: 
10056: 
10057: 
10058: cat >>confdefs.h <<_ACEOF
10059: #define LT_OBJDIR "$lt_cv_objdir/"
10060: _ACEOF
10061: 
10062: 
10063: 
10064: 
10065: case $host_os in
10066: aix3*)
10067:   # AIX sometimes has problems with the GCC collect2 program.  For some
10068:   # reason, if we set the COLLECT_NAMES environment variable, the problems
10069:   # vanish in a puff of smoke.
10070:   if test set != "${COLLECT_NAMES+set}"; then
10071:     COLLECT_NAMES=
10072:     export COLLECT_NAMES
10073:   fi
10074:   ;;
10075: esac
10076: 
10077: # Global variables:
10078: ofile=libtool
10079: can_build_shared=yes
10080: 
10081: # All known linkers require a '.a' archive for static linking (except MSVC,
10082: # which needs '.lib').
10083: libext=a
10084: 
10085: with_gnu_ld=$lt_cv_prog_gnu_ld
10086: 
10087: old_CC=$CC
10088: old_CFLAGS=$CFLAGS
10089: 
10090: # Set sane defaults for various variables
10091: test -z "$CC" && CC=cc
10092: test -z "$LTCC" && LTCC=$CC
10093: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10094: test -z "$LD" && LD=ld
10095: test -z "$ac_objext" && ac_objext=o
10096: 
10097: func_cc_basename $compiler
10098: cc_basename=$func_cc_basename_result
10099: 
10100: 
10101: # Only perform the check for file, if the check method requires it
10102: test -z "$MAGIC_CMD" && MAGIC_CMD=file
10103: case $deplibs_check_method in
10104: file_magic*)
10105:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10106:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10107: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10108: if ${lt_cv_path_MAGIC_CMD+:} false; then :
10109:   $as_echo_n "(cached) " >&6
10110: else
10111:   case $MAGIC_CMD in
10112: [\\/*] |  ?:[\\/]*)
10113:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10114:   ;;
10115: *)
10116:   lt_save_MAGIC_CMD=$MAGIC_CMD
10117:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10118:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10119:   for ac_dir in $ac_dummy; do
10120:     IFS=$lt_save_ifs
10121:     test -z "$ac_dir" && ac_dir=.
10122:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
10123:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10124:       if test -n "$file_magic_test_file"; then
10125: 	case $deplibs_check_method in
10126: 	"file_magic "*)
10127: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10128: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10129: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10130: 	    $EGREP "$file_magic_regex" > /dev/null; then
10131: 	    :
10132: 	  else
10133: 	    cat <<_LT_EOF 1>&2
10134: 
10135: *** Warning: the command libtool uses to detect shared libraries,
10136: *** $file_magic_cmd, produces output that libtool cannot recognize.
10137: *** The result is that libtool may fail to recognize shared libraries
10138: *** as such.  This will affect the creation of libtool libraries that
10139: *** depend on shared libraries, but programs linked with such libtool
10140: *** libraries will work regardless of this problem.  Nevertheless, you
10141: *** may want to report the problem to your system manager and/or to
10142: *** bug-libtool@gnu.org
10143: 
10144: _LT_EOF
10145: 	  fi ;;
10146: 	esac
10147:       fi
10148:       break
10149:     fi
10150:   done
10151:   IFS=$lt_save_ifs
10152:   MAGIC_CMD=$lt_save_MAGIC_CMD
10153:   ;;
10154: esac
10155: fi
10156: 
10157: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10158: if test -n "$MAGIC_CMD"; then
10159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10160: $as_echo "$MAGIC_CMD" >&6; }
10161: else
10162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163: $as_echo "no" >&6; }
10164: fi
10165: 
10166: 
10167: 
10168: 
10169: 
10170: if test -z "$lt_cv_path_MAGIC_CMD"; then
10171:   if test -n "$ac_tool_prefix"; then
10172:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10173: $as_echo_n "checking for file... " >&6; }
10174: if ${lt_cv_path_MAGIC_CMD+:} false; then :
10175:   $as_echo_n "(cached) " >&6
10176: else
10177:   case $MAGIC_CMD in
10178: [\\/*] |  ?:[\\/]*)
10179:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10180:   ;;
10181: *)
10182:   lt_save_MAGIC_CMD=$MAGIC_CMD
10183:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10184:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10185:   for ac_dir in $ac_dummy; do
10186:     IFS=$lt_save_ifs
10187:     test -z "$ac_dir" && ac_dir=.
10188:     if test -f "$ac_dir/file"; then
10189:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10190:       if test -n "$file_magic_test_file"; then
10191: 	case $deplibs_check_method in
10192: 	"file_magic "*)
10193: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10194: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10195: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10196: 	    $EGREP "$file_magic_regex" > /dev/null; then
10197: 	    :
10198: 	  else
10199: 	    cat <<_LT_EOF 1>&2
10200: 
10201: *** Warning: the command libtool uses to detect shared libraries,
10202: *** $file_magic_cmd, produces output that libtool cannot recognize.
10203: *** The result is that libtool may fail to recognize shared libraries
10204: *** as such.  This will affect the creation of libtool libraries that
10205: *** depend on shared libraries, but programs linked with such libtool
10206: *** libraries will work regardless of this problem.  Nevertheless, you
10207: *** may want to report the problem to your system manager and/or to
10208: *** bug-libtool@gnu.org
10209: 
10210: _LT_EOF
10211: 	  fi ;;
10212: 	esac
10213:       fi
10214:       break
10215:     fi
10216:   done
10217:   IFS=$lt_save_ifs
10218:   MAGIC_CMD=$lt_save_MAGIC_CMD
10219:   ;;
10220: esac
10221: fi
10222: 
10223: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10224: if test -n "$MAGIC_CMD"; then
10225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10226: $as_echo "$MAGIC_CMD" >&6; }
10227: else
10228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10229: $as_echo "no" >&6; }
10230: fi
10231: 
10232: 
10233:   else
10234:     MAGIC_CMD=:
10235:   fi
10236: fi
10237: 
10238:   fi
10239:   ;;
10240: esac
10241: 
10242: # Use C for the default configuration in the libtool script
10243: 
10244: lt_save_CC=$CC
10245: ac_ext=c
10246: ac_cpp='$CPP $CPPFLAGS'
10247: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10248: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10249: ac_compiler_gnu=$ac_cv_c_compiler_gnu
10250: 
10251: 
10252: # Source file extension for C test sources.
10253: ac_ext=c
10254: 
10255: # Object file extension for compiled C test sources.
10256: objext=o
10257: objext=$objext
10258: 
10259: # Code to be used in simple compile tests
10260: lt_simple_compile_test_code="int some_variable = 0;"
10261: 
10262: # Code to be used in simple link tests
10263: lt_simple_link_test_code='int main(){return(0);}'
10264: 
10265: 
10266: 
10267: 
10268: 
10269: 
10270: 
10271: # If no C compiler was specified, use CC.
10272: LTCC=${LTCC-"$CC"}
10273: 
10274: # If no C compiler flags were specified, use CFLAGS.
10275: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10276: 
10277: # Allow CC to be a program name with arguments.
10278: compiler=$CC
10279: 
10280: # Save the default compiler, since it gets overwritten when the other
10281: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10282: compiler_DEFAULT=$CC
10283: 
10284: # save warnings/boilerplate of simple test code
10285: ac_outfile=conftest.$ac_objext
10286: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10287: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10288: _lt_compiler_boilerplate=`cat conftest.err`
10289: $RM conftest*
10290: 
10291: ac_outfile=conftest.$ac_objext
10292: echo "$lt_simple_link_test_code" >conftest.$ac_ext
10293: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10294: _lt_linker_boilerplate=`cat conftest.err`
10295: $RM -r conftest*
10296: 
10297: 
10298: ## CAVEAT EMPTOR:
10299: ## There is no encapsulation within the following macros, do not change
10300: ## the running order or otherwise move them around unless you know exactly
10301: ## what you are doing...
10302: if test -n "$compiler"; then
10303: 
10304: lt_prog_compiler_no_builtin_flag=
10305: 
10306: if test yes = "$GCC"; then
10307:   case $cc_basename in
10308:   nvcc*)
10309:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10310:   *)
10311:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10312:   esac
10313: 
10314:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10315: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10316: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10317:   $as_echo_n "(cached) " >&6
10318: else
10319:   lt_cv_prog_compiler_rtti_exceptions=no
10320:    ac_outfile=conftest.$ac_objext
10321:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10322:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10323:    # Insert the option either (1) after the last *FLAGS variable, or
10324:    # (2) before a word containing "conftest.", or (3) at the end.
10325:    # Note that $ac_compile itself does not contain backslashes and begins
10326:    # with a dollar sign (not a hyphen), so the echo should work correctly.
10327:    # The option is referenced via a variable to avoid confusing sed.
10328:    lt_compile=`echo "$ac_compile" | $SED \
10329:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10330:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10331:    -e 's:$: $lt_compiler_flag:'`
10332:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10333:    (eval "$lt_compile" 2>conftest.err)
10334:    ac_status=$?
10335:    cat conftest.err >&5
10336:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337:    if (exit $ac_status) && test -s "$ac_outfile"; then
10338:      # The compiler can only warn and ignore the option if not recognized
10339:      # So say no if there are warnings other than the usual output.
10340:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10341:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10342:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10343:        lt_cv_prog_compiler_rtti_exceptions=yes
10344:      fi
10345:    fi
10346:    $RM conftest*
10347: 
10348: fi
10349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10350: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10351: 
10352: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10353:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10354: else
10355:     :
10356: fi
10357: 
10358: fi
10359: 
10360: 
10361: 
10362: 
10363: 
10364: 
10365:   lt_prog_compiler_wl=
10366: lt_prog_compiler_pic=
10367: lt_prog_compiler_static=
10368: 
10369: 
10370:   if test yes = "$GCC"; then
10371:     lt_prog_compiler_wl='-Wl,'
10372:     lt_prog_compiler_static='-static'
10373: 
10374:     case $host_os in
10375:       aix*)
10376:       # All AIX code is PIC.
10377:       if test ia64 = "$host_cpu"; then
10378: 	# AIX 5 now supports IA64 processor
10379: 	lt_prog_compiler_static='-Bstatic'
10380:       fi
10381:       lt_prog_compiler_pic='-fPIC'
10382:       ;;
10383: 
10384:     amigaos*)
10385:       case $host_cpu in
10386:       powerpc)
10387:             # see comment about AmigaOS4 .so support
10388:             lt_prog_compiler_pic='-fPIC'
10389:         ;;
10390:       m68k)
10391:             # FIXME: we need at least 68020 code to build shared libraries, but
10392:             # adding the '-m68020' flag to GCC prevents building anything better,
10393:             # like '-m68040'.
10394:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10395:         ;;
10396:       esac
10397:       ;;
10398: 
10399:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10400:       # PIC is the default for these OSes.
10401:       ;;
10402: 
10403:     mingw* | cygwin* | pw32* | os2* | cegcc*)
10404:       # This hack is so that the source file can tell whether it is being
10405:       # built for inclusion in a dll (and should export symbols for example).
10406:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10407:       # (--disable-auto-import) libraries
10408:       lt_prog_compiler_pic='-DDLL_EXPORT'
10409:       case $host_os in
10410:       os2*)
10411: 	lt_prog_compiler_static='$wl-static'
10412: 	;;
10413:       esac
10414:       ;;
10415: 
10416:     darwin* | rhapsody*)
10417:       # PIC is the default on this platform
10418:       # Common symbols not allowed in MH_DYLIB files
10419:       lt_prog_compiler_pic='-fno-common'
10420:       ;;
10421: 
10422:     haiku*)
10423:       # PIC is the default for Haiku.
10424:       # The "-static" flag exists, but is broken.
10425:       lt_prog_compiler_static=
10426:       ;;
10427: 
10428:     hpux*)
10429:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10430:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10431:       # sets the default TLS model and affects inlining.
10432:       case $host_cpu in
10433:       hppa*64*)
10434: 	# +Z the default
10435: 	;;
10436:       *)
10437: 	lt_prog_compiler_pic='-fPIC'
10438: 	;;
10439:       esac
10440:       ;;
10441: 
10442:     interix[3-9]*)
10443:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10444:       # Instead, we relocate shared libraries at runtime.
10445:       ;;
10446: 
10447:     msdosdjgpp*)
10448:       # Just because we use GCC doesn't mean we suddenly get shared libraries
10449:       # on systems that don't support them.
10450:       lt_prog_compiler_can_build_shared=no
10451:       enable_shared=no
10452:       ;;
10453: 
10454:     *nto* | *qnx*)
10455:       # QNX uses GNU C++, but need to define -shared option too, otherwise
10456:       # it will coredump.
10457:       lt_prog_compiler_pic='-fPIC -shared'
10458:       ;;
10459: 
10460:     sysv4*MP*)
10461:       if test -d /usr/nec; then
10462: 	lt_prog_compiler_pic=-Kconform_pic
10463:       fi
10464:       ;;
10465: 
10466:     *)
10467:       lt_prog_compiler_pic='-fPIC'
10468:       ;;
10469:     esac
10470: 
10471:     case $cc_basename in
10472:     nvcc*) # Cuda Compiler Driver 2.2
10473:       lt_prog_compiler_wl='-Xlinker '
10474:       if test -n "$lt_prog_compiler_pic"; then
10475:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10476:       fi
10477:       ;;
10478:     esac
10479:   else
10480:     # PORTME Check for flag to pass linker flags through the system compiler.
10481:     case $host_os in
10482:     aix*)
10483:       lt_prog_compiler_wl='-Wl,'
10484:       if test ia64 = "$host_cpu"; then
10485: 	# AIX 5 now supports IA64 processor
10486: 	lt_prog_compiler_static='-Bstatic'
10487:       else
10488: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10489:       fi
10490:       ;;
10491: 
10492:     darwin* | rhapsody*)
10493:       # PIC is the default on this platform
10494:       # Common symbols not allowed in MH_DYLIB files
10495:       lt_prog_compiler_pic='-fno-common'
10496:       case $cc_basename in
10497:       nagfor*)
10498:         # NAG Fortran compiler
10499:         lt_prog_compiler_wl='-Wl,-Wl,,'
10500:         lt_prog_compiler_pic='-PIC'
10501:         lt_prog_compiler_static='-Bstatic'
10502:         ;;
10503:       esac
10504:       ;;
10505: 
10506:     mingw* | cygwin* | pw32* | os2* | cegcc*)
10507:       # This hack is so that the source file can tell whether it is being
10508:       # built for inclusion in a dll (and should export symbols for example).
10509:       lt_prog_compiler_pic='-DDLL_EXPORT'
10510:       case $host_os in
10511:       os2*)
10512: 	lt_prog_compiler_static='$wl-static'
10513: 	;;
10514:       esac
10515:       ;;
10516: 
10517:     hpux9* | hpux10* | hpux11*)
10518:       lt_prog_compiler_wl='-Wl,'
10519:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10520:       # not for PA HP-UX.
10521:       case $host_cpu in
10522:       hppa*64*|ia64*)
10523: 	# +Z the default
10524: 	;;
10525:       *)
10526: 	lt_prog_compiler_pic='+Z'
10527: 	;;
10528:       esac
10529:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10530:       lt_prog_compiler_static='$wl-a ${wl}archive'
10531:       ;;
10532: 
10533:     irix5* | irix6* | nonstopux*)
10534:       lt_prog_compiler_wl='-Wl,'
10535:       # PIC (with -KPIC) is the default.
10536:       lt_prog_compiler_static='-non_shared'
10537:       ;;
10538: 
10539:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10540:       case $cc_basename in
10541:       # old Intel for x86_64, which still supported -KPIC.
10542:       ecc*)
10543: 	lt_prog_compiler_wl='-Wl,'
10544: 	lt_prog_compiler_pic='-KPIC'
10545: 	lt_prog_compiler_static='-static'
10546:         ;;
10547:       # icc used to be incompatible with GCC.
10548:       # ICC 10 doesn't accept -KPIC any more.
10549:       icc* | ifort*)
10550: 	lt_prog_compiler_wl='-Wl,'
10551: 	lt_prog_compiler_pic='-fPIC'
10552: 	lt_prog_compiler_static='-static'
10553:         ;;
10554:       # Lahey Fortran 8.1.
10555:       lf95*)
10556: 	lt_prog_compiler_wl='-Wl,'
10557: 	lt_prog_compiler_pic='--shared'
10558: 	lt_prog_compiler_static='--static'
10559: 	;;
10560:       nagfor*)
10561: 	# NAG Fortran compiler
10562: 	lt_prog_compiler_wl='-Wl,-Wl,,'
10563: 	lt_prog_compiler_pic='-PIC'
10564: 	lt_prog_compiler_static='-Bstatic'
10565: 	;;
10566:       tcc*)
10567: 	# Fabrice Bellard et al's Tiny C Compiler
10568: 	lt_prog_compiler_wl='-Wl,'
10569: 	lt_prog_compiler_pic='-fPIC'
10570: 	lt_prog_compiler_static='-static'
10571: 	;;
10572:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10573:         # Portland Group compilers (*not* the Pentium gcc compiler,
10574: 	# which looks to be a dead project)
10575: 	lt_prog_compiler_wl='-Wl,'
10576: 	lt_prog_compiler_pic='-fpic'
10577: 	lt_prog_compiler_static='-Bstatic'
10578:         ;;
10579:       ccc*)
10580:         lt_prog_compiler_wl='-Wl,'
10581:         # All Alpha code is PIC.
10582:         lt_prog_compiler_static='-non_shared'
10583:         ;;
10584:       xl* | bgxl* | bgf* | mpixl*)
10585: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10586: 	lt_prog_compiler_wl='-Wl,'
10587: 	lt_prog_compiler_pic='-qpic'
10588: 	lt_prog_compiler_static='-qstaticlink'
10589: 	;;
10590:       *)
10591: 	case `$CC -V 2>&1 | sed 5q` in
10592: 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10593: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10594: 	  lt_prog_compiler_pic='-KPIC'
10595: 	  lt_prog_compiler_static='-Bstatic'
10596: 	  lt_prog_compiler_wl=''
10597: 	  ;;
10598: 	*Sun\ F* | *Sun*Fortran*)
10599: 	  lt_prog_compiler_pic='-KPIC'
10600: 	  lt_prog_compiler_static='-Bstatic'
10601: 	  lt_prog_compiler_wl='-Qoption ld '
10602: 	  ;;
10603: 	*Sun\ C*)
10604: 	  # Sun C 5.9
10605: 	  lt_prog_compiler_pic='-KPIC'
10606: 	  lt_prog_compiler_static='-Bstatic'
10607: 	  lt_prog_compiler_wl='-Wl,'
10608: 	  ;;
10609:         *Intel*\ [CF]*Compiler*)
10610: 	  lt_prog_compiler_wl='-Wl,'
10611: 	  lt_prog_compiler_pic='-fPIC'
10612: 	  lt_prog_compiler_static='-static'
10613: 	  ;;
10614: 	*Portland\ Group*)
10615: 	  lt_prog_compiler_wl='-Wl,'
10616: 	  lt_prog_compiler_pic='-fpic'
10617: 	  lt_prog_compiler_static='-Bstatic'
10618: 	  ;;
10619: 	esac
10620: 	;;
10621:       esac
10622:       ;;
10623: 
10624:     newsos6)
10625:       lt_prog_compiler_pic='-KPIC'
10626:       lt_prog_compiler_static='-Bstatic'
10627:       ;;
10628: 
10629:     *nto* | *qnx*)
10630:       # QNX uses GNU C++, but need to define -shared option too, otherwise
10631:       # it will coredump.
10632:       lt_prog_compiler_pic='-fPIC -shared'
10633:       ;;
10634: 
10635:     osf3* | osf4* | osf5*)
10636:       lt_prog_compiler_wl='-Wl,'
10637:       # All OSF/1 code is PIC.
10638:       lt_prog_compiler_static='-non_shared'
10639:       ;;
10640: 
10641:     rdos*)
10642:       lt_prog_compiler_static='-non_shared'
10643:       ;;
10644: 
10645:     solaris*)
10646:       lt_prog_compiler_pic='-KPIC'
10647:       lt_prog_compiler_static='-Bstatic'
10648:       case $cc_basename in
10649:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10650: 	lt_prog_compiler_wl='-Qoption ld ';;
10651:       *)
10652: 	lt_prog_compiler_wl='-Wl,';;
10653:       esac
10654:       ;;
10655: 
10656:     sunos4*)
10657:       lt_prog_compiler_wl='-Qoption ld '
10658:       lt_prog_compiler_pic='-PIC'
10659:       lt_prog_compiler_static='-Bstatic'
10660:       ;;
10661: 
10662:     sysv4 | sysv4.2uw2* | sysv4.3*)
10663:       lt_prog_compiler_wl='-Wl,'
10664:       lt_prog_compiler_pic='-KPIC'
10665:       lt_prog_compiler_static='-Bstatic'
10666:       ;;
10667: 
10668:     sysv4*MP*)
10669:       if test -d /usr/nec; then
10670: 	lt_prog_compiler_pic='-Kconform_pic'
10671: 	lt_prog_compiler_static='-Bstatic'
10672:       fi
10673:       ;;
10674: 
10675:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10676:       lt_prog_compiler_wl='-Wl,'
10677:       lt_prog_compiler_pic='-KPIC'
10678:       lt_prog_compiler_static='-Bstatic'
10679:       ;;
10680: 
10681:     unicos*)
10682:       lt_prog_compiler_wl='-Wl,'
10683:       lt_prog_compiler_can_build_shared=no
10684:       ;;
10685: 
10686:     uts4*)
10687:       lt_prog_compiler_pic='-pic'
10688:       lt_prog_compiler_static='-Bstatic'
10689:       ;;
10690: 
10691:     *)
10692:       lt_prog_compiler_can_build_shared=no
10693:       ;;
10694:     esac
10695:   fi
10696: 
10697: case $host_os in
10698:   # For platforms that do not support PIC, -DPIC is meaningless:
10699:   *djgpp*)
10700:     lt_prog_compiler_pic=
10701:     ;;
10702:   *)
10703:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10704:     ;;
10705: esac
10706: 
10707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10708: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10709: if ${lt_cv_prog_compiler_pic+:} false; then :
10710:   $as_echo_n "(cached) " >&6
10711: else
10712:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10713: fi
10714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10715: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10716: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10717: 
10718: #
10719: # Check to make sure the PIC flag actually works.
10720: #
10721: if test -n "$lt_prog_compiler_pic"; then
10722:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10723: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10724: if ${lt_cv_prog_compiler_pic_works+:} false; then :
10725:   $as_echo_n "(cached) " >&6
10726: else
10727:   lt_cv_prog_compiler_pic_works=no
10728:    ac_outfile=conftest.$ac_objext
10729:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10730:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10731:    # Insert the option either (1) after the last *FLAGS variable, or
10732:    # (2) before a word containing "conftest.", or (3) at the end.
10733:    # Note that $ac_compile itself does not contain backslashes and begins
10734:    # with a dollar sign (not a hyphen), so the echo should work correctly.
10735:    # The option is referenced via a variable to avoid confusing sed.
10736:    lt_compile=`echo "$ac_compile" | $SED \
10737:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10738:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10739:    -e 's:$: $lt_compiler_flag:'`
10740:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10741:    (eval "$lt_compile" 2>conftest.err)
10742:    ac_status=$?
10743:    cat conftest.err >&5
10744:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745:    if (exit $ac_status) && test -s "$ac_outfile"; then
10746:      # The compiler can only warn and ignore the option if not recognized
10747:      # So say no if there are warnings other than the usual output.
10748:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10749:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10750:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10751:        lt_cv_prog_compiler_pic_works=yes
10752:      fi
10753:    fi
10754:    $RM conftest*
10755: 
10756: fi
10757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10758: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10759: 
10760: if test yes = "$lt_cv_prog_compiler_pic_works"; then
10761:     case $lt_prog_compiler_pic in
10762:      "" | " "*) ;;
10763:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10764:      esac
10765: else
10766:     lt_prog_compiler_pic=
10767:      lt_prog_compiler_can_build_shared=no
10768: fi
10769: 
10770: fi
10771: 
10772: 
10773: 
10774: 
10775: 
10776: 
10777: 
10778: 
10779: 
10780: 
10781: 
10782: #
10783: # Check to make sure the static flag actually works.
10784: #
10785: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10787: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10788: if ${lt_cv_prog_compiler_static_works+:} false; then :
10789:   $as_echo_n "(cached) " >&6
10790: else
10791:   lt_cv_prog_compiler_static_works=no
10792:    save_LDFLAGS=$LDFLAGS
10793:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10794:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10795:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10796:      # The linker can only warn and ignore the option if not recognized
10797:      # So say no if there are warnings
10798:      if test -s conftest.err; then
10799:        # Append any errors to the config.log.
10800:        cat conftest.err 1>&5
10801:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10802:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10803:        if diff conftest.exp conftest.er2 >/dev/null; then
10804:          lt_cv_prog_compiler_static_works=yes
10805:        fi
10806:      else
10807:        lt_cv_prog_compiler_static_works=yes
10808:      fi
10809:    fi
10810:    $RM -r conftest*
10811:    LDFLAGS=$save_LDFLAGS
10812: 
10813: fi
10814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10815: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10816: 
10817: if test yes = "$lt_cv_prog_compiler_static_works"; then
10818:     :
10819: else
10820:     lt_prog_compiler_static=
10821: fi
10822: 
10823: 
10824: 
10825: 
10826: 
10827: 
10828: 
10829:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10830: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10831: if ${lt_cv_prog_compiler_c_o+:} false; then :
10832:   $as_echo_n "(cached) " >&6
10833: else
10834:   lt_cv_prog_compiler_c_o=no
10835:    $RM -r conftest 2>/dev/null
10836:    mkdir conftest
10837:    cd conftest
10838:    mkdir out
10839:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10840: 
10841:    lt_compiler_flag="-o out/conftest2.$ac_objext"
10842:    # Insert the option either (1) after the last *FLAGS variable, or
10843:    # (2) before a word containing "conftest.", or (3) at the end.
10844:    # Note that $ac_compile itself does not contain backslashes and begins
10845:    # with a dollar sign (not a hyphen), so the echo should work correctly.
10846:    lt_compile=`echo "$ac_compile" | $SED \
10847:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10848:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10849:    -e 's:$: $lt_compiler_flag:'`
10850:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10851:    (eval "$lt_compile" 2>out/conftest.err)
10852:    ac_status=$?
10853:    cat out/conftest.err >&5
10854:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10856:    then
10857:      # The compiler can only warn and ignore the option if not recognized
10858:      # So say no if there are warnings
10859:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10860:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10861:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10862:        lt_cv_prog_compiler_c_o=yes
10863:      fi
10864:    fi
10865:    chmod u+w . 2>&5
10866:    $RM conftest*
10867:    # SGI C++ compiler will create directory out/ii_files/ for
10868:    # template instantiation
10869:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10870:    $RM out/* && rmdir out
10871:    cd ..
10872:    $RM -r conftest
10873:    $RM conftest*
10874: 
10875: fi
10876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10877: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10878: 
10879: 
10880: 
10881: 
10882: 
10883: 
10884:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10885: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10886: if ${lt_cv_prog_compiler_c_o+:} false; then :
10887:   $as_echo_n "(cached) " >&6
10888: else
10889:   lt_cv_prog_compiler_c_o=no
10890:    $RM -r conftest 2>/dev/null
10891:    mkdir conftest
10892:    cd conftest
10893:    mkdir out
10894:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10895: 
10896:    lt_compiler_flag="-o out/conftest2.$ac_objext"
10897:    # Insert the option either (1) after the last *FLAGS variable, or
10898:    # (2) before a word containing "conftest.", or (3) at the end.
10899:    # Note that $ac_compile itself does not contain backslashes and begins
10900:    # with a dollar sign (not a hyphen), so the echo should work correctly.
10901:    lt_compile=`echo "$ac_compile" | $SED \
10902:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10903:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10904:    -e 's:$: $lt_compiler_flag:'`
10905:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10906:    (eval "$lt_compile" 2>out/conftest.err)
10907:    ac_status=$?
10908:    cat out/conftest.err >&5
10909:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10911:    then
10912:      # The compiler can only warn and ignore the option if not recognized
10913:      # So say no if there are warnings
10914:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10915:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10916:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10917:        lt_cv_prog_compiler_c_o=yes
10918:      fi
10919:    fi
10920:    chmod u+w . 2>&5
10921:    $RM conftest*
10922:    # SGI C++ compiler will create directory out/ii_files/ for
10923:    # template instantiation
10924:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10925:    $RM out/* && rmdir out
10926:    cd ..
10927:    $RM -r conftest
10928:    $RM conftest*
10929: 
10930: fi
10931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10932: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10933: 
10934: 
10935: 
10936: 
10937: hard_links=nottested
10938: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10939:   # do not overwrite the value of need_locks provided by the user
10940:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10941: $as_echo_n "checking if we can lock with hard links... " >&6; }
10942:   hard_links=yes
10943:   $RM conftest*
10944:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10945:   touch conftest.a
10946:   ln conftest.a conftest.b 2>&5 || hard_links=no
10947:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10948:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10949: $as_echo "$hard_links" >&6; }
10950:   if test no = "$hard_links"; then
10951:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10952: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10953:     need_locks=warn
10954:   fi
10955: else
10956:   need_locks=no
10957: fi
10958: 
10959: 
10960: 
10961: 
10962: 
10963: 
10964:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10965: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10966: 
10967:   runpath_var=
10968:   allow_undefined_flag=
10969:   always_export_symbols=no
10970:   archive_cmds=
10971:   archive_expsym_cmds=
10972:   compiler_needs_object=no
10973:   enable_shared_with_static_runtimes=no
10974:   export_dynamic_flag_spec=
10975:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10976:   hardcode_automatic=no
10977:   hardcode_direct=no
10978:   hardcode_direct_absolute=no
10979:   hardcode_libdir_flag_spec=
10980:   hardcode_libdir_separator=
10981:   hardcode_minus_L=no
10982:   hardcode_shlibpath_var=unsupported
10983:   inherit_rpath=no
10984:   link_all_deplibs=unknown
10985:   module_cmds=
10986:   module_expsym_cmds=
10987:   old_archive_from_new_cmds=
10988:   old_archive_from_expsyms_cmds=
10989:   thread_safe_flag_spec=
10990:   whole_archive_flag_spec=
10991:   # include_expsyms should be a list of space-separated symbols to be *always*
10992:   # included in the symbol list
10993:   include_expsyms=
10994:   # exclude_expsyms can be an extended regexp of symbols to exclude
10995:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
10996:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10997:   # as well as any symbol that contains 'd'.
10998:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10999:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11000:   # platforms (ab)use it in PIC code, but their linkers get confused if
11001:   # the symbol is explicitly referenced.  Since portable code cannot
11002:   # rely on this symbol name, it's probably fine to never include it in
11003:   # preloaded symbol tables.
11004:   # Exclude shared library initialization/finalization symbols.
11005:   extract_expsyms_cmds=
11006: 
11007:   case $host_os in
11008:   cygwin* | mingw* | pw32* | cegcc*)
11009:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11010:     # When not using gcc, we currently assume that we are using
11011:     # Microsoft Visual C++.
11012:     if test yes != "$GCC"; then
11013:       with_gnu_ld=no
11014:     fi
11015:     ;;
11016:   interix*)
11017:     # we just hope/assume this is gcc and not c89 (= MSVC++)
11018:     with_gnu_ld=yes
11019:     ;;
11020:   openbsd* | bitrig*)
11021:     with_gnu_ld=no
11022:     ;;
11023:   esac
11024: 
11025:   ld_shlibs=yes
11026: 
11027:   # On some targets, GNU ld is compatible enough with the native linker
11028:   # that we're better off using the native interface for both.
11029:   lt_use_gnu_ld_interface=no
11030:   if test yes = "$with_gnu_ld"; then
11031:     case $host_os in
11032:       aix*)
11033: 	# The AIX port of GNU ld has always aspired to compatibility
11034: 	# with the native linker.  However, as the warning in the GNU ld
11035: 	# block says, versions before 2.19.5* couldn't really create working
11036: 	# shared libraries, regardless of the interface used.
11037: 	case `$LD -v 2>&1` in
11038: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11039: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11040: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11041: 	  *)
11042: 	    lt_use_gnu_ld_interface=yes
11043: 	    ;;
11044: 	esac
11045: 	;;
11046:       *)
11047: 	lt_use_gnu_ld_interface=yes
11048: 	;;
11049:     esac
11050:   fi
11051: 
11052:   if test yes = "$lt_use_gnu_ld_interface"; then
11053:     # If archive_cmds runs LD, not CC, wlarc should be empty
11054:     wlarc='$wl'
11055: 
11056:     # Set some defaults for GNU ld with shared library support. These
11057:     # are reset later if shared libraries are not supported. Putting them
11058:     # here allows them to be overridden if necessary.
11059:     runpath_var=LD_RUN_PATH
11060:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11061:     export_dynamic_flag_spec='$wl--export-dynamic'
11062:     # ancient GNU ld didn't support --whole-archive et. al.
11063:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11064:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11065:     else
11066:       whole_archive_flag_spec=
11067:     fi
11068:     supports_anon_versioning=no
11069:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11070:       *GNU\ gold*) supports_anon_versioning=yes ;;
11071:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11072:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11073:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11074:       *\ 2.11.*) ;; # other 2.11 versions
11075:       *) supports_anon_versioning=yes ;;
11076:     esac
11077: 
11078:     # See if GNU ld supports shared libraries.
11079:     case $host_os in
11080:     aix[3-9]*)
11081:       # On AIX/PPC, the GNU linker is very broken
11082:       if test ia64 != "$host_cpu"; then
11083: 	ld_shlibs=no
11084: 	cat <<_LT_EOF 1>&2
11085: 
11086: *** Warning: the GNU linker, at least up to release 2.19, is reported
11087: *** to be unable to reliably create shared libraries on AIX.
11088: *** Therefore, libtool is disabling shared libraries support.  If you
11089: *** really care for shared libraries, you may want to install binutils
11090: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11091: *** You will then need to restart the configuration process.
11092: 
11093: _LT_EOF
11094:       fi
11095:       ;;
11096: 
11097:     amigaos*)
11098:       case $host_cpu in
11099:       powerpc)
11100:             # see comment about AmigaOS4 .so support
11101:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11102:             archive_expsym_cmds=''
11103:         ;;
11104:       m68k)
11105:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11106:             hardcode_libdir_flag_spec='-L$libdir'
11107:             hardcode_minus_L=yes
11108:         ;;
11109:       esac
11110:       ;;
11111: 
11112:     beos*)
11113:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11114: 	allow_undefined_flag=unsupported
11115: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11116: 	# support --undefined.  This deserves some investigation.  FIXME
11117: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11118:       else
11119: 	ld_shlibs=no
11120:       fi
11121:       ;;
11122: 
11123:     cygwin* | mingw* | pw32* | cegcc*)
11124:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11125:       # as there is no search path for DLLs.
11126:       hardcode_libdir_flag_spec='-L$libdir'
11127:       export_dynamic_flag_spec='$wl--export-all-symbols'
11128:       allow_undefined_flag=unsupported
11129:       always_export_symbols=no
11130:       enable_shared_with_static_runtimes=yes
11131:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
11132:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11133: 
11134:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11135:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11136: 	# If the export-symbols file already is a .def file, use it as
11137: 	# is; otherwise, prepend EXPORTS...
11138: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11139:           cp $export_symbols $output_objdir/$soname.def;
11140:         else
11141:           echo EXPORTS > $output_objdir/$soname.def;
11142:           cat $export_symbols >> $output_objdir/$soname.def;
11143:         fi~
11144:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11145:       else
11146: 	ld_shlibs=no
11147:       fi
11148:       ;;
11149: 
11150:     haiku*)
11151:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11152:       link_all_deplibs=yes
11153:       ;;
11154: 
11155:     os2*)
11156:       hardcode_libdir_flag_spec='-L$libdir'
11157:       hardcode_minus_L=yes
11158:       allow_undefined_flag=unsupported
11159:       shrext_cmds=.dll
11160:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11161: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11162: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11163: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
11164: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11165: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11166: 	emximp -o $lib $output_objdir/$libname.def'
11167:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11168: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11169: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11170: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
11171: 	prefix_cmds="$SED"~
11172: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11173: 	  prefix_cmds="$prefix_cmds -e 1d";
11174: 	fi~
11175: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11176: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11177: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11178: 	emximp -o $lib $output_objdir/$libname.def'
11179:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11180:       enable_shared_with_static_runtimes=yes
11181:       ;;
11182: 
11183:     interix[3-9]*)
11184:       hardcode_direct=no
11185:       hardcode_shlibpath_var=no
11186:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11187:       export_dynamic_flag_spec='$wl-E'
11188:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11189:       # Instead, shared libraries are loaded at an image base (0x10000000 by
11190:       # default) and relocated if they conflict, which is a slow very memory
11191:       # consuming and fragmenting process.  To avoid this, we pick a random,
11192:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11193:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11194:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11195:       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11196:       ;;
11197: 
11198:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11199:       tmp_diet=no
11200:       if test linux-dietlibc = "$host_os"; then
11201: 	case $cc_basename in
11202: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11203: 	esac
11204:       fi
11205:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11206: 	 && test no = "$tmp_diet"
11207:       then
11208: 	tmp_addflag=' $pic_flag'
11209: 	tmp_sharedflag='-shared'
11210: 	case $cc_basename,$host_cpu in
11211:         pgcc*)				# Portland Group C compiler
11212: 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
11213: 	  tmp_addflag=' $pic_flag'
11214: 	  ;;
11215: 	pgf77* | pgf90* | pgf95* | pgfortran*)
11216: 					# Portland Group f77 and f90 compilers
11217: 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
11218: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
11219: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11220: 	  tmp_addflag=' -i_dynamic' ;;
11221: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11222: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11223: 	ifc* | ifort*)			# Intel Fortran compiler
11224: 	  tmp_addflag=' -nofor_main' ;;
11225: 	lf95*)				# Lahey Fortran 8.1
11226: 	  whole_archive_flag_spec=
11227: 	  tmp_sharedflag='--shared' ;;
11228:         nagfor*)                        # NAGFOR 5.3
11229:           tmp_sharedflag='-Wl,-shared' ;;
11230: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11231: 	  tmp_sharedflag='-qmkshrobj'
11232: 	  tmp_addflag= ;;
11233: 	nvcc*)	# Cuda Compiler Driver 2.2
11234: 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
11235: 	  compiler_needs_object=yes
11236: 	  ;;
11237: 	esac
11238: 	case `$CC -V 2>&1 | sed 5q` in
11239: 	*Sun\ C*)			# Sun C 5.9
11240: 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
11241: 	  compiler_needs_object=yes
11242: 	  tmp_sharedflag='-G' ;;
11243: 	*Sun\ F*)			# Sun Fortran 8.3
11244: 	  tmp_sharedflag='-G' ;;
11245: 	esac
11246: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11247: 
11248:         if test yes = "$supports_anon_versioning"; then
11249:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11250:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11251:             echo "local: *; };" >> $output_objdir/$libname.ver~
11252:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11253:         fi
11254: 
11255: 	case $cc_basename in
11256: 	tcc*)
11257: 	  export_dynamic_flag_spec='-rdynamic'
11258: 	  ;;
11259: 	xlf* | bgf* | bgxlf* | mpixlf*)
11260: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11261: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11262: 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11263: 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11264: 	  if test yes = "$supports_anon_versioning"; then
11265: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11266:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11267:               echo "local: *; };" >> $output_objdir/$libname.ver~
11268:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11269: 	  fi
11270: 	  ;;
11271: 	esac
11272:       else
11273:         ld_shlibs=no
11274:       fi
11275:       ;;
11276: 
11277:     netbsd*)
11278:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11279: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11280: 	wlarc=
11281:       else
11282: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11283: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11284:       fi
11285:       ;;
11286: 
11287:     solaris*)
11288:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11289: 	ld_shlibs=no
11290: 	cat <<_LT_EOF 1>&2
11291: 
11292: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11293: *** create shared libraries on Solaris systems.  Therefore, libtool
11294: *** is disabling shared libraries support.  We urge you to upgrade GNU
11295: *** binutils to release 2.9.1 or newer.  Another option is to modify
11296: *** your PATH or compiler configuration so that the native linker is
11297: *** used, and then restart.
11298: 
11299: _LT_EOF
11300:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11301: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11302: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11303:       else
11304: 	ld_shlibs=no
11305:       fi
11306:       ;;
11307: 
11308:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11309:       case `$LD -v 2>&1` in
11310:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11311: 	ld_shlibs=no
11312: 	cat <<_LT_EOF 1>&2
11313: 
11314: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11315: *** reliably create shared libraries on SCO systems.  Therefore, libtool
11316: *** is disabling shared libraries support.  We urge you to upgrade GNU
11317: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11318: *** your PATH or compiler configuration so that the native linker is
11319: *** used, and then restart.
11320: 
11321: _LT_EOF
11322: 	;;
11323: 	*)
11324: 	  # For security reasons, it is highly recommended that you always
11325: 	  # use absolute paths for naming shared libraries, and exclude the
11326: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
11327: 	  # requires that you compile everything twice, which is a pain.
11328: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11329: 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11330: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11331: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11332: 	  else
11333: 	    ld_shlibs=no
11334: 	  fi
11335: 	;;
11336:       esac
11337:       ;;
11338: 
11339:     sunos4*)
11340:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11341:       wlarc=
11342:       hardcode_direct=yes
11343:       hardcode_shlibpath_var=no
11344:       ;;
11345: 
11346:     *)
11347:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11348: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11349: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11350:       else
11351: 	ld_shlibs=no
11352:       fi
11353:       ;;
11354:     esac
11355: 
11356:     if test no = "$ld_shlibs"; then
11357:       runpath_var=
11358:       hardcode_libdir_flag_spec=
11359:       export_dynamic_flag_spec=
11360:       whole_archive_flag_spec=
11361:     fi
11362:   else
11363:     # PORTME fill in a description of your system's linker (not GNU ld)
11364:     case $host_os in
11365:     aix3*)
11366:       allow_undefined_flag=unsupported
11367:       always_export_symbols=yes
11368:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11369:       # Note: this linker hardcodes the directories in LIBPATH if there
11370:       # are no directories specified by -L.
11371:       hardcode_minus_L=yes
11372:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11373: 	# Neither direct hardcoding nor static linking is supported with a
11374: 	# broken collect2.
11375: 	hardcode_direct=unsupported
11376:       fi
11377:       ;;
11378: 
11379:     aix[4-9]*)
11380:       if test ia64 = "$host_cpu"; then
11381: 	# On IA64, the linker does run time linking by default, so we don't
11382: 	# have to do anything special.
11383: 	aix_use_runtimelinking=no
11384: 	exp_sym_flag='-Bexport'
11385: 	no_entry_flag=
11386:       else
11387: 	# If we're using GNU nm, then we don't want the "-C" option.
11388: 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11389: 	# Without the "-l" option, or with the "-B" option, AIX nm treats
11390: 	# weak defined symbols like other global defined symbols, whereas
11391: 	# GNU nm marks them as "W".
11392: 	# While the 'weak' keyword is ignored in the Export File, we need
11393: 	# it in the Import File for the 'aix-soname' feature, so we have
11394: 	# to replace the "-B" option with "-P" for AIX nm.
11395: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11396: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11397: 	else
11398: 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11399: 	fi
11400: 	aix_use_runtimelinking=no
11401: 
11402: 	# Test if we are trying to use run time linking or normal
11403: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11404: 	# have runtime linking enabled, and use it for executables.
11405: 	# For shared libraries, we enable/disable runtime linking
11406: 	# depending on the kind of the shared library created -
11407: 	# when "with_aix_soname,aix_use_runtimelinking" is:
11408: 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11409: 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11410: 	#            lib.a           static archive
11411: 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11412: 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11413: 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11414: 	#            lib.a(lib.so.V) shared, rtl:no
11415: 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11416: 	#            lib.a           static archive
11417: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11418: 	  for ld_flag in $LDFLAGS; do
11419: 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11420: 	    aix_use_runtimelinking=yes
11421: 	    break
11422: 	  fi
11423: 	  done
11424: 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11425: 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11426: 	    # so we don't have lib.a shared libs to link our executables.
11427: 	    # We have to force runtime linking in this case.
11428: 	    aix_use_runtimelinking=yes
11429: 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11430: 	  fi
11431: 	  ;;
11432: 	esac
11433: 
11434: 	exp_sym_flag='-bexport'
11435: 	no_entry_flag='-bnoentry'
11436:       fi
11437: 
11438:       # When large executables or shared objects are built, AIX ld can
11439:       # have problems creating the table of contents.  If linking a library
11440:       # or program results in "error TOC overflow" add -mminimal-toc to
11441:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11442:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11443: 
11444:       archive_cmds=''
11445:       hardcode_direct=yes
11446:       hardcode_direct_absolute=yes
11447:       hardcode_libdir_separator=':'
11448:       link_all_deplibs=yes
11449:       file_list_spec='$wl-f,'
11450:       case $with_aix_soname,$aix_use_runtimelinking in
11451:       aix,*) ;; # traditional, no import file
11452:       svr4,* | *,yes) # use import file
11453: 	# The Import File defines what to hardcode.
11454: 	hardcode_direct=no
11455: 	hardcode_direct_absolute=no
11456: 	;;
11457:       esac
11458: 
11459:       if test yes = "$GCC"; then
11460: 	case $host_os in aix4.[012]|aix4.[012].*)
11461: 	# We only want to do this on AIX 4.2 and lower, the check
11462: 	# below for broken collect2 doesn't work under 4.3+
11463: 	  collect2name=`$CC -print-prog-name=collect2`
11464: 	  if test -f "$collect2name" &&
11465: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11466: 	  then
11467: 	  # We have reworked collect2
11468: 	  :
11469: 	  else
11470: 	  # We have old collect2
11471: 	  hardcode_direct=unsupported
11472: 	  # It fails to find uninstalled libraries when the uninstalled
11473: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
11474: 	  # to unsupported forces relinking
11475: 	  hardcode_minus_L=yes
11476: 	  hardcode_libdir_flag_spec='-L$libdir'
11477: 	  hardcode_libdir_separator=
11478: 	  fi
11479: 	  ;;
11480: 	esac
11481: 	shared_flag='-shared'
11482: 	if test yes = "$aix_use_runtimelinking"; then
11483: 	  shared_flag="$shared_flag "'$wl-G'
11484: 	fi
11485: 	# Need to ensure runtime linking is disabled for the traditional
11486: 	# shared library, or the linker may eventually find shared libraries
11487: 	# /with/ Import File - we do not want to mix them.
11488: 	shared_flag_aix='-shared'
11489: 	shared_flag_svr4='-shared $wl-G'
11490:       else
11491: 	# not using gcc
11492: 	if test ia64 = "$host_cpu"; then
11493: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11494: 	# chokes on -Wl,-G. The following line is correct:
11495: 	  shared_flag='-G'
11496: 	else
11497: 	  if test yes = "$aix_use_runtimelinking"; then
11498: 	    shared_flag='$wl-G'
11499: 	  else
11500: 	    shared_flag='$wl-bM:SRE'
11501: 	  fi
11502: 	  shared_flag_aix='$wl-bM:SRE'
11503: 	  shared_flag_svr4='$wl-G'
11504: 	fi
11505:       fi
11506: 
11507:       export_dynamic_flag_spec='$wl-bexpall'
11508:       # It seems that -bexpall does not export symbols beginning with
11509:       # underscore (_), so it is better to generate a list of symbols to export.
11510:       always_export_symbols=yes
11511:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11512: 	# Warning - without using the other runtime loading flags (-brtl),
11513: 	# -berok will link without error, but may produce a broken library.
11514: 	allow_undefined_flag='-berok'
11515:         # Determine the default libpath from the value encoded in an
11516:         # empty executable.
11517:         if test set = "${lt_cv_aix_libpath+set}"; then
11518:   aix_libpath=$lt_cv_aix_libpath
11519: else
11520:   if ${lt_cv_aix_libpath_+:} false; then :
11521:   $as_echo_n "(cached) " >&6
11522: else
11523:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524: /* end confdefs.h.  */
11525: 
11526: int
11527: main ()
11528: {
11529: 
11530:   ;
11531:   return 0;
11532: }
11533: _ACEOF
11534: if ac_fn_c_try_link "$LINENO"; then :
11535: 
11536:   lt_aix_libpath_sed='
11537:       /Import File Strings/,/^$/ {
11538: 	  /^0/ {
11539: 	      s/^0  *\([^ ]*\) *$/\1/
11540: 	      p
11541: 	  }
11542:       }'
11543:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11544:   # Check for a 64-bit object if we didn't find anything.
11545:   if test -z "$lt_cv_aix_libpath_"; then
11546:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11547:   fi
11548: fi
11549: rm -f core conftest.err conftest.$ac_objext \
11550:     conftest$ac_exeext conftest.$ac_ext
11551:   if test -z "$lt_cv_aix_libpath_"; then
11552:     lt_cv_aix_libpath_=/usr/lib:/lib
11553:   fi
11554: 
11555: fi
11556: 
11557:   aix_libpath=$lt_cv_aix_libpath_
11558: fi
11559: 
11560:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11561:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11562:       else
11563: 	if test ia64 = "$host_cpu"; then
11564: 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11565: 	  allow_undefined_flag="-z nodefs"
11566: 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
11567: 	else
11568: 	 # Determine the default libpath from the value encoded in an
11569: 	 # empty executable.
11570: 	 if test set = "${lt_cv_aix_libpath+set}"; then
11571:   aix_libpath=$lt_cv_aix_libpath
11572: else
11573:   if ${lt_cv_aix_libpath_+:} false; then :
11574:   $as_echo_n "(cached) " >&6
11575: else
11576:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577: /* end confdefs.h.  */
11578: 
11579: int
11580: main ()
11581: {
11582: 
11583:   ;
11584:   return 0;
11585: }
11586: _ACEOF
11587: if ac_fn_c_try_link "$LINENO"; then :
11588: 
11589:   lt_aix_libpath_sed='
11590:       /Import File Strings/,/^$/ {
11591: 	  /^0/ {
11592: 	      s/^0  *\([^ ]*\) *$/\1/
11593: 	      p
11594: 	  }
11595:       }'
11596:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11597:   # Check for a 64-bit object if we didn't find anything.
11598:   if test -z "$lt_cv_aix_libpath_"; then
11599:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11600:   fi
11601: fi
11602: rm -f core conftest.err conftest.$ac_objext \
11603:     conftest$ac_exeext conftest.$ac_ext
11604:   if test -z "$lt_cv_aix_libpath_"; then
11605:     lt_cv_aix_libpath_=/usr/lib:/lib
11606:   fi
11607: 
11608: fi
11609: 
11610:   aix_libpath=$lt_cv_aix_libpath_
11611: fi
11612: 
11613: 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11614: 	  # Warning - without using the other run time loading flags,
11615: 	  # -berok will link without error, but may produce a broken library.
11616: 	  no_undefined_flag=' $wl-bernotok'
11617: 	  allow_undefined_flag=' $wl-berok'
11618: 	  if test yes = "$with_gnu_ld"; then
11619: 	    # We only use this code for GNU lds that support --whole-archive.
11620: 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11621: 	  else
11622: 	    # Exported symbols can be pulled into shared objects from archives
11623: 	    whole_archive_flag_spec='$convenience'
11624: 	  fi
11625: 	  archive_cmds_need_lc=yes
11626: 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11627: 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11628: 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11629: 	  if test svr4 != "$with_aix_soname"; then
11630: 	    # This is similar to how AIX traditionally builds its shared libraries.
11631: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11632: 	  fi
11633: 	  if test aix != "$with_aix_soname"; then
11634: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11635: 	  else
11636: 	    # used by -dlpreopen to get the symbols
11637: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11638: 	  fi
11639: 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11640: 	fi
11641:       fi
11642:       ;;
11643: 
11644:     amigaos*)
11645:       case $host_cpu in
11646:       powerpc)
11647:             # see comment about AmigaOS4 .so support
11648:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11649:             archive_expsym_cmds=''
11650:         ;;
11651:       m68k)
11652:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11653:             hardcode_libdir_flag_spec='-L$libdir'
11654:             hardcode_minus_L=yes
11655:         ;;
11656:       esac
11657:       ;;
11658: 
11659:     bsdi[45]*)
11660:       export_dynamic_flag_spec=-rdynamic
11661:       ;;
11662: 
11663:     cygwin* | mingw* | pw32* | cegcc*)
11664:       # When not using gcc, we currently assume that we are using
11665:       # Microsoft Visual C++.
11666:       # hardcode_libdir_flag_spec is actually meaningless, as there is
11667:       # no search path for DLLs.
11668:       case $cc_basename in
11669:       cl*)
11670: 	# Native MSVC
11671: 	hardcode_libdir_flag_spec=' '
11672: 	allow_undefined_flag=unsupported
11673: 	always_export_symbols=yes
11674: 	file_list_spec='@'
11675: 	# Tell ltmain to make .lib files, not .a files.
11676: 	libext=lib
11677: 	# Tell ltmain to make .dll files, not .so files.
11678: 	shrext_cmds=.dll
11679: 	# FIXME: Setting linknames here is a bad hack.
11680: 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11681: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11682:             cp "$export_symbols" "$output_objdir/$soname.def";
11683:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11684:           else
11685:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11686:           fi~
11687:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11688:           linknames='
11689: 	# The linker will not automatically build a static lib if we build a DLL.
11690: 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11691: 	enable_shared_with_static_runtimes=yes
11692: 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11693: 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11694: 	# Don't use ranlib
11695: 	old_postinstall_cmds='chmod 644 $oldlib'
11696: 	postlink_cmds='lt_outputfile="@OUTPUT@"~
11697:           lt_tool_outputfile="@TOOL_OUTPUT@"~
11698:           case $lt_outputfile in
11699:             *.exe|*.EXE) ;;
11700:             *)
11701:               lt_outputfile=$lt_outputfile.exe
11702:               lt_tool_outputfile=$lt_tool_outputfile.exe
11703:               ;;
11704:           esac~
11705:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11706:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11707:             $RM "$lt_outputfile.manifest";
11708:           fi'
11709: 	;;
11710:       *)
11711: 	# Assume MSVC wrapper
11712: 	hardcode_libdir_flag_spec=' '
11713: 	allow_undefined_flag=unsupported
11714: 	# Tell ltmain to make .lib files, not .a files.
11715: 	libext=lib
11716: 	# Tell ltmain to make .dll files, not .so files.
11717: 	shrext_cmds=.dll
11718: 	# FIXME: Setting linknames here is a bad hack.
11719: 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11720: 	# The linker will automatically build a .lib file if we build a DLL.
11721: 	old_archive_from_new_cmds='true'
11722: 	# FIXME: Should let the user specify the lib program.
11723: 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11724: 	enable_shared_with_static_runtimes=yes
11725: 	;;
11726:       esac
11727:       ;;
11728: 
11729:     darwin* | rhapsody*)
11730: 
11731: 
11732:   archive_cmds_need_lc=no
11733:   hardcode_direct=no
11734:   hardcode_automatic=yes
11735:   hardcode_shlibpath_var=unsupported
11736:   if test yes = "$lt_cv_ld_force_load"; then
11737:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11738: 
11739:   else
11740:     whole_archive_flag_spec=''
11741:   fi
11742:   link_all_deplibs=yes
11743:   allow_undefined_flag=$_lt_dar_allow_undefined
11744:   case $cc_basename in
11745:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11746:      *) _lt_dar_can_shared=$GCC ;;
11747:   esac
11748:   if test yes = "$_lt_dar_can_shared"; then
11749:     output_verbose_link_cmd=func_echo_all
11750:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11751:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11752:     archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
11753:     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11754: 
11755:   else
11756:   ld_shlibs=no
11757:   fi
11758: 
11759:       ;;
11760: 
11761:     dgux*)
11762:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11763:       hardcode_libdir_flag_spec='-L$libdir'
11764:       hardcode_shlibpath_var=no
11765:       ;;
11766: 
11767:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11768:     # support.  Future versions do this automatically, but an explicit c++rt0.o
11769:     # does not break anything, and helps significantly (at the cost of a little
11770:     # extra space).
11771:     freebsd2.2*)
11772:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11773:       hardcode_libdir_flag_spec='-R$libdir'
11774:       hardcode_direct=yes
11775:       hardcode_shlibpath_var=no
11776:       ;;
11777: 
11778:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11779:     freebsd2.*)
11780:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11781:       hardcode_direct=yes
11782:       hardcode_minus_L=yes
11783:       hardcode_shlibpath_var=no
11784:       ;;
11785: 
11786:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11787:     freebsd* | dragonfly*)
11788:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11789:       hardcode_libdir_flag_spec='-R$libdir'
11790:       hardcode_direct=yes
11791:       hardcode_shlibpath_var=no
11792:       ;;
11793: 
11794:     hpux9*)
11795:       if test yes = "$GCC"; then
11796: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11797:       else
11798: 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11799:       fi
11800:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11801:       hardcode_libdir_separator=:
11802:       hardcode_direct=yes
11803: 
11804:       # hardcode_minus_L: Not really in the search PATH,
11805:       # but as the default location of the library.
11806:       hardcode_minus_L=yes
11807:       export_dynamic_flag_spec='$wl-E'
11808:       ;;
11809: 
11810:     hpux10*)
11811:       if test yes,no = "$GCC,$with_gnu_ld"; then
11812: 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11813:       else
11814: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11815:       fi
11816:       if test no = "$with_gnu_ld"; then
11817: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11818: 	hardcode_libdir_separator=:
11819: 	hardcode_direct=yes
11820: 	hardcode_direct_absolute=yes
11821: 	export_dynamic_flag_spec='$wl-E'
11822: 	# hardcode_minus_L: Not really in the search PATH,
11823: 	# but as the default location of the library.
11824: 	hardcode_minus_L=yes
11825:       fi
11826:       ;;
11827: 
11828:     hpux11*)
11829:       if test yes,no = "$GCC,$with_gnu_ld"; then
11830: 	case $host_cpu in
11831: 	hppa*64*)
11832: 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11833: 	  ;;
11834: 	ia64*)
11835: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11836: 	  ;;
11837: 	*)
11838: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11839: 	  ;;
11840: 	esac
11841:       else
11842: 	case $host_cpu in
11843: 	hppa*64*)
11844: 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11845: 	  ;;
11846: 	ia64*)
11847: 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11848: 	  ;;
11849: 	*)
11850: 
11851: 	  # Older versions of the 11.00 compiler do not understand -b yet
11852: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11853: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11854: $as_echo_n "checking if $CC understands -b... " >&6; }
11855: if ${lt_cv_prog_compiler__b+:} false; then :
11856:   $as_echo_n "(cached) " >&6
11857: else
11858:   lt_cv_prog_compiler__b=no
11859:    save_LDFLAGS=$LDFLAGS
11860:    LDFLAGS="$LDFLAGS -b"
11861:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11862:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11863:      # The linker can only warn and ignore the option if not recognized
11864:      # So say no if there are warnings
11865:      if test -s conftest.err; then
11866:        # Append any errors to the config.log.
11867:        cat conftest.err 1>&5
11868:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11869:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11870:        if diff conftest.exp conftest.er2 >/dev/null; then
11871:          lt_cv_prog_compiler__b=yes
11872:        fi
11873:      else
11874:        lt_cv_prog_compiler__b=yes
11875:      fi
11876:    fi
11877:    $RM -r conftest*
11878:    LDFLAGS=$save_LDFLAGS
11879: 
11880: fi
11881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11882: $as_echo "$lt_cv_prog_compiler__b" >&6; }
11883: 
11884: if test yes = "$lt_cv_prog_compiler__b"; then
11885:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11886: else
11887:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11888: fi
11889: 
11890: 	  ;;
11891: 	esac
11892:       fi
11893:       if test no = "$with_gnu_ld"; then
11894: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11895: 	hardcode_libdir_separator=:
11896: 
11897: 	case $host_cpu in
11898: 	hppa*64*|ia64*)
11899: 	  hardcode_direct=no
11900: 	  hardcode_shlibpath_var=no
11901: 	  ;;
11902: 	*)
11903: 	  hardcode_direct=yes
11904: 	  hardcode_direct_absolute=yes
11905: 	  export_dynamic_flag_spec='$wl-E'
11906: 
11907: 	  # hardcode_minus_L: Not really in the search PATH,
11908: 	  # but as the default location of the library.
11909: 	  hardcode_minus_L=yes
11910: 	  ;;
11911: 	esac
11912:       fi
11913:       ;;
11914: 
11915:     irix5* | irix6* | nonstopux*)
11916:       if test yes = "$GCC"; then
11917: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11918: 	# Try to use the -exported_symbol ld option, if it does not
11919: 	# work, assume that -exports_file does not work either and
11920: 	# implicitly export all symbols.
11921: 	# This should be the same for all languages, so no per-tag cache variable.
11922: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11923: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11924: if ${lt_cv_irix_exported_symbol+:} false; then :
11925:   $as_echo_n "(cached) " >&6
11926: else
11927:   save_LDFLAGS=$LDFLAGS
11928: 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11929: 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930: /* end confdefs.h.  */
11931: int foo (void) { return 0; }
11932: _ACEOF
11933: if ac_fn_c_try_link "$LINENO"; then :
11934:   lt_cv_irix_exported_symbol=yes
11935: else
11936:   lt_cv_irix_exported_symbol=no
11937: fi
11938: rm -f core conftest.err conftest.$ac_objext \
11939:     conftest$ac_exeext conftest.$ac_ext
11940:            LDFLAGS=$save_LDFLAGS
11941: fi
11942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11943: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11944: 	if test yes = "$lt_cv_irix_exported_symbol"; then
11945:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11946: 	fi
11947:       else
11948: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11949: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11950:       fi
11951:       archive_cmds_need_lc='no'
11952:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11953:       hardcode_libdir_separator=:
11954:       inherit_rpath=yes
11955:       link_all_deplibs=yes
11956:       ;;
11957: 
11958:     linux*)
11959:       case $cc_basename in
11960:       tcc*)
11961: 	# Fabrice Bellard et al's Tiny C Compiler
11962: 	ld_shlibs=yes
11963: 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11964: 	;;
11965:       esac
11966:       ;;
11967: 
11968:     netbsd*)
11969:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11970: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11971:       else
11972: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11973:       fi
11974:       hardcode_libdir_flag_spec='-R$libdir'
11975:       hardcode_direct=yes
11976:       hardcode_shlibpath_var=no
11977:       ;;
11978: 
11979:     newsos6)
11980:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11981:       hardcode_direct=yes
11982:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11983:       hardcode_libdir_separator=:
11984:       hardcode_shlibpath_var=no
11985:       ;;
11986: 
11987:     *nto* | *qnx*)
11988:       ;;
11989: 
11990:     openbsd* | bitrig*)
11991:       if test -f /usr/libexec/ld.so; then
11992: 	hardcode_direct=yes
11993: 	hardcode_shlibpath_var=no
11994: 	hardcode_direct_absolute=yes
11995: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11996: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11997: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11998: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11999: 	  export_dynamic_flag_spec='$wl-E'
12000: 	else
12001: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12002: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12003: 	fi
12004:       else
12005: 	ld_shlibs=no
12006:       fi
12007:       ;;
12008: 
12009:     os2*)
12010:       hardcode_libdir_flag_spec='-L$libdir'
12011:       hardcode_minus_L=yes
12012:       allow_undefined_flag=unsupported
12013:       shrext_cmds=.dll
12014:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12015: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12016: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12017: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
12018: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12019: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12020: 	emximp -o $lib $output_objdir/$libname.def'
12021:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12022: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12023: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12024: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
12025: 	prefix_cmds="$SED"~
12026: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
12027: 	  prefix_cmds="$prefix_cmds -e 1d";
12028: 	fi~
12029: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12030: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12031: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12032: 	emximp -o $lib $output_objdir/$libname.def'
12033:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12034:       enable_shared_with_static_runtimes=yes
12035:       ;;
12036: 
12037:     osf3*)
12038:       if test yes = "$GCC"; then
12039: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12040: 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
12041:       else
12042: 	allow_undefined_flag=' -expect_unresolved \*'
12043: 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
12044:       fi
12045:       archive_cmds_need_lc='no'
12046:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12047:       hardcode_libdir_separator=:
12048:       ;;
12049: 
12050:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
12051:       if test yes = "$GCC"; then
12052: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12053: 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
12054: 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12055:       else
12056: 	allow_undefined_flag=' -expect_unresolved \*'
12057: 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
12058: 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12059:           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
12060: 
12061: 	# Both c and cxx compiler support -rpath directly
12062: 	hardcode_libdir_flag_spec='-rpath $libdir'
12063:       fi
12064:       archive_cmds_need_lc='no'
12065:       hardcode_libdir_separator=:
12066:       ;;
12067: 
12068:     solaris*)
12069:       no_undefined_flag=' -z defs'
12070:       if test yes = "$GCC"; then
12071: 	wlarc='$wl'
12072: 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12073: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12074:           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12075:       else
12076: 	case `$CC -V 2>&1` in
12077: 	*"Compilers 5.0"*)
12078: 	  wlarc=''
12079: 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12080: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12081:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12082: 	  ;;
12083: 	*)
12084: 	  wlarc='$wl'
12085: 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12086: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12087:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12088: 	  ;;
12089: 	esac
12090:       fi
12091:       hardcode_libdir_flag_spec='-R$libdir'
12092:       hardcode_shlibpath_var=no
12093:       case $host_os in
12094:       solaris2.[0-5] | solaris2.[0-5].*) ;;
12095:       *)
12096: 	# The compiler driver will combine and reorder linker options,
12097: 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
12098: 	# but is careful enough not to reorder.
12099: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
12100: 	if test yes = "$GCC"; then
12101: 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12102: 	else
12103: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12104: 	fi
12105: 	;;
12106:       esac
12107:       link_all_deplibs=yes
12108:       ;;
12109: 
12110:     sunos4*)
12111:       if test sequent = "$host_vendor"; then
12112: 	# Use $CC to link under sequent, because it throws in some extra .o
12113: 	# files that make .init and .fini sections work.
12114: 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12115:       else
12116: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12117:       fi
12118:       hardcode_libdir_flag_spec='-L$libdir'
12119:       hardcode_direct=yes
12120:       hardcode_minus_L=yes
12121:       hardcode_shlibpath_var=no
12122:       ;;
12123: 
12124:     sysv4)
12125:       case $host_vendor in
12126: 	sni)
12127: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12128: 	  hardcode_direct=yes # is this really true???
12129: 	;;
12130: 	siemens)
12131: 	  ## LD is ld it makes a PLAMLIB
12132: 	  ## CC just makes a GrossModule.
12133: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12134: 	  reload_cmds='$CC -r -o $output$reload_objs'
12135: 	  hardcode_direct=no
12136:         ;;
12137: 	motorola)
12138: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12139: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12140: 	;;
12141:       esac
12142:       runpath_var='LD_RUN_PATH'
12143:       hardcode_shlibpath_var=no
12144:       ;;
12145: 
12146:     sysv4.3*)
12147:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12148:       hardcode_shlibpath_var=no
12149:       export_dynamic_flag_spec='-Bexport'
12150:       ;;
12151: 
12152:     sysv4*MP*)
12153:       if test -d /usr/nec; then
12154: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12155: 	hardcode_shlibpath_var=no
12156: 	runpath_var=LD_RUN_PATH
12157: 	hardcode_runpath_var=yes
12158: 	ld_shlibs=yes
12159:       fi
12160:       ;;
12161: 
12162:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12163:       no_undefined_flag='$wl-z,text'
12164:       archive_cmds_need_lc=no
12165:       hardcode_shlibpath_var=no
12166:       runpath_var='LD_RUN_PATH'
12167: 
12168:       if test yes = "$GCC"; then
12169: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12170: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12171:       else
12172: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12173: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12174:       fi
12175:       ;;
12176: 
12177:     sysv5* | sco3.2v5* | sco5v6*)
12178:       # Note: We CANNOT use -z defs as we might desire, because we do not
12179:       # link with -lc, and that would cause any symbols used from libc to
12180:       # always be unresolved, which means just about no library would
12181:       # ever link correctly.  If we're not using GNU ld we use -z text
12182:       # though, which does catch some bad symbols but isn't as heavy-handed
12183:       # as -z defs.
12184:       no_undefined_flag='$wl-z,text'
12185:       allow_undefined_flag='$wl-z,nodefs'
12186:       archive_cmds_need_lc=no
12187:       hardcode_shlibpath_var=no
12188:       hardcode_libdir_flag_spec='$wl-R,$libdir'
12189:       hardcode_libdir_separator=':'
12190:       link_all_deplibs=yes
12191:       export_dynamic_flag_spec='$wl-Bexport'
12192:       runpath_var='LD_RUN_PATH'
12193: 
12194:       if test yes = "$GCC"; then
12195: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12196: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12197:       else
12198: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12199: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12200:       fi
12201:       ;;
12202: 
12203:     uts4*)
12204:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12205:       hardcode_libdir_flag_spec='-L$libdir'
12206:       hardcode_shlibpath_var=no
12207:       ;;
12208: 
12209:     *)
12210:       ld_shlibs=no
12211:       ;;
12212:     esac
12213: 
12214:     if test sni = "$host_vendor"; then
12215:       case $host in
12216:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12217: 	export_dynamic_flag_spec='$wl-Blargedynsym'
12218: 	;;
12219:       esac
12220:     fi
12221:   fi
12222: 
12223: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12224: $as_echo "$ld_shlibs" >&6; }
12225: test no = "$ld_shlibs" && can_build_shared=no
12226: 
12227: with_gnu_ld=$with_gnu_ld
12228: 
12229: 
12230: 
12231: 
12232: 
12233: 
12234: 
12235: 
12236: 
12237: 
12238: 
12239: 
12240: 
12241: 
12242: 
12243: #
12244: # Do we need to explicitly link libc?
12245: #
12246: case "x$archive_cmds_need_lc" in
12247: x|xyes)
12248:   # Assume -lc should be added
12249:   archive_cmds_need_lc=yes
12250: 
12251:   if test yes,yes = "$GCC,$enable_shared"; then
12252:     case $archive_cmds in
12253:     *'~'*)
12254:       # FIXME: we may have to deal with multi-command sequences.
12255:       ;;
12256:     '$CC '*)
12257:       # Test whether the compiler implicitly links with -lc since on some
12258:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12259:       # to ld, don't add -lc before -lgcc.
12260:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12261: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12262: if ${lt_cv_archive_cmds_need_lc+:} false; then :
12263:   $as_echo_n "(cached) " >&6
12264: else
12265:   $RM conftest*
12266: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12267: 
12268: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12269:   (eval $ac_compile) 2>&5
12270:   ac_status=$?
12271:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12272:   test $ac_status = 0; } 2>conftest.err; then
12273: 	  soname=conftest
12274: 	  lib=conftest
12275: 	  libobjs=conftest.$ac_objext
12276: 	  deplibs=
12277: 	  wl=$lt_prog_compiler_wl
12278: 	  pic_flag=$lt_prog_compiler_pic
12279: 	  compiler_flags=-v
12280: 	  linker_flags=-v
12281: 	  verstring=
12282: 	  output_objdir=.
12283: 	  libname=conftest
12284: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
12285: 	  allow_undefined_flag=
12286: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12287:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12288:   ac_status=$?
12289:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12290:   test $ac_status = 0; }
12291: 	  then
12292: 	    lt_cv_archive_cmds_need_lc=no
12293: 	  else
12294: 	    lt_cv_archive_cmds_need_lc=yes
12295: 	  fi
12296: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
12297: 	else
12298: 	  cat conftest.err 1>&5
12299: 	fi
12300: 	$RM conftest*
12301: 
12302: fi
12303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12304: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12305:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12306:       ;;
12307:     esac
12308:   fi
12309:   ;;
12310: esac
12311: 
12312: 
12313: 
12314: 
12315: 
12316: 
12317: 
12318: 
12319: 
12320: 
12321: 
12322: 
12323: 
12324: 
12325: 
12326: 
12327: 
12328: 
12329: 
12330: 
12331: 
12332: 
12333: 
12334: 
12335: 
12336: 
12337: 
12338: 
12339: 
12340: 
12341: 
12342: 
12343: 
12344: 
12345: 
12346: 
12347: 
12348: 
12349: 
12350: 
12351: 
12352: 
12353: 
12354: 
12355: 
12356: 
12357: 
12358: 
12359: 
12360: 
12361: 
12362: 
12363: 
12364: 
12365: 
12366: 
12367: 
12368: 
12369: 
12370: 
12371: 
12372: 
12373: 
12374: 
12375: 
12376: 
12377: 
12378: 
12379: 
12380: 
12381: 
12382: 
12383: 
12384: 
12385: 
12386: 
12387: 
12388: 
12389: 
12390: 
12391: 
12392: 
12393: 
12394: 
12395: 
12396: 
12397: 
12398: 
12399: 
12400: 
12401: 
12402: 
12403: 
12404: 
12405: 
12406: 
12407: 
12408: 
12409: 
12410: 
12411: 
12412: 
12413: 
12414: 
12415: 
12416: 
12417: 
12418: 
12419: 
12420: 
12421: 
12422: 
12423: 
12424: 
12425: 
12426: 
12427: 
12428: 
12429: 
12430: 
12431: 
12432: 
12433: 
12434: 
12435: 
12436: 
12437: 
12438: 
12439: 
12440: 
12441: 
12442: 
12443: 
12444: 
12445: 
12446: 
12447: 
12448: 
12449: 
12450: 
12451: 
12452: 
12453: 
12454: 
12455: 
12456: 
12457: 
12458: 
12459: 
12460: 
12461: 
12462: 
12463:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12464: $as_echo_n "checking dynamic linker characteristics... " >&6; }
12465: 
12466: if test yes = "$GCC"; then
12467:   case $host_os in
12468:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12469:     *) lt_awk_arg='/^libraries:/' ;;
12470:   esac
12471:   case $host_os in
12472:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12473:     *) lt_sed_strip_eq='s|=/|/|g' ;;
12474:   esac
12475:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12476:   case $lt_search_path_spec in
12477:   *\;*)
12478:     # if the path contains ";" then we assume it to be the separator
12479:     # otherwise default to the standard path separator (i.e. ":") - it is
12480:     # assumed that no part of a normal pathname contains ";" but that should
12481:     # okay in the real world where ";" in dirpaths is itself problematic.
12482:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12483:     ;;
12484:   *)
12485:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12486:     ;;
12487:   esac
12488:   # Ok, now we have the path, separated by spaces, we can step through it
12489:   # and add multilib dir if necessary...
12490:   lt_tmp_lt_search_path_spec=
12491:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12492:   # ...but if some path component already ends with the multilib dir we assume
12493:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12494:   case "$lt_multi_os_dir; $lt_search_path_spec " in
12495:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12496:     lt_multi_os_dir=
12497:     ;;
12498:   esac
12499:   for lt_sys_path in $lt_search_path_spec; do
12500:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
12501:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12502:     elif test -n "$lt_multi_os_dir"; then
12503:       test -d "$lt_sys_path" && \
12504: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12505:     fi
12506:   done
12507:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12508: BEGIN {RS = " "; FS = "/|\n";} {
12509:   lt_foo = "";
12510:   lt_count = 0;
12511:   for (lt_i = NF; lt_i > 0; lt_i--) {
12512:     if ($lt_i != "" && $lt_i != ".") {
12513:       if ($lt_i == "..") {
12514:         lt_count++;
12515:       } else {
12516:         if (lt_count == 0) {
12517:           lt_foo = "/" $lt_i lt_foo;
12518:         } else {
12519:           lt_count--;
12520:         }
12521:       }
12522:     }
12523:   }
12524:   if (lt_foo != "") { lt_freq[lt_foo]++; }
12525:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12526: }'`
12527:   # AWK program above erroneously prepends '/' to C:/dos/paths
12528:   # for these hosts.
12529:   case $host_os in
12530:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12531:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12532:   esac
12533:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12534: else
12535:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12536: fi
12537: library_names_spec=
12538: libname_spec='lib$name'
12539: soname_spec=
12540: shrext_cmds=.so
12541: postinstall_cmds=
12542: postuninstall_cmds=
12543: finish_cmds=
12544: finish_eval=
12545: shlibpath_var=
12546: shlibpath_overrides_runpath=unknown
12547: version_type=none
12548: dynamic_linker="$host_os ld.so"
12549: sys_lib_dlsearch_path_spec="/lib /usr/lib"
12550: need_lib_prefix=unknown
12551: hardcode_into_libs=no
12552: 
12553: # when you set need_version to no, make sure it does not cause -set_version
12554: # flags to be left without arguments
12555: need_version=unknown
12556: 
12557: 
12558: 
12559: case $host_os in
12560: aix3*)
12561:   version_type=linux # correct to gnu/linux during the next big refactor
12562:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12563:   shlibpath_var=LIBPATH
12564: 
12565:   # AIX 3 has no versioning support, so we append a major version to the name.
12566:   soname_spec='$libname$release$shared_ext$major'
12567:   ;;
12568: 
12569: aix[4-9]*)
12570:   version_type=linux # correct to gnu/linux during the next big refactor
12571:   need_lib_prefix=no
12572:   need_version=no
12573:   hardcode_into_libs=yes
12574:   if test ia64 = "$host_cpu"; then
12575:     # AIX 5 supports IA64
12576:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12577:     shlibpath_var=LD_LIBRARY_PATH
12578:   else
12579:     # With GCC up to 2.95.x, collect2 would create an import file
12580:     # for dependence libraries.  The import file would start with
12581:     # the line '#! .'.  This would cause the generated library to
12582:     # depend on '.', always an invalid library.  This was fixed in
12583:     # development snapshots of GCC prior to 3.0.
12584:     case $host_os in
12585:       aix4 | aix4.[01] | aix4.[01].*)
12586:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12587: 	   echo ' yes '
12588: 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12589: 	:
12590:       else
12591: 	can_build_shared=no
12592:       fi
12593:       ;;
12594:     esac
12595:     # Using Import Files as archive members, it is possible to support
12596:     # filename-based versioning of shared library archives on AIX. While
12597:     # this would work for both with and without runtime linking, it will
12598:     # prevent static linking of such archives. So we do filename-based
12599:     # shared library versioning with .so extension only, which is used
12600:     # when both runtime linking and shared linking is enabled.
12601:     # Unfortunately, runtime linking may impact performance, so we do
12602:     # not want this to be the default eventually. Also, we use the
12603:     # versioned .so libs for executables only if there is the -brtl
12604:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12605:     # To allow for filename-based versioning support, we need to create
12606:     # libNAME.so.V as an archive file, containing:
12607:     # *) an Import File, referring to the versioned filename of the
12608:     #    archive as well as the shared archive member, telling the
12609:     #    bitwidth (32 or 64) of that shared object, and providing the
12610:     #    list of exported symbols of that shared object, eventually
12611:     #    decorated with the 'weak' keyword
12612:     # *) the shared object with the F_LOADONLY flag set, to really avoid
12613:     #    it being seen by the linker.
12614:     # At run time we better use the real file rather than another symlink,
12615:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
12616: 
12617:     case $with_aix_soname,$aix_use_runtimelinking in
12618:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12619:     # soname into executable. Probably we can add versioning support to
12620:     # collect2, so additional links can be useful in future.
12621:     aix,yes) # traditional libtool
12622:       dynamic_linker='AIX unversionable lib.so'
12623:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12624:       # instead of lib<name>.a to let people know that these are not
12625:       # typical AIX shared libraries.
12626:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12627:       ;;
12628:     aix,no) # traditional AIX only
12629:       dynamic_linker='AIX lib.a(lib.so.V)'
12630:       # We preserve .a as extension for shared libraries through AIX4.2
12631:       # and later when we are not doing run time linking.
12632:       library_names_spec='$libname$release.a $libname.a'
12633:       soname_spec='$libname$release$shared_ext$major'
12634:       ;;
12635:     svr4,*) # full svr4 only
12636:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12637:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12638:       # We do not specify a path in Import Files, so LIBPATH fires.
12639:       shlibpath_overrides_runpath=yes
12640:       ;;
12641:     *,yes) # both, prefer svr4
12642:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12643:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12644:       # unpreferred sharedlib libNAME.a needs extra handling
12645:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12646:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12647:       # We do not specify a path in Import Files, so LIBPATH fires.
12648:       shlibpath_overrides_runpath=yes
12649:       ;;
12650:     *,no) # both, prefer aix
12651:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12652:       library_names_spec='$libname$release.a $libname.a'
12653:       soname_spec='$libname$release$shared_ext$major'
12654:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12655:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12656:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12657:       ;;
12658:     esac
12659:     shlibpath_var=LIBPATH
12660:   fi
12661:   ;;
12662: 
12663: amigaos*)
12664:   case $host_cpu in
12665:   powerpc)
12666:     # Since July 2007 AmigaOS4 officially supports .so libraries.
12667:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12668:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12669:     ;;
12670:   m68k)
12671:     library_names_spec='$libname.ixlibrary $libname.a'
12672:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12673:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12674:     ;;
12675:   esac
12676:   ;;
12677: 
12678: beos*)
12679:   library_names_spec='$libname$shared_ext'
12680:   dynamic_linker="$host_os ld.so"
12681:   shlibpath_var=LIBRARY_PATH
12682:   ;;
12683: 
12684: bsdi[45]*)
12685:   version_type=linux # correct to gnu/linux during the next big refactor
12686:   need_version=no
12687:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12688:   soname_spec='$libname$release$shared_ext$major'
12689:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12690:   shlibpath_var=LD_LIBRARY_PATH
12691:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12692:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12693:   # the default ld.so.conf also contains /usr/contrib/lib and
12694:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12695:   # libtool to hard-code these into programs
12696:   ;;
12697: 
12698: cygwin* | mingw* | pw32* | cegcc*)
12699:   version_type=windows
12700:   shrext_cmds=.dll
12701:   need_version=no
12702:   need_lib_prefix=no
12703: 
12704:   case $GCC,$cc_basename in
12705:   yes,*)
12706:     # gcc
12707:     library_names_spec='$libname.dll.a'
12708:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12709:     postinstall_cmds='base_file=`basename \$file`~
12710:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12711:       dldir=$destdir/`dirname \$dlpath`~
12712:       test -d \$dldir || mkdir -p \$dldir~
12713:       $install_prog $dir/$dlname \$dldir/$dlname~
12714:       chmod a+x \$dldir/$dlname~
12715:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12716:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12717:       fi'
12718:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12719:       dlpath=$dir/\$dldll~
12720:        $RM \$dlpath'
12721:     shlibpath_overrides_runpath=yes
12722: 
12723:     case $host_os in
12724:     cygwin*)
12725:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12726:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12727: 
12728:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12729:       ;;
12730:     mingw* | cegcc*)
12731:       # MinGW DLLs use traditional 'lib' prefix
12732:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12733:       ;;
12734:     pw32*)
12735:       # pw32 DLLs use 'pw' prefix rather than 'lib'
12736:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12737:       ;;
12738:     esac
12739:     dynamic_linker='Win32 ld.exe'
12740:     ;;
12741: 
12742:   *,cl*)
12743:     # Native MSVC
12744:     libname_spec='$name'
12745:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12746:     library_names_spec='$libname.dll.lib'
12747: 
12748:     case $build_os in
12749:     mingw*)
12750:       sys_lib_search_path_spec=
12751:       lt_save_ifs=$IFS
12752:       IFS=';'
12753:       for lt_path in $LIB
12754:       do
12755:         IFS=$lt_save_ifs
12756:         # Let DOS variable expansion print the short 8.3 style file name.
12757:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12758:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12759:       done
12760:       IFS=$lt_save_ifs
12761:       # Convert to MSYS style.
12762:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12763:       ;;
12764:     cygwin*)
12765:       # Convert to unix form, then to dos form, then back to unix form
12766:       # but this time dos style (no spaces!) so that the unix form looks
12767:       # like /cygdrive/c/PROGRA~1:/cygdr...
12768:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12769:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12770:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12771:       ;;
12772:     *)
12773:       sys_lib_search_path_spec=$LIB
12774:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12775:         # It is most probably a Windows format PATH.
12776:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12777:       else
12778:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12779:       fi
12780:       # FIXME: find the short name or the path components, as spaces are
12781:       # common. (e.g. "Program Files" -> "PROGRA~1")
12782:       ;;
12783:     esac
12784: 
12785:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12786:     postinstall_cmds='base_file=`basename \$file`~
12787:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12788:       dldir=$destdir/`dirname \$dlpath`~
12789:       test -d \$dldir || mkdir -p \$dldir~
12790:       $install_prog $dir/$dlname \$dldir/$dlname'
12791:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12792:       dlpath=$dir/\$dldll~
12793:        $RM \$dlpath'
12794:     shlibpath_overrides_runpath=yes
12795:     dynamic_linker='Win32 link.exe'
12796:     ;;
12797: 
12798:   *)
12799:     # Assume MSVC wrapper
12800:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12801:     dynamic_linker='Win32 ld.exe'
12802:     ;;
12803:   esac
12804:   # FIXME: first we should search . and the directory the executable is in
12805:   shlibpath_var=PATH
12806:   ;;
12807: 
12808: darwin* | rhapsody*)
12809:   dynamic_linker="$host_os dyld"
12810:   version_type=darwin
12811:   need_lib_prefix=no
12812:   need_version=no
12813:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12814:   soname_spec='$libname$release$major$shared_ext'
12815:   shlibpath_overrides_runpath=yes
12816:   shlibpath_var=DYLD_LIBRARY_PATH
12817:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12818: 
12819:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12820:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12821:   ;;
12822: 
12823: dgux*)
12824:   version_type=linux # correct to gnu/linux during the next big refactor
12825:   need_lib_prefix=no
12826:   need_version=no
12827:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12828:   soname_spec='$libname$release$shared_ext$major'
12829:   shlibpath_var=LD_LIBRARY_PATH
12830:   ;;
12831: 
12832: freebsd* | dragonfly*)
12833:   # DragonFly does not have aout.  When/if they implement a new
12834:   # versioning mechanism, adjust this.
12835:   if test -x /usr/bin/objformat; then
12836:     objformat=`/usr/bin/objformat`
12837:   else
12838:     case $host_os in
12839:     freebsd[23].*) objformat=aout ;;
12840:     *) objformat=elf ;;
12841:     esac
12842:   fi
12843:   version_type=freebsd-$objformat
12844:   case $version_type in
12845:     freebsd-elf*)
12846:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12847:       soname_spec='$libname$release$shared_ext$major'
12848:       need_version=no
12849:       need_lib_prefix=no
12850:       ;;
12851:     freebsd-*)
12852:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12853:       need_version=yes
12854:       ;;
12855:   esac
12856:   shlibpath_var=LD_LIBRARY_PATH
12857:   case $host_os in
12858:   freebsd2.*)
12859:     shlibpath_overrides_runpath=yes
12860:     ;;
12861:   freebsd3.[01]* | freebsdelf3.[01]*)
12862:     shlibpath_overrides_runpath=yes
12863:     hardcode_into_libs=yes
12864:     ;;
12865:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12866:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12867:     shlibpath_overrides_runpath=no
12868:     hardcode_into_libs=yes
12869:     ;;
12870:   *) # from 4.6 on, and DragonFly
12871:     shlibpath_overrides_runpath=yes
12872:     hardcode_into_libs=yes
12873:     ;;
12874:   esac
12875:   ;;
12876: 
12877: haiku*)
12878:   version_type=linux # correct to gnu/linux during the next big refactor
12879:   need_lib_prefix=no
12880:   need_version=no
12881:   dynamic_linker="$host_os runtime_loader"
12882:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12883:   soname_spec='$libname$release$shared_ext$major'
12884:   shlibpath_var=LIBRARY_PATH
12885:   shlibpath_overrides_runpath=no
12886:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12887:   hardcode_into_libs=yes
12888:   ;;
12889: 
12890: hpux9* | hpux10* | hpux11*)
12891:   # Give a soname corresponding to the major version so that dld.sl refuses to
12892:   # link against other versions.
12893:   version_type=sunos
12894:   need_lib_prefix=no
12895:   need_version=no
12896:   case $host_cpu in
12897:   ia64*)
12898:     shrext_cmds='.so'
12899:     hardcode_into_libs=yes
12900:     dynamic_linker="$host_os dld.so"
12901:     shlibpath_var=LD_LIBRARY_PATH
12902:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12903:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12904:     soname_spec='$libname$release$shared_ext$major'
12905:     if test 32 = "$HPUX_IA64_MODE"; then
12906:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12907:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12908:     else
12909:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12910:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12911:     fi
12912:     ;;
12913:   hppa*64*)
12914:     shrext_cmds='.sl'
12915:     hardcode_into_libs=yes
12916:     dynamic_linker="$host_os dld.sl"
12917:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12918:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12919:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12920:     soname_spec='$libname$release$shared_ext$major'
12921:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12922:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12923:     ;;
12924:   *)
12925:     shrext_cmds='.sl'
12926:     dynamic_linker="$host_os dld.sl"
12927:     shlibpath_var=SHLIB_PATH
12928:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12929:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12930:     soname_spec='$libname$release$shared_ext$major'
12931:     ;;
12932:   esac
12933:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12934:   postinstall_cmds='chmod 555 $lib'
12935:   # or fails outright, so override atomically:
12936:   install_override_mode=555
12937:   ;;
12938: 
12939: interix[3-9]*)
12940:   version_type=linux # correct to gnu/linux during the next big refactor
12941:   need_lib_prefix=no
12942:   need_version=no
12943:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12944:   soname_spec='$libname$release$shared_ext$major'
12945:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12946:   shlibpath_var=LD_LIBRARY_PATH
12947:   shlibpath_overrides_runpath=no
12948:   hardcode_into_libs=yes
12949:   ;;
12950: 
12951: irix5* | irix6* | nonstopux*)
12952:   case $host_os in
12953:     nonstopux*) version_type=nonstopux ;;
12954:     *)
12955: 	if test yes = "$lt_cv_prog_gnu_ld"; then
12956: 		version_type=linux # correct to gnu/linux during the next big refactor
12957: 	else
12958: 		version_type=irix
12959: 	fi ;;
12960:   esac
12961:   need_lib_prefix=no
12962:   need_version=no
12963:   soname_spec='$libname$release$shared_ext$major'
12964:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12965:   case $host_os in
12966:   irix5* | nonstopux*)
12967:     libsuff= shlibsuff=
12968:     ;;
12969:   *)
12970:     case $LD in # libtool.m4 will add one of these switches to LD
12971:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12972:       libsuff= shlibsuff= libmagic=32-bit;;
12973:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12974:       libsuff=32 shlibsuff=N32 libmagic=N32;;
12975:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12976:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12977:     *) libsuff= shlibsuff= libmagic=never-match;;
12978:     esac
12979:     ;;
12980:   esac
12981:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12982:   shlibpath_overrides_runpath=no
12983:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12984:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12985:   hardcode_into_libs=yes
12986:   ;;
12987: 
12988: # No shared lib support for Linux oldld, aout, or coff.
12989: linux*oldld* | linux*aout* | linux*coff*)
12990:   dynamic_linker=no
12991:   ;;
12992: 
12993: linux*android*)
12994:   version_type=none # Android doesn't support versioned libraries.
12995:   need_lib_prefix=no
12996:   need_version=no
12997:   library_names_spec='$libname$release$shared_ext'
12998:   soname_spec='$libname$release$shared_ext'
12999:   finish_cmds=
13000:   shlibpath_var=LD_LIBRARY_PATH
13001:   shlibpath_overrides_runpath=yes
13002: 
13003:   # This implies no fast_install, which is unacceptable.
13004:   # Some rework will be needed to allow for fast_install
13005:   # before this can be enabled.
13006:   hardcode_into_libs=yes
13007: 
13008:   dynamic_linker='Android linker'
13009:   # Don't embed -rpath directories since the linker doesn't support them.
13010:   hardcode_libdir_flag_spec='-L$libdir'
13011:   ;;
13012: 
13013: # This must be glibc/ELF.
13014: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13015:   version_type=linux # correct to gnu/linux during the next big refactor
13016:   need_lib_prefix=no
13017:   need_version=no
13018:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13019:   soname_spec='$libname$release$shared_ext$major'
13020:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13021:   shlibpath_var=LD_LIBRARY_PATH
13022:   shlibpath_overrides_runpath=no
13023: 
13024:   # Some binutils ld are patched to set DT_RUNPATH
13025:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13026:   $as_echo_n "(cached) " >&6
13027: else
13028:   lt_cv_shlibpath_overrides_runpath=no
13029:     save_LDFLAGS=$LDFLAGS
13030:     save_libdir=$libdir
13031:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13032: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13033:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034: /* end confdefs.h.  */
13035: 
13036: int
13037: main ()
13038: {
13039: 
13040:   ;
13041:   return 0;
13042: }
13043: _ACEOF
13044: if ac_fn_c_try_link "$LINENO"; then :
13045:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13046:   lt_cv_shlibpath_overrides_runpath=yes
13047: fi
13048: fi
13049: rm -f core conftest.err conftest.$ac_objext \
13050:     conftest$ac_exeext conftest.$ac_ext
13051:     LDFLAGS=$save_LDFLAGS
13052:     libdir=$save_libdir
13053: 
13054: fi
13055: 
13056:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13057: 
13058:   # This implies no fast_install, which is unacceptable.
13059:   # Some rework will be needed to allow for fast_install
13060:   # before this can be enabled.
13061:   hardcode_into_libs=yes
13062: 
13063:   # Ideally, we could use ldconfig to report *all* directores which are
13064:   # searched for libraries, however this is still not possible.  Aside from not
13065:   # being certain /sbin/ldconfig is available, command
13066:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13067:   # even though it is searched at run-time.  Try to do the best guess by
13068:   # appending ld.so.conf contents (and includes) to the search path.
13069:   if test -f /etc/ld.so.conf; then
13070:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13071:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13072:   fi
13073: 
13074:   # We used to test for /lib/ld.so.1 and disable shared libraries on
13075:   # powerpc, because MkLinux only supported shared libraries with the
13076:   # GNU dynamic linker.  Since this was broken with cross compilers,
13077:   # most powerpc-linux boxes support dynamic linking these days and
13078:   # people can always --disable-shared, the test was removed, and we
13079:   # assume the GNU/Linux dynamic linker is in use.
13080:   dynamic_linker='GNU/Linux ld.so'
13081:   ;;
13082: 
13083: netbsd*)
13084:   version_type=sunos
13085:   need_lib_prefix=no
13086:   need_version=no
13087:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13088:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13089:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13090:     dynamic_linker='NetBSD (a.out) ld.so'
13091:   else
13092:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13093:     soname_spec='$libname$release$shared_ext$major'
13094:     dynamic_linker='NetBSD ld.elf_so'
13095:   fi
13096:   shlibpath_var=LD_LIBRARY_PATH
13097:   shlibpath_overrides_runpath=yes
13098:   hardcode_into_libs=yes
13099:   ;;
13100: 
13101: newsos6)
13102:   version_type=linux # correct to gnu/linux during the next big refactor
13103:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13104:   shlibpath_var=LD_LIBRARY_PATH
13105:   shlibpath_overrides_runpath=yes
13106:   ;;
13107: 
13108: *nto* | *qnx*)
13109:   version_type=qnx
13110:   need_lib_prefix=no
13111:   need_version=no
13112:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13113:   soname_spec='$libname$release$shared_ext$major'
13114:   shlibpath_var=LD_LIBRARY_PATH
13115:   shlibpath_overrides_runpath=no
13116:   hardcode_into_libs=yes
13117:   dynamic_linker='ldqnx.so'
13118:   ;;
13119: 
13120: openbsd* | bitrig*)
13121:   version_type=sunos
13122:   sys_lib_dlsearch_path_spec=/usr/lib
13123:   need_lib_prefix=no
13124:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13125:     need_version=no
13126:   else
13127:     need_version=yes
13128:   fi
13129:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13130:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13131:   shlibpath_var=LD_LIBRARY_PATH
13132:   shlibpath_overrides_runpath=yes
13133:   ;;
13134: 
13135: os2*)
13136:   libname_spec='$name'
13137:   version_type=windows
13138:   shrext_cmds=.dll
13139:   need_version=no
13140:   need_lib_prefix=no
13141:   # OS/2 can only load a DLL with a base name of 8 characters or less.
13142:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13143:     v=$($ECHO $release$versuffix | tr -d .-);
13144:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13145:     $ECHO $n$v`$shared_ext'
13146:   library_names_spec='${libname}_dll.$libext'
13147:   dynamic_linker='OS/2 ld.exe'
13148:   shlibpath_var=BEGINLIBPATH
13149:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13150:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13151:   postinstall_cmds='base_file=`basename \$file`~
13152:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13153:     dldir=$destdir/`dirname \$dlpath`~
13154:     test -d \$dldir || mkdir -p \$dldir~
13155:     $install_prog $dir/$dlname \$dldir/$dlname~
13156:     chmod a+x \$dldir/$dlname~
13157:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13158:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13159:     fi'
13160:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13161:     dlpath=$dir/\$dldll~
13162:     $RM \$dlpath'
13163:   ;;
13164: 
13165: osf3* | osf4* | osf5*)
13166:   version_type=osf
13167:   need_lib_prefix=no
13168:   need_version=no
13169:   soname_spec='$libname$release$shared_ext$major'
13170:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13171:   shlibpath_var=LD_LIBRARY_PATH
13172:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13173:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13174:   ;;
13175: 
13176: rdos*)
13177:   dynamic_linker=no
13178:   ;;
13179: 
13180: solaris*)
13181:   version_type=linux # correct to gnu/linux during the next big refactor
13182:   need_lib_prefix=no
13183:   need_version=no
13184:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13185:   soname_spec='$libname$release$shared_ext$major'
13186:   shlibpath_var=LD_LIBRARY_PATH
13187:   shlibpath_overrides_runpath=yes
13188:   hardcode_into_libs=yes
13189:   # ldd complains unless libraries are executable
13190:   postinstall_cmds='chmod +x $lib'
13191:   ;;
13192: 
13193: sunos4*)
13194:   version_type=sunos
13195:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13196:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13197:   shlibpath_var=LD_LIBRARY_PATH
13198:   shlibpath_overrides_runpath=yes
13199:   if test yes = "$with_gnu_ld"; then
13200:     need_lib_prefix=no
13201:   fi
13202:   need_version=yes
13203:   ;;
13204: 
13205: sysv4 | sysv4.3*)
13206:   version_type=linux # correct to gnu/linux during the next big refactor
13207:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13208:   soname_spec='$libname$release$shared_ext$major'
13209:   shlibpath_var=LD_LIBRARY_PATH
13210:   case $host_vendor in
13211:     sni)
13212:       shlibpath_overrides_runpath=no
13213:       need_lib_prefix=no
13214:       runpath_var=LD_RUN_PATH
13215:       ;;
13216:     siemens)
13217:       need_lib_prefix=no
13218:       ;;
13219:     motorola)
13220:       need_lib_prefix=no
13221:       need_version=no
13222:       shlibpath_overrides_runpath=no
13223:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13224:       ;;
13225:   esac
13226:   ;;
13227: 
13228: sysv4*MP*)
13229:   if test -d /usr/nec; then
13230:     version_type=linux # correct to gnu/linux during the next big refactor
13231:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13232:     soname_spec='$libname$shared_ext.$major'
13233:     shlibpath_var=LD_LIBRARY_PATH
13234:   fi
13235:   ;;
13236: 
13237: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13238:   version_type=sco
13239:   need_lib_prefix=no
13240:   need_version=no
13241:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13242:   soname_spec='$libname$release$shared_ext$major'
13243:   shlibpath_var=LD_LIBRARY_PATH
13244:   shlibpath_overrides_runpath=yes
13245:   hardcode_into_libs=yes
13246:   if test yes = "$with_gnu_ld"; then
13247:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13248:   else
13249:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13250:     case $host_os in
13251:       sco3.2v5*)
13252:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13253: 	;;
13254:     esac
13255:   fi
13256:   sys_lib_dlsearch_path_spec='/usr/lib'
13257:   ;;
13258: 
13259: tpf*)
13260:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13261:   version_type=linux # correct to gnu/linux during the next big refactor
13262:   need_lib_prefix=no
13263:   need_version=no
13264:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13265:   shlibpath_var=LD_LIBRARY_PATH
13266:   shlibpath_overrides_runpath=no
13267:   hardcode_into_libs=yes
13268:   ;;
13269: 
13270: uts4*)
13271:   version_type=linux # correct to gnu/linux during the next big refactor
13272:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13273:   soname_spec='$libname$release$shared_ext$major'
13274:   shlibpath_var=LD_LIBRARY_PATH
13275:   ;;
13276: 
13277: *)
13278:   dynamic_linker=no
13279:   ;;
13280: esac
13281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13282: $as_echo "$dynamic_linker" >&6; }
13283: test no = "$dynamic_linker" && can_build_shared=no
13284: 
13285: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13286: if test yes = "$GCC"; then
13287:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13288: fi
13289: 
13290: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13291:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13292: fi
13293: 
13294: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13295:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13296: fi
13297: 
13298: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13299: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13300: 
13301: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13302: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13303: 
13304: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13305: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13306: 
13307: 
13308: 
13309: 
13310: 
13311: 
13312: 
13313: 
13314: 
13315: 
13316: 
13317: 
13318: 
13319: 
13320: 
13321: 
13322: 
13323: 
13324: 
13325: 
13326: 
13327: 
13328: 
13329: 
13330: 
13331: 
13332: 
13333: 
13334: 
13335: 
13336: 
13337: 
13338: 
13339: 
13340: 
13341: 
13342: 
13343: 
13344: 
13345: 
13346: 
13347: 
13348: 
13349: 
13350: 
13351: 
13352: 
13353: 
13354: 
13355: 
13356: 
13357: 
13358: 
13359: 
13360: 
13361: 
13362: 
13363: 
13364: 
13365: 
13366: 
13367: 
13368: 
13369: 
13370: 
13371: 
13372: 
13373: 
13374: 
13375: 
13376: 
13377: 
13378: 
13379: 
13380: 
13381: 
13382: 
13383: 
13384: 
13385: 
13386: 
13387: 
13388: 
13389: 
13390: 
13391: 
13392: 
13393: 
13394: 
13395: 
13396: 
13397: 
13398: 
13399: 
13400: 
13401: 
13402: 
13403:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13404: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13405: hardcode_action=
13406: if test -n "$hardcode_libdir_flag_spec" ||
13407:    test -n "$runpath_var" ||
13408:    test yes = "$hardcode_automatic"; then
13409: 
13410:   # We can hardcode non-existent directories.
13411:   if test no != "$hardcode_direct" &&
13412:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13413:      # have to relink, otherwise we might link with an installed library
13414:      # when we should be linking with a yet-to-be-installed one
13415:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13416:      test no != "$hardcode_minus_L"; then
13417:     # Linking always hardcodes the temporary library directory.
13418:     hardcode_action=relink
13419:   else
13420:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13421:     hardcode_action=immediate
13422:   fi
13423: else
13424:   # We cannot hardcode anything, or else we can only hardcode existing
13425:   # directories.
13426:   hardcode_action=unsupported
13427: fi
13428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13429: $as_echo "$hardcode_action" >&6; }
13430: 
13431: if test relink = "$hardcode_action" ||
13432:    test yes = "$inherit_rpath"; then
13433:   # Fast installation is not supported
13434:   enable_fast_install=no
13435: elif test yes = "$shlibpath_overrides_runpath" ||
13436:      test no = "$enable_shared"; then
13437:   # Fast installation is not necessary
13438:   enable_fast_install=needless
13439: fi
13440: 
13441: 
13442: 
13443: 
13444: 
13445: 
13446:   if test yes != "$enable_dlopen"; then
13447:   enable_dlopen=unknown
13448:   enable_dlopen_self=unknown
13449:   enable_dlopen_self_static=unknown
13450: else
13451:   lt_cv_dlopen=no
13452:   lt_cv_dlopen_libs=
13453: 
13454:   case $host_os in
13455:   beos*)
13456:     lt_cv_dlopen=load_add_on
13457:     lt_cv_dlopen_libs=
13458:     lt_cv_dlopen_self=yes
13459:     ;;
13460: 
13461:   mingw* | pw32* | cegcc*)
13462:     lt_cv_dlopen=LoadLibrary
13463:     lt_cv_dlopen_libs=
13464:     ;;
13465: 
13466:   cygwin*)
13467:     lt_cv_dlopen=dlopen
13468:     lt_cv_dlopen_libs=
13469:     ;;
13470: 
13471:   darwin*)
13472:     # if libdl is installed we need to link against it
13473:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13474: $as_echo_n "checking for dlopen in -ldl... " >&6; }
13475: if ${ac_cv_lib_dl_dlopen+:} false; then :
13476:   $as_echo_n "(cached) " >&6
13477: else
13478:   ac_check_lib_save_LIBS=$LIBS
13479: LIBS="-ldl  $LIBS"
13480: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481: /* end confdefs.h.  */
13482: 
13483: /* Override any GCC internal prototype to avoid an error.
13484:    Use char because int might match the return type of a GCC
13485:    builtin and then its argument prototype would still apply.  */
13486: #ifdef __cplusplus
13487: extern "C"
13488: #endif
13489: char dlopen ();
13490: int
13491: main ()
13492: {
13493: return dlopen ();
13494:   ;
13495:   return 0;
13496: }
13497: _ACEOF
13498: if ac_fn_c_try_link "$LINENO"; then :
13499:   ac_cv_lib_dl_dlopen=yes
13500: else
13501:   ac_cv_lib_dl_dlopen=no
13502: fi
13503: rm -f core conftest.err conftest.$ac_objext \
13504:     conftest$ac_exeext conftest.$ac_ext
13505: LIBS=$ac_check_lib_save_LIBS
13506: fi
13507: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13508: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13509: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13510:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13511: else
13512: 
13513:     lt_cv_dlopen=dyld
13514:     lt_cv_dlopen_libs=
13515:     lt_cv_dlopen_self=yes
13516: 
13517: fi
13518: 
13519:     ;;
13520: 
13521:   tpf*)
13522:     # Don't try to run any link tests for TPF.  We know it's impossible
13523:     # because TPF is a cross-compiler, and we know how we open DSOs.
13524:     lt_cv_dlopen=dlopen
13525:     lt_cv_dlopen_libs=
13526:     lt_cv_dlopen_self=no
13527:     ;;
13528: 
13529:   *)
13530:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13531: if test "x$ac_cv_func_shl_load" = xyes; then :
13532:   lt_cv_dlopen=shl_load
13533: else
13534:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13535: $as_echo_n "checking for shl_load in -ldld... " >&6; }
13536: if ${ac_cv_lib_dld_shl_load+:} false; then :
13537:   $as_echo_n "(cached) " >&6
13538: else
13539:   ac_check_lib_save_LIBS=$LIBS
13540: LIBS="-ldld  $LIBS"
13541: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542: /* end confdefs.h.  */
13543: 
13544: /* Override any GCC internal prototype to avoid an error.
13545:    Use char because int might match the return type of a GCC
13546:    builtin and then its argument prototype would still apply.  */
13547: #ifdef __cplusplus
13548: extern "C"
13549: #endif
13550: char shl_load ();
13551: int
13552: main ()
13553: {
13554: return shl_load ();
13555:   ;
13556:   return 0;
13557: }
13558: _ACEOF
13559: if ac_fn_c_try_link "$LINENO"; then :
13560:   ac_cv_lib_dld_shl_load=yes
13561: else
13562:   ac_cv_lib_dld_shl_load=no
13563: fi
13564: rm -f core conftest.err conftest.$ac_objext \
13565:     conftest$ac_exeext conftest.$ac_ext
13566: LIBS=$ac_check_lib_save_LIBS
13567: fi
13568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13569: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13570: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13571:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13572: else
13573:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13574: if test "x$ac_cv_func_dlopen" = xyes; then :
13575:   lt_cv_dlopen=dlopen
13576: else
13577:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13578: $as_echo_n "checking for dlopen in -ldl... " >&6; }
13579: if ${ac_cv_lib_dl_dlopen+:} false; then :
13580:   $as_echo_n "(cached) " >&6
13581: else
13582:   ac_check_lib_save_LIBS=$LIBS
13583: LIBS="-ldl  $LIBS"
13584: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585: /* end confdefs.h.  */
13586: 
13587: /* Override any GCC internal prototype to avoid an error.
13588:    Use char because int might match the return type of a GCC
13589:    builtin and then its argument prototype would still apply.  */
13590: #ifdef __cplusplus
13591: extern "C"
13592: #endif
13593: char dlopen ();
13594: int
13595: main ()
13596: {
13597: return dlopen ();
13598:   ;
13599:   return 0;
13600: }
13601: _ACEOF
13602: if ac_fn_c_try_link "$LINENO"; then :
13603:   ac_cv_lib_dl_dlopen=yes
13604: else
13605:   ac_cv_lib_dl_dlopen=no
13606: fi
13607: rm -f core conftest.err conftest.$ac_objext \
13608:     conftest$ac_exeext conftest.$ac_ext
13609: LIBS=$ac_check_lib_save_LIBS
13610: fi
13611: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13612: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13613: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13614:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13615: else
13616:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13617: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13618: if ${ac_cv_lib_svld_dlopen+:} false; then :
13619:   $as_echo_n "(cached) " >&6
13620: else
13621:   ac_check_lib_save_LIBS=$LIBS
13622: LIBS="-lsvld  $LIBS"
13623: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624: /* end confdefs.h.  */
13625: 
13626: /* Override any GCC internal prototype to avoid an error.
13627:    Use char because int might match the return type of a GCC
13628:    builtin and then its argument prototype would still apply.  */
13629: #ifdef __cplusplus
13630: extern "C"
13631: #endif
13632: char dlopen ();
13633: int
13634: main ()
13635: {
13636: return dlopen ();
13637:   ;
13638:   return 0;
13639: }
13640: _ACEOF
13641: if ac_fn_c_try_link "$LINENO"; then :
13642:   ac_cv_lib_svld_dlopen=yes
13643: else
13644:   ac_cv_lib_svld_dlopen=no
13645: fi
13646: rm -f core conftest.err conftest.$ac_objext \
13647:     conftest$ac_exeext conftest.$ac_ext
13648: LIBS=$ac_check_lib_save_LIBS
13649: fi
13650: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13651: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13652: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13653:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13654: else
13655:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13656: $as_echo_n "checking for dld_link in -ldld... " >&6; }
13657: if ${ac_cv_lib_dld_dld_link+:} false; then :
13658:   $as_echo_n "(cached) " >&6
13659: else
13660:   ac_check_lib_save_LIBS=$LIBS
13661: LIBS="-ldld  $LIBS"
13662: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13663: /* end confdefs.h.  */
13664: 
13665: /* Override any GCC internal prototype to avoid an error.
13666:    Use char because int might match the return type of a GCC
13667:    builtin and then its argument prototype would still apply.  */
13668: #ifdef __cplusplus
13669: extern "C"
13670: #endif
13671: char dld_link ();
13672: int
13673: main ()
13674: {
13675: return dld_link ();
13676:   ;
13677:   return 0;
13678: }
13679: _ACEOF
13680: if ac_fn_c_try_link "$LINENO"; then :
13681:   ac_cv_lib_dld_dld_link=yes
13682: else
13683:   ac_cv_lib_dld_dld_link=no
13684: fi
13685: rm -f core conftest.err conftest.$ac_objext \
13686:     conftest$ac_exeext conftest.$ac_ext
13687: LIBS=$ac_check_lib_save_LIBS
13688: fi
13689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13690: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13691: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13692:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13693: fi
13694: 
13695: 
13696: fi
13697: 
13698: 
13699: fi
13700: 
13701: 
13702: fi
13703: 
13704: 
13705: fi
13706: 
13707: 
13708: fi
13709: 
13710:     ;;
13711:   esac
13712: 
13713:   if test no = "$lt_cv_dlopen"; then
13714:     enable_dlopen=no
13715:   else
13716:     enable_dlopen=yes
13717:   fi
13718: 
13719:   case $lt_cv_dlopen in
13720:   dlopen)
13721:     save_CPPFLAGS=$CPPFLAGS
13722:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13723: 
13724:     save_LDFLAGS=$LDFLAGS
13725:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13726: 
13727:     save_LIBS=$LIBS
13728:     LIBS="$lt_cv_dlopen_libs $LIBS"
13729: 
13730:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13731: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13732: if ${lt_cv_dlopen_self+:} false; then :
13733:   $as_echo_n "(cached) " >&6
13734: else
13735:   	  if test yes = "$cross_compiling"; then :
13736:   lt_cv_dlopen_self=cross
13737: else
13738:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13739:   lt_status=$lt_dlunknown
13740:   cat > conftest.$ac_ext <<_LT_EOF
13741: #line $LINENO "configure"
13742: #include "confdefs.h"
13743: 
13744: #if HAVE_DLFCN_H
13745: #include <dlfcn.h>
13746: #endif
13747: 
13748: #include <stdio.h>
13749: 
13750: #ifdef RTLD_GLOBAL
13751: #  define LT_DLGLOBAL		RTLD_GLOBAL
13752: #else
13753: #  ifdef DL_GLOBAL
13754: #    define LT_DLGLOBAL		DL_GLOBAL
13755: #  else
13756: #    define LT_DLGLOBAL		0
13757: #  endif
13758: #endif
13759: 
13760: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13761:    find out it does not work in some platform. */
13762: #ifndef LT_DLLAZY_OR_NOW
13763: #  ifdef RTLD_LAZY
13764: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13765: #  else
13766: #    ifdef DL_LAZY
13767: #      define LT_DLLAZY_OR_NOW		DL_LAZY
13768: #    else
13769: #      ifdef RTLD_NOW
13770: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
13771: #      else
13772: #        ifdef DL_NOW
13773: #          define LT_DLLAZY_OR_NOW	DL_NOW
13774: #        else
13775: #          define LT_DLLAZY_OR_NOW	0
13776: #        endif
13777: #      endif
13778: #    endif
13779: #  endif
13780: #endif
13781: 
13782: /* When -fvisibility=hidden is used, assume the code has been annotated
13783:    correspondingly for the symbols needed.  */
13784: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13785: int fnord () __attribute__((visibility("default")));
13786: #endif
13787: 
13788: int fnord () { return 42; }
13789: int main ()
13790: {
13791:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13792:   int status = $lt_dlunknown;
13793: 
13794:   if (self)
13795:     {
13796:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13797:       else
13798:         {
13799: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13800:           else puts (dlerror ());
13801: 	}
13802:       /* dlclose (self); */
13803:     }
13804:   else
13805:     puts (dlerror ());
13806: 
13807:   return status;
13808: }
13809: _LT_EOF
13810:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13811:   (eval $ac_link) 2>&5
13812:   ac_status=$?
13813:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13815:     (./conftest; exit; ) >&5 2>/dev/null
13816:     lt_status=$?
13817:     case x$lt_status in
13818:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13819:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13820:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13821:     esac
13822:   else :
13823:     # compilation failed
13824:     lt_cv_dlopen_self=no
13825:   fi
13826: fi
13827: rm -fr conftest*
13828: 
13829: 
13830: fi
13831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13832: $as_echo "$lt_cv_dlopen_self" >&6; }
13833: 
13834:     if test yes = "$lt_cv_dlopen_self"; then
13835:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13836:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13837: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13838: if ${lt_cv_dlopen_self_static+:} false; then :
13839:   $as_echo_n "(cached) " >&6
13840: else
13841:   	  if test yes = "$cross_compiling"; then :
13842:   lt_cv_dlopen_self_static=cross
13843: else
13844:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13845:   lt_status=$lt_dlunknown
13846:   cat > conftest.$ac_ext <<_LT_EOF
13847: #line $LINENO "configure"
13848: #include "confdefs.h"
13849: 
13850: #if HAVE_DLFCN_H
13851: #include <dlfcn.h>
13852: #endif
13853: 
13854: #include <stdio.h>
13855: 
13856: #ifdef RTLD_GLOBAL
13857: #  define LT_DLGLOBAL		RTLD_GLOBAL
13858: #else
13859: #  ifdef DL_GLOBAL
13860: #    define LT_DLGLOBAL		DL_GLOBAL
13861: #  else
13862: #    define LT_DLGLOBAL		0
13863: #  endif
13864: #endif
13865: 
13866: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13867:    find out it does not work in some platform. */
13868: #ifndef LT_DLLAZY_OR_NOW
13869: #  ifdef RTLD_LAZY
13870: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13871: #  else
13872: #    ifdef DL_LAZY
13873: #      define LT_DLLAZY_OR_NOW		DL_LAZY
13874: #    else
13875: #      ifdef RTLD_NOW
13876: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
13877: #      else
13878: #        ifdef DL_NOW
13879: #          define LT_DLLAZY_OR_NOW	DL_NOW
13880: #        else
13881: #          define LT_DLLAZY_OR_NOW	0
13882: #        endif
13883: #      endif
13884: #    endif
13885: #  endif
13886: #endif
13887: 
13888: /* When -fvisibility=hidden is used, assume the code has been annotated
13889:    correspondingly for the symbols needed.  */
13890: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13891: int fnord () __attribute__((visibility("default")));
13892: #endif
13893: 
13894: int fnord () { return 42; }
13895: int main ()
13896: {
13897:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13898:   int status = $lt_dlunknown;
13899: 
13900:   if (self)
13901:     {
13902:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13903:       else
13904:         {
13905: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13906:           else puts (dlerror ());
13907: 	}
13908:       /* dlclose (self); */
13909:     }
13910:   else
13911:     puts (dlerror ());
13912: 
13913:   return status;
13914: }
13915: _LT_EOF
13916:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13917:   (eval $ac_link) 2>&5
13918:   ac_status=$?
13919:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13921:     (./conftest; exit; ) >&5 2>/dev/null
13922:     lt_status=$?
13923:     case x$lt_status in
13924:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13925:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13926:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13927:     esac
13928:   else :
13929:     # compilation failed
13930:     lt_cv_dlopen_self_static=no
13931:   fi
13932: fi
13933: rm -fr conftest*
13934: 
13935: 
13936: fi
13937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13938: $as_echo "$lt_cv_dlopen_self_static" >&6; }
13939:     fi
13940: 
13941:     CPPFLAGS=$save_CPPFLAGS
13942:     LDFLAGS=$save_LDFLAGS
13943:     LIBS=$save_LIBS
13944:     ;;
13945:   esac
13946: 
13947:   case $lt_cv_dlopen_self in
13948:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13949:   *) enable_dlopen_self=unknown ;;
13950:   esac
13951: 
13952:   case $lt_cv_dlopen_self_static in
13953:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13954:   *) enable_dlopen_self_static=unknown ;;
13955:   esac
13956: fi
13957: 
13958: 
13959: 
13960: 
13961: 
13962: 
13963: 
13964: 
13965: 
13966: 
13967: 
13968: 
13969: 
13970: 
13971: 
13972: 
13973: 
13974: striplib=
13975: old_striplib=
13976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13977: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13978: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13979:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13980:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13982: $as_echo "yes" >&6; }
13983: else
13984: # FIXME - insert some real tests, host_os isn't really good enough
13985:   case $host_os in
13986:   darwin*)
13987:     if test -n "$STRIP"; then
13988:       striplib="$STRIP -x"
13989:       old_striplib="$STRIP -S"
13990:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13991: $as_echo "yes" >&6; }
13992:     else
13993:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13994: $as_echo "no" >&6; }
13995:     fi
13996:     ;;
13997:   *)
13998:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13999: $as_echo "no" >&6; }
14000:     ;;
14001:   esac
14002: fi
14003: 
14004: 
14005: 
14006: 
14007: 
14008: 
14009: 
14010: 
14011: 
14012: 
14013: 
14014: 
14015:   # Report what library types will actually be built
14016:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14017: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14018:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14019: $as_echo "$can_build_shared" >&6; }
14020: 
14021:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14022: $as_echo_n "checking whether to build shared libraries... " >&6; }
14023:   test no = "$can_build_shared" && enable_shared=no
14024: 
14025:   # On AIX, shared libraries and static libraries use the same namespace, and
14026:   # are all built from PIC.
14027:   case $host_os in
14028:   aix3*)
14029:     test yes = "$enable_shared" && enable_static=no
14030:     if test -n "$RANLIB"; then
14031:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
14032:       postinstall_cmds='$RANLIB $lib'
14033:     fi
14034:     ;;
14035: 
14036:   aix[4-9]*)
14037:     if test ia64 != "$host_cpu"; then
14038:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14039:       yes,aix,yes) ;;			# shared object as lib.so file only
14040:       yes,svr4,*) ;;			# shared object as lib.so archive member only
14041:       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
14042:       esac
14043:     fi
14044:     ;;
14045:   esac
14046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14047: $as_echo "$enable_shared" >&6; }
14048: 
14049:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14050: $as_echo_n "checking whether to build static libraries... " >&6; }
14051:   # Make sure either enable_shared or enable_static is yes.
14052:   test yes = "$enable_shared" || enable_static=yes
14053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14054: $as_echo "$enable_static" >&6; }
14055: 
14056: 
14057: 
14058: 
14059: fi
14060: ac_ext=c
14061: ac_cpp='$CPP $CPPFLAGS'
14062: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14063: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14064: ac_compiler_gnu=$ac_cv_c_compiler_gnu
14065: 
14066: CC=$lt_save_CC
14067: 
14068: 
14069: 
14070: 
14071: 
14072: 
14073: 
14074: 
14075: 
14076: 
14077: 
14078: 
14079: 
14080: 
14081: 
14082:         ac_config_commands="$ac_config_commands libtool"
14083: 
14084: 
14085: 
14086: 
14087: # Only expand once:
14088: 
14089: 
14090: 
14091: 
14092: # Check whether --with-gnu-ld was given.
14093: if test "${with_gnu_ld+set}" = set; then :
14094:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14095: else
14096:   with_gnu_ld=no
14097: fi
14098: 
14099: # Prepare PATH_SEPARATOR.
14100: # The user is always right.
14101: if test "${PATH_SEPARATOR+set}" != set; then
14102:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14103:   # contains only /bin. Note that ksh looks also at the FPATH variable,
14104:   # so we have to set that as well for the test.
14105:   PATH_SEPARATOR=:
14106:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14107:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
14108:            || PATH_SEPARATOR=';'
14109:        }
14110: fi
14111: 
14112: if test -n "$LD"; then
14113:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
14114: $as_echo_n "checking for ld... " >&6; }
14115: elif test "$GCC" = yes; then
14116:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14117: $as_echo_n "checking for ld used by $CC... " >&6; }
14118: elif test "$with_gnu_ld" = yes; then
14119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14120: $as_echo_n "checking for GNU ld... " >&6; }
14121: else
14122:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14123: $as_echo_n "checking for non-GNU ld... " >&6; }
14124: fi
14125: if test -n "$LD"; then
14126:   # Let the user override the test with a path.
14127:   :
14128: else
14129:   if ${acl_cv_path_LD+:} false; then :
14130:   $as_echo_n "(cached) " >&6
14131: else
14132: 
14133:     acl_cv_path_LD= # Final result of this test
14134:     ac_prog=ld # Program to search in $PATH
14135:     if test "$GCC" = yes; then
14136:       # Check if gcc -print-prog-name=ld gives a path.
14137:       case $host in
14138:         *-*-mingw*)
14139:           # gcc leaves a trailing carriage return which upsets mingw
14140:           acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14141:         *)
14142:           acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
14143:       esac
14144:       case $acl_output in
14145:         # Accept absolute paths.
14146:         [\\/]* | ?:[\\/]*)
14147:           re_direlt='/[^/][^/]*/\.\./'
14148:           # Canonicalize the pathname of ld
14149:           acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
14150:           while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
14151:             acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
14152:           done
14153:           # Got the pathname. No search in PATH is needed.
14154:           acl_cv_path_LD="$acl_output"
14155:           ac_prog=
14156:           ;;
14157:         "")
14158:           # If it fails, then pretend we aren't using GCC.
14159:           ;;
14160:         *)
14161:           # If it is relative, then search for the first ld in PATH.
14162:           with_gnu_ld=unknown
14163:           ;;
14164:       esac
14165:     fi
14166:     if test -n "$ac_prog"; then
14167:       # Search for $ac_prog in $PATH.
14168:       acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14169:       for ac_dir in $PATH; do
14170:         IFS="$acl_save_ifs"
14171:         test -z "$ac_dir" && ac_dir=.
14172:         if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14173:           acl_cv_path_LD="$ac_dir/$ac_prog"
14174:           # Check to see if the program is GNU ld.  I'd rather use --version,
14175:           # but apparently some variants of GNU ld only accept -v.
14176:           # Break only if it was the GNU/non-GNU ld that we prefer.
14177:           case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
14178:             *GNU* | *'with BFD'*)
14179:               test "$with_gnu_ld" != no && break
14180:               ;;
14181:             *)
14182:               test "$with_gnu_ld" != yes && break
14183:               ;;
14184:           esac
14185:         fi
14186:       done
14187:       IFS="$acl_save_ifs"
14188:     fi
14189:     case $host in
14190:       *-*-aix*)
14191:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192: /* end confdefs.h.  */
14193: #if defined __powerpc64__ || defined _ARCH_PPC64
14194:                 int ok;
14195:                #else
14196:                 error fail
14197:                #endif
14198: 
14199: _ACEOF
14200: if ac_fn_c_try_compile "$LINENO"; then :
14201:   # The compiler produces 64-bit code. Add option '-b64' so that the
14202:            # linker groks 64-bit object files.
14203:            case "$acl_cv_path_LD " in
14204:              *" -b64 "*) ;;
14205:              *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
14206:            esac
14207: 
14208: fi
14209: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210:         ;;
14211:       sparc64-*-netbsd*)
14212:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213: /* end confdefs.h.  */
14214: #if defined __sparcv9 || defined __arch64__
14215:                 int ok;
14216:                #else
14217:                 error fail
14218:                #endif
14219: 
14220: _ACEOF
14221: if ac_fn_c_try_compile "$LINENO"; then :
14222: 
14223: else
14224:   # The compiler produces 32-bit code. Add option '-m elf32_sparc'
14225:            # so that the linker groks 32-bit object files.
14226:            case "$acl_cv_path_LD " in
14227:              *" -m elf32_sparc "*) ;;
14228:              *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
14229:            esac
14230: 
14231: fi
14232: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14233:         ;;
14234:     esac
14235: 
14236: fi
14237: 
14238:   LD="$acl_cv_path_LD"
14239: fi
14240: if test -n "$LD"; then
14241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14242: $as_echo "$LD" >&6; }
14243: else
14244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245: $as_echo "no" >&6; }
14246:   as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14247: fi
14248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14249: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14250: if ${acl_cv_prog_gnu_ld+:} false; then :
14251:   $as_echo_n "(cached) " >&6
14252: else
14253:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14254: case `$LD -v 2>&1 </dev/null` in
14255: *GNU* | *'with BFD'*)
14256:   acl_cv_prog_gnu_ld=yes
14257:   ;;
14258: *)
14259:   acl_cv_prog_gnu_ld=no
14260:   ;;
14261: esac
14262: fi
14263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14264: $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14265: with_gnu_ld=$acl_cv_prog_gnu_ld
14266: 
14267: 
14268: 
14269:                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library path variable" >&5
14270: $as_echo_n "checking for shared library path variable... " >&6; }
14271: if ${acl_cv_libpath+:} false; then :
14272:   $as_echo_n "(cached) " >&6
14273: else
14274: 
14275:     LD="$LD" \
14276:     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh
14277:     . ./conftest.sh
14278:     rm -f ./conftest.sh
14279:     acl_cv_libpath=${acl_cv_shlibpath_var:-none}
14280: 
14281: fi
14282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libpath" >&5
14283: $as_echo "$acl_cv_libpath" >&6; }
14284:   shlibpath_var="$acl_cv_shlibpath_var"
14285: 
14286: 
14287:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5
14288: $as_echo_n "checking whether to activate relocatable installation... " >&6; }
14289:   # Check whether --enable-relocatable was given.
14290: if test "${enable_relocatable+set}" = set; then :
14291:   enableval=$enable_relocatable; if test "$enableval" != no; then
14292:        RELOCATABLE=yes
14293:      else
14294:        RELOCATABLE=no
14295:      fi
14296: 
14297: else
14298:   RELOCATABLE=no
14299: fi
14300: 
14301: 
14302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5
14303: $as_echo "$RELOCATABLE" >&6; }
14304: 
14305: 
14306: 
14307:     if test "X$prefix" = "XNONE"; then
14308:     reloc_final_prefix="$ac_default_prefix"
14309:   else
14310:     reloc_final_prefix="$prefix"
14311:   fi
14312: 
14313: cat >>confdefs.h <<_ACEOF
14314: #define INSTALLPREFIX "${reloc_final_prefix}"
14315: _ACEOF
14316: 
14317:   if test $RELOCATABLE = yes; then
14318: 
14319: $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
14320: 
14321:   fi
14322: 
14323: 
14324: 
14325: 
14326: 
14327: 
14328: 
14329: 
14330:   is_noop=no
14331:   use_elf_origin_trick=no
14332:   use_macos_tools=no
14333:   use_wrapper=no
14334:   if test $RELOCATABLE = yes; then
14335:     # --enable-relocatable implies --disable-rpath
14336:     enable_rpath=no
14337:     for ac_header in mach-o/dyld.h
14338: do :
14339:   ac_fn_c_check_header_mongrel "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
14340: if test "x$ac_cv_header_mach_o_dyld_h" = xyes; then :
14341:   cat >>confdefs.h <<_ACEOF
14342: #define HAVE_MACH_O_DYLD_H 1
14343: _ACEOF
14344: 
14345: fi
14346: 
14347: done
14348: 
14349:     for ac_func in _NSGetExecutablePath
14350: do :
14351:   ac_fn_c_check_func "$LINENO" "_NSGetExecutablePath" "ac_cv_func__NSGetExecutablePath"
14352: if test "x$ac_cv_func__NSGetExecutablePath" = xyes; then :
14353:   cat >>confdefs.h <<_ACEOF
14354: #define HAVE__NSGETEXECUTABLEPATH 1
14355: _ACEOF
14356: 
14357: fi
14358: done
14359: 
14360:     case "$host_os" in
14361:       mingw*) is_noop=yes ;;
14362:       # For the platforms that support $ORIGIN, see
14363:       # <https://lekensteyn.nl/rpath.html>.
14364:       # glibc systems, Linux with musl libc: yes. Android: no.
14365:       linux*-android*) ;;
14366:       linux* | kfreebsd*) use_elf_origin_trick=yes ;;
14367:       # Hurd: <http://lists.gnu.org/archive/html/bug-hurd/2019-02/msg00049.html>
14368:       # only after the glibc commit from 2018-01-08
14369:       # <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=311ba8dc4416467947eff2ab327854f124226309>
14370:       gnu*)
14371:         # Test for a glibc version >= 2.27.
14372:         for ac_func in copy_file_range
14373: do :
14374:   ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range"
14375: if test "x$ac_cv_func_copy_file_range" = xyes; then :
14376:   cat >>confdefs.h <<_ACEOF
14377: #define HAVE_COPY_FILE_RANGE 1
14378: _ACEOF
14379: 
14380: fi
14381: done
14382: 
14383:         if test $ac_cv_func_copy_file_range = yes; then
14384:           use_elf_origin_trick=yes
14385:         fi
14386:         ;;
14387:       # FreeBSD >= 7.3, DragonFly >= 3.0: yes.
14388:       freebsd | freebsd[1-7] | freebsd[1-6].* | freebsd7.[0-2]) ;;
14389:       dragonfly | dragonfly[1-2] | dragonfly[1-2].*) ;;
14390:       freebsd* | dragonfly*) use_elf_origin_trick=yes ;;
14391:       # NetBSD >= 8.0: yes.
14392:       netbsd | netbsd[1-7] | netbsd[1-7].*) ;;
14393:       netbsdelf | netbsdelf[1-7] | netbsdelf[1-7].*) ;;
14394:       netbsd*) use_elf_origin_trick=yes ;;
14395:       # OpenBSD >= 5.4: yes.
14396:       openbsd | openbsd[1-5] | openbsd[1-4].* | openbsd5.[0-3]) ;;
14397:       openbsd*) use_elf_origin_trick=yes ;;
14398:       # Solaris >= 10: yes.
14399:       solaris | solaris2.[1-9] | solaris2.[1-9].*) ;;
14400:       solaris*) use_elf_origin_trick=yes ;;
14401:       # Haiku: yes.
14402:       haiku*) use_elf_origin_trick=yes ;;
14403:       # On Mac OS X 10.4 or newer, use Mac OS X tools. See
14404:       # <https://wincent.com/wiki/@executable_path,_@load_path_and_@rpath>.
14405:       darwin | darwin[1-7].*) ;;
14406:       darwin*) use_macos_tools=yes ;;
14407:     esac
14408:     if test $is_noop = yes; then
14409:       RELOCATABLE_LDFLAGS=:
14410: 
14411:     else
14412:       if test $use_elf_origin_trick = yes || test $use_macos_tools = yes; then
14413:                 case "$ac_aux_dir" in
14414:           /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;;
14415:           *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;;
14416:         esac
14417:         RELOCATABLE_LDFLAGS="\"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\""
14418: 
14419:         if test $use_macos_tools = yes; then
14420:                     case "$ac_aux_dir" in
14421:             /*) LIBTOOL="${CONFIG_SHELL-$SHELL} $ac_aux_dir/libtool-reloc $LIBTOOL" ;;
14422:             *) LIBTOOL="${CONFIG_SHELL-$SHELL} \$(top_builddir)/$ac_aux_dir/libtool-reloc $LIBTOOL" ;;
14423:           esac
14424:         fi
14425:       else
14426:         use_wrapper=yes
14427:                                         INSTALL_PROGRAM_ENV="RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_DESTDIR=\"\$(DESTDIR)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_EXEEXT=\"\$(EXEEXT)\" RELOC_STRIP_PROG=\"\$(RELOCATABLE_STRIP)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\""
14428: 
14429:         case "$ac_aux_dir" in
14430:           /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;;
14431:           *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;;
14432:         esac
14433:       fi
14434:     fi
14435:   fi
14436:    if test $is_noop = yes || test $use_elf_origin_trick = yes || test $use_macos_tools = yes; then
14437:   RELOCATABLE_VIA_LD_TRUE=
14438:   RELOCATABLE_VIA_LD_FALSE='#'
14439: else
14440:   RELOCATABLE_VIA_LD_TRUE='#'
14441:   RELOCATABLE_VIA_LD_FALSE=
14442: fi
14443: 
14444:    if test $use_wrapper = yes; then
14445:   RELOCATABLE_VIA_WRAPPER_TRUE=
14446:   RELOCATABLE_VIA_WRAPPER_FALSE='#'
14447: else
14448:   RELOCATABLE_VIA_WRAPPER_TRUE='#'
14449:   RELOCATABLE_VIA_WRAPPER_FALSE=
14450: fi
14451: 
14452: 
14453: 
14454: 
14455: 
14456: 
14457: 
14458: 
14459:       RELOCATABLE_STRIP=':'
14460: 
14461: 
14462: 
14463: 
14464: 
14465: 
14466: 
14467:   : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'}
14468:   RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base"
14469:   RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base"
14470: 
14471: 
14472: # Check whether --enable-extra-encodings was given.
14473: if test "${enable_extra_encodings+set}" = set; then :
14474:   enableval=$enable_extra_encodings;
14475: $as_echo "#define ENABLE_EXTRA 1" >>confdefs.h
14476: 
14477:    USE_EXTRA_ENCODINGS=yes
14478: else
14479:   USE_EXTRA_ENCODINGS=no
14480: fi
14481: 
14482: 
14483: 
14484: 
14485: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy files" >&5
14486: $as_echo_n "checking how to copy files... " >&6; }
14487: if ${cl_cv_prog_cp+:} false; then :
14488:   $as_echo_n "(cached) " >&6
14489: else
14490: 
14491: echo "blabla" > conftest.x
14492: err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"`
14493: if test -z "$err"; then
14494:   cl_cv_prog_cp='cp -p'
14495: else
14496:   cl_cv_prog_cp='cp'
14497: fi
14498: rm -f conftest*
14499: 
14500: fi
14501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_cp" >&5
14502: $as_echo "$cl_cv_prog_cp" >&6; }
14503: CP="$cl_cv_prog_cp"
14504: 
14505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5
14506: $as_echo_n "checking how to make hard links... " >&6; }
14507: if ${cl_cv_prog_LN+:} false; then :
14508:   $as_echo_n "(cached) " >&6
14509: else
14510: 
14511: rm -f conftestdata conftestfile
14512: echo data > conftestfile
14513: if ln conftestfile conftestdata 2>/dev/null; then
14514:   cl_cv_prog_LN=ln
14515: else
14516:   cl_cv_prog_LN="$cl_cv_prog_cp"
14517: fi
14518: rm -f conftestdata conftestfile
14519: 
14520: fi
14521: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5
14522: $as_echo "$cl_cv_prog_LN" >&6; }
14523: LN="$cl_cv_prog_LN"
14524: 
14525: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
14526: $as_echo_n "checking whether ln -s works... " >&6; }
14527: LN_S=$as_ln_s
14528: if test "$LN_S" = "ln -s"; then
14529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14530: $as_echo "yes" >&6; }
14531: else
14532:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
14533: $as_echo "no, using $LN_S" >&6; }
14534: fi
14535: 
14536: 
14537: 
14538: 
14539: 
14540: 
14541: 
14542: if test -n "$ac_tool_prefix"; then
14543:   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14544: set dummy ${ac_tool_prefix}windres; ac_word=$2
14545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14546: $as_echo_n "checking for $ac_word... " >&6; }
14547: if ${ac_cv_prog_RC+:} false; then :
14548:   $as_echo_n "(cached) " >&6
14549: else
14550:   if test -n "$RC"; then
14551:   ac_cv_prog_RC="$RC" # Let the user override the test.
14552: else
14553: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14554: for as_dir in $PATH
14555: do
14556:   IFS=$as_save_IFS
14557:   test -z "$as_dir" && as_dir=.
14558:     for ac_exec_ext in '' $ac_executable_extensions; do
14559:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14560:     ac_cv_prog_RC="${ac_tool_prefix}windres"
14561:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14562:     break 2
14563:   fi
14564: done
14565:   done
14566: IFS=$as_save_IFS
14567: 
14568: fi
14569: fi
14570: RC=$ac_cv_prog_RC
14571: if test -n "$RC"; then
14572:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
14573: $as_echo "$RC" >&6; }
14574: else
14575:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14576: $as_echo "no" >&6; }
14577: fi
14578: 
14579: 
14580: fi
14581: if test -z "$ac_cv_prog_RC"; then
14582:   ac_ct_RC=$RC
14583:   # Extract the first word of "windres", so it can be a program name with args.
14584: set dummy windres; ac_word=$2
14585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14586: $as_echo_n "checking for $ac_word... " >&6; }
14587: if ${ac_cv_prog_ac_ct_RC+:} false; then :
14588:   $as_echo_n "(cached) " >&6
14589: else
14590:   if test -n "$ac_ct_RC"; then
14591:   ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
14592: else
14593: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14594: for as_dir in $PATH
14595: do
14596:   IFS=$as_save_IFS
14597:   test -z "$as_dir" && as_dir=.
14598:     for ac_exec_ext in '' $ac_executable_extensions; do
14599:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14600:     ac_cv_prog_ac_ct_RC="windres"
14601:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14602:     break 2
14603:   fi
14604: done
14605:   done
14606: IFS=$as_save_IFS
14607: 
14608: fi
14609: fi
14610: ac_ct_RC=$ac_cv_prog_ac_ct_RC
14611: if test -n "$ac_ct_RC"; then
14612:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
14613: $as_echo "$ac_ct_RC" >&6; }
14614: else
14615:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14616: $as_echo "no" >&6; }
14617: fi
14618: 
14619:   if test "x$ac_ct_RC" = x; then
14620:     RC=""
14621:   else
14622:     case $cross_compiling:$ac_tool_warned in
14623: yes:)
14624: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14625: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14626: ac_tool_warned=yes ;;
14627: esac
14628:     RC=$ac_ct_RC
14629:   fi
14630: else
14631:   RC="$ac_cv_prog_RC"
14632: fi
14633: 
14634: 
14635: 
14636: 
14637: # Source file extension for RC test sources.
14638: ac_ext=rc
14639: 
14640: # Object file extension for compiled RC test sources.
14641: objext=o
14642: objext_RC=$objext
14643: 
14644: # Code to be used in simple compile tests
14645: lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
14646: 
14647: # Code to be used in simple link tests
14648: lt_simple_link_test_code=$lt_simple_compile_test_code
14649: 
14650: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14651: 
14652: 
14653: 
14654: 
14655: 
14656: 
14657: # If no C compiler was specified, use CC.
14658: LTCC=${LTCC-"$CC"}
14659: 
14660: # If no C compiler flags were specified, use CFLAGS.
14661: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14662: 
14663: # Allow CC to be a program name with arguments.
14664: compiler=$CC
14665: 
14666: 
14667: # save warnings/boilerplate of simple test code
14668: ac_outfile=conftest.$ac_objext
14669: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14670: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14671: _lt_compiler_boilerplate=`cat conftest.err`
14672: $RM conftest*
14673: 
14674: ac_outfile=conftest.$ac_objext
14675: echo "$lt_simple_link_test_code" >conftest.$ac_ext
14676: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14677: _lt_linker_boilerplate=`cat conftest.err`
14678: $RM -r conftest*
14679: 
14680: 
14681: # Allow CC to be a program name with arguments.
14682: lt_save_CC=$CC
14683: lt_save_CFLAGS=$CFLAGS
14684: lt_save_GCC=$GCC
14685: GCC=
14686: CC=${RC-"windres"}
14687: CFLAGS=
14688: compiler=$CC
14689: compiler_RC=$CC
14690: func_cc_basename $compiler
14691: cc_basename=$func_cc_basename_result
14692: 
14693: lt_cv_prog_compiler_c_o_RC=yes
14694: 
14695: if test -n "$compiler"; then
14696:   :
14697: 
14698: 
14699: 
14700: fi
14701: 
14702: GCC=$lt_save_GCC
14703: ac_ext=c
14704: ac_cpp='$CPP $CPPFLAGS'
14705: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14706: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14707: ac_compiler_gnu=$ac_cv_c_compiler_gnu
14708: 
14709: CC=$lt_save_CC
14710: CFLAGS=$lt_save_CFLAGS
14711: 
14712: 
14713: case "$host_os" in
14714:   mingw* | cygwin*) is_woe32=yes ;;
14715:   *) is_woe32=no ;;
14716: esac
14717: WOE32=$is_woe32
14718: 
14719: if test $WOE32 = yes; then
14720:     if test -n "$ac_tool_prefix"; then
14721:   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14722: set dummy ${ac_tool_prefix}windres; ac_word=$2
14723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14724: $as_echo_n "checking for $ac_word... " >&6; }
14725: if ${ac_cv_prog_WINDRES+:} false; then :
14726:   $as_echo_n "(cached) " >&6
14727: else
14728:   if test -n "$WINDRES"; then
14729:   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14730: else
14731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14732: for as_dir in $PATH
14733: do
14734:   IFS=$as_save_IFS
14735:   test -z "$as_dir" && as_dir=.
14736:     for ac_exec_ext in '' $ac_executable_extensions; do
14737:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14738:     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14739:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14740:     break 2
14741:   fi
14742: done
14743:   done
14744: IFS=$as_save_IFS
14745: 
14746: fi
14747: fi
14748: WINDRES=$ac_cv_prog_WINDRES
14749: if test -n "$WINDRES"; then
14750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
14751: $as_echo "$WINDRES" >&6; }
14752: else
14753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14754: $as_echo "no" >&6; }
14755: fi
14756: 
14757: 
14758: fi
14759: if test -z "$ac_cv_prog_WINDRES"; then
14760:   ac_ct_WINDRES=$WINDRES
14761:   # Extract the first word of "windres", so it can be a program name with args.
14762: set dummy windres; ac_word=$2
14763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14764: $as_echo_n "checking for $ac_word... " >&6; }
14765: if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
14766:   $as_echo_n "(cached) " >&6
14767: else
14768:   if test -n "$ac_ct_WINDRES"; then
14769:   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14770: else
14771: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14772: for as_dir in $PATH
14773: do
14774:   IFS=$as_save_IFS
14775:   test -z "$as_dir" && as_dir=.
14776:     for ac_exec_ext in '' $ac_executable_extensions; do
14777:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14778:     ac_cv_prog_ac_ct_WINDRES="windres"
14779:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14780:     break 2
14781:   fi
14782: done
14783:   done
14784: IFS=$as_save_IFS
14785: 
14786: fi
14787: fi
14788: ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14789: if test -n "$ac_ct_WINDRES"; then
14790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
14791: $as_echo "$ac_ct_WINDRES" >&6; }
14792: else
14793:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794: $as_echo "no" >&6; }
14795: fi
14796: 
14797:   if test "x$ac_ct_WINDRES" = x; then
14798:     WINDRES=""
14799:   else
14800:     case $cross_compiling:$ac_tool_warned in
14801: yes:)
14802: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14803: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14804: ac_tool_warned=yes ;;
14805: esac
14806:     WINDRES=$ac_ct_WINDRES
14807:   fi
14808: else
14809:   WINDRES="$ac_cv_prog_WINDRES"
14810: fi
14811: 
14812: fi
14813: 
14814: 
14815: 
14816:   CFLAG_VISIBILITY=
14817:   HAVE_VISIBILITY=0
14818:   if test -n "$GCC"; then
14819:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
14820: $as_echo_n "checking whether the -Werror option is usable... " >&6; }
14821: if ${gl_cv_cc_vis_werror+:} false; then :
14822:   $as_echo_n "(cached) " >&6
14823: else
14824:   gl_save_CFLAGS="$CFLAGS"
14825:        CFLAGS="$CFLAGS -Werror"
14826:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827: /* end confdefs.h.  */
14828: 
14829: int
14830: main ()
14831: {
14832: 
14833:   ;
14834:   return 0;
14835: }
14836: _ACEOF
14837: if ac_fn_c_try_compile "$LINENO"; then :
14838:   gl_cv_cc_vis_werror=yes
14839: else
14840:   gl_cv_cc_vis_werror=no
14841: fi
14842: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843:        CFLAGS="$gl_save_CFLAGS"
14844: 
14845: fi
14846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
14847: $as_echo "$gl_cv_cc_vis_werror" >&6; }
14848:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
14849: $as_echo_n "checking for simple visibility declarations... " >&6; }
14850: if ${gl_cv_cc_visibility+:} false; then :
14851:   $as_echo_n "(cached) " >&6
14852: else
14853:   gl_save_CFLAGS="$CFLAGS"
14854:        CFLAGS="$CFLAGS -fvisibility=hidden"
14855:                                           if test $gl_cv_cc_vis_werror = yes; then
14856:          CFLAGS="$CFLAGS -Werror"
14857:        fi
14858:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859: /* end confdefs.h.  */
14860: extern __attribute__((__visibility__("hidden"))) int hiddenvar;
14861:               extern __attribute__((__visibility__("default"))) int exportedvar;
14862:               extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
14863:               extern __attribute__((__visibility__("default"))) int exportedfunc (void);
14864:               void dummyfunc (void) {}
14865: 
14866: int
14867: main ()
14868: {
14869: 
14870:   ;
14871:   return 0;
14872: }
14873: _ACEOF
14874: if ac_fn_c_try_compile "$LINENO"; then :
14875:   gl_cv_cc_visibility=yes
14876: else
14877:   gl_cv_cc_visibility=no
14878: fi
14879: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14880:        CFLAGS="$gl_save_CFLAGS"
14881: 
14882: fi
14883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
14884: $as_echo "$gl_cv_cc_visibility" >&6; }
14885:     if test $gl_cv_cc_visibility = yes; then
14886:       CFLAG_VISIBILITY="-fvisibility=hidden"
14887:       HAVE_VISIBILITY=1
14888:     fi
14889:   fi
14890: 
14891: 
14892: 
14893: cat >>confdefs.h <<_ACEOF
14894: #define HAVE_VISIBILITY $HAVE_VISIBILITY
14895: _ACEOF
14896: 
14897: 
14898: 
14899:       if test "X$prefix" = "XNONE"; then
14900:     acl_final_prefix="$ac_default_prefix"
14901:   else
14902:     acl_final_prefix="$prefix"
14903:   fi
14904:   if test "X$exec_prefix" = "XNONE"; then
14905:     acl_final_exec_prefix='${prefix}'
14906:   else
14907:     acl_final_exec_prefix="$exec_prefix"
14908:   fi
14909:   acl_save_prefix="$prefix"
14910:   prefix="$acl_final_prefix"
14911:   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14912:   prefix="$acl_save_prefix"
14913: 
14914: 
14915: 
14916:                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14917: $as_echo_n "checking for shared library run path origin... " >&6; }
14918: if ${acl_cv_rpath+:} false; then :
14919:   $as_echo_n "(cached) " >&6
14920: else
14921: 
14922:     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14923:     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14924:     . ./conftest.sh
14925:     rm -f ./conftest.sh
14926:     acl_cv_rpath=done
14927: 
14928: fi
14929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14930: $as_echo "$acl_cv_rpath" >&6; }
14931:   wl="$acl_cv_wl"
14932:   acl_libext="$acl_cv_libext"
14933:   acl_shlibext="$acl_cv_shlibext"
14934:   acl_libname_spec="$acl_cv_libname_spec"
14935:   acl_library_names_spec="$acl_cv_library_names_spec"
14936:   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14937:   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14938:   acl_hardcode_direct="$acl_cv_hardcode_direct"
14939:   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14940:     # Check whether --enable-rpath was given.
14941: if test "${enable_rpath+set}" = set; then :
14942:   enableval=$enable_rpath; :
14943: else
14944:   enable_rpath=yes
14945: fi
14946: 
14947: 
14948: 
14949: 
14950:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
14951: $as_echo_n "checking 32-bit host C ABI... " >&6; }
14952: if ${gl_cv_host_cpu_c_abi_32bit+:} false; then :
14953:   $as_echo_n "(cached) " >&6
14954: else
14955:   if test -n "$gl_cv_host_cpu_c_abi"; then
14956:        case "$gl_cv_host_cpu_c_abi" in
14957:          i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
14958:            gl_cv_host_cpu_c_abi_32bit=yes ;;
14959:          *)
14960:            gl_cv_host_cpu_c_abi_32bit=no ;;
14961:        esac
14962:      else
14963:        case "$host_cpu" in
14964: 
14965:          i[4567]86 )
14966:            gl_cv_host_cpu_c_abi_32bit=yes
14967:            ;;
14968: 
14969:          x86_64 )
14970:            # On x86_64 systems, the C compiler may be generating code in one of
14971:            # these ABIs:
14972:            # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
14973:            # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
14974:            #   with native Windows (mingw, MSVC).
14975:            # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
14976:            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
14977:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978: /* end confdefs.h.  */
14979: #if (defined __x86_64__ || defined __amd64__ \
14980:                        || defined _M_X64 || defined _M_AMD64) \
14981:                       && !(defined __ILP32__ || defined _ILP32)
14982:                    int ok;
14983:                   #else
14984:                    error fail
14985:                   #endif
14986: 
14987: _ACEOF
14988: if ac_fn_c_try_compile "$LINENO"; then :
14989:   gl_cv_host_cpu_c_abi_32bit=no
14990: else
14991:   gl_cv_host_cpu_c_abi_32bit=yes
14992: fi
14993: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994:            ;;
14995: 
14996:          arm* | aarch64 )
14997:            # Assume arm with EABI.
14998:            # On arm64 systems, the C compiler may be generating code in one of
14999:            # these ABIs:
15000:            # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
15001:            # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
15002:            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
15003:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004: /* end confdefs.h.  */
15005: #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
15006:                    int ok;
15007:                   #else
15008:                    error fail
15009:                   #endif
15010: 
15011: _ACEOF
15012: if ac_fn_c_try_compile "$LINENO"; then :
15013:   gl_cv_host_cpu_c_abi_32bit=no
15014: else
15015:   gl_cv_host_cpu_c_abi_32bit=yes
15016: fi
15017: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018:            ;;
15019: 
15020:          hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
15021:            # On hppa, the C compiler may be generating 32-bit code or 64-bit
15022:            # code. In the latter case, it defines _LP64 and __LP64__.
15023:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024: /* end confdefs.h.  */
15025: #ifdef __LP64__
15026:                    int ok;
15027:                   #else
15028:                    error fail
15029:                   #endif
15030: 
15031: _ACEOF
15032: if ac_fn_c_try_compile "$LINENO"; then :
15033:   gl_cv_host_cpu_c_abi_32bit=no
15034: else
15035:   gl_cv_host_cpu_c_abi_32bit=yes
15036: fi
15037: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15038:            ;;
15039: 
15040:          ia64* )
15041:            # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
15042:            # 32-bit code. In the latter case, it defines _ILP32.
15043:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044: /* end confdefs.h.  */
15045: #ifdef _ILP32
15046:                    int ok;
15047:                   #else
15048:                    error fail
15049:                   #endif
15050: 
15051: _ACEOF
15052: if ac_fn_c_try_compile "$LINENO"; then :
15053:   gl_cv_host_cpu_c_abi_32bit=yes
15054: else
15055:   gl_cv_host_cpu_c_abi_32bit=no
15056: fi
15057: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15058:            ;;
15059: 
15060:          mips* )
15061:            # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
15062:            # at 32.
15063:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064: /* end confdefs.h.  */
15065: #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
15066:                    int ok;
15067:                   #else
15068:                    error fail
15069:                   #endif
15070: 
15071: _ACEOF
15072: if ac_fn_c_try_compile "$LINENO"; then :
15073:   gl_cv_host_cpu_c_abi_32bit=no
15074: else
15075:   gl_cv_host_cpu_c_abi_32bit=yes
15076: fi
15077: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078:            ;;
15079: 
15080:          powerpc* )
15081:            # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
15082:            # No need to distinguish them here; the caller may distinguish
15083:            # them based on the OS.
15084:            # On powerpc64 systems, the C compiler may still be generating
15085:            # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
15086:            # be generating 64-bit code.
15087:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088: /* end confdefs.h.  */
15089: #if defined __powerpc64__ || defined _ARCH_PPC64
15090:                    int ok;
15091:                   #else
15092:                    error fail
15093:                   #endif
15094: 
15095: _ACEOF
15096: if ac_fn_c_try_compile "$LINENO"; then :
15097:   gl_cv_host_cpu_c_abi_32bit=no
15098: else
15099:   gl_cv_host_cpu_c_abi_32bit=yes
15100: fi
15101: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15102:            ;;
15103: 
15104:          rs6000 )
15105:            gl_cv_host_cpu_c_abi_32bit=yes
15106:            ;;
15107: 
15108:          riscv32 | riscv64 )
15109:            # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
15110:            # Size of 'long' and 'void *':
15111:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112: /* end confdefs.h.  */
15113: #if defined __LP64__
15114:                     int ok;
15115:                   #else
15116:                     error fail
15117:                   #endif
15118: 
15119: _ACEOF
15120: if ac_fn_c_try_compile "$LINENO"; then :
15121:   gl_cv_host_cpu_c_abi_32bit=no
15122: else
15123:   gl_cv_host_cpu_c_abi_32bit=yes
15124: fi
15125: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126:            ;;
15127: 
15128:          s390* )
15129:            # On s390x, the C compiler may be generating 64-bit (= s390x) code
15130:            # or 31-bit (= s390) code.
15131:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132: /* end confdefs.h.  */
15133: #if defined __LP64__ || defined __s390x__
15134:                     int ok;
15135:                   #else
15136:                     error fail
15137:                   #endif
15138: 
15139: _ACEOF
15140: if ac_fn_c_try_compile "$LINENO"; then :
15141:   gl_cv_host_cpu_c_abi_32bit=no
15142: else
15143:   gl_cv_host_cpu_c_abi_32bit=yes
15144: fi
15145: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15146:            ;;
15147: 
15148:          sparc | sparc64 )
15149:            # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
15150:            # C compiler still generates 32-bit code.
15151:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152: /* end confdefs.h.  */
15153: #if defined __sparcv9 || defined __arch64__
15154:                    int ok;
15155:                   #else
15156:                    error fail
15157:                   #endif
15158: 
15159: _ACEOF
15160: if ac_fn_c_try_compile "$LINENO"; then :
15161:   gl_cv_host_cpu_c_abi_32bit=no
15162: else
15163:   gl_cv_host_cpu_c_abi_32bit=yes
15164: fi
15165: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166:            ;;
15167: 
15168:          *)
15169:            gl_cv_host_cpu_c_abi_32bit=no
15170:            ;;
15171:        esac
15172:      fi
15173: 
15174: fi
15175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
15176: $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; }
15177: 
15178:   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
15179: 
15180: 
15181: 
15182: 
15183: 
15184:   case "$host_os" in
15185:     solaris*)
15186:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
15187: $as_echo_n "checking for 64-bit host... " >&6; }
15188: if ${gl_cv_solaris_64bit+:} false; then :
15189:   $as_echo_n "(cached) " >&6
15190: else
15191:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192: /* end confdefs.h.  */
15193: #ifdef _LP64
15194:                  int ok;
15195:                 #else
15196:                  error fail
15197:                 #endif
15198: 
15199: _ACEOF
15200: if ac_fn_c_try_compile "$LINENO"; then :
15201:   gl_cv_solaris_64bit=yes
15202: else
15203:   gl_cv_solaris_64bit=no
15204: fi
15205: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15206: 
15207: fi
15208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
15209: $as_echo "$gl_cv_solaris_64bit" >&6; };;
15210:   esac
15211: 
15212:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
15213: $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
15214: if ${acl_cv_libdirstems+:} false; then :
15215:   $as_echo_n "(cached) " >&6
15216: else
15217:   acl_libdirstem=lib
15218:      acl_libdirstem2=
15219:      case "$host_os" in
15220:        solaris*)
15221:                                                       if test $gl_cv_solaris_64bit = yes; then
15222:            acl_libdirstem=lib/64
15223:            case "$host_cpu" in
15224:              sparc*)        acl_libdirstem2=lib/sparcv9 ;;
15225:              i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
15226:            esac
15227:          fi
15228:          ;;
15229:        *)
15230:                            if test "$HOST_CPU_C_ABI_32BIT" != yes; then
15231:                                             searchpath=`(if test -f /usr/bin/gcc \
15232:                            && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \
15233:                           LC_ALL=C /usr/bin/gcc -print-search-dirs; \
15234:                         else \
15235:                           LC_ALL=C $CC -print-search-dirs; \
15236:                         fi) 2>/dev/null \
15237:                        | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15238:            if test -n "$searchpath"; then
15239:              acl_save_IFS="${IFS= 	}"; IFS=":"
15240:              for searchdir in $searchpath; do
15241:                if test -d "$searchdir"; then
15242:                  case "$searchdir" in
15243:                    */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
15244:                    */../ | */.. )
15245:                      # Better ignore directories of this form. They are misleading.
15246:                      ;;
15247:                    *) searchdir=`cd "$searchdir" && pwd`
15248:                       case "$searchdir" in
15249:                         */lib64 ) acl_libdirstem=lib64 ;;
15250:                       esac ;;
15251:                  esac
15252:                fi
15253:              done
15254:              IFS="$acl_save_IFS"
15255:            fi
15256:          fi
15257:          ;;
15258:      esac
15259:      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
15260:      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2"
15261: 
15262: fi
15263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
15264: $as_echo "$acl_cv_libdirstems" >&6; }
15265:   # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2.
15266:   acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
15267:   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'`
15268: 
15269: 
15270: 
15271: 
15272: 
15273: 
15274: 
15275: 
15276: 
15277: 
15278: 
15279:     use_additional=yes
15280: 
15281:   acl_save_prefix="$prefix"
15282:   prefix="$acl_final_prefix"
15283:   acl_save_exec_prefix="$exec_prefix"
15284:   exec_prefix="$acl_final_exec_prefix"
15285: 
15286:     eval additional_includedir=\"$includedir\"
15287:     eval additional_libdir=\"$libdir\"
15288: 
15289:   exec_prefix="$acl_save_exec_prefix"
15290:   prefix="$acl_save_prefix"
15291: 
15292: 
15293: # Check whether --with-libiconv-prefix was given.
15294: if test "${with_libiconv_prefix+set}" = set; then :
15295:   withval=$with_libiconv_prefix;
15296:     if test "X$withval" = "Xno"; then
15297:       use_additional=no
15298:     else
15299:       if test "X$withval" = "X"; then
15300: 
15301:   acl_save_prefix="$prefix"
15302:   prefix="$acl_final_prefix"
15303:   acl_save_exec_prefix="$exec_prefix"
15304:   exec_prefix="$acl_final_exec_prefix"
15305: 
15306:           eval additional_includedir=\"$includedir\"
15307:           eval additional_libdir=\"$libdir\"
15308: 
15309:   exec_prefix="$acl_save_exec_prefix"
15310:   prefix="$acl_save_prefix"
15311: 
15312:       else
15313:         additional_includedir="$withval/include"
15314:         additional_libdir="$withval/$acl_libdirstem"
15315:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
15316:            && test ! -d "$withval/$acl_libdirstem"; then
15317:           additional_libdir="$withval/$acl_libdirstem2"
15318:         fi
15319:       fi
15320:     fi
15321: 
15322: fi
15323: 
15324:       LIBICONV=
15325:   LTLIBICONV=
15326:   INCICONV=
15327:   LIBICONV_PREFIX=
15328:       HAVE_LIBICONV=
15329:   rpathdirs=
15330:   ltrpathdirs=
15331:   names_already_handled=
15332:   names_next_round='iconv '
15333:   while test -n "$names_next_round"; do
15334:     names_this_round="$names_next_round"
15335:     names_next_round=
15336:     for name in $names_this_round; do
15337:       already_handled=
15338:       for n in $names_already_handled; do
15339:         if test "$n" = "$name"; then
15340:           already_handled=yes
15341:           break
15342:         fi
15343:       done
15344:       if test -z "$already_handled"; then
15345:         names_already_handled="$names_already_handled $name"
15346:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
15347:         eval value=\"\$HAVE_LIB$uppername\"
15348:         if test -n "$value"; then
15349:           if test "$value" = yes; then
15350:             eval value=\"\$LIB$uppername\"
15351:             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15352:             eval value=\"\$LTLIB$uppername\"
15353:             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15354:           else
15355:                                     :
15356:           fi
15357:         else
15358:                               found_dir=
15359:           found_la=
15360:           found_so=
15361:           found_a=
15362:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15363:           if test -n "$acl_shlibext"; then
15364:             shrext=".$acl_shlibext"             # typically: shrext=.so
15365:           else
15366:             shrext=
15367:           fi
15368:           if test $use_additional = yes; then
15369:             dir="$additional_libdir"
15370:                                     if test -n "$acl_shlibext"; then
15371:               if test -f "$dir/$libname$shrext"; then
15372:                 found_dir="$dir"
15373:                 found_so="$dir/$libname$shrext"
15374:               else
15375:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15376:                   ver=`(cd "$dir" && \
15377:                         for f in "$libname$shrext".*; do echo "$f"; done \
15378:                         | sed -e "s,^$libname$shrext\\\\.,," \
15379:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15380:                         | sed 1q ) 2>/dev/null`
15381:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15382:                     found_dir="$dir"
15383:                     found_so="$dir/$libname$shrext.$ver"
15384:                   fi
15385:                 else
15386:                   eval library_names=\"$acl_library_names_spec\"
15387:                   for f in $library_names; do
15388:                     if test -f "$dir/$f"; then
15389:                       found_dir="$dir"
15390:                       found_so="$dir/$f"
15391:                       break
15392:                     fi
15393:                   done
15394:                 fi
15395:               fi
15396:             fi
15397:                         if test "X$found_dir" = "X"; then
15398:               if test -f "$dir/$libname.$acl_libext"; then
15399:                 found_dir="$dir"
15400:                 found_a="$dir/$libname.$acl_libext"
15401:               fi
15402:             fi
15403:             if test "X$found_dir" != "X"; then
15404:               if test -f "$dir/$libname.la"; then
15405:                 found_la="$dir/$libname.la"
15406:               fi
15407:             fi
15408:           fi
15409:           if test "X$found_dir" = "X"; then
15410:             for x in $LDFLAGS $LTLIBICONV; do
15411: 
15412:   acl_save_prefix="$prefix"
15413:   prefix="$acl_final_prefix"
15414:   acl_save_exec_prefix="$exec_prefix"
15415:   exec_prefix="$acl_final_exec_prefix"
15416:   eval x=\"$x\"
15417:   exec_prefix="$acl_save_exec_prefix"
15418:   prefix="$acl_save_prefix"
15419: 
15420:               case "$x" in
15421:                 -L*)
15422:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
15423:                                     if test -n "$acl_shlibext"; then
15424:                     if test -f "$dir/$libname$shrext"; then
15425:                       found_dir="$dir"
15426:                       found_so="$dir/$libname$shrext"
15427:                     else
15428:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15429:                         ver=`(cd "$dir" && \
15430:                               for f in "$libname$shrext".*; do echo "$f"; done \
15431:                               | sed -e "s,^$libname$shrext\\\\.,," \
15432:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15433:                               | sed 1q ) 2>/dev/null`
15434:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15435:                           found_dir="$dir"
15436:                           found_so="$dir/$libname$shrext.$ver"
15437:                         fi
15438:                       else
15439:                         eval library_names=\"$acl_library_names_spec\"
15440:                         for f in $library_names; do
15441:                           if test -f "$dir/$f"; then
15442:                             found_dir="$dir"
15443:                             found_so="$dir/$f"
15444:                             break
15445:                           fi
15446:                         done
15447:                       fi
15448:                     fi
15449:                   fi
15450:                                     if test "X$found_dir" = "X"; then
15451:                     if test -f "$dir/$libname.$acl_libext"; then
15452:                       found_dir="$dir"
15453:                       found_a="$dir/$libname.$acl_libext"
15454:                     fi
15455:                   fi
15456:                   if test "X$found_dir" != "X"; then
15457:                     if test -f "$dir/$libname.la"; then
15458:                       found_la="$dir/$libname.la"
15459:                     fi
15460:                   fi
15461:                   ;;
15462:               esac
15463:               if test "X$found_dir" != "X"; then
15464:                 break
15465:               fi
15466:             done
15467:           fi
15468:           if test "X$found_dir" != "X"; then
15469:                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15470:             if test "X$found_so" != "X"; then
15471:                                                         if test "$enable_rpath" = no \
15472:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15473:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15474:                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15475:               else
15476:                                                                                 haveit=
15477:                 for x in $ltrpathdirs; do
15478:                   if test "X$x" = "X$found_dir"; then
15479:                     haveit=yes
15480:                     break
15481:                   fi
15482:                 done
15483:                 if test -z "$haveit"; then
15484:                   ltrpathdirs="$ltrpathdirs $found_dir"
15485:                 fi
15486:                                 if test "$acl_hardcode_direct" = yes; then
15487:                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15488:                 else
15489:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15490:                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15491:                                                             haveit=
15492:                     for x in $rpathdirs; do
15493:                       if test "X$x" = "X$found_dir"; then
15494:                         haveit=yes
15495:                         break
15496:                       fi
15497:                     done
15498:                     if test -z "$haveit"; then
15499:                       rpathdirs="$rpathdirs $found_dir"
15500:                     fi
15501:                   else
15502:                                                                                 haveit=
15503:                     for x in $LDFLAGS $LIBICONV; do
15504: 
15505:   acl_save_prefix="$prefix"
15506:   prefix="$acl_final_prefix"
15507:   acl_save_exec_prefix="$exec_prefix"
15508:   exec_prefix="$acl_final_exec_prefix"
15509:   eval x=\"$x\"
15510:   exec_prefix="$acl_save_exec_prefix"
15511:   prefix="$acl_save_prefix"
15512: 
15513:                       if test "X$x" = "X-L$found_dir"; then
15514:                         haveit=yes
15515:                         break
15516:                       fi
15517:                     done
15518:                     if test -z "$haveit"; then
15519:                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15520:                     fi
15521:                     if test "$acl_hardcode_minus_L" != no; then
15522:                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15523:                     else
15524:                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15525:                     fi
15526:                   fi
15527:                 fi
15528:               fi
15529:             else
15530:               if test "X$found_a" != "X"; then
15531:                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15532:               else
15533:                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15534:               fi
15535:             fi
15536:                         additional_includedir=
15537:             case "$found_dir" in
15538:               */$acl_libdirstem | */$acl_libdirstem/)
15539:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15540:                 if test "$name" = 'iconv'; then
15541:                   LIBICONV_PREFIX="$basedir"
15542:                 fi
15543:                 additional_includedir="$basedir/include"
15544:                 ;;
15545:               */$acl_libdirstem2 | */$acl_libdirstem2/)
15546:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15547:                 if test "$name" = 'iconv'; then
15548:                   LIBICONV_PREFIX="$basedir"
15549:                 fi
15550:                 additional_includedir="$basedir/include"
15551:                 ;;
15552:             esac
15553:             if test "X$additional_includedir" != "X"; then
15554:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
15555:                 haveit=
15556:                 if test "X$additional_includedir" = "X/usr/local/include"; then
15557:                   if test -n "$GCC"; then
15558:                     case $host_os in
15559:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15560:                     esac
15561:                   fi
15562:                 fi
15563:                 if test -z "$haveit"; then
15564:                   for x in $CPPFLAGS $INCICONV; do
15565: 
15566:   acl_save_prefix="$prefix"
15567:   prefix="$acl_final_prefix"
15568:   acl_save_exec_prefix="$exec_prefix"
15569:   exec_prefix="$acl_final_exec_prefix"
15570:   eval x=\"$x\"
15571:   exec_prefix="$acl_save_exec_prefix"
15572:   prefix="$acl_save_prefix"
15573: 
15574:                     if test "X$x" = "X-I$additional_includedir"; then
15575:                       haveit=yes
15576:                       break
15577:                     fi
15578:                   done
15579:                   if test -z "$haveit"; then
15580:                     if test -d "$additional_includedir"; then
15581:                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15582:                     fi
15583:                   fi
15584:                 fi
15585:               fi
15586:             fi
15587:                         if test -n "$found_la"; then
15588:                                                         save_libdir="$libdir"
15589:               case "$found_la" in
15590:                 */* | *\\*) . "$found_la" ;;
15591:                 *) . "./$found_la" ;;
15592:               esac
15593:               libdir="$save_libdir"
15594:                             for dep in $dependency_libs; do
15595:                 case "$dep" in
15596:                   -L*)
15597:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15598:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15599:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15600:                       haveit=
15601:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15602:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15603:                         if test -n "$GCC"; then
15604:                           case $host_os in
15605:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15606:                           esac
15607:                         fi
15608:                       fi
15609:                       if test -z "$haveit"; then
15610:                         haveit=
15611:                         for x in $LDFLAGS $LIBICONV; do
15612: 
15613:   acl_save_prefix="$prefix"
15614:   prefix="$acl_final_prefix"
15615:   acl_save_exec_prefix="$exec_prefix"
15616:   exec_prefix="$acl_final_exec_prefix"
15617:   eval x=\"$x\"
15618:   exec_prefix="$acl_save_exec_prefix"
15619:   prefix="$acl_save_prefix"
15620: 
15621:                           if test "X$x" = "X-L$additional_libdir"; then
15622:                             haveit=yes
15623:                             break
15624:                           fi
15625:                         done
15626:                         if test -z "$haveit"; then
15627:                           if test -d "$additional_libdir"; then
15628:                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15629:                           fi
15630:                         fi
15631:                         haveit=
15632:                         for x in $LDFLAGS $LTLIBICONV; do
15633: 
15634:   acl_save_prefix="$prefix"
15635:   prefix="$acl_final_prefix"
15636:   acl_save_exec_prefix="$exec_prefix"
15637:   exec_prefix="$acl_final_exec_prefix"
15638:   eval x=\"$x\"
15639:   exec_prefix="$acl_save_exec_prefix"
15640:   prefix="$acl_save_prefix"
15641: 
15642:                           if test "X$x" = "X-L$additional_libdir"; then
15643:                             haveit=yes
15644:                             break
15645:                           fi
15646:                         done
15647:                         if test -z "$haveit"; then
15648:                           if test -d "$additional_libdir"; then
15649:                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15650:                           fi
15651:                         fi
15652:                       fi
15653:                     fi
15654:                     ;;
15655:                   -R*)
15656:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
15657:                     if test "$enable_rpath" != no; then
15658:                                                                   haveit=
15659:                       for x in $rpathdirs; do
15660:                         if test "X$x" = "X$dir"; then
15661:                           haveit=yes
15662:                           break
15663:                         fi
15664:                       done
15665:                       if test -z "$haveit"; then
15666:                         rpathdirs="$rpathdirs $dir"
15667:                       fi
15668:                                                                   haveit=
15669:                       for x in $ltrpathdirs; do
15670:                         if test "X$x" = "X$dir"; then
15671:                           haveit=yes
15672:                           break
15673:                         fi
15674:                       done
15675:                       if test -z "$haveit"; then
15676:                         ltrpathdirs="$ltrpathdirs $dir"
15677:                       fi
15678:                     fi
15679:                     ;;
15680:                   -l*)
15681:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15682:                     ;;
15683:                   *.la)
15684:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15685:                     ;;
15686:                   *)
15687:                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15688:                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15689:                     ;;
15690:                 esac
15691:               done
15692:             fi
15693:           else
15694:                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15695:             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15696:           fi
15697:         fi
15698:       fi
15699:     done
15700:   done
15701:   if test "X$rpathdirs" != "X"; then
15702:     if test -n "$acl_hardcode_libdir_separator"; then
15703:                         alldirs=
15704:       for found_dir in $rpathdirs; do
15705:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15706:       done
15707:             acl_save_libdir="$libdir"
15708:       libdir="$alldirs"
15709:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
15710:       libdir="$acl_save_libdir"
15711:       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15712:     else
15713:             for found_dir in $rpathdirs; do
15714:         acl_save_libdir="$libdir"
15715:         libdir="$found_dir"
15716:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
15717:         libdir="$acl_save_libdir"
15718:         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15719:       done
15720:     fi
15721:   fi
15722:   if test "X$ltrpathdirs" != "X"; then
15723:             for found_dir in $ltrpathdirs; do
15724:       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15725:     done
15726:   fi
15727: 
15728: 
15729: 
15730: 
15731: 
15732: 
15733: 
15734: 
15735: 
15736: 
15737: 
15738:           am_save_CPPFLAGS="$CPPFLAGS"
15739: 
15740:   for element in $INCICONV; do
15741:     haveit=
15742:     for x in $CPPFLAGS; do
15743: 
15744:   acl_save_prefix="$prefix"
15745:   prefix="$acl_final_prefix"
15746:   acl_save_exec_prefix="$exec_prefix"
15747:   exec_prefix="$acl_final_exec_prefix"
15748:   eval x=\"$x\"
15749:   exec_prefix="$acl_save_exec_prefix"
15750:   prefix="$acl_save_prefix"
15751: 
15752:       if test "X$x" = "X$element"; then
15753:         haveit=yes
15754:         break
15755:       fi
15756:     done
15757:     if test -z "$haveit"; then
15758:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15759:     fi
15760:   done
15761: 
15762: 
15763:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15764: $as_echo_n "checking for iconv... " >&6; }
15765: if ${am_cv_func_iconv+:} false; then :
15766:   $as_echo_n "(cached) " >&6
15767: else
15768: 
15769:     am_cv_func_iconv="no, consider installing GNU libiconv"
15770:     am_cv_lib_iconv=no
15771:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772: /* end confdefs.h.  */
15773: 
15774: #include <stdlib.h>
15775: #include <iconv.h>
15776: 
15777: int
15778: main ()
15779: {
15780: iconv_t cd = iconv_open("","");
15781:            iconv(cd,NULL,NULL,NULL,NULL);
15782:            iconv_close(cd);
15783:   ;
15784:   return 0;
15785: }
15786: _ACEOF
15787: if ac_fn_c_try_link "$LINENO"; then :
15788:   am_cv_func_iconv=yes
15789: fi
15790: rm -f core conftest.err conftest.$ac_objext \
15791:     conftest$ac_exeext conftest.$ac_ext
15792:     if test "$am_cv_func_iconv" != yes; then
15793:       am_save_LIBS="$LIBS"
15794:       LIBS="$LIBS $LIBICONV"
15795:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796: /* end confdefs.h.  */
15797: 
15798: #include <stdlib.h>
15799: #include <iconv.h>
15800: 
15801: int
15802: main ()
15803: {
15804: iconv_t cd = iconv_open("","");
15805:              iconv(cd,NULL,NULL,NULL,NULL);
15806:              iconv_close(cd);
15807:   ;
15808:   return 0;
15809: }
15810: _ACEOF
15811: if ac_fn_c_try_link "$LINENO"; then :
15812:   am_cv_lib_iconv=yes
15813:         am_cv_func_iconv=yes
15814: fi
15815: rm -f core conftest.err conftest.$ac_objext \
15816:     conftest$ac_exeext conftest.$ac_ext
15817:       LIBS="$am_save_LIBS"
15818:     fi
15819: 
15820: fi
15821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15822: $as_echo "$am_cv_func_iconv" >&6; }
15823:   if test "$am_cv_func_iconv" = yes; then
15824:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15825: $as_echo_n "checking for working iconv... " >&6; }
15826: if ${am_cv_func_iconv_works+:} false; then :
15827:   $as_echo_n "(cached) " >&6
15828: else
15829: 
15830:                   am_save_LIBS="$LIBS"
15831:       if test $am_cv_lib_iconv = yes; then
15832:         LIBS="$LIBS $LIBICONV"
15833:       fi
15834:       am_cv_func_iconv_works=no
15835:       for ac_iconv_const in '' 'const'; do
15836:         if test "$cross_compiling" = yes; then :
15837:   case "$host_os" in
15838:              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15839:              *)            am_cv_func_iconv_works="guessing yes" ;;
15840:            esac
15841: else
15842:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843: /* end confdefs.h.  */
15844: 
15845: #include <iconv.h>
15846: #include <string.h>
15847: 
15848: #ifndef ICONV_CONST
15849: # define ICONV_CONST $ac_iconv_const
15850: #endif
15851: 
15852: int
15853: main ()
15854: {
15855: int result = 0;
15856:   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15857:      returns.  */
15858:   {
15859:     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15860:     if (cd_utf8_to_88591 != (iconv_t)(-1))
15861:       {
15862:         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
15863:         char buf[10];
15864:         ICONV_CONST char *inptr = input;
15865:         size_t inbytesleft = strlen (input);
15866:         char *outptr = buf;
15867:         size_t outbytesleft = sizeof (buf);
15868:         size_t res = iconv (cd_utf8_to_88591,
15869:                             &inptr, &inbytesleft,
15870:                             &outptr, &outbytesleft);
15871:         if (res == 0)
15872:           result |= 1;
15873:         iconv_close (cd_utf8_to_88591);
15874:       }
15875:   }
15876:   /* Test against Solaris 10 bug: Failures are not distinguishable from
15877:      successful returns.  */
15878:   {
15879:     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15880:     if (cd_ascii_to_88591 != (iconv_t)(-1))
15881:       {
15882:         static ICONV_CONST char input[] = "\263";
15883:         char buf[10];
15884:         ICONV_CONST char *inptr = input;
15885:         size_t inbytesleft = strlen (input);
15886:         char *outptr = buf;
15887:         size_t outbytesleft = sizeof (buf);
15888:         size_t res = iconv (cd_ascii_to_88591,
15889:                             &inptr, &inbytesleft,
15890:                             &outptr, &outbytesleft);
15891:         if (res == 0)
15892:           result |= 2;
15893:         iconv_close (cd_ascii_to_88591);
15894:       }
15895:   }
15896:   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
15897:   {
15898:     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
15899:     if (cd_88591_to_utf8 != (iconv_t)(-1))
15900:       {
15901:         static ICONV_CONST char input[] = "\304";
15902:         static char buf[2] = { (char)0xDE, (char)0xAD };
15903:         ICONV_CONST char *inptr = input;
15904:         size_t inbytesleft = 1;
15905:         char *outptr = buf;
15906:         size_t outbytesleft = 1;
15907:         size_t res = iconv (cd_88591_to_utf8,
15908:                             &inptr, &inbytesleft,
15909:                             &outptr, &outbytesleft);
15910:         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
15911:           result |= 4;
15912:         iconv_close (cd_88591_to_utf8);
15913:       }
15914:   }
15915: #if 0 /* This bug could be worked around by the caller.  */
15916:   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
15917:   {
15918:     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15919:     if (cd_88591_to_utf8 != (iconv_t)(-1))
15920:       {
15921:         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15922:         char buf[50];
15923:         ICONV_CONST char *inptr = input;
15924:         size_t inbytesleft = strlen (input);
15925:         char *outptr = buf;
15926:         size_t outbytesleft = sizeof (buf);
15927:         size_t res = iconv (cd_88591_to_utf8,
15928:                             &inptr, &inbytesleft,
15929:                             &outptr, &outbytesleft);
15930:         if ((int)res > 0)
15931:           result |= 8;
15932:         iconv_close (cd_88591_to_utf8);
15933:       }
15934:   }
15935: #endif
15936:   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15937:      provided.  */
15938:   {
15939:     /* Try standardized names.  */
15940:     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
15941:     /* Try IRIX, OSF/1 names.  */
15942:     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
15943:     /* Try AIX names.  */
15944:     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
15945:     /* Try HP-UX names.  */
15946:     iconv_t cd4 = iconv_open ("utf8", "eucJP");
15947:     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
15948:         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
15949:       result |= 16;
15950:     if (cd1 != (iconv_t)(-1))
15951:       iconv_close (cd1);
15952:     if (cd2 != (iconv_t)(-1))
15953:       iconv_close (cd2);
15954:     if (cd3 != (iconv_t)(-1))
15955:       iconv_close (cd3);
15956:     if (cd4 != (iconv_t)(-1))
15957:       iconv_close (cd4);
15958:   }
15959:   return result;
15960: 
15961:   ;
15962:   return 0;
15963: }
15964: _ACEOF
15965: if ac_fn_c_try_run "$LINENO"; then :
15966:   am_cv_func_iconv_works=yes
15967: fi
15968: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15969:   conftest.$ac_objext conftest.beam conftest.$ac_ext
15970: fi
15971: 
15972:         test "$am_cv_func_iconv_works" = no || break
15973:       done
15974:       LIBS="$am_save_LIBS"
15975: 
15976: fi
15977: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15978: $as_echo "$am_cv_func_iconv_works" >&6; }
15979:     case "$am_cv_func_iconv_works" in
15980:       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15981:       *)   am_func_iconv=yes ;;
15982:     esac
15983:   else
15984:     am_func_iconv=no am_cv_lib_iconv=no
15985:   fi
15986:   if test "$am_func_iconv" = yes; then
15987: 
15988: $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15989: 
15990:   fi
15991:   if test "$am_cv_lib_iconv" = yes; then
15992:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15993: $as_echo_n "checking how to link with libiconv... " >&6; }
15994:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15995: $as_echo "$LIBICONV" >&6; }
15996:   else
15997:             CPPFLAGS="$am_save_CPPFLAGS"
15998:     LIBICONV=
15999:     LTLIBICONV=
16000:   fi
16001: 
16002: 
16003: 
16004:   if test "$am_cv_func_iconv" = yes; then
16005:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
16006: $as_echo_n "checking for iconv declaration... " >&6; }
16007:     if ${am_cv_proto_iconv+:} false; then :
16008:   $as_echo_n "(cached) " >&6
16009: else
16010: 
16011:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012: /* end confdefs.h.  */
16013: 
16014: #include <stdlib.h>
16015: #include <iconv.h>
16016: extern
16017: #ifdef __cplusplus
16018: "C"
16019: #endif
16020: #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
16021: size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16022: #else
16023: size_t iconv();
16024: #endif
16025: 
16026: int
16027: main ()
16028: {
16029: 
16030:   ;
16031:   return 0;
16032: }
16033: _ACEOF
16034: if ac_fn_c_try_compile "$LINENO"; then :
16035:   am_cv_proto_iconv_arg1=""
16036: else
16037:   am_cv_proto_iconv_arg1="const"
16038: fi
16039: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16040:       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
16041: fi
16042: 
16043:     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
16044:     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
16045:          $am_cv_proto_iconv" >&5
16046: $as_echo "
16047:          $am_cv_proto_iconv" >&6; }
16048:   else
16049:             am_cv_proto_iconv_arg1=""
16050:   fi
16051: 
16052: cat >>confdefs.h <<_ACEOF
16053: #define ICONV_CONST $am_cv_proto_iconv_arg1
16054: _ACEOF
16055: 
16056: 
16057: 
16058: 
16059:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16060: $as_echo_n "checking whether NLS is requested... " >&6; }
16061:     # Check whether --enable-nls was given.
16062: if test "${enable_nls+set}" = set; then :
16063:   enableval=$enable_nls; USE_NLS=$enableval
16064: else
16065:   USE_NLS=yes
16066: fi
16067: 
16068:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16069: $as_echo "$USE_NLS" >&6; }
16070: 
16071: 
16072: 
16073: 
16074:       GETTEXT_MACRO_VERSION=0.19
16075: 
16076: 
16077: 
16078: 
16079: # Prepare PATH_SEPARATOR.
16080: # The user is always right.
16081: if test "${PATH_SEPARATOR+set}" != set; then
16082:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16083:   # contains only /bin. Note that ksh looks also at the FPATH variable,
16084:   # so we have to set that as well for the test.
16085:   PATH_SEPARATOR=:
16086:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16087:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16088:            || PATH_SEPARATOR=';'
16089:        }
16090: fi
16091: 
16092: # Find out how to test for executable files. Don't use a zero-byte file,
16093: # as systems may use methods other than mode bits to determine executability.
16094: cat >conf$$.file <<_ASEOF
16095: #! /bin/sh
16096: exit 0
16097: _ASEOF
16098: chmod +x conf$$.file
16099: if test -x conf$$.file >/dev/null 2>&1; then
16100:   ac_executable_p="test -x"
16101: else
16102:   ac_executable_p="test -f"
16103: fi
16104: rm -f conf$$.file
16105: 
16106: # Extract the first word of "msgfmt", so it can be a program name with args.
16107: set dummy msgfmt; ac_word=$2
16108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16109: $as_echo_n "checking for $ac_word... " >&6; }
16110: if ${ac_cv_path_MSGFMT+:} false; then :
16111:   $as_echo_n "(cached) " >&6
16112: else
16113:   case "$MSGFMT" in
16114:   [\\/]* | ?:[\\/]*)
16115:     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16116:     ;;
16117:   *)
16118:     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16119:     for ac_dir in $PATH; do
16120:       IFS="$ac_save_IFS"
16121:       test -z "$ac_dir" && ac_dir=.
16122:       for ac_exec_ext in '' $ac_executable_extensions; do
16123:         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16124:           echo "$as_me: trying $ac_dir/$ac_word..." >&5
16125:           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
16126:      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16127:             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
16128:             break 2
16129:           fi
16130:         fi
16131:       done
16132:     done
16133:     IFS="$ac_save_IFS"
16134:   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
16135:     ;;
16136: esac
16137: fi
16138: MSGFMT="$ac_cv_path_MSGFMT"
16139: if test "$MSGFMT" != ":"; then
16140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16141: $as_echo "$MSGFMT" >&6; }
16142: else
16143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16144: $as_echo "no" >&6; }
16145: fi
16146: 
16147:   # Extract the first word of "gmsgfmt", so it can be a program name with args.
16148: set dummy gmsgfmt; ac_word=$2
16149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16150: $as_echo_n "checking for $ac_word... " >&6; }
16151: if ${ac_cv_path_GMSGFMT+:} false; then :
16152:   $as_echo_n "(cached) " >&6
16153: else
16154:   case $GMSGFMT in
16155:   [\\/]* | ?:[\\/]*)
16156:   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16157:   ;;
16158:   *)
16159:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160: for as_dir in $PATH
16161: do
16162:   IFS=$as_save_IFS
16163:   test -z "$as_dir" && as_dir=.
16164:     for ac_exec_ext in '' $ac_executable_extensions; do
16165:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16166:     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16167:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16168:     break 2
16169:   fi
16170: done
16171:   done
16172: IFS=$as_save_IFS
16173: 
16174:   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16175:   ;;
16176: esac
16177: fi
16178: GMSGFMT=$ac_cv_path_GMSGFMT
16179: if test -n "$GMSGFMT"; then
16180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16181: $as_echo "$GMSGFMT" >&6; }
16182: else
16183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184: $as_echo "no" >&6; }
16185: fi
16186: 
16187: 
16188: 
16189:     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16190:     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
16191:     *) MSGFMT_015=$MSGFMT ;;
16192:   esac
16193: 
16194:   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16195:     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
16196:     *) GMSGFMT_015=$GMSGFMT ;;
16197:   esac
16198: 
16199: 
16200: 
16201: # Prepare PATH_SEPARATOR.
16202: # The user is always right.
16203: if test "${PATH_SEPARATOR+set}" != set; then
16204:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16205:   # contains only /bin. Note that ksh looks also at the FPATH variable,
16206:   # so we have to set that as well for the test.
16207:   PATH_SEPARATOR=:
16208:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16209:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16210:            || PATH_SEPARATOR=';'
16211:        }
16212: fi
16213: 
16214: # Find out how to test for executable files. Don't use a zero-byte file,
16215: # as systems may use methods other than mode bits to determine executability.
16216: cat >conf$$.file <<_ASEOF
16217: #! /bin/sh
16218: exit 0
16219: _ASEOF
16220: chmod +x conf$$.file
16221: if test -x conf$$.file >/dev/null 2>&1; then
16222:   ac_executable_p="test -x"
16223: else
16224:   ac_executable_p="test -f"
16225: fi
16226: rm -f conf$$.file
16227: 
16228: # Extract the first word of "xgettext", so it can be a program name with args.
16229: set dummy xgettext; ac_word=$2
16230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16231: $as_echo_n "checking for $ac_word... " >&6; }
16232: if ${ac_cv_path_XGETTEXT+:} false; then :
16233:   $as_echo_n "(cached) " >&6
16234: else
16235:   case "$XGETTEXT" in
16236:   [\\/]* | ?:[\\/]*)
16237:     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16238:     ;;
16239:   *)
16240:     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16241:     for ac_dir in $PATH; do
16242:       IFS="$ac_save_IFS"
16243:       test -z "$ac_dir" && ac_dir=.
16244:       for ac_exec_ext in '' $ac_executable_extensions; do
16245:         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16246:           echo "$as_me: trying $ac_dir/$ac_word..." >&5
16247:           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
16248:      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16249:             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
16250:             break 2
16251:           fi
16252:         fi
16253:       done
16254:     done
16255:     IFS="$ac_save_IFS"
16256:   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16257:     ;;
16258: esac
16259: fi
16260: XGETTEXT="$ac_cv_path_XGETTEXT"
16261: if test "$XGETTEXT" != ":"; then
16262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16263: $as_echo "$XGETTEXT" >&6; }
16264: else
16265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16266: $as_echo "no" >&6; }
16267: fi
16268: 
16269:     rm -f messages.po
16270: 
16271:     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16272:     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
16273:     *) XGETTEXT_015=$XGETTEXT ;;
16274:   esac
16275: 
16276: 
16277: 
16278: # Prepare PATH_SEPARATOR.
16279: # The user is always right.
16280: if test "${PATH_SEPARATOR+set}" != set; then
16281:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16282:   # contains only /bin. Note that ksh looks also at the FPATH variable,
16283:   # so we have to set that as well for the test.
16284:   PATH_SEPARATOR=:
16285:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16286:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16287:            || PATH_SEPARATOR=';'
16288:        }
16289: fi
16290: 
16291: # Find out how to test for executable files. Don't use a zero-byte file,
16292: # as systems may use methods other than mode bits to determine executability.
16293: cat >conf$$.file <<_ASEOF
16294: #! /bin/sh
16295: exit 0
16296: _ASEOF
16297: chmod +x conf$$.file
16298: if test -x conf$$.file >/dev/null 2>&1; then
16299:   ac_executable_p="test -x"
16300: else
16301:   ac_executable_p="test -f"
16302: fi
16303: rm -f conf$$.file
16304: 
16305: # Extract the first word of "msgmerge", so it can be a program name with args.
16306: set dummy msgmerge; ac_word=$2
16307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16308: $as_echo_n "checking for $ac_word... " >&6; }
16309: if ${ac_cv_path_MSGMERGE+:} false; then :
16310:   $as_echo_n "(cached) " >&6
16311: else
16312:   case "$MSGMERGE" in
16313:   [\\/]* | ?:[\\/]*)
16314:     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16315:     ;;
16316:   *)
16317:     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16318:     for ac_dir in $PATH; do
16319:       IFS="$ac_save_IFS"
16320:       test -z "$ac_dir" && ac_dir=.
16321:       for ac_exec_ext in '' $ac_executable_extensions; do
16322:         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16323:           echo "$as_me: trying $ac_dir/$ac_word..." >&5
16324:           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
16325:             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16326:             break 2
16327:           fi
16328:         fi
16329:       done
16330:     done
16331:     IFS="$ac_save_IFS"
16332:   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16333:     ;;
16334: esac
16335: fi
16336: MSGMERGE="$ac_cv_path_MSGMERGE"
16337: if test "$MSGMERGE" != ":"; then
16338:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16339: $as_echo "$MSGMERGE" >&6; }
16340: else
16341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342: $as_echo "no" >&6; }
16343: fi
16344: 
16345: 
16346:     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16347: 
16348: 
16349:   ac_config_commands="$ac_config_commands po-directories"
16350: 
16351: 
16352: 
16353: 
16354: 
16355: 
16356: 
16357: 
16358: 
16359: 
16360: 
16361: 
16362: 
16363: 
16364: 
16365: 
16366: 
16367: 
16368: 
16369: 
16370: 
16371: 
16372: 
16373: 
16374: 
16375: 
16376:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16377: $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16378: if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16379:   $as_echo_n "(cached) " >&6
16380: else
16381:   gt_save_LIBS="$LIBS"
16382:      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16383:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384: /* end confdefs.h.  */
16385: #include <CoreFoundation/CFPreferences.h>
16386: int
16387: main ()
16388: {
16389: CFPreferencesCopyAppValue(NULL, NULL)
16390:   ;
16391:   return 0;
16392: }
16393: _ACEOF
16394: if ac_fn_c_try_link "$LINENO"; then :
16395:   gt_cv_func_CFPreferencesCopyAppValue=yes
16396: else
16397:   gt_cv_func_CFPreferencesCopyAppValue=no
16398: fi
16399: rm -f core conftest.err conftest.$ac_objext \
16400:     conftest$ac_exeext conftest.$ac_ext
16401:      LIBS="$gt_save_LIBS"
16402: fi
16403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16404: $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16405:   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16406: 
16407: $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16408: 
16409:   fi
16410:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16411: $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16412: if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16413:   $as_echo_n "(cached) " >&6
16414: else
16415:   gt_save_LIBS="$LIBS"
16416:      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16417:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418: /* end confdefs.h.  */
16419: #include <CoreFoundation/CFLocale.h>
16420: int
16421: main ()
16422: {
16423: CFLocaleCopyCurrent();
16424:   ;
16425:   return 0;
16426: }
16427: _ACEOF
16428: if ac_fn_c_try_link "$LINENO"; then :
16429:   gt_cv_func_CFLocaleCopyCurrent=yes
16430: else
16431:   gt_cv_func_CFLocaleCopyCurrent=no
16432: fi
16433: rm -f core conftest.err conftest.$ac_objext \
16434:     conftest$ac_exeext conftest.$ac_ext
16435:      LIBS="$gt_save_LIBS"
16436: fi
16437: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16438: $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16439:   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16440: 
16441: $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16442: 
16443:   fi
16444:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
16445: $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
16446: if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
16447:   $as_echo_n "(cached) " >&6
16448: else
16449:   gt_save_LIBS="$LIBS"
16450:      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16451:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452: /* end confdefs.h.  */
16453: #include <CoreFoundation/CFLocale.h>
16454: int
16455: main ()
16456: {
16457: CFLocaleCopyPreferredLanguages();
16458:   ;
16459:   return 0;
16460: }
16461: _ACEOF
16462: if ac_fn_c_try_link "$LINENO"; then :
16463:   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
16464: else
16465:   gt_cv_func_CFLocaleCopyPreferredLanguages=no
16466: fi
16467: rm -f core conftest.err conftest.$ac_objext \
16468:     conftest$ac_exeext conftest.$ac_ext
16469:      LIBS="$gt_save_LIBS"
16470: fi
16471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
16472: $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
16473:   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
16474: 
16475: $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
16476: 
16477:   fi
16478:   INTL_MACOSX_LIBS=
16479:   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
16480:      || test $gt_cv_func_CFLocaleCopyCurrent = yes \
16481:      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
16482:     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16483:   fi
16484: 
16485: 
16486: 
16487: 
16488: 
16489: 
16490:   LIBINTL=
16491:   LTLIBINTL=
16492:   POSUB=
16493: 
16494:     case " $gt_needs " in
16495:     *" need-formatstring-macros "*) gt_api_version=3 ;;
16496:     *" need-ngettext "*) gt_api_version=2 ;;
16497:     *) gt_api_version=1 ;;
16498:   esac
16499:   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16500:   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16501: 
16502:     if test "$USE_NLS" = "yes"; then
16503:     gt_use_preinstalled_gnugettext=no
16504: 
16505: 
16506:         if test $gt_api_version -ge 3; then
16507:           gt_revision_test_code='
16508: #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16509: #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16510: #endif
16511: typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16512: '
16513:         else
16514:           gt_revision_test_code=
16515:         fi
16516:         if test $gt_api_version -ge 2; then
16517:           gt_expression_test_code=' + * ngettext ("", "", 0)'
16518:         else
16519:           gt_expression_test_code=
16520:         fi
16521: 
16522:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16523: $as_echo_n "checking for GNU gettext in libc... " >&6; }
16524: if eval \${$gt_func_gnugettext_libc+:} false; then :
16525:   $as_echo_n "(cached) " >&6
16526: else
16527:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528: /* end confdefs.h.  */
16529: 
16530: #include <libintl.h>
16531: #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16532: extern int _nl_msg_cat_cntr;
16533: extern int *_nl_domain_bindings;
16534: #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
16535: #else
16536: #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
16537: #endif
16538: $gt_revision_test_code
16539: 
16540: int
16541: main ()
16542: {
16543: 
16544: bindtextdomain ("", "");
16545: return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
16546: 
16547:   ;
16548:   return 0;
16549: }
16550: _ACEOF
16551: if ac_fn_c_try_link "$LINENO"; then :
16552:   eval "$gt_func_gnugettext_libc=yes"
16553: else
16554:   eval "$gt_func_gnugettext_libc=no"
16555: fi
16556: rm -f core conftest.err conftest.$ac_objext \
16557:     conftest$ac_exeext conftest.$ac_ext
16558: fi
16559: eval ac_res=\$$gt_func_gnugettext_libc
16560: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16561: $as_echo "$ac_res" >&6; }
16562: 
16563:         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16564: 
16565: 
16566: 
16567: 
16568: 
16569:           am_save_CPPFLAGS="$CPPFLAGS"
16570: 
16571:   for element in $INCICONV; do
16572:     haveit=
16573:     for x in $CPPFLAGS; do
16574: 
16575:   acl_save_prefix="$prefix"
16576:   prefix="$acl_final_prefix"
16577:   acl_save_exec_prefix="$exec_prefix"
16578:   exec_prefix="$acl_final_exec_prefix"
16579:   eval x=\"$x\"
16580:   exec_prefix="$acl_save_exec_prefix"
16581:   prefix="$acl_save_prefix"
16582: 
16583:       if test "X$x" = "X$element"; then
16584:         haveit=yes
16585:         break
16586:       fi
16587:     done
16588:     if test -z "$haveit"; then
16589:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16590:     fi
16591:   done
16592: 
16593: 
16594:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16595: $as_echo_n "checking for iconv... " >&6; }
16596: if ${am_cv_func_iconv+:} false; then :
16597:   $as_echo_n "(cached) " >&6
16598: else
16599: 
16600:     am_cv_func_iconv="no, consider installing GNU libiconv"
16601:     am_cv_lib_iconv=no
16602:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603: /* end confdefs.h.  */
16604: 
16605: #include <stdlib.h>
16606: #include <iconv.h>
16607: 
16608: int
16609: main ()
16610: {
16611: iconv_t cd = iconv_open("","");
16612:            iconv(cd,NULL,NULL,NULL,NULL);
16613:            iconv_close(cd);
16614:   ;
16615:   return 0;
16616: }
16617: _ACEOF
16618: if ac_fn_c_try_link "$LINENO"; then :
16619:   am_cv_func_iconv=yes
16620: fi
16621: rm -f core conftest.err conftest.$ac_objext \
16622:     conftest$ac_exeext conftest.$ac_ext
16623:     if test "$am_cv_func_iconv" != yes; then
16624:       am_save_LIBS="$LIBS"
16625:       LIBS="$LIBS $LIBICONV"
16626:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627: /* end confdefs.h.  */
16628: 
16629: #include <stdlib.h>
16630: #include <iconv.h>
16631: 
16632: int
16633: main ()
16634: {
16635: iconv_t cd = iconv_open("","");
16636:              iconv(cd,NULL,NULL,NULL,NULL);
16637:              iconv_close(cd);
16638:   ;
16639:   return 0;
16640: }
16641: _ACEOF
16642: if ac_fn_c_try_link "$LINENO"; then :
16643:   am_cv_lib_iconv=yes
16644:         am_cv_func_iconv=yes
16645: fi
16646: rm -f core conftest.err conftest.$ac_objext \
16647:     conftest$ac_exeext conftest.$ac_ext
16648:       LIBS="$am_save_LIBS"
16649:     fi
16650: 
16651: fi
16652: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16653: $as_echo "$am_cv_func_iconv" >&6; }
16654:   if test "$am_cv_func_iconv" = yes; then
16655:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16656: $as_echo_n "checking for working iconv... " >&6; }
16657: if ${am_cv_func_iconv_works+:} false; then :
16658:   $as_echo_n "(cached) " >&6
16659: else
16660: 
16661:                   am_save_LIBS="$LIBS"
16662:       if test $am_cv_lib_iconv = yes; then
16663:         LIBS="$LIBS $LIBICONV"
16664:       fi
16665:       am_cv_func_iconv_works=no
16666:       for ac_iconv_const in '' 'const'; do
16667:         if test "$cross_compiling" = yes; then :
16668:   case "$host_os" in
16669:              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16670:              *)            am_cv_func_iconv_works="guessing yes" ;;
16671:            esac
16672: else
16673:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674: /* end confdefs.h.  */
16675: 
16676: #include <iconv.h>
16677: #include <string.h>
16678: 
16679: #ifndef ICONV_CONST
16680: # define ICONV_CONST $ac_iconv_const
16681: #endif
16682: 
16683: int
16684: main ()
16685: {
16686: int result = 0;
16687:   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16688:      returns.  */
16689:   {
16690:     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16691:     if (cd_utf8_to_88591 != (iconv_t)(-1))
16692:       {
16693:         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
16694:         char buf[10];
16695:         ICONV_CONST char *inptr = input;
16696:         size_t inbytesleft = strlen (input);
16697:         char *outptr = buf;
16698:         size_t outbytesleft = sizeof (buf);
16699:         size_t res = iconv (cd_utf8_to_88591,
16700:                             &inptr, &inbytesleft,
16701:                             &outptr, &outbytesleft);
16702:         if (res == 0)
16703:           result |= 1;
16704:         iconv_close (cd_utf8_to_88591);
16705:       }
16706:   }
16707:   /* Test against Solaris 10 bug: Failures are not distinguishable from
16708:      successful returns.  */
16709:   {
16710:     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
16711:     if (cd_ascii_to_88591 != (iconv_t)(-1))
16712:       {
16713:         static ICONV_CONST char input[] = "\263";
16714:         char buf[10];
16715:         ICONV_CONST char *inptr = input;
16716:         size_t inbytesleft = strlen (input);
16717:         char *outptr = buf;
16718:         size_t outbytesleft = sizeof (buf);
16719:         size_t res = iconv (cd_ascii_to_88591,
16720:                             &inptr, &inbytesleft,
16721:                             &outptr, &outbytesleft);
16722:         if (res == 0)
16723:           result |= 2;
16724:         iconv_close (cd_ascii_to_88591);
16725:       }
16726:   }
16727:   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
16728:   {
16729:     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
16730:     if (cd_88591_to_utf8 != (iconv_t)(-1))
16731:       {
16732:         static ICONV_CONST char input[] = "\304";
16733:         static char buf[2] = { (char)0xDE, (char)0xAD };
16734:         ICONV_CONST char *inptr = input;
16735:         size_t inbytesleft = 1;
16736:         char *outptr = buf;
16737:         size_t outbytesleft = 1;
16738:         size_t res = iconv (cd_88591_to_utf8,
16739:                             &inptr, &inbytesleft,
16740:                             &outptr, &outbytesleft);
16741:         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
16742:           result |= 4;
16743:         iconv_close (cd_88591_to_utf8);
16744:       }
16745:   }
16746: #if 0 /* This bug could be worked around by the caller.  */
16747:   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
16748:   {
16749:     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16750:     if (cd_88591_to_utf8 != (iconv_t)(-1))
16751:       {
16752:         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16753:         char buf[50];
16754:         ICONV_CONST char *inptr = input;
16755:         size_t inbytesleft = strlen (input);
16756:         char *outptr = buf;
16757:         size_t outbytesleft = sizeof (buf);
16758:         size_t res = iconv (cd_88591_to_utf8,
16759:                             &inptr, &inbytesleft,
16760:                             &outptr, &outbytesleft);
16761:         if ((int)res > 0)
16762:           result |= 8;
16763:         iconv_close (cd_88591_to_utf8);
16764:       }
16765:   }
16766: #endif
16767:   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16768:      provided.  */
16769:   {
16770:     /* Try standardized names.  */
16771:     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
16772:     /* Try IRIX, OSF/1 names.  */
16773:     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
16774:     /* Try AIX names.  */
16775:     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
16776:     /* Try HP-UX names.  */
16777:     iconv_t cd4 = iconv_open ("utf8", "eucJP");
16778:     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
16779:         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
16780:       result |= 16;
16781:     if (cd1 != (iconv_t)(-1))
16782:       iconv_close (cd1);
16783:     if (cd2 != (iconv_t)(-1))
16784:       iconv_close (cd2);
16785:     if (cd3 != (iconv_t)(-1))
16786:       iconv_close (cd3);
16787:     if (cd4 != (iconv_t)(-1))
16788:       iconv_close (cd4);
16789:   }
16790:   return result;
16791: 
16792:   ;
16793:   return 0;
16794: }
16795: _ACEOF
16796: if ac_fn_c_try_run "$LINENO"; then :
16797:   am_cv_func_iconv_works=yes
16798: fi
16799: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16800:   conftest.$ac_objext conftest.beam conftest.$ac_ext
16801: fi
16802: 
16803:         test "$am_cv_func_iconv_works" = no || break
16804:       done
16805:       LIBS="$am_save_LIBS"
16806: 
16807: fi
16808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16809: $as_echo "$am_cv_func_iconv_works" >&6; }
16810:     case "$am_cv_func_iconv_works" in
16811:       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16812:       *)   am_func_iconv=yes ;;
16813:     esac
16814:   else
16815:     am_func_iconv=no am_cv_lib_iconv=no
16816:   fi
16817:   if test "$am_func_iconv" = yes; then
16818: 
16819: $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16820: 
16821:   fi
16822:   if test "$am_cv_lib_iconv" = yes; then
16823:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16824: $as_echo_n "checking how to link with libiconv... " >&6; }
16825:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16826: $as_echo "$LIBICONV" >&6; }
16827:   else
16828:             CPPFLAGS="$am_save_CPPFLAGS"
16829:     LIBICONV=
16830:     LTLIBICONV=
16831:   fi
16832: 
16833: 
16834: 
16835: 
16836: 
16837: 
16838: 
16839: 
16840: 
16841: 
16842:     use_additional=yes
16843: 
16844:   acl_save_prefix="$prefix"
16845:   prefix="$acl_final_prefix"
16846:   acl_save_exec_prefix="$exec_prefix"
16847:   exec_prefix="$acl_final_exec_prefix"
16848: 
16849:     eval additional_includedir=\"$includedir\"
16850:     eval additional_libdir=\"$libdir\"
16851: 
16852:   exec_prefix="$acl_save_exec_prefix"
16853:   prefix="$acl_save_prefix"
16854: 
16855: 
16856: # Check whether --with-libintl-prefix was given.
16857: if test "${with_libintl_prefix+set}" = set; then :
16858:   withval=$with_libintl_prefix;
16859:     if test "X$withval" = "Xno"; then
16860:       use_additional=no
16861:     else
16862:       if test "X$withval" = "X"; then
16863: 
16864:   acl_save_prefix="$prefix"
16865:   prefix="$acl_final_prefix"
16866:   acl_save_exec_prefix="$exec_prefix"
16867:   exec_prefix="$acl_final_exec_prefix"
16868: 
16869:           eval additional_includedir=\"$includedir\"
16870:           eval additional_libdir=\"$libdir\"
16871: 
16872:   exec_prefix="$acl_save_exec_prefix"
16873:   prefix="$acl_save_prefix"
16874: 
16875:       else
16876:         additional_includedir="$withval/include"
16877:         additional_libdir="$withval/$acl_libdirstem"
16878:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
16879:            && test ! -d "$withval/$acl_libdirstem"; then
16880:           additional_libdir="$withval/$acl_libdirstem2"
16881:         fi
16882:       fi
16883:     fi
16884: 
16885: fi
16886: 
16887:       LIBINTL=
16888:   LTLIBINTL=
16889:   INCINTL=
16890:   LIBINTL_PREFIX=
16891:       HAVE_LIBINTL=
16892:   rpathdirs=
16893:   ltrpathdirs=
16894:   names_already_handled=
16895:   names_next_round='intl '
16896:   while test -n "$names_next_round"; do
16897:     names_this_round="$names_next_round"
16898:     names_next_round=
16899:     for name in $names_this_round; do
16900:       already_handled=
16901:       for n in $names_already_handled; do
16902:         if test "$n" = "$name"; then
16903:           already_handled=yes
16904:           break
16905:         fi
16906:       done
16907:       if test -z "$already_handled"; then
16908:         names_already_handled="$names_already_handled $name"
16909:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
16910:         eval value=\"\$HAVE_LIB$uppername\"
16911:         if test -n "$value"; then
16912:           if test "$value" = yes; then
16913:             eval value=\"\$LIB$uppername\"
16914:             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16915:             eval value=\"\$LTLIB$uppername\"
16916:             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16917:           else
16918:                                     :
16919:           fi
16920:         else
16921:                               found_dir=
16922:           found_la=
16923:           found_so=
16924:           found_a=
16925:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16926:           if test -n "$acl_shlibext"; then
16927:             shrext=".$acl_shlibext"             # typically: shrext=.so
16928:           else
16929:             shrext=
16930:           fi
16931:           if test $use_additional = yes; then
16932:             dir="$additional_libdir"
16933:                                     if test -n "$acl_shlibext"; then
16934:               if test -f "$dir/$libname$shrext"; then
16935:                 found_dir="$dir"
16936:                 found_so="$dir/$libname$shrext"
16937:               else
16938:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16939:                   ver=`(cd "$dir" && \
16940:                         for f in "$libname$shrext".*; do echo "$f"; done \
16941:                         | sed -e "s,^$libname$shrext\\\\.,," \
16942:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16943:                         | sed 1q ) 2>/dev/null`
16944:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16945:                     found_dir="$dir"
16946:                     found_so="$dir/$libname$shrext.$ver"
16947:                   fi
16948:                 else
16949:                   eval library_names=\"$acl_library_names_spec\"
16950:                   for f in $library_names; do
16951:                     if test -f "$dir/$f"; then
16952:                       found_dir="$dir"
16953:                       found_so="$dir/$f"
16954:                       break
16955:                     fi
16956:                   done
16957:                 fi
16958:               fi
16959:             fi
16960:                         if test "X$found_dir" = "X"; then
16961:               if test -f "$dir/$libname.$acl_libext"; then
16962:                 found_dir="$dir"
16963:                 found_a="$dir/$libname.$acl_libext"
16964:               fi
16965:             fi
16966:             if test "X$found_dir" != "X"; then
16967:               if test -f "$dir/$libname.la"; then
16968:                 found_la="$dir/$libname.la"
16969:               fi
16970:             fi
16971:           fi
16972:           if test "X$found_dir" = "X"; then
16973:             for x in $LDFLAGS $LTLIBINTL; do
16974: 
16975:   acl_save_prefix="$prefix"
16976:   prefix="$acl_final_prefix"
16977:   acl_save_exec_prefix="$exec_prefix"
16978:   exec_prefix="$acl_final_exec_prefix"
16979:   eval x=\"$x\"
16980:   exec_prefix="$acl_save_exec_prefix"
16981:   prefix="$acl_save_prefix"
16982: 
16983:               case "$x" in
16984:                 -L*)
16985:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
16986:                                     if test -n "$acl_shlibext"; then
16987:                     if test -f "$dir/$libname$shrext"; then
16988:                       found_dir="$dir"
16989:                       found_so="$dir/$libname$shrext"
16990:                     else
16991:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16992:                         ver=`(cd "$dir" && \
16993:                               for f in "$libname$shrext".*; do echo "$f"; done \
16994:                               | sed -e "s,^$libname$shrext\\\\.,," \
16995:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16996:                               | sed 1q ) 2>/dev/null`
16997:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16998:                           found_dir="$dir"
16999:                           found_so="$dir/$libname$shrext.$ver"
17000:                         fi
17001:                       else
17002:                         eval library_names=\"$acl_library_names_spec\"
17003:                         for f in $library_names; do
17004:                           if test -f "$dir/$f"; then
17005:                             found_dir="$dir"
17006:                             found_so="$dir/$f"
17007:                             break
17008:                           fi
17009:                         done
17010:                       fi
17011:                     fi
17012:                   fi
17013:                                     if test "X$found_dir" = "X"; then
17014:                     if test -f "$dir/$libname.$acl_libext"; then
17015:                       found_dir="$dir"
17016:                       found_a="$dir/$libname.$acl_libext"
17017:                     fi
17018:                   fi
17019:                   if test "X$found_dir" != "X"; then
17020:                     if test -f "$dir/$libname.la"; then
17021:                       found_la="$dir/$libname.la"
17022:                     fi
17023:                   fi
17024:                   ;;
17025:               esac
17026:               if test "X$found_dir" != "X"; then
17027:                 break
17028:               fi
17029:             done
17030:           fi
17031:           if test "X$found_dir" != "X"; then
17032:                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17033:             if test "X$found_so" != "X"; then
17034:                                                         if test "$enable_rpath" = no \
17035:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17036:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17037:                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17038:               else
17039:                                                                                 haveit=
17040:                 for x in $ltrpathdirs; do
17041:                   if test "X$x" = "X$found_dir"; then
17042:                     haveit=yes
17043:                     break
17044:                   fi
17045:                 done
17046:                 if test -z "$haveit"; then
17047:                   ltrpathdirs="$ltrpathdirs $found_dir"
17048:                 fi
17049:                                 if test "$acl_hardcode_direct" = yes; then
17050:                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17051:                 else
17052:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17053:                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17054:                                                             haveit=
17055:                     for x in $rpathdirs; do
17056:                       if test "X$x" = "X$found_dir"; then
17057:                         haveit=yes
17058:                         break
17059:                       fi
17060:                     done
17061:                     if test -z "$haveit"; then
17062:                       rpathdirs="$rpathdirs $found_dir"
17063:                     fi
17064:                   else
17065:                                                                                 haveit=
17066:                     for x in $LDFLAGS $LIBINTL; do
17067: 
17068:   acl_save_prefix="$prefix"
17069:   prefix="$acl_final_prefix"
17070:   acl_save_exec_prefix="$exec_prefix"
17071:   exec_prefix="$acl_final_exec_prefix"
17072:   eval x=\"$x\"
17073:   exec_prefix="$acl_save_exec_prefix"
17074:   prefix="$acl_save_prefix"
17075: 
17076:                       if test "X$x" = "X-L$found_dir"; then
17077:                         haveit=yes
17078:                         break
17079:                       fi
17080:                     done
17081:                     if test -z "$haveit"; then
17082:                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17083:                     fi
17084:                     if test "$acl_hardcode_minus_L" != no; then
17085:                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17086:                     else
17087:                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17088:                     fi
17089:                   fi
17090:                 fi
17091:               fi
17092:             else
17093:               if test "X$found_a" != "X"; then
17094:                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17095:               else
17096:                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17097:               fi
17098:             fi
17099:                         additional_includedir=
17100:             case "$found_dir" in
17101:               */$acl_libdirstem | */$acl_libdirstem/)
17102:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17103:                 if test "$name" = 'intl'; then
17104:                   LIBINTL_PREFIX="$basedir"
17105:                 fi
17106:                 additional_includedir="$basedir/include"
17107:                 ;;
17108:               */$acl_libdirstem2 | */$acl_libdirstem2/)
17109:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17110:                 if test "$name" = 'intl'; then
17111:                   LIBINTL_PREFIX="$basedir"
17112:                 fi
17113:                 additional_includedir="$basedir/include"
17114:                 ;;
17115:             esac
17116:             if test "X$additional_includedir" != "X"; then
17117:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17118:                 haveit=
17119:                 if test "X$additional_includedir" = "X/usr/local/include"; then
17120:                   if test -n "$GCC"; then
17121:                     case $host_os in
17122:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17123:                     esac
17124:                   fi
17125:                 fi
17126:                 if test -z "$haveit"; then
17127:                   for x in $CPPFLAGS $INCINTL; do
17128: 
17129:   acl_save_prefix="$prefix"
17130:   prefix="$acl_final_prefix"
17131:   acl_save_exec_prefix="$exec_prefix"
17132:   exec_prefix="$acl_final_exec_prefix"
17133:   eval x=\"$x\"
17134:   exec_prefix="$acl_save_exec_prefix"
17135:   prefix="$acl_save_prefix"
17136: 
17137:                     if test "X$x" = "X-I$additional_includedir"; then
17138:                       haveit=yes
17139:                       break
17140:                     fi
17141:                   done
17142:                   if test -z "$haveit"; then
17143:                     if test -d "$additional_includedir"; then
17144:                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17145:                     fi
17146:                   fi
17147:                 fi
17148:               fi
17149:             fi
17150:                         if test -n "$found_la"; then
17151:                                                         save_libdir="$libdir"
17152:               case "$found_la" in
17153:                 */* | *\\*) . "$found_la" ;;
17154:                 *) . "./$found_la" ;;
17155:               esac
17156:               libdir="$save_libdir"
17157:                             for dep in $dependency_libs; do
17158:                 case "$dep" in
17159:                   -L*)
17160:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17161:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17162:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17163:                       haveit=
17164:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17165:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17166:                         if test -n "$GCC"; then
17167:                           case $host_os in
17168:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17169:                           esac
17170:                         fi
17171:                       fi
17172:                       if test -z "$haveit"; then
17173:                         haveit=
17174:                         for x in $LDFLAGS $LIBINTL; do
17175: 
17176:   acl_save_prefix="$prefix"
17177:   prefix="$acl_final_prefix"
17178:   acl_save_exec_prefix="$exec_prefix"
17179:   exec_prefix="$acl_final_exec_prefix"
17180:   eval x=\"$x\"
17181:   exec_prefix="$acl_save_exec_prefix"
17182:   prefix="$acl_save_prefix"
17183: 
17184:                           if test "X$x" = "X-L$additional_libdir"; then
17185:                             haveit=yes
17186:                             break
17187:                           fi
17188:                         done
17189:                         if test -z "$haveit"; then
17190:                           if test -d "$additional_libdir"; then
17191:                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17192:                           fi
17193:                         fi
17194:                         haveit=
17195:                         for x in $LDFLAGS $LTLIBINTL; do
17196: 
17197:   acl_save_prefix="$prefix"
17198:   prefix="$acl_final_prefix"
17199:   acl_save_exec_prefix="$exec_prefix"
17200:   exec_prefix="$acl_final_exec_prefix"
17201:   eval x=\"$x\"
17202:   exec_prefix="$acl_save_exec_prefix"
17203:   prefix="$acl_save_prefix"
17204: 
17205:                           if test "X$x" = "X-L$additional_libdir"; then
17206:                             haveit=yes
17207:                             break
17208:                           fi
17209:                         done
17210:                         if test -z "$haveit"; then
17211:                           if test -d "$additional_libdir"; then
17212:                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17213:                           fi
17214:                         fi
17215:                       fi
17216:                     fi
17217:                     ;;
17218:                   -R*)
17219:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17220:                     if test "$enable_rpath" != no; then
17221:                                                                   haveit=
17222:                       for x in $rpathdirs; do
17223:                         if test "X$x" = "X$dir"; then
17224:                           haveit=yes
17225:                           break
17226:                         fi
17227:                       done
17228:                       if test -z "$haveit"; then
17229:                         rpathdirs="$rpathdirs $dir"
17230:                       fi
17231:                                                                   haveit=
17232:                       for x in $ltrpathdirs; do
17233:                         if test "X$x" = "X$dir"; then
17234:                           haveit=yes
17235:                           break
17236:                         fi
17237:                       done
17238:                       if test -z "$haveit"; then
17239:                         ltrpathdirs="$ltrpathdirs $dir"
17240:                       fi
17241:                     fi
17242:                     ;;
17243:                   -l*)
17244:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17245:                     ;;
17246:                   *.la)
17247:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17248:                     ;;
17249:                   *)
17250:                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17251:                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17252:                     ;;
17253:                 esac
17254:               done
17255:             fi
17256:           else
17257:                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17258:             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17259:           fi
17260:         fi
17261:       fi
17262:     done
17263:   done
17264:   if test "X$rpathdirs" != "X"; then
17265:     if test -n "$acl_hardcode_libdir_separator"; then
17266:                         alldirs=
17267:       for found_dir in $rpathdirs; do
17268:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17269:       done
17270:             acl_save_libdir="$libdir"
17271:       libdir="$alldirs"
17272:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
17273:       libdir="$acl_save_libdir"
17274:       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17275:     else
17276:             for found_dir in $rpathdirs; do
17277:         acl_save_libdir="$libdir"
17278:         libdir="$found_dir"
17279:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
17280:         libdir="$acl_save_libdir"
17281:         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17282:       done
17283:     fi
17284:   fi
17285:   if test "X$ltrpathdirs" != "X"; then
17286:             for found_dir in $ltrpathdirs; do
17287:       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17288:     done
17289:   fi
17290: 
17291: 
17292: 
17293: 
17294: 
17295:           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17296: $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17297: if eval \${$gt_func_gnugettext_libintl+:} false; then :
17298:   $as_echo_n "(cached) " >&6
17299: else
17300:   gt_save_CPPFLAGS="$CPPFLAGS"
17301:             CPPFLAGS="$CPPFLAGS $INCINTL"
17302:             gt_save_LIBS="$LIBS"
17303:             LIBS="$LIBS $LIBINTL"
17304:                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305: /* end confdefs.h.  */
17306: 
17307: #include <libintl.h>
17308: #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17309: extern int _nl_msg_cat_cntr;
17310: extern
17311: #ifdef __cplusplus
17312: "C"
17313: #endif
17314: const char *_nl_expand_alias (const char *);
17315: #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
17316: #else
17317: #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17318: #endif
17319: $gt_revision_test_code
17320: 
17321: int
17322: main ()
17323: {
17324: 
17325: bindtextdomain ("", "");
17326: return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17327: 
17328:   ;
17329:   return 0;
17330: }
17331: _ACEOF
17332: if ac_fn_c_try_link "$LINENO"; then :
17333:   eval "$gt_func_gnugettext_libintl=yes"
17334: else
17335:   eval "$gt_func_gnugettext_libintl=no"
17336: fi
17337: rm -f core conftest.err conftest.$ac_objext \
17338:     conftest$ac_exeext conftest.$ac_ext
17339:                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17340:               LIBS="$LIBS $LIBICONV"
17341:               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342: /* end confdefs.h.  */
17343: 
17344: #include <libintl.h>
17345: #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17346: extern int _nl_msg_cat_cntr;
17347: extern
17348: #ifdef __cplusplus
17349: "C"
17350: #endif
17351: const char *_nl_expand_alias (const char *);
17352: #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
17353: #else
17354: #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17355: #endif
17356: $gt_revision_test_code
17357: 
17358: int
17359: main ()
17360: {
17361: 
17362: bindtextdomain ("", "");
17363: return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17364: 
17365:   ;
17366:   return 0;
17367: }
17368: _ACEOF
17369: if ac_fn_c_try_link "$LINENO"; then :
17370:   LIBINTL="$LIBINTL $LIBICONV"
17371:                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17372:                  eval "$gt_func_gnugettext_libintl=yes"
17373: 
17374: fi
17375: rm -f core conftest.err conftest.$ac_objext \
17376:     conftest$ac_exeext conftest.$ac_ext
17377:             fi
17378:             CPPFLAGS="$gt_save_CPPFLAGS"
17379:             LIBS="$gt_save_LIBS"
17380: fi
17381: eval ac_res=\$$gt_func_gnugettext_libintl
17382: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17383: $as_echo "$ac_res" >&6; }
17384:         fi
17385: 
17386:                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17387:            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17388:                 && test "$PACKAGE" != gettext-runtime \
17389:                 && test "$PACKAGE" != gettext-tools; }; then
17390:           gt_use_preinstalled_gnugettext=yes
17391:         else
17392:                     LIBINTL=
17393:           LTLIBINTL=
17394:           INCINTL=
17395:         fi
17396: 
17397: 
17398: 
17399:     if test -n "$INTL_MACOSX_LIBS"; then
17400:       if test "$gt_use_preinstalled_gnugettext" = "yes" \
17401:          || test "$nls_cv_use_gnu_gettext" = "yes"; then
17402:                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17403:         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17404:       fi
17405:     fi
17406: 
17407:     if test "$gt_use_preinstalled_gnugettext" = "yes" \
17408:        || test "$nls_cv_use_gnu_gettext" = "yes"; then
17409: 
17410: $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17411: 
17412:     else
17413:       USE_NLS=no
17414:     fi
17415:   fi
17416: 
17417:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17418: $as_echo_n "checking whether to use NLS... " >&6; }
17419:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17420: $as_echo "$USE_NLS" >&6; }
17421:   if test "$USE_NLS" = "yes"; then
17422:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17423: $as_echo_n "checking where the gettext function comes from... " >&6; }
17424:     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17425:       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17426:         gt_source="external libintl"
17427:       else
17428:         gt_source="libc"
17429:       fi
17430:     else
17431:       gt_source="included intl directory"
17432:     fi
17433:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17434: $as_echo "$gt_source" >&6; }
17435:   fi
17436: 
17437:   if test "$USE_NLS" = "yes"; then
17438: 
17439:     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17440:       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17441:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17442: $as_echo_n "checking how to link with libintl... " >&6; }
17443:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17444: $as_echo "$LIBINTL" >&6; }
17445: 
17446:   for element in $INCINTL; do
17447:     haveit=
17448:     for x in $CPPFLAGS; do
17449: 
17450:   acl_save_prefix="$prefix"
17451:   prefix="$acl_final_prefix"
17452:   acl_save_exec_prefix="$exec_prefix"
17453:   exec_prefix="$acl_final_exec_prefix"
17454:   eval x=\"$x\"
17455:   exec_prefix="$acl_save_exec_prefix"
17456:   prefix="$acl_save_prefix"
17457: 
17458:       if test "X$x" = "X$element"; then
17459:         haveit=yes
17460:         break
17461:       fi
17462:     done
17463:     if test -z "$haveit"; then
17464:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17465:     fi
17466:   done
17467: 
17468:       fi
17469: 
17470: 
17471: $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17472: 
17473: 
17474: $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17475: 
17476:     fi
17477: 
17478:         POSUB=po
17479:   fi
17480: 
17481: 
17482: 
17483:     INTLLIBS="$LIBINTL"
17484: 
17485: 
17486: 
17487: 
17488: 
17489: 
17490: 
17491: 
17492: 
17493: 
17494:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17495: $as_echo_n "checking for mbstate_t... " >&6; }
17496: if ${ac_cv_type_mbstate_t+:} false; then :
17497:   $as_echo_n "(cached) " >&6
17498: else
17499:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500: /* end confdefs.h.  */
17501: $ac_includes_default
17502: /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17503:    <wchar.h>.
17504:    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17505:    included before <wchar.h>.  */
17506: #include <stddef.h>
17507: #include <stdio.h>
17508: #include <time.h>
17509: #include <wchar.h>
17510: int
17511: main ()
17512: {
17513: mbstate_t x; return sizeof x;
17514:   ;
17515:   return 0;
17516: }
17517: _ACEOF
17518: if ac_fn_c_try_compile "$LINENO"; then :
17519:   ac_cv_type_mbstate_t=yes
17520: else
17521:   ac_cv_type_mbstate_t=no
17522: fi
17523: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524: fi
17525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
17526: $as_echo "$ac_cv_type_mbstate_t" >&6; }
17527:    if test $ac_cv_type_mbstate_t = yes; then
17528: 
17529: $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17530: 
17531:    else
17532: 
17533: $as_echo "#define mbstate_t int" >>confdefs.h
17534: 
17535:    fi
17536: 
17537: 
17538:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
17539: $as_echo_n "checking for wchar_t... " >&6; }
17540: if ${gt_cv_c_wchar_t+:} false; then :
17541:   $as_echo_n "(cached) " >&6
17542: else
17543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544: /* end confdefs.h.  */
17545: #include <stddef.h>
17546:             wchar_t foo = (wchar_t)'\0';
17547: int
17548: main ()
17549: {
17550: 
17551:   ;
17552:   return 0;
17553: }
17554: _ACEOF
17555: if ac_fn_c_try_compile "$LINENO"; then :
17556:   gt_cv_c_wchar_t=yes
17557: else
17558:   gt_cv_c_wchar_t=no
17559: fi
17560: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17561: fi
17562: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
17563: $as_echo "$gt_cv_c_wchar_t" >&6; }
17564:   if test $gt_cv_c_wchar_t = yes; then
17565: 
17566: $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
17567: 
17568:   fi
17569: 
17570: 
17571: 
17572: if test "$am_cv_func_iconv" = yes -a -n "$am_cv_proto_iconv_arg1"; then
17573:   ICONV_CONST="const"
17574: else
17575:   ICONV_CONST=""
17576: fi
17577: 
17578: 
17579: if test $gt_cv_c_wchar_t = yes; then
17580:   HAVE_WCHAR_T=1
17581: else
17582:   HAVE_WCHAR_T=0
17583: fi
17584: 
17585: 
17586: for ac_func in getc_unlocked mbrtowc wcrtomb mbsinit setlocale
17587: do :
17588:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17589: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17590: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17591:   cat >>confdefs.h <<_ACEOF
17592: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17593: _ACEOF
17594: 
17595: fi
17596: done
17597: 
17598: 
17599: if test $ac_cv_func_wcrtomb = yes || test $ac_cv_func_mbrtowc = yes; then
17600:   USE_MBSTATE_T=1
17601: else
17602:   USE_MBSTATE_T=0
17603: fi
17604: 
17605: 
17606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> is standalone" >&5
17607: $as_echo_n "checking whether <wchar.h> is standalone... " >&6; }
17608: if ${gl_cv_header_wchar_h_standalone+:} false; then :
17609:   $as_echo_n "(cached) " >&6
17610: else
17611:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612: /* end confdefs.h.  */
17613: #include <wchar.h>
17614:           wchar_t w;
17615: int
17616: main ()
17617: {
17618: 
17619:   ;
17620:   return 0;
17621: }
17622: _ACEOF
17623: if ac_fn_c_try_compile "$LINENO"; then :
17624:   gl_cv_header_wchar_h_standalone=yes
17625: else
17626:   gl_cv_header_wchar_h_standalone=no
17627: fi
17628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17629: fi
17630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_standalone" >&5
17631: $as_echo "$gl_cv_header_wchar_h_standalone" >&6; }
17632: if test $gl_cv_header_wchar_h_standalone = yes; then
17633:   BROKEN_WCHAR_H=0
17634: else
17635:   BROKEN_WCHAR_H=1
17636: fi
17637: 
17638: 
17639: for ac_func in memmove
17640: do :
17641:   ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
17642: if test "x$ac_cv_func_memmove" = xyes; then :
17643:   cat >>confdefs.h <<_ACEOF
17644: #define HAVE_MEMMOVE 1
17645: _ACEOF
17646: 
17647: else
17648:   SRCLIBOBJS="$SRCLIBOBJS $ac_func.$ac_objext"
17649: fi
17650: done
17651: 
17652: 
17653: 
17654:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
17655: $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
17656: if ${am_cv_langinfo_codeset+:} false; then :
17657:   $as_echo_n "(cached) " >&6
17658: else
17659:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660: /* end confdefs.h.  */
17661: #include <langinfo.h>
17662: int
17663: main ()
17664: {
17665: char* cs = nl_langinfo(CODESET); return !cs;
17666:   ;
17667:   return 0;
17668: }
17669: _ACEOF
17670: if ac_fn_c_try_link "$LINENO"; then :
17671:   am_cv_langinfo_codeset=yes
17672: else
17673:   am_cv_langinfo_codeset=no
17674: fi
17675: rm -f core conftest.err conftest.$ac_objext \
17676:     conftest$ac_exeext conftest.$ac_ext
17677: 
17678: fi
17679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
17680: $as_echo "$am_cv_langinfo_codeset" >&6; }
17681:   if test $am_cv_langinfo_codeset = yes; then
17682: 
17683: $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
17684: 
17685:   fi
17686: 
17687: 
17688: 
17689: 
17690:   for ac_header in $ac_header_list
17691: do :
17692:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17693: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
17694: "
17695: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17696:   cat >>confdefs.h <<_ACEOF
17697: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17698: _ACEOF
17699: 
17700: fi
17701: 
17702: done
17703: 
17704: 
17705: 
17706: 
17707: 
17708: 
17709:   for ac_func in $ac_func_list
17710: do :
17711:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17712: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17713: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17714:   cat >>confdefs.h <<_ACEOF
17715: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17716: _ACEOF
17717: 
17718: fi
17719: done
17720: 
17721: 
17722: 
17723: 
17724: 
17725: 
17726: 
17727: 
17728:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
17729: $as_echo_n "checking for working fcntl.h... " >&6; }
17730: if ${gl_cv_header_working_fcntl_h+:} false; then :
17731:   $as_echo_n "(cached) " >&6
17732: else
17733:   if test "$cross_compiling" = yes; then :
17734:   case "$host_os" in
17735:                   # Guess 'no' on native Windows.
17736:           mingw*) gl_cv_header_working_fcntl_h='no' ;;
17737:           *)      gl_cv_header_working_fcntl_h=cross-compiling ;;
17738:         esac
17739: 
17740: else
17741:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742: /* end confdefs.h.  */
17743: #include <sys/types.h>
17744:            #include <sys/stat.h>
17745:            #if HAVE_UNISTD_H
17746:            # include <unistd.h>
17747:            #else /* on Windows with MSVC */
17748:            # include <io.h>
17749:            # include <stdlib.h>
17750:            # defined sleep(n) _sleep ((n) * 1000)
17751:            #endif
17752:            #include <fcntl.h>
17753:            #ifndef O_NOATIME
17754:             #define O_NOATIME 0
17755:            #endif
17756:            #ifndef O_NOFOLLOW
17757:             #define O_NOFOLLOW 0
17758:            #endif
17759:            static int const constants[] =
17760:             {
17761:               O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
17762:               O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
17763:             };
17764: 
17765: int
17766: main ()
17767: {
17768: 
17769:             int result = !constants;
17770:             #if HAVE_SYMLINK
17771:             {
17772:               static char const sym[] = "conftest.sym";
17773:               if (symlink ("/dev/null", sym) != 0)
17774:                 result |= 2;
17775:               else
17776:                 {
17777:                   int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
17778:                   if (fd >= 0)
17779:                     {
17780:                       close (fd);
17781:                       result |= 4;
17782:                     }
17783:                 }
17784:               if (unlink (sym) != 0 || symlink (".", sym) != 0)
17785:                 result |= 2;
17786:               else
17787:                 {
17788:                   int fd = open (sym, O_RDONLY | O_NOFOLLOW);
17789:                   if (fd >= 0)
17790:                     {
17791:                       close (fd);
17792:                       result |= 4;
17793:                     }
17794:                 }
17795:               unlink (sym);
17796:             }
17797:             #endif
17798:             {
17799:               static char const file[] = "confdefs.h";
17800:               int fd = open (file, O_RDONLY | O_NOATIME);
17801:               if (fd < 0)
17802:                 result |= 8;
17803:               else
17804:                 {
17805:                   struct stat st0;
17806:                   if (fstat (fd, &st0) != 0)
17807:                     result |= 16;
17808:                   else
17809:                     {
17810:                       char c;
17811:                       sleep (1);
17812:                       if (read (fd, &c, 1) != 1)
17813:                         result |= 24;
17814:                       else
17815:                         {
17816:                           if (close (fd) != 0)
17817:                             result |= 32;
17818:                           else
17819:                             {
17820:                               struct stat st1;
17821:                               if (stat (file, &st1) != 0)
17822:                                 result |= 40;
17823:                               else
17824:                                 if (st0.st_atime != st1.st_atime)
17825:                                   result |= 64;
17826:                             }
17827:                         }
17828:                     }
17829:                 }
17830:             }
17831:             return result;
17832:   ;
17833:   return 0;
17834: }
17835: _ACEOF
17836: if ac_fn_c_try_run "$LINENO"; then :
17837:   gl_cv_header_working_fcntl_h=yes
17838: else
17839:   case $? in #(
17840:         4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
17841:         64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
17842:         68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
17843:          *) gl_cv_header_working_fcntl_h='no';;
17844:         esac
17845: fi
17846: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17847:   conftest.$ac_objext conftest.beam conftest.$ac_ext
17848: fi
17849: 
17850: 
17851: fi
17852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
17853: $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
17854: 
17855:   case $gl_cv_header_working_fcntl_h in #(
17856:   *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
17857:   *) ac_val=1;;
17858:   esac
17859: 
17860: cat >>confdefs.h <<_ACEOF
17861: #define HAVE_WORKING_O_NOATIME $ac_val
17862: _ACEOF
17863: 
17864: 
17865:   case $gl_cv_header_working_fcntl_h in #(
17866:   *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
17867:   *) ac_val=1;;
17868:   esac
17869: 
17870: cat >>confdefs.h <<_ACEOF
17871: #define HAVE_WORKING_O_NOFOLLOW $ac_val
17872: _ACEOF
17873: 
17874: 
17875: 
17876: 
17877: 
17878:     for ac_header in wchar.h
17879: do :
17880:   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17881: if test "x$ac_cv_header_wchar_h" = xyes; then :
17882:   cat >>confdefs.h <<_ACEOF
17883: #define HAVE_WCHAR_H 1
17884: _ACEOF
17885: 
17886: fi
17887: 
17888: done
17889: 
17890: 
17891:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EILSEQ" >&5
17892: $as_echo_n "checking for EILSEQ... " >&6; }
17893: if ${ac_cv_decl_EILSEQ+:} false; then :
17894:   $as_echo_n "(cached) " >&6
17895: else
17896: 
17897:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898: /* end confdefs.h.  */
17899: 
17900: #include <errno.h>
17901: #ifdef EILSEQ
17902: yes
17903: #endif
17904: 
17905: _ACEOF
17906: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17907:   $EGREP "yes" >/dev/null 2>&1; then :
17908:   have_eilseq=1
17909: fi
17910: rm -f conftest*
17911: 
17912:     if test -n "$have_eilseq"; then
17913:             ac_cv_decl_EILSEQ=yes
17914:     else
17915:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916: /* end confdefs.h.  */
17917: 
17918: #include <errno.h>
17919: #if HAVE_WCHAR_H
17920: #include <wchar.h>
17921: #endif
17922: #ifdef EILSEQ
17923: yes
17924: #endif
17925: 
17926: _ACEOF
17927: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17928:   $EGREP "yes" >/dev/null 2>&1; then :
17929:   have_eilseq=1
17930: fi
17931: rm -f conftest*
17932: 
17933:       if test -n "$have_eilseq"; then
17934:                         if ac_fn_c_compute_int "$LINENO" "EILSEQ" "ac_cv_decl_EILSEQ"        "
17935: #include <errno.h>
17936: #if HAVE_WCHAR_H
17937: #include <wchar.h>
17938: #endif
17939: /* The following two lines are a workaround against an autoconf-2.52 bug.  */
17940: #include <stdio.h>
17941: #include <stdlib.h>
17942: "; then :
17943: 
17944: fi
17945: 
17946: 
17947:       else
17948:                                 ac_cv_decl_EILSEQ=ENOENT
17949:       fi
17950:     fi
17951: 
17952: fi
17953: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_EILSEQ" >&5
17954: $as_echo "$ac_cv_decl_EILSEQ" >&6; }
17955:   if test "$ac_cv_decl_EILSEQ" != yes; then
17956: 
17957: cat >>confdefs.h <<_ACEOF
17958: #define EILSEQ $ac_cv_decl_EILSEQ
17959: _ACEOF
17960: 
17961:     EILSEQ="$ac_cv_decl_EILSEQ"
17962: 
17963:   fi
17964: 
17965: 
17966: { $as_echo "$as_me:${as_lineno-$LINENO}: checking byte ordering" >&5
17967: $as_echo_n "checking byte ordering... " >&6; }
17968: if ${cl_cv_sys_endian+:} false; then :
17969:   $as_echo_n "(cached) " >&6
17970: else
17971: 
17972: if test "$cross_compiling" = yes; then :
17973:   : # must guess the endianness
17974: 
17975: else
17976:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977: /* end confdefs.h.  */
17978: int main () {
17979:   /* Are we little or big endian?  From Harbison&Steele.  */
17980:   union
17981:   {
17982:     long l;
17983:     char c[sizeof (long)];
17984:   } u;
17985:   u.l = 1;
17986:   exit (u.c[0] == 1);
17987: }
17988: _ACEOF
17989: if ac_fn_c_try_run "$LINENO"; then :
17990:   cl_cv_sys_endian="big endian"
17991: else
17992:   cl_cv_sys_endian="little endian"
17993: fi
17994: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17995:   conftest.$ac_objext conftest.beam conftest.$ac_ext
17996: fi
17997: 
17998: if test -z "$cl_cv_sys_endian"; then
17999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000: /* end confdefs.h.  */
18001: #if defined(m68k) || defined(__m68k__) || defined(mc68000) || defined(mc68020) || defined(__mc68020__) || defined(sparc) || defined(__sparc__) || defined(MIPSEB) || defined(__MIPSEB__) || defined(hppa) || defined(__hppa) || defined(m88000) || defined(__m88k__)
18002:   yes
18003: #endif
18004: 
18005: _ACEOF
18006: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18007:   $EGREP "yes" >/dev/null 2>&1; then :
18008:   cl_cv_sys_endian="big endian"
18009: fi
18010: rm -f conftest*
18011: 
18012: fi
18013: if test -z "$cl_cv_sys_endian"; then
18014: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015: /* end confdefs.h.  */
18016: #if defined(i386) || defined(__i386) || defined(__i386__) || defined(_I386) || defined(MIPSEL) || defined(__MIPSEL__) || defined(__alpha)
18017:   yes
18018: #endif
18019: 
18020: _ACEOF
18021: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18022:   $EGREP "yes" >/dev/null 2>&1; then :
18023:   cl_cv_sys_endian="little endian"
18024: fi
18025: rm -f conftest*
18026: 
18027: fi
18028: if test -z "$cl_cv_sys_endian"; then
18029: cl_cv_sys_endian="guessing little endian"
18030: fi
18031: 
18032: fi
18033: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_sys_endian" >&5
18034: $as_echo "$cl_cv_sys_endian" >&6; }
18035: case "$cl_cv_sys_endian" in
18036:   *little*)
18037: 
18038: $as_echo "#define WORDS_LITTLEENDIAN 1" >>confdefs.h
18039:  ;;
18040:   *big*) ;;
18041: esac
18042: 
18043: 
18044: 
18045: 
18046: 
18047: 
18048: 
18049: 
18050:           LIBC_FATAL_STDERR_=1
18051:   export LIBC_FATAL_STDERR_
18052: 
18053: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18054: if test "x$ac_cv_type_size_t" = xyes; then :
18055: 
18056: else
18057: 
18058: cat >>confdefs.h <<_ACEOF
18059: #define size_t unsigned int
18060: _ACEOF
18061: 
18062: fi
18063: 
18064: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
18065: # for constant arguments.  Useless!
18066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18067: $as_echo_n "checking for working alloca.h... " >&6; }
18068: if ${ac_cv_working_alloca_h+:} false; then :
18069:   $as_echo_n "(cached) " >&6
18070: else
18071:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18072: /* end confdefs.h.  */
18073: #include <alloca.h>
18074: int
18075: main ()
18076: {
18077: char *p = (char *) alloca (2 * sizeof (int));
18078: 			  if (p) return 0;
18079:   ;
18080:   return 0;
18081: }
18082: _ACEOF
18083: if ac_fn_c_try_link "$LINENO"; then :
18084:   ac_cv_working_alloca_h=yes
18085: else
18086:   ac_cv_working_alloca_h=no
18087: fi
18088: rm -f core conftest.err conftest.$ac_objext \
18089:     conftest$ac_exeext conftest.$ac_ext
18090: fi
18091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
18092: $as_echo "$ac_cv_working_alloca_h" >&6; }
18093: if test $ac_cv_working_alloca_h = yes; then
18094: 
18095: $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
18096: 
18097: fi
18098: 
18099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18100: $as_echo_n "checking for alloca... " >&6; }
18101: if ${ac_cv_func_alloca_works+:} false; then :
18102:   $as_echo_n "(cached) " >&6
18103: else
18104:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105: /* end confdefs.h.  */
18106: #ifdef __GNUC__
18107: # define alloca __builtin_alloca
18108: #else
18109: # ifdef _MSC_VER
18110: #  include <malloc.h>
18111: #  define alloca _alloca
18112: # else
18113: #  ifdef HAVE_ALLOCA_H
18114: #   include <alloca.h>
18115: #  else
18116: #   ifdef _AIX
18117:  #pragma alloca
18118: #   else
18119: #    ifndef alloca /* predefined by HP cc +Olibcalls */
18120: void *alloca (size_t);
18121: #    endif
18122: #   endif
18123: #  endif
18124: # endif
18125: #endif
18126: 
18127: int
18128: main ()
18129: {
18130: char *p = (char *) alloca (1);
18131: 				    if (p) return 0;
18132:   ;
18133:   return 0;
18134: }
18135: _ACEOF
18136: if ac_fn_c_try_link "$LINENO"; then :
18137:   ac_cv_func_alloca_works=yes
18138: else
18139:   ac_cv_func_alloca_works=no
18140: fi
18141: rm -f core conftest.err conftest.$ac_objext \
18142:     conftest$ac_exeext conftest.$ac_ext
18143: fi
18144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18145: $as_echo "$ac_cv_func_alloca_works" >&6; }
18146: 
18147: if test $ac_cv_func_alloca_works = yes; then
18148: 
18149: $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
18150: 
18151: else
18152:   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18153: # that cause trouble.  Some versions do not even contain alloca or
18154: # contain a buggy version.  If you still want to use their alloca,
18155: # use ar to extract alloca.o from them instead of compiling alloca.c.
18156: 
18157: 
18158: 
18159: 
18160: 
18161: ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
18162: 
18163: $as_echo "#define C_ALLOCA 1" >>confdefs.h
18164: 
18165: 
18166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18167: $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18168: if ${ac_cv_os_cray+:} false; then :
18169:   $as_echo_n "(cached) " >&6
18170: else
18171:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172: /* end confdefs.h.  */
18173: #if defined CRAY && ! defined CRAY2
18174: webecray
18175: #else
18176: wenotbecray
18177: #endif
18178: 
18179: _ACEOF
18180: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18181:   $EGREP "webecray" >/dev/null 2>&1; then :
18182:   ac_cv_os_cray=yes
18183: else
18184:   ac_cv_os_cray=no
18185: fi
18186: rm -f conftest*
18187: 
18188: fi
18189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
18190: $as_echo "$ac_cv_os_cray" >&6; }
18191: if test $ac_cv_os_cray = yes; then
18192:   for ac_func in _getb67 GETB67 getb67; do
18193:     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18194: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18195: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18196: 
18197: cat >>confdefs.h <<_ACEOF
18198: #define CRAY_STACKSEG_END $ac_func
18199: _ACEOF
18200: 
18201:     break
18202: fi
18203: 
18204:   done
18205: fi
18206: 
18207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18208: $as_echo_n "checking stack direction for C alloca... " >&6; }
18209: if ${ac_cv_c_stack_direction+:} false; then :
18210:   $as_echo_n "(cached) " >&6
18211: else
18212:   if test "$cross_compiling" = yes; then :
18213:   ac_cv_c_stack_direction=0
18214: else
18215:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216: /* end confdefs.h.  */
18217: $ac_includes_default
18218: int
18219: find_stack_direction (int *addr, int depth)
18220: {
18221:   int dir, dummy = 0;
18222:   if (! addr)
18223:     addr = &dummy;
18224:   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
18225:   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
18226:   return dir + dummy;
18227: }
18228: 
18229: int
18230: main (int argc, char **argv)
18231: {
18232:   return find_stack_direction (0, argc + !argv + 20) < 0;
18233: }
18234: _ACEOF
18235: if ac_fn_c_try_run "$LINENO"; then :
18236:   ac_cv_c_stack_direction=1
18237: else
18238:   ac_cv_c_stack_direction=-1
18239: fi
18240: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18241:   conftest.$ac_objext conftest.beam conftest.$ac_ext
18242: fi
18243: 
18244: fi
18245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
18246: $as_echo "$ac_cv_c_stack_direction" >&6; }
18247: cat >>confdefs.h <<_ACEOF
18248: #define STACK_DIRECTION $ac_cv_c_stack_direction
18249: _ACEOF
18250: 
18251: 
18252: fi
18253: 
18254: 
18255: 
18256: 
18257: 
18258: 
18259:   GNULIB__EXIT=0;
18260:   GNULIB_ATOLL=0;
18261:   GNULIB_CALLOC_POSIX=0;
18262:   GNULIB_CANONICALIZE_FILE_NAME=0;
18263:   GNULIB_GETLOADAVG=0;
18264:   GNULIB_GETSUBOPT=0;
18265:   GNULIB_GRANTPT=0;
18266:   GNULIB_MALLOC_POSIX=0;
18267:   GNULIB_MBTOWC=0;
18268:   GNULIB_MKDTEMP=0;
18269:   GNULIB_MKOSTEMP=0;
18270:   GNULIB_MKOSTEMPS=0;
18271:   GNULIB_MKSTEMP=0;
18272:   GNULIB_MKSTEMPS=0;
18273:   GNULIB_POSIX_OPENPT=0;
18274:   GNULIB_PTSNAME=0;
18275:   GNULIB_PTSNAME_R=0;
18276:   GNULIB_PUTENV=0;
18277:   GNULIB_QSORT_R=0;
18278:   GNULIB_RANDOM=0;
18279:   GNULIB_RANDOM_R=0;
18280:   GNULIB_REALLOCARRAY=0;
18281:   GNULIB_REALLOC_POSIX=0;
18282:   GNULIB_REALPATH=0;
18283:   GNULIB_RPMATCH=0;
18284:   GNULIB_SECURE_GETENV=0;
18285:   GNULIB_SETENV=0;
18286:   GNULIB_STRTOD=0;
18287:   GNULIB_STRTOLD=0;
18288:   GNULIB_STRTOLL=0;
18289:   GNULIB_STRTOULL=0;
18290:   GNULIB_SYSTEM_POSIX=0;
18291:   GNULIB_UNLOCKPT=0;
18292:   GNULIB_UNSETENV=0;
18293:   GNULIB_WCTOMB=0;
18294:     HAVE__EXIT=1;
18295:   HAVE_ATOLL=1;
18296:   HAVE_CANONICALIZE_FILE_NAME=1;
18297:   HAVE_DECL_GETLOADAVG=1;
18298:   HAVE_GETSUBOPT=1;
18299:   HAVE_GRANTPT=1;
18300:   HAVE_INITSTATE=1;
18301:   HAVE_DECL_INITSTATE=1;
18302:   HAVE_MBTOWC=1;
18303:   HAVE_MKDTEMP=1;
18304:   HAVE_MKOSTEMP=1;
18305:   HAVE_MKOSTEMPS=1;
18306:   HAVE_MKSTEMP=1;
18307:   HAVE_MKSTEMPS=1;
18308:   HAVE_POSIX_OPENPT=1;
18309:   HAVE_PTSNAME=1;
18310:   HAVE_PTSNAME_R=1;
18311:   HAVE_QSORT_R=1;
18312:   HAVE_RANDOM=1;
18313:   HAVE_RANDOM_H=1;
18314:   HAVE_RANDOM_R=1;
18315:   HAVE_REALLOCARRAY=1;
18316:   HAVE_REALPATH=1;
18317:   HAVE_RPMATCH=1;
18318:   HAVE_SECURE_GETENV=1;
18319:   HAVE_SETENV=1;
18320:   HAVE_DECL_SETENV=1;
18321:   HAVE_SETSTATE=1;
18322:   HAVE_DECL_SETSTATE=1;
18323:   HAVE_STRTOD=1;
18324:   HAVE_STRTOLD=1;
18325:   HAVE_STRTOLL=1;
18326:   HAVE_STRTOULL=1;
18327:   HAVE_STRUCT_RANDOM_DATA=1;
18328:   HAVE_SYS_LOADAVG_H=0;
18329:   HAVE_UNLOCKPT=1;
18330:   HAVE_DECL_UNSETENV=1;
18331:   REPLACE_CALLOC=0;
18332:   REPLACE_CANONICALIZE_FILE_NAME=0;
18333:   REPLACE_INITSTATE=0;
18334:   REPLACE_MALLOC=0;
18335:   REPLACE_MBTOWC=0;
18336:   REPLACE_MKSTEMP=0;
18337:   REPLACE_PTSNAME=0;
18338:   REPLACE_PTSNAME_R=0;
18339:   REPLACE_PUTENV=0;
18340:   REPLACE_QSORT_R=0;
18341:   REPLACE_RANDOM=0;
18342:   REPLACE_RANDOM_R=0;
18343:   REPLACE_REALLOC=0;
18344:   REPLACE_REALPATH=0;
18345:   REPLACE_SETENV=0;
18346:   REPLACE_SETSTATE=0;
18347:   REPLACE_STRTOD=0;
18348:   REPLACE_STRTOLD=0;
18349:   REPLACE_UNSETENV=0;
18350:   REPLACE_WCTOMB=0;
18351: 
18352: 
18353: 
18354: 
18355: 
18356: 
18357: 
18358: 
18359: 
18360:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
18361: $as_echo_n "checking whether // is distinct from /... " >&6; }
18362: if ${gl_cv_double_slash_root+:} false; then :
18363:   $as_echo_n "(cached) " >&6
18364: else
18365:    if test x"$cross_compiling" = xyes ; then
18366:         # When cross-compiling, there is no way to tell whether // is special
18367:         # short of a list of hosts.  However, the only known hosts to date
18368:         # that have a distinct // are Apollo DomainOS (too old to port to),
18369:         # Cygwin, and z/OS.  If anyone knows of another system for which // has
18370:         # special semantics and is distinct from /, please report it to
18371:         # <bug-gnulib@gnu.org>.
18372:         case $host in
18373:           *-cygwin | i370-ibm-openedition)
18374:             gl_cv_double_slash_root=yes ;;
18375:           *)
18376:             # Be optimistic and assume that / and // are the same when we
18377:             # don't know.
18378:             gl_cv_double_slash_root='unknown, assuming no' ;;
18379:         esac
18380:       else
18381:         set x `ls -di / // 2>/dev/null`
18382:         if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
18383:           gl_cv_double_slash_root=no
18384:         else
18385:           gl_cv_double_slash_root=yes
18386:         fi
18387:       fi
18388: fi
18389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
18390: $as_echo "$gl_cv_double_slash_root" >&6; }
18391:   if test "$gl_cv_double_slash_root" = yes; then
18392: 
18393: $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
18394: 
18395:   fi
18396: 
18397: 
18398: 
18399: 
18400: 
18401:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
18402: $as_echo_n "checking whether realpath works... " >&6; }
18403: if ${gl_cv_func_realpath_works+:} false; then :
18404:   $as_echo_n "(cached) " >&6
18405: else
18406: 
18407:     touch conftest.a
18408:     mkdir conftest.d
18409:     if test "$cross_compiling" = yes; then :
18410:   case "$host_os" in
18411:                        # Guess yes on glibc systems.
18412:         *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
18413:                        # Guess yes on musl systems.
18414:         *-musl*)       gl_cv_func_realpath_works="guessing yes" ;;
18415:                        # Guess no on native Windows.
18416:         mingw*)        gl_cv_func_realpath_works="guessing no" ;;
18417:                        # If we don't know, assume the worst.
18418:         *)             gl_cv_func_realpath_works="guessing no" ;;
18419:       esac
18420: 
18421: else
18422:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423: /* end confdefs.h.  */
18424: 
18425: 
18426: 
18427: #include <stdlib.h>
18428: #if defined __MACH__ && defined __APPLE__
18429: /* Avoid a crash on Mac OS X.  */
18430: #include <mach/mach.h>
18431: #include <mach/mach_error.h>
18432: #include <mach/thread_status.h>
18433: #include <mach/exception.h>
18434: #include <mach/task.h>
18435: #include <pthread.h>
18436: /* The exception port on which our thread listens.  */
18437: static mach_port_t our_exception_port;
18438: /* The main function of the thread listening for exceptions of type
18439:    EXC_BAD_ACCESS.  */
18440: static void *
18441: mach_exception_thread (void *arg)
18442: {
18443:   /* Buffer for a message to be received.  */
18444:   struct {
18445:     mach_msg_header_t head;
18446:     mach_msg_body_t msgh_body;
18447:     char data[1024];
18448:   } msg;
18449:   mach_msg_return_t retval;
18450:   /* Wait for a message on the exception port.  */
18451:   retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
18452:                      our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
18453:   if (retval != MACH_MSG_SUCCESS)
18454:     abort ();
18455:   exit (1);
18456: }
18457: static void
18458: nocrash_init (void)
18459: {
18460:   mach_port_t self = mach_task_self ();
18461:   /* Allocate a port on which the thread shall listen for exceptions.  */
18462:   if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
18463:       == KERN_SUCCESS) {
18464:     /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
18465:     if (mach_port_insert_right (self, our_exception_port, our_exception_port,
18466:                                 MACH_MSG_TYPE_MAKE_SEND)
18467:         == KERN_SUCCESS) {
18468:       /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
18469:          for us.  */
18470:       exception_mask_t mask = EXC_MASK_BAD_ACCESS;
18471:       /* Create the thread listening on the exception port.  */
18472:       pthread_attr_t attr;
18473:       pthread_t thread;
18474:       if (pthread_attr_init (&attr) == 0
18475:           && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
18476:           && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
18477:         pthread_attr_destroy (&attr);
18478:         /* Replace the exception port info for these exceptions with our own.
18479:            Note that we replace the exception port for the entire task, not only
18480:            for a particular thread.  This has the effect that when our exception
18481:            port gets the message, the thread specific exception port has already
18482:            been asked, and we don't need to bother about it.
18483:            See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
18484:         task_set_exception_ports (self, mask, our_exception_port,
18485:                                   EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
18486:       }
18487:     }
18488:   }
18489: }
18490: #elif defined _WIN32 && ! defined __CYGWIN__
18491: /* Avoid a crash on native Windows.  */
18492: #define WIN32_LEAN_AND_MEAN
18493: #include <windows.h>
18494: #include <winerror.h>
18495: static LONG WINAPI
18496: exception_filter (EXCEPTION_POINTERS *ExceptionInfo)
18497: {
18498:   switch (ExceptionInfo->ExceptionRecord->ExceptionCode)
18499:     {
18500:     case EXCEPTION_ACCESS_VIOLATION:
18501:     case EXCEPTION_IN_PAGE_ERROR:
18502:     case EXCEPTION_STACK_OVERFLOW:
18503:     case EXCEPTION_GUARD_PAGE:
18504:     case EXCEPTION_PRIV_INSTRUCTION:
18505:     case EXCEPTION_ILLEGAL_INSTRUCTION:
18506:     case EXCEPTION_DATATYPE_MISALIGNMENT:
18507:     case EXCEPTION_ARRAY_BOUNDS_EXCEEDED:
18508:     case EXCEPTION_NONCONTINUABLE_EXCEPTION:
18509:       exit (1);
18510:     }
18511:   return EXCEPTION_CONTINUE_SEARCH;
18512: }
18513: static void
18514: nocrash_init (void)
18515: {
18516:   SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter);
18517: }
18518: #else
18519: /* Avoid a crash on POSIX systems.  */
18520: #include <signal.h>
18521: #include <unistd.h>
18522: /* A POSIX signal handler.  */
18523: static void
18524: exception_handler (int sig)
18525: {
18526:   _exit (1);
18527: }
18528: static void
18529: nocrash_init (void)
18530: {
18531: #ifdef SIGSEGV
18532:   signal (SIGSEGV, exception_handler);
18533: #endif
18534: #ifdef SIGBUS
18535:   signal (SIGBUS, exception_handler);
18536: #endif
18537: }
18538: #endif
18539: 
18540:         #include <stdlib.h>
18541:         #include <string.h>
18542: 
18543: int
18544: main ()
18545: {
18546: 
18547:         int result = 0;
18548:         {
18549:           char *name = realpath ("conftest.a", NULL);
18550:           if (!(name && *name == '/'))
18551:             result |= 1;
18552:           free (name);
18553:         }
18554:         {
18555:           char *name = realpath ("conftest.b/../conftest.a", NULL);
18556:           if (name != NULL)
18557:             result |= 2;
18558:           free (name);
18559:         }
18560:         {
18561:           char *name = realpath ("conftest.a/", NULL);
18562:           if (name != NULL)
18563:             result |= 4;
18564:           free (name);
18565:         }
18566:         {
18567:           char *name1 = realpath (".", NULL);
18568:           char *name2 = realpath ("conftest.d//./..", NULL);
18569:           if (! name1 || ! name2 || strcmp (name1, name2))
18570:             result |= 8;
18571:           free (name1);
18572:           free (name2);
18573:         }
18574:         return result;
18575: 
18576:   ;
18577:   return 0;
18578: }
18579: 
18580: _ACEOF
18581: if ac_fn_c_try_run "$LINENO"; then :
18582:   gl_cv_func_realpath_works=yes
18583: else
18584:   gl_cv_func_realpath_works=no
18585: fi
18586: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18587:   conftest.$ac_objext conftest.beam conftest.$ac_ext
18588: fi
18589: 
18590:     rm -rf conftest.a conftest.d
18591: 
18592: fi
18593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
18594: $as_echo "$gl_cv_func_realpath_works" >&6; }
18595:   case "$gl_cv_func_realpath_works" in
18596:     *yes)
18597: 
18598: $as_echo "#define FUNC_REALPATH_WORKS 1" >>confdefs.h
18599: 
18600:       ;;
18601:   esac
18602: 
18603: 
18604: 
18605: 
18606: 
18607: 
18608: 
18609: 
18610: 
18611: 
18612: 
18613: 
18614: 
18615:   GNULIB_CHDIR=0;
18616:   GNULIB_CHOWN=0;
18617:   GNULIB_CLOSE=0;
18618:   GNULIB_DUP=0;
18619:   GNULIB_DUP2=0;
18620:   GNULIB_DUP3=0;
18621:   GNULIB_ENVIRON=0;
18622:   GNULIB_EUIDACCESS=0;
18623:   GNULIB_FACCESSAT=0;
18624:   GNULIB_FCHDIR=0;
18625:   GNULIB_FCHOWNAT=0;
18626:   GNULIB_FDATASYNC=0;
18627:   GNULIB_FSYNC=0;
18628:   GNULIB_FTRUNCATE=0;
18629:   GNULIB_GETCWD=0;
18630:   GNULIB_GETDOMAINNAME=0;
18631:   GNULIB_GETDTABLESIZE=0;
18632:   GNULIB_GETGROUPS=0;
18633:   GNULIB_GETHOSTNAME=0;
18634:   GNULIB_GETLOGIN=0;
18635:   GNULIB_GETLOGIN_R=0;
18636:   GNULIB_GETPAGESIZE=0;
18637:   GNULIB_GETPASS=0;
18638:   GNULIB_GETUSERSHELL=0;
18639:   GNULIB_GROUP_MEMBER=0;
18640:   GNULIB_ISATTY=0;
18641:   GNULIB_LCHOWN=0;
18642:   GNULIB_LINK=0;
18643:   GNULIB_LINKAT=0;
18644:   GNULIB_LSEEK=0;
18645:   GNULIB_PIPE=0;
18646:   GNULIB_PIPE2=0;
18647:   GNULIB_PREAD=0;
18648:   GNULIB_PWRITE=0;
18649:   GNULIB_READ=0;
18650:   GNULIB_READLINK=0;
18651:   GNULIB_READLINKAT=0;
18652:   GNULIB_RMDIR=0;
18653:   GNULIB_SETHOSTNAME=0;
18654:   GNULIB_SLEEP=0;
18655:   GNULIB_SYMLINK=0;
18656:   GNULIB_SYMLINKAT=0;
18657:   GNULIB_TRUNCATE=0;
18658:   GNULIB_TTYNAME_R=0;
18659:   GNULIB_UNISTD_H_NONBLOCKING=0;
18660:   GNULIB_UNISTD_H_SIGPIPE=0;
18661:   GNULIB_UNLINK=0;
18662:   GNULIB_UNLINKAT=0;
18663:   GNULIB_USLEEP=0;
18664:   GNULIB_WRITE=0;
18665:     HAVE_CHOWN=1;
18666:   HAVE_DUP2=1;
18667:   HAVE_DUP3=1;
18668:   HAVE_EUIDACCESS=1;
18669:   HAVE_FACCESSAT=1;
18670:   HAVE_FCHDIR=1;
18671:   HAVE_FCHOWNAT=1;
18672:   HAVE_FDATASYNC=1;
18673:   HAVE_FSYNC=1;
18674:   HAVE_FTRUNCATE=1;
18675:   HAVE_GETDTABLESIZE=1;
18676:   HAVE_GETGROUPS=1;
18677:   HAVE_GETHOSTNAME=1;
18678:   HAVE_GETLOGIN=1;
18679:   HAVE_GETPAGESIZE=1;
18680:   HAVE_GETPASS=1;
18681:   HAVE_GROUP_MEMBER=1;
18682:   HAVE_LCHOWN=1;
18683:   HAVE_LINK=1;
18684:   HAVE_LINKAT=1;
18685:   HAVE_PIPE=1;
18686:   HAVE_PIPE2=1;
18687:   HAVE_PREAD=1;
18688:   HAVE_PWRITE=1;
18689:   HAVE_READLINK=1;
18690:   HAVE_READLINKAT=1;
18691:   HAVE_SETHOSTNAME=1;
18692:   HAVE_SLEEP=1;
18693:   HAVE_SYMLINK=1;
18694:   HAVE_SYMLINKAT=1;
18695:   HAVE_UNLINKAT=1;
18696:   HAVE_USLEEP=1;
18697:   HAVE_DECL_ENVIRON=1;
18698:   HAVE_DECL_FCHDIR=1;
18699:   HAVE_DECL_FDATASYNC=1;
18700:   HAVE_DECL_GETDOMAINNAME=1;
18701:   HAVE_DECL_GETLOGIN=1;
18702:   HAVE_DECL_GETLOGIN_R=1;
18703:   HAVE_DECL_GETPAGESIZE=1;
18704:   HAVE_DECL_GETUSERSHELL=1;
18705:   HAVE_DECL_SETHOSTNAME=1;
18706:   HAVE_DECL_TRUNCATE=1;
18707:   HAVE_DECL_TTYNAME_R=1;
18708:   HAVE_OS_H=0;
18709:   HAVE_SYS_PARAM_H=0;
18710:   REPLACE_CHOWN=0;
18711:   REPLACE_CLOSE=0;
18712:   REPLACE_DUP=0;
18713:   REPLACE_DUP2=0;
18714:   REPLACE_FACCESSAT=0;
18715:   REPLACE_FCHOWNAT=0;
18716:   REPLACE_FTRUNCATE=0;
18717:   REPLACE_GETCWD=0;
18718:   REPLACE_GETDOMAINNAME=0;
18719:   REPLACE_GETDTABLESIZE=0;
18720:   REPLACE_GETLOGIN_R=0;
18721:   REPLACE_GETGROUPS=0;
18722:   REPLACE_GETPAGESIZE=0;
18723:   REPLACE_GETPASS=0;
18724:   REPLACE_ISATTY=0;
18725:   REPLACE_LCHOWN=0;
18726:   REPLACE_LINK=0;
18727:   REPLACE_LINKAT=0;
18728:   REPLACE_LSEEK=0;
18729:   REPLACE_PREAD=0;
18730:   REPLACE_PWRITE=0;
18731:   REPLACE_READ=0;
18732:   REPLACE_READLINK=0;
18733:   REPLACE_READLINKAT=0;
18734:   REPLACE_RMDIR=0;
18735:   REPLACE_SLEEP=0;
18736:   REPLACE_SYMLINK=0;
18737:   REPLACE_SYMLINKAT=0;
18738:   REPLACE_TRUNCATE=0;
18739:   REPLACE_TTYNAME_R=0;
18740:   REPLACE_UNLINK=0;
18741:   REPLACE_UNLINKAT=0;
18742:   REPLACE_USLEEP=0;
18743:   REPLACE_WRITE=0;
18744:   UNISTD_H_HAVE_WINSOCK2_H=0;
18745:   UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
18746: 
18747: 
18748: 
18749: 
18750: 
18751: 
18752: 
18753: 
18754: 
18755:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
18756: $as_echo_n "checking if environ is properly declared... " >&6; }
18757: if ${gt_cv_var_environ_declaration+:} false; then :
18758:   $as_echo_n "(cached) " >&6
18759: else
18760:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761: /* end confdefs.h.  */
18762: #if HAVE_UNISTD_H
18763:      #include <unistd.h>
18764:      #endif
18765:      /* mingw, BeOS, Haiku declare environ in <stdlib.h>, not in <unistd.h>.  */
18766:      #include <stdlib.h>
18767: 
18768:             extern struct { int foo; } environ;
18769: int
18770: main ()
18771: {
18772: environ.foo = 1;
18773:   ;
18774:   return 0;
18775: }
18776: _ACEOF
18777: if ac_fn_c_try_compile "$LINENO"; then :
18778:   gt_cv_var_environ_declaration=no
18779: else
18780:   gt_cv_var_environ_declaration=yes
18781: fi
18782: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783: fi
18784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
18785: $as_echo "$gt_cv_var_environ_declaration" >&6; }
18786:   if test $gt_cv_var_environ_declaration = yes; then
18787: 
18788: $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
18789: 
18790:   fi
18791: 
18792: 
18793:   if test $gt_cv_var_environ_declaration != yes; then
18794:     HAVE_DECL_ENVIRON=0
18795:   fi
18796: 
18797: 
18798: 
18799:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
18800: $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
18801: if ${gl_cv_have_include_next+:} false; then :
18802:   $as_echo_n "(cached) " >&6
18803: else
18804:   rm -rf conftestd1a conftestd1b conftestd2
18805:      mkdir conftestd1a conftestd1b conftestd2
18806:                                                   cat <<EOF > conftestd1a/conftest.h
18807: #define DEFINED_IN_CONFTESTD1
18808: #include_next <conftest.h>
18809: #ifdef DEFINED_IN_CONFTESTD2
18810: int foo;
18811: #else
18812: #error "include_next doesn't work"
18813: #endif
18814: EOF
18815:      cat <<EOF > conftestd1b/conftest.h
18816: #define DEFINED_IN_CONFTESTD1
18817: #include <stdio.h>
18818: #include_next <conftest.h>
18819: #ifdef DEFINED_IN_CONFTESTD2
18820: int foo;
18821: #else
18822: #error "include_next doesn't work"
18823: #endif
18824: EOF
18825:      cat <<EOF > conftestd2/conftest.h
18826: #ifndef DEFINED_IN_CONFTESTD1
18827: #error "include_next test doesn't work"
18828: #endif
18829: #define DEFINED_IN_CONFTESTD2
18830: EOF
18831:      gl_save_CPPFLAGS="$CPPFLAGS"
18832:      CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
18833:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18834: /* end confdefs.h.  */
18835: #include <conftest.h>
18836: _ACEOF
18837: if ac_fn_c_try_compile "$LINENO"; then :
18838:   gl_cv_have_include_next=yes
18839: else
18840:   CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
18841:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842: /* end confdefs.h.  */
18843: #include <conftest.h>
18844: _ACEOF
18845: if ac_fn_c_try_compile "$LINENO"; then :
18846:   gl_cv_have_include_next=buggy
18847: else
18848:   gl_cv_have_include_next=no
18849: fi
18850: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851: 
18852: fi
18853: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854:      CPPFLAGS="$gl_save_CPPFLAGS"
18855:      rm -rf conftestd1a conftestd1b conftestd2
18856: 
18857: fi
18858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
18859: $as_echo "$gl_cv_have_include_next" >&6; }
18860:   PRAGMA_SYSTEM_HEADER=
18861:   if test $gl_cv_have_include_next = yes; then
18862:     INCLUDE_NEXT=include_next
18863:     INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
18864:     if test -n "$GCC"; then
18865:       PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
18866:     fi
18867:   else
18868:     if test $gl_cv_have_include_next = buggy; then
18869:       INCLUDE_NEXT=include
18870:       INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
18871:     else
18872:       INCLUDE_NEXT=include
18873:       INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
18874:     fi
18875:   fi
18876: 
18877: 
18878: 
18879:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
18880: $as_echo_n "checking whether system header files limit the line length... " >&6; }
18881: if ${gl_cv_pragma_columns+:} false; then :
18882:   $as_echo_n "(cached) " >&6
18883: else
18884:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885: /* end confdefs.h.  */
18886: 
18887: #ifdef __TANDEM
18888: choke me
18889: #endif
18890: 
18891: _ACEOF
18892: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18893:   $EGREP "choke me" >/dev/null 2>&1; then :
18894:   gl_cv_pragma_columns=yes
18895: else
18896:   gl_cv_pragma_columns=no
18897: fi
18898: rm -f conftest*
18899: 
18900: 
18901: fi
18902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
18903: $as_echo "$gl_cv_pragma_columns" >&6; }
18904:   if test $gl_cv_pragma_columns = yes; then
18905:     PRAGMA_COLUMNS="#pragma COLUMNS 10000"
18906:   else
18907:     PRAGMA_COLUMNS=
18908:   fi
18909: 
18910: 
18911: 
18912: 
18913:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
18914: $as_echo_n "checking for complete errno.h... " >&6; }
18915: if ${gl_cv_header_errno_h_complete+:} false; then :
18916:   $as_echo_n "(cached) " >&6
18917: else
18918: 
18919:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920: /* end confdefs.h.  */
18921: 
18922: #include <errno.h>
18923: #if !defined ETXTBSY
18924: booboo
18925: #endif
18926: #if !defined ENOMSG
18927: booboo
18928: #endif
18929: #if !defined EIDRM
18930: booboo
18931: #endif
18932: #if !defined ENOLINK
18933: booboo
18934: #endif
18935: #if !defined EPROTO
18936: booboo
18937: #endif
18938: #if !defined EMULTIHOP
18939: booboo
18940: #endif
18941: #if !defined EBADMSG
18942: booboo
18943: #endif
18944: #if !defined EOVERFLOW
18945: booboo
18946: #endif
18947: #if !defined ENOTSUP
18948: booboo
18949: #endif
18950: #if !defined ENETRESET
18951: booboo
18952: #endif
18953: #if !defined ECONNABORTED
18954: booboo
18955: #endif
18956: #if !defined ESTALE
18957: booboo
18958: #endif
18959: #if !defined EDQUOT
18960: booboo
18961: #endif
18962: #if !defined ECANCELED
18963: booboo
18964: #endif
18965: #if !defined EOWNERDEAD
18966: booboo
18967: #endif
18968: #if !defined ENOTRECOVERABLE
18969: booboo
18970: #endif
18971: #if !defined EILSEQ
18972: booboo
18973: #endif
18974: 
18975: _ACEOF
18976: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18977:   $EGREP "booboo" >/dev/null 2>&1; then :
18978:   gl_cv_header_errno_h_complete=no
18979: else
18980:   gl_cv_header_errno_h_complete=yes
18981: fi
18982: rm -f conftest*
18983: 
18984: 
18985: fi
18986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
18987: $as_echo "$gl_cv_header_errno_h_complete" >&6; }
18988:   if test $gl_cv_header_errno_h_complete = yes; then
18989:     ERRNO_H=''
18990:   else
18991: 
18992: 
18993: 
18994: 
18995: 
18996: 
18997: 
18998: 
18999:      if test $gl_cv_have_include_next = yes; then
19000:        gl_cv_next_errno_h='<'errno.h'>'
19001:      else
19002:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
19003: $as_echo_n "checking absolute name of <errno.h>... " >&6; }
19004: if ${gl_cv_next_errno_h+:} false; then :
19005:   $as_echo_n "(cached) " >&6
19006: else
19007: 
19008: 
19009: 
19010:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011: /* end confdefs.h.  */
19012: #include <errno.h>
19013: _ACEOF
19014:                 case "$host_os" in
19015:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
19016:     *)    gl_absname_cpp="$ac_cpp" ;;
19017:   esac
19018: 
19019:   case "$host_os" in
19020:     mingw*)
19021:                                           gl_dirsep_regex='[/\\]'
19022:       ;;
19023:     *)
19024:       gl_dirsep_regex='\/'
19025:       ;;
19026:   esac
19027:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
19028:   gl_header_literal_regex=`echo 'errno.h' \
19029:                            | sed -e "$gl_make_literal_regex_sed"`
19030:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
19031:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
19032:       s|^/[^/]|//&|
19033:       p
19034:       q
19035:     }'
19036: 
19037:         gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19038:   sed -n "$gl_absolute_header_sed"`
19039: 
19040:            gl_header=$gl_cv_absolute_errno_h
19041:            gl_cv_next_errno_h='"'$gl_header'"'
19042: 
19043: 
19044: fi
19045: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
19046: $as_echo "$gl_cv_next_errno_h" >&6; }
19047:      fi
19048:      NEXT_ERRNO_H=$gl_cv_next_errno_h
19049: 
19050:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
19051:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19052:        gl_next_as_first_directive='<'errno.h'>'
19053:      else
19054:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19055:        gl_next_as_first_directive=$gl_cv_next_errno_h
19056:      fi
19057:      NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
19058: 
19059: 
19060: 
19061: 
19062:     ERRNO_H='errno.h'
19063:   fi
19064: 
19065:    if test -n "$ERRNO_H"; then
19066:   GL_GENERATE_ERRNO_H_TRUE=
19067:   GL_GENERATE_ERRNO_H_FALSE='#'
19068: else
19069:   GL_GENERATE_ERRNO_H_TRUE='#'
19070:   GL_GENERATE_ERRNO_H_FALSE=
19071: fi
19072: 
19073: 
19074:   if test -n "$ERRNO_H"; then
19075:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
19076: $as_echo_n "checking for EMULTIHOP value... " >&6; }
19077: if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
19078:   $as_echo_n "(cached) " >&6
19079: else
19080: 
19081:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19082: /* end confdefs.h.  */
19083: 
19084: #include <errno.h>
19085: #ifdef EMULTIHOP
19086: yes
19087: #endif
19088: 
19089: _ACEOF
19090: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19091:   $EGREP "yes" >/dev/null 2>&1; then :
19092:   gl_cv_header_errno_h_EMULTIHOP=yes
19093: else
19094:   gl_cv_header_errno_h_EMULTIHOP=no
19095: fi
19096: rm -f conftest*
19097: 
19098:       if test $gl_cv_header_errno_h_EMULTIHOP = no; then
19099:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19100: /* end confdefs.h.  */
19101: 
19102: #define _XOPEN_SOURCE_EXTENDED 1
19103: #include <errno.h>
19104: #ifdef EMULTIHOP
19105: yes
19106: #endif
19107: 
19108: _ACEOF
19109: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19110:   $EGREP "yes" >/dev/null 2>&1; then :
19111:   gl_cv_header_errno_h_EMULTIHOP=hidden
19112: fi
19113: rm -f conftest*
19114: 
19115:         if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
19116:                               if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP"        "
19117: #define _XOPEN_SOURCE_EXTENDED 1
19118: #include <errno.h>
19119: /* The following two lines are a workaround against an autoconf-2.52 bug.  */
19120: #include <stdio.h>
19121: #include <stdlib.h>
19122: "; then :
19123: 
19124: fi
19125: 
19126:         fi
19127:       fi
19128: 
19129: fi
19130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
19131: $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
19132:     case $gl_cv_header_errno_h_EMULTIHOP in
19133:       yes | no)
19134:         EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
19135:         ;;
19136:       *)
19137:         EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
19138:         ;;
19139:     esac
19140: 
19141: 
19142:   fi
19143: 
19144: 
19145:   if test -n "$ERRNO_H"; then
19146:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
19147: $as_echo_n "checking for ENOLINK value... " >&6; }
19148: if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
19149:   $as_echo_n "(cached) " >&6
19150: else
19151: 
19152:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153: /* end confdefs.h.  */
19154: 
19155: #include <errno.h>
19156: #ifdef ENOLINK
19157: yes
19158: #endif
19159: 
19160: _ACEOF
19161: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19162:   $EGREP "yes" >/dev/null 2>&1; then :
19163:   gl_cv_header_errno_h_ENOLINK=yes
19164: else
19165:   gl_cv_header_errno_h_ENOLINK=no
19166: fi
19167: rm -f conftest*
19168: 
19169:       if test $gl_cv_header_errno_h_ENOLINK = no; then
19170:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171: /* end confdefs.h.  */
19172: 
19173: #define _XOPEN_SOURCE_EXTENDED 1
19174: #include <errno.h>
19175: #ifdef ENOLINK
19176: yes
19177: #endif
19178: 
19179: _ACEOF
19180: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19181:   $EGREP "yes" >/dev/null 2>&1; then :
19182:   gl_cv_header_errno_h_ENOLINK=hidden
19183: fi
19184: rm -f conftest*
19185: 
19186:         if test $gl_cv_header_errno_h_ENOLINK = hidden; then
19187:                               if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK"        "
19188: #define _XOPEN_SOURCE_EXTENDED 1
19189: #include <errno.h>
19190: /* The following two lines are a workaround against an autoconf-2.52 bug.  */
19191: #include <stdio.h>
19192: #include <stdlib.h>
19193: "; then :
19194: 
19195: fi
19196: 
19197:         fi
19198:       fi
19199: 
19200: fi
19201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
19202: $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
19203:     case $gl_cv_header_errno_h_ENOLINK in
19204:       yes | no)
19205:         ENOLINK_HIDDEN=0; ENOLINK_VALUE=
19206:         ;;
19207:       *)
19208:         ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
19209:         ;;
19210:     esac
19211: 
19212: 
19213:   fi
19214: 
19215: 
19216:   if test -n "$ERRNO_H"; then
19217:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
19218: $as_echo_n "checking for EOVERFLOW value... " >&6; }
19219: if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
19220:   $as_echo_n "(cached) " >&6
19221: else
19222: 
19223:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224: /* end confdefs.h.  */
19225: 
19226: #include <errno.h>
19227: #ifdef EOVERFLOW
19228: yes
19229: #endif
19230: 
19231: _ACEOF
19232: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19233:   $EGREP "yes" >/dev/null 2>&1; then :
19234:   gl_cv_header_errno_h_EOVERFLOW=yes
19235: else
19236:   gl_cv_header_errno_h_EOVERFLOW=no
19237: fi
19238: rm -f conftest*
19239: 
19240:       if test $gl_cv_header_errno_h_EOVERFLOW = no; then
19241:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242: /* end confdefs.h.  */
19243: 
19244: #define _XOPEN_SOURCE_EXTENDED 1
19245: #include <errno.h>
19246: #ifdef EOVERFLOW
19247: yes
19248: #endif
19249: 
19250: _ACEOF
19251: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19252:   $EGREP "yes" >/dev/null 2>&1; then :
19253:   gl_cv_header_errno_h_EOVERFLOW=hidden
19254: fi
19255: rm -f conftest*
19256: 
19257:         if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
19258:                               if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW"        "
19259: #define _XOPEN_SOURCE_EXTENDED 1
19260: #include <errno.h>
19261: /* The following two lines are a workaround against an autoconf-2.52 bug.  */
19262: #include <stdio.h>
19263: #include <stdlib.h>
19264: "; then :
19265: 
19266: fi
19267: 
19268:         fi
19269:       fi
19270: 
19271: fi
19272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
19273: $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
19274:     case $gl_cv_header_errno_h_EOVERFLOW in
19275:       yes | no)
19276:         EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
19277:         ;;
19278:       *)
19279:         EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
19280:         ;;
19281:     esac
19282: 
19283: 
19284:   fi
19285: 
19286: 
19287: ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
19288: if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
19289:   ac_have_decl=1
19290: else
19291:   ac_have_decl=0
19292: fi
19293: 
19294: cat >>confdefs.h <<_ACEOF
19295: #define HAVE_DECL_STRERROR_R $ac_have_decl
19296: _ACEOF
19297: 
19298: for ac_func in strerror_r
19299: do :
19300:   ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
19301: if test "x$ac_cv_func_strerror_r" = xyes; then :
19302:   cat >>confdefs.h <<_ACEOF
19303: #define HAVE_STRERROR_R 1
19304: _ACEOF
19305: 
19306: fi
19307: done
19308: 
19309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
19310: $as_echo_n "checking whether strerror_r returns char *... " >&6; }
19311: if ${ac_cv_func_strerror_r_char_p+:} false; then :
19312:   $as_echo_n "(cached) " >&6
19313: else
19314: 
19315:     ac_cv_func_strerror_r_char_p=no
19316:     if test $ac_cv_have_decl_strerror_r = yes; then
19317:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19318: /* end confdefs.h.  */
19319: $ac_includes_default
19320: int
19321: main ()
19322: {
19323: 
19324: 	  char buf[100];
19325: 	  char x = *strerror_r (0, buf, sizeof buf);
19326: 	  char *p = strerror_r (0, buf, sizeof buf);
19327: 	  return !p || x;
19328: 
19329:   ;
19330:   return 0;
19331: }
19332: _ACEOF
19333: if ac_fn_c_try_compile "$LINENO"; then :
19334:   ac_cv_func_strerror_r_char_p=yes
19335: fi
19336: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19337:     else
19338:       # strerror_r is not declared.  Choose between
19339:       # systems that have relatively inaccessible declarations for the
19340:       # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
19341:       # former has a strerror_r that returns char*, while the latter
19342:       # has a strerror_r that returns `int'.
19343:       # This test should segfault on the DEC system.
19344:       if test "$cross_compiling" = yes; then :
19345:   :
19346: else
19347:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348: /* end confdefs.h.  */
19349: $ac_includes_default
19350: 	extern char *strerror_r ();
19351: int
19352: main ()
19353: {
19354: char buf[100];
19355: 	  char x = *strerror_r (0, buf, sizeof buf);
19356: 	  return ! isalpha (x);
19357:   ;
19358:   return 0;
19359: }
19360: _ACEOF
19361: if ac_fn_c_try_run "$LINENO"; then :
19362:   ac_cv_func_strerror_r_char_p=yes
19363: fi
19364: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19365:   conftest.$ac_objext conftest.beam conftest.$ac_ext
19366: fi
19367: 
19368:     fi
19369: 
19370: fi
19371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
19372: $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
19373: if test $ac_cv_func_strerror_r_char_p = yes; then
19374: 
19375: $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
19376: 
19377: fi
19378: 
19379: 
19380:   XGETTEXT_EXTRA_OPTIONS=
19381: 
19382: 
19383: 
19384: 
19385: 
19386:   GNULIB_FCNTL=0;
19387:   GNULIB_NONBLOCKING=0;
19388:   GNULIB_OPEN=0;
19389:   GNULIB_OPENAT=0;
19390:     HAVE_FCNTL=1;
19391:   HAVE_OPENAT=1;
19392:   REPLACE_FCNTL=0;
19393:   REPLACE_OPEN=0;
19394:   REPLACE_OPENAT=0;
19395: 
19396: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
19397: if test "x$ac_cv_type_pid_t" = xyes; then :
19398: 
19399: else
19400: 
19401: cat >>confdefs.h <<_ACEOF
19402: #define pid_t int
19403: _ACEOF
19404: 
19405: fi
19406: 
19407: ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19408: if test "x$ac_cv_type_mode_t" = xyes; then :
19409: 
19410: else
19411: 
19412: cat >>confdefs.h <<_ACEOF
19413: #define mode_t int
19414: _ACEOF
19415: 
19416: fi
19417: 
19418: 
19419: 
19420: 
19421: 
19422: 
19423: 
19424:   case "$host_os" in
19425:     mingw*)
19426:                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
19427: $as_echo_n "checking for 64-bit off_t... " >&6; }
19428: if ${gl_cv_type_off_t_64+:} false; then :
19429:   $as_echo_n "(cached) " >&6
19430: else
19431:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432: /* end confdefs.h.  */
19433: #include <sys/types.h>
19434:                 int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
19435: 
19436: int
19437: main ()
19438: {
19439: 
19440:   ;
19441:   return 0;
19442: }
19443: _ACEOF
19444: if ac_fn_c_try_compile "$LINENO"; then :
19445:   gl_cv_type_off_t_64=yes
19446: else
19447:   gl_cv_type_off_t_64=no
19448: fi
19449: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450: 
19451: fi
19452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5
19453: $as_echo "$gl_cv_type_off_t_64" >&6; }
19454:       if test $gl_cv_type_off_t_64 = no; then
19455:         WINDOWS_64_BIT_OFF_T=1
19456:       else
19457:         WINDOWS_64_BIT_OFF_T=0
19458:       fi
19459:                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5
19460: $as_echo_n "checking for 64-bit st_size... " >&6; }
19461: if ${gl_cv_member_st_size_64+:} false; then :
19462:   $as_echo_n "(cached) " >&6
19463: else
19464:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465: /* end confdefs.h.  */
19466: #include <sys/types.h>
19467:                 struct stat buf;
19468:                 int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1];
19469: 
19470: int
19471: main ()
19472: {
19473: 
19474:   ;
19475:   return 0;
19476: }
19477: _ACEOF
19478: if ac_fn_c_try_compile "$LINENO"; then :
19479:   gl_cv_member_st_size_64=yes
19480: else
19481:   gl_cv_member_st_size_64=no
19482: fi
19483: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484: 
19485: fi
19486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_member_st_size_64" >&5
19487: $as_echo "$gl_cv_member_st_size_64" >&6; }
19488:       if test $gl_cv_member_st_size_64 = no; then
19489:         WINDOWS_64_BIT_ST_SIZE=1
19490:       else
19491:         WINDOWS_64_BIT_ST_SIZE=0
19492:       fi
19493:       ;;
19494:     *)
19495:                                                       WINDOWS_64_BIT_OFF_T=0
19496:       WINDOWS_64_BIT_ST_SIZE=0
19497:       ;;
19498:   esac
19499: 
19500: 
19501: 
19502: 
19503: 
19504: 
19505: 
19506: 
19507: 
19508: 
19509: 
19510: 
19511: 
19512:      if test $gl_cv_have_include_next = yes; then
19513:        gl_cv_next_limits_h='<'limits.h'>'
19514:      else
19515:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <limits.h>" >&5
19516: $as_echo_n "checking absolute name of <limits.h>... " >&6; }
19517: if ${gl_cv_next_limits_h+:} false; then :
19518:   $as_echo_n "(cached) " >&6
19519: else
19520: 
19521:              if test $ac_cv_header_limits_h = yes; then
19522: 
19523: 
19524: 
19525: 
19526:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527: /* end confdefs.h.  */
19528: #include <limits.h>
19529: _ACEOF
19530:                 case "$host_os" in
19531:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
19532:     *)    gl_absname_cpp="$ac_cpp" ;;
19533:   esac
19534: 
19535:   case "$host_os" in
19536:     mingw*)
19537:                                           gl_dirsep_regex='[/\\]'
19538:       ;;
19539:     *)
19540:       gl_dirsep_regex='\/'
19541:       ;;
19542:   esac
19543:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
19544:   gl_header_literal_regex=`echo 'limits.h' \
19545:                            | sed -e "$gl_make_literal_regex_sed"`
19546:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
19547:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
19548:       s|^/[^/]|//&|
19549:       p
19550:       q
19551:     }'
19552: 
19553:         gl_cv_absolute_limits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19554:   sed -n "$gl_absolute_header_sed"`
19555: 
19556:            gl_header=$gl_cv_absolute_limits_h
19557:            gl_cv_next_limits_h='"'$gl_header'"'
19558:           else
19559:                gl_cv_next_limits_h='<'limits.h'>'
19560:              fi
19561: 
19562: 
19563: fi
19564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5
19565: $as_echo "$gl_cv_next_limits_h" >&6; }
19566:      fi
19567:      NEXT_LIMITS_H=$gl_cv_next_limits_h
19568: 
19569:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
19570:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19571:        gl_next_as_first_directive='<'limits.h'>'
19572:      else
19573:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19574:        gl_next_as_first_directive=$gl_cv_next_limits_h
19575:      fi
19576:      NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=$gl_next_as_first_directive
19577: 
19578: 
19579: 
19580: 
19581: 
19582:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc." >&5
19583: $as_echo_n "checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... " >&6; }
19584: if ${gl_cv_header_limits_width+:} false; then :
19585:   $as_echo_n "(cached) " >&6
19586: else
19587:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19588: /* end confdefs.h.  */
19589: #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
19590:              #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
19591:             #endif
19592:             #include <limits.h>
19593:             long long llm = LLONG_MAX;
19594:             int wb = WORD_BIT;
19595:             int ullw = ULLONG_WIDTH;
19596: 
19597: int
19598: main ()
19599: {
19600: 
19601:   ;
19602:   return 0;
19603: }
19604: _ACEOF
19605: if ac_fn_c_try_compile "$LINENO"; then :
19606:   gl_cv_header_limits_width=yes
19607: else
19608:   gl_cv_header_limits_width=no
19609: fi
19610: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19611: fi
19612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_width" >&5
19613: $as_echo "$gl_cv_header_limits_width" >&6; }
19614:   if test "$gl_cv_header_limits_width" = yes; then
19615:     LIMITS_H=
19616:   else
19617:     LIMITS_H=limits.h
19618:   fi
19619: 
19620:    if test -n "$LIMITS_H"; then
19621:   GL_GENERATE_LIMITS_H_TRUE=
19622:   GL_GENERATE_LIMITS_H_FALSE='#'
19623: else
19624:   GL_GENERATE_LIMITS_H_TRUE='#'
19625:   GL_GENERATE_LIMITS_H_FALSE=
19626: fi
19627: 
19628: 
19629: 
19630:      GNULIB_FCHMODAT=0;
19631:   GNULIB_FSTAT=0;
19632:   GNULIB_FSTATAT=0;
19633:   GNULIB_FUTIMENS=0;
19634:   GNULIB_LCHMOD=0;
19635:   GNULIB_LSTAT=0;
19636:   GNULIB_MKDIRAT=0;
19637:   GNULIB_MKFIFO=0;
19638:   GNULIB_MKFIFOAT=0;
19639:   GNULIB_MKNOD=0;
19640:   GNULIB_MKNODAT=0;
19641:   GNULIB_STAT=0;
19642:   GNULIB_UTIMENSAT=0;
19643:   GNULIB_OVERRIDES_STRUCT_STAT=0;
19644:     HAVE_FCHMODAT=1;
19645:   HAVE_FSTATAT=1;
19646:   HAVE_FUTIMENS=1;
19647:   HAVE_LCHMOD=1;
19648:   HAVE_LSTAT=1;
19649:   HAVE_MKDIRAT=1;
19650:   HAVE_MKFIFO=1;
19651:   HAVE_MKFIFOAT=1;
19652:   HAVE_MKNOD=1;
19653:   HAVE_MKNODAT=1;
19654:   HAVE_UTIMENSAT=1;
19655:   REPLACE_FSTAT=0;
19656:   REPLACE_FSTATAT=0;
19657:   REPLACE_FUTIMENS=0;
19658:   REPLACE_LSTAT=0;
19659:   REPLACE_MKDIR=0;
19660:   REPLACE_MKFIFO=0;
19661:   REPLACE_MKNOD=0;
19662:   REPLACE_STAT=0;
19663:   REPLACE_UTIMENSAT=0;
19664: 
19665: 
19666: 
19667: 
19668:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
19669: $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
19670: if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
19671:   $as_echo_n "(cached) " >&6
19672: else
19673:   rm -f conftest.sym conftest.file
19674:      echo >conftest.file
19675:      if test "$cross_compiling" = yes; then :
19676:   case "$host_os" in
19677:           linux-* | linux)
19678:             # Guess yes on Linux systems.
19679:             gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
19680:           *-gnu* | gnu*)
19681:             # Guess yes on glibc systems.
19682:             gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
19683:           mingw*)
19684:             # Guess no on native Windows.
19685:             gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
19686:           *)
19687:             # If we don't know, assume the worst.
19688:             gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
19689:         esac
19690: 
19691: else
19692:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19693: /* end confdefs.h.  */
19694: $ac_includes_default
19695: int
19696: main ()
19697: {
19698: struct stat sbuf;
19699:             if (symlink ("conftest.file", "conftest.sym") != 0)
19700:               return 1;
19701:             /* Linux will dereference the symlink and fail, as required by
19702:                POSIX.  That is better in the sense that it means we will not
19703:                have to compile and use the lstat wrapper.  */
19704:             return lstat ("conftest.sym/", &sbuf) == 0;
19705: 
19706:   ;
19707:   return 0;
19708: }
19709: _ACEOF
19710: if ac_fn_c_try_run "$LINENO"; then :
19711:   gl_cv_func_lstat_dereferences_slashed_symlink=yes
19712: else
19713:   gl_cv_func_lstat_dereferences_slashed_symlink=no
19714: fi
19715: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19716:   conftest.$ac_objext conftest.beam conftest.$ac_ext
19717: fi
19718: 
19719:      rm -f conftest.sym conftest.file
19720: 
19721: fi
19722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
19723: $as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
19724:   case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
19725:     *yes)
19726: 
19727: cat >>confdefs.h <<_ACEOF
19728: #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
19729: _ACEOF
19730: 
19731:       ;;
19732:   esac
19733: 
19734: 
19735:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
19736: $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
19737: if ${gl_cv_func_malloc_posix+:} false; then :
19738:   $as_echo_n "(cached) " >&6
19739: else
19740: 
19741:                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742: /* end confdefs.h.  */
19743: 
19744: int
19745: main ()
19746: {
19747: #if defined _WIN32 && ! defined __CYGWIN__
19748:              choke me
19749:              #endif
19750: 
19751:   ;
19752:   return 0;
19753: }
19754: _ACEOF
19755: if ac_fn_c_try_compile "$LINENO"; then :
19756:   gl_cv_func_malloc_posix=yes
19757: else
19758:   gl_cv_func_malloc_posix=no
19759: fi
19760: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761: 
19762: fi
19763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
19764: $as_echo "$gl_cv_func_malloc_posix" >&6; }
19765: 
19766: 
19767: 
19768:       for ac_header in stdlib.h
19769: do :
19770:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19771: if test "x$ac_cv_header_stdlib_h" = xyes; then :
19772:   cat >>confdefs.h <<_ACEOF
19773: #define HAVE_STDLIB_H 1
19774: _ACEOF
19775: 
19776: fi
19777: 
19778: done
19779: 
19780:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
19781: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
19782: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
19783:   $as_echo_n "(cached) " >&6
19784: else
19785:   if test "$cross_compiling" = yes; then :
19786:   case "$host_os" in
19787:           # Guess yes on platforms where we know the result.
19788:           *-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \
19789:           | hpux* | solaris* | cygwin* | mingw*)
19790:             ac_cv_func_malloc_0_nonnull="guessing yes" ;;
19791:           # If we don't know, assume the worst.
19792:           *) ac_cv_func_malloc_0_nonnull="guessing no" ;;
19793:         esac
19794: 
19795: else
19796:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19797: /* end confdefs.h.  */
19798: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19799:             # include <stdlib.h>
19800:             #else
19801:             char *malloc ();
19802:             #endif
19803: 
19804: int
19805: main ()
19806: {
19807: char *p = malloc (0);
19808:             int result = !p;
19809:             free (p);
19810:             return result;
19811:   ;
19812:   return 0;
19813: }
19814: 
19815: _ACEOF
19816: if ac_fn_c_try_run "$LINENO"; then :
19817:   ac_cv_func_malloc_0_nonnull=yes
19818: else
19819:   ac_cv_func_malloc_0_nonnull=no
19820: fi
19821: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19822:   conftest.$ac_objext conftest.beam conftest.$ac_ext
19823: fi
19824: 
19825: 
19826: fi
19827: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
19828: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
19829:   case "$ac_cv_func_malloc_0_nonnull" in
19830:     *yes)
19831:       gl_cv_func_malloc_0_nonnull=1
19832:       ;;
19833:     *)
19834:       gl_cv_func_malloc_0_nonnull=0
19835:       ;;
19836:   esac
19837: 
19838: 
19839: cat >>confdefs.h <<_ACEOF
19840: #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
19841: _ACEOF
19842: 
19843: 
19844: 
19845:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
19846: $as_echo_n "checking for unsigned long long int... " >&6; }
19847: if ${ac_cv_type_unsigned_long_long_int+:} false; then :
19848:   $as_echo_n "(cached) " >&6
19849: else
19850:   ac_cv_type_unsigned_long_long_int=yes
19851:      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
19852:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19853: /* end confdefs.h.  */
19854: 
19855:   /* For now, do not test the preprocessor; as of 2007 there are too many
19856:          implementations with broken preprocessors.  Perhaps this can
19857:          be revisited in 2012.  In the meantime, code should not expect
19858:          #if to work with literals wider than 32 bits.  */
19859:       /* Test literals.  */
19860:       long long int ll = 9223372036854775807ll;
19861:       long long int nll = -9223372036854775807LL;
19862:       unsigned long long int ull = 18446744073709551615ULL;
19863:       /* Test constant expressions.   */
19864:       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
19865:                      ? 1 : -1)];
19866:       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
19867:                      ? 1 : -1)];
19868:       int i = 63;
19869: int
19870: main ()
19871: {
19872: /* Test availability of runtime routines for shift and division.  */
19873:       long long int llmax = 9223372036854775807ll;
19874:       unsigned long long int ullmax = 18446744073709551615ull;
19875:       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
19876:               | (llmax / ll) | (llmax % ll)
19877:               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
19878:               | (ullmax / ull) | (ullmax % ull));
19879:   ;
19880:   return 0;
19881: }
19882: 
19883: _ACEOF
19884: if ac_fn_c_try_link "$LINENO"; then :
19885: 
19886: else
19887:   ac_cv_type_unsigned_long_long_int=no
19888: fi
19889: rm -f core conftest.err conftest.$ac_objext \
19890:     conftest$ac_exeext conftest.$ac_ext
19891:      fi
19892: fi
19893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
19894: $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
19895:   if test $ac_cv_type_unsigned_long_long_int = yes; then
19896: 
19897: $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
19898: 
19899:   fi
19900: 
19901: 
19902: 
19903:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
19904: $as_echo_n "checking for long long int... " >&6; }
19905: if ${ac_cv_type_long_long_int+:} false; then :
19906:   $as_echo_n "(cached) " >&6
19907: else
19908:   ac_cv_type_long_long_int=yes
19909:       if test "x${ac_cv_prog_cc_c99-no}" = xno; then
19910:         ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
19911:         if test $ac_cv_type_long_long_int = yes; then
19912:                                         if test "$cross_compiling" = yes; then :
19913:   :
19914: else
19915:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916: /* end confdefs.h.  */
19917: #include <limits.h>
19918:                  #ifndef LLONG_MAX
19919:                  # define HALF \
19920:                           (1LL << (sizeof (long long int) * CHAR_BIT - 2))
19921:                  # define LLONG_MAX (HALF - 1 + HALF)
19922:                  #endif
19923: int
19924: main ()
19925: {
19926: long long int n = 1;
19927:                  int i;
19928:                  for (i = 0; ; i++)
19929:                    {
19930:                      long long int m = n << i;
19931:                      if (m >> i != n)
19932:                        return 1;
19933:                      if (LLONG_MAX / 2 < m)
19934:                        break;
19935:                    }
19936:                  return 0;
19937:   ;
19938:   return 0;
19939: }
19940: _ACEOF
19941: if ac_fn_c_try_run "$LINENO"; then :
19942: 
19943: else
19944:   ac_cv_type_long_long_int=no
19945: fi
19946: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19947:   conftest.$ac_objext conftest.beam conftest.$ac_ext
19948: fi
19949: 
19950:         fi
19951:       fi
19952: fi
19953: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
19954: $as_echo "$ac_cv_type_long_long_int" >&6; }
19955:   if test $ac_cv_type_long_long_int = yes; then
19956: 
19957: $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
19958: 
19959:   fi
19960: 
19961: 
19962: 
19963: 
19964: 
19965:   if test $ac_cv_func__set_invalid_parameter_handler = yes; then
19966:     HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
19967: 
19968: $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
19969: 
19970:   else
19971:     HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
19972:   fi
19973: 
19974: 
19975: 
19976: 
19977: 
19978: 
19979:     gl_cv_c_multiarch=no
19980:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981: /* end confdefs.h.  */
19982: #ifndef __APPLE_CC__
19983:          not a universal capable compiler
19984:         #endif
19985:         typedef int dummy;
19986: 
19987: _ACEOF
19988: if ac_fn_c_try_compile "$LINENO"; then :
19989: 
19990:                arch=
19991:      prev=
19992:      for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
19993:        if test -n "$prev"; then
19994:          case $word in
19995:            i?86 | x86_64 | ppc | ppc64)
19996:              if test -z "$arch" || test "$arch" = "$word"; then
19997:                arch="$word"
19998:              else
19999:                gl_cv_c_multiarch=yes
20000:              fi
20001:              ;;
20002:          esac
20003:          prev=
20004:        else
20005:          if test "x$word" = "x-arch"; then
20006:            prev=arch
20007:          fi
20008:        fi
20009:      done
20010: 
20011: fi
20012: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20013:   if test $gl_cv_c_multiarch = yes; then
20014:     APPLE_UNIVERSAL_BUILD=1
20015:   else
20016:     APPLE_UNIVERSAL_BUILD=0
20017:   fi
20018: 
20019: 
20020: 
20021:   GNULIB_PTHREAD_SIGMASK=0;
20022:   GNULIB_RAISE=0;
20023:   GNULIB_SIGNAL_H_SIGPIPE=0;
20024:   GNULIB_SIGPROCMASK=0;
20025:   GNULIB_SIGACTION=0;
20026:     HAVE_POSIX_SIGNALBLOCKING=1;
20027:   HAVE_PTHREAD_SIGMASK=1;
20028:   HAVE_RAISE=1;
20029:   HAVE_SIGSET_T=1;
20030:   HAVE_SIGINFO_T=1;
20031:   HAVE_SIGACTION=1;
20032:   HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
20033: 
20034:   HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
20035: 
20036:   HAVE_SIGHANDLER_T=1;
20037:   REPLACE_PTHREAD_SIGMASK=0;
20038:   REPLACE_RAISE=0;
20039: 
20040: 
20041:   ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
20042:       #include <signal.h>
20043:       /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>.  */
20044:       #include <sys/types.h>
20045: 
20046: "
20047: if test "x$ac_cv_type_sigset_t" = xyes; then :
20048: 
20049: cat >>confdefs.h <<_ACEOF
20050: #define HAVE_SIGSET_T 1
20051: _ACEOF
20052: 
20053: gl_cv_type_sigset_t=yes
20054: else
20055:   gl_cv_type_sigset_t=no
20056: fi
20057: 
20058:   if test $gl_cv_type_sigset_t != yes; then
20059:     HAVE_SIGSET_T=0
20060:   fi
20061: 
20062: 
20063: 
20064:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGPIPE" >&5
20065: $as_echo_n "checking for SIGPIPE... " >&6; }
20066: if ${gl_cv_header_signal_h_SIGPIPE+:} false; then :
20067:   $as_echo_n "(cached) " >&6
20068: else
20069: 
20070:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20071: /* end confdefs.h.  */
20072: 
20073: #include <signal.h>
20074: #if !defined SIGPIPE
20075: booboo
20076: #endif
20077: 
20078: _ACEOF
20079: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20080:   $EGREP "booboo" >/dev/null 2>&1; then :
20081:   gl_cv_header_signal_h_SIGPIPE=no
20082: else
20083:   gl_cv_header_signal_h_SIGPIPE=yes
20084: fi
20085: rm -f conftest*
20086: 
20087: 
20088: fi
20089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_signal_h_SIGPIPE" >&5
20090: $as_echo "$gl_cv_header_signal_h_SIGPIPE" >&6; }
20091: 
20092: ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
20093: if test "x$ac_cv_have_decl_setenv" = xyes; then :
20094:   ac_have_decl=1
20095: else
20096:   ac_have_decl=0
20097: fi
20098: 
20099: cat >>confdefs.h <<_ACEOF
20100: #define HAVE_DECL_SETENV $ac_have_decl
20101: _ACEOF
20102: 
20103: 
20104: 
20105: 
20106:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
20107: $as_echo_n "checking for ssize_t... " >&6; }
20108: if ${gt_cv_ssize_t+:} false; then :
20109:   $as_echo_n "(cached) " >&6
20110: else
20111:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112: /* end confdefs.h.  */
20113: #include <sys/types.h>
20114: int
20115: main ()
20116: {
20117: int x = sizeof (ssize_t *) + sizeof (ssize_t);
20118:             return !x;
20119:   ;
20120:   return 0;
20121: }
20122: _ACEOF
20123: if ac_fn_c_try_compile "$LINENO"; then :
20124:   gt_cv_ssize_t=yes
20125: else
20126:   gt_cv_ssize_t=no
20127: fi
20128: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129: fi
20130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
20131: $as_echo "$gt_cv_ssize_t" >&6; }
20132:   if test $gt_cv_ssize_t = no; then
20133: 
20134: $as_echo "#define ssize_t int" >>confdefs.h
20135: 
20136:   fi
20137: 
20138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20139: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20140: if ${ac_cv_type_uid_t+:} false; then :
20141:   $as_echo_n "(cached) " >&6
20142: else
20143:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144: /* end confdefs.h.  */
20145: #include <sys/types.h>
20146: 
20147: _ACEOF
20148: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20149:   $EGREP "uid_t" >/dev/null 2>&1; then :
20150:   ac_cv_type_uid_t=yes
20151: else
20152:   ac_cv_type_uid_t=no
20153: fi
20154: rm -f conftest*
20155: 
20156: fi
20157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20158: $as_echo "$ac_cv_type_uid_t" >&6; }
20159: if test $ac_cv_type_uid_t = no; then
20160: 
20161: $as_echo "#define uid_t int" >>confdefs.h
20162: 
20163: 
20164: $as_echo "#define gid_t int" >>confdefs.h
20165: 
20166: fi
20167: 
20168: 
20169:   GNULIB_DPRINTF=0;
20170:   GNULIB_FCLOSE=0;
20171:   GNULIB_FDOPEN=0;
20172:   GNULIB_FFLUSH=0;
20173:   GNULIB_FGETC=0;
20174:   GNULIB_FGETS=0;
20175:   GNULIB_FOPEN=0;
20176:   GNULIB_FPRINTF=0;
20177:   GNULIB_FPRINTF_POSIX=0;
20178:   GNULIB_FPURGE=0;
20179:   GNULIB_FPUTC=0;
20180:   GNULIB_FPUTS=0;
20181:   GNULIB_FREAD=0;
20182:   GNULIB_FREOPEN=0;
20183:   GNULIB_FSCANF=0;
20184:   GNULIB_FSEEK=0;
20185:   GNULIB_FSEEKO=0;
20186:   GNULIB_FTELL=0;
20187:   GNULIB_FTELLO=0;
20188:   GNULIB_FWRITE=0;
20189:   GNULIB_GETC=0;
20190:   GNULIB_GETCHAR=0;
20191:   GNULIB_GETDELIM=0;
20192:   GNULIB_GETLINE=0;
20193:   GNULIB_OBSTACK_PRINTF=0;
20194:   GNULIB_OBSTACK_PRINTF_POSIX=0;
20195:   GNULIB_PCLOSE=0;
20196:   GNULIB_PERROR=0;
20197:   GNULIB_POPEN=0;
20198:   GNULIB_PRINTF=0;
20199:   GNULIB_PRINTF_POSIX=0;
20200:   GNULIB_PUTC=0;
20201:   GNULIB_PUTCHAR=0;
20202:   GNULIB_PUTS=0;
20203:   GNULIB_REMOVE=0;
20204:   GNULIB_RENAME=0;
20205:   GNULIB_RENAMEAT=0;
20206:   GNULIB_SCANF=0;
20207:   GNULIB_SNPRINTF=0;
20208:   GNULIB_SPRINTF_POSIX=0;
20209:   GNULIB_STDIO_H_NONBLOCKING=0;
20210:   GNULIB_STDIO_H_SIGPIPE=0;
20211:   GNULIB_TMPFILE=0;
20212:   GNULIB_VASPRINTF=0;
20213:   GNULIB_VFSCANF=0;
20214:   GNULIB_VSCANF=0;
20215:   GNULIB_VDPRINTF=0;
20216:   GNULIB_VFPRINTF=0;
20217:   GNULIB_VFPRINTF_POSIX=0;
20218:   GNULIB_VPRINTF=0;
20219:   GNULIB_VPRINTF_POSIX=0;
20220:   GNULIB_VSNPRINTF=0;
20221:   GNULIB_VSPRINTF_POSIX=0;
20222:     HAVE_DECL_FPURGE=1;
20223:   HAVE_DECL_FSEEKO=1;
20224:   HAVE_DECL_FTELLO=1;
20225:   HAVE_DECL_GETDELIM=1;
20226:   HAVE_DECL_GETLINE=1;
20227:   HAVE_DECL_OBSTACK_PRINTF=1;
20228:   HAVE_DECL_SNPRINTF=1;
20229:   HAVE_DECL_VSNPRINTF=1;
20230:   HAVE_DPRINTF=1;
20231:   HAVE_FSEEKO=1;
20232:   HAVE_FTELLO=1;
20233:   HAVE_PCLOSE=1;
20234:   HAVE_POPEN=1;
20235:   HAVE_RENAMEAT=1;
20236:   HAVE_VASPRINTF=1;
20237:   HAVE_VDPRINTF=1;
20238:   REPLACE_DPRINTF=0;
20239:   REPLACE_FCLOSE=0;
20240:   REPLACE_FDOPEN=0;
20241:   REPLACE_FFLUSH=0;
20242:   REPLACE_FOPEN=0;
20243:   REPLACE_FPRINTF=0;
20244:   REPLACE_FPURGE=0;
20245:   REPLACE_FREOPEN=0;
20246:   REPLACE_FSEEK=0;
20247:   REPLACE_FSEEKO=0;
20248:   REPLACE_FTELL=0;
20249:   REPLACE_FTELLO=0;
20250:   REPLACE_GETDELIM=0;
20251:   REPLACE_GETLINE=0;
20252:   REPLACE_OBSTACK_PRINTF=0;
20253:   REPLACE_PERROR=0;
20254:   REPLACE_POPEN=0;
20255:   REPLACE_PRINTF=0;
20256:   REPLACE_REMOVE=0;
20257:   REPLACE_RENAME=0;
20258:   REPLACE_RENAMEAT=0;
20259:   REPLACE_SNPRINTF=0;
20260:   REPLACE_SPRINTF=0;
20261:   REPLACE_STDIO_READ_FUNCS=0;
20262:   REPLACE_STDIO_WRITE_FUNCS=0;
20263:   REPLACE_TMPFILE=0;
20264:   REPLACE_VASPRINTF=0;
20265:   REPLACE_VDPRINTF=0;
20266:   REPLACE_VFPRINTF=0;
20267:   REPLACE_VPRINTF=0;
20268:   REPLACE_VSNPRINTF=0;
20269:   REPLACE_VSPRINTF=0;
20270: 
20271: 
20272:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20273: /* end confdefs.h.  */
20274: 
20275: #ifdef _MSC_VER
20276: MicrosoftCompiler
20277: #endif
20278: 
20279: _ACEOF
20280: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20281:   $EGREP "MicrosoftCompiler" >/dev/null 2>&1; then :
20282:   gl_asmext='asm'
20283:      gl_c_asm_opt='-c -Fa'
20284: 
20285: else
20286:   gl_asmext='s'
20287:      gl_c_asm_opt='-S'
20288: 
20289: fi
20290: rm -f conftest*
20291: 
20292: 
20293: 
20294: 
20295: 
20296:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5
20297: $as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; }
20298: if ${gl_cv_prog_as_underscore+:} false; then :
20299:   $as_echo_n "(cached) " >&6
20300: else
20301:   cat > conftest.c <<EOF
20302: #ifdef __cplusplus
20303: extern "C" int foo (void);
20304: #endif
20305: int foo(void) { return 0; }
20306: EOF
20307:      # Look for the assembly language name in the .s file.
20308:      { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c'
20309:   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20310:   (eval $ac_try) 2>&5
20311:   ac_status=$?
20312:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20313:   test $ac_status = 0; }; } >/dev/null 2>&1
20314:      if LC_ALL=C $EGREP '(^|[^a-zA-Z0-9_])_foo([^a-zA-Z0-9_]|$)' conftest.$gl_asmext >/dev/null; then
20315:        gl_cv_prog_as_underscore=yes
20316:      else
20317:        gl_cv_prog_as_underscore=no
20318:      fi
20319:      rm -f conftest*
20320: 
20321: fi
20322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_as_underscore" >&5
20323: $as_echo "$gl_cv_prog_as_underscore" >&6; }
20324:   if test $gl_cv_prog_as_underscore = yes; then
20325:     USER_LABEL_PREFIX=_
20326:   else
20327:     USER_LABEL_PREFIX=
20328:   fi
20329: 
20330: cat >>confdefs.h <<_ACEOF
20331: #define USER_LABEL_PREFIX $USER_LABEL_PREFIX
20332: _ACEOF
20333: 
20334:   ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"'
20335: 
20336: 
20337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20338: $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20339: if ${ac_cv_header_stat_broken+:} false; then :
20340:   $as_echo_n "(cached) " >&6
20341: else
20342:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20343: /* end confdefs.h.  */
20344: #include <sys/types.h>
20345: #include <sys/stat.h>
20346: 
20347: #if defined S_ISBLK && defined S_IFDIR
20348: extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20349: #endif
20350: 
20351: #if defined S_ISBLK && defined S_IFCHR
20352: extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20353: #endif
20354: 
20355: #if defined S_ISLNK && defined S_IFREG
20356: extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20357: #endif
20358: 
20359: #if defined S_ISSOCK && defined S_IFREG
20360: extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20361: #endif
20362: 
20363: _ACEOF
20364: if ac_fn_c_try_compile "$LINENO"; then :
20365:   ac_cv_header_stat_broken=no
20366: else
20367:   ac_cv_header_stat_broken=yes
20368: fi
20369: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20370: fi
20371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20372: $as_echo "$ac_cv_header_stat_broken" >&6; }
20373: if test $ac_cv_header_stat_broken = yes; then
20374: 
20375: $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20376: 
20377: fi
20378: 
20379: 
20380: 
20381: 
20382: 
20383: 
20384: 
20385: 
20386: 
20387: 
20388: 
20389: 
20390: 
20391: 
20392: 
20393: 
20394: 
20395:      if test $gl_cv_have_include_next = yes; then
20396:        gl_cv_next_sys_stat_h='<'sys/stat.h'>'
20397:      else
20398:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
20399: $as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
20400: if ${gl_cv_next_sys_stat_h+:} false; then :
20401:   $as_echo_n "(cached) " >&6
20402: else
20403: 
20404:              if test $ac_cv_header_sys_stat_h = yes; then
20405: 
20406: 
20407: 
20408: 
20409:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20410: /* end confdefs.h.  */
20411: #include <sys/stat.h>
20412: _ACEOF
20413:                 case "$host_os" in
20414:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
20415:     *)    gl_absname_cpp="$ac_cpp" ;;
20416:   esac
20417: 
20418:   case "$host_os" in
20419:     mingw*)
20420:                                           gl_dirsep_regex='[/\\]'
20421:       ;;
20422:     *)
20423:       gl_dirsep_regex='\/'
20424:       ;;
20425:   esac
20426:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
20427:   gl_header_literal_regex=`echo 'sys/stat.h' \
20428:                            | sed -e "$gl_make_literal_regex_sed"`
20429:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
20430:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
20431:       s|^/[^/]|//&|
20432:       p
20433:       q
20434:     }'
20435: 
20436:         gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20437:   sed -n "$gl_absolute_header_sed"`
20438: 
20439:            gl_header=$gl_cv_absolute_sys_stat_h
20440:            gl_cv_next_sys_stat_h='"'$gl_header'"'
20441:           else
20442:                gl_cv_next_sys_stat_h='<'sys/stat.h'>'
20443:              fi
20444: 
20445: 
20446: fi
20447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
20448: $as_echo "$gl_cv_next_sys_stat_h" >&6; }
20449:      fi
20450:      NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
20451: 
20452:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
20453:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20454:        gl_next_as_first_directive='<'sys/stat.h'>'
20455:      else
20456:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20457:        gl_next_as_first_directive=$gl_cv_next_sys_stat_h
20458:      fi
20459:      NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
20460: 
20461: 
20462: 
20463: 
20464: 
20465: 
20466: 
20467: 
20468:     WINDOWS_STAT_TIMESPEC=0
20469: 
20470: 
20471: 
20472: 
20473: 
20474: 
20475: 
20476: 
20477:       ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
20478:      #include <sys/stat.h>
20479: "
20480: if test "x$ac_cv_type_nlink_t" = xyes; then :
20481: 
20482: else
20483: 
20484: $as_echo "#define nlink_t int" >>confdefs.h
20485: 
20486: fi
20487: 
20488: 
20489: 
20490: 
20491: 
20492: 
20493: 
20494: 
20495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
20496: $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
20497: if ${ac_cv_header_stdbool_h+:} false; then :
20498:   $as_echo_n "(cached) " >&6
20499: else
20500:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20501: /* end confdefs.h.  */
20502: 
20503:              #include <stdbool.h>
20504: 
20505:              #ifdef __cplusplus
20506:               typedef bool Bool;
20507:              #else
20508:               typedef _Bool Bool;
20509:               #ifndef bool
20510:                "error: bool is not defined"
20511:               #endif
20512:               #ifndef false
20513:                "error: false is not defined"
20514:               #endif
20515:               #if false
20516:                "error: false is not 0"
20517:               #endif
20518:               #ifndef true
20519:                "error: true is not defined"
20520:               #endif
20521:               #if true != 1
20522:                "error: true is not 1"
20523:               #endif
20524:              #endif
20525: 
20526:              #ifndef __bool_true_false_are_defined
20527:               "error: __bool_true_false_are_defined is not defined"
20528:              #endif
20529: 
20530:              struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s;
20531: 
20532:              char a[true == 1 ? 1 : -1];
20533:              char b[false == 0 ? 1 : -1];
20534:              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
20535:              char d[(bool) 0.5 == true ? 1 : -1];
20536:              /* See body of main program for 'e'.  */
20537:              char f[(Bool) 0.0 == false ? 1 : -1];
20538:              char g[true];
20539:              char h[sizeof (Bool)];
20540:              char i[sizeof s.t];
20541:              enum { j = false, k = true, l = false * true, m = true * 256 };
20542:              /* The following fails for
20543:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
20544:              Bool n[m];
20545:              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
20546:              char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
20547:              /* Catch a bug in an HP-UX C compiler.  See
20548:                 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
20549:                 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
20550:               */
20551:              Bool q = true;
20552:              Bool *pq = &q;
20553:              bool *qq = &q;
20554: 
20555: int
20556: main ()
20557: {
20558: 
20559:              bool e = &s;
20560:              *pq |= q; *pq |= ! q;
20561:              *qq |= q; *qq |= ! q;
20562:              /* Refer to every declared value, to avoid compiler optimizations.  */
20563:              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
20564:                      + !m + !n + !o + !p + !q + !pq + !qq);
20565: 
20566:   ;
20567:   return 0;
20568: }
20569: _ACEOF
20570: if ac_fn_c_try_compile "$LINENO"; then :
20571:   ac_cv_header_stdbool_h=yes
20572: else
20573:   ac_cv_header_stdbool_h=no
20574: fi
20575: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20576: fi
20577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
20578: $as_echo "$ac_cv_header_stdbool_h" >&6; }
20579:    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
20580: if test "x$ac_cv_type__Bool" = xyes; then :
20581: 
20582: cat >>confdefs.h <<_ACEOF
20583: #define HAVE__BOOL 1
20584: _ACEOF
20585: 
20586: 
20587: fi
20588: 
20589: 
20590: 
20591:     REPLACE_NULL=0;
20592:   HAVE_MAX_ALIGN_T=1;
20593:   HAVE_WCHAR_T=1;
20594: 
20595: 
20596:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
20597: $as_echo_n "checking for wint_t... " >&6; }
20598: if ${gt_cv_c_wint_t+:} false; then :
20599:   $as_echo_n "(cached) " >&6
20600: else
20601:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602: /* end confdefs.h.  */
20603: 
20604: /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
20605:    <wchar.h>.
20606:    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
20607:    before <wchar.h>.  */
20608: #include <stddef.h>
20609: #include <stdio.h>
20610: #include <time.h>
20611: #include <wchar.h>
20612:             wint_t foo = (wchar_t)'\0';
20613: int
20614: main ()
20615: {
20616: 
20617:   ;
20618:   return 0;
20619: }
20620: _ACEOF
20621: if ac_fn_c_try_compile "$LINENO"; then :
20622:   gt_cv_c_wint_t=yes
20623: else
20624:   gt_cv_c_wint_t=no
20625: fi
20626: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627: fi
20628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
20629: $as_echo "$gt_cv_c_wint_t" >&6; }
20630:   if test $gt_cv_c_wint_t = yes; then
20631: 
20632: $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
20633: 
20634: 
20635:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wint_t is too small" >&5
20636: $as_echo_n "checking whether wint_t is too small... " >&6; }
20637: if ${gl_cv_type_wint_t_too_small+:} false; then :
20638:   $as_echo_n "(cached) " >&6
20639: else
20640:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20641: /* end confdefs.h.  */
20642: 
20643: /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
20644:    <wchar.h>.
20645:    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
20646:    included before <wchar.h>.  */
20647: #if !(defined __GLIBC__ && !defined __UCLIBC__)
20648: # include <stddef.h>
20649: # include <stdio.h>
20650: # include <time.h>
20651: #endif
20652: #include <wchar.h>
20653:               int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
20654: 
20655: int
20656: main ()
20657: {
20658: 
20659:   ;
20660:   return 0;
20661: }
20662: _ACEOF
20663: if ac_fn_c_try_compile "$LINENO"; then :
20664:   gl_cv_type_wint_t_too_small=no
20665: else
20666:   gl_cv_type_wint_t_too_small=yes
20667: fi
20668: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20669: fi
20670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wint_t_too_small" >&5
20671: $as_echo "$gl_cv_type_wint_t_too_small" >&6; }
20672:     if test $gl_cv_type_wint_t_too_small = yes; then
20673:       GNULIB_OVERRIDES_WINT_T=1
20674:     else
20675:       GNULIB_OVERRIDES_WINT_T=0
20676:     fi
20677:   else
20678:     GNULIB_OVERRIDES_WINT_T=0
20679:   fi
20680: 
20681: 
20682: 
20683: 
20684: 
20685: 
20686: 
20687: 
20688: 
20689: 
20690: 
20691: 
20692:   if test $ac_cv_type_long_long_int = yes; then
20693:     HAVE_LONG_LONG_INT=1
20694:   else
20695:     HAVE_LONG_LONG_INT=0
20696:   fi
20697: 
20698: 
20699:   if test $ac_cv_type_unsigned_long_long_int = yes; then
20700:     HAVE_UNSIGNED_LONG_LONG_INT=1
20701:   else
20702:     HAVE_UNSIGNED_LONG_LONG_INT=0
20703:   fi
20704: 
20705: 
20706: 
20707:   if test $ac_cv_header_wchar_h = yes; then
20708:     HAVE_WCHAR_H=1
20709:   else
20710:     HAVE_WCHAR_H=0
20711:   fi
20712: 
20713: 
20714:       if test $ac_cv_header_inttypes_h = yes; then
20715:     HAVE_INTTYPES_H=1
20716:   else
20717:     HAVE_INTTYPES_H=0
20718:   fi
20719: 
20720: 
20721:       if test $ac_cv_header_sys_types_h = yes; then
20722:     HAVE_SYS_TYPES_H=1
20723:   else
20724:     HAVE_SYS_TYPES_H=0
20725:   fi
20726: 
20727: 
20728: 
20729: 
20730: 
20731: 
20732: 
20733: 
20734: 
20735: 
20736: 
20737:      if test $gl_cv_have_include_next = yes; then
20738:        gl_cv_next_stdint_h='<'stdint.h'>'
20739:      else
20740:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
20741: $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
20742: if ${gl_cv_next_stdint_h+:} false; then :
20743:   $as_echo_n "(cached) " >&6
20744: else
20745: 
20746:              if test $ac_cv_header_stdint_h = yes; then
20747: 
20748: 
20749: 
20750: 
20751:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752: /* end confdefs.h.  */
20753: #include <stdint.h>
20754: _ACEOF
20755:                 case "$host_os" in
20756:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
20757:     *)    gl_absname_cpp="$ac_cpp" ;;
20758:   esac
20759: 
20760:   case "$host_os" in
20761:     mingw*)
20762:                                           gl_dirsep_regex='[/\\]'
20763:       ;;
20764:     *)
20765:       gl_dirsep_regex='\/'
20766:       ;;
20767:   esac
20768:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
20769:   gl_header_literal_regex=`echo 'stdint.h' \
20770:                            | sed -e "$gl_make_literal_regex_sed"`
20771:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
20772:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
20773:       s|^/[^/]|//&|
20774:       p
20775:       q
20776:     }'
20777: 
20778:         gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20779:   sed -n "$gl_absolute_header_sed"`
20780: 
20781:            gl_header=$gl_cv_absolute_stdint_h
20782:            gl_cv_next_stdint_h='"'$gl_header'"'
20783:           else
20784:                gl_cv_next_stdint_h='<'stdint.h'>'
20785:              fi
20786: 
20787: 
20788: fi
20789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
20790: $as_echo "$gl_cv_next_stdint_h" >&6; }
20791:      fi
20792:      NEXT_STDINT_H=$gl_cv_next_stdint_h
20793: 
20794:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
20795:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20796:        gl_next_as_first_directive='<'stdint.h'>'
20797:      else
20798:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20799:        gl_next_as_first_directive=$gl_cv_next_stdint_h
20800:      fi
20801:      NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
20802: 
20803: 
20804: 
20805: 
20806:   if test $ac_cv_header_stdint_h = yes; then
20807:     HAVE_STDINT_H=1
20808:   else
20809:     HAVE_STDINT_H=0
20810:   fi
20811: 
20812: 
20813:     if test $ac_cv_header_stdint_h = yes; then
20814:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
20815: $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
20816: if ${gl_cv_header_working_stdint_h+:} false; then :
20817:   $as_echo_n "(cached) " >&6
20818: else
20819:   gl_cv_header_working_stdint_h=no
20820:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821: /* end confdefs.h.  */
20822: 
20823: 
20824: #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
20825: #define __STDC_CONSTANT_MACROS 1
20826: #define __STDC_LIMIT_MACROS 1
20827: #include <stdint.h>
20828: /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>.  */
20829: #if !(defined WCHAR_MIN && defined WCHAR_MAX)
20830: #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
20831: #endif
20832: 
20833: 
20834:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
20835:      included before <wchar.h>.  */
20836:   #include <stddef.h>
20837:   #include <signal.h>
20838:   #if HAVE_WCHAR_H
20839:   # include <stdio.h>
20840:   # include <time.h>
20841:   # include <wchar.h>
20842:   #endif
20843: 
20844: 
20845: #ifdef INT8_MAX
20846: int8_t a1 = INT8_MAX;
20847: int8_t a1min = INT8_MIN;
20848: #endif
20849: #ifdef INT16_MAX
20850: int16_t a2 = INT16_MAX;
20851: int16_t a2min = INT16_MIN;
20852: #endif
20853: #ifdef INT32_MAX
20854: int32_t a3 = INT32_MAX;
20855: int32_t a3min = INT32_MIN;
20856: #endif
20857: #ifdef INT64_MAX
20858: int64_t a4 = INT64_MAX;
20859: int64_t a4min = INT64_MIN;
20860: #endif
20861: #ifdef UINT8_MAX
20862: uint8_t b1 = UINT8_MAX;
20863: #else
20864: typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
20865: #endif
20866: #ifdef UINT16_MAX
20867: uint16_t b2 = UINT16_MAX;
20868: #endif
20869: #ifdef UINT32_MAX
20870: uint32_t b3 = UINT32_MAX;
20871: #endif
20872: #ifdef UINT64_MAX
20873: uint64_t b4 = UINT64_MAX;
20874: #endif
20875: int_least8_t c1 = INT8_C (0x7f);
20876: int_least8_t c1max = INT_LEAST8_MAX;
20877: int_least8_t c1min = INT_LEAST8_MIN;
20878: int_least16_t c2 = INT16_C (0x7fff);
20879: int_least16_t c2max = INT_LEAST16_MAX;
20880: int_least16_t c2min = INT_LEAST16_MIN;
20881: int_least32_t c3 = INT32_C (0x7fffffff);
20882: int_least32_t c3max = INT_LEAST32_MAX;
20883: int_least32_t c3min = INT_LEAST32_MIN;
20884: int_least64_t c4 = INT64_C (0x7fffffffffffffff);
20885: int_least64_t c4max = INT_LEAST64_MAX;
20886: int_least64_t c4min = INT_LEAST64_MIN;
20887: uint_least8_t d1 = UINT8_C (0xff);
20888: uint_least8_t d1max = UINT_LEAST8_MAX;
20889: uint_least16_t d2 = UINT16_C (0xffff);
20890: uint_least16_t d2max = UINT_LEAST16_MAX;
20891: uint_least32_t d3 = UINT32_C (0xffffffff);
20892: uint_least32_t d3max = UINT_LEAST32_MAX;
20893: uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
20894: uint_least64_t d4max = UINT_LEAST64_MAX;
20895: int_fast8_t e1 = INT_FAST8_MAX;
20896: int_fast8_t e1min = INT_FAST8_MIN;
20897: int_fast16_t e2 = INT_FAST16_MAX;
20898: int_fast16_t e2min = INT_FAST16_MIN;
20899: int_fast32_t e3 = INT_FAST32_MAX;
20900: int_fast32_t e3min = INT_FAST32_MIN;
20901: int_fast64_t e4 = INT_FAST64_MAX;
20902: int_fast64_t e4min = INT_FAST64_MIN;
20903: uint_fast8_t f1 = UINT_FAST8_MAX;
20904: uint_fast16_t f2 = UINT_FAST16_MAX;
20905: uint_fast32_t f3 = UINT_FAST32_MAX;
20906: uint_fast64_t f4 = UINT_FAST64_MAX;
20907: #ifdef INTPTR_MAX
20908: intptr_t g = INTPTR_MAX;
20909: intptr_t gmin = INTPTR_MIN;
20910: #endif
20911: #ifdef UINTPTR_MAX
20912: uintptr_t h = UINTPTR_MAX;
20913: #endif
20914: intmax_t i = INTMAX_MAX;
20915: uintmax_t j = UINTMAX_MAX;
20916: 
20917: /* Check that SIZE_MAX has the correct type, if possible.  */
20918: #if 201112 <= __STDC_VERSION__
20919: int k = _Generic (SIZE_MAX, size_t: 0);
20920: #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
20921:        || (0x5110 <= __SUNPRO_C && !__STDC__))
20922: extern size_t k;
20923: extern __typeof__ (SIZE_MAX) k;
20924: #endif
20925: 
20926: #include <limits.h> /* for CHAR_BIT */
20927: #define TYPE_MINIMUM(t) \
20928:   ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
20929: #define TYPE_MAXIMUM(t) \
20930:   ((t) ((t) 0 < (t) -1 \
20931:         ? (t) -1 \
20932:         : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
20933: struct s {
20934:   int check_PTRDIFF:
20935:       PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
20936:       && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
20937:       ? 1 : -1;
20938:   /* Detect bug in FreeBSD 6.0 / ia64.  */
20939:   int check_SIG_ATOMIC:
20940:       SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
20941:       && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
20942:       ? 1 : -1;
20943:   int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
20944:   int check_WCHAR:
20945:       WCHAR_MIN == TYPE_MINIMUM (wchar_t)
20946:       && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
20947:       ? 1 : -1;
20948:   /* Detect bug in mingw.  */
20949:   int check_WINT:
20950:       WINT_MIN == TYPE_MINIMUM (wint_t)
20951:       && WINT_MAX == TYPE_MAXIMUM (wint_t)
20952:       ? 1 : -1;
20953: 
20954:   /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others.  */
20955:   int check_UINT8_C:
20956:         (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
20957:   int check_UINT16_C:
20958:         (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
20959: 
20960:   /* Detect bugs in OpenBSD 3.9 stdint.h.  */
20961: #ifdef UINT8_MAX
20962:   int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
20963: #endif
20964: #ifdef UINT16_MAX
20965:   int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
20966: #endif
20967: #ifdef UINT32_MAX
20968:   int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
20969: #endif
20970: #ifdef UINT64_MAX
20971:   int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
20972: #endif
20973:   int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
20974:   int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
20975:   int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
20976:   int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
20977:   int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
20978:   int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
20979:   int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
20980:   int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
20981:   int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
20982:   int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
20983:   int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
20984: };
20985: 
20986: int
20987: main ()
20988: {
20989: 
20990:   ;
20991:   return 0;
20992: }
20993: _ACEOF
20994: if ac_fn_c_try_compile "$LINENO"; then :
20995:                                                     if test "$cross_compiling" = yes; then :
20996:   case "$host_os" in
20997:                          # Guess yes on native Windows.
20998:                  mingw*) gl_cv_header_working_stdint_h="guessing yes" ;;
20999:                          # In general, assume it works.
21000:                  *)      gl_cv_header_working_stdint_h="guessing yes" ;;
21001:                esac
21002: 
21003: else
21004:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005: /* end confdefs.h.  */
21006: 
21007: 
21008: #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
21009: #define __STDC_CONSTANT_MACROS 1
21010: #define __STDC_LIMIT_MACROS 1
21011: #include <stdint.h>
21012: 
21013: 
21014:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21015:      included before <wchar.h>.  */
21016:   #include <stddef.h>
21017:   #include <signal.h>
21018:   #if HAVE_WCHAR_H
21019:   # include <stdio.h>
21020:   # include <time.h>
21021:   # include <wchar.h>
21022:   #endif
21023: 
21024: 
21025: #include <stdio.h>
21026: #include <string.h>
21027: #define MVAL(macro) MVAL1(macro)
21028: #define MVAL1(expression) #expression
21029: static const char *macro_values[] =
21030:   {
21031: #ifdef INT8_MAX
21032:     MVAL (INT8_MAX),
21033: #endif
21034: #ifdef INT16_MAX
21035:     MVAL (INT16_MAX),
21036: #endif
21037: #ifdef INT32_MAX
21038:     MVAL (INT32_MAX),
21039: #endif
21040: #ifdef INT64_MAX
21041:     MVAL (INT64_MAX),
21042: #endif
21043: #ifdef UINT8_MAX
21044:     MVAL (UINT8_MAX),
21045: #endif
21046: #ifdef UINT16_MAX
21047:     MVAL (UINT16_MAX),
21048: #endif
21049: #ifdef UINT32_MAX
21050:     MVAL (UINT32_MAX),
21051: #endif
21052: #ifdef UINT64_MAX
21053:     MVAL (UINT64_MAX),
21054: #endif
21055:     NULL
21056:   };
21057: 
21058: int
21059: main ()
21060: {
21061: 
21062:   const char **mv;
21063:   for (mv = macro_values; *mv != NULL; mv++)
21064:     {
21065:       const char *value = *mv;
21066:       /* Test whether it looks like a cast expression.  */
21067:       if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
21068:           || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
21069:           || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
21070:           || strncmp (value, "((int)"/*)*/, 6) == 0
21071:           || strncmp (value, "((signed short)"/*)*/, 15) == 0
21072:           || strncmp (value, "((signed char)"/*)*/, 14) == 0)
21073:         return mv - macro_values + 1;
21074:     }
21075:   return 0;
21076: 
21077:   ;
21078:   return 0;
21079: }
21080: _ACEOF
21081: if ac_fn_c_try_run "$LINENO"; then :
21082:   gl_cv_header_working_stdint_h=yes
21083: fi
21084: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21085:   conftest.$ac_objext conftest.beam conftest.$ac_ext
21086: fi
21087: 
21088: 
21089: fi
21090: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21091: 
21092: fi
21093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
21094: $as_echo "$gl_cv_header_working_stdint_h" >&6; }
21095:   fi
21096: 
21097:   HAVE_C99_STDINT_H=0
21098:   HAVE_SYS_BITYPES_H=0
21099:   HAVE_SYS_INTTYPES_H=0
21100:   STDINT_H=stdint.h
21101:   case "$gl_cv_header_working_stdint_h" in
21102:     *yes)
21103:       HAVE_C99_STDINT_H=1
21104:                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5
21105: $as_echo_n "checking whether stdint.h predates C++11... " >&6; }
21106: if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then :
21107:   $as_echo_n "(cached) " >&6
21108: else
21109:   gl_cv_header_stdint_predates_cxx11_h=yes
21110:          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111: /* end confdefs.h.  */
21112: 
21113: 
21114: #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
21115: #include <stdint.h>
21116: 
21117: 
21118:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21119:      included before <wchar.h>.  */
21120:   #include <stddef.h>
21121:   #include <signal.h>
21122:   #if HAVE_WCHAR_H
21123:   # include <stdio.h>
21124:   # include <time.h>
21125:   # include <wchar.h>
21126:   #endif
21127: 
21128: 
21129: intmax_t im = INTMAX_MAX;
21130: int32_t i32 = INT32_C (0x7fffffff);
21131: 
21132: int
21133: main ()
21134: {
21135: 
21136:   ;
21137:   return 0;
21138: }
21139: _ACEOF
21140: if ac_fn_c_try_compile "$LINENO"; then :
21141:   gl_cv_header_stdint_predates_cxx11_h=no
21142: fi
21143: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144: fi
21145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5
21146: $as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; }
21147: 
21148:       if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then
21149: 
21150: $as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h
21151: 
21152: 
21153: $as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h
21154: 
21155:       fi
21156:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5
21157: $as_echo_n "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; }
21158: if ${gl_cv_header_stdint_width+:} false; then :
21159:   $as_echo_n "(cached) " >&6
21160: else
21161:   gl_cv_header_stdint_width=no
21162:          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163: /* end confdefs.h.  */
21164: 
21165:               /* Work if build is not clean.  */
21166:               #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1
21167:               #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
21168:                #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
21169:               #endif
21170:               #include <stdint.h>
21171: 
21172:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21173:      included before <wchar.h>.  */
21174:   #include <stddef.h>
21175:   #include <signal.h>
21176:   #if HAVE_WCHAR_H
21177:   # include <stdio.h>
21178:   # include <time.h>
21179:   # include <wchar.h>
21180:   #endif
21181: 
21182:               int iw = UINTMAX_WIDTH;
21183: 
21184: int
21185: main ()
21186: {
21187: 
21188:   ;
21189:   return 0;
21190: }
21191: _ACEOF
21192: if ac_fn_c_try_compile "$LINENO"; then :
21193:   gl_cv_header_stdint_width=yes
21194: fi
21195: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21196: fi
21197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_width" >&5
21198: $as_echo "$gl_cv_header_stdint_width" >&6; }
21199:       if test "$gl_cv_header_stdint_width" = yes; then
21200:         STDINT_H=
21201:       fi
21202:       ;;
21203:     *)
21204:                   for ac_header in sys/inttypes.h sys/bitypes.h
21205: do :
21206:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21207: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21208: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21209:   cat >>confdefs.h <<_ACEOF
21210: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21211: _ACEOF
21212: 
21213: fi
21214: 
21215: done
21216: 
21217:       if test $ac_cv_header_sys_inttypes_h = yes; then
21218:         HAVE_SYS_INTTYPES_H=1
21219:       fi
21220:       if test $ac_cv_header_sys_bitypes_h = yes; then
21221:         HAVE_SYS_BITYPES_H=1
21222:       fi
21223: 
21224: 
21225:   if test $APPLE_UNIVERSAL_BUILD = 0; then
21226: 
21227: 
21228:   for gltype in ptrdiff_t size_t ; do
21229:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
21230: $as_echo_n "checking for bit size of $gltype... " >&6; }
21231: if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
21232:   $as_echo_n "(cached) " >&6
21233: else
21234:   if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
21235:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21236:      included before <wchar.h>.  */
21237:   #include <stddef.h>
21238:   #include <signal.h>
21239:   #if HAVE_WCHAR_H
21240:   # include <stdio.h>
21241:   # include <time.h>
21242:   # include <wchar.h>
21243:   #endif
21244: 
21245: #include <limits.h>"; then :
21246: 
21247: else
21248:   result=unknown
21249: fi
21250: 
21251:        eval gl_cv_bitsizeof_${gltype}=\$result
21252: 
21253: fi
21254: eval ac_res=\$gl_cv_bitsizeof_${gltype}
21255: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21256: $as_echo "$ac_res" >&6; }
21257:     eval result=\$gl_cv_bitsizeof_${gltype}
21258:     if test $result = unknown; then
21259:                                                 result=0
21260:     fi
21261:     GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
21262:     cat >>confdefs.h <<_ACEOF
21263: #define BITSIZEOF_${GLTYPE} $result
21264: _ACEOF
21265: 
21266:     eval BITSIZEOF_${GLTYPE}=\$result
21267:   done
21268: 
21269: 
21270:   fi
21271: 
21272: 
21273:   for gltype in sig_atomic_t wchar_t wint_t ; do
21274:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
21275: $as_echo_n "checking for bit size of $gltype... " >&6; }
21276: if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
21277:   $as_echo_n "(cached) " >&6
21278: else
21279:   if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
21280:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21281:      included before <wchar.h>.  */
21282:   #include <stddef.h>
21283:   #include <signal.h>
21284:   #if HAVE_WCHAR_H
21285:   # include <stdio.h>
21286:   # include <time.h>
21287:   # include <wchar.h>
21288:   #endif
21289: 
21290: #include <limits.h>"; then :
21291: 
21292: else
21293:   result=unknown
21294: fi
21295: 
21296:        eval gl_cv_bitsizeof_${gltype}=\$result
21297: 
21298: fi
21299: eval ac_res=\$gl_cv_bitsizeof_${gltype}
21300: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21301: $as_echo "$ac_res" >&6; }
21302:     eval result=\$gl_cv_bitsizeof_${gltype}
21303:     if test $result = unknown; then
21304:                                                 result=0
21305:     fi
21306:     GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
21307:     cat >>confdefs.h <<_ACEOF
21308: #define BITSIZEOF_${GLTYPE} $result
21309: _ACEOF
21310: 
21311:     eval BITSIZEOF_${GLTYPE}=\$result
21312:   done
21313: 
21314: 
21315: 
21316: 
21317:   for gltype in sig_atomic_t wchar_t wint_t ; do
21318:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
21319: $as_echo_n "checking whether $gltype is signed... " >&6; }
21320: if eval \${gl_cv_type_${gltype}_signed+:} false; then :
21321:   $as_echo_n "(cached) " >&6
21322: else
21323:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21324: /* end confdefs.h.  */
21325: 
21326:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21327:      included before <wchar.h>.  */
21328:   #include <stddef.h>
21329:   #include <signal.h>
21330:   #if HAVE_WCHAR_H
21331:   # include <stdio.h>
21332:   # include <time.h>
21333:   # include <wchar.h>
21334:   #endif
21335: 
21336:             int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
21337: int
21338: main ()
21339: {
21340: 
21341:   ;
21342:   return 0;
21343: }
21344: _ACEOF
21345: if ac_fn_c_try_compile "$LINENO"; then :
21346:   result=yes
21347: else
21348:   result=no
21349: fi
21350: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351:        eval gl_cv_type_${gltype}_signed=\$result
21352: 
21353: fi
21354: eval ac_res=\$gl_cv_type_${gltype}_signed
21355: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21356: $as_echo "$ac_res" >&6; }
21357:     eval result=\$gl_cv_type_${gltype}_signed
21358:     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
21359:     if test "$result" = yes; then
21360:       cat >>confdefs.h <<_ACEOF
21361: #define HAVE_SIGNED_${GLTYPE} 1
21362: _ACEOF
21363: 
21364:       eval HAVE_SIGNED_${GLTYPE}=1
21365:     else
21366:       eval HAVE_SIGNED_${GLTYPE}=0
21367:     fi
21368:   done
21369: 
21370: 
21371:   gl_cv_type_ptrdiff_t_signed=yes
21372:   gl_cv_type_size_t_signed=no
21373:   if test $APPLE_UNIVERSAL_BUILD = 0; then
21374: 
21375: 
21376:   for gltype in ptrdiff_t size_t ; do
21377:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
21378: $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
21379: if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
21380:   $as_echo_n "(cached) " >&6
21381: else
21382:   eval gl_cv_type_${gltype}_suffix=no
21383:        eval result=\$gl_cv_type_${gltype}_signed
21384:        if test "$result" = yes; then
21385:          glsufu=
21386:        else
21387:          glsufu=u
21388:        fi
21389:        for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
21390:          case $glsuf in
21391:            '')  gltype1='int';;
21392:            l)   gltype1='long int';;
21393:            ll)  gltype1='long long int';;
21394:            i64) gltype1='__int64';;
21395:            u)   gltype1='unsigned int';;
21396:            ul)  gltype1='unsigned long int';;
21397:            ull) gltype1='unsigned long long int';;
21398:            ui64)gltype1='unsigned __int64';;
21399:          esac
21400:          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21401: /* end confdefs.h.  */
21402: 
21403:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21404:      included before <wchar.h>.  */
21405:   #include <stddef.h>
21406:   #include <signal.h>
21407:   #if HAVE_WCHAR_H
21408:   # include <stdio.h>
21409:   # include <time.h>
21410:   # include <wchar.h>
21411:   #endif
21412: 
21413:               extern $gltype foo;
21414:               extern $gltype1 foo;
21415: int
21416: main ()
21417: {
21418: 
21419:   ;
21420:   return 0;
21421: }
21422: _ACEOF
21423: if ac_fn_c_try_compile "$LINENO"; then :
21424:   eval gl_cv_type_${gltype}_suffix=\$glsuf
21425: fi
21426: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427:          eval result=\$gl_cv_type_${gltype}_suffix
21428:          test "$result" != no && break
21429:        done
21430: fi
21431: eval ac_res=\$gl_cv_type_${gltype}_suffix
21432: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21433: $as_echo "$ac_res" >&6; }
21434:     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
21435:     eval result=\$gl_cv_type_${gltype}_suffix
21436:     test "$result" = no && result=
21437:     eval ${GLTYPE}_SUFFIX=\$result
21438:     cat >>confdefs.h <<_ACEOF
21439: #define ${GLTYPE}_SUFFIX $result
21440: _ACEOF
21441: 
21442:   done
21443: 
21444: 
21445:   fi
21446: 
21447: 
21448:   for gltype in sig_atomic_t wchar_t wint_t ; do
21449:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
21450: $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
21451: if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
21452:   $as_echo_n "(cached) " >&6
21453: else
21454:   eval gl_cv_type_${gltype}_suffix=no
21455:        eval result=\$gl_cv_type_${gltype}_signed
21456:        if test "$result" = yes; then
21457:          glsufu=
21458:        else
21459:          glsufu=u
21460:        fi
21461:        for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
21462:          case $glsuf in
21463:            '')  gltype1='int';;
21464:            l)   gltype1='long int';;
21465:            ll)  gltype1='long long int';;
21466:            i64) gltype1='__int64';;
21467:            u)   gltype1='unsigned int';;
21468:            ul)  gltype1='unsigned long int';;
21469:            ull) gltype1='unsigned long long int';;
21470:            ui64)gltype1='unsigned __int64';;
21471:          esac
21472:          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21473: /* end confdefs.h.  */
21474: 
21475:   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21476:      included before <wchar.h>.  */
21477:   #include <stddef.h>
21478:   #include <signal.h>
21479:   #if HAVE_WCHAR_H
21480:   # include <stdio.h>
21481:   # include <time.h>
21482:   # include <wchar.h>
21483:   #endif
21484: 
21485:               extern $gltype foo;
21486:               extern $gltype1 foo;
21487: int
21488: main ()
21489: {
21490: 
21491:   ;
21492:   return 0;
21493: }
21494: _ACEOF
21495: if ac_fn_c_try_compile "$LINENO"; then :
21496:   eval gl_cv_type_${gltype}_suffix=\$glsuf
21497: fi
21498: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499:          eval result=\$gl_cv_type_${gltype}_suffix
21500:          test "$result" != no && break
21501:        done
21502: fi
21503: eval ac_res=\$gl_cv_type_${gltype}_suffix
21504: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21505: $as_echo "$ac_res" >&6; }
21506:     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
21507:     eval result=\$gl_cv_type_${gltype}_suffix
21508:     test "$result" = no && result=
21509:     eval ${GLTYPE}_SUFFIX=\$result
21510:     cat >>confdefs.h <<_ACEOF
21511: #define ${GLTYPE}_SUFFIX $result
21512: _ACEOF
21513: 
21514:   done
21515: 
21516: 
21517: 
21518:           if test $GNULIB_OVERRIDES_WINT_T = 1; then
21519:     BITSIZEOF_WINT_T=32
21520:   fi
21521: 
21522:       ;;
21523:   esac
21524: 
21525: 
21526: 
21527:   LIMITS_H='limits.h'
21528:    if test -n "$LIMITS_H"; then
21529:   GL_GENERATE_LIMITS_H_TRUE=
21530:   GL_GENERATE_LIMITS_H_FALSE='#'
21531: else
21532:   GL_GENERATE_LIMITS_H_TRUE='#'
21533:   GL_GENERATE_LIMITS_H_FALSE=
21534: fi
21535: 
21536: 
21537: 
21538: 
21539: 
21540: 
21541: 
21542:    if test -n "$STDINT_H"; then
21543:   GL_GENERATE_STDINT_H_TRUE=
21544:   GL_GENERATE_STDINT_H_FALSE='#'
21545: else
21546:   GL_GENERATE_STDINT_H_TRUE='#'
21547:   GL_GENERATE_STDINT_H_FALSE=
21548: fi
21549: 
21550: 
21551: 
21552:   GNULIB_EXPLICIT_BZERO=0;
21553:   GNULIB_FFSL=0;
21554:   GNULIB_FFSLL=0;
21555:   GNULIB_MEMCHR=0;
21556:   GNULIB_MEMMEM=0;
21557:   GNULIB_MEMPCPY=0;
21558:   GNULIB_MEMRCHR=0;
21559:   GNULIB_RAWMEMCHR=0;
21560:   GNULIB_STPCPY=0;
21561:   GNULIB_STPNCPY=0;
21562:   GNULIB_STRCHRNUL=0;
21563:   GNULIB_STRDUP=0;
21564:   GNULIB_STRNCAT=0;
21565:   GNULIB_STRNDUP=0;
21566:   GNULIB_STRNLEN=0;
21567:   GNULIB_STRPBRK=0;
21568:   GNULIB_STRSEP=0;
21569:   GNULIB_STRSTR=0;
21570:   GNULIB_STRCASESTR=0;
21571:   GNULIB_STRTOK_R=0;
21572:   GNULIB_MBSLEN=0;
21573:   GNULIB_MBSNLEN=0;
21574:   GNULIB_MBSCHR=0;
21575:   GNULIB_MBSRCHR=0;
21576:   GNULIB_MBSSTR=0;
21577:   GNULIB_MBSCASECMP=0;
21578:   GNULIB_MBSNCASECMP=0;
21579:   GNULIB_MBSPCASECMP=0;
21580:   GNULIB_MBSCASESTR=0;
21581:   GNULIB_MBSCSPN=0;
21582:   GNULIB_MBSPBRK=0;
21583:   GNULIB_MBSSPN=0;
21584:   GNULIB_MBSSEP=0;
21585:   GNULIB_MBSTOK_R=0;
21586:   GNULIB_STRERROR=0;
21587:   GNULIB_STRERROR_R=0;
21588:   GNULIB_STRSIGNAL=0;
21589:   GNULIB_STRVERSCMP=0;
21590:   HAVE_MBSLEN=0;
21591:     HAVE_EXPLICIT_BZERO=1;
21592:   HAVE_FFSL=1;
21593:   HAVE_FFSLL=1;
21594:   HAVE_MEMCHR=1;
21595:   HAVE_DECL_MEMMEM=1;
21596:   HAVE_MEMPCPY=1;
21597:   HAVE_DECL_MEMRCHR=1;
21598:   HAVE_RAWMEMCHR=1;
21599:   HAVE_STPCPY=1;
21600:   HAVE_STPNCPY=1;
21601:   HAVE_STRCHRNUL=1;
21602:   HAVE_DECL_STRDUP=1;
21603:   HAVE_DECL_STRNDUP=1;
21604:   HAVE_DECL_STRNLEN=1;
21605:   HAVE_STRPBRK=1;
21606:   HAVE_STRSEP=1;
21607:   HAVE_STRCASESTR=1;
21608:   HAVE_DECL_STRTOK_R=1;
21609:   HAVE_DECL_STRERROR_R=1;
21610:   HAVE_DECL_STRSIGNAL=1;
21611:   HAVE_STRVERSCMP=1;
21612:   REPLACE_MEMCHR=0;
21613:   REPLACE_MEMMEM=0;
21614:   REPLACE_STPNCPY=0;
21615:   REPLACE_STRCHRNUL=0;
21616:   REPLACE_STRDUP=0;
21617:   REPLACE_STRNCAT=0;
21618:   REPLACE_STRNDUP=0;
21619:   REPLACE_STRNLEN=0;
21620:   REPLACE_STRSTR=0;
21621:   REPLACE_STRCASESTR=0;
21622:   REPLACE_STRTOK_R=0;
21623:   REPLACE_STRERROR=0;
21624:   REPLACE_STRERROR_R=0;
21625:   REPLACE_STRSIGNAL=0;
21626:   UNDEFINE_STRTOK_R=0;
21627: 
21628: 
21629:      REPLACE_STRERROR_0=0
21630:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
21631: $as_echo_n "checking whether strerror(0) succeeds... " >&6; }
21632: if ${gl_cv_func_strerror_0_works+:} false; then :
21633:   $as_echo_n "(cached) " >&6
21634: else
21635:   if test "$cross_compiling" = yes; then :
21636:   case "$host_os" in
21637:                         # Guess yes on glibc systems.
21638:          *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
21639:                         # Guess yes on musl systems.
21640:          *-musl*)       gl_cv_func_strerror_0_works="guessing yes" ;;
21641:                         # Guess yes on native Windows.
21642:          mingw*)        gl_cv_func_strerror_0_works="guessing yes" ;;
21643:                         # If we don't know, assume the worst.
21644:          *)             gl_cv_func_strerror_0_works="guessing no" ;;
21645:        esac
21646: 
21647: else
21648:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21649: /* end confdefs.h.  */
21650: #include <string.h>
21651:            #include <errno.h>
21652: 
21653: int
21654: main ()
21655: {
21656: int result = 0;
21657:            char *str;
21658:            errno = 0;
21659:            str = strerror (0);
21660:            if (!*str) result |= 1;
21661:            if (errno) result |= 2;
21662:            if (strstr (str, "nknown") || strstr (str, "ndefined"))
21663:              result |= 4;
21664:            return result;
21665:   ;
21666:   return 0;
21667: }
21668: _ACEOF
21669: if ac_fn_c_try_run "$LINENO"; then :
21670:   gl_cv_func_strerror_0_works=yes
21671: else
21672:   gl_cv_func_strerror_0_works=no
21673: fi
21674: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21675:   conftest.$ac_objext conftest.beam conftest.$ac_ext
21676: fi
21677: 
21678: 
21679: fi
21680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
21681: $as_echo "$gl_cv_func_strerror_0_works" >&6; }
21682:   case "$gl_cv_func_strerror_0_works" in
21683:     *yes) ;;
21684:     *)
21685:       REPLACE_STRERROR_0=1
21686: 
21687: $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
21688: 
21689:       ;;
21690:   esac
21691: 
21692: 
21693: 
21694: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
21695: $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
21696: if ${ac_cv_c_restrict+:} false; then :
21697:   $as_echo_n "(cached) " >&6
21698: else
21699:   ac_cv_c_restrict=no
21700:    # The order here caters to the fact that C++ does not require restrict.
21701:    for ac_kw in __restrict __restrict__ _Restrict restrict; do
21702:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21703: /* end confdefs.h.  */
21704: typedef int *int_ptr;
21705:            int foo (int_ptr $ac_kw ip) { return ip[0]; }
21706:            int bar (int [$ac_kw]); /* Catch GCC bug 14050.  */
21707:            int bar (int ip[$ac_kw]) { return ip[0]; }
21708: 
21709: int
21710: main ()
21711: {
21712: int s[1];
21713:            int *$ac_kw t = s;
21714:            t[0] = 0;
21715:            return foo (t) + bar (t);
21716: 
21717:   ;
21718:   return 0;
21719: }
21720: _ACEOF
21721: if ac_fn_c_try_compile "$LINENO"; then :
21722:   ac_cv_c_restrict=$ac_kw
21723: fi
21724: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21725:      test "$ac_cv_c_restrict" != no && break
21726:    done
21727: 
21728: fi
21729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
21730: $as_echo "$ac_cv_c_restrict" >&6; }
21731: 
21732:  case $ac_cv_c_restrict in
21733:    restrict) ;;
21734:    no) $as_echo "#define restrict /**/" >>confdefs.h
21735:  ;;
21736:    *)  cat >>confdefs.h <<_ACEOF
21737: #define restrict $ac_cv_c_restrict
21738: _ACEOF
21739:  ;;
21740:  esac
21741: 
21742: 
21743: 
21744: 
21745: 
21746: 
21747: 
21748: 
21749: 
21750: 
21751: 
21752: 
21753:      if test $gl_cv_have_include_next = yes; then
21754:        gl_cv_next_string_h='<'string.h'>'
21755:      else
21756:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
21757: $as_echo_n "checking absolute name of <string.h>... " >&6; }
21758: if ${gl_cv_next_string_h+:} false; then :
21759:   $as_echo_n "(cached) " >&6
21760: else
21761: 
21762: 
21763: 
21764:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765: /* end confdefs.h.  */
21766: #include <string.h>
21767: _ACEOF
21768:                 case "$host_os" in
21769:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
21770:     *)    gl_absname_cpp="$ac_cpp" ;;
21771:   esac
21772: 
21773:   case "$host_os" in
21774:     mingw*)
21775:                                           gl_dirsep_regex='[/\\]'
21776:       ;;
21777:     *)
21778:       gl_dirsep_regex='\/'
21779:       ;;
21780:   esac
21781:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21782:   gl_header_literal_regex=`echo 'string.h' \
21783:                            | sed -e "$gl_make_literal_regex_sed"`
21784:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21785:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21786:       s|^/[^/]|//&|
21787:       p
21788:       q
21789:     }'
21790: 
21791:         gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21792:   sed -n "$gl_absolute_header_sed"`
21793: 
21794:            gl_header=$gl_cv_absolute_string_h
21795:            gl_cv_next_string_h='"'$gl_header'"'
21796: 
21797: 
21798: fi
21799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
21800: $as_echo "$gl_cv_next_string_h" >&6; }
21801:      fi
21802:      NEXT_STRING_H=$gl_cv_next_string_h
21803: 
21804:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
21805:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
21806:        gl_next_as_first_directive='<'string.h'>'
21807:      else
21808:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
21809:        gl_next_as_first_directive=$gl_cv_next_string_h
21810:      fi
21811:      NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
21812: 
21813: 
21814: 
21815: 
21816: 
21817: 
21818: 
21819: 
21820: 
21821: 
21822: 
21823: 
21824: 
21825: 
21826: 
21827: 
21828: 
21829: 
21830: 
21831: $as_echo "#define _USE_STD_STAT 1" >>confdefs.h
21832: 
21833: 
21834: 
21835: 
21836: 
21837: 
21838: 
21839: 
21840: 
21841: 
21842: 
21843:      if test $gl_cv_have_include_next = yes; then
21844:        gl_cv_next_sys_types_h='<'sys/types.h'>'
21845:      else
21846:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
21847: $as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
21848: if ${gl_cv_next_sys_types_h+:} false; then :
21849:   $as_echo_n "(cached) " >&6
21850: else
21851: 
21852: 
21853: 
21854:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21855: /* end confdefs.h.  */
21856: #include <sys/types.h>
21857: _ACEOF
21858:                 case "$host_os" in
21859:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
21860:     *)    gl_absname_cpp="$ac_cpp" ;;
21861:   esac
21862: 
21863:   case "$host_os" in
21864:     mingw*)
21865:                                           gl_dirsep_regex='[/\\]'
21866:       ;;
21867:     *)
21868:       gl_dirsep_regex='\/'
21869:       ;;
21870:   esac
21871:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21872:   gl_header_literal_regex=`echo 'sys/types.h' \
21873:                            | sed -e "$gl_make_literal_regex_sed"`
21874:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21875:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21876:       s|^/[^/]|//&|
21877:       p
21878:       q
21879:     }'
21880: 
21881:         gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21882:   sed -n "$gl_absolute_header_sed"`
21883: 
21884:            gl_header=$gl_cv_absolute_sys_types_h
21885:            gl_cv_next_sys_types_h='"'$gl_header'"'
21886: 
21887: 
21888: fi
21889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
21890: $as_echo "$gl_cv_next_sys_types_h" >&6; }
21891:      fi
21892:      NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
21893: 
21894:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
21895:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
21896:        gl_next_as_first_directive='<'sys/types.h'>'
21897:      else
21898:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
21899:        gl_next_as_first_directive=$gl_cv_next_sys_types_h
21900:      fi
21901:      NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
21902: 
21903: 
21904: 
21905: 
21906: 
21907: 
21908: 
21909: 
21910: 
21911: 
21912: 
21913: 
21914:     WINDOWS_STAT_INODES=0
21915: 
21916: 
21917: 
21918: 
21919:   GNULIB_CTIME=0;
21920:   GNULIB_MKTIME=0;
21921:   GNULIB_LOCALTIME=0;
21922:   GNULIB_NANOSLEEP=0;
21923:   GNULIB_STRFTIME=0;
21924:   GNULIB_STRPTIME=0;
21925:   GNULIB_TIMEGM=0;
21926:   GNULIB_TIME_R=0;
21927:   GNULIB_TIME_RZ=0;
21928:   GNULIB_TZSET=0;
21929:     HAVE_DECL_LOCALTIME_R=1;
21930:   HAVE_NANOSLEEP=1;
21931:   HAVE_STRPTIME=1;
21932:   HAVE_TIMEGM=1;
21933:   HAVE_TZSET=1;
21934:     HAVE_TIMEZONE_T=0;
21935:         REPLACE_CTIME=GNULIB_PORTCHECK;
21936:   REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;
21937:   REPLACE_MKTIME=GNULIB_PORTCHECK;
21938:   REPLACE_NANOSLEEP=GNULIB_PORTCHECK;
21939:   REPLACE_STRFTIME=GNULIB_PORTCHECK;
21940:   REPLACE_TIMEGM=GNULIB_PORTCHECK;
21941:   REPLACE_TZSET=GNULIB_PORTCHECK;
21942: 
21943:       : ${GNULIB_GETTIMEOFDAY=0};
21944:         REPLACE_GMTIME=0;
21945:   REPLACE_LOCALTIME=0;
21946: 
21947: 
21948: 
21949:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
21950: $as_echo_n "checking for struct timespec in <time.h>... " >&6; }
21951: if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
21952:   $as_echo_n "(cached) " >&6
21953: else
21954:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21955: /* end confdefs.h.  */
21956: #include <time.h>
21957: 
21958: int
21959: main ()
21960: {
21961: static struct timespec x; x.tv_sec = x.tv_nsec;
21962:   ;
21963:   return 0;
21964: }
21965: _ACEOF
21966: if ac_fn_c_try_compile "$LINENO"; then :
21967:   gl_cv_sys_struct_timespec_in_time_h=yes
21968: else
21969:   gl_cv_sys_struct_timespec_in_time_h=no
21970: fi
21971: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21972: fi
21973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
21974: $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
21975: 
21976:   TIME_H_DEFINES_STRUCT_TIMESPEC=0
21977:   SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
21978:   PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
21979:   UNISTD_H_DEFINES_STRUCT_TIMESPEC=0
21980:   if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
21981:     TIME_H_DEFINES_STRUCT_TIMESPEC=1
21982:   else
21983:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
21984: $as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
21985: if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
21986:   $as_echo_n "(cached) " >&6
21987: else
21988:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21989: /* end confdefs.h.  */
21990: #include <sys/time.h>
21991: 
21992: int
21993: main ()
21994: {
21995: static struct timespec x; x.tv_sec = x.tv_nsec;
21996:   ;
21997:   return 0;
21998: }
21999: _ACEOF
22000: if ac_fn_c_try_compile "$LINENO"; then :
22001:   gl_cv_sys_struct_timespec_in_sys_time_h=yes
22002: else
22003:   gl_cv_sys_struct_timespec_in_sys_time_h=no
22004: fi
22005: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006: fi
22007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
22008: $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
22009:     if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
22010:       SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
22011:     else
22012:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
22013: $as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
22014: if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
22015:   $as_echo_n "(cached) " >&6
22016: else
22017:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22018: /* end confdefs.h.  */
22019: #include <pthread.h>
22020: 
22021: int
22022: main ()
22023: {
22024: static struct timespec x; x.tv_sec = x.tv_nsec;
22025:   ;
22026:   return 0;
22027: }
22028: _ACEOF
22029: if ac_fn_c_try_compile "$LINENO"; then :
22030:   gl_cv_sys_struct_timespec_in_pthread_h=yes
22031: else
22032:   gl_cv_sys_struct_timespec_in_pthread_h=no
22033: fi
22034: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035: fi
22036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
22037: $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
22038:       if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
22039:         PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
22040:       else
22041:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <unistd.h>" >&5
22042: $as_echo_n "checking for struct timespec in <unistd.h>... " >&6; }
22043: if ${gl_cv_sys_struct_timespec_in_unistd_h+:} false; then :
22044:   $as_echo_n "(cached) " >&6
22045: else
22046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22047: /* end confdefs.h.  */
22048: #include <unistd.h>
22049: 
22050: int
22051: main ()
22052: {
22053: static struct timespec x; x.tv_sec = x.tv_nsec;
22054:   ;
22055:   return 0;
22056: }
22057: _ACEOF
22058: if ac_fn_c_try_compile "$LINENO"; then :
22059:   gl_cv_sys_struct_timespec_in_unistd_h=yes
22060: else
22061:   gl_cv_sys_struct_timespec_in_unistd_h=no
22062: fi
22063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22064: fi
22065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5
22066: $as_echo "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; }
22067:         if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then
22068:           UNISTD_H_DEFINES_STRUCT_TIMESPEC=1
22069:         fi
22070:       fi
22071:     fi
22072:   fi
22073: 
22074: 
22075: 
22076: 
22077: 
22078: 
22079: 
22080: 
22081: 
22082: 
22083: 
22084: 
22085: 
22086: 
22087: 
22088: 
22089:      if test $gl_cv_have_include_next = yes; then
22090:        gl_cv_next_time_h='<'time.h'>'
22091:      else
22092:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
22093: $as_echo_n "checking absolute name of <time.h>... " >&6; }
22094: if ${gl_cv_next_time_h+:} false; then :
22095:   $as_echo_n "(cached) " >&6
22096: else
22097: 
22098: 
22099: 
22100:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101: /* end confdefs.h.  */
22102: #include <time.h>
22103: _ACEOF
22104:                 case "$host_os" in
22105:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
22106:     *)    gl_absname_cpp="$ac_cpp" ;;
22107:   esac
22108: 
22109:   case "$host_os" in
22110:     mingw*)
22111:                                           gl_dirsep_regex='[/\\]'
22112:       ;;
22113:     *)
22114:       gl_dirsep_regex='\/'
22115:       ;;
22116:   esac
22117:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
22118:   gl_header_literal_regex=`echo 'time.h' \
22119:                            | sed -e "$gl_make_literal_regex_sed"`
22120:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
22121:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
22122:       s|^/[^/]|//&|
22123:       p
22124:       q
22125:     }'
22126: 
22127:         gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
22128:   sed -n "$gl_absolute_header_sed"`
22129: 
22130:            gl_header=$gl_cv_absolute_time_h
22131:            gl_cv_next_time_h='"'$gl_header'"'
22132: 
22133: 
22134: fi
22135: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
22136: $as_echo "$gl_cv_next_time_h" >&6; }
22137:      fi
22138:      NEXT_TIME_H=$gl_cv_next_time_h
22139: 
22140:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
22141:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
22142:        gl_next_as_first_directive='<'time.h'>'
22143:      else
22144:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
22145:        gl_next_as_first_directive=$gl_cv_next_time_h
22146:      fi
22147:      NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
22148: 
22149: 
22150: 
22151: 
22152: 
22153: 
22154: 
22155: 
22156: 
22157: 
22158: 
22159: 
22160: gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
22161: i\
22162: 0
22163: q
22164: '
22165: gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
22166: i\
22167: 0
22168: q
22169: '
22170: gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;}
22171: i\
22172: 0
22173: q
22174: '
22175: 
22176: 
22177:   if test "$HAVE_LIBUNISTRING" = yes; then
22178:     LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
22179:     LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
22180:     LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
22181:   fi
22182: 
22183: ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
22184: if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
22185:   ac_have_decl=1
22186: else
22187:   ac_have_decl=0
22188: fi
22189: 
22190: cat >>confdefs.h <<_ACEOF
22191: #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
22192: _ACEOF
22193: 
22194: ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
22195: if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
22196:   ac_have_decl=1
22197: else
22198:   ac_have_decl=0
22199: fi
22200: 
22201: cat >>confdefs.h <<_ACEOF
22202: #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
22203: _ACEOF
22204: 
22205: ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
22206: if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
22207:   ac_have_decl=1
22208: else
22209:   ac_have_decl=0
22210: fi
22211: 
22212: cat >>confdefs.h <<_ACEOF
22213: #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
22214: _ACEOF
22215: 
22216: ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
22217: if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
22218:   ac_have_decl=1
22219: else
22220:   ac_have_decl=0
22221: fi
22222: 
22223: cat >>confdefs.h <<_ACEOF
22224: #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
22225: _ACEOF
22226: 
22227: ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
22228: if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
22229:   ac_have_decl=1
22230: else
22231:   ac_have_decl=0
22232: fi
22233: 
22234: cat >>confdefs.h <<_ACEOF
22235: #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
22236: _ACEOF
22237: 
22238: ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
22239: if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
22240:   ac_have_decl=1
22241: else
22242:   ac_have_decl=0
22243: fi
22244: 
22245: cat >>confdefs.h <<_ACEOF
22246: #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
22247: _ACEOF
22248: 
22249: ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
22250: if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
22251:   ac_have_decl=1
22252: else
22253:   ac_have_decl=0
22254: fi
22255: 
22256: cat >>confdefs.h <<_ACEOF
22257: #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
22258: _ACEOF
22259: 
22260: ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
22261: if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
22262:   ac_have_decl=1
22263: else
22264:   ac_have_decl=0
22265: fi
22266: 
22267: cat >>confdefs.h <<_ACEOF
22268: #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
22269: _ACEOF
22270: 
22271: ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
22272: if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
22273:   ac_have_decl=1
22274: else
22275:   ac_have_decl=0
22276: fi
22277: 
22278: cat >>confdefs.h <<_ACEOF
22279: #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
22280: _ACEOF
22281: 
22282: ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
22283: if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
22284:   ac_have_decl=1
22285: else
22286:   ac_have_decl=0
22287: fi
22288: 
22289: cat >>confdefs.h <<_ACEOF
22290: #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
22291: _ACEOF
22292: 
22293: ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
22294: if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
22295:   ac_have_decl=1
22296: else
22297:   ac_have_decl=0
22298: fi
22299: 
22300: cat >>confdefs.h <<_ACEOF
22301: #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
22302: _ACEOF
22303: 
22304: ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
22305: if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
22306:   ac_have_decl=1
22307: else
22308:   ac_have_decl=0
22309: fi
22310: 
22311: cat >>confdefs.h <<_ACEOF
22312: #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
22313: _ACEOF
22314: 
22315: ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
22316: if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
22317:   ac_have_decl=1
22318: else
22319:   ac_have_decl=0
22320: fi
22321: 
22322: cat >>confdefs.h <<_ACEOF
22323: #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
22324: _ACEOF
22325: 
22326: 
22327:    if false; then
22328:   GL_COND_LIBTOOL_TRUE=
22329:   GL_COND_LIBTOOL_FALSE='#'
22330: else
22331:   GL_COND_LIBTOOL_TRUE='#'
22332:   GL_COND_LIBTOOL_FALSE=
22333: fi
22334: 
22335:   gl_cond_libtool=false
22336:   gl_libdeps=
22337:   gl_ltlibdeps=
22338:   gl_m4_base='srcm4'
22339: 
22340: 
22341: 
22342: 
22343: 
22344: 
22345: 
22346: 
22347: 
22348:   gl_source_base='srclib'
22349: 
22350: 
22351: 
22352: 
22353: 
22354:   if test $ac_cv_func_alloca_works = no; then
22355: 
22356: 
22357:   :
22358: 
22359:   fi
22360: 
22361:   # Define an additional variable used in the Makefile substitution.
22362: 
22363:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364: /* end confdefs.h.  */
22365: 
22366: #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H
22367:   Need own alloca
22368: #endif
22369: 
22370: _ACEOF
22371: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22372:   $EGREP "Need own alloca" >/dev/null 2>&1; then :
22373:   ALLOCA_H=alloca.h
22374: else
22375:   ALLOCA_H=
22376: fi
22377: rm -f conftest*
22378: 
22379: 
22380:    if test -n "$ALLOCA_H"; then
22381:   GL_GENERATE_ALLOCA_H_TRUE=
22382:   GL_GENERATE_ALLOCA_H_FALSE='#'
22383: else
22384:   GL_GENERATE_ALLOCA_H_TRUE='#'
22385:   GL_GENERATE_ALLOCA_H_FALSE=
22386: fi
22387: 
22388: 
22389: 
22390: 
22391: 
22392:   if test $ac_cv_func_canonicalize_file_name = no; then
22393:     HAVE_CANONICALIZE_FILE_NAME=0
22394:     if test $ac_cv_func_realpath = no; then
22395:       HAVE_REALPATH=0
22396:     else
22397:       case "$gl_cv_func_realpath_works" in
22398:         *yes) ;;
22399:         *)    REPLACE_REALPATH=1 ;;
22400:       esac
22401:     fi
22402:   else
22403:     case "$gl_cv_func_realpath_works" in
22404:       *yes)
22405:         ;;
22406:       *)
22407:         REPLACE_CANONICALIZE_FILE_NAME=1
22408:         REPLACE_REALPATH=1
22409:         ;;
22410:     esac
22411:   fi
22412: 
22413:   if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
22414: 
22415: 
22416: 
22417: 
22418: 
22419: 
22420: 
22421: 
22422:   gl_LIBOBJS="$gl_LIBOBJS canonicalize-lgpl.$ac_objext"
22423: 
22424:   fi
22425: 
22426: 
22427: cat >>confdefs.h <<_ACEOF
22428: #define GNULIB_CANONICALIZE_LGPL 1
22429: _ACEOF
22430: 
22431: 
22432: 
22433: 
22434: 
22435: 
22436: 
22437:           GNULIB_CANONICALIZE_FILE_NAME=1
22438: 
22439: 
22440: 
22441: 
22442: 
22443: $as_echo "#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
22444: 
22445: 
22446: 
22447: 
22448: 
22449: 
22450: 
22451: 
22452:           GNULIB_REALPATH=1
22453: 
22454: 
22455: 
22456: 
22457: 
22458: $as_echo "#define GNULIB_TEST_REALPATH 1" >>confdefs.h
22459: 
22460: 
22461: 
22462: 
22463: 
22464: 
22465: 
22466: 
22467: 
22468: 
22469:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
22470: $as_echo_n "checking whether // is distinct from /... " >&6; }
22471: if ${gl_cv_double_slash_root+:} false; then :
22472:   $as_echo_n "(cached) " >&6
22473: else
22474:    if test x"$cross_compiling" = xyes ; then
22475:         # When cross-compiling, there is no way to tell whether // is special
22476:         # short of a list of hosts.  However, the only known hosts to date
22477:         # that have a distinct // are Apollo DomainOS (too old to port to),
22478:         # Cygwin, and z/OS.  If anyone knows of another system for which // has
22479:         # special semantics and is distinct from /, please report it to
22480:         # <bug-gnulib@gnu.org>.
22481:         case $host in
22482:           *-cygwin | i370-ibm-openedition)
22483:             gl_cv_double_slash_root=yes ;;
22484:           *)
22485:             # Be optimistic and assume that / and // are the same when we
22486:             # don't know.
22487:             gl_cv_double_slash_root='unknown, assuming no' ;;
22488:         esac
22489:       else
22490:         set x `ls -di / // 2>/dev/null`
22491:         if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
22492:           gl_cv_double_slash_root=no
22493:         else
22494:           gl_cv_double_slash_root=yes
22495:         fi
22496:       fi
22497: fi
22498: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
22499: $as_echo "$gl_cv_double_slash_root" >&6; }
22500:   if test "$gl_cv_double_slash_root" = yes; then
22501: 
22502: $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
22503: 
22504:   fi
22505: 
22506: 
22507: 
22508: 
22509: 
22510: 
22511: 
22512:           GNULIB_ENVIRON=1
22513: 
22514: 
22515: 
22516: 
22517: 
22518: $as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h
22519: 
22520: 
22521: 
22522: 
22523: 
22524:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
22525: $as_echo_n "checking for error_at_line... " >&6; }
22526: if ${ac_cv_lib_error_at_line+:} false; then :
22527:   $as_echo_n "(cached) " >&6
22528: else
22529:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530: /* end confdefs.h.  */
22531: #include <error.h>
22532: int
22533: main ()
22534: {
22535: error_at_line (0, 0, "", 0, "an error occurred");
22536:   ;
22537:   return 0;
22538: }
22539: _ACEOF
22540: if ac_fn_c_try_link "$LINENO"; then :
22541:   ac_cv_lib_error_at_line=yes
22542: else
22543:   ac_cv_lib_error_at_line=no
22544: fi
22545: rm -f core conftest.err conftest.$ac_objext \
22546:     conftest$ac_exeext conftest.$ac_ext
22547: fi
22548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
22549: $as_echo "$ac_cv_lib_error_at_line" >&6; }
22550: 
22551:   if test $ac_cv_lib_error_at_line = no; then
22552: 
22553: 
22554: 
22555: 
22556: 
22557: 
22558: 
22559: 
22560:   gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
22561: 
22562: 
22563: 
22564:   :
22565: 
22566:   fi
22567: 
22568: 
22569:   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
22570: 
22571: 
22572: 
22573:   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
22574: 
22575: 
22576: 
22577: 
22578: 
22579: 
22580: 
22581: 
22582: 
22583: 
22584: 
22585: 
22586: 
22587:      if test $gl_cv_have_include_next = yes; then
22588:        gl_cv_next_fcntl_h='<'fcntl.h'>'
22589:      else
22590:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
22591: $as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
22592: if ${gl_cv_next_fcntl_h+:} false; then :
22593:   $as_echo_n "(cached) " >&6
22594: else
22595: 
22596: 
22597: 
22598:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22599: /* end confdefs.h.  */
22600: #include <fcntl.h>
22601: _ACEOF
22602:                 case "$host_os" in
22603:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
22604:     *)    gl_absname_cpp="$ac_cpp" ;;
22605:   esac
22606: 
22607:   case "$host_os" in
22608:     mingw*)
22609:                                           gl_dirsep_regex='[/\\]'
22610:       ;;
22611:     *)
22612:       gl_dirsep_regex='\/'
22613:       ;;
22614:   esac
22615:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
22616:   gl_header_literal_regex=`echo 'fcntl.h' \
22617:                            | sed -e "$gl_make_literal_regex_sed"`
22618:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
22619:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
22620:       s|^/[^/]|//&|
22621:       p
22622:       q
22623:     }'
22624: 
22625:         gl_cv_absolute_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
22626:   sed -n "$gl_absolute_header_sed"`
22627: 
22628:            gl_header=$gl_cv_absolute_fcntl_h
22629:            gl_cv_next_fcntl_h='"'$gl_header'"'
22630: 
22631: 
22632: fi
22633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
22634: $as_echo "$gl_cv_next_fcntl_h" >&6; }
22635:      fi
22636:      NEXT_FCNTL_H=$gl_cv_next_fcntl_h
22637: 
22638:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
22639:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
22640:        gl_next_as_first_directive='<'fcntl.h'>'
22641:      else
22642:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
22643:        gl_next_as_first_directive=$gl_cv_next_fcntl_h
22644:      fi
22645:      NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
22646: 
22647: 
22648: 
22649: 
22650: 
22651: 
22652: 
22653: 
22654: 
22655: 
22656: 
22657: 
22658: 
22659: 
22660: 
22661: 
22662:   ac_found=0
22663:   ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
22664: "
22665: if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
22666:   ac_have_decl=1
22667: else
22668:   ac_have_decl=0
22669: fi
22670: 
22671: cat >>confdefs.h <<_ACEOF
22672: #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
22673: _ACEOF
22674: if test $ac_have_decl = 1; then :
22675:   ac_found=1
22676: fi
22677: 
22678:   ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
22679: "
22680: if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
22681:   ac_have_decl=1
22682: else
22683:   ac_have_decl=0
22684: fi
22685: 
22686: cat >>confdefs.h <<_ACEOF
22687: #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
22688: _ACEOF
22689: if test $ac_have_decl = 1; then :
22690:   ac_found=1
22691: fi
22692: 
22693:   ac_fn_c_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include <stdlib.h>
22694: "
22695: if test "x$ac_cv_have_decl___argv" = xyes; then :
22696:   ac_have_decl=1
22697: else
22698:   ac_have_decl=0
22699: fi
22700: 
22701: cat >>confdefs.h <<_ACEOF
22702: #define HAVE_DECL___ARGV $ac_have_decl
22703: _ACEOF
22704: if test $ac_have_decl = 1; then :
22705:   ac_found=1
22706: fi
22707: 
22708: 
22709:   # Incur the cost of this test only if none of the above worked.
22710:   if test $ac_found = 0; then
22711:     # On OpenBSD 5.1, using the global __progname variable appears to be
22712:     # the only way to implement getprogname.
22713:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5
22714: $as_echo_n "checking whether __progname is defined in default libraries... " >&6; }
22715: if ${gl_cv_var___progname+:} false; then :
22716:   $as_echo_n "(cached) " >&6
22717: else
22718: 
22719:         gl_cv_var___progname=
22720:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22721: /* end confdefs.h.  */
22722: extern char *__progname;
22723: int
22724: main ()
22725: {
22726: return *__progname;
22727: 
22728:   ;
22729:   return 0;
22730: }
22731: _ACEOF
22732: if ac_fn_c_try_link "$LINENO"; then :
22733:   gl_cv_var___progname=yes
22734: 
22735: fi
22736: rm -f core conftest.err conftest.$ac_objext \
22737:     conftest$ac_exeext conftest.$ac_ext
22738: 
22739: 
22740: fi
22741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var___progname" >&5
22742: $as_echo "$gl_cv_var___progname" >&6; }
22743:     if test "$gl_cv_var___progname" = yes; then
22744: 
22745: $as_echo "#define HAVE_VAR___PROGNAME 1" >>confdefs.h
22746: 
22747:     fi
22748:   fi
22749: 
22750: 
22751: 
22752: 
22753: 
22754: 
22755: 
22756: 
22757: 
22758: 
22759:   if test $ac_cv_func_lstat = yes; then
22760: 
22761:     case $host_os,$gl_cv_func_lstat_dereferences_slashed_symlink in
22762:       solaris* | *no)
22763:         REPLACE_LSTAT=1
22764:         ;;
22765:     esac
22766:   else
22767:     HAVE_LSTAT=0
22768:   fi
22769: 
22770:   if test $REPLACE_LSTAT = 1; then
22771: 
22772: 
22773: 
22774: 
22775: 
22776: 
22777: 
22778: 
22779:   gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
22780: 
22781:     :
22782:   fi
22783: 
22784: 
22785: 
22786: 
22787: 
22788:           GNULIB_LSTAT=1
22789: 
22790: 
22791: 
22792: 
22793: 
22794: $as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h
22795: 
22796: 
22797: 
22798: 
22799: 
22800: 
22801:   if test $gl_cv_func_malloc_posix = yes; then
22802: 
22803: $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
22804: 
22805:   else
22806:     REPLACE_MALLOC=1
22807:   fi
22808: 
22809:   if test $REPLACE_MALLOC = 1; then
22810: 
22811: 
22812: 
22813: 
22814: 
22815: 
22816: 
22817: 
22818:   gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
22819: 
22820:   fi
22821: 
22822: 
22823: 
22824: 
22825: 
22826:           GNULIB_MALLOC_POSIX=1
22827: 
22828: 
22829: 
22830: 
22831: 
22832: $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
22833: 
22834: 
22835: 
22836: 
22837: 
22838: 
22839: 
22840: 
22841: 
22842:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
22843: $as_echo_n "checking for mbstate_t... " >&6; }
22844: if ${ac_cv_type_mbstate_t+:} false; then :
22845:   $as_echo_n "(cached) " >&6
22846: else
22847:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848: /* end confdefs.h.  */
22849: $ac_includes_default
22850: /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
22851:    <wchar.h>.
22852:    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22853:    included before <wchar.h>.  */
22854: #include <stddef.h>
22855: #include <stdio.h>
22856: #include <time.h>
22857: #include <wchar.h>
22858: int
22859: main ()
22860: {
22861: mbstate_t x; return sizeof x;
22862:   ;
22863:   return 0;
22864: }
22865: _ACEOF
22866: if ac_fn_c_try_compile "$LINENO"; then :
22867:   ac_cv_type_mbstate_t=yes
22868: else
22869:   ac_cv_type_mbstate_t=no
22870: fi
22871: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22872: fi
22873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
22874: $as_echo "$ac_cv_type_mbstate_t" >&6; }
22875:    if test $ac_cv_type_mbstate_t = yes; then
22876: 
22877: $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
22878: 
22879:    else
22880: 
22881: $as_echo "#define mbstate_t int" >>confdefs.h
22882: 
22883:    fi
22884: 
22885: 
22886:   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
22887: 
22888: 
22889: 
22890: 
22891: 
22892: 
22893: 
22894: 
22895:   gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext"
22896: 
22897:   fi
22898: 
22899:   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
22900: 
22901: 
22902: 
22903: 
22904: 
22905: 
22906: 
22907: 
22908:   gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext"
22909: 
22910:   fi
22911: 
22912: 
22913: cat >>confdefs.h <<_ACEOF
22914: #define GNULIB_MSVC_NOTHROW 1
22915: _ACEOF
22916: 
22917: 
22918: 
22919: 
22920: 
22921: 
22922:   ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
22923: "
22924: if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
22925:   ac_have_decl=1
22926: else
22927:   ac_have_decl=0
22928: fi
22929: 
22930: cat >>confdefs.h <<_ACEOF
22931: #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
22932: _ACEOF
22933: 
22934:   ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
22935: "
22936: if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
22937:   ac_have_decl=1
22938: else
22939:   ac_have_decl=0
22940: fi
22941: 
22942: cat >>confdefs.h <<_ACEOF
22943: #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
22944: _ACEOF
22945: 
22946: 
22947: 
22948: 
22949:   for ac_func in raise
22950: do :
22951:   ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise"
22952: if test "x$ac_cv_func_raise" = xyes; then :
22953:   cat >>confdefs.h <<_ACEOF
22954: #define HAVE_RAISE 1
22955: _ACEOF
22956: 
22957: fi
22958: done
22959: 
22960:   if test $ac_cv_func_raise = no; then
22961:     HAVE_RAISE=0
22962:   else
22963: 
22964: 
22965:       if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
22966:         REPLACE_RAISE=1
22967:       fi
22968: 
22969: 
22970: 
22971: 
22972: 
22973:   if test $gl_cv_type_sigset_t = yes; then
22974:     ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
22975: if test "x$ac_cv_func_sigprocmask" = xyes; then :
22976:   gl_cv_func_sigprocmask=1
22977: fi
22978: 
22979:   fi
22980:   if test -z "$gl_cv_func_sigprocmask"; then
22981:     HAVE_POSIX_SIGNALBLOCKING=0
22982:   fi
22983: 
22984:       if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
22985: 
22986: 
22987: 
22988: 
22989:           if test $gl_cv_header_signal_h_SIGPIPE != yes; then
22990:             REPLACE_RAISE=1
22991:           fi
22992: 
22993:       fi
22994: 
22995:   fi
22996: 
22997:   if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
22998: 
22999: 
23000: 
23001: 
23002: 
23003: 
23004: 
23005: 
23006:   gl_LIBOBJS="$gl_LIBOBJS raise.$ac_objext"
23007: 
23008:     :
23009:   fi
23010: 
23011: 
23012: 
23013: 
23014: 
23015:           GNULIB_RAISE=1
23016: 
23017: 
23018: 
23019: 
23020: 
23021: $as_echo "#define GNULIB_TEST_RAISE 1" >>confdefs.h
23022: 
23023: 
23024: 
23025: 
23026: 
23027: 
23028: 
23029:     if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
23030:       REPLACE_READ=1
23031:     fi
23032: 
23033: 
23034: 
23035:   if test $REPLACE_READ = 1; then
23036: 
23037: 
23038: 
23039: 
23040: 
23041: 
23042: 
23043: 
23044:   gl_LIBOBJS="$gl_LIBOBJS read.$ac_objext"
23045: 
23046:     :
23047:   fi
23048: 
23049: 
23050: 
23051: 
23052: 
23053:           GNULIB_READ=1
23054: 
23055: 
23056: 
23057: 
23058: 
23059: $as_echo "#define GNULIB_TEST_READ 1" >>confdefs.h
23060: 
23061: 
23062: 
23063: 
23064: 
23065: 
23066:   if test $ac_cv_func_readlink = no; then
23067:     HAVE_READLINK=0
23068:   else
23069:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
23070: $as_echo_n "checking whether readlink signature is correct... " >&6; }
23071: if ${gl_cv_decl_readlink_works+:} false; then :
23072:   $as_echo_n "(cached) " >&6
23073: else
23074:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23075: /* end confdefs.h.  */
23076: #include <unistd.h>
23077:       /* Cause compilation failure if original declaration has wrong type.  */
23078:       ssize_t readlink (const char *, char *, size_t);
23079: int
23080: main ()
23081: {
23082: 
23083:   ;
23084:   return 0;
23085: }
23086: _ACEOF
23087: if ac_fn_c_try_compile "$LINENO"; then :
23088:   gl_cv_decl_readlink_works=yes
23089: else
23090:   gl_cv_decl_readlink_works=no
23091: fi
23092: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093: fi
23094: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
23095: $as_echo "$gl_cv_decl_readlink_works" >&6; }
23096:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
23097: $as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
23098: if ${gl_cv_func_readlink_works+:} false; then :
23099:   $as_echo_n "(cached) " >&6
23100: else
23101:   # We have readlink, so assume ln -s works.
23102:        ln -s conftest.no-such conftest.link
23103:        ln -s conftest.link conftest.lnk2
23104:        if test "$cross_compiling" = yes; then :
23105:   case "$host_os" in
23106:                              # Guess yes on Linux systems.
23107:             linux-* | linux) gl_cv_func_readlink_works="guessing yes" ;;
23108:                              # Guess yes on glibc systems.
23109:             *-gnu* | gnu*)   gl_cv_func_readlink_works="guessing yes" ;;
23110:                              # If we don't know, assume the worst.
23111:             *)               gl_cv_func_readlink_works="guessing no" ;;
23112:           esac
23113: 
23114: else
23115:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23116: /* end confdefs.h.  */
23117: #include <unistd.h>
23118: 
23119: int
23120: main ()
23121: {
23122: char buf[20];
23123:       return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
23124:   ;
23125:   return 0;
23126: }
23127: _ACEOF
23128: if ac_fn_c_try_run "$LINENO"; then :
23129:   gl_cv_func_readlink_works=yes
23130: else
23131:   gl_cv_func_readlink_works=no
23132: fi
23133: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23134:   conftest.$ac_objext conftest.beam conftest.$ac_ext
23135: fi
23136: 
23137:       rm -f conftest.link conftest.lnk2
23138: fi
23139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
23140: $as_echo "$gl_cv_func_readlink_works" >&6; }
23141:     case "$gl_cv_func_readlink_works" in
23142:       *yes)
23143:         if test "$gl_cv_decl_readlink_works" != yes; then
23144:           REPLACE_READLINK=1
23145:         fi
23146:         ;;
23147:       *)
23148: 
23149: $as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
23150: 
23151:         REPLACE_READLINK=1
23152:         ;;
23153:     esac
23154:   fi
23155: 
23156:   if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
23157: 
23158: 
23159: 
23160: 
23161: 
23162: 
23163: 
23164: 
23165:   gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext"
23166: 
23167: 
23168:   :
23169: 
23170:   fi
23171: 
23172: 
23173: 
23174: 
23175: 
23176:           GNULIB_READLINK=1
23177: 
23178: 
23179: 
23180: 
23181: 
23182: $as_echo "#define GNULIB_TEST_READLINK 1" >>confdefs.h
23183: 
23184: 
23185: 
23186: 
23187: 
23188: 
23189: 
23190: 
23191:   : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'}
23192:   RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base"
23193:   RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base"
23194: 
23195:   if test $RELOCATABLE = yes; then
23196: 
23197: 
23198: 
23199: 
23200: 
23201: 
23202: 
23203: 
23204:   gl_LIBOBJS="$gl_LIBOBJS progreloc.$ac_objext"
23205: 
23206: 
23207: 
23208: 
23209: 
23210: 
23211: 
23212: 
23213: 
23214:   gl_LIBOBJS="$gl_LIBOBJS relocatable.$ac_objext"
23215: 
23216:   fi
23217: 
23218: 
23219: 
23220:   :
23221: 
23222: 
23223: 
23224: 
23225: 
23226: 
23227: 
23228: 
23229: 
23230: 
23231: 
23232: 
23233: 
23234: 
23235: 
23236: 
23237: 
23238: 
23239: 
23240:   if test $ac_cv_have_decl_setenv = no; then
23241:     HAVE_DECL_SETENV=0
23242:   fi
23243: 
23244: 
23245: 
23246: 
23247: 
23248:   for ac_header in search.h
23249: do :
23250:   ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
23251: if test "x$ac_cv_header_search_h" = xyes; then :
23252:   cat >>confdefs.h <<_ACEOF
23253: #define HAVE_SEARCH_H 1
23254: _ACEOF
23255: 
23256: fi
23257: 
23258: done
23259: 
23260:   for ac_func in tsearch
23261: do :
23262:   ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
23263: if test "x$ac_cv_func_tsearch" = xyes; then :
23264:   cat >>confdefs.h <<_ACEOF
23265: #define HAVE_TSEARCH 1
23266: _ACEOF
23267: 
23268: fi
23269: done
23270: 
23271: 
23272: 
23273: 
23274: 
23275: 
23276: 
23277: 
23278: 
23279: 
23280: 
23281: 
23282: 
23283: 
23284: 
23285: 
23286: 
23287:      if test $gl_cv_have_include_next = yes; then
23288:        gl_cv_next_signal_h='<'signal.h'>'
23289:      else
23290:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
23291: $as_echo_n "checking absolute name of <signal.h>... " >&6; }
23292: if ${gl_cv_next_signal_h+:} false; then :
23293:   $as_echo_n "(cached) " >&6
23294: else
23295: 
23296: 
23297: 
23298:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23299: /* end confdefs.h.  */
23300: #include <signal.h>
23301: _ACEOF
23302:                 case "$host_os" in
23303:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
23304:     *)    gl_absname_cpp="$ac_cpp" ;;
23305:   esac
23306: 
23307:   case "$host_os" in
23308:     mingw*)
23309:                                           gl_dirsep_regex='[/\\]'
23310:       ;;
23311:     *)
23312:       gl_dirsep_regex='\/'
23313:       ;;
23314:   esac
23315:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
23316:   gl_header_literal_regex=`echo 'signal.h' \
23317:                            | sed -e "$gl_make_literal_regex_sed"`
23318:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
23319:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
23320:       s|^/[^/]|//&|
23321:       p
23322:       q
23323:     }'
23324: 
23325:         gl_cv_absolute_signal_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23326:   sed -n "$gl_absolute_header_sed"`
23327: 
23328:            gl_header=$gl_cv_absolute_signal_h
23329:            gl_cv_next_signal_h='"'$gl_header'"'
23330: 
23331: 
23332: fi
23333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
23334: $as_echo "$gl_cv_next_signal_h" >&6; }
23335:      fi
23336:      NEXT_SIGNAL_H=$gl_cv_next_signal_h
23337: 
23338:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
23339:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
23340:        gl_next_as_first_directive='<'signal.h'>'
23341:      else
23342:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
23343:        gl_next_as_first_directive=$gl_cv_next_signal_h
23344:      fi
23345:      NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
23346: 
23347: 
23348: 
23349: 
23350: 
23351: # AIX declares sig_atomic_t to already include volatile, and C89 compilers
23352: # then choke on 'volatile sig_atomic_t'.  C99 requires that it compile.
23353:   ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
23354: #include <signal.h>
23355: 
23356: "
23357: if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
23358: 
23359: else
23360:   HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
23361: fi
23362: 
23363: 
23364: 
23365: 
23366: 
23367: 
23368: 
23369:   ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
23370: #include <signal.h>
23371: 
23372: "
23373: if test "x$ac_cv_type_sighandler_t" = xyes; then :
23374: 
23375: else
23376:   HAVE_SIGHANDLER_T=0
23377: fi
23378: 
23379: 
23380: 
23381: 
23382: 
23383: 
23384: 
23385: 
23386: 
23387: 
23388: 
23389: cat >>confdefs.h <<_ACEOF
23390: #define GNULIB_SIGPIPE 1
23391: _ACEOF
23392: 
23393: 
23394: 
23395:   GNULIB_SIGNAL_H_SIGPIPE=1
23396: 
23397: 
23398:   GNULIB_STDIO_H_SIGPIPE=1
23399: 
23400:   GNULIB_UNISTD_H_SIGPIPE=1
23401: 
23402: 
23403: 
23404:   if test $gl_cv_type_sigset_t = yes; then
23405:     ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
23406: if test "x$ac_cv_func_sigprocmask" = xyes; then :
23407:   gl_cv_func_sigprocmask=1
23408: fi
23409: 
23410:   fi
23411:   if test -z "$gl_cv_func_sigprocmask"; then
23412:     HAVE_POSIX_SIGNALBLOCKING=0
23413:   fi
23414: 
23415:   if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
23416: 
23417: 
23418: 
23419: 
23420: 
23421: 
23422: 
23423: 
23424:   gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext"
23425: 
23426:     :
23427:   fi
23428: 
23429: 
23430: 
23431: 
23432: 
23433:           GNULIB_SIGPROCMASK=1
23434: 
23435: 
23436: 
23437: 
23438: 
23439: $as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
23440: 
23441: 
23442: 
23443: 
23444:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
23445: $as_echo_n "checking for ssize_t... " >&6; }
23446: if ${gt_cv_ssize_t+:} false; then :
23447:   $as_echo_n "(cached) " >&6
23448: else
23449:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23450: /* end confdefs.h.  */
23451: #include <sys/types.h>
23452: int
23453: main ()
23454: {
23455: int x = sizeof (ssize_t *) + sizeof (ssize_t);
23456:             return !x;
23457:   ;
23458:   return 0;
23459: }
23460: _ACEOF
23461: if ac_fn_c_try_compile "$LINENO"; then :
23462:   gt_cv_ssize_t=yes
23463: else
23464:   gt_cv_ssize_t=no
23465: fi
23466: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23467: fi
23468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
23469: $as_echo "$gt_cv_ssize_t" >&6; }
23470:   if test $gt_cv_ssize_t = no; then
23471: 
23472: $as_echo "#define ssize_t int" >>confdefs.h
23473: 
23474:   fi
23475: 
23476: 
23477: 
23478: 
23479: 
23480:   case "$host_os" in
23481:     mingw*)
23482:                   REPLACE_STAT=1
23483:       ;;
23484:     *)
23485:                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
23486: $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
23487: if ${gl_cv_func_stat_file_slash+:} false; then :
23488:   $as_echo_n "(cached) " >&6
23489: else
23490:   touch conftest.tmp
23491:          # Assume that if we have lstat, we can also check symlinks.
23492:          if test $ac_cv_func_lstat = yes; then
23493:            ln -s conftest.tmp conftest.lnk
23494:          fi
23495:          if test "$cross_compiling" = yes; then :
23496:   case "$host_os" in
23497:                                # Guess yes on Linux systems.
23498:               linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;;
23499:                                # Guess yes on glibc systems.
23500:               *-gnu* | gnu*)   gl_cv_func_stat_file_slash="guessing yes" ;;
23501:                                # If we don't know, assume the worst.
23502:               *)               gl_cv_func_stat_file_slash="guessing no" ;;
23503:             esac
23504: 
23505: else
23506:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23507: /* end confdefs.h.  */
23508: #include <sys/stat.h>
23509: 
23510: int
23511: main ()
23512: {
23513: int result = 0;
23514:                struct stat st;
23515:                if (!stat ("conftest.tmp/", &st))
23516:                  result |= 1;
23517: #if HAVE_LSTAT
23518:                if (!stat ("conftest.lnk/", &st))
23519:                  result |= 2;
23520: #endif
23521:                return result;
23522: 
23523:   ;
23524:   return 0;
23525: }
23526: _ACEOF
23527: if ac_fn_c_try_run "$LINENO"; then :
23528:   gl_cv_func_stat_file_slash=yes
23529: else
23530:   gl_cv_func_stat_file_slash=no
23531: fi
23532: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23533:   conftest.$ac_objext conftest.beam conftest.$ac_ext
23534: fi
23535: 
23536:          rm -f conftest.tmp conftest.lnk
23537: fi
23538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
23539: $as_echo "$gl_cv_func_stat_file_slash" >&6; }
23540:       case $gl_cv_func_stat_file_slash in
23541:         *no)
23542:           REPLACE_STAT=1
23543: 
23544: $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
23545: ;;
23546:       esac
23547:       case $host_os in
23548:                 solaris*)
23549:           REPLACE_FSTAT=1 ;;
23550:       esac
23551:       ;;
23552:   esac
23553: 
23554:   if test $REPLACE_STAT = 1; then
23555: 
23556: 
23557: 
23558: 
23559: 
23560: 
23561: 
23562: 
23563:   gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
23564: 
23565:     case "$host_os" in
23566:       mingw*)
23567: 
23568: 
23569: 
23570: 
23571: 
23572: 
23573: 
23574: 
23575:   gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext"
23576: 
23577:         ;;
23578:     esac
23579: 
23580: 
23581:   :
23582: 
23583:   fi
23584: 
23585: 
23586: 
23587: 
23588: 
23589:           GNULIB_STAT=1
23590: 
23591: 
23592: 
23593: 
23594: 
23595: $as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h
23596: 
23597: 
23598: 
23599: 
23600: 
23601: 
23602: 
23603:   ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include <sys/types.h>
23604:      #include <sys/stat.h>
23605: "
23606: if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then :
23607: 
23608: cat >>confdefs.h <<_ACEOF
23609: #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
23610: _ACEOF
23611: 
23612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5
23613: $as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; }
23614: if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} false; then :
23615:   $as_echo_n "(cached) " >&6
23616: else
23617:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23618: /* end confdefs.h.  */
23619: 
23620:             #include <sys/types.h>
23621:             #include <sys/stat.h>
23622:             #if HAVE_SYS_TIME_H
23623:             # include <sys/time.h>
23624:             #endif
23625:             #include <time.h>
23626:             struct timespec ts;
23627:             struct stat st;
23628: 
23629: int
23630: main ()
23631: {
23632: 
23633:             st.st_atim = ts;
23634: 
23635:   ;
23636:   return 0;
23637: }
23638: _ACEOF
23639: if ac_fn_c_try_compile "$LINENO"; then :
23640:   ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes
23641: else
23642:   ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no
23643: fi
23644: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23645: fi
23646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5
23647: $as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
23648:      if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
23649: 
23650: $as_echo "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h
23651: 
23652:      fi
23653: else
23654:   ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include <sys/types.h>
23655:         #include <sys/stat.h>
23656: "
23657: if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then :
23658: 
23659: cat >>confdefs.h <<_ACEOF
23660: #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
23661: _ACEOF
23662: 
23663: 
23664: else
23665:   ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include <sys/types.h>
23666:            #include <sys/stat.h>
23667: "
23668: if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then :
23669: 
23670: cat >>confdefs.h <<_ACEOF
23671: #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
23672: _ACEOF
23673: 
23674: 
23675: else
23676:   ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include <sys/types.h>
23677:               #include <sys/stat.h>
23678: "
23679: if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then :
23680: 
23681: cat >>confdefs.h <<_ACEOF
23682: #define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1
23683: _ACEOF
23684: 
23685: 
23686: fi
23687: 
23688: fi
23689: 
23690: fi
23691: 
23692: fi
23693: 
23694: 
23695: 
23696: 
23697: 
23698:   ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include <sys/types.h>
23699:      #include <sys/stat.h>
23700: "
23701: if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then :
23702: 
23703: cat >>confdefs.h <<_ACEOF
23704: #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
23705: _ACEOF
23706: 
23707: 
23708: else
23709:   ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/types.h>
23710:         #include <sys/stat.h>
23711: "
23712: if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then :
23713: 
23714: cat >>confdefs.h <<_ACEOF
23715: #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
23716: _ACEOF
23717: 
23718: 
23719: else
23720:   ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include <sys/types.h>
23721:           #include <sys/stat.h>
23722: "
23723: if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then :
23724: 
23725: cat >>confdefs.h <<_ACEOF
23726: #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1
23727: _ACEOF
23728: 
23729: 
23730: fi
23731: 
23732: fi
23733: 
23734: fi
23735: 
23736: 
23737: 
23738: 
23739: 
23740:   # Define two additional variables used in the Makefile substitution.
23741: 
23742:   if test "$ac_cv_header_stdbool_h" = yes; then
23743:     STDBOOL_H=''
23744:   else
23745:     STDBOOL_H='stdbool.h'
23746:   fi
23747: 
23748:    if test -n "$STDBOOL_H"; then
23749:   GL_GENERATE_STDBOOL_H_TRUE=
23750:   GL_GENERATE_STDBOOL_H_FALSE='#'
23751: else
23752:   GL_GENERATE_STDBOOL_H_TRUE='#'
23753:   GL_GENERATE_STDBOOL_H_FALSE=
23754: fi
23755: 
23756: 
23757:   if test "$ac_cv_type__Bool" = yes; then
23758:     HAVE__BOOL=1
23759:   else
23760:     HAVE__BOOL=0
23761:   fi
23762: 
23763: 
23764: 
23765: 
23766: 
23767:   STDDEF_H=
23768: 
23769:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good max_align_t" >&5
23770: $as_echo_n "checking for good max_align_t... " >&6; }
23771: if ${gl_cv_type_max_align_t+:} false; then :
23772:   $as_echo_n "(cached) " >&6
23773: else
23774:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775: /* end confdefs.h.  */
23776: #include <stddef.h>
23777:             unsigned int s = sizeof (max_align_t);
23778:             #if defined __GNUC__ || defined __IBM__ALIGNOF__
23779:             int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1];
23780:             int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1];
23781:             #endif
23782: 
23783: int
23784: main ()
23785: {
23786: 
23787:   ;
23788:   return 0;
23789: }
23790: _ACEOF
23791: if ac_fn_c_try_compile "$LINENO"; then :
23792:   gl_cv_type_max_align_t=yes
23793: else
23794:   gl_cv_type_max_align_t=no
23795: fi
23796: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797: 
23798: fi
23799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_max_align_t" >&5
23800: $as_echo "$gl_cv_type_max_align_t" >&6; }
23801:   if test $gl_cv_type_max_align_t = no; then
23802:     HAVE_MAX_ALIGN_T=0
23803:     STDDEF_H=stddef.h
23804:   fi
23805: 
23806:   if test $gt_cv_c_wchar_t = no; then
23807:     HAVE_WCHAR_T=0
23808:     STDDEF_H=stddef.h
23809:   fi
23810: 
23811:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
23812: $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
23813: if ${gl_cv_decl_null_works+:} false; then :
23814:   $as_echo_n "(cached) " >&6
23815: else
23816:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23817: /* end confdefs.h.  */
23818: #include <stddef.h>
23819:       int test[2 * (sizeof NULL == sizeof (void *)) -1];
23820: 
23821: int
23822: main ()
23823: {
23824: 
23825:   ;
23826:   return 0;
23827: }
23828: _ACEOF
23829: if ac_fn_c_try_compile "$LINENO"; then :
23830:   gl_cv_decl_null_works=yes
23831: else
23832:   gl_cv_decl_null_works=no
23833: fi
23834: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23835: fi
23836: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
23837: $as_echo "$gl_cv_decl_null_works" >&6; }
23838:   if test $gl_cv_decl_null_works = no; then
23839:     REPLACE_NULL=1
23840:     STDDEF_H=stddef.h
23841:   fi
23842: 
23843: 
23844:    if test -n "$STDDEF_H"; then
23845:   GL_GENERATE_STDDEF_H_TRUE=
23846:   GL_GENERATE_STDDEF_H_FALSE='#'
23847: else
23848:   GL_GENERATE_STDDEF_H_TRUE='#'
23849:   GL_GENERATE_STDDEF_H_FALSE=
23850: fi
23851: 
23852:   if test -n "$STDDEF_H"; then
23853: 
23854: 
23855: 
23856: 
23857: 
23858: 
23859: 
23860: 
23861:      if test $gl_cv_have_include_next = yes; then
23862:        gl_cv_next_stddef_h='<'stddef.h'>'
23863:      else
23864:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
23865: $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
23866: if ${gl_cv_next_stddef_h+:} false; then :
23867:   $as_echo_n "(cached) " >&6
23868: else
23869: 
23870: 
23871: 
23872:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23873: /* end confdefs.h.  */
23874: #include <stddef.h>
23875: _ACEOF
23876:                 case "$host_os" in
23877:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
23878:     *)    gl_absname_cpp="$ac_cpp" ;;
23879:   esac
23880: 
23881:   case "$host_os" in
23882:     mingw*)
23883:                                           gl_dirsep_regex='[/\\]'
23884:       ;;
23885:     *)
23886:       gl_dirsep_regex='\/'
23887:       ;;
23888:   esac
23889:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
23890:   gl_header_literal_regex=`echo 'stddef.h' \
23891:                            | sed -e "$gl_make_literal_regex_sed"`
23892:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
23893:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
23894:       s|^/[^/]|//&|
23895:       p
23896:       q
23897:     }'
23898: 
23899:         gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23900:   sed -n "$gl_absolute_header_sed"`
23901: 
23902:            gl_header=$gl_cv_absolute_stddef_h
23903:            gl_cv_next_stddef_h='"'$gl_header'"'
23904: 
23905: 
23906: fi
23907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
23908: $as_echo "$gl_cv_next_stddef_h" >&6; }
23909:      fi
23910:      NEXT_STDDEF_H=$gl_cv_next_stddef_h
23911: 
23912:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
23913:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
23914:        gl_next_as_first_directive='<'stddef.h'>'
23915:      else
23916:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
23917:        gl_next_as_first_directive=$gl_cv_next_stddef_h
23918:      fi
23919:      NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
23920: 
23921: 
23922: 
23923: 
23924:   fi
23925: 
23926: 
23927: 
23928: 
23929:   $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
23930: 
23931: 
23932: 
23933: 
23934: 
23935: 
23936: 
23937: 
23938: 
23939: 
23940:      if test $gl_cv_have_include_next = yes; then
23941:        gl_cv_next_stdio_h='<'stdio.h'>'
23942:      else
23943:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
23944: $as_echo_n "checking absolute name of <stdio.h>... " >&6; }
23945: if ${gl_cv_next_stdio_h+:} false; then :
23946:   $as_echo_n "(cached) " >&6
23947: else
23948: 
23949: 
23950: 
23951:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952: /* end confdefs.h.  */
23953: #include <stdio.h>
23954: _ACEOF
23955:                 case "$host_os" in
23956:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
23957:     *)    gl_absname_cpp="$ac_cpp" ;;
23958:   esac
23959: 
23960:   case "$host_os" in
23961:     mingw*)
23962:                                           gl_dirsep_regex='[/\\]'
23963:       ;;
23964:     *)
23965:       gl_dirsep_regex='\/'
23966:       ;;
23967:   esac
23968:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
23969:   gl_header_literal_regex=`echo 'stdio.h' \
23970:                            | sed -e "$gl_make_literal_regex_sed"`
23971:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
23972:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
23973:       s|^/[^/]|//&|
23974:       p
23975:       q
23976:     }'
23977: 
23978:         gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23979:   sed -n "$gl_absolute_header_sed"`
23980: 
23981:            gl_header=$gl_cv_absolute_stdio_h
23982:            gl_cv_next_stdio_h='"'$gl_header'"'
23983: 
23984: 
23985: fi
23986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
23987: $as_echo "$gl_cv_next_stdio_h" >&6; }
23988:      fi
23989:      NEXT_STDIO_H=$gl_cv_next_stdio_h
23990: 
23991:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
23992:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
23993:        gl_next_as_first_directive='<'stdio.h'>'
23994:      else
23995:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
23996:        gl_next_as_first_directive=$gl_cv_next_stdio_h
23997:      fi
23998:      NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
23999: 
24000: 
24001: 
24002: 
24003: 
24004:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5
24005: $as_echo_n "checking which flavor of printf attribute matches inttypes macros... " >&6; }
24006: if ${gl_cv_func_printf_attribute_flavor+:} false; then :
24007:   $as_echo_n "(cached) " >&6
24008: else
24009:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24010: /* end confdefs.h.  */
24011: 
24012:        #define __STDC_FORMAT_MACROS 1
24013:        #include <stdio.h>
24014:        #include <inttypes.h>
24015:        /* For non-mingw systems, compilation will trivially succeed.
24016:           For mingw, compilation will succeed for older mingw (system
24017:           printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */
24018:        #if (defined _WIN32 && ! defined __CYGWIN__) && \
24019:          (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
24020:        extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1];
24021:        #endif
24022: 
24023: int
24024: main ()
24025: {
24026: 
24027:   ;
24028:   return 0;
24029: }
24030: _ACEOF
24031: if ac_fn_c_try_compile "$LINENO"; then :
24032:   gl_cv_func_printf_attribute_flavor=system
24033: else
24034:   gl_cv_func_printf_attribute_flavor=gnu
24035: fi
24036: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24037: fi
24038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5
24039: $as_echo "$gl_cv_func_printf_attribute_flavor" >&6; }
24040:   if test "$gl_cv_func_printf_attribute_flavor" = gnu; then
24041: 
24042: $as_echo "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h
24043: 
24044:   fi
24045: 
24046:       GNULIB_FSCANF=1
24047: 
24048: 
24049: cat >>confdefs.h <<_ACEOF
24050: #define GNULIB_FSCANF 1
24051: _ACEOF
24052: 
24053: 
24054:   GNULIB_SCANF=1
24055: 
24056: 
24057: cat >>confdefs.h <<_ACEOF
24058: #define GNULIB_SCANF 1
24059: _ACEOF
24060: 
24061: 
24062:   GNULIB_FGETC=1
24063:   GNULIB_GETC=1
24064:   GNULIB_GETCHAR=1
24065:   GNULIB_FGETS=1
24066:   GNULIB_FREAD=1
24067: 
24068: 
24069:       GNULIB_FPRINTF=1
24070:   GNULIB_PRINTF=1
24071:   GNULIB_VFPRINTF=1
24072:   GNULIB_VPRINTF=1
24073:   GNULIB_FPUTC=1
24074:   GNULIB_PUTC=1
24075:   GNULIB_PUTCHAR=1
24076:   GNULIB_FPUTS=1
24077:   GNULIB_PUTS=1
24078:   GNULIB_FWRITE=1
24079: 
24080: 
24081: 
24082: 
24083:     if test $gl_cv_header_signal_h_SIGPIPE != yes; then
24084:       REPLACE_STDIO_WRITE_FUNCS=1
24085: 
24086: 
24087: 
24088: 
24089: 
24090: 
24091: 
24092: 
24093:   gl_LIBOBJS="$gl_LIBOBJS stdio-write.$ac_objext"
24094: 
24095:     fi
24096: 
24097: 
24098: 
24099: 
24100: 
24101: 
24102: 
24103: 
24104: 
24105: 
24106: 
24107: 
24108: 
24109: 
24110: 
24111: 
24112: 
24113:      if test $gl_cv_have_include_next = yes; then
24114:        gl_cv_next_stdlib_h='<'stdlib.h'>'
24115:      else
24116:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
24117: $as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
24118: if ${gl_cv_next_stdlib_h+:} false; then :
24119:   $as_echo_n "(cached) " >&6
24120: else
24121: 
24122: 
24123: 
24124:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24125: /* end confdefs.h.  */
24126: #include <stdlib.h>
24127: _ACEOF
24128:                 case "$host_os" in
24129:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
24130:     *)    gl_absname_cpp="$ac_cpp" ;;
24131:   esac
24132: 
24133:   case "$host_os" in
24134:     mingw*)
24135:                                           gl_dirsep_regex='[/\\]'
24136:       ;;
24137:     *)
24138:       gl_dirsep_regex='\/'
24139:       ;;
24140:   esac
24141:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
24142:   gl_header_literal_regex=`echo 'stdlib.h' \
24143:                            | sed -e "$gl_make_literal_regex_sed"`
24144:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
24145:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
24146:       s|^/[^/]|//&|
24147:       p
24148:       q
24149:     }'
24150: 
24151:         gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
24152:   sed -n "$gl_absolute_header_sed"`
24153: 
24154:            gl_header=$gl_cv_absolute_stdlib_h
24155:            gl_cv_next_stdlib_h='"'$gl_header'"'
24156: 
24157: 
24158: fi
24159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
24160: $as_echo "$gl_cv_next_stdlib_h" >&6; }
24161:      fi
24162:      NEXT_STDLIB_H=$gl_cv_next_stdlib_h
24163: 
24164:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
24165:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
24166:        gl_next_as_first_directive='<'stdlib.h'>'
24167:      else
24168:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
24169:        gl_next_as_first_directive=$gl_cv_next_stdlib_h
24170:      fi
24171:      NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
24172: 
24173: 
24174: 
24175: 
24176: 
24177: 
24178: 
24179: 
24180: 
24181: 
24182: 
24183: 
24184: 
24185: 
24186:   if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
24187:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
24188: $as_echo_n "checking for working strerror function... " >&6; }
24189: if ${gl_cv_func_working_strerror+:} false; then :
24190:   $as_echo_n "(cached) " >&6
24191: else
24192:   if test "$cross_compiling" = yes; then :
24193:   case "$host_os" in
24194:                           # Guess yes on glibc systems.
24195:            *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;;
24196:                           # Guess yes on musl systems.
24197:            *-musl*)       gl_cv_func_working_strerror="guessing yes" ;;
24198:                           # If we don't know, assume the worst.
24199:            *)             gl_cv_func_working_strerror="guessing no" ;;
24200:          esac
24201: 
24202: else
24203:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204: /* end confdefs.h.  */
24205: #include <string.h>
24206: 
24207: int
24208: main ()
24209: {
24210: if (!*strerror (-2)) return 1;
24211:   ;
24212:   return 0;
24213: }
24214: _ACEOF
24215: if ac_fn_c_try_run "$LINENO"; then :
24216:   gl_cv_func_working_strerror=yes
24217: else
24218:   gl_cv_func_working_strerror=no
24219: fi
24220: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24221:   conftest.$ac_objext conftest.beam conftest.$ac_ext
24222: fi
24223: 
24224: 
24225: fi
24226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
24227: $as_echo "$gl_cv_func_working_strerror" >&6; }
24228:     case "$gl_cv_func_working_strerror" in
24229:       *yes) ;;
24230:       *)
24231:                         REPLACE_STRERROR=1
24232:         ;;
24233:     esac
24234: 
24235:   else
24236:             REPLACE_STRERROR=1
24237:   fi
24238: 
24239:   if test $REPLACE_STRERROR = 1; then
24240: 
24241: 
24242: 
24243: 
24244: 
24245: 
24246: 
24247: 
24248:   gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext"
24249: 
24250:   fi
24251: 
24252: 
24253: cat >>confdefs.h <<_ACEOF
24254: #define GNULIB_STRERROR 1
24255: _ACEOF
24256: 
24257: 
24258: 
24259: 
24260: 
24261: 
24262: 
24263:           GNULIB_STRERROR=1
24264: 
24265: 
24266: 
24267: 
24268: 
24269: $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
24270: 
24271: 
24272: 
24273: 
24274: 
24275:   if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
24276: 
24277: 
24278: 
24279: 
24280: 
24281: 
24282: 
24283: 
24284:   gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext"
24285: 
24286: 
24287: 
24288: 
24289: 
24290:   if test $ac_cv_header_sys_socket_h != yes; then
24291:                     for ac_header in winsock2.h
24292: do :
24293:   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
24294: if test "x$ac_cv_header_winsock2_h" = xyes; then :
24295:   cat >>confdefs.h <<_ACEOF
24296: #define HAVE_WINSOCK2_H 1
24297: _ACEOF
24298: 
24299: fi
24300: 
24301: done
24302: 
24303:   fi
24304:   if test "$ac_cv_header_winsock2_h" = yes; then
24305:     HAVE_WINSOCK2_H=1
24306:     UNISTD_H_HAVE_WINSOCK2_H=1
24307:     SYS_IOCTL_H_HAVE_WINSOCK2_H=1
24308:   else
24309:     HAVE_WINSOCK2_H=0
24310:   fi
24311: 
24312: 
24313:   fi
24314: 
24315: 
24316: 
24317: 
24318: 
24319: 
24320: 
24321: 
24322: 
24323: 
24324: 
24325: 
24326: 
24327: 
24328: 
24329: 
24330: 
24331:      if test $gl_cv_have_include_next = yes; then
24332:        gl_cv_next_sys_stat_h='<'sys/stat.h'>'
24333:      else
24334:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
24335: $as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
24336: if ${gl_cv_next_sys_stat_h+:} false; then :
24337:   $as_echo_n "(cached) " >&6
24338: else
24339: 
24340:              if test $ac_cv_header_sys_stat_h = yes; then
24341: 
24342: 
24343: 
24344: 
24345:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24346: /* end confdefs.h.  */
24347: #include <sys/stat.h>
24348: _ACEOF
24349:                 case "$host_os" in
24350:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
24351:     *)    gl_absname_cpp="$ac_cpp" ;;
24352:   esac
24353: 
24354:   case "$host_os" in
24355:     mingw*)
24356:                                           gl_dirsep_regex='[/\\]'
24357:       ;;
24358:     *)
24359:       gl_dirsep_regex='\/'
24360:       ;;
24361:   esac
24362:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
24363:   gl_header_literal_regex=`echo 'sys/stat.h' \
24364:                            | sed -e "$gl_make_literal_regex_sed"`
24365:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
24366:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
24367:       s|^/[^/]|//&|
24368:       p
24369:       q
24370:     }'
24371: 
24372:         gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
24373:   sed -n "$gl_absolute_header_sed"`
24374: 
24375:            gl_header=$gl_cv_absolute_sys_stat_h
24376:            gl_cv_next_sys_stat_h='"'$gl_header'"'
24377:           else
24378:                gl_cv_next_sys_stat_h='<'sys/stat.h'>'
24379:              fi
24380: 
24381: 
24382: fi
24383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
24384: $as_echo "$gl_cv_next_sys_stat_h" >&6; }
24385:      fi
24386:      NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
24387: 
24388:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
24389:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
24390:        gl_next_as_first_directive='<'sys/stat.h'>'
24391:      else
24392:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
24393:        gl_next_as_first_directive=$gl_cv_next_sys_stat_h
24394:      fi
24395:      NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
24396: 
24397: 
24398: 
24399: 
24400: 
24401: 
24402: 
24403: 
24404:     WINDOWS_STAT_TIMESPEC=0
24405: 
24406: 
24407: 
24408: 
24409: 
24410: 
24411: 
24412: 
24413:       ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
24414:      #include <sys/stat.h>
24415: "
24416: if test "x$ac_cv_type_nlink_t" = xyes; then :
24417: 
24418: else
24419: 
24420: $as_echo "#define nlink_t int" >>confdefs.h
24421: 
24422: fi
24423: 
24424: 
24425: 
24426: 
24427: 
24428: 
24429: 
24430: 
24431: 
24432: 
24433: 
24434: 
24435: 
24436: 
24437: 
24438: 
24439: 
24440: 
24441: 
24442: 
24443: 
24444: 
24445: 
24446: 
24447:      if test $gl_cv_have_include_next = yes; then
24448:        gl_cv_next_unistd_h='<'unistd.h'>'
24449:      else
24450:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
24451: $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
24452: if ${gl_cv_next_unistd_h+:} false; then :
24453:   $as_echo_n "(cached) " >&6
24454: else
24455: 
24456:              if test $ac_cv_header_unistd_h = yes; then
24457: 
24458: 
24459: 
24460: 
24461:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462: /* end confdefs.h.  */
24463: #include <unistd.h>
24464: _ACEOF
24465:                 case "$host_os" in
24466:     aix*) gl_absname_cpp="$ac_cpp -C" ;;
24467:     *)    gl_absname_cpp="$ac_cpp" ;;
24468:   esac
24469: 
24470:   case "$host_os" in
24471:     mingw*)
24472:                                           gl_dirsep_regex='[/\\]'
24473:       ;;
24474:     *)
24475:       gl_dirsep_regex='\/'
24476:       ;;
24477:   esac
24478:       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
24479:   gl_header_literal_regex=`echo 'unistd.h' \
24480:                            | sed -e "$gl_make_literal_regex_sed"`
24481:   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
24482:       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
24483:       s|^/[^/]|//&|
24484:       p
24485:       q
24486:     }'
24487: 
24488:         gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
24489:   sed -n "$gl_absolute_header_sed"`
24490: 
24491:            gl_header=$gl_cv_absolute_unistd_h
24492:            gl_cv_next_unistd_h='"'$gl_header'"'
24493:           else
24494:                gl_cv_next_unistd_h='<'unistd.h'>'
24495:              fi
24496: 
24497: 
24498: fi
24499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
24500: $as_echo "$gl_cv_next_unistd_h" >&6; }
24501:      fi
24502:      NEXT_UNISTD_H=$gl_cv_next_unistd_h
24503: 
24504:      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
24505:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
24506:        gl_next_as_first_directive='<'unistd.h'>'
24507:      else
24508:        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
24509:        gl_next_as_first_directive=$gl_cv_next_unistd_h
24510:      fi
24511:      NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
24512: 
24513: 
24514: 
24515: 
24516:   if test $ac_cv_header_unistd_h = yes; then
24517:     HAVE_UNISTD_H=1
24518:   else
24519:     HAVE_UNISTD_H=0
24520:   fi
24521: 
24522: 
24523: 
24524: 
24525: 
24526: 
24527: 
24528: 
24529: 
24530: 
24531: 
24532: 
24533:       if  { test "$HAVE_LIBUNISTRING" != yes \
24534:     || {
24535: 
24536: 
24537: 
24538:             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
24539:             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
24540:                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
24541:                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
24542:                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
24543:                          }
24544:                     }
24545:                }
24546: 
24547: 
24548: 
24549: 
24550:        }
24551:   }; then
24552:     LIBUNISTRING_UNITYPES_H='unitypes.h'
24553:   else
24554:     LIBUNISTRING_UNITYPES_H=
24555:   fi
24556: 
24557: 
24558: 
24559: 
24560:       if  { test "$HAVE_LIBUNISTRING" != yes \
24561:     || {
24562: 
24563: 
24564: 
24565:             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
24566:             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
24567:                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
24568:                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
24569:                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
24570:                          }
24571:                     }
24572:                }
24573: 
24574: 
24575: 
24576: 
24577:        }
24578:   }; then
24579:     LIBUNISTRING_UNIWIDTH_H='uniwidth.h'
24580:   else
24581:     LIBUNISTRING_UNIWIDTH_H=
24582:   fi
24583: 
24584: 
24585: 
24586: 
24587:        if  { test "$HAVE_LIBUNISTRING" != yes \
24588:     || {
24589: 
24590: 
24591: 
24592:             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
24593:             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
24594:                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
24595:                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
24596:                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8
24597:                          }
24598:                     }
24599:                }
24600: 
24601: 
24602: 
24603: 
24604:        }
24605:   }; then
24606:   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=
24607:   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#'
24608: else
24609:   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#'
24610:   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=
24611: fi
24612: 
24613: 
24614: 
24615: 
24616: $as_echo "#define USE_UNLOCKED_IO 1" >>confdefs.h
24617: 
24618: 
24619: 
24620: 
24621: 
24622: 
24623: 
24624: 
24625: 
24626: 
24627: 
24628: 
24629: 
24630: 
24631: 
24632: 
24633: 
24634: 
24635:   # End of code from modules
24636: 
24637: 
24638: 
24639: 
24640: 
24641: 
24642: 
24643: 
24644: 
24645:   gltests_libdeps=
24646:   gltests_ltlibdeps=
24647: 
24648: 
24649: 
24650: 
24651: 
24652: 
24653: 
24654: 
24655: 
24656:   gl_source_base='tests'
24657:   gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
24658: 
24659:   gl_module_indicator_condition=$gltests_WITNESS
24660: 
24661: 
24662: 
24663: 
24664: 
24665: 
24666: 
24667: 
24668: 
24669:   LIBICRT_LIBDEPS="$gl_libdeps"
24670: 
24671:   LIBICRT_LTLIBDEPS="$gl_ltlibdeps"
24672: 
24673: 
24674: 
24675: 
24676: 
24677: 
24678: 
24679: 
24680: if test "$enable_shared" = yes; then
24681:   case "$host_os" in
24682:     mingw* | cygwin*) is_woe32dll=yes ;;
24683:     *) is_woe32dll=no ;;
24684:   esac
24685: else
24686:   is_woe32dll=no
24687: fi
24688: WOE32DLL=$is_woe32dll
24689: 
24690: if test $is_woe32dll = yes; then
24691:   DLL_VARIABLE='__declspec (dllimport)'
24692: else
24693:   DLL_VARIABLE=
24694: fi
24695: 
24696: 
24697: 
24698: 
24699: 
24700: 
24701: subdirs="$subdirs libcharset"
24702: 
24703: ac_config_files="$ac_config_files Makefile"
24704: 
24705: ac_config_files="$ac_config_files lib/Makefile"
24706: 
24707: ac_config_files="$ac_config_files srclib/Makefile"
24708: 
24709: ac_config_files="$ac_config_files src/Makefile"
24710: 
24711: ac_config_files="$ac_config_files po/Makefile.in"
24712: 
24713: ac_config_files="$ac_config_files man/Makefile"
24714: 
24715: if test -d "${srcdir}/tests"; then
24716:   ac_config_files="$ac_config_files tests/Makefile"
24717: 
24718: fi
24719: ac_config_files="$ac_config_files include/iconv.h:include/iconv.h.build.in"
24720: 
24721: ac_config_files="$ac_config_files include/iconv.h.inst:include/iconv.h.in"
24722: 
24723: cat >confcache <<\_ACEOF
24724: # This file is a shell script that caches the results of configure
24725: # tests run on this system so they can be shared between configure
24726: # scripts and configure runs, see configure's option --config-cache.
24727: # It is not useful on other systems.  If it contains results you don't
24728: # want to keep, you may remove or edit it.
24729: #
24730: # config.status only pays attention to the cache file if you give it
24731: # the --recheck option to rerun configure.
24732: #
24733: # `ac_cv_env_foo' variables (set or unset) will be overridden when
24734: # loading this file, other *unset* `ac_cv_foo' will be assigned the
24735: # following values.
24736: 
24737: _ACEOF
24738: 
24739: # The following way of writing the cache mishandles newlines in values,
24740: # but we know of no workaround that is simple, portable, and efficient.
24741: # So, we kill variables containing newlines.
24742: # Ultrix sh set writes to stderr and can't be redirected directly,
24743: # and sets the high bit in the cache file unless we assign to the vars.
24744: (
24745:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24746:     eval ac_val=\$$ac_var
24747:     case $ac_val in #(
24748:     *${as_nl}*)
24749:       case $ac_var in #(
24750:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24751: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24752:       esac
24753:       case $ac_var in #(
24754:       _ | IFS | as_nl) ;; #(
24755:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24756:       *) { eval $ac_var=; unset $ac_var;} ;;
24757:       esac ;;
24758:     esac
24759:   done
24760: 
24761:   (set) 2>&1 |
24762:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
24763:     *${as_nl}ac_space=\ *)
24764:       # `set' does not quote correctly, so add quotes: double-quote
24765:       # substitution turns \\\\ into \\, and sed turns \\ into \.
24766:       sed -n \
24767: 	"s/'/'\\\\''/g;
24768: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24769:       ;; #(
24770:     *)
24771:       # `set' quotes correctly as required by POSIX, so do not add quotes.
24772:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24773:       ;;
24774:     esac |
24775:     sort
24776: ) |
24777:   sed '
24778:      /^ac_cv_env_/b end
24779:      t clear
24780:      :clear
24781:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24782:      t end
24783:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24784:      :end' >>confcache
24785: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24786:   if test -w "$cache_file"; then
24787:     if test "x$cache_file" != "x/dev/null"; then
24788:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24789: $as_echo "$as_me: updating cache $cache_file" >&6;}
24790:       if test ! -f "$cache_file" || test -h "$cache_file"; then
24791: 	cat confcache >"$cache_file"
24792:       else
24793:         case $cache_file in #(
24794:         */* | ?:*)
24795: 	  mv -f confcache "$cache_file"$$ &&
24796: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
24797:         *)
24798: 	  mv -f confcache "$cache_file" ;;
24799: 	esac
24800:       fi
24801:     fi
24802:   else
24803:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24804: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24805:   fi
24806: fi
24807: rm -f confcache
24808: 
24809: test "x$prefix" = xNONE && prefix=$ac_default_prefix
24810: # Let make expand exec_prefix.
24811: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24812: 
24813: DEFS=-DHAVE_CONFIG_H
24814: 
24815: ac_libobjs=
24816: ac_ltlibobjs=
24817: U=
24818: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24819:   # 1. Remove the extension, and $U if already installed.
24820:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24821:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24822:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24823:   #    will be set to the directory where LIBOBJS objects are built.
24824:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24825:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
24826: done
24827: LIBOBJS=$ac_libobjs
24828: 
24829: LTLIBOBJS=$ac_ltlibobjs
24830: 
24831: 
24832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24833: $as_echo_n "checking that generated files are newer than configure... " >&6; }
24834:    if test -n "$am_sleep_pid"; then
24835:      # Hide warnings about reused PIDs.
24836:      wait $am_sleep_pid 2>/dev/null
24837:    fi
24838:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24839: $as_echo "done" >&6; }
24840:  if test -n "$EXEEXT"; then
24841:   am__EXEEXT_TRUE=
24842:   am__EXEEXT_FALSE='#'
24843: else
24844:   am__EXEEXT_TRUE='#'
24845:   am__EXEEXT_FALSE=
24846: fi
24847: 
24848: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24849:   as_fn_error $? "conditional \"AMDEP\" was never defined.
24850: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24851: fi
24852: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24853:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
24854: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24855: fi
24856: if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}"; then
24857:   as_fn_error $? "conditional \"RELOCATABLE_VIA_LD\" was never defined.
24858: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24859: fi
24860: if test -z "${RELOCATABLE_VIA_WRAPPER_TRUE}" && test -z "${RELOCATABLE_VIA_WRAPPER_FALSE}"; then
24861:   as_fn_error $? "conditional \"RELOCATABLE_VIA_WRAPPER\" was never defined.
24862: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24863: fi
24864: if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
24865:   as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
24866: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24867: fi
24868: if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
24869:   as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
24870: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24871: fi
24872: if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then
24873:   as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined.
24874: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24875: fi
24876: if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then
24877:   as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined.
24878: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24879: fi
24880: if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
24881:   as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
24882: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24883: fi
24884: if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
24885:   as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
24886: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24887: fi
24888: if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then
24889:   as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined.
24890: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24891: fi
24892: if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
24893:   as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
24894: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24895: fi
24896: if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then
24897:   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined.
24898: Usually this means the macro was only invoked conditionally." "$LINENO" 5
24899: fi
24900: 
24901:     gl_libobjs=
24902:     gl_ltlibobjs=
24903:     if test -n "$gl_LIBOBJS"; then
24904:       # Remove the extension.
24905:       sed_drop_objext='s/\.o$//;s/\.obj$//'
24906:       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
24907:         gl_libobjs="$gl_libobjs $i.$ac_objext"
24908:         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
24909:       done
24910:     fi
24911:     gl_LIBOBJS=$gl_libobjs
24912: 
24913:     gl_LTLIBOBJS=$gl_ltlibobjs
24914: 
24915: 
24916: 
24917:     gltests_libobjs=
24918:     gltests_ltlibobjs=
24919:     if test -n "$gltests_LIBOBJS"; then
24920:       # Remove the extension.
24921:       sed_drop_objext='s/\.o$//;s/\.obj$//'
24922:       for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
24923:         gltests_libobjs="$gltests_libobjs $i.$ac_objext"
24924:         gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
24925:       done
24926:     fi
24927:     gltests_LIBOBJS=$gltests_libobjs
24928: 
24929:     gltests_LTLIBOBJS=$gltests_ltlibobjs
24930: 
24931: 
24932: 
24933: : "${CONFIG_STATUS=./config.status}"
24934: ac_write_fail=0
24935: ac_clean_files_save=$ac_clean_files
24936: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24937: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24938: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24939: as_write_fail=0
24940: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24941: #! $SHELL
24942: # Generated by $as_me.
24943: # Run this file to recreate the current configuration.
24944: # Compiler output produced by configure, useful for debugging
24945: # configure, is in config.log if it exists.
24946: 
24947: debug=false
24948: ac_cs_recheck=false
24949: ac_cs_silent=false
24950: 
24951: SHELL=\${CONFIG_SHELL-$SHELL}
24952: export SHELL
24953: _ASEOF
24954: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
24955: ## -------------------- ##
24956: ## M4sh Initialization. ##
24957: ## -------------------- ##
24958: 
24959: # Be more Bourne compatible
24960: DUALCASE=1; export DUALCASE # for MKS sh
24961: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24962:   emulate sh
24963:   NULLCMD=:
24964:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24965:   # is contrary to our usage.  Disable this feature.
24966:   alias -g '${1+"$@"}'='"$@"'
24967:   setopt NO_GLOB_SUBST
24968: else
24969:   case `(set -o) 2>/dev/null` in #(
24970:   *posix*) :
24971:     set -o posix ;; #(
24972:   *) :
24973:      ;;
24974: esac
24975: fi
24976: 
24977: 
24978: as_nl='
24979: '
24980: export as_nl
24981: # Printing a long string crashes Solaris 7 /usr/bin/printf.
24982: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24983: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24984: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24985: # Prefer a ksh shell builtin over an external printf program on Solaris,
24986: # but without wasting forks for bash or zsh.
24987: if test -z "$BASH_VERSION$ZSH_VERSION" \
24988:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24989:   as_echo='print -r --'
24990:   as_echo_n='print -rn --'
24991: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24992:   as_echo='printf %s\n'
24993:   as_echo_n='printf %s'
24994: else
24995:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24996:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
24997:     as_echo_n='/usr/ucb/echo -n'
24998:   else
24999:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25000:     as_echo_n_body='eval
25001:       arg=$1;
25002:       case $arg in #(
25003:       *"$as_nl"*)
25004: 	expr "X$arg" : "X\\(.*\\)$as_nl";
25005: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25006:       esac;
25007:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25008:     '
25009:     export as_echo_n_body
25010:     as_echo_n='sh -c $as_echo_n_body as_echo'
25011:   fi
25012:   export as_echo_body
25013:   as_echo='sh -c $as_echo_body as_echo'
25014: fi
25015: 
25016: # The user is always right.
25017: if test "${PATH_SEPARATOR+set}" != set; then
25018:   PATH_SEPARATOR=:
25019:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25020:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25021:       PATH_SEPARATOR=';'
25022:   }
25023: fi
25024: 
25025: 
25026: # IFS
25027: # We need space, tab and new line, in precisely that order.  Quoting is
25028: # there to prevent editors from complaining about space-tab.
25029: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25030: # splitting by setting IFS to empty value.)
25031: IFS=" ""	$as_nl"
25032: 
25033: # Find who we are.  Look in the path if we contain no directory separator.
25034: as_myself=
25035: case $0 in #((
25036:   *[\\/]* ) as_myself=$0 ;;
25037:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25038: for as_dir in $PATH
25039: do
25040:   IFS=$as_save_IFS
25041:   test -z "$as_dir" && as_dir=.
25042:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25043:   done
25044: IFS=$as_save_IFS
25045: 
25046:      ;;
25047: esac
25048: # We did not find ourselves, most probably we were run as `sh COMMAND'
25049: # in which case we are not to be found in the path.
25050: if test "x$as_myself" = x; then
25051:   as_myself=$0
25052: fi
25053: if test ! -f "$as_myself"; then
25054:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25055:   exit 1
25056: fi
25057: 
25058: # Unset variables that we do not need and which cause bugs (e.g. in
25059: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25060: # suppresses any "Segmentation fault" message there.  '((' could
25061: # trigger a bug in pdksh 5.2.14.
25062: for as_var in BASH_ENV ENV MAIL MAILPATH
25063: do eval test x\${$as_var+set} = xset \
25064:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25065: done
25066: PS1='$ '
25067: PS2='> '
25068: PS4='+ '
25069: 
25070: # NLS nuisances.
25071: LC_ALL=C
25072: export LC_ALL
25073: LANGUAGE=C
25074: export LANGUAGE
25075: 
25076: # CDPATH.
25077: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25078: 
25079: 
25080: # as_fn_error STATUS ERROR [LINENO LOG_FD]
25081: # ----------------------------------------
25082: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25083: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25084: # script with STATUS, using 1 if that was 0.
25085: as_fn_error ()
25086: {
25087:   as_status=$1; test $as_status -eq 0 && as_status=1
25088:   if test "$4"; then
25089:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25090:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25091:   fi
25092:   $as_echo "$as_me: error: $2" >&2
25093:   as_fn_exit $as_status
25094: } # as_fn_error
25095: 
25096: 
25097: # as_fn_set_status STATUS
25098: # -----------------------
25099: # Set $? to STATUS, without forking.
25100: as_fn_set_status ()
25101: {
25102:   return $1
25103: } # as_fn_set_status
25104: 
25105: # as_fn_exit STATUS
25106: # -----------------
25107: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25108: as_fn_exit ()
25109: {
25110:   set +e
25111:   as_fn_set_status $1
25112:   exit $1
25113: } # as_fn_exit
25114: 
25115: # as_fn_unset VAR
25116: # ---------------
25117: # Portably unset VAR.
25118: as_fn_unset ()
25119: {
25120:   { eval $1=; unset $1;}
25121: }
25122: as_unset=as_fn_unset
25123: # as_fn_append VAR VALUE
25124: # ----------------------
25125: # Append the text in VALUE to the end of the definition contained in VAR. Take
25126: # advantage of any shell optimizations that allow amortized linear growth over
25127: # repeated appends, instead of the typical quadratic growth present in naive
25128: # implementations.
25129: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25130:   eval 'as_fn_append ()
25131:   {
25132:     eval $1+=\$2
25133:   }'
25134: else
25135:   as_fn_append ()
25136:   {
25137:     eval $1=\$$1\$2
25138:   }
25139: fi # as_fn_append
25140: 
25141: # as_fn_arith ARG...
25142: # ------------------
25143: # Perform arithmetic evaluation on the ARGs, and store the result in the
25144: # global $as_val. Take advantage of shells that can avoid forks. The arguments
25145: # must be portable across $(()) and expr.
25146: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25147:   eval 'as_fn_arith ()
25148:   {
25149:     as_val=$(( $* ))
25150:   }'
25151: else
25152:   as_fn_arith ()
25153:   {
25154:     as_val=`expr "$@" || test $? -eq 1`
25155:   }
25156: fi # as_fn_arith
25157: 
25158: 
25159: if expr a : '\(a\)' >/dev/null 2>&1 &&
25160:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25161:   as_expr=expr
25162: else
25163:   as_expr=false
25164: fi
25165: 
25166: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25167:   as_basename=basename
25168: else
25169:   as_basename=false
25170: fi
25171: 
25172: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25173:   as_dirname=dirname
25174: else
25175:   as_dirname=false
25176: fi
25177: 
25178: as_me=`$as_basename -- "$0" ||
25179: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25180: 	 X"$0" : 'X\(//\)$' \| \
25181: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25182: $as_echo X/"$0" |
25183:     sed '/^.*\/\([^/][^/]*\)\/*$/{
25184: 	    s//\1/
25185: 	    q
25186: 	  }
25187: 	  /^X\/\(\/\/\)$/{
25188: 	    s//\1/
25189: 	    q
25190: 	  }
25191: 	  /^X\/\(\/\).*/{
25192: 	    s//\1/
25193: 	    q
25194: 	  }
25195: 	  s/.*/./; q'`
25196: 
25197: # Avoid depending upon Character Ranges.
25198: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25199: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25200: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25201: as_cr_digits='0123456789'
25202: as_cr_alnum=$as_cr_Letters$as_cr_digits
25203: 
25204: ECHO_C= ECHO_N= ECHO_T=
25205: case `echo -n x` in #(((((
25206: -n*)
25207:   case `echo 'xy\c'` in
25208:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
25209:   xy)  ECHO_C='\c';;
25210:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25211:        ECHO_T='	';;
25212:   esac;;
25213: *)
25214:   ECHO_N='-n';;
25215: esac
25216: 
25217: rm -f conf$$ conf$$.exe conf$$.file
25218: if test -d conf$$.dir; then
25219:   rm -f conf$$.dir/conf$$.file
25220: else
25221:   rm -f conf$$.dir
25222:   mkdir conf$$.dir 2>/dev/null
25223: fi
25224: if (echo >conf$$.file) 2>/dev/null; then
25225:   if ln -s conf$$.file conf$$ 2>/dev/null; then
25226:     as_ln_s='ln -s'
25227:     # ... but there are two gotchas:
25228:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25229:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25230:     # In both cases, we have to default to `cp -pR'.
25231:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25232:       as_ln_s='cp -pR'
25233:   elif ln conf$$.file conf$$ 2>/dev/null; then
25234:     as_ln_s=ln
25235:   else
25236:     as_ln_s='cp -pR'
25237:   fi
25238: else
25239:   as_ln_s='cp -pR'
25240: fi
25241: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25242: rmdir conf$$.dir 2>/dev/null
25243: 
25244: 
25245: # as_fn_mkdir_p
25246: # -------------
25247: # Create "$as_dir" as a directory, including parents if necessary.
25248: as_fn_mkdir_p ()
25249: {
25250: 
25251:   case $as_dir in #(
25252:   -*) as_dir=./$as_dir;;
25253:   esac
25254:   test -d "$as_dir" || eval $as_mkdir_p || {
25255:     as_dirs=
25256:     while :; do
25257:       case $as_dir in #(
25258:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25259:       *) as_qdir=$as_dir;;
25260:       esac
25261:       as_dirs="'$as_qdir' $as_dirs"
25262:       as_dir=`$as_dirname -- "$as_dir" ||
25263: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25264: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
25265: 	 X"$as_dir" : 'X\(//\)$' \| \
25266: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25267: $as_echo X"$as_dir" |
25268:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25269: 	    s//\1/
25270: 	    q
25271: 	  }
25272: 	  /^X\(\/\/\)[^/].*/{
25273: 	    s//\1/
25274: 	    q
25275: 	  }
25276: 	  /^X\(\/\/\)$/{
25277: 	    s//\1/
25278: 	    q
25279: 	  }
25280: 	  /^X\(\/\).*/{
25281: 	    s//\1/
25282: 	    q
25283: 	  }
25284: 	  s/.*/./; q'`
25285:       test -d "$as_dir" && break
25286:     done
25287:     test -z "$as_dirs" || eval "mkdir $as_dirs"
25288:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25289: 
25290: 
25291: } # as_fn_mkdir_p
25292: if mkdir -p . 2>/dev/null; then
25293:   as_mkdir_p='mkdir -p "$as_dir"'
25294: else
25295:   test -d ./-p && rmdir ./-p
25296:   as_mkdir_p=false
25297: fi
25298: 
25299: 
25300: # as_fn_executable_p FILE
25301: # -----------------------
25302: # Test if FILE is an executable regular file.
25303: as_fn_executable_p ()
25304: {
25305:   test -f "$1" && test -x "$1"
25306: } # as_fn_executable_p
25307: as_test_x='test -x'
25308: as_executable_p=as_fn_executable_p
25309: 
25310: # Sed expression to map a string onto a valid CPP name.
25311: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25312: 
25313: # Sed expression to map a string onto a valid variable name.
25314: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25315: 
25316: 
25317: exec 6>&1
25318: ## ----------------------------------- ##
25319: ## Main body of $CONFIG_STATUS script. ##
25320: ## ----------------------------------- ##
25321: _ASEOF
25322: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25323: 
25324: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25325: # Save the log message, to keep $0 and so on meaningful, and to
25326: # report actual input values of CONFIG_FILES etc. instead of their
25327: # values after options handling.
25328: ac_log="
25329: This file was extended by libiconv $as_me 1.16, which was
25330: generated by GNU Autoconf 2.69.  Invocation command line was
25331: 
25332:   CONFIG_FILES    = $CONFIG_FILES
25333:   CONFIG_HEADERS  = $CONFIG_HEADERS
25334:   CONFIG_LINKS    = $CONFIG_LINKS
25335:   CONFIG_COMMANDS = $CONFIG_COMMANDS
25336:   $ $0 $@
25337: 
25338: on `(hostname || uname -n) 2>/dev/null | sed 1q`
25339: "
25340: 
25341: _ACEOF
25342: 
25343: case $ac_config_files in *"
25344: "*) set x $ac_config_files; shift; ac_config_files=$*;;
25345: esac
25346: 
25347: case $ac_config_headers in *"
25348: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25349: esac
25350: 
25351: 
25352: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25353: # Files that config.status was made for.
25354: config_files="$ac_config_files"
25355: config_headers="$ac_config_headers"
25356: config_commands="$ac_config_commands"
25357: 
25358: _ACEOF
25359: 
25360: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25361: ac_cs_usage="\
25362: \`$as_me' instantiates files and other configuration actions
25363: from templates according to the current configuration.  Unless the files
25364: and actions are specified as TAGs, all are instantiated by default.
25365: 
25366: Usage: $0 [OPTION]... [TAG]...
25367: 
25368:   -h, --help       print this help, then exit
25369:   -V, --version    print version number and configuration settings, then exit
25370:       --config     print configuration, then exit
25371:   -q, --quiet, --silent
25372:                    do not print progress messages
25373:   -d, --debug      don't remove temporary files
25374:       --recheck    update $as_me by reconfiguring in the same conditions
25375:       --file=FILE[:TEMPLATE]
25376:                    instantiate the configuration file FILE
25377:       --header=FILE[:TEMPLATE]
25378:                    instantiate the configuration header FILE
25379: 
25380: Configuration files:
25381: $config_files
25382: 
25383: Configuration headers:
25384: $config_headers
25385: 
25386: Configuration commands:
25387: $config_commands
25388: 
25389: Report bugs to the package provider."
25390: 
25391: _ACEOF
25392: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25393: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25394: ac_cs_version="\\
25395: libiconv config.status 1.16
25396: configured by $0, generated by GNU Autoconf 2.69,
25397:   with options \\"\$ac_cs_config\\"
25398: 
25399: Copyright (C) 2012 Free Software Foundation, Inc.
25400: This config.status script is free software; the Free Software Foundation
25401: gives unlimited permission to copy, distribute and modify it."
25402: 
25403: ac_pwd='$ac_pwd'
25404: srcdir='$srcdir'
25405: INSTALL='$INSTALL'
25406: MKDIR_P='$MKDIR_P'
25407: AWK='$AWK'
25408: test -n "\$AWK" || AWK=awk
25409: _ACEOF
25410: 
25411: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25412: # The default lists apply if the user does not specify any file.
25413: ac_need_defaults=:
25414: while test $# != 0
25415: do
25416:   case $1 in
25417:   --*=?*)
25418:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25419:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25420:     ac_shift=:
25421:     ;;
25422:   --*=)
25423:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25424:     ac_optarg=
25425:     ac_shift=:
25426:     ;;
25427:   *)
25428:     ac_option=$1
25429:     ac_optarg=$2
25430:     ac_shift=shift
25431:     ;;
25432:   esac
25433: 
25434:   case $ac_option in
25435:   # Handling of the options.
25436:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25437:     ac_cs_recheck=: ;;
25438:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25439:     $as_echo "$ac_cs_version"; exit ;;
25440:   --config | --confi | --conf | --con | --co | --c )
25441:     $as_echo "$ac_cs_config"; exit ;;
25442:   --debug | --debu | --deb | --de | --d | -d )
25443:     debug=: ;;
25444:   --file | --fil | --fi | --f )
25445:     $ac_shift
25446:     case $ac_optarg in
25447:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25448:     '') as_fn_error $? "missing file argument" ;;
25449:     esac
25450:     as_fn_append CONFIG_FILES " '$ac_optarg'"
25451:     ac_need_defaults=false;;
25452:   --header | --heade | --head | --hea )
25453:     $ac_shift
25454:     case $ac_optarg in
25455:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25456:     esac
25457:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25458:     ac_need_defaults=false;;
25459:   --he | --h)
25460:     # Conflict between --help and --header
25461:     as_fn_error $? "ambiguous option: \`$1'
25462: Try \`$0 --help' for more information.";;
25463:   --help | --hel | -h )
25464:     $as_echo "$ac_cs_usage"; exit ;;
25465:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25466:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25467:     ac_cs_silent=: ;;
25468: 
25469:   # This is an error.
25470:   -*) as_fn_error $? "unrecognized option: \`$1'
25471: Try \`$0 --help' for more information." ;;
25472: 
25473:   *) as_fn_append ac_config_targets " $1"
25474:      ac_need_defaults=false ;;
25475: 
25476:   esac
25477:   shift
25478: done
25479: 
25480: ac_configure_extra_args=
25481: 
25482: if $ac_cs_silent; then
25483:   exec 6>/dev/null
25484:   ac_configure_extra_args="$ac_configure_extra_args --silent"
25485: fi
25486: 
25487: _ACEOF
25488: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25489: if \$ac_cs_recheck; then
25490:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25491:   shift
25492:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25493:   CONFIG_SHELL='$SHELL'
25494:   export CONFIG_SHELL
25495:   exec "\$@"
25496: fi
25497: 
25498: _ACEOF
25499: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25500: exec 5>>config.log
25501: {
25502:   echo
25503:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25504: ## Running $as_me. ##
25505: _ASBOX
25506:   $as_echo "$ac_log"
25507: } >&5
25508: 
25509: _ACEOF
25510: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25511: #
25512: # INIT-COMMANDS
25513: #
25514: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
25515: 
25516: 
25517: # The HP-UX ksh and POSIX shell print the target directory to stdout
25518: # if CDPATH is set.
25519: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25520: 
25521: sed_quote_subst='$sed_quote_subst'
25522: double_quote_subst='$double_quote_subst'
25523: delay_variable_subst='$delay_variable_subst'
25524: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25525: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25526: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25527: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
25528: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25529: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25530: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25531: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25532: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25533: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25534: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25535: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25536: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25537: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25538: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25539: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25540: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25541: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25542: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25543: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25544: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25545: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25546: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25547: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25548: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25549: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25550: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25551: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25552: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25553: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25554: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25555: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25556: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25557: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25558: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25559: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25560: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25561: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25562: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25563: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25564: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25565: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25566: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25567: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25568: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25569: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25570: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25571: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25572: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25573: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25574: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25575: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25576: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25577: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25578: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25579: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25580: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25581: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25582: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25583: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
25584: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25585: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25586: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25587: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25588: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25589: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25590: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25591: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25592: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25593: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25594: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25595: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25596: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25597: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25598: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25599: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25600: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25601: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25602: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25603: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25604: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25605: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25606: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25607: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25608: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25609: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25610: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25611: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25612: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25613: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25614: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25615: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25616: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25617: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25618: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25619: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25620: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25621: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25622: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25623: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25624: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25625: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25626: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25627: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25628: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25629: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25630: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25631: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25632: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25633: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25634: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25635: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25636: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25637: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25638: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25639: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25640: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25641: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25642: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25643: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25644: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25645: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25646: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25647: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25648: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25649: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25650: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25651: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25652: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25653: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25654: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25655: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25656: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25657: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25658: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25659: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25660: LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
25661: reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
25662: reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
25663: old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
25664: compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
25665: GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
25666: lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
25667: lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
25668: lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
25669: lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
25670: lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
25671: archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
25672: enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
25673: export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
25674: whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
25675: compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
25676: old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
25677: old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
25678: archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
25679: archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
25680: module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
25681: module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
25682: with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
25683: allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
25684: no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
25685: hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
25686: hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
25687: hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
25688: hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
25689: hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
25690: hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
25691: hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
25692: inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
25693: link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
25694: always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
25695: export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
25696: exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
25697: include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
25698: prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
25699: postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
25700: file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
25701: hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
25702: 
25703: LTCC='$LTCC'
25704: LTCFLAGS='$LTCFLAGS'
25705: compiler='$compiler_DEFAULT'
25706: 
25707: # A function that is used when there is no print builtin or printf.
25708: func_fallback_echo ()
25709: {
25710:   eval 'cat <<_LTECHO_EOF
25711: \$1
25712: _LTECHO_EOF'
25713: }
25714: 
25715: # Quote evaled strings.
25716: for var in AS \
25717: DLLTOOL \
25718: OBJDUMP \
25719: SHELL \
25720: ECHO \
25721: PATH_SEPARATOR \
25722: SED \
25723: GREP \
25724: EGREP \
25725: FGREP \
25726: LD \
25727: NM \
25728: LN_S \
25729: lt_SP2NL \
25730: lt_NL2SP \
25731: reload_flag \
25732: deplibs_check_method \
25733: file_magic_cmd \
25734: file_magic_glob \
25735: want_nocaseglob \
25736: sharedlib_from_linklib_cmd \
25737: AR \
25738: AR_FLAGS \
25739: archiver_list_spec \
25740: STRIP \
25741: RANLIB \
25742: CC \
25743: CFLAGS \
25744: compiler \
25745: lt_cv_sys_global_symbol_pipe \
25746: lt_cv_sys_global_symbol_to_cdecl \
25747: lt_cv_sys_global_symbol_to_import \
25748: lt_cv_sys_global_symbol_to_c_name_address \
25749: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25750: lt_cv_nm_interface \
25751: nm_file_list_spec \
25752: lt_cv_truncate_bin \
25753: lt_prog_compiler_no_builtin_flag \
25754: lt_prog_compiler_pic \
25755: lt_prog_compiler_wl \
25756: lt_prog_compiler_static \
25757: lt_cv_prog_compiler_c_o \
25758: need_locks \
25759: MANIFEST_TOOL \
25760: DSYMUTIL \
25761: NMEDIT \
25762: LIPO \
25763: OTOOL \
25764: OTOOL64 \
25765: shrext_cmds \
25766: export_dynamic_flag_spec \
25767: whole_archive_flag_spec \
25768: compiler_needs_object \
25769: with_gnu_ld \
25770: allow_undefined_flag \
25771: no_undefined_flag \
25772: hardcode_libdir_flag_spec \
25773: hardcode_libdir_separator \
25774: exclude_expsyms \
25775: include_expsyms \
25776: file_list_spec \
25777: variables_saved_for_relink \
25778: libname_spec \
25779: library_names_spec \
25780: soname_spec \
25781: install_override_mode \
25782: finish_eval \
25783: old_striplib \
25784: striplib \
25785: LD_RC \
25786: reload_flag_RC \
25787: compiler_RC \
25788: lt_prog_compiler_no_builtin_flag_RC \
25789: lt_prog_compiler_pic_RC \
25790: lt_prog_compiler_wl_RC \
25791: lt_prog_compiler_static_RC \
25792: lt_cv_prog_compiler_c_o_RC \
25793: export_dynamic_flag_spec_RC \
25794: whole_archive_flag_spec_RC \
25795: compiler_needs_object_RC \
25796: with_gnu_ld_RC \
25797: allow_undefined_flag_RC \
25798: no_undefined_flag_RC \
25799: hardcode_libdir_flag_spec_RC \
25800: hardcode_libdir_separator_RC \
25801: exclude_expsyms_RC \
25802: include_expsyms_RC \
25803: file_list_spec_RC; do
25804:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25805:     *[\\\\\\\`\\"\\\$]*)
25806:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25807:       ;;
25808:     *)
25809:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25810:       ;;
25811:     esac
25812: done
25813: 
25814: # Double-quote double-evaled strings.
25815: for var in reload_cmds \
25816: old_postinstall_cmds \
25817: old_postuninstall_cmds \
25818: old_archive_cmds \
25819: extract_expsyms_cmds \
25820: old_archive_from_new_cmds \
25821: old_archive_from_expsyms_cmds \
25822: archive_cmds \
25823: archive_expsym_cmds \
25824: module_cmds \
25825: module_expsym_cmds \
25826: export_symbols_cmds \
25827: prelink_cmds \
25828: postlink_cmds \
25829: postinstall_cmds \
25830: postuninstall_cmds \
25831: finish_cmds \
25832: sys_lib_search_path_spec \
25833: configure_time_dlsearch_path \
25834: configure_time_lt_sys_library_path \
25835: reload_cmds_RC \
25836: old_archive_cmds_RC \
25837: old_archive_from_new_cmds_RC \
25838: old_archive_from_expsyms_cmds_RC \
25839: archive_cmds_RC \
25840: archive_expsym_cmds_RC \
25841: module_cmds_RC \
25842: module_expsym_cmds_RC \
25843: export_symbols_cmds_RC \
25844: prelink_cmds_RC \
25845: postlink_cmds_RC; do
25846:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25847:     *[\\\\\\\`\\"\\\$]*)
25848:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25849:       ;;
25850:     *)
25851:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25852:       ;;
25853:     esac
25854: done
25855: 
25856: ac_aux_dir='$ac_aux_dir'
25857: 
25858: # See if we are running on zsh, and set the options that allow our
25859: # commands through without removal of \ escapes INIT.
25860: if test -n "\${ZSH_VERSION+set}"; then
25861:    setopt NO_GLOB_SUBST
25862: fi
25863: 
25864: 
25865:     PACKAGE='$PACKAGE'
25866:     VERSION='$VERSION'
25867:     RM='$RM'
25868:     ofile='$ofile'
25869: 
25870: 
25871: 
25872: 
25873: 
25874: # Capture the value of obsolete ALL_LINGUAS because we need it to compute
25875:     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
25876:     OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
25877:     # Capture the value of LINGUAS because we need it to compute CATALOGS.
25878:     LINGUAS="${LINGUAS-%UNSET%}"
25879: 
25880: 
25881: _ACEOF
25882: 
25883: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25884: 
25885: # Handling of arguments.
25886: for ac_config_target in $ac_config_targets
25887: do
25888:   case $ac_config_target in
25889:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25890:     "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;;
25891:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25892:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25893:     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
25894:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25895:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
25896:     "srclib/Makefile") CONFIG_FILES="$CONFIG_FILES srclib/Makefile" ;;
25897:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
25898:     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25899:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
25900:     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
25901:     "include/iconv.h") CONFIG_FILES="$CONFIG_FILES include/iconv.h:include/iconv.h.build.in" ;;
25902:     "include/iconv.h.inst") CONFIG_FILES="$CONFIG_FILES include/iconv.h.inst:include/iconv.h.in" ;;
25903: 
25904:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25905:   esac
25906: done
25907: 
25908: 
25909: # If the user did not use the arguments to specify the items to instantiate,
25910: # then the envvar interface is used.  Set only those that are not.
25911: # We use the long form for the default assignment because of an extremely
25912: # bizarre bug on SunOS 4.1.3.
25913: if $ac_need_defaults; then
25914:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25915:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25916:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25917: fi
25918: 
25919: # Have a temporary directory for convenience.  Make it in the build tree
25920: # simply because there is no reason against having it here, and in addition,
25921: # creating and moving files from /tmp can sometimes cause problems.
25922: # Hook for its removal unless debugging.
25923: # Note that there is a small window in which the directory will not be cleaned:
25924: # after its creation but before its name has been assigned to `$tmp'.
25925: $debug ||
25926: {
25927:   tmp= ac_tmp=
25928:   trap 'exit_status=$?
25929:   : "${ac_tmp:=$tmp}"
25930:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25931: ' 0
25932:   trap 'as_fn_exit 1' 1 2 13 15
25933: }
25934: # Create a (secure) tmp directory for tmp files.
25935: 
25936: {
25937:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25938:   test -d "$tmp"
25939: }  ||
25940: {
25941:   tmp=./conf$$-$RANDOM
25942:   (umask 077 && mkdir "$tmp")
25943: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
25944: ac_tmp=$tmp
25945: 
25946: # Set up the scripts for CONFIG_FILES section.
25947: # No need to generate them if there are no CONFIG_FILES.
25948: # This happens for instance with `./config.status config.h'.
25949: if test -n "$CONFIG_FILES"; then
25950: 
25951: 
25952: ac_cr=`echo X | tr X '\015'`
25953: # On cygwin, bash can eat \r inside `` if the user requested igncr.
25954: # But we know of no other shell where ac_cr would be empty at this
25955: # point, so we can use a bashism as a fallback.
25956: if test "x$ac_cr" = x; then
25957:   eval ac_cr=\$\'\\r\'
25958: fi
25959: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25960: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25961:   ac_cs_awk_cr='\\r'
25962: else
25963:   ac_cs_awk_cr=$ac_cr
25964: fi
25965: 
25966: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25967: _ACEOF
25968: 
25969: 
25970: {
25971:   echo "cat >conf$$subs.awk <<_ACEOF" &&
25972:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25973:   echo "_ACEOF"
25974: } >conf$$subs.sh ||
25975:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25976: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25977: ac_delim='%!_!# '
25978: for ac_last_try in false false false false false :; do
25979:   . ./conf$$subs.sh ||
25980:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25981: 
25982:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
25983:   if test $ac_delim_n = $ac_delim_num; then
25984:     break
25985:   elif $ac_last_try; then
25986:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25987:   else
25988:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25989:   fi
25990: done
25991: rm -f conf$$subs.sh
25992: 
25993: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25994: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
25995: _ACEOF
25996: sed -n '
25997: h
25998: s/^/S["/; s/!.*/"]=/
25999: p
26000: g
26001: s/^[^!]*!//
26002: :repl
26003: t repl
26004: s/'"$ac_delim"'$//
26005: t delim
26006: :nl
26007: h
26008: s/\(.\{148\}\)..*/\1/
26009: t more1
26010: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26011: p
26012: n
26013: b repl
26014: :more1
26015: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26016: p
26017: g
26018: s/.\{148\}//
26019: t nl
26020: :delim
26021: h
26022: s/\(.\{148\}\)..*/\1/
26023: t more2
26024: s/["\\]/\\&/g; s/^/"/; s/$/"/
26025: p
26026: b
26027: :more2
26028: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26029: p
26030: g
26031: s/.\{148\}//
26032: t delim
26033: ' <conf$$subs.awk | sed '
26034: /^[^""]/{
26035:   N
26036:   s/\n//
26037: }
26038: ' >>$CONFIG_STATUS || ac_write_fail=1
26039: rm -f conf$$subs.awk
26040: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26041: _ACAWK
26042: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26043:   for (key in S) S_is_set[key] = 1
26044:   FS = ""
26045: 
26046: }
26047: {
26048:   line = $ 0
26049:   nfields = split(line, field, "@")
26050:   substed = 0
26051:   len = length(field[1])
26052:   for (i = 2; i < nfields; i++) {
26053:     key = field[i]
26054:     keylen = length(key)
26055:     if (S_is_set[key]) {
26056:       value = S[key]
26057:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26058:       len += length(value) + length(field[++i])
26059:       substed = 1
26060:     } else
26061:       len += 1 + keylen
26062:   }
26063: 
26064:   print line
26065: }
26066: 
26067: _ACAWK
26068: _ACEOF
26069: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26070: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26071:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26072: else
26073:   cat
26074: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
26075:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26076: _ACEOF
26077: 
26078: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26079: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26080: # trailing colons and then remove the whole line if VPATH becomes empty
26081: # (actually we leave an empty line to preserve line numbers).
26082: if test "x$srcdir" = x.; then
26083:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
26084: h
26085: s///
26086: s/^/:/
26087: s/[	 ]*$/:/
26088: s/:\$(srcdir):/:/g
26089: s/:\${srcdir}:/:/g
26090: s/:@srcdir@:/:/g
26091: s/^:*//
26092: s/:*$//
26093: x
26094: s/\(=[	 ]*\).*/\1/
26095: G
26096: s/\n//
26097: s/^[^=]*=[	 ]*$//
26098: }'
26099: fi
26100: 
26101: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26102: fi # test -n "$CONFIG_FILES"
26103: 
26104: # Set up the scripts for CONFIG_HEADERS section.
26105: # No need to generate them if there are no CONFIG_HEADERS.
26106: # This happens for instance with `./config.status Makefile'.
26107: if test -n "$CONFIG_HEADERS"; then
26108: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
26109: BEGIN {
26110: _ACEOF
26111: 
26112: # Transform confdefs.h into an awk script `defines.awk', embedded as
26113: # here-document in config.status, that substitutes the proper values into
26114: # config.h.in to produce config.h.
26115: 
26116: # Create a delimiter string that does not exist in confdefs.h, to ease
26117: # handling of long lines.
26118: ac_delim='%!_!# '
26119: for ac_last_try in false false :; do
26120:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26121:   if test -z "$ac_tt"; then
26122:     break
26123:   elif $ac_last_try; then
26124:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26125:   else
26126:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26127:   fi
26128: done
26129: 
26130: # For the awk script, D is an array of macro values keyed by name,
26131: # likewise P contains macro parameters if any.  Preserve backslash
26132: # newline sequences.
26133: 
26134: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26135: sed -n '
26136: s/.\{148\}/&'"$ac_delim"'/g
26137: t rset
26138: :rset
26139: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
26140: t def
26141: d
26142: :def
26143: s/\\$//
26144: t bsnl
26145: s/["\\]/\\&/g
26146: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
26147: D["\1"]=" \3"/p
26148: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
26149: d
26150: :bsnl
26151: s/["\\]/\\&/g
26152: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
26153: D["\1"]=" \3\\\\\\n"\\/p
26154: t cont
26155: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26156: t cont
26157: d
26158: :cont
26159: n
26160: s/.\{148\}/&'"$ac_delim"'/g
26161: t clear
26162: :clear
26163: s/\\$//
26164: t bsnlc
26165: s/["\\]/\\&/g; s/^/"/; s/$/"/p
26166: d
26167: :bsnlc
26168: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26169: b cont
26170: ' <confdefs.h | sed '
26171: s/'"$ac_delim"'/"\\\
26172: "/g' >>$CONFIG_STATUS || ac_write_fail=1
26173: 
26174: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26175:   for (key in D) D_is_set[key] = 1
26176:   FS = ""
26177: }
26178: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26179:   line = \$ 0
26180:   split(line, arg, " ")
26181:   if (arg[1] == "#") {
26182:     defundef = arg[2]
26183:     mac1 = arg[3]
26184:   } else {
26185:     defundef = substr(arg[1], 2)
26186:     mac1 = arg[2]
26187:   }
26188:   split(mac1, mac2, "(") #)
26189:   macro = mac2[1]
26190:   prefix = substr(line, 1, index(line, defundef) - 1)
26191:   if (D_is_set[macro]) {
26192:     # Preserve the white space surrounding the "#".
26193:     print prefix "define", macro P[macro] D[macro]
26194:     next
26195:   } else {
26196:     # Replace #undef with comments.  This is necessary, for example,
26197:     # in the case of _POSIX_SOURCE, which is predefined and required
26198:     # on some systems where configure will not decide to define it.
26199:     if (defundef == "undef") {
26200:       print "/*", prefix defundef, macro, "*/"
26201:       next
26202:     }
26203:   }
26204: }
26205: { print }
26206: _ACAWK
26207: _ACEOF
26208: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26209:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26210: fi # test -n "$CONFIG_HEADERS"
26211: 
26212: 
26213: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26214: shift
26215: for ac_tag
26216: do
26217:   case $ac_tag in
26218:   :[FHLC]) ac_mode=$ac_tag; continue;;
26219:   esac
26220:   case $ac_mode$ac_tag in
26221:   :[FHL]*:*);;
26222:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26223:   :[FH]-) ac_tag=-:-;;
26224:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26225:   esac
26226:   ac_save_IFS=$IFS
26227:   IFS=:
26228:   set x $ac_tag
26229:   IFS=$ac_save_IFS
26230:   shift
26231:   ac_file=$1
26232:   shift
26233: 
26234:   case $ac_mode in
26235:   :L) ac_source=$1;;
26236:   :[FH])
26237:     ac_file_inputs=
26238:     for ac_f
26239:     do
26240:       case $ac_f in
26241:       -) ac_f="$ac_tmp/stdin";;
26242:       *) # Look for the file first in the build tree, then in the source tree
26243: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
26244: 	 # because $ac_f cannot contain `:'.
26245: 	 test -f "$ac_f" ||
26246: 	   case $ac_f in
26247: 	   [\\/$]*) false;;
26248: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26249: 	   esac ||
26250: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26251:       esac
26252:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26253:       as_fn_append ac_file_inputs " '$ac_f'"
26254:     done
26255: 
26256:     # Let's still pretend it is `configure' which instantiates (i.e., don't
26257:     # use $as_me), people would be surprised to read:
26258:     #    /* config.h.  Generated by config.status.  */
26259:     configure_input='Generated from '`
26260: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26261: 	`' by configure.'
26262:     if test x"$ac_file" != x-; then
26263:       configure_input="$ac_file.  $configure_input"
26264:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26265: $as_echo "$as_me: creating $ac_file" >&6;}
26266:     fi
26267:     # Neutralize special characters interpreted by sed in replacement strings.
26268:     case $configure_input in #(
26269:     *\&* | *\|* | *\\* )
26270:        ac_sed_conf_input=`$as_echo "$configure_input" |
26271:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26272:     *) ac_sed_conf_input=$configure_input;;
26273:     esac
26274: 
26275:     case $ac_tag in
26276:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
26277:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26278:     esac
26279:     ;;
26280:   esac
26281: 
26282:   ac_dir=`$as_dirname -- "$ac_file" ||
26283: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26284: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
26285: 	 X"$ac_file" : 'X\(//\)$' \| \
26286: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26287: $as_echo X"$ac_file" |
26288:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26289: 	    s//\1/
26290: 	    q
26291: 	  }
26292: 	  /^X\(\/\/\)[^/].*/{
26293: 	    s//\1/
26294: 	    q
26295: 	  }
26296: 	  /^X\(\/\/\)$/{
26297: 	    s//\1/
26298: 	    q
26299: 	  }
26300: 	  /^X\(\/\).*/{
26301: 	    s//\1/
26302: 	    q
26303: 	  }
26304: 	  s/.*/./; q'`
26305:   as_dir="$ac_dir"; as_fn_mkdir_p
26306:   ac_builddir=.
26307: 
26308: case "$ac_dir" in
26309: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26310: *)
26311:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26312:   # A ".." for each directory in $ac_dir_suffix.
26313:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26314:   case $ac_top_builddir_sub in
26315:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26316:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26317:   esac ;;
26318: esac
26319: ac_abs_top_builddir=$ac_pwd
26320: ac_abs_builddir=$ac_pwd$ac_dir_suffix
26321: # for backward compatibility:
26322: ac_top_builddir=$ac_top_build_prefix
26323: 
26324: case $srcdir in
26325:   .)  # We are building in place.
26326:     ac_srcdir=.
26327:     ac_top_srcdir=$ac_top_builddir_sub
26328:     ac_abs_top_srcdir=$ac_pwd ;;
26329:   [\\/]* | ?:[\\/]* )  # Absolute name.
26330:     ac_srcdir=$srcdir$ac_dir_suffix;
26331:     ac_top_srcdir=$srcdir
26332:     ac_abs_top_srcdir=$srcdir ;;
26333:   *) # Relative name.
26334:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26335:     ac_top_srcdir=$ac_top_build_prefix$srcdir
26336:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26337: esac
26338: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26339: 
26340: 
26341:   case $ac_mode in
26342:   :F)
26343:   #
26344:   # CONFIG_FILE
26345:   #
26346: 
26347:   case $INSTALL in
26348:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26349:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26350:   esac
26351:   ac_MKDIR_P=$MKDIR_P
26352:   case $MKDIR_P in
26353:   [\\/$]* | ?:[\\/]* ) ;;
26354:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26355:   esac
26356: _ACEOF
26357: 
26358: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26359: # If the template does not know about datarootdir, expand it.
26360: # FIXME: This hack should be removed a few years after 2.60.
26361: ac_datarootdir_hack=; ac_datarootdir_seen=
26362: ac_sed_dataroot='
26363: /datarootdir/ {
26364:   p
26365:   q
26366: }
26367: /@datadir@/p
26368: /@docdir@/p
26369: /@infodir@/p
26370: /@localedir@/p
26371: /@mandir@/p'
26372: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26373: *datarootdir*) ac_datarootdir_seen=yes;;
26374: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26375:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26376: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26377: _ACEOF
26378: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26379:   ac_datarootdir_hack='
26380:   s&@datadir@&$datadir&g
26381:   s&@docdir@&$docdir&g
26382:   s&@infodir@&$infodir&g
26383:   s&@localedir@&$localedir&g
26384:   s&@mandir@&$mandir&g
26385:   s&\\\${datarootdir}&$datarootdir&g' ;;
26386: esac
26387: _ACEOF
26388: 
26389: # Neutralize VPATH when `$srcdir' = `.'.
26390: # Shell code in configure.ac might set extrasub.
26391: # FIXME: do we really want to maintain this feature?
26392: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26393: ac_sed_extra="$ac_vpsub
26394: $extrasub
26395: _ACEOF
26396: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26397: :t
26398: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26399: s|@configure_input@|$ac_sed_conf_input|;t t
26400: s&@top_builddir@&$ac_top_builddir_sub&;t t
26401: s&@top_build_prefix@&$ac_top_build_prefix&;t t
26402: s&@srcdir@&$ac_srcdir&;t t
26403: s&@abs_srcdir@&$ac_abs_srcdir&;t t
26404: s&@top_srcdir@&$ac_top_srcdir&;t t
26405: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26406: s&@builddir@&$ac_builddir&;t t
26407: s&@abs_builddir@&$ac_abs_builddir&;t t
26408: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26409: s&@INSTALL@&$ac_INSTALL&;t t
26410: s&@MKDIR_P@&$ac_MKDIR_P&;t t
26411: $ac_datarootdir_hack
26412: "
26413: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26414:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26415: 
26416: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26417:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26418:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
26419:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
26420:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26421: which seems to be undefined.  Please make sure it is defined" >&5
26422: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26423: which seems to be undefined.  Please make sure it is defined" >&2;}
26424: 
26425:   rm -f "$ac_tmp/stdin"
26426:   case $ac_file in
26427:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26428:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26429:   esac \
26430:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26431:  ;;
26432:   :H)
26433:   #
26434:   # CONFIG_HEADER
26435:   #
26436:   if test x"$ac_file" != x-; then
26437:     {
26438:       $as_echo "/* $configure_input  */" \
26439:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26440:     } >"$ac_tmp/config.h" \
26441:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26442:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26443:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26444: $as_echo "$as_me: $ac_file is unchanged" >&6;}
26445:     else
26446:       rm -f "$ac_file"
26447:       mv "$ac_tmp/config.h" "$ac_file" \
26448: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
26449:     fi
26450:   else
26451:     $as_echo "/* $configure_input  */" \
26452:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26453:       || as_fn_error $? "could not create -" "$LINENO" 5
26454:   fi
26455: # Compute "$ac_file"'s index in $config_headers.
26456: _am_arg="$ac_file"
26457: _am_stamp_count=1
26458: for _am_header in $config_headers :; do
26459:   case $_am_header in
26460:     $_am_arg | $_am_arg:* )
26461:       break ;;
26462:     * )
26463:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26464:   esac
26465: done
26466: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26467: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26468: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
26469: 	 X"$_am_arg" : 'X\(//\)$' \| \
26470: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26471: $as_echo X"$_am_arg" |
26472:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26473: 	    s//\1/
26474: 	    q
26475: 	  }
26476: 	  /^X\(\/\/\)[^/].*/{
26477: 	    s//\1/
26478: 	    q
26479: 	  }
26480: 	  /^X\(\/\/\)$/{
26481: 	    s//\1/
26482: 	    q
26483: 	  }
26484: 	  /^X\(\/\).*/{
26485: 	    s//\1/
26486: 	    q
26487: 	  }
26488: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
26489:  ;;
26490: 
26491:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26492: $as_echo "$as_me: executing $ac_file commands" >&6;}
26493:  ;;
26494:   esac
26495: 
26496: 
26497:   case $ac_file$ac_mode in
26498:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26499:   # Older Autoconf quotes --file arguments for eval, but not when files
26500:   # are listed without --file.  Let's play safe and only enable the eval
26501:   # if we detect the quoting.
26502:   # TODO: see whether this extra hack can be removed once we start
26503:   # requiring Autoconf 2.70 or later.
26504:   case $CONFIG_FILES in #(
26505:   *\'*) :
26506:     eval set x "$CONFIG_FILES" ;; #(
26507:   *) :
26508:     set x $CONFIG_FILES ;; #(
26509:   *) :
26510:      ;;
26511: esac
26512:   shift
26513:   # Used to flag and report bootstrapping failures.
26514:   am_rc=0
26515:   for am_mf
26516:   do
26517:     # Strip MF so we end up with the name of the file.
26518:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
26519:     # Check whether this is an Automake generated Makefile which includes
26520:     # dependency-tracking related rules and includes.
26521:     # Grep'ing the whole file directly is not great: AIX grep has a line
26522:     # limit of 2048, but all sed's we know have understand at least 4000.
26523:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
26524:       || continue
26525:     am_dirpart=`$as_dirname -- "$am_mf" ||
26526: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26527: 	 X"$am_mf" : 'X\(//\)[^/]' \| \
26528: 	 X"$am_mf" : 'X\(//\)$' \| \
26529: 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26530: $as_echo X"$am_mf" |
26531:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26532: 	    s//\1/
26533: 	    q
26534: 	  }
26535: 	  /^X\(\/\/\)[^/].*/{
26536: 	    s//\1/
26537: 	    q
26538: 	  }
26539: 	  /^X\(\/\/\)$/{
26540: 	    s//\1/
26541: 	    q
26542: 	  }
26543: 	  /^X\(\/\).*/{
26544: 	    s//\1/
26545: 	    q
26546: 	  }
26547: 	  s/.*/./; q'`
26548:     am_filepart=`$as_basename -- "$am_mf" ||
26549: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
26550: 	 X"$am_mf" : 'X\(//\)$' \| \
26551: 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
26552: $as_echo X/"$am_mf" |
26553:     sed '/^.*\/\([^/][^/]*\)\/*$/{
26554: 	    s//\1/
26555: 	    q
26556: 	  }
26557: 	  /^X\/\(\/\/\)$/{
26558: 	    s//\1/
26559: 	    q
26560: 	  }
26561: 	  /^X\/\(\/\).*/{
26562: 	    s//\1/
26563: 	    q
26564: 	  }
26565: 	  s/.*/./; q'`
26566:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
26567:       && sed -e '/# am--include-marker/d' "$am_filepart" \
26568:         | $MAKE -f - am--depfiles" >&5
26569:    (cd "$am_dirpart" \
26570:       && sed -e '/# am--include-marker/d' "$am_filepart" \
26571:         | $MAKE -f - am--depfiles) >&5 2>&5
26572:    ac_status=$?
26573:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574:    (exit $ac_status); } || am_rc=$?
26575:   done
26576:   if test $am_rc -ne 0; then
26577:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26578: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26579: as_fn_error $? "Something went wrong bootstrapping makefile fragments
26580:     for automatic dependency tracking.  Try re-running configure with the
26581:     '--disable-dependency-tracking' option to at least be able to build
26582:     the package (albeit without support for automatic dependency tracking).
26583: See \`config.log' for more details" "$LINENO" 5; }
26584:   fi
26585:   { am_dirpart=; unset am_dirpart;}
26586:   { am_filepart=; unset am_filepart;}
26587:   { am_mf=; unset am_mf;}
26588:   { am_rc=; unset am_rc;}
26589:   rm -f conftest-deps.mk
26590: }
26591:  ;;
26592:     "libtool":C)
26593: 
26594:     # See if we are running on zsh, and set the options that allow our
26595:     # commands through without removal of \ escapes.
26596:     if test -n "${ZSH_VERSION+set}"; then
26597:       setopt NO_GLOB_SUBST
26598:     fi
26599: 
26600:     cfgfile=${ofile}T
26601:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26602:     $RM "$cfgfile"
26603: 
26604:     cat <<_LT_EOF >> "$cfgfile"
26605: #! $SHELL
26606: # Generated automatically by $as_me ($PACKAGE) $VERSION
26607: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26608: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26609: 
26610: # Provide generalized library-building support services.
26611: # Written by Gordon Matzigkeit, 1996
26612: 
26613: # Copyright (C) 2014 Free Software Foundation, Inc.
26614: # This is free software; see the source for copying conditions.  There is NO
26615: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26616: 
26617: # GNU Libtool is free software; you can redistribute it and/or modify
26618: # it under the terms of the GNU General Public License as published by
26619: # the Free Software Foundation; either version 2 of of the License, or
26620: # (at your option) any later version.
26621: #
26622: # As a special exception to the GNU General Public License, if you
26623: # distribute this file as part of a program or library that is built
26624: # using GNU Libtool, you may include this file under the  same
26625: # distribution terms that you use for the rest of that program.
26626: #
26627: # GNU Libtool is distributed in the hope that it will be useful, but
26628: # WITHOUT ANY WARRANTY; without even the implied warranty of
26629: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26630: # GNU General Public License for more details.
26631: #
26632: # You should have received a copy of the GNU General Public License
26633: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
26634: 
26635: 
26636: # The names of the tagged configurations supported by this script.
26637: available_tags='RC '
26638: 
26639: # Configured defaults for sys_lib_dlsearch_path munging.
26640: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26641: 
26642: # ### BEGIN LIBTOOL CONFIG
26643: 
26644: # Which release of libtool.m4 was used?
26645: macro_version=$macro_version
26646: macro_revision=$macro_revision
26647: 
26648: # Whether or not to build static libraries.
26649: build_old_libs=$enable_static
26650: 
26651: # Assembler program.
26652: AS=$lt_AS
26653: 
26654: # DLL creation program.
26655: DLLTOOL=$lt_DLLTOOL
26656: 
26657: # Object dumper program.
26658: OBJDUMP=$lt_OBJDUMP
26659: 
26660: # Whether or not to build shared libraries.
26661: build_libtool_libs=$enable_shared
26662: 
26663: # What type of objects to build.
26664: pic_mode=$pic_mode
26665: 
26666: # Whether or not to optimize for fast installation.
26667: fast_install=$enable_fast_install
26668: 
26669: # Shared archive member basename,for filename based shared library versioning on AIX.
26670: shared_archive_member_spec=$shared_archive_member_spec
26671: 
26672: # Shell to use when invoking shell scripts.
26673: SHELL=$lt_SHELL
26674: 
26675: # An echo program that protects backslashes.
26676: ECHO=$lt_ECHO
26677: 
26678: # The PATH separator for the build system.
26679: PATH_SEPARATOR=$lt_PATH_SEPARATOR
26680: 
26681: # The host system.
26682: host_alias=$host_alias
26683: host=$host
26684: host_os=$host_os
26685: 
26686: # The build system.
26687: build_alias=$build_alias
26688: build=$build
26689: build_os=$build_os
26690: 
26691: # A sed program that does not truncate output.
26692: SED=$lt_SED
26693: 
26694: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26695: Xsed="\$SED -e 1s/^X//"
26696: 
26697: # A grep program that handles long lines.
26698: GREP=$lt_GREP
26699: 
26700: # An ERE matcher.
26701: EGREP=$lt_EGREP
26702: 
26703: # A literal string matcher.
26704: FGREP=$lt_FGREP
26705: 
26706: # A BSD- or MS-compatible name lister.
26707: NM=$lt_NM
26708: 
26709: # Whether we need soft or hard links.
26710: LN_S=$lt_LN_S
26711: 
26712: # What is the maximum length of a command?
26713: max_cmd_len=$max_cmd_len
26714: 
26715: # Object file suffix (normally "o").
26716: objext=$ac_objext
26717: 
26718: # Executable file suffix (normally "").
26719: exeext=$exeext
26720: 
26721: # whether the shell understands "unset".
26722: lt_unset=$lt_unset
26723: 
26724: # turn spaces into newlines.
26725: SP2NL=$lt_lt_SP2NL
26726: 
26727: # turn newlines into spaces.
26728: NL2SP=$lt_lt_NL2SP
26729: 
26730: # convert \$build file names to \$host format.
26731: to_host_file_cmd=$lt_cv_to_host_file_cmd
26732: 
26733: # convert \$build files to toolchain format.
26734: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26735: 
26736: # Method to check whether dependent libraries are shared objects.
26737: deplibs_check_method=$lt_deplibs_check_method
26738: 
26739: # Command to use when deplibs_check_method = "file_magic".
26740: file_magic_cmd=$lt_file_magic_cmd
26741: 
26742: # How to find potential files when deplibs_check_method = "file_magic".
26743: file_magic_glob=$lt_file_magic_glob
26744: 
26745: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26746: want_nocaseglob=$lt_want_nocaseglob
26747: 
26748: # Command to associate shared and link libraries.
26749: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26750: 
26751: # The archiver.
26752: AR=$lt_AR
26753: 
26754: # Flags to create an archive.
26755: AR_FLAGS=$lt_AR_FLAGS
26756: 
26757: # How to feed a file listing to the archiver.
26758: archiver_list_spec=$lt_archiver_list_spec
26759: 
26760: # A symbol stripping program.
26761: STRIP=$lt_STRIP
26762: 
26763: # Commands used to install an old-style archive.
26764: RANLIB=$lt_RANLIB
26765: old_postinstall_cmds=$lt_old_postinstall_cmds
26766: old_postuninstall_cmds=$lt_old_postuninstall_cmds
26767: 
26768: # Whether to use a lock for old archive extraction.
26769: lock_old_archive_extraction=$lock_old_archive_extraction
26770: 
26771: # A C compiler.
26772: LTCC=$lt_CC
26773: 
26774: # LTCC compiler flags.
26775: LTCFLAGS=$lt_CFLAGS
26776: 
26777: # Take the output of nm and produce a listing of raw symbols and C names.
26778: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26779: 
26780: # Transform the output of nm in a proper C declaration.
26781: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26782: 
26783: # Transform the output of nm into a list of symbols to manually relocate.
26784: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26785: 
26786: # Transform the output of nm in a C name address pair.
26787: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26788: 
26789: # Transform the output of nm in a C name address pair when lib prefix is needed.
26790: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26791: 
26792: # The name lister interface.
26793: nm_interface=$lt_lt_cv_nm_interface
26794: 
26795: # Specify filename containing input files for \$NM.
26796: nm_file_list_spec=$lt_nm_file_list_spec
26797: 
26798: # The root where to search for dependent libraries,and where our libraries should be installed.
26799: lt_sysroot=$lt_sysroot
26800: 
26801: # Command to truncate a binary pipe.
26802: lt_truncate_bin=$lt_lt_cv_truncate_bin
26803: 
26804: # The name of the directory that contains temporary libtool files.
26805: objdir=$objdir
26806: 
26807: # Used to examine libraries when file_magic_cmd begins with "file".
26808: MAGIC_CMD=$MAGIC_CMD
26809: 
26810: # Must we lock files when doing compilation?
26811: need_locks=$lt_need_locks
26812: 
26813: # Manifest tool.
26814: MANIFEST_TOOL=$lt_MANIFEST_TOOL
26815: 
26816: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26817: DSYMUTIL=$lt_DSYMUTIL
26818: 
26819: # Tool to change global to local symbols on Mac OS X.
26820: NMEDIT=$lt_NMEDIT
26821: 
26822: # Tool to manipulate fat objects and archives on Mac OS X.
26823: LIPO=$lt_LIPO
26824: 
26825: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26826: OTOOL=$lt_OTOOL
26827: 
26828: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26829: OTOOL64=$lt_OTOOL64
26830: 
26831: # Old archive suffix (normally "a").
26832: libext=$libext
26833: 
26834: # Shared library suffix (normally ".so").
26835: shrext_cmds=$lt_shrext_cmds
26836: 
26837: # The commands to extract the exported symbol list from a shared archive.
26838: extract_expsyms_cmds=$lt_extract_expsyms_cmds
26839: 
26840: # Variables whose values should be saved in libtool wrapper scripts and
26841: # restored at link time.
26842: variables_saved_for_relink=$lt_variables_saved_for_relink
26843: 
26844: # Do we need the "lib" prefix for modules?
26845: need_lib_prefix=$need_lib_prefix
26846: 
26847: # Do we need a version for libraries?
26848: need_version=$need_version
26849: 
26850: # Library versioning type.
26851: version_type=$version_type
26852: 
26853: # Shared library runtime path variable.
26854: runpath_var=$runpath_var
26855: 
26856: # Shared library path variable.
26857: shlibpath_var=$shlibpath_var
26858: 
26859: # Is shlibpath searched before the hard-coded library search path?
26860: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26861: 
26862: # Format of library name prefix.
26863: libname_spec=$lt_libname_spec
26864: 
26865: # List of archive names.  First name is the real one, the rest are links.
26866: # The last name is the one that the linker finds with -lNAME
26867: library_names_spec=$lt_library_names_spec
26868: 
26869: # The coded name of the library, if different from the real name.
26870: soname_spec=$lt_soname_spec
26871: 
26872: # Permission mode override for installation of shared libraries.
26873: install_override_mode=$lt_install_override_mode
26874: 
26875: # Command to use after installation of a shared archive.
26876: postinstall_cmds=$lt_postinstall_cmds
26877: 
26878: # Command to use after uninstallation of a shared archive.
26879: postuninstall_cmds=$lt_postuninstall_cmds
26880: 
26881: # Commands used to finish a libtool library installation in a directory.
26882: finish_cmds=$lt_finish_cmds
26883: 
26884: # As "finish_cmds", except a single script fragment to be evaled but
26885: # not shown.
26886: finish_eval=$lt_finish_eval
26887: 
26888: # Whether we should hardcode library paths into libraries.
26889: hardcode_into_libs=$hardcode_into_libs
26890: 
26891: # Compile-time system search path for libraries.
26892: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26893: 
26894: # Detected run-time system search path for libraries.
26895: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26896: 
26897: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26898: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26899: 
26900: # Whether dlopen is supported.
26901: dlopen_support=$enable_dlopen
26902: 
26903: # Whether dlopen of programs is supported.
26904: dlopen_self=$enable_dlopen_self
26905: 
26906: # Whether dlopen of statically linked programs is supported.
26907: dlopen_self_static=$enable_dlopen_self_static
26908: 
26909: # Commands to strip libraries.
26910: old_striplib=$lt_old_striplib
26911: striplib=$lt_striplib
26912: 
26913: 
26914: # The linker used to build libraries.
26915: LD=$lt_LD
26916: 
26917: # How to create reloadable object files.
26918: reload_flag=$lt_reload_flag
26919: reload_cmds=$lt_reload_cmds
26920: 
26921: # Commands used to build an old-style archive.
26922: old_archive_cmds=$lt_old_archive_cmds
26923: 
26924: # A language specific compiler.
26925: CC=$lt_compiler
26926: 
26927: # Is the compiler the GNU compiler?
26928: with_gcc=$GCC
26929: 
26930: # Compiler flag to turn off builtin functions.
26931: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26932: 
26933: # Additional compiler flags for building library objects.
26934: pic_flag=$lt_lt_prog_compiler_pic
26935: 
26936: # How to pass a linker flag through the compiler.
26937: wl=$lt_lt_prog_compiler_wl
26938: 
26939: # Compiler flag to prevent dynamic linking.
26940: link_static_flag=$lt_lt_prog_compiler_static
26941: 
26942: # Does compiler simultaneously support -c and -o options?
26943: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26944: 
26945: # Whether or not to add -lc for building shared libraries.
26946: build_libtool_need_lc=$archive_cmds_need_lc
26947: 
26948: # Whether or not to disallow shared libs when runtime libs are static.
26949: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26950: 
26951: # Compiler flag to allow reflexive dlopens.
26952: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26953: 
26954: # Compiler flag to generate shared objects directly from archives.
26955: whole_archive_flag_spec=$lt_whole_archive_flag_spec
26956: 
26957: # Whether the compiler copes with passing no objects directly.
26958: compiler_needs_object=$lt_compiler_needs_object
26959: 
26960: # Create an old-style archive from a shared archive.
26961: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26962: 
26963: # Create a temporary old-style archive to link instead of a shared archive.
26964: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26965: 
26966: # Commands used to build a shared archive.
26967: archive_cmds=$lt_archive_cmds
26968: archive_expsym_cmds=$lt_archive_expsym_cmds
26969: 
26970: # Commands used to build a loadable module if different from building
26971: # a shared archive.
26972: module_cmds=$lt_module_cmds
26973: module_expsym_cmds=$lt_module_expsym_cmds
26974: 
26975: # Whether we are building with GNU ld or not.
26976: with_gnu_ld=$lt_with_gnu_ld
26977: 
26978: # Flag that allows shared libraries with undefined symbols to be built.
26979: allow_undefined_flag=$lt_allow_undefined_flag
26980: 
26981: # Flag that enforces no undefined symbols.
26982: no_undefined_flag=$lt_no_undefined_flag
26983: 
26984: # Flag to hardcode \$libdir into a binary during linking.
26985: # This must work even if \$libdir does not exist
26986: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26987: 
26988: # Whether we need a single "-rpath" flag with a separated argument.
26989: hardcode_libdir_separator=$lt_hardcode_libdir_separator
26990: 
26991: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26992: # DIR into the resulting binary.
26993: hardcode_direct=$hardcode_direct
26994: 
26995: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26996: # DIR into the resulting binary and the resulting library dependency is
26997: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26998: # library is relocated.
26999: hardcode_direct_absolute=$hardcode_direct_absolute
27000: 
27001: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27002: # into the resulting binary.
27003: hardcode_minus_L=$hardcode_minus_L
27004: 
27005: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27006: # into the resulting binary.
27007: hardcode_shlibpath_var=$hardcode_shlibpath_var
27008: 
27009: # Set to "yes" if building a shared library automatically hardcodes DIR
27010: # into the library and all subsequent libraries and executables linked
27011: # against it.
27012: hardcode_automatic=$hardcode_automatic
27013: 
27014: # Set to yes if linker adds runtime paths of dependent libraries
27015: # to runtime path list.
27016: inherit_rpath=$inherit_rpath
27017: 
27018: # Whether libtool must link a program against all its dependency libraries.
27019: link_all_deplibs=$link_all_deplibs
27020: 
27021: # Set to "yes" if exported symbols are required.
27022: always_export_symbols=$always_export_symbols
27023: 
27024: # The commands to list exported symbols.
27025: export_symbols_cmds=$lt_export_symbols_cmds
27026: 
27027: # Symbols that should not be listed in the preloaded symbols.
27028: exclude_expsyms=$lt_exclude_expsyms
27029: 
27030: # Symbols that must always be exported.
27031: include_expsyms=$lt_include_expsyms
27032: 
27033: # Commands necessary for linking programs (against libraries) with templates.
27034: prelink_cmds=$lt_prelink_cmds
27035: 
27036: # Commands necessary for finishing linking programs.
27037: postlink_cmds=$lt_postlink_cmds
27038: 
27039: # Specify filename containing input files.
27040: file_list_spec=$lt_file_list_spec
27041: 
27042: # How to hardcode a shared library path into an executable.
27043: hardcode_action=$hardcode_action
27044: 
27045: # ### END LIBTOOL CONFIG
27046: 
27047: _LT_EOF
27048: 
27049:     cat <<'_LT_EOF' >> "$cfgfile"
27050: 
27051: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
27052: 
27053: # func_munge_path_list VARIABLE PATH
27054: # -----------------------------------
27055: # VARIABLE is name of variable containing _space_ separated list of
27056: # directories to be munged by the contents of PATH, which is string
27057: # having a format:
27058: # "DIR[:DIR]:"
27059: #       string "DIR[ DIR]" will be prepended to VARIABLE
27060: # ":DIR[:DIR]"
27061: #       string "DIR[ DIR]" will be appended to VARIABLE
27062: # "DIRP[:DIRP]::[DIRA:]DIRA"
27063: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
27064: #       "DIRA[ DIRA]" will be appended to VARIABLE
27065: # "DIR[:DIR]"
27066: #       VARIABLE will be replaced by "DIR[ DIR]"
27067: func_munge_path_list ()
27068: {
27069:     case x$2 in
27070:     x)
27071:         ;;
27072:     *:)
27073:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
27074:         ;;
27075:     x:*)
27076:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
27077:         ;;
27078:     *::*)
27079:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
27080:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
27081:         ;;
27082:     *)
27083:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
27084:         ;;
27085:     esac
27086: }
27087: 
27088: 
27089: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
27090: func_cc_basename ()
27091: {
27092:     for cc_temp in $*""; do
27093:       case $cc_temp in
27094:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27095:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27096:         \-*) ;;
27097:         *) break;;
27098:       esac
27099:     done
27100:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
27101: }
27102: 
27103: 
27104: # ### END FUNCTIONS SHARED WITH CONFIGURE
27105: 
27106: _LT_EOF
27107: 
27108:   case $host_os in
27109:   aix3*)
27110:     cat <<\_LT_EOF >> "$cfgfile"
27111: # AIX sometimes has problems with the GCC collect2 program.  For some
27112: # reason, if we set the COLLECT_NAMES environment variable, the problems
27113: # vanish in a puff of smoke.
27114: if test set != "${COLLECT_NAMES+set}"; then
27115:   COLLECT_NAMES=
27116:   export COLLECT_NAMES
27117: fi
27118: _LT_EOF
27119:     ;;
27120:   esac
27121: 
27122: 
27123: ltmain=$ac_aux_dir/ltmain.sh
27124: 
27125: 
27126:   # We use sed instead of cat because bash on DJGPP gets confused if
27127:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27128:   # text mode, it properly converts lines to CR/LF.  This bash problem
27129:   # is reportedly fixed, but why not run on old versions too?
27130:   sed '$q' "$ltmain" >> "$cfgfile" \
27131:      || (rm -f "$cfgfile"; exit 1)
27132: 
27133:    mv -f "$cfgfile" "$ofile" ||
27134:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27135:   chmod +x "$ofile"
27136: 
27137: 
27138:     cat <<_LT_EOF >> "$ofile"
27139: 
27140: # ### BEGIN LIBTOOL TAG CONFIG: RC
27141: 
27142: # The linker used to build libraries.
27143: LD=$lt_LD_RC
27144: 
27145: # How to create reloadable object files.
27146: reload_flag=$lt_reload_flag_RC
27147: reload_cmds=$lt_reload_cmds_RC
27148: 
27149: # Commands used to build an old-style archive.
27150: old_archive_cmds=$lt_old_archive_cmds_RC
27151: 
27152: # A language specific compiler.
27153: CC=$lt_compiler_RC
27154: 
27155: # Is the compiler the GNU compiler?
27156: with_gcc=$GCC_RC
27157: 
27158: # Compiler flag to turn off builtin functions.
27159: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27160: 
27161: # Additional compiler flags for building library objects.
27162: pic_flag=$lt_lt_prog_compiler_pic_RC
27163: 
27164: # How to pass a linker flag through the compiler.
27165: wl=$lt_lt_prog_compiler_wl_RC
27166: 
27167: # Compiler flag to prevent dynamic linking.
27168: link_static_flag=$lt_lt_prog_compiler_static_RC
27169: 
27170: # Does compiler simultaneously support -c and -o options?
27171: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27172: 
27173: # Whether or not to add -lc for building shared libraries.
27174: build_libtool_need_lc=$archive_cmds_need_lc_RC
27175: 
27176: # Whether or not to disallow shared libs when runtime libs are static.
27177: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
27178: 
27179: # Compiler flag to allow reflexive dlopens.
27180: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27181: 
27182: # Compiler flag to generate shared objects directly from archives.
27183: whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27184: 
27185: # Whether the compiler copes with passing no objects directly.
27186: compiler_needs_object=$lt_compiler_needs_object_RC
27187: 
27188: # Create an old-style archive from a shared archive.
27189: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27190: 
27191: # Create a temporary old-style archive to link instead of a shared archive.
27192: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27193: 
27194: # Commands used to build a shared archive.
27195: archive_cmds=$lt_archive_cmds_RC
27196: archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27197: 
27198: # Commands used to build a loadable module if different from building
27199: # a shared archive.
27200: module_cmds=$lt_module_cmds_RC
27201: module_expsym_cmds=$lt_module_expsym_cmds_RC
27202: 
27203: # Whether we are building with GNU ld or not.
27204: with_gnu_ld=$lt_with_gnu_ld_RC
27205: 
27206: # Flag that allows shared libraries with undefined symbols to be built.
27207: allow_undefined_flag=$lt_allow_undefined_flag_RC
27208: 
27209: # Flag that enforces no undefined symbols.
27210: no_undefined_flag=$lt_no_undefined_flag_RC
27211: 
27212: # Flag to hardcode \$libdir into a binary during linking.
27213: # This must work even if \$libdir does not exist
27214: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27215: 
27216: # Whether we need a single "-rpath" flag with a separated argument.
27217: hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27218: 
27219: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27220: # DIR into the resulting binary.
27221: hardcode_direct=$hardcode_direct_RC
27222: 
27223: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27224: # DIR into the resulting binary and the resulting library dependency is
27225: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27226: # library is relocated.
27227: hardcode_direct_absolute=$hardcode_direct_absolute_RC
27228: 
27229: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27230: # into the resulting binary.
27231: hardcode_minus_L=$hardcode_minus_L_RC
27232: 
27233: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27234: # into the resulting binary.
27235: hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27236: 
27237: # Set to "yes" if building a shared library automatically hardcodes DIR
27238: # into the library and all subsequent libraries and executables linked
27239: # against it.
27240: hardcode_automatic=$hardcode_automatic_RC
27241: 
27242: # Set to yes if linker adds runtime paths of dependent libraries
27243: # to runtime path list.
27244: inherit_rpath=$inherit_rpath_RC
27245: 
27246: # Whether libtool must link a program against all its dependency libraries.
27247: link_all_deplibs=$link_all_deplibs_RC
27248: 
27249: # Set to "yes" if exported symbols are required.
27250: always_export_symbols=$always_export_symbols_RC
27251: 
27252: # The commands to list exported symbols.
27253: export_symbols_cmds=$lt_export_symbols_cmds_RC
27254: 
27255: # Symbols that should not be listed in the preloaded symbols.
27256: exclude_expsyms=$lt_exclude_expsyms_RC
27257: 
27258: # Symbols that must always be exported.
27259: include_expsyms=$lt_include_expsyms_RC
27260: 
27261: # Commands necessary for linking programs (against libraries) with templates.
27262: prelink_cmds=$lt_prelink_cmds_RC
27263: 
27264: # Commands necessary for finishing linking programs.
27265: postlink_cmds=$lt_postlink_cmds_RC
27266: 
27267: # Specify filename containing input files.
27268: file_list_spec=$lt_file_list_spec_RC
27269: 
27270: # How to hardcode a shared library path into an executable.
27271: hardcode_action=$hardcode_action_RC
27272: 
27273: # ### END LIBTOOL TAG CONFIG: RC
27274: _LT_EOF
27275: 
27276:  ;;
27277:     "po-directories":C)
27278:     for ac_file in $CONFIG_FILES; do
27279:       # Support "outfile[:infile[:infile...]]"
27280:       case "$ac_file" in
27281:         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
27282:       esac
27283:       # PO directories have a Makefile.in generated from Makefile.in.in.
27284:       case "$ac_file" in */Makefile.in)
27285:         # Adjust a relative srcdir.
27286:         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
27287:         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
27288:         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
27289:         # In autoconf-2.13 it is called $ac_given_srcdir.
27290:         # In autoconf-2.50 it is called $srcdir.
27291:         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
27292:         case "$ac_given_srcdir" in
27293:           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
27294:           /*) top_srcdir="$ac_given_srcdir" ;;
27295:           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
27296:         esac
27297:         # Treat a directory as a PO directory if and only if it has a
27298:         # POTFILES.in file. This allows packages to have multiple PO
27299:         # directories under different names or in different locations.
27300:         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
27301:           rm -f "$ac_dir/POTFILES"
27302:           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
27303:           gt_tab=`printf '\t'`
27304:           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
27305:           POMAKEFILEDEPS="POTFILES.in"
27306:           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
27307:           # on $ac_dir but don't depend on user-specified configuration
27308:           # parameters.
27309:           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
27310:             # The LINGUAS file contains the set of available languages.
27311:             if test -n "$OBSOLETE_ALL_LINGUAS"; then
27312:               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
27313:             fi
27314:             ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
27315:             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
27316:           else
27317:             # The set of available languages was given in configure.in.
27318:             ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
27319:           fi
27320:           # Compute POFILES
27321:           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
27322:           # Compute UPDATEPOFILES
27323:           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
27324:           # Compute DUMMYPOFILES
27325:           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
27326:           # Compute GMOFILES
27327:           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
27328:           case "$ac_given_srcdir" in
27329:             .) srcdirpre= ;;
27330:             *) srcdirpre='$(srcdir)/' ;;
27331:           esac
27332:           POFILES=
27333:           UPDATEPOFILES=
27334:           DUMMYPOFILES=
27335:           GMOFILES=
27336:           for lang in $ALL_LINGUAS; do
27337:             POFILES="$POFILES $srcdirpre$lang.po"
27338:             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
27339:             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
27340:             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
27341:           done
27342:           # CATALOGS depends on both $ac_dir and the user's LINGUAS
27343:           # environment variable.
27344:           INST_LINGUAS=
27345:           if test -n "$ALL_LINGUAS"; then
27346:             for presentlang in $ALL_LINGUAS; do
27347:               useit=no
27348:               if test "%UNSET%" != "$LINGUAS"; then
27349:                 desiredlanguages="$LINGUAS"
27350:               else
27351:                 desiredlanguages="$ALL_LINGUAS"
27352:               fi
27353:               for desiredlang in $desiredlanguages; do
27354:                 # Use the presentlang catalog if desiredlang is
27355:                 #   a. equal to presentlang, or
27356:                 #   b. a variant of presentlang (because in this case,
27357:                 #      presentlang can be used as a fallback for messages
27358:                 #      which are not translated in the desiredlang catalog).
27359:                 case "$desiredlang" in
27360:                   "$presentlang"*) useit=yes;;
27361:                 esac
27362:               done
27363:               if test $useit = yes; then
27364:                 INST_LINGUAS="$INST_LINGUAS $presentlang"
27365:               fi
27366:             done
27367:           fi
27368:           CATALOGS=
27369:           if test -n "$INST_LINGUAS"; then
27370:             for lang in $INST_LINGUAS; do
27371:               CATALOGS="$CATALOGS $lang.gmo"
27372:             done
27373:           fi
27374:           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
27375:           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
27376:           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
27377:             if test -f "$f"; then
27378:               case "$f" in
27379:                 *.orig | *.bak | *~) ;;
27380:                 *) cat "$f" >> "$ac_dir/Makefile" ;;
27381:               esac
27382:             fi
27383:           done
27384:         fi
27385:         ;;
27386:       esac
27387:     done ;;
27388: 
27389:   esac
27390: done # for ac_tag
27391: 
27392: 
27393: as_fn_exit 0
27394: _ACEOF
27395: ac_clean_files=$ac_clean_files_save
27396: 
27397: test $ac_write_fail = 0 ||
27398:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
27399: 
27400: 
27401: # configure is writing to config.log, and then calls config.status.
27402: # config.status does its own redirection, appending to config.log.
27403: # Unfortunately, on DOS this fails, as config.log is still kept open
27404: # by configure, so config.status won't be able to write to it; its
27405: # output is simply discarded.  So we exec the FD to /dev/null,
27406: # effectively closing config.log, so it can be properly (re)opened and
27407: # appended to by config.status.  When coming back to configure, we
27408: # need to make the FD available again.
27409: if test "$no_create" != yes; then
27410:   ac_cs_success=:
27411:   ac_config_status_args=
27412:   test "$silent" = yes &&
27413:     ac_config_status_args="$ac_config_status_args --quiet"
27414:   exec 5>/dev/null
27415:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27416:   exec 5>>config.log
27417:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27418:   # would make configure fail if this is the last instruction.
27419:   $ac_cs_success || as_fn_exit 1
27420: fi
27421: 
27422: #
27423: # CONFIG_SUBDIRS section.
27424: #
27425: if test "$no_recursion" != yes; then
27426: 
27427:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27428:   # so they do not pile up.
27429:   ac_sub_configure_args=
27430:   ac_prev=
27431:   eval "set x $ac_configure_args"
27432:   shift
27433:   for ac_arg
27434:   do
27435:     if test -n "$ac_prev"; then
27436:       ac_prev=
27437:       continue
27438:     fi
27439:     case $ac_arg in
27440:     -cache-file | --cache-file | --cache-fil | --cache-fi \
27441:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
27442:       ac_prev=cache_file ;;
27443:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
27444:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
27445:     | --c=*)
27446:       ;;
27447:     --config-cache | -C)
27448:       ;;
27449:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
27450:       ac_prev=srcdir ;;
27451:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
27452:       ;;
27453:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
27454:       ac_prev=prefix ;;
27455:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
27456:       ;;
27457:     --disable-option-checking)
27458:       ;;
27459:     *)
27460:       case $ac_arg in
27461:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27462:       esac
27463:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
27464:     esac
27465:   done
27466: 
27467:   # Always prepend --prefix to ensure using the same prefix
27468:   # in subdir configurations.
27469:   ac_arg="--prefix=$prefix"
27470:   case $ac_arg in
27471:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27472:   esac
27473:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
27474: 
27475:   # Pass --silent
27476:   if test "$silent" = yes; then
27477:     ac_sub_configure_args="--silent $ac_sub_configure_args"
27478:   fi
27479: 
27480:   # Always prepend --disable-option-checking to silence warnings, since
27481:   # different subdirs can have different --enable and --with options.
27482:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
27483: 
27484:   ac_popdir=`pwd`
27485:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
27486: 
27487:     # Do not complain, so a configure script can configure whichever
27488:     # parts of a large source tree are present.
27489:     test -d "$srcdir/$ac_dir" || continue
27490: 
27491:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27492:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
27493:     $as_echo "$ac_msg" >&6
27494:     as_dir="$ac_dir"; as_fn_mkdir_p
27495:     ac_builddir=.
27496: 
27497: case "$ac_dir" in
27498: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27499: *)
27500:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27501:   # A ".." for each directory in $ac_dir_suffix.
27502:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27503:   case $ac_top_builddir_sub in
27504:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27505:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27506:   esac ;;
27507: esac
27508: ac_abs_top_builddir=$ac_pwd
27509: ac_abs_builddir=$ac_pwd$ac_dir_suffix
27510: # for backward compatibility:
27511: ac_top_builddir=$ac_top_build_prefix
27512: 
27513: case $srcdir in
27514:   .)  # We are building in place.
27515:     ac_srcdir=.
27516:     ac_top_srcdir=$ac_top_builddir_sub
27517:     ac_abs_top_srcdir=$ac_pwd ;;
27518:   [\\/]* | ?:[\\/]* )  # Absolute name.
27519:     ac_srcdir=$srcdir$ac_dir_suffix;
27520:     ac_top_srcdir=$srcdir
27521:     ac_abs_top_srcdir=$srcdir ;;
27522:   *) # Relative name.
27523:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27524:     ac_top_srcdir=$ac_top_build_prefix$srcdir
27525:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27526: esac
27527: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27528: 
27529: 
27530:     cd "$ac_dir"
27531: 
27532:     # Check for guested configure; otherwise get Cygnus style configure.
27533:     if test -f "$ac_srcdir/configure.gnu"; then
27534:       ac_sub_configure=$ac_srcdir/configure.gnu
27535:     elif test -f "$ac_srcdir/configure"; then
27536:       ac_sub_configure=$ac_srcdir/configure
27537:     elif test -f "$ac_srcdir/configure.in"; then
27538:       # This should be Cygnus configure.
27539:       ac_sub_configure=$ac_aux_dir/configure
27540:     else
27541:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
27542: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27543:       ac_sub_configure=
27544:     fi
27545: 
27546:     # The recursion is here.
27547:     if test -n "$ac_sub_configure"; then
27548:       # Make the cache file name correct relative to the subdirectory.
27549:       case $cache_file in
27550:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
27551:       *) # Relative name.
27552: 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
27553:       esac
27554: 
27555:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27556: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27557:       # The eval makes quoting arguments work.
27558:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27559: 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27560: 	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
27561:     fi
27562: 
27563:     cd "$ac_popdir"
27564:   done
27565: fi
27566: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27567:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27568: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27569: fi
27570: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>