Annotation of embedaddon/confuse/configure, revision 1.1.1.2

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.2 ! misho       3: # Generated by GNU Autoconf 2.69 for libConfuse 3.3.
1.1       misho       4: #
1.1.1.2 ! misho       5: # Report bugs to <https://github.com/martinh/libconfuse/issues>.
1.1       misho       6: #
                      7: #
1.1.1.2 ! misho       8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       9: #
                     10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
                     13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
                     16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
                     19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
                     73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
                     81: fi
                     82: 
                     83: 
                     84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2 ! misho      92: as_myself=
1.1       misho      93: case $0 in #((
                     94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
                    100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
                    102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
                    114: fi
                    115: 
                    116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
                    129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
                    135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    136: 
1.1.1.2 ! misho     137: # Use a proper internal environment variable to ensure we don't fall
        !           138:   # into an infinite loop, continuously re-executing ourselves.
        !           139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           140:     _as_can_reexec=no; export _as_can_reexec;
        !           141:     # We cannot yet assume a decent shell, so we have to provide a
        !           142: # neutralization value for shells without unset; and this also
        !           143: # works around shells that cannot unset nonexistent variables.
        !           144: # Preserve -v and -x to the replacement shell.
        !           145: BASH_ENV=/dev/null
        !           146: ENV=/dev/null
        !           147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           148: case $- in # ((((
        !           149:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           150:   *v* ) as_opts=-v ;;
        !           151:   *x* ) as_opts=-x ;;
        !           152:   * ) as_opts= ;;
        !           153: esac
        !           154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           155: # Admittedly, this is quite paranoid, since all the known shells bail
        !           156: # out after a failed `exec'.
        !           157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           158: as_fn_exit 255
        !           159:   fi
        !           160:   # We don't want this to propagate to other subprocesses.
        !           161:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     162: if test "x$CONFIG_SHELL" = x; then
                    163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    164:   emulate sh
                    165:   NULLCMD=:
                    166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    167:   # is contrary to our usage.  Disable this feature.
                    168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    169:   setopt NO_GLOB_SUBST
                    170: else
                    171:   case \`(set -o) 2>/dev/null\` in #(
                    172:   *posix*) :
                    173:     set -o posix ;; #(
                    174:   *) :
                    175:      ;;
                    176: esac
                    177: fi
                    178: "
                    179:   as_required="as_fn_return () { (exit \$1); }
                    180: as_fn_success () { as_fn_return 0; }
                    181: as_fn_failure () { as_fn_return 1; }
                    182: as_fn_ret_success () { return 0; }
                    183: as_fn_ret_failure () { return 1; }
                    184: 
                    185: exitcode=0
                    186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    191: 
                    192: else
                    193:   exitcode=1; echo positional parameters were not saved.
                    194: fi
1.1.1.2 ! misho     195: test x\$exitcode = x0 || exit 1
        !           196: test -x / || exit 1"
1.1       misho     197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1.1.1.2 ! misho     201: 
        !           202:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
        !           203:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !           204:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           205:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           206:     PATH=/empty FPATH=/empty; export PATH FPATH
        !           207:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
        !           208:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
1.1       misho     209: test \$(( 1 + 1 )) = 2 || exit 1"
                    210:   if (eval "$as_required") 2>/dev/null; then :
                    211:   as_have_required=yes
                    212: else
                    213:   as_have_required=no
                    214: fi
                    215:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    216: 
                    217: else
                    218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    219: as_found=false
                    220: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    221: do
                    222:   IFS=$as_save_IFS
                    223:   test -z "$as_dir" && as_dir=.
                    224:   as_found=:
                    225:   case $as_dir in #(
                    226:         /*)
                    227:           for as_base in sh bash ksh sh5; do
                    228:             # Try only shells that exist, to save several forks.
                    229:             as_shell=$as_dir/$as_base
                    230:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    231:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   CONFIG_SHELL=$as_shell as_have_required=yes
                    233:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    234:   break 2
                    235: fi
                    236: fi
                    237:           done;;
                    238:        esac
                    239:   as_found=false
                    240: done
                    241: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    242:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    243:   CONFIG_SHELL=$SHELL as_have_required=yes
                    244: fi; }
                    245: IFS=$as_save_IFS
                    246: 
                    247: 
                    248:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.2 ! misho     249:   export CONFIG_SHELL
        !           250:              # We cannot yet assume a decent shell, so we have to provide a
        !           251: # neutralization value for shells without unset; and this also
        !           252: # works around shells that cannot unset nonexistent variables.
        !           253: # Preserve -v and -x to the replacement shell.
        !           254: BASH_ENV=/dev/null
        !           255: ENV=/dev/null
        !           256: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           257: case $- in # ((((
        !           258:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           259:   *v* ) as_opts=-v ;;
        !           260:   *x* ) as_opts=-x ;;
        !           261:   * ) as_opts= ;;
        !           262: esac
        !           263: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           264: # Admittedly, this is quite paranoid, since all the known shells bail
        !           265: # out after a failed `exec'.
        !           266: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           267: exit 255
1.1       misho     268: fi
                    269: 
                    270:     if test x$as_have_required = xno; then :
                    271:   $as_echo "$0: This script requires a shell more modern than all"
                    272:   $as_echo "$0: the shells that I found on your system."
                    273:   if test x${ZSH_VERSION+set} = xset ; then
                    274:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    275:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    276:   else
                    277:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
1.1.1.2 ! misho     278: $0: https://github.com/martinh/libconfuse/issues about your
        !           279: $0: system, including any error possibly output before this
        !           280: $0: message. Then install a modern shell, or manually run
        !           281: $0: the script under such a shell if you do have one."
1.1       misho     282:   fi
                    283:   exit 1
                    284: fi
                    285: fi
                    286: fi
                    287: SHELL=${CONFIG_SHELL-/bin/sh}
                    288: export SHELL
                    289: # Unset more variables known to interfere with behavior of common tools.
                    290: CLICOLOR_FORCE= GREP_OPTIONS=
                    291: unset CLICOLOR_FORCE GREP_OPTIONS
                    292: 
                    293: ## --------------------- ##
                    294: ## M4sh Shell Functions. ##
                    295: ## --------------------- ##
                    296: # as_fn_unset VAR
                    297: # ---------------
                    298: # Portably unset VAR.
                    299: as_fn_unset ()
                    300: {
                    301:   { eval $1=; unset $1;}
                    302: }
                    303: as_unset=as_fn_unset
                    304: 
                    305: # as_fn_set_status STATUS
                    306: # -----------------------
                    307: # Set $? to STATUS, without forking.
                    308: as_fn_set_status ()
                    309: {
                    310:   return $1
                    311: } # as_fn_set_status
                    312: 
                    313: # as_fn_exit STATUS
                    314: # -----------------
                    315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    316: as_fn_exit ()
                    317: {
                    318:   set +e
                    319:   as_fn_set_status $1
                    320:   exit $1
                    321: } # as_fn_exit
                    322: 
                    323: # as_fn_mkdir_p
                    324: # -------------
                    325: # Create "$as_dir" as a directory, including parents if necessary.
                    326: as_fn_mkdir_p ()
                    327: {
                    328: 
                    329:   case $as_dir in #(
                    330:   -*) as_dir=./$as_dir;;
                    331:   esac
                    332:   test -d "$as_dir" || eval $as_mkdir_p || {
                    333:     as_dirs=
                    334:     while :; do
                    335:       case $as_dir in #(
                    336:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    337:       *) as_qdir=$as_dir;;
                    338:       esac
                    339:       as_dirs="'$as_qdir' $as_dirs"
                    340:       as_dir=`$as_dirname -- "$as_dir" ||
                    341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    342:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    343:         X"$as_dir" : 'X\(//\)$' \| \
                    344:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    345: $as_echo X"$as_dir" |
                    346:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    347:            s//\1/
                    348:            q
                    349:          }
                    350:          /^X\(\/\/\)[^/].*/{
                    351:            s//\1/
                    352:            q
                    353:          }
                    354:          /^X\(\/\/\)$/{
                    355:            s//\1/
                    356:            q
                    357:          }
                    358:          /^X\(\/\).*/{
                    359:            s//\1/
                    360:            q
                    361:          }
                    362:          s/.*/./; q'`
                    363:       test -d "$as_dir" && break
                    364:     done
                    365:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.1.1.2 ! misho     366:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       misho     367: 
                    368: 
                    369: } # as_fn_mkdir_p
1.1.1.2 ! misho     370: 
        !           371: # as_fn_executable_p FILE
        !           372: # -----------------------
        !           373: # Test if FILE is an executable regular file.
        !           374: as_fn_executable_p ()
        !           375: {
        !           376:   test -f "$1" && test -x "$1"
        !           377: } # as_fn_executable_p
1.1       misho     378: # as_fn_append VAR VALUE
                    379: # ----------------------
                    380: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    381: # advantage of any shell optimizations that allow amortized linear growth over
                    382: # repeated appends, instead of the typical quadratic growth present in naive
                    383: # implementations.
                    384: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    385:   eval 'as_fn_append ()
                    386:   {
                    387:     eval $1+=\$2
                    388:   }'
                    389: else
                    390:   as_fn_append ()
                    391:   {
                    392:     eval $1=\$$1\$2
                    393:   }
                    394: fi # as_fn_append
                    395: 
                    396: # as_fn_arith ARG...
                    397: # ------------------
                    398: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    399: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    400: # must be portable across $(()) and expr.
                    401: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    402:   eval 'as_fn_arith ()
                    403:   {
                    404:     as_val=$(( $* ))
                    405:   }'
                    406: else
                    407:   as_fn_arith ()
                    408:   {
                    409:     as_val=`expr "$@" || test $? -eq 1`
                    410:   }
                    411: fi # as_fn_arith
                    412: 
                    413: 
1.1.1.2 ! misho     414: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !           415: # ----------------------------------------
1.1       misho     416: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    417: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.1.1.2 ! misho     418: # script with STATUS, using 1 if that was 0.
1.1       misho     419: as_fn_error ()
                    420: {
1.1.1.2 ! misho     421:   as_status=$1; test $as_status -eq 0 && as_status=1
        !           422:   if test "$4"; then
        !           423:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !           424:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       misho     425:   fi
1.1.1.2 ! misho     426:   $as_echo "$as_me: error: $2" >&2
1.1       misho     427:   as_fn_exit $as_status
                    428: } # as_fn_error
                    429: 
                    430: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    431:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    432:   as_expr=expr
                    433: else
                    434:   as_expr=false
                    435: fi
                    436: 
                    437: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    438:   as_basename=basename
                    439: else
                    440:   as_basename=false
                    441: fi
                    442: 
                    443: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    444:   as_dirname=dirname
                    445: else
                    446:   as_dirname=false
                    447: fi
                    448: 
                    449: as_me=`$as_basename -- "$0" ||
                    450: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    451:         X"$0" : 'X\(//\)$' \| \
                    452:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    453: $as_echo X/"$0" |
                    454:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    455:            s//\1/
                    456:            q
                    457:          }
                    458:          /^X\/\(\/\/\)$/{
                    459:            s//\1/
                    460:            q
                    461:          }
                    462:          /^X\/\(\/\).*/{
                    463:            s//\1/
                    464:            q
                    465:          }
                    466:          s/.*/./; q'`
                    467: 
                    468: # Avoid depending upon Character Ranges.
                    469: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    470: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    471: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    472: as_cr_digits='0123456789'
                    473: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    474: 
                    475: 
                    476:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    477:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    478:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    479:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    480:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    481:   sed -n '
                    482:     p
                    483:     /[$]LINENO/=
                    484:   ' <$as_myself |
                    485:     sed '
                    486:       s/[$]LINENO.*/&-/
                    487:       t lineno
                    488:       b
                    489:       :lineno
                    490:       N
                    491:       :loop
                    492:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    493:       t loop
                    494:       s/-\n.*//
                    495:     ' >$as_me.lineno &&
                    496:   chmod +x "$as_me.lineno" ||
                    497:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    498: 
1.1.1.2 ! misho     499:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           500:   # already done that, so ensure we don't try to do so again and fall
        !           501:   # in an infinite loop.  This has already happened in practice.
        !           502:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     503:   # Don't try to exec as it changes $[0], causing all sort of problems
                    504:   # (the dirname of $[0] is not the place where we might find the
                    505:   # original and so on.  Autoconf is especially sensitive to this).
                    506:   . "./$as_me.lineno"
                    507:   # Exit status is that of the last command.
                    508:   exit
                    509: }
                    510: 
                    511: ECHO_C= ECHO_N= ECHO_T=
                    512: case `echo -n x` in #(((((
                    513: -n*)
                    514:   case `echo 'xy\c'` in
                    515:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    516:   xy)  ECHO_C='\c';;
                    517:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    518:        ECHO_T='        ';;
                    519:   esac;;
                    520: *)
                    521:   ECHO_N='-n';;
                    522: esac
                    523: 
                    524: rm -f conf$$ conf$$.exe conf$$.file
                    525: if test -d conf$$.dir; then
                    526:   rm -f conf$$.dir/conf$$.file
                    527: else
                    528:   rm -f conf$$.dir
                    529:   mkdir conf$$.dir 2>/dev/null
                    530: fi
                    531: if (echo >conf$$.file) 2>/dev/null; then
                    532:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    533:     as_ln_s='ln -s'
                    534:     # ... but there are two gotchas:
                    535:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    536:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.2 ! misho     537:     # In both cases, we have to default to `cp -pR'.
1.1       misho     538:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.2 ! misho     539:       as_ln_s='cp -pR'
1.1       misho     540:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    541:     as_ln_s=ln
                    542:   else
1.1.1.2 ! misho     543:     as_ln_s='cp -pR'
1.1       misho     544:   fi
                    545: else
1.1.1.2 ! misho     546:   as_ln_s='cp -pR'
1.1       misho     547: fi
                    548: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    549: rmdir conf$$.dir 2>/dev/null
                    550: 
                    551: if mkdir -p . 2>/dev/null; then
                    552:   as_mkdir_p='mkdir -p "$as_dir"'
                    553: else
                    554:   test -d ./-p && rmdir ./-p
                    555:   as_mkdir_p=false
                    556: fi
                    557: 
1.1.1.2 ! misho     558: as_test_x='test -x'
        !           559: as_executable_p=as_fn_executable_p
1.1       misho     560: 
                    561: # Sed expression to map a string onto a valid CPP name.
                    562: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    563: 
                    564: # Sed expression to map a string onto a valid variable name.
                    565: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    566: 
                    567: SHELL=${CONFIG_SHELL-/bin/sh}
                    568: 
                    569: 
                    570: test -n "$DJDIR" || exec 7<&0 </dev/null
                    571: exec 6>&1
                    572: 
                    573: # Name of the host.
1.1.1.2 ! misho     574: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misho     575: # so uname gets run too.
                    576: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    577: 
                    578: #
                    579: # Initializations.
                    580: #
                    581: ac_default_prefix=/usr/local
                    582: ac_clean_files=
                    583: ac_config_libobj_dir=.
                    584: LIBOBJS=
                    585: cross_compiling=no
                    586: subdirs=
                    587: MFLAGS=
                    588: MAKEFLAGS=
                    589: 
                    590: # Identity of this package.
                    591: PACKAGE_NAME='libConfuse'
                    592: PACKAGE_TARNAME='confuse'
1.1.1.2 ! misho     593: PACKAGE_VERSION='3.3'
        !           594: PACKAGE_STRING='libConfuse 3.3'
        !           595: PACKAGE_BUGREPORT='https://github.com/martinh/libconfuse/issues'
1.1       misho     596: PACKAGE_URL=''
                    597: 
                    598: ac_unique_file="src/confuse.c"
                    599: # Factoring default headers for most tests.
                    600: ac_includes_default="\
                    601: #include <stdio.h>
                    602: #ifdef HAVE_SYS_TYPES_H
                    603: # include <sys/types.h>
                    604: #endif
                    605: #ifdef HAVE_SYS_STAT_H
                    606: # include <sys/stat.h>
                    607: #endif
                    608: #ifdef STDC_HEADERS
                    609: # include <stdlib.h>
                    610: # include <stddef.h>
                    611: #else
                    612: # ifdef HAVE_STDLIB_H
                    613: #  include <stdlib.h>
                    614: # endif
                    615: #endif
                    616: #ifdef HAVE_STRING_H
                    617: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    618: #  include <memory.h>
                    619: # endif
                    620: # include <string.h>
                    621: #endif
                    622: #ifdef HAVE_STRINGS_H
                    623: # include <strings.h>
                    624: #endif
                    625: #ifdef HAVE_INTTYPES_H
                    626: # include <inttypes.h>
                    627: #endif
                    628: #ifdef HAVE_STDINT_H
                    629: # include <stdint.h>
                    630: #endif
                    631: #ifdef HAVE_UNISTD_H
                    632: # include <unistd.h>
                    633: #endif"
                    634: 
                    635: gt_needs=
                    636: ac_subst_vars='am__EXEEXT_FALSE
                    637: am__EXEEXT_TRUE
                    638: LTLIBOBJS
                    639: LIBOBJS
1.1.1.2 ! misho     640: WINDOWS_BUILD_FALSE
        !           641: WINDOWS_BUILD_TRUE
        !           642: MISSING_REALLOCARRAY_FALSE
        !           643: MISSING_REALLOCARRAY_TRUE
        !           644: MISSING_FMEMOPEN_FALSE
        !           645: MISSING_FMEMOPEN_TRUE
1.1       misho     646: POSUB
                    647: LTLIBINTL
                    648: LIBINTL
                    649: INTLLIBS
                    650: LTLIBICONV
                    651: LIBICONV
                    652: INTL_MACOSX_LIBS
1.1.1.2 ! misho     653: XGETTEXT_EXTRA_OPTIONS
1.1       misho     654: MSGMERGE
                    655: XGETTEXT_015
                    656: XGETTEXT
                    657: GMSGFMT_015
                    658: MSGFMT_015
                    659: GMSGFMT
                    660: MSGFMT
1.1.1.2 ! misho     661: GETTEXT_MACRO_VERSION
1.1       misho     662: USE_NLS
                    663: ENABLE_EXAMPLES_FALSE
                    664: ENABLE_EXAMPLES_TRUE
                    665: CPP
1.1.1.2 ! misho     666: LT_SYS_LIBRARY_PATH
1.1       misho     667: OTOOL64
                    668: OTOOL
                    669: LIPO
                    670: NMEDIT
                    671: DSYMUTIL
1.1.1.2 ! misho     672: MANIFEST_TOOL
1.1       misho     673: RANLIB
                    674: LN_S
                    675: NM
                    676: ac_ct_DUMPBIN
                    677: DUMPBIN
                    678: LD
                    679: FGREP
                    680: EGREP
                    681: GREP
                    682: SED
                    683: host_os
                    684: host_vendor
                    685: host_cpu
                    686: host
                    687: build_os
                    688: build_vendor
                    689: build_cpu
                    690: build
                    691: LIBTOOL
1.1.1.2 ! misho     692: OBJDUMP
        !           693: DLLTOOL
        !           694: AS
1.1       misho     695: LEXLIB
                    696: LEX_OUTPUT_ROOT
                    697: LEX
1.1.1.2 ! misho     698: ac_ct_AR
        !           699: AR
1.1       misho     700: am__fastdepCC_FALSE
                    701: am__fastdepCC_TRUE
                    702: CCDEPMODE
1.1.1.2 ! misho     703: am__nodep
1.1       misho     704: AMDEPBACKSLASH
                    705: AMDEP_FALSE
                    706: AMDEP_TRUE
                    707: am__include
                    708: DEPDIR
                    709: OBJEXT
                    710: EXEEXT
                    711: ac_ct_CC
                    712: CPPFLAGS
                    713: LDFLAGS
                    714: CFLAGS
                    715: CC
1.1.1.2 ! misho     716: AM_BACKSLASH
        !           717: AM_DEFAULT_VERBOSITY
        !           718: AM_DEFAULT_V
        !           719: AM_V
1.1       misho     720: am__untar
                    721: am__tar
                    722: AMTAR
                    723: am__leading_dot
                    724: SET_MAKE
                    725: AWK
                    726: mkdir_p
                    727: MKDIR_P
                    728: INSTALL_STRIP_PROGRAM
                    729: STRIP
                    730: install_sh
                    731: MAKEINFO
                    732: AUTOHEADER
                    733: AUTOMAKE
                    734: AUTOCONF
                    735: ACLOCAL
                    736: VERSION
                    737: PACKAGE
                    738: CYGPATH_W
                    739: am__isrc
                    740: INSTALL_DATA
                    741: INSTALL_SCRIPT
                    742: INSTALL_PROGRAM
                    743: target_alias
                    744: host_alias
                    745: build_alias
                    746: LIBS
                    747: ECHO_T
                    748: ECHO_N
                    749: ECHO_C
                    750: DEFS
                    751: mandir
                    752: localedir
                    753: libdir
                    754: psdir
                    755: pdfdir
                    756: dvidir
                    757: htmldir
                    758: infodir
                    759: docdir
                    760: oldincludedir
                    761: includedir
1.1.1.2 ! misho     762: runstatedir
1.1       misho     763: localstatedir
                    764: sharedstatedir
                    765: sysconfdir
                    766: datadir
                    767: datarootdir
                    768: libexecdir
                    769: sbindir
                    770: bindir
                    771: program_transform_name
                    772: prefix
                    773: exec_prefix
                    774: PACKAGE_URL
                    775: PACKAGE_BUGREPORT
                    776: PACKAGE_STRING
                    777: PACKAGE_VERSION
                    778: PACKAGE_TARNAME
                    779: PACKAGE_NAME
                    780: PATH_SEPARATOR
1.1.1.2 ! misho     781: SHELL
        !           782: am__quote'
1.1       misho     783: ac_subst_files=''
                    784: ac_user_opts='
                    785: enable_option_checking
1.1.1.2 ! misho     786: enable_silent_rules
1.1       misho     787: enable_dependency_tracking
                    788: enable_shared
                    789: enable_static
                    790: with_pic
                    791: enable_fast_install
1.1.1.2 ! misho     792: with_aix_soname
1.1       misho     793: with_gnu_ld
1.1.1.2 ! misho     794: with_sysroot
1.1       misho     795: enable_libtool_lock
                    796: enable_examples
                    797: enable_nls
                    798: enable_rpath
                    799: with_libiconv_prefix
                    800: with_libintl_prefix
                    801: '
                    802:       ac_precious_vars='build_alias
                    803: host_alias
                    804: target_alias
                    805: CC
                    806: CFLAGS
                    807: LDFLAGS
                    808: LIBS
                    809: CPPFLAGS
1.1.1.2 ! misho     810: LT_SYS_LIBRARY_PATH
1.1       misho     811: CPP'
                    812: 
                    813: 
                    814: # Initialize some variables set by options.
                    815: ac_init_help=
                    816: ac_init_version=false
                    817: ac_unrecognized_opts=
                    818: ac_unrecognized_sep=
                    819: # The variables have the same names as the options, with
                    820: # dashes changed to underlines.
                    821: cache_file=/dev/null
                    822: exec_prefix=NONE
                    823: no_create=
                    824: no_recursion=
                    825: prefix=NONE
                    826: program_prefix=NONE
                    827: program_suffix=NONE
                    828: program_transform_name=s,x,x,
                    829: silent=
                    830: site=
                    831: srcdir=
                    832: verbose=
                    833: x_includes=NONE
                    834: x_libraries=NONE
                    835: 
                    836: # Installation directory options.
                    837: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    838: # and all the variables that are supposed to be based on exec_prefix
                    839: # by default will actually change.
                    840: # Use braces instead of parens because sh, perl, etc. also accept them.
                    841: # (The list follows the same order as the GNU Coding Standards.)
                    842: bindir='${exec_prefix}/bin'
                    843: sbindir='${exec_prefix}/sbin'
                    844: libexecdir='${exec_prefix}/libexec'
                    845: datarootdir='${prefix}/share'
                    846: datadir='${datarootdir}'
                    847: sysconfdir='${prefix}/etc'
                    848: sharedstatedir='${prefix}/com'
                    849: localstatedir='${prefix}/var'
1.1.1.2 ! misho     850: runstatedir='${localstatedir}/run'
1.1       misho     851: includedir='${prefix}/include'
                    852: oldincludedir='/usr/include'
                    853: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    854: infodir='${datarootdir}/info'
                    855: htmldir='${docdir}'
                    856: dvidir='${docdir}'
                    857: pdfdir='${docdir}'
                    858: psdir='${docdir}'
                    859: libdir='${exec_prefix}/lib'
                    860: localedir='${datarootdir}/locale'
                    861: mandir='${datarootdir}/man'
                    862: 
                    863: ac_prev=
                    864: ac_dashdash=
                    865: for ac_option
                    866: do
                    867:   # If the previous option needs an argument, assign it.
                    868:   if test -n "$ac_prev"; then
                    869:     eval $ac_prev=\$ac_option
                    870:     ac_prev=
                    871:     continue
                    872:   fi
                    873: 
                    874:   case $ac_option in
1.1.1.2 ! misho     875:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
        !           876:   *=)   ac_optarg= ;;
        !           877:   *)    ac_optarg=yes ;;
1.1       misho     878:   esac
                    879: 
                    880:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    881: 
                    882:   case $ac_dashdash$ac_option in
                    883:   --)
                    884:     ac_dashdash=yes ;;
                    885: 
                    886:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    887:     ac_prev=bindir ;;
                    888:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    889:     bindir=$ac_optarg ;;
                    890: 
                    891:   -build | --build | --buil | --bui | --bu)
                    892:     ac_prev=build_alias ;;
                    893:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    894:     build_alias=$ac_optarg ;;
                    895: 
                    896:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    897:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    898:     ac_prev=cache_file ;;
                    899:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    900:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    901:     cache_file=$ac_optarg ;;
                    902: 
                    903:   --config-cache | -C)
                    904:     cache_file=config.cache ;;
                    905: 
                    906:   -datadir | --datadir | --datadi | --datad)
                    907:     ac_prev=datadir ;;
                    908:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    909:     datadir=$ac_optarg ;;
                    910: 
                    911:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    912:   | --dataroo | --dataro | --datar)
                    913:     ac_prev=datarootdir ;;
                    914:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    915:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    916:     datarootdir=$ac_optarg ;;
                    917: 
                    918:   -disable-* | --disable-*)
                    919:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    920:     # Reject names that are not valid shell variable names.
                    921:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho     922:       as_fn_error $? "invalid feature name: $ac_useropt"
1.1       misho     923:     ac_useropt_orig=$ac_useropt
                    924:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    925:     case $ac_user_opts in
                    926:       *"
                    927: "enable_$ac_useropt"
                    928: "*) ;;
                    929:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    930:         ac_unrecognized_sep=', ';;
                    931:     esac
                    932:     eval enable_$ac_useropt=no ;;
                    933: 
                    934:   -docdir | --docdir | --docdi | --doc | --do)
                    935:     ac_prev=docdir ;;
                    936:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    937:     docdir=$ac_optarg ;;
                    938: 
                    939:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    940:     ac_prev=dvidir ;;
                    941:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    942:     dvidir=$ac_optarg ;;
                    943: 
                    944:   -enable-* | --enable-*)
                    945:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    946:     # Reject names that are not valid shell variable names.
                    947:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho     948:       as_fn_error $? "invalid feature name: $ac_useropt"
1.1       misho     949:     ac_useropt_orig=$ac_useropt
                    950:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    951:     case $ac_user_opts in
                    952:       *"
                    953: "enable_$ac_useropt"
                    954: "*) ;;
                    955:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    956:         ac_unrecognized_sep=', ';;
                    957:     esac
                    958:     eval enable_$ac_useropt=\$ac_optarg ;;
                    959: 
                    960:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    961:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    962:   | --exec | --exe | --ex)
                    963:     ac_prev=exec_prefix ;;
                    964:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    965:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    966:   | --exec=* | --exe=* | --ex=*)
                    967:     exec_prefix=$ac_optarg ;;
                    968: 
                    969:   -gas | --gas | --ga | --g)
                    970:     # Obsolete; use --with-gas.
                    971:     with_gas=yes ;;
                    972: 
                    973:   -help | --help | --hel | --he | -h)
                    974:     ac_init_help=long ;;
                    975:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    976:     ac_init_help=recursive ;;
                    977:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    978:     ac_init_help=short ;;
                    979: 
                    980:   -host | --host | --hos | --ho)
                    981:     ac_prev=host_alias ;;
                    982:   -host=* | --host=* | --hos=* | --ho=*)
                    983:     host_alias=$ac_optarg ;;
                    984: 
                    985:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    986:     ac_prev=htmldir ;;
                    987:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    988:   | --ht=*)
                    989:     htmldir=$ac_optarg ;;
                    990: 
                    991:   -includedir | --includedir | --includedi | --included | --include \
                    992:   | --includ | --inclu | --incl | --inc)
                    993:     ac_prev=includedir ;;
                    994:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    995:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    996:     includedir=$ac_optarg ;;
                    997: 
                    998:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    999:     ac_prev=infodir ;;
                   1000:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1001:     infodir=$ac_optarg ;;
                   1002: 
                   1003:   -libdir | --libdir | --libdi | --libd)
                   1004:     ac_prev=libdir ;;
                   1005:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1006:     libdir=$ac_optarg ;;
                   1007: 
                   1008:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1009:   | --libexe | --libex | --libe)
                   1010:     ac_prev=libexecdir ;;
                   1011:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1012:   | --libexe=* | --libex=* | --libe=*)
                   1013:     libexecdir=$ac_optarg ;;
                   1014: 
                   1015:   -localedir | --localedir | --localedi | --localed | --locale)
                   1016:     ac_prev=localedir ;;
                   1017:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1018:     localedir=$ac_optarg ;;
                   1019: 
                   1020:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1021:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1022:     ac_prev=localstatedir ;;
                   1023:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1024:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1025:     localstatedir=$ac_optarg ;;
                   1026: 
                   1027:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1028:     ac_prev=mandir ;;
                   1029:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1030:     mandir=$ac_optarg ;;
                   1031: 
                   1032:   -nfp | --nfp | --nf)
                   1033:     # Obsolete; use --without-fp.
                   1034:     with_fp=no ;;
                   1035: 
                   1036:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1037:   | --no-cr | --no-c | -n)
                   1038:     no_create=yes ;;
                   1039: 
                   1040:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1041:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1042:     no_recursion=yes ;;
                   1043: 
                   1044:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1045:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1046:   | --oldin | --oldi | --old | --ol | --o)
                   1047:     ac_prev=oldincludedir ;;
                   1048:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1049:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1050:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1051:     oldincludedir=$ac_optarg ;;
                   1052: 
                   1053:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1054:     ac_prev=prefix ;;
                   1055:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1056:     prefix=$ac_optarg ;;
                   1057: 
                   1058:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1059:   | --program-pre | --program-pr | --program-p)
                   1060:     ac_prev=program_prefix ;;
                   1061:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1062:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1063:     program_prefix=$ac_optarg ;;
                   1064: 
                   1065:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1066:   | --program-suf | --program-su | --program-s)
                   1067:     ac_prev=program_suffix ;;
                   1068:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1069:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1070:     program_suffix=$ac_optarg ;;
                   1071: 
                   1072:   -program-transform-name | --program-transform-name \
                   1073:   | --program-transform-nam | --program-transform-na \
                   1074:   | --program-transform-n | --program-transform- \
                   1075:   | --program-transform | --program-transfor \
                   1076:   | --program-transfo | --program-transf \
                   1077:   | --program-trans | --program-tran \
                   1078:   | --progr-tra | --program-tr | --program-t)
                   1079:     ac_prev=program_transform_name ;;
                   1080:   -program-transform-name=* | --program-transform-name=* \
                   1081:   | --program-transform-nam=* | --program-transform-na=* \
                   1082:   | --program-transform-n=* | --program-transform-=* \
                   1083:   | --program-transform=* | --program-transfor=* \
                   1084:   | --program-transfo=* | --program-transf=* \
                   1085:   | --program-trans=* | --program-tran=* \
                   1086:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1087:     program_transform_name=$ac_optarg ;;
                   1088: 
                   1089:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1090:     ac_prev=pdfdir ;;
                   1091:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1092:     pdfdir=$ac_optarg ;;
                   1093: 
                   1094:   -psdir | --psdir | --psdi | --psd | --ps)
                   1095:     ac_prev=psdir ;;
                   1096:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1097:     psdir=$ac_optarg ;;
                   1098: 
                   1099:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1100:   | -silent | --silent | --silen | --sile | --sil)
                   1101:     silent=yes ;;
                   1102: 
1.1.1.2 ! misho    1103:   -runstatedir | --runstatedir | --runstatedi | --runstated \
        !          1104:   | --runstate | --runstat | --runsta | --runst | --runs \
        !          1105:   | --run | --ru | --r)
        !          1106:     ac_prev=runstatedir ;;
        !          1107:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
        !          1108:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
        !          1109:   | --run=* | --ru=* | --r=*)
        !          1110:     runstatedir=$ac_optarg ;;
        !          1111: 
1.1       misho    1112:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1113:     ac_prev=sbindir ;;
                   1114:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1115:   | --sbi=* | --sb=*)
                   1116:     sbindir=$ac_optarg ;;
                   1117: 
                   1118:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1119:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1120:   | --sharedst | --shareds | --shared | --share | --shar \
                   1121:   | --sha | --sh)
                   1122:     ac_prev=sharedstatedir ;;
                   1123:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1124:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1125:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1126:   | --sha=* | --sh=*)
                   1127:     sharedstatedir=$ac_optarg ;;
                   1128: 
                   1129:   -site | --site | --sit)
                   1130:     ac_prev=site ;;
                   1131:   -site=* | --site=* | --sit=*)
                   1132:     site=$ac_optarg ;;
                   1133: 
                   1134:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1135:     ac_prev=srcdir ;;
                   1136:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1137:     srcdir=$ac_optarg ;;
                   1138: 
                   1139:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1140:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1141:     ac_prev=sysconfdir ;;
                   1142:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1143:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1144:     sysconfdir=$ac_optarg ;;
                   1145: 
                   1146:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1147:     ac_prev=target_alias ;;
                   1148:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1149:     target_alias=$ac_optarg ;;
                   1150: 
                   1151:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1152:     verbose=yes ;;
                   1153: 
                   1154:   -version | --version | --versio | --versi | --vers | -V)
                   1155:     ac_init_version=: ;;
                   1156: 
                   1157:   -with-* | --with-*)
                   1158:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1159:     # Reject names that are not valid shell variable names.
                   1160:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho    1161:       as_fn_error $? "invalid package name: $ac_useropt"
1.1       misho    1162:     ac_useropt_orig=$ac_useropt
                   1163:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1164:     case $ac_user_opts in
                   1165:       *"
                   1166: "with_$ac_useropt"
                   1167: "*) ;;
                   1168:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1169:         ac_unrecognized_sep=', ';;
                   1170:     esac
                   1171:     eval with_$ac_useropt=\$ac_optarg ;;
                   1172: 
                   1173:   -without-* | --without-*)
                   1174:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1175:     # Reject names that are not valid shell variable names.
                   1176:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho    1177:       as_fn_error $? "invalid package name: $ac_useropt"
1.1       misho    1178:     ac_useropt_orig=$ac_useropt
                   1179:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1180:     case $ac_user_opts in
                   1181:       *"
                   1182: "with_$ac_useropt"
                   1183: "*) ;;
                   1184:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1185:         ac_unrecognized_sep=', ';;
                   1186:     esac
                   1187:     eval with_$ac_useropt=no ;;
                   1188: 
                   1189:   --x)
                   1190:     # Obsolete; use --with-x.
                   1191:     with_x=yes ;;
                   1192: 
                   1193:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1194:   | --x-incl | --x-inc | --x-in | --x-i)
                   1195:     ac_prev=x_includes ;;
                   1196:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1197:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1198:     x_includes=$ac_optarg ;;
                   1199: 
                   1200:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1201:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1202:     ac_prev=x_libraries ;;
                   1203:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1204:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1205:     x_libraries=$ac_optarg ;;
                   1206: 
1.1.1.2 ! misho    1207:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
        !          1208: Try \`$0 --help' for more information"
1.1       misho    1209:     ;;
                   1210: 
                   1211:   *=*)
                   1212:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1213:     # Reject names that are not valid shell variable names.
                   1214:     case $ac_envvar in #(
                   1215:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.1.1.2 ! misho    1216:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1.1       misho    1217:     esac
                   1218:     eval $ac_envvar=\$ac_optarg
                   1219:     export $ac_envvar ;;
                   1220: 
                   1221:   *)
                   1222:     # FIXME: should be removed in autoconf 3.0.
                   1223:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1224:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1225:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1.1.2 ! misho    1226:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1227:     ;;
                   1228: 
                   1229:   esac
                   1230: done
                   1231: 
                   1232: if test -n "$ac_prev"; then
                   1233:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1.1.2 ! misho    1234:   as_fn_error $? "missing argument to $ac_option"
1.1       misho    1235: fi
                   1236: 
                   1237: if test -n "$ac_unrecognized_opts"; then
                   1238:   case $enable_option_checking in
                   1239:     no) ;;
1.1.1.2 ! misho    1240:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.1       misho    1241:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1242:   esac
                   1243: fi
                   1244: 
                   1245: # Check all directory arguments for consistency.
                   1246: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1247:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1248:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1.1.2 ! misho    1249:                libdir localedir mandir runstatedir
1.1       misho    1250: do
                   1251:   eval ac_val=\$$ac_var
                   1252:   # Remove trailing slashes.
                   1253:   case $ac_val in
                   1254:     */ )
                   1255:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1256:       eval $ac_var=\$ac_val;;
                   1257:   esac
                   1258:   # Be sure to have absolute directory names.
                   1259:   case $ac_val in
                   1260:     [\\/$]* | ?:[\\/]* )  continue;;
                   1261:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1262:   esac
1.1.1.2 ! misho    1263:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misho    1264: done
                   1265: 
                   1266: # There might be people who depend on the old broken behavior: `$host'
                   1267: # used to hold the argument of --host etc.
                   1268: # FIXME: To remove some day.
                   1269: build=$build_alias
                   1270: host=$host_alias
                   1271: target=$target_alias
                   1272: 
                   1273: # FIXME: To remove some day.
                   1274: if test "x$host_alias" != x; then
                   1275:   if test "x$build_alias" = x; then
                   1276:     cross_compiling=maybe
                   1277:   elif test "x$build_alias" != "x$host_alias"; then
                   1278:     cross_compiling=yes
                   1279:   fi
                   1280: fi
                   1281: 
                   1282: ac_tool_prefix=
                   1283: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1284: 
                   1285: test "$silent" = yes && exec 6>/dev/null
                   1286: 
                   1287: 
                   1288: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1289: ac_ls_di=`ls -di .` &&
                   1290: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.1.1.2 ! misho    1291:   as_fn_error $? "working directory cannot be determined"
1.1       misho    1292: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.1.1.2 ! misho    1293:   as_fn_error $? "pwd does not report name of working directory"
1.1       misho    1294: 
                   1295: 
                   1296: # Find the source files, if location was not specified.
                   1297: if test -z "$srcdir"; then
                   1298:   ac_srcdir_defaulted=yes
                   1299:   # Try the directory containing this script, then the parent directory.
                   1300:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1301: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1302:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1303:         X"$as_myself" : 'X\(//\)$' \| \
                   1304:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1305: $as_echo X"$as_myself" |
                   1306:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1307:            s//\1/
                   1308:            q
                   1309:          }
                   1310:          /^X\(\/\/\)[^/].*/{
                   1311:            s//\1/
                   1312:            q
                   1313:          }
                   1314:          /^X\(\/\/\)$/{
                   1315:            s//\1/
                   1316:            q
                   1317:          }
                   1318:          /^X\(\/\).*/{
                   1319:            s//\1/
                   1320:            q
                   1321:          }
                   1322:          s/.*/./; q'`
                   1323:   srcdir=$ac_confdir
                   1324:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1325:     srcdir=..
                   1326:   fi
                   1327: else
                   1328:   ac_srcdir_defaulted=no
                   1329: fi
                   1330: if test ! -r "$srcdir/$ac_unique_file"; then
                   1331:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.1.1.2 ! misho    1332:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1       misho    1333: fi
                   1334: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1335: ac_abs_confdir=`(
1.1.1.2 ! misho    1336:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1       misho    1337:        pwd)`
                   1338: # When building in place, set srcdir=.
                   1339: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1340:   srcdir=.
                   1341: fi
                   1342: # Remove unnecessary trailing slashes from srcdir.
                   1343: # Double slashes in file names in object file debugging info
                   1344: # mess up M-x gdb in Emacs.
                   1345: case $srcdir in
                   1346: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1347: esac
                   1348: for ac_var in $ac_precious_vars; do
                   1349:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1350:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1351:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1352:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1353: done
                   1354: 
                   1355: #
                   1356: # Report the --help message.
                   1357: #
                   1358: if test "$ac_init_help" = "long"; then
                   1359:   # Omit some internal or obsolete options to make the list less imposing.
                   1360:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1361:   cat <<_ACEOF
1.1.1.2 ! misho    1362: \`configure' configures libConfuse 3.3 to adapt to many kinds of systems.
1.1       misho    1363: 
                   1364: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1365: 
                   1366: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1367: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1368: 
                   1369: Defaults for the options are specified in brackets.
                   1370: 
                   1371: Configuration:
                   1372:   -h, --help              display this help and exit
                   1373:       --help=short        display options specific to this package
                   1374:       --help=recursive    display the short help of all the included packages
                   1375:   -V, --version           display version information and exit
1.1.1.2 ! misho    1376:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misho    1377:       --cache-file=FILE   cache test results in FILE [disabled]
                   1378:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1379:   -n, --no-create         do not create output files
                   1380:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1381: 
                   1382: Installation directories:
                   1383:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1384:                           [$ac_default_prefix]
                   1385:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1386:                           [PREFIX]
                   1387: 
                   1388: By default, \`make install' will install all the files in
                   1389: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1390: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1391: for instance \`--prefix=\$HOME'.
                   1392: 
                   1393: For better control, use the options below.
                   1394: 
                   1395: Fine tuning of the installation directories:
                   1396:   --bindir=DIR            user executables [EPREFIX/bin]
                   1397:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1398:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1399:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1400:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1401:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.1.1.2 ! misho    1402:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.1       misho    1403:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1404:   --includedir=DIR        C header files [PREFIX/include]
                   1405:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1406:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1407:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1408:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1409:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1410:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1411:   --docdir=DIR            documentation root [DATAROOTDIR/doc/confuse]
                   1412:   --htmldir=DIR           html documentation [DOCDIR]
                   1413:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1414:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1415:   --psdir=DIR             ps documentation [DOCDIR]
                   1416: _ACEOF
                   1417: 
                   1418:   cat <<\_ACEOF
                   1419: 
                   1420: Program names:
                   1421:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1422:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1423:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1424: 
                   1425: System types:
                   1426:   --build=BUILD     configure for building on BUILD [guessed]
                   1427:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1428: _ACEOF
                   1429: fi
                   1430: 
                   1431: if test -n "$ac_init_help"; then
                   1432:   case $ac_init_help in
1.1.1.2 ! misho    1433:      short | recursive ) echo "Configuration of libConfuse 3.3:";;
1.1       misho    1434:    esac
                   1435:   cat <<\_ACEOF
                   1436: 
                   1437: Optional Features:
                   1438:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1439:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1440:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.2 ! misho    1441:   --enable-silent-rules   less verbose build output (undo: "make V=1")
        !          1442:   --disable-silent-rules  verbose build output (undo: "make V=0")
        !          1443:   --enable-dependency-tracking
        !          1444:                           do not reject slow dependency extractors
        !          1445:   --disable-dependency-tracking
        !          1446:                           speeds up one-time build
        !          1447:   --enable-shared[=PKGS]  build shared libraries [default=yes]
1.1       misho    1448:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1449:   --enable-fast-install[=PKGS]
                   1450:                           optimize for fast installation [default=yes]
                   1451:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1452:   --disable-examples      don't build examples in examples
                   1453:   --disable-nls           do not use Native Language Support
                   1454:   --disable-rpath         do not hardcode runtime library paths
                   1455: 
                   1456: Optional Packages:
                   1457:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1458:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.2 ! misho    1459:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.1       misho    1460:                           both]
1.1.1.2 ! misho    1461:   --with-aix-soname=aix|svr4|both
        !          1462:                           shared library versioning (aka "SONAME") variant to
        !          1463:                           provide on AIX, [default=aix].
        !          1464:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
        !          1465:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
        !          1466:                           compiler's sysroot if not specified).
1.1       misho    1467:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1468:   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
                   1469:   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
                   1470:   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
                   1471:   --without-libintl-prefix     don't search for libintl in includedir and libdir
                   1472: 
                   1473: Some influential environment variables:
                   1474:   CC          C compiler command
                   1475:   CFLAGS      C compiler flags
                   1476:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1477:               nonstandard directory <lib dir>
                   1478:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1479:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1480:               you have headers in a nonstandard directory <include dir>
1.1.1.2 ! misho    1481:   LT_SYS_LIBRARY_PATH
        !          1482:               User-defined run-time library search path.
1.1       misho    1483:   CPP         C preprocessor
                   1484: 
                   1485: Use these variables to override the choices made by `configure' or to help
                   1486: it to find libraries and programs with nonstandard names/locations.
                   1487: 
1.1.1.2 ! misho    1488: Report bugs to <https://github.com/martinh/libconfuse/issues>.
1.1       misho    1489: _ACEOF
                   1490: ac_status=$?
                   1491: fi
                   1492: 
                   1493: if test "$ac_init_help" = "recursive"; then
                   1494:   # If there are subdirs, report their specific --help.
                   1495:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1496:     test -d "$ac_dir" ||
                   1497:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1498:       continue
                   1499:     ac_builddir=.
                   1500: 
                   1501: case "$ac_dir" in
                   1502: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1503: *)
                   1504:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1505:   # A ".." for each directory in $ac_dir_suffix.
                   1506:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1507:   case $ac_top_builddir_sub in
                   1508:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1509:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1510:   esac ;;
                   1511: esac
                   1512: ac_abs_top_builddir=$ac_pwd
                   1513: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1514: # for backward compatibility:
                   1515: ac_top_builddir=$ac_top_build_prefix
                   1516: 
                   1517: case $srcdir in
                   1518:   .)  # We are building in place.
                   1519:     ac_srcdir=.
                   1520:     ac_top_srcdir=$ac_top_builddir_sub
                   1521:     ac_abs_top_srcdir=$ac_pwd ;;
                   1522:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1523:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1524:     ac_top_srcdir=$srcdir
                   1525:     ac_abs_top_srcdir=$srcdir ;;
                   1526:   *) # Relative name.
                   1527:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1528:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1529:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1530: esac
                   1531: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1532: 
                   1533:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1534:     # Check for guested configure.
                   1535:     if test -f "$ac_srcdir/configure.gnu"; then
                   1536:       echo &&
                   1537:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1538:     elif test -f "$ac_srcdir/configure"; then
                   1539:       echo &&
                   1540:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1541:     else
                   1542:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1543:     fi || ac_status=$?
                   1544:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1545:   done
                   1546: fi
                   1547: 
                   1548: test -n "$ac_init_help" && exit $ac_status
                   1549: if $ac_init_version; then
                   1550:   cat <<\_ACEOF
1.1.1.2 ! misho    1551: libConfuse configure 3.3
        !          1552: generated by GNU Autoconf 2.69
1.1       misho    1553: 
1.1.1.2 ! misho    1554: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1555: This configure script is free software; the Free Software Foundation
                   1556: gives unlimited permission to copy, distribute and modify it.
                   1557: _ACEOF
                   1558:   exit
                   1559: fi
                   1560: 
                   1561: ## ------------------------ ##
                   1562: ## Autoconf initialization. ##
                   1563: ## ------------------------ ##
                   1564: 
                   1565: # ac_fn_c_try_compile LINENO
                   1566: # --------------------------
                   1567: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1568: ac_fn_c_try_compile ()
                   1569: {
                   1570:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1571:   rm -f conftest.$ac_objext
                   1572:   if { { ac_try="$ac_compile"
                   1573: case "(($ac_try" in
                   1574:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1575:   *) ac_try_echo=$ac_try;;
                   1576: esac
                   1577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1578: $as_echo "$ac_try_echo"; } >&5
                   1579:   (eval "$ac_compile") 2>conftest.err
                   1580:   ac_status=$?
                   1581:   if test -s conftest.err; then
                   1582:     grep -v '^ *+' conftest.err >conftest.er1
                   1583:     cat conftest.er1 >&5
                   1584:     mv -f conftest.er1 conftest.err
                   1585:   fi
                   1586:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1587:   test $ac_status = 0; } && {
                   1588:         test -z "$ac_c_werror_flag" ||
                   1589:         test ! -s conftest.err
                   1590:        } && test -s conftest.$ac_objext; then :
                   1591:   ac_retval=0
                   1592: else
                   1593:   $as_echo "$as_me: failed program was:" >&5
                   1594: sed 's/^/| /' conftest.$ac_ext >&5
                   1595: 
                   1596:        ac_retval=1
                   1597: fi
1.1.1.2 ! misho    1598:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1599:   as_fn_set_status $ac_retval
                   1600: 
                   1601: } # ac_fn_c_try_compile
                   1602: 
                   1603: # ac_fn_c_try_link LINENO
                   1604: # -----------------------
                   1605: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1606: ac_fn_c_try_link ()
                   1607: {
                   1608:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1609:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1610:   if { { ac_try="$ac_link"
                   1611: case "(($ac_try" in
                   1612:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1613:   *) ac_try_echo=$ac_try;;
                   1614: esac
                   1615: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1616: $as_echo "$ac_try_echo"; } >&5
                   1617:   (eval "$ac_link") 2>conftest.err
                   1618:   ac_status=$?
                   1619:   if test -s conftest.err; then
                   1620:     grep -v '^ *+' conftest.err >conftest.er1
                   1621:     cat conftest.er1 >&5
                   1622:     mv -f conftest.er1 conftest.err
                   1623:   fi
                   1624:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1625:   test $ac_status = 0; } && {
                   1626:         test -z "$ac_c_werror_flag" ||
                   1627:         test ! -s conftest.err
                   1628:        } && test -s conftest$ac_exeext && {
                   1629:         test "$cross_compiling" = yes ||
1.1.1.2 ! misho    1630:         test -x conftest$ac_exeext
1.1       misho    1631:        }; then :
                   1632:   ac_retval=0
                   1633: else
                   1634:   $as_echo "$as_me: failed program was:" >&5
                   1635: sed 's/^/| /' conftest.$ac_ext >&5
                   1636: 
                   1637:        ac_retval=1
                   1638: fi
                   1639:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1640:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1641:   # interfere with the next link command; also delete a directory that is
                   1642:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1643:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.1.2 ! misho    1644:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1645:   as_fn_set_status $ac_retval
                   1646: 
                   1647: } # ac_fn_c_try_link
                   1648: 
                   1649: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1650: # -------------------------------------------------------
                   1651: # Tests whether HEADER exists and can be compiled using the include files in
                   1652: # INCLUDES, setting the cache variable VAR accordingly.
                   1653: ac_fn_c_check_header_compile ()
                   1654: {
                   1655:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1656:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1657: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1658: if eval \${$3+:} false; then :
1.1       misho    1659:   $as_echo_n "(cached) " >&6
                   1660: else
                   1661:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1662: /* end confdefs.h.  */
                   1663: $4
                   1664: #include <$2>
                   1665: _ACEOF
                   1666: if ac_fn_c_try_compile "$LINENO"; then :
                   1667:   eval "$3=yes"
                   1668: else
                   1669:   eval "$3=no"
                   1670: fi
                   1671: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1672: fi
                   1673: eval ac_res=\$$3
                   1674:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1675: $as_echo "$ac_res" >&6; }
1.1.1.2 ! misho    1676:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1677: 
                   1678: } # ac_fn_c_check_header_compile
                   1679: 
                   1680: # ac_fn_c_try_cpp LINENO
                   1681: # ----------------------
                   1682: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1683: ac_fn_c_try_cpp ()
                   1684: {
                   1685:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1686:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1687: case "(($ac_try" in
                   1688:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1689:   *) ac_try_echo=$ac_try;;
                   1690: esac
                   1691: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1692: $as_echo "$ac_try_echo"; } >&5
                   1693:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1694:   ac_status=$?
                   1695:   if test -s conftest.err; then
                   1696:     grep -v '^ *+' conftest.err >conftest.er1
                   1697:     cat conftest.er1 >&5
                   1698:     mv -f conftest.er1 conftest.err
                   1699:   fi
                   1700:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.2 ! misho    1701:   test $ac_status = 0; } > conftest.i && {
1.1       misho    1702:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1703:         test ! -s conftest.err
                   1704:        }; then :
                   1705:   ac_retval=0
                   1706: else
                   1707:   $as_echo "$as_me: failed program was:" >&5
                   1708: sed 's/^/| /' conftest.$ac_ext >&5
                   1709: 
                   1710:     ac_retval=1
                   1711: fi
1.1.1.2 ! misho    1712:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1713:   as_fn_set_status $ac_retval
                   1714: 
                   1715: } # ac_fn_c_try_cpp
                   1716: 
                   1717: # ac_fn_c_try_run LINENO
                   1718: # ----------------------
                   1719: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1720: # that executables *can* be run.
                   1721: ac_fn_c_try_run ()
                   1722: {
                   1723:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1724:   if { { ac_try="$ac_link"
                   1725: case "(($ac_try" in
                   1726:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1727:   *) ac_try_echo=$ac_try;;
                   1728: esac
                   1729: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1730: $as_echo "$ac_try_echo"; } >&5
                   1731:   (eval "$ac_link") 2>&5
                   1732:   ac_status=$?
                   1733:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1734:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1735:   { { case "(($ac_try" in
                   1736:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1737:   *) ac_try_echo=$ac_try;;
                   1738: esac
                   1739: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1740: $as_echo "$ac_try_echo"; } >&5
                   1741:   (eval "$ac_try") 2>&5
                   1742:   ac_status=$?
                   1743:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1744:   test $ac_status = 0; }; }; then :
                   1745:   ac_retval=0
                   1746: else
                   1747:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1748:        $as_echo "$as_me: failed program was:" >&5
                   1749: sed 's/^/| /' conftest.$ac_ext >&5
                   1750: 
                   1751:        ac_retval=$ac_status
                   1752: fi
                   1753:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.1.2 ! misho    1754:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1755:   as_fn_set_status $ac_retval
                   1756: 
                   1757: } # ac_fn_c_try_run
                   1758: 
                   1759: # ac_fn_c_check_func LINENO FUNC VAR
                   1760: # ----------------------------------
                   1761: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1762: ac_fn_c_check_func ()
                   1763: {
                   1764:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1765:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1766: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1767: if eval \${$3+:} false; then :
1.1       misho    1768:   $as_echo_n "(cached) " >&6
                   1769: else
                   1770:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1771: /* end confdefs.h.  */
                   1772: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1773:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1774: #define $2 innocuous_$2
                   1775: 
                   1776: /* System header to define __stub macros and hopefully few prototypes,
                   1777:     which can conflict with char $2 (); below.
                   1778:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1779:     <limits.h> exists even on freestanding compilers.  */
                   1780: 
                   1781: #ifdef __STDC__
                   1782: # include <limits.h>
                   1783: #else
                   1784: # include <assert.h>
                   1785: #endif
                   1786: 
                   1787: #undef $2
                   1788: 
                   1789: /* Override any GCC internal prototype to avoid an error.
                   1790:    Use char because int might match the return type of a GCC
                   1791:    builtin and then its argument prototype would still apply.  */
                   1792: #ifdef __cplusplus
                   1793: extern "C"
                   1794: #endif
                   1795: char $2 ();
                   1796: /* The GNU C library defines this for functions which it implements
                   1797:     to always fail with ENOSYS.  Some functions are actually named
                   1798:     something starting with __ and the normal name is an alias.  */
                   1799: #if defined __stub_$2 || defined __stub___$2
                   1800: choke me
                   1801: #endif
                   1802: 
                   1803: int
                   1804: main ()
                   1805: {
                   1806: return $2 ();
                   1807:   ;
                   1808:   return 0;
                   1809: }
                   1810: _ACEOF
                   1811: if ac_fn_c_try_link "$LINENO"; then :
                   1812:   eval "$3=yes"
                   1813: else
                   1814:   eval "$3=no"
                   1815: fi
                   1816: rm -f core conftest.err conftest.$ac_objext \
                   1817:     conftest$ac_exeext conftest.$ac_ext
                   1818: fi
                   1819: eval ac_res=\$$3
                   1820:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1821: $as_echo "$ac_res" >&6; }
1.1.1.2 ! misho    1822:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1823: 
                   1824: } # ac_fn_c_check_func
                   1825: 
                   1826: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1827: # -------------------------------------------------------
                   1828: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1829: # the include files in INCLUDES and setting the cache variable VAR
                   1830: # accordingly.
                   1831: ac_fn_c_check_header_mongrel ()
                   1832: {
                   1833:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.2 ! misho    1834:   if eval \${$3+:} false; then :
1.1       misho    1835:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1836: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1837: if eval \${$3+:} false; then :
1.1       misho    1838:   $as_echo_n "(cached) " >&6
                   1839: fi
                   1840: eval ac_res=\$$3
                   1841:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1842: $as_echo "$ac_res" >&6; }
                   1843: else
                   1844:   # Is the header compilable?
                   1845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1846: $as_echo_n "checking $2 usability... " >&6; }
                   1847: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1848: /* end confdefs.h.  */
                   1849: $4
                   1850: #include <$2>
                   1851: _ACEOF
                   1852: if ac_fn_c_try_compile "$LINENO"; then :
                   1853:   ac_header_compiler=yes
                   1854: else
                   1855:   ac_header_compiler=no
                   1856: fi
                   1857: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1859: $as_echo "$ac_header_compiler" >&6; }
                   1860: 
                   1861: # Is the header present?
                   1862: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1863: $as_echo_n "checking $2 presence... " >&6; }
                   1864: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1865: /* end confdefs.h.  */
                   1866: #include <$2>
                   1867: _ACEOF
                   1868: if ac_fn_c_try_cpp "$LINENO"; then :
                   1869:   ac_header_preproc=yes
                   1870: else
                   1871:   ac_header_preproc=no
                   1872: fi
1.1.1.2 ! misho    1873: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    1874: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1875: $as_echo "$ac_header_preproc" >&6; }
                   1876: 
                   1877: # So?  What about this header?
                   1878: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1879:   yes:no: )
                   1880:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1881: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1882:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1883: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1884:     ;;
                   1885:   no:yes:* )
                   1886:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1887: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1888:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1889: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1890:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1891: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1892:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1893: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1894:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1895: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1.1.1.2 ! misho    1896: ( $as_echo "## ----------------------------------------------------------- ##
        !          1897: ## Report this to https://github.com/martinh/libconfuse/issues ##
        !          1898: ## ----------------------------------------------------------- ##"
1.1       misho    1899:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1900:     ;;
                   1901: esac
                   1902:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1903: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1904: if eval \${$3+:} false; then :
1.1       misho    1905:   $as_echo_n "(cached) " >&6
                   1906: else
                   1907:   eval "$3=\$ac_header_compiler"
                   1908: fi
                   1909: eval ac_res=\$$3
                   1910:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1911: $as_echo "$ac_res" >&6; }
                   1912: fi
1.1.1.2 ! misho    1913:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1914: 
                   1915: } # ac_fn_c_check_header_mongrel
                   1916: cat >config.log <<_ACEOF
                   1917: This file contains any messages produced by compilers while
                   1918: running configure, to aid debugging if configure makes a mistake.
                   1919: 
1.1.1.2 ! misho    1920: It was created by libConfuse $as_me 3.3, which was
        !          1921: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    1922: 
                   1923:   $ $0 $@
                   1924: 
                   1925: _ACEOF
                   1926: exec 5>>config.log
                   1927: {
                   1928: cat <<_ASUNAME
                   1929: ## --------- ##
                   1930: ## Platform. ##
                   1931: ## --------- ##
                   1932: 
                   1933: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1934: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1935: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1936: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1937: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1938: 
                   1939: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1940: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1941: 
                   1942: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1943: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1944: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1945: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1946: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1947: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1948: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1949: 
                   1950: _ASUNAME
                   1951: 
                   1952: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1953: for as_dir in $PATH
                   1954: do
                   1955:   IFS=$as_save_IFS
                   1956:   test -z "$as_dir" && as_dir=.
                   1957:     $as_echo "PATH: $as_dir"
                   1958:   done
                   1959: IFS=$as_save_IFS
                   1960: 
                   1961: } >&5
                   1962: 
                   1963: cat >&5 <<_ACEOF
                   1964: 
                   1965: 
                   1966: ## ----------- ##
                   1967: ## Core tests. ##
                   1968: ## ----------- ##
                   1969: 
                   1970: _ACEOF
                   1971: 
                   1972: 
                   1973: # Keep a trace of the command line.
                   1974: # Strip out --no-create and --no-recursion so they do not pile up.
                   1975: # Strip out --silent because we don't want to record it for future runs.
                   1976: # Also quote any args containing shell meta-characters.
                   1977: # Make two passes to allow for proper duplicate-argument suppression.
                   1978: ac_configure_args=
                   1979: ac_configure_args0=
                   1980: ac_configure_args1=
                   1981: ac_must_keep_next=false
                   1982: for ac_pass in 1 2
                   1983: do
                   1984:   for ac_arg
                   1985:   do
                   1986:     case $ac_arg in
                   1987:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1988:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1989:     | -silent | --silent | --silen | --sile | --sil)
                   1990:       continue ;;
                   1991:     *\'*)
                   1992:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1993:     esac
                   1994:     case $ac_pass in
                   1995:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   1996:     2)
                   1997:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   1998:       if test $ac_must_keep_next = true; then
                   1999:        ac_must_keep_next=false # Got value, back to normal.
                   2000:       else
                   2001:        case $ac_arg in
                   2002:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2003:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2004:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2005:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2006:            case "$ac_configure_args0 " in
                   2007:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2008:            esac
                   2009:            ;;
                   2010:          -* ) ac_must_keep_next=true ;;
                   2011:        esac
                   2012:       fi
                   2013:       as_fn_append ac_configure_args " '$ac_arg'"
                   2014:       ;;
                   2015:     esac
                   2016:   done
                   2017: done
                   2018: { ac_configure_args0=; unset ac_configure_args0;}
                   2019: { ac_configure_args1=; unset ac_configure_args1;}
                   2020: 
                   2021: # When interrupted or exit'd, cleanup temporary files, and complete
                   2022: # config.log.  We remove comments because anyway the quotes in there
                   2023: # would cause problems or look ugly.
                   2024: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2025: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2026: trap 'exit_status=$?
                   2027:   # Save into config.log some information that might help in debugging.
                   2028:   {
                   2029:     echo
                   2030: 
1.1.1.2 ! misho    2031:     $as_echo "## ---------------- ##
1.1       misho    2032: ## Cache variables. ##
1.1.1.2 ! misho    2033: ## ---------------- ##"
1.1       misho    2034:     echo
                   2035:     # The following way of writing the cache mishandles newlines in values,
                   2036: (
                   2037:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2038:     eval ac_val=\$$ac_var
                   2039:     case $ac_val in #(
                   2040:     *${as_nl}*)
                   2041:       case $ac_var in #(
                   2042:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2043: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2044:       esac
                   2045:       case $ac_var in #(
                   2046:       _ | IFS | as_nl) ;; #(
                   2047:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2048:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2049:       esac ;;
                   2050:     esac
                   2051:   done
                   2052:   (set) 2>&1 |
                   2053:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2054:     *${as_nl}ac_space=\ *)
                   2055:       sed -n \
                   2056:        "s/'\''/'\''\\\\'\'''\''/g;
                   2057:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2058:       ;; #(
                   2059:     *)
                   2060:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2061:       ;;
                   2062:     esac |
                   2063:     sort
                   2064: )
                   2065:     echo
                   2066: 
1.1.1.2 ! misho    2067:     $as_echo "## ----------------- ##
1.1       misho    2068: ## Output variables. ##
1.1.1.2 ! misho    2069: ## ----------------- ##"
1.1       misho    2070:     echo
                   2071:     for ac_var in $ac_subst_vars
                   2072:     do
                   2073:       eval ac_val=\$$ac_var
                   2074:       case $ac_val in
                   2075:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2076:       esac
                   2077:       $as_echo "$ac_var='\''$ac_val'\''"
                   2078:     done | sort
                   2079:     echo
                   2080: 
                   2081:     if test -n "$ac_subst_files"; then
1.1.1.2 ! misho    2082:       $as_echo "## ------------------- ##
1.1       misho    2083: ## File substitutions. ##
1.1.1.2 ! misho    2084: ## ------------------- ##"
1.1       misho    2085:       echo
                   2086:       for ac_var in $ac_subst_files
                   2087:       do
                   2088:        eval ac_val=\$$ac_var
                   2089:        case $ac_val in
                   2090:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2091:        esac
                   2092:        $as_echo "$ac_var='\''$ac_val'\''"
                   2093:       done | sort
                   2094:       echo
                   2095:     fi
                   2096: 
                   2097:     if test -s confdefs.h; then
1.1.1.2 ! misho    2098:       $as_echo "## ----------- ##
1.1       misho    2099: ## confdefs.h. ##
1.1.1.2 ! misho    2100: ## ----------- ##"
1.1       misho    2101:       echo
                   2102:       cat confdefs.h
                   2103:       echo
                   2104:     fi
                   2105:     test "$ac_signal" != 0 &&
                   2106:       $as_echo "$as_me: caught signal $ac_signal"
                   2107:     $as_echo "$as_me: exit $exit_status"
                   2108:   } >&5
                   2109:   rm -f core *.core core.conftest.* &&
                   2110:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2111:     exit $exit_status
                   2112: ' 0
                   2113: for ac_signal in 1 2 13 15; do
                   2114:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2115: done
                   2116: ac_signal=0
                   2117: 
                   2118: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2119: rm -f -r conftest* confdefs.h
                   2120: 
                   2121: $as_echo "/* confdefs.h */" > confdefs.h
                   2122: 
                   2123: # Predefined preprocessor variables.
                   2124: 
                   2125: cat >>confdefs.h <<_ACEOF
                   2126: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2127: _ACEOF
                   2128: 
                   2129: cat >>confdefs.h <<_ACEOF
                   2130: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2131: _ACEOF
                   2132: 
                   2133: cat >>confdefs.h <<_ACEOF
                   2134: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2135: _ACEOF
                   2136: 
                   2137: cat >>confdefs.h <<_ACEOF
                   2138: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2139: _ACEOF
                   2140: 
                   2141: cat >>confdefs.h <<_ACEOF
                   2142: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2143: _ACEOF
                   2144: 
                   2145: cat >>confdefs.h <<_ACEOF
                   2146: #define PACKAGE_URL "$PACKAGE_URL"
                   2147: _ACEOF
                   2148: 
                   2149: 
                   2150: # Let the site file select an alternate cache file if it wants to.
                   2151: # Prefer an explicitly selected file to automatically selected ones.
                   2152: ac_site_file1=NONE
                   2153: ac_site_file2=NONE
                   2154: if test -n "$CONFIG_SITE"; then
1.1.1.2 ! misho    2155:   # We do not want a PATH search for config.site.
        !          2156:   case $CONFIG_SITE in #((
        !          2157:     -*)  ac_site_file1=./$CONFIG_SITE;;
        !          2158:     */*) ac_site_file1=$CONFIG_SITE;;
        !          2159:     *)   ac_site_file1=./$CONFIG_SITE;;
        !          2160:   esac
1.1       misho    2161: elif test "x$prefix" != xNONE; then
                   2162:   ac_site_file1=$prefix/share/config.site
                   2163:   ac_site_file2=$prefix/etc/config.site
                   2164: else
                   2165:   ac_site_file1=$ac_default_prefix/share/config.site
                   2166:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2167: fi
                   2168: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2169: do
                   2170:   test "x$ac_site_file" = xNONE && continue
                   2171:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2172:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2173: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2174:     sed 's/^/| /' "$ac_site_file" >&5
1.1.1.2 ! misho    2175:     . "$ac_site_file" \
        !          2176:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2177: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2178: as_fn_error $? "failed to load site script $ac_site_file
        !          2179: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2180:   fi
                   2181: done
                   2182: 
                   2183: if test -r "$cache_file"; then
                   2184:   # Some versions of bash will fail to source /dev/null (special files
                   2185:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2186:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2187:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2188: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2189:     case $cache_file in
                   2190:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2191:       *)                      . "./$cache_file";;
                   2192:     esac
                   2193:   fi
                   2194: else
                   2195:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2196: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2197:   >$cache_file
                   2198: fi
                   2199: 
                   2200: gt_needs="$gt_needs "
                   2201: # Check that the precious variables saved in the cache have kept the same
                   2202: # value.
                   2203: ac_cache_corrupted=false
                   2204: for ac_var in $ac_precious_vars; do
                   2205:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2206:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2207:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2208:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2209:   case $ac_old_set,$ac_new_set in
                   2210:     set,)
                   2211:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2212: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2213:       ac_cache_corrupted=: ;;
                   2214:     ,set)
                   2215:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2216: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2217:       ac_cache_corrupted=: ;;
                   2218:     ,);;
                   2219:     *)
                   2220:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2221:        # differences in whitespace do not lead to failure.
                   2222:        ac_old_val_w=`echo x $ac_old_val`
                   2223:        ac_new_val_w=`echo x $ac_new_val`
                   2224:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2225:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2226: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2227:          ac_cache_corrupted=:
                   2228:        else
                   2229:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2230: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2231:          eval $ac_var=\$ac_old_val
                   2232:        fi
                   2233:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2234: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2235:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2236: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2237:       fi;;
                   2238:   esac
                   2239:   # Pass precious variables to config.status.
                   2240:   if test "$ac_new_set" = set; then
                   2241:     case $ac_new_val in
                   2242:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2243:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2244:     esac
                   2245:     case " $ac_configure_args " in
                   2246:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2247:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2248:     esac
                   2249:   fi
                   2250: done
                   2251: if $ac_cache_corrupted; then
                   2252:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2253: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2254:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2255: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1.1.2 ! misho    2256:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1.1       misho    2257: fi
                   2258: ## -------------------- ##
                   2259: ## Main body of script. ##
                   2260: ## -------------------- ##
                   2261: 
                   2262: ac_ext=c
                   2263: ac_cpp='$CPP $CPPFLAGS'
                   2264: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2265: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2266: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2267: 
                   2268: 
                   2269: ac_aux_dir=
                   2270: for ac_dir in support "$srcdir"/support; do
1.1.1.2 ! misho    2271:   if test -f "$ac_dir/install-sh"; then
        !          2272:     ac_aux_dir=$ac_dir
        !          2273:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !          2274:     break
        !          2275:   elif test -f "$ac_dir/install.sh"; then
        !          2276:     ac_aux_dir=$ac_dir
        !          2277:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !          2278:     break
        !          2279:   elif test -f "$ac_dir/shtool"; then
        !          2280:     ac_aux_dir=$ac_dir
        !          2281:     ac_install_sh="$ac_aux_dir/shtool install -c"
        !          2282:     break
        !          2283:   fi
1.1       misho    2284: done
                   2285: if test -z "$ac_aux_dir"; then
1.1.1.2 ! misho    2286:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in support \"$srcdir\"/support" "$LINENO" 5
1.1       misho    2287: fi
                   2288: 
                   2289: # These three variables are undocumented and unsupported,
                   2290: # and are intended to be withdrawn in a future Autoconf release.
                   2291: # They can cause serious problems if a builder's source tree is in a directory
                   2292: # whose full name contains unusual characters.
                   2293: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2294: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2295: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2296: 
                   2297: 
1.1.1.2 ! misho    2298: am__api_version='1.16'
1.1       misho    2299: 
                   2300: # Find a good install program.  We prefer a C program (faster),
                   2301: # so one script is as good as another.  But avoid the broken or
                   2302: # incompatible versions:
                   2303: # SysV /etc/install, /usr/sbin/install
                   2304: # SunOS /usr/etc/install
                   2305: # IRIX /sbin/install
                   2306: # AIX /bin/install
                   2307: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2308: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2309: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2310: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2311: # OS/2's system install, which has a completely different semantic
                   2312: # ./install, which can be erroneously created by make from ./install.sh.
                   2313: # Reject install programs that cannot install multiple files.
                   2314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2315: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2316: if test -z "$INSTALL"; then
1.1.1.2 ! misho    2317: if ${ac_cv_path_install+:} false; then :
1.1       misho    2318:   $as_echo_n "(cached) " >&6
                   2319: else
                   2320:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2321: for as_dir in $PATH
                   2322: do
                   2323:   IFS=$as_save_IFS
                   2324:   test -z "$as_dir" && as_dir=.
                   2325:     # Account for people who put trailing slashes in PATH elements.
                   2326: case $as_dir/ in #((
                   2327:   ./ | .// | /[cC]/* | \
                   2328:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2329:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2330:   /usr/ucb/* ) ;;
                   2331:   *)
                   2332:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2333:     # Don't use installbsd from OSF since it installs stuff as root
                   2334:     # by default.
                   2335:     for ac_prog in ginstall scoinst install; do
                   2336:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2337:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2338:          if test $ac_prog = install &&
                   2339:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2340:            # AIX install.  It has an incompatible calling convention.
                   2341:            :
                   2342:          elif test $ac_prog = install &&
                   2343:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2344:            # program-specific install script used by HP pwplus--don't use.
                   2345:            :
                   2346:          else
                   2347:            rm -rf conftest.one conftest.two conftest.dir
                   2348:            echo one > conftest.one
                   2349:            echo two > conftest.two
                   2350:            mkdir conftest.dir
                   2351:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2352:              test -s conftest.one && test -s conftest.two &&
                   2353:              test -s conftest.dir/conftest.one &&
                   2354:              test -s conftest.dir/conftest.two
                   2355:            then
                   2356:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2357:              break 3
                   2358:            fi
                   2359:          fi
                   2360:        fi
                   2361:       done
                   2362:     done
                   2363:     ;;
                   2364: esac
                   2365: 
                   2366:   done
                   2367: IFS=$as_save_IFS
                   2368: 
                   2369: rm -rf conftest.one conftest.two conftest.dir
                   2370: 
                   2371: fi
                   2372:   if test "${ac_cv_path_install+set}" = set; then
                   2373:     INSTALL=$ac_cv_path_install
                   2374:   else
                   2375:     # As a last resort, use the slow shell script.  Don't cache a
                   2376:     # value for INSTALL within a source directory, because that will
                   2377:     # break other packages using the cache if that directory is
                   2378:     # removed, or if the value is a relative name.
                   2379:     INSTALL=$ac_install_sh
                   2380:   fi
                   2381: fi
                   2382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2383: $as_echo "$INSTALL" >&6; }
                   2384: 
                   2385: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2386: # It thinks the first close brace ends the variable substitution.
                   2387: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2388: 
                   2389: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2390: 
                   2391: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2392: 
                   2393: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2394: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2395: # Reject unsafe characters in $srcdir or the absolute working directory
                   2396: # name.  Accept space and tab only in the latter.
                   2397: am_lf='
                   2398: '
                   2399: case `pwd` in
                   2400:   *[\\\"\#\$\&\'\`$am_lf]*)
1.1.1.2 ! misho    2401:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.1       misho    2402: esac
                   2403: case $srcdir in
                   2404:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.2 ! misho    2405:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.1       misho    2406: esac
                   2407: 
1.1.1.2 ! misho    2408: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       misho    2409: # arguments.  Must try -L first in case configure is actually a
                   2410: # symlink; some systems play weird games with the mod time of symlinks
                   2411: # (eg FreeBSD returns the mod time of the symlink's containing
                   2412: # directory).
                   2413: if (
1.1.1.2 ! misho    2414:    am_has_slept=no
        !          2415:    for am_try in 1 2; do
        !          2416:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2417:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2418:      if test "$*" = "X"; then
        !          2419:        # -L didn't work.
        !          2420:        set X `ls -t "$srcdir/configure" conftest.file`
        !          2421:      fi
        !          2422:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          2423:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       misho    2424: 
1.1.1.2 ! misho    2425:        # If neither matched, then we have a broken ls.  This can happen
        !          2426:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2427:        # broken ls alias from the environment.  This has actually
        !          2428:        # happened.  Such a system could not be considered "sane".
        !          2429:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2430:   alias in your environment" "$LINENO" 5
        !          2431:      fi
        !          2432:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          2433:        break
        !          2434:      fi
        !          2435:      # Just in case.
        !          2436:      sleep 1
        !          2437:      am_has_slept=yes
        !          2438:    done
1.1       misho    2439:    test "$2" = conftest.file
                   2440:    )
                   2441: then
                   2442:    # Ok.
                   2443:    :
                   2444: else
1.1.1.2 ! misho    2445:    as_fn_error $? "newly created file is older than distributed files!
1.1       misho    2446: Check your system clock" "$LINENO" 5
                   2447: fi
                   2448: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2449: $as_echo "yes" >&6; }
1.1.1.2 ! misho    2450: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          2451: # generated files are strictly newer.
        !          2452: am_sleep_pid=
        !          2453: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          2454:   ( sleep 1 ) &
        !          2455:   am_sleep_pid=$!
        !          2456: fi
        !          2457: 
        !          2458: rm -f conftest.file
        !          2459: 
1.1       misho    2460: test "$program_prefix" != NONE &&
                   2461:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2462: # Use a double $ so make ignores it.
                   2463: test "$program_suffix" != NONE &&
                   2464:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2465: # Double any \ or $.
                   2466: # By default was `s,x,x', remove it if useless.
                   2467: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2468: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2469: 
1.1.1.2 ! misho    2470: # Expand $ac_aux_dir to an absolute path.
        !          2471: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.1       misho    2472: 
                   2473: if test x"${MISSING+set}" != xset; then
                   2474:   case $am_aux_dir in
                   2475:   *\ * | *\    *)
                   2476:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2477:   *)
                   2478:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2479:   esac
                   2480: fi
                   2481: # Use eval to expand $SHELL
1.1.1.2 ! misho    2482: if eval "$MISSING --is-lightweight"; then
        !          2483:   am_missing_run="$MISSING "
1.1       misho    2484: else
                   2485:   am_missing_run=
1.1.1.2 ! misho    2486:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          2487: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.1       misho    2488: fi
                   2489: 
1.1.1.2 ! misho    2490: if test x"${install_sh+set}" != xset; then
1.1       misho    2491:   case $am_aux_dir in
                   2492:   *\ * | *\    *)
                   2493:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2494:   *)
                   2495:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2496:   esac
                   2497: fi
                   2498: 
1.1.1.2 ! misho    2499: # Installed binaries are usually stripped using 'strip' when the user
        !          2500: # run "make install-strip".  However 'strip' might not be the right
1.1       misho    2501: # tool to use in cross-compilation environments, therefore Automake
1.1.1.2 ! misho    2502: # will honor the 'STRIP' environment variable to overrule this program.
1.1       misho    2503: if test "$cross_compiling" != no; then
                   2504:   if test -n "$ac_tool_prefix"; then
                   2505:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2506: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2507: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2508: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2509: if ${ac_cv_prog_STRIP+:} false; then :
1.1       misho    2510:   $as_echo_n "(cached) " >&6
                   2511: else
                   2512:   if test -n "$STRIP"; then
                   2513:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2514: else
                   2515: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2516: for as_dir in $PATH
                   2517: do
                   2518:   IFS=$as_save_IFS
                   2519:   test -z "$as_dir" && as_dir=.
                   2520:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2521:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2522:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2523:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2524:     break 2
                   2525:   fi
                   2526: done
                   2527:   done
                   2528: IFS=$as_save_IFS
                   2529: 
                   2530: fi
                   2531: fi
                   2532: STRIP=$ac_cv_prog_STRIP
                   2533: if test -n "$STRIP"; then
                   2534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2535: $as_echo "$STRIP" >&6; }
                   2536: else
                   2537:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2538: $as_echo "no" >&6; }
                   2539: fi
                   2540: 
                   2541: 
                   2542: fi
                   2543: if test -z "$ac_cv_prog_STRIP"; then
                   2544:   ac_ct_STRIP=$STRIP
                   2545:   # Extract the first word of "strip", so it can be a program name with args.
                   2546: set dummy strip; ac_word=$2
                   2547: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2548: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2549: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1       misho    2550:   $as_echo_n "(cached) " >&6
                   2551: else
                   2552:   if test -n "$ac_ct_STRIP"; then
                   2553:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2554: else
                   2555: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2556: for as_dir in $PATH
                   2557: do
                   2558:   IFS=$as_save_IFS
                   2559:   test -z "$as_dir" && as_dir=.
                   2560:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2561:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2562:     ac_cv_prog_ac_ct_STRIP="strip"
                   2563:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2564:     break 2
                   2565:   fi
                   2566: done
                   2567:   done
                   2568: IFS=$as_save_IFS
                   2569: 
                   2570: fi
                   2571: fi
                   2572: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2573: if test -n "$ac_ct_STRIP"; then
                   2574:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2575: $as_echo "$ac_ct_STRIP" >&6; }
                   2576: else
                   2577:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2578: $as_echo "no" >&6; }
                   2579: fi
                   2580: 
                   2581:   if test "x$ac_ct_STRIP" = x; then
                   2582:     STRIP=":"
                   2583:   else
                   2584:     case $cross_compiling:$ac_tool_warned in
                   2585: yes:)
                   2586: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2587: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2588: ac_tool_warned=yes ;;
                   2589: esac
                   2590:     STRIP=$ac_ct_STRIP
                   2591:   fi
                   2592: else
                   2593:   STRIP="$ac_cv_prog_STRIP"
                   2594: fi
                   2595: 
                   2596: fi
                   2597: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2598: 
                   2599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2600: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2601: if test -z "$MKDIR_P"; then
1.1.1.2 ! misho    2602:   if ${ac_cv_path_mkdir+:} false; then :
1.1       misho    2603:   $as_echo_n "(cached) " >&6
                   2604: else
                   2605:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2606: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2607: do
                   2608:   IFS=$as_save_IFS
                   2609:   test -z "$as_dir" && as_dir=.
                   2610:     for ac_prog in mkdir gmkdir; do
                   2611:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2612:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    2613:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2614:             'mkdir (GNU coreutils) '* | \
                   2615:             'mkdir (coreutils) '* | \
                   2616:             'mkdir (fileutils) '4.1*)
                   2617:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2618:               break 3;;
                   2619:           esac
                   2620:         done
                   2621:        done
                   2622:   done
                   2623: IFS=$as_save_IFS
                   2624: 
                   2625: fi
                   2626: 
                   2627:   test -d ./--version && rmdir ./--version
                   2628:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2629:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2630:   else
                   2631:     # As a last resort, use the slow shell script.  Don't cache a
                   2632:     # value for MKDIR_P within a source directory, because that will
                   2633:     # break other packages using the cache if that directory is
                   2634:     # removed, or if the value is a relative name.
                   2635:     MKDIR_P="$ac_install_sh -d"
                   2636:   fi
                   2637: fi
                   2638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2639: $as_echo "$MKDIR_P" >&6; }
                   2640: 
                   2641: for ac_prog in gawk mawk nawk awk
                   2642: do
                   2643:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2644: set dummy $ac_prog; ac_word=$2
                   2645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2646: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2647: if ${ac_cv_prog_AWK+:} false; then :
1.1       misho    2648:   $as_echo_n "(cached) " >&6
                   2649: else
                   2650:   if test -n "$AWK"; then
                   2651:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2652: else
                   2653: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2654: for as_dir in $PATH
                   2655: do
                   2656:   IFS=$as_save_IFS
                   2657:   test -z "$as_dir" && as_dir=.
                   2658:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2659:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2660:     ac_cv_prog_AWK="$ac_prog"
                   2661:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2662:     break 2
                   2663:   fi
                   2664: done
                   2665:   done
                   2666: IFS=$as_save_IFS
                   2667: 
                   2668: fi
                   2669: fi
                   2670: AWK=$ac_cv_prog_AWK
                   2671: if test -n "$AWK"; then
                   2672:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2673: $as_echo "$AWK" >&6; }
                   2674: else
                   2675:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2676: $as_echo "no" >&6; }
                   2677: fi
                   2678: 
                   2679: 
                   2680:   test -n "$AWK" && break
                   2681: done
                   2682: 
                   2683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2684: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2685: set x ${MAKE-make}
                   2686: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.1.1.2 ! misho    2687: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.1       misho    2688:   $as_echo_n "(cached) " >&6
                   2689: else
                   2690:   cat >conftest.make <<\_ACEOF
                   2691: SHELL = /bin/sh
                   2692: all:
                   2693:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2694: _ACEOF
1.1.1.2 ! misho    2695: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.1       misho    2696: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2697:   *@@@%%%=?*=@@@%%%*)
                   2698:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2699:   *)
                   2700:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2701: esac
                   2702: rm -f conftest.make
                   2703: fi
                   2704: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2705:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2706: $as_echo "yes" >&6; }
                   2707:   SET_MAKE=
                   2708: else
                   2709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2710: $as_echo "no" >&6; }
                   2711:   SET_MAKE="MAKE=${MAKE-make}"
                   2712: fi
                   2713: 
                   2714: rm -rf .tst 2>/dev/null
                   2715: mkdir .tst 2>/dev/null
                   2716: if test -d .tst; then
                   2717:   am__leading_dot=.
                   2718: else
                   2719:   am__leading_dot=_
                   2720: fi
                   2721: rmdir .tst 2>/dev/null
                   2722: 
1.1.1.2 ! misho    2723: # Check whether --enable-silent-rules was given.
        !          2724: if test "${enable_silent_rules+set}" = set; then :
        !          2725:   enableval=$enable_silent_rules;
        !          2726: fi
        !          2727: 
        !          2728: case $enable_silent_rules in # (((
        !          2729:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          2730:    no) AM_DEFAULT_VERBOSITY=1;;
        !          2731:     *) AM_DEFAULT_VERBOSITY=1;;
        !          2732: esac
        !          2733: am_make=${MAKE-make}
        !          2734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          2735: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          2736: if ${am_cv_make_support_nested_variables+:} false; then :
        !          2737:   $as_echo_n "(cached) " >&6
        !          2738: else
        !          2739:   if $as_echo 'TRUE=$(BAR$(V))
        !          2740: BAR0=false
        !          2741: BAR1=true
        !          2742: V=1
        !          2743: am__doit:
        !          2744:        @$(TRUE)
        !          2745: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          2746:   am_cv_make_support_nested_variables=yes
        !          2747: else
        !          2748:   am_cv_make_support_nested_variables=no
        !          2749: fi
        !          2750: fi
        !          2751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          2752: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          2753: if test $am_cv_make_support_nested_variables = yes; then
        !          2754:     AM_V='$(V)'
        !          2755:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          2756: else
        !          2757:   AM_V=$AM_DEFAULT_VERBOSITY
        !          2758:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          2759: fi
        !          2760: AM_BACKSLASH='\'
        !          2761: 
1.1       misho    2762: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2763:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2764:   # is not polluted with repeated "-I."
                   2765:   am__isrc=' -I$(srcdir)'
                   2766:   # test to see if srcdir already configured
                   2767:   if test -f $srcdir/config.status; then
1.1.1.2 ! misho    2768:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.1       misho    2769:   fi
                   2770: fi
                   2771: 
                   2772: # test whether we have cygpath
                   2773: if test -z "$CYGPATH_W"; then
                   2774:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2775:     CYGPATH_W='cygpath -w'
                   2776:   else
                   2777:     CYGPATH_W=echo
                   2778:   fi
                   2779: fi
                   2780: 
                   2781: 
                   2782: # Define the identity of the package.
                   2783:  PACKAGE='confuse'
1.1.1.2 ! misho    2784:  VERSION='3.3'
1.1       misho    2785: 
                   2786: 
                   2787: cat >>confdefs.h <<_ACEOF
                   2788: #define PACKAGE "$PACKAGE"
                   2789: _ACEOF
                   2790: 
                   2791: 
                   2792: cat >>confdefs.h <<_ACEOF
                   2793: #define VERSION "$VERSION"
                   2794: _ACEOF
                   2795: 
                   2796: # Some tools Automake needs.
                   2797: 
                   2798: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2799: 
                   2800: 
                   2801: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2802: 
                   2803: 
                   2804: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2805: 
                   2806: 
                   2807: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2808: 
                   2809: 
                   2810: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2811: 
1.1.1.2 ! misho    2812: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          2813: # dies out for good.  For more background, see:
        !          2814: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          2815: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          2816: mkdir_p='$(MKDIR_P)'
1.1       misho    2817: 
1.1.1.2 ! misho    2818: # We need awk for the "check" target (and possibly the TAP driver).  The
        !          2819: # system "awk" is bad on some platforms.
        !          2820: # Always define AMTAR for backward compatibility.  Yes, it's still used
        !          2821: # in the wild :-(  We should find a proper way to deprecate it ...
        !          2822: AMTAR='$${TAR-tar}'
1.1       misho    2823: 
                   2824: 
1.1.1.2 ! misho    2825: # We'll loop over all known methods to create a tar archive until one works.
        !          2826: _am_tools='gnutar  pax cpio none'
1.1       misho    2827: 
1.1.1.2 ! misho    2828: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.1       misho    2829: 
                   2830: 
                   2831: 
                   2832: 
                   2833: 
                   2834: 
1.1.1.2 ! misho    2835: # POSIX will say in a future version that running "rm -f" with no argument
        !          2836: # is OK; and we want to be able to make that assumption in our Makefile
        !          2837: # recipes.  So use an aggressive probe to check that the usage we want is
        !          2838: # actually supported "in the wild" to an acceptable degree.
        !          2839: # See automake bug#10828.
        !          2840: # To make any issue more visible, cause the running configure to be aborted
        !          2841: # by default if the 'rm' program in use doesn't match our expectations; the
        !          2842: # user can still override this though.
        !          2843: if rm -f && rm -fr && rm -rf; then : OK; else
        !          2844:   cat >&2 <<'END'
        !          2845: Oops!
        !          2846: 
        !          2847: Your 'rm' program seems unable to run without file operands specified
        !          2848: on the command line, even when the '-f' option is present.  This is contrary
        !          2849: to the behaviour of most rm programs out there, and not conforming with
        !          2850: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
        !          2851: 
        !          2852: Please tell bug-automake@gnu.org about your system, including the value
        !          2853: of your $PATH and any error possibly output before this message.  This
        !          2854: can help us improve future automake versions.
        !          2855: 
        !          2856: END
        !          2857:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
        !          2858:     echo 'Configuration will proceed anyway, since you have set the' >&2
        !          2859:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
        !          2860:     echo >&2
        !          2861:   else
        !          2862:     cat >&2 <<'END'
        !          2863: Aborting the configuration process, to ensure you take notice of the issue.
        !          2864: 
        !          2865: You can download and install GNU coreutils to get an 'rm' implementation
        !          2866: that behaves properly: <https://www.gnu.org/software/coreutils/>.
        !          2867: 
        !          2868: If you want to complete the configuration process using your problematic
        !          2869: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
        !          2870: to "yes", and re-run configure.
1.1       misho    2871: 
1.1.1.2 ! misho    2872: END
        !          2873:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
        !          2874:   fi
        !          2875: fi
1.1       misho    2876: 
1.1.1.2 ! misho    2877: # Check whether --enable-silent-rules was given.
        !          2878: if test "${enable_silent_rules+set}" = set; then :
        !          2879:   enableval=$enable_silent_rules;
        !          2880: fi
1.1       misho    2881: 
1.1.1.2 ! misho    2882: case $enable_silent_rules in # (((
        !          2883:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          2884:    no) AM_DEFAULT_VERBOSITY=1;;
        !          2885:     *) AM_DEFAULT_VERBOSITY=1;;
        !          2886: esac
        !          2887: am_make=${MAKE-make}
        !          2888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          2889: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          2890: if ${am_cv_make_support_nested_variables+:} false; then :
        !          2891:   $as_echo_n "(cached) " >&6
        !          2892: else
        !          2893:   if $as_echo 'TRUE=$(BAR$(V))
        !          2894: BAR0=false
        !          2895: BAR1=true
        !          2896: V=1
        !          2897: am__doit:
        !          2898:        @$(TRUE)
        !          2899: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          2900:   am_cv_make_support_nested_variables=yes
        !          2901: else
        !          2902:   am_cv_make_support_nested_variables=no
        !          2903: fi
        !          2904: fi
        !          2905: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          2906: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          2907: if test $am_cv_make_support_nested_variables = yes; then
        !          2908:     AM_V='$(V)'
        !          2909:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          2910: else
        !          2911:   AM_V=$AM_DEFAULT_VERBOSITY
        !          2912:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          2913: fi
        !          2914: AM_BACKSLASH='\'
1.1       misho    2915: 
                   2916: 
1.1.1.2 ! misho    2917: ac_config_headers="$ac_config_headers config.h"
1.1       misho    2918: 
                   2919: 
                   2920: 
1.1.1.2 ! misho    2921: # Checks for programs.
1.1       misho    2922: ac_ext=c
                   2923: ac_cpp='$CPP $CPPFLAGS'
                   2924: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2925: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2926: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2927: if test -n "$ac_tool_prefix"; then
                   2928:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2929: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2930: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2931: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2932: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2933:   $as_echo_n "(cached) " >&6
                   2934: else
                   2935:   if test -n "$CC"; then
                   2936:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2937: else
                   2938: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2939: for as_dir in $PATH
                   2940: do
                   2941:   IFS=$as_save_IFS
                   2942:   test -z "$as_dir" && as_dir=.
                   2943:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2944:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2945:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2946:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2947:     break 2
                   2948:   fi
                   2949: done
                   2950:   done
                   2951: IFS=$as_save_IFS
                   2952: 
                   2953: fi
                   2954: fi
                   2955: CC=$ac_cv_prog_CC
                   2956: if test -n "$CC"; then
                   2957:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2958: $as_echo "$CC" >&6; }
                   2959: else
                   2960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2961: $as_echo "no" >&6; }
                   2962: fi
                   2963: 
                   2964: 
                   2965: fi
                   2966: if test -z "$ac_cv_prog_CC"; then
                   2967:   ac_ct_CC=$CC
                   2968:   # Extract the first word of "gcc", so it can be a program name with args.
                   2969: set dummy gcc; ac_word=$2
                   2970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2971: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2972: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    2973:   $as_echo_n "(cached) " >&6
                   2974: else
                   2975:   if test -n "$ac_ct_CC"; then
                   2976:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2977: else
                   2978: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2979: for as_dir in $PATH
                   2980: do
                   2981:   IFS=$as_save_IFS
                   2982:   test -z "$as_dir" && as_dir=.
                   2983:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2984:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2985:     ac_cv_prog_ac_ct_CC="gcc"
                   2986:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2987:     break 2
                   2988:   fi
                   2989: done
                   2990:   done
                   2991: IFS=$as_save_IFS
                   2992: 
                   2993: fi
                   2994: fi
                   2995: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2996: if test -n "$ac_ct_CC"; then
                   2997:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2998: $as_echo "$ac_ct_CC" >&6; }
                   2999: else
                   3000:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3001: $as_echo "no" >&6; }
                   3002: fi
                   3003: 
                   3004:   if test "x$ac_ct_CC" = x; then
                   3005:     CC=""
                   3006:   else
                   3007:     case $cross_compiling:$ac_tool_warned in
                   3008: yes:)
                   3009: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3010: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3011: ac_tool_warned=yes ;;
                   3012: esac
                   3013:     CC=$ac_ct_CC
                   3014:   fi
                   3015: else
                   3016:   CC="$ac_cv_prog_CC"
                   3017: fi
                   3018: 
                   3019: if test -z "$CC"; then
                   3020:           if test -n "$ac_tool_prefix"; then
                   3021:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3022: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3024: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3025: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    3026:   $as_echo_n "(cached) " >&6
                   3027: else
                   3028:   if test -n "$CC"; then
                   3029:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3030: else
                   3031: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3032: for as_dir in $PATH
                   3033: do
                   3034:   IFS=$as_save_IFS
                   3035:   test -z "$as_dir" && as_dir=.
                   3036:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3037:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3038:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3039:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3040:     break 2
                   3041:   fi
                   3042: done
                   3043:   done
                   3044: IFS=$as_save_IFS
                   3045: 
                   3046: fi
                   3047: fi
                   3048: CC=$ac_cv_prog_CC
                   3049: if test -n "$CC"; then
                   3050:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3051: $as_echo "$CC" >&6; }
                   3052: else
                   3053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3054: $as_echo "no" >&6; }
                   3055: fi
                   3056: 
                   3057: 
                   3058:   fi
                   3059: fi
                   3060: if test -z "$CC"; then
                   3061:   # Extract the first word of "cc", so it can be a program name with args.
                   3062: set dummy cc; ac_word=$2
                   3063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3064: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3065: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    3066:   $as_echo_n "(cached) " >&6
                   3067: else
                   3068:   if test -n "$CC"; then
                   3069:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3070: else
                   3071:   ac_prog_rejected=no
                   3072: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3073: for as_dir in $PATH
                   3074: do
                   3075:   IFS=$as_save_IFS
                   3076:   test -z "$as_dir" && as_dir=.
                   3077:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3078:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3079:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3080:        ac_prog_rejected=yes
                   3081:        continue
                   3082:      fi
                   3083:     ac_cv_prog_CC="cc"
                   3084:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3085:     break 2
                   3086:   fi
                   3087: done
                   3088:   done
                   3089: IFS=$as_save_IFS
                   3090: 
                   3091: if test $ac_prog_rejected = yes; then
                   3092:   # We found a bogon in the path, so make sure we never use it.
                   3093:   set dummy $ac_cv_prog_CC
                   3094:   shift
                   3095:   if test $# != 0; then
                   3096:     # We chose a different compiler from the bogus one.
                   3097:     # However, it has the same basename, so the bogon will be chosen
                   3098:     # first if we set CC to just the basename; use the full file name.
                   3099:     shift
                   3100:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3101:   fi
                   3102: fi
                   3103: fi
                   3104: fi
                   3105: CC=$ac_cv_prog_CC
                   3106: if test -n "$CC"; then
                   3107:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3108: $as_echo "$CC" >&6; }
                   3109: else
                   3110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3111: $as_echo "no" >&6; }
                   3112: fi
                   3113: 
                   3114: 
                   3115: fi
                   3116: if test -z "$CC"; then
                   3117:   if test -n "$ac_tool_prefix"; then
                   3118:   for ac_prog in cl.exe
                   3119:   do
                   3120:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3121: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3123: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3124: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    3125:   $as_echo_n "(cached) " >&6
                   3126: else
                   3127:   if test -n "$CC"; then
                   3128:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3129: else
                   3130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3131: for as_dir in $PATH
                   3132: do
                   3133:   IFS=$as_save_IFS
                   3134:   test -z "$as_dir" && as_dir=.
                   3135:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3136:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3137:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3138:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3139:     break 2
                   3140:   fi
                   3141: done
                   3142:   done
                   3143: IFS=$as_save_IFS
                   3144: 
                   3145: fi
                   3146: fi
                   3147: CC=$ac_cv_prog_CC
                   3148: if test -n "$CC"; then
                   3149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3150: $as_echo "$CC" >&6; }
                   3151: else
                   3152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3153: $as_echo "no" >&6; }
                   3154: fi
                   3155: 
                   3156: 
                   3157:     test -n "$CC" && break
                   3158:   done
                   3159: fi
                   3160: if test -z "$CC"; then
                   3161:   ac_ct_CC=$CC
                   3162:   for ac_prog in cl.exe
                   3163: do
                   3164:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3165: set dummy $ac_prog; ac_word=$2
                   3166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3167: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3168: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    3169:   $as_echo_n "(cached) " >&6
                   3170: else
                   3171:   if test -n "$ac_ct_CC"; then
                   3172:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3173: else
                   3174: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3175: for as_dir in $PATH
                   3176: do
                   3177:   IFS=$as_save_IFS
                   3178:   test -z "$as_dir" && as_dir=.
                   3179:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3180:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3181:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3182:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3183:     break 2
                   3184:   fi
                   3185: done
                   3186:   done
                   3187: IFS=$as_save_IFS
                   3188: 
                   3189: fi
                   3190: fi
                   3191: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3192: if test -n "$ac_ct_CC"; then
                   3193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3194: $as_echo "$ac_ct_CC" >&6; }
                   3195: else
                   3196:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3197: $as_echo "no" >&6; }
                   3198: fi
                   3199: 
                   3200: 
                   3201:   test -n "$ac_ct_CC" && break
                   3202: done
                   3203: 
                   3204:   if test "x$ac_ct_CC" = x; then
                   3205:     CC=""
                   3206:   else
                   3207:     case $cross_compiling:$ac_tool_warned in
                   3208: yes:)
                   3209: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3210: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3211: ac_tool_warned=yes ;;
                   3212: esac
                   3213:     CC=$ac_ct_CC
                   3214:   fi
                   3215: fi
                   3216: 
                   3217: fi
                   3218: 
                   3219: 
                   3220: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3221: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    3222: as_fn_error $? "no acceptable C compiler found in \$PATH
        !          3223: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3224: 
                   3225: # Provide some information about the compiler.
                   3226: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3227: set X $ac_compile
                   3228: ac_compiler=$2
                   3229: for ac_option in --version -v -V -qversion; do
                   3230:   { { ac_try="$ac_compiler $ac_option >&5"
                   3231: case "(($ac_try" in
                   3232:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3233:   *) ac_try_echo=$ac_try;;
                   3234: esac
                   3235: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3236: $as_echo "$ac_try_echo"; } >&5
                   3237:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3238:   ac_status=$?
                   3239:   if test -s conftest.err; then
                   3240:     sed '10a\
                   3241: ... rest of stderr output deleted ...
                   3242:          10q' conftest.err >conftest.er1
                   3243:     cat conftest.er1 >&5
                   3244:   fi
                   3245:   rm -f conftest.er1 conftest.err
                   3246:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3247:   test $ac_status = 0; }
                   3248: done
                   3249: 
                   3250: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3251: /* end confdefs.h.  */
                   3252: 
                   3253: int
                   3254: main ()
                   3255: {
                   3256: 
                   3257:   ;
                   3258:   return 0;
                   3259: }
                   3260: _ACEOF
                   3261: ac_clean_files_save=$ac_clean_files
                   3262: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3263: # Try to create an executable without -o first, disregard a.out.
                   3264: # It will help us diagnose broken compilers, and finding out an intuition
                   3265: # of exeext.
                   3266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3267: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3268: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3269: 
                   3270: # The possible output files:
                   3271: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3272: 
                   3273: ac_rmfiles=
                   3274: for ac_file in $ac_files
                   3275: do
                   3276:   case $ac_file in
                   3277:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3278:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3279:   esac
                   3280: done
                   3281: rm -f $ac_rmfiles
                   3282: 
                   3283: if { { ac_try="$ac_link_default"
                   3284: case "(($ac_try" in
                   3285:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3286:   *) ac_try_echo=$ac_try;;
                   3287: esac
                   3288: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3289: $as_echo "$ac_try_echo"; } >&5
                   3290:   (eval "$ac_link_default") 2>&5
                   3291:   ac_status=$?
                   3292:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3293:   test $ac_status = 0; }; then :
                   3294:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3295: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3296: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3297: # so that the user can short-circuit this test for compilers unknown to
                   3298: # Autoconf.
                   3299: for ac_file in $ac_files ''
                   3300: do
                   3301:   test -f "$ac_file" || continue
                   3302:   case $ac_file in
                   3303:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3304:        ;;
                   3305:     [ab].out )
                   3306:        # We found the default executable, but exeext='' is most
                   3307:        # certainly right.
                   3308:        break;;
                   3309:     *.* )
                   3310:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3311:        then :; else
                   3312:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3313:        fi
                   3314:        # We set ac_cv_exeext here because the later test for it is not
                   3315:        # safe: cross compilers may not add the suffix if given an `-o'
                   3316:        # argument, so we may need to know it at that point already.
                   3317:        # Even if this section looks crufty: it has the advantage of
                   3318:        # actually working.
                   3319:        break;;
                   3320:     * )
                   3321:        break;;
                   3322:   esac
                   3323: done
                   3324: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3325: 
                   3326: else
                   3327:   ac_file=''
                   3328: fi
                   3329: if test -z "$ac_file"; then :
                   3330:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3331: $as_echo "no" >&6; }
                   3332: $as_echo "$as_me: failed program was:" >&5
                   3333: sed 's/^/| /' conftest.$ac_ext >&5
                   3334: 
                   3335: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3336: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    3337: as_fn_error 77 "C compiler cannot create executables
        !          3338: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3339: else
                   3340:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3341: $as_echo "yes" >&6; }
                   3342: fi
                   3343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3344: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3346: $as_echo "$ac_file" >&6; }
                   3347: ac_exeext=$ac_cv_exeext
                   3348: 
                   3349: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3350: ac_clean_files=$ac_clean_files_save
                   3351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3352: $as_echo_n "checking for suffix of executables... " >&6; }
                   3353: if { { ac_try="$ac_link"
                   3354: case "(($ac_try" in
                   3355:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3356:   *) ac_try_echo=$ac_try;;
                   3357: esac
                   3358: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3359: $as_echo "$ac_try_echo"; } >&5
                   3360:   (eval "$ac_link") 2>&5
                   3361:   ac_status=$?
                   3362:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3363:   test $ac_status = 0; }; then :
                   3364:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3365: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3366: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3367: # `rm'.
                   3368: for ac_file in conftest.exe conftest conftest.*; do
                   3369:   test -f "$ac_file" || continue
                   3370:   case $ac_file in
                   3371:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3372:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3373:          break;;
                   3374:     * ) break;;
                   3375:   esac
                   3376: done
                   3377: else
                   3378:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3379: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    3380: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
        !          3381: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3382: fi
                   3383: rm -f conftest conftest$ac_cv_exeext
                   3384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3385: $as_echo "$ac_cv_exeext" >&6; }
                   3386: 
                   3387: rm -f conftest.$ac_ext
                   3388: EXEEXT=$ac_cv_exeext
                   3389: ac_exeext=$EXEEXT
                   3390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3391: /* end confdefs.h.  */
                   3392: #include <stdio.h>
                   3393: int
                   3394: main ()
                   3395: {
                   3396: FILE *f = fopen ("conftest.out", "w");
                   3397:  return ferror (f) || fclose (f) != 0;
                   3398: 
                   3399:   ;
                   3400:   return 0;
                   3401: }
                   3402: _ACEOF
                   3403: ac_clean_files="$ac_clean_files conftest.out"
                   3404: # Check that the compiler produces executables we can run.  If not, either
                   3405: # the compiler is broken, or we cross compile.
                   3406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3407: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3408: if test "$cross_compiling" != yes; then
                   3409:   { { ac_try="$ac_link"
                   3410: case "(($ac_try" in
                   3411:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3412:   *) ac_try_echo=$ac_try;;
                   3413: esac
                   3414: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3415: $as_echo "$ac_try_echo"; } >&5
                   3416:   (eval "$ac_link") 2>&5
                   3417:   ac_status=$?
                   3418:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3419:   test $ac_status = 0; }
                   3420:   if { ac_try='./conftest$ac_cv_exeext'
                   3421:   { { case "(($ac_try" in
                   3422:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3423:   *) ac_try_echo=$ac_try;;
                   3424: esac
                   3425: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3426: $as_echo "$ac_try_echo"; } >&5
                   3427:   (eval "$ac_try") 2>&5
                   3428:   ac_status=$?
                   3429:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3430:   test $ac_status = 0; }; }; then
                   3431:     cross_compiling=no
                   3432:   else
                   3433:     if test "$cross_compiling" = maybe; then
                   3434:        cross_compiling=yes
                   3435:     else
                   3436:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3437: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    3438: as_fn_error $? "cannot run C compiled programs.
1.1       misho    3439: If you meant to cross compile, use \`--host'.
1.1.1.2 ! misho    3440: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3441:     fi
                   3442:   fi
                   3443: fi
                   3444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3445: $as_echo "$cross_compiling" >&6; }
                   3446: 
                   3447: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3448: ac_clean_files=$ac_clean_files_save
                   3449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3450: $as_echo_n "checking for suffix of object files... " >&6; }
1.1.1.2 ! misho    3451: if ${ac_cv_objext+:} false; then :
1.1       misho    3452:   $as_echo_n "(cached) " >&6
                   3453: else
                   3454:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3455: /* end confdefs.h.  */
                   3456: 
                   3457: int
                   3458: main ()
                   3459: {
                   3460: 
                   3461:   ;
                   3462:   return 0;
                   3463: }
                   3464: _ACEOF
                   3465: rm -f conftest.o conftest.obj
                   3466: if { { ac_try="$ac_compile"
                   3467: case "(($ac_try" in
                   3468:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3469:   *) ac_try_echo=$ac_try;;
                   3470: esac
                   3471: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3472: $as_echo "$ac_try_echo"; } >&5
                   3473:   (eval "$ac_compile") 2>&5
                   3474:   ac_status=$?
                   3475:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3476:   test $ac_status = 0; }; then :
                   3477:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3478:   test -f "$ac_file" || continue;
                   3479:   case $ac_file in
                   3480:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3481:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3482:        break;;
                   3483:   esac
                   3484: done
                   3485: else
                   3486:   $as_echo "$as_me: failed program was:" >&5
                   3487: sed 's/^/| /' conftest.$ac_ext >&5
                   3488: 
                   3489: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3490: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    3491: as_fn_error $? "cannot compute suffix of object files: cannot compile
        !          3492: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3493: fi
                   3494: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3495: fi
                   3496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3497: $as_echo "$ac_cv_objext" >&6; }
                   3498: OBJEXT=$ac_cv_objext
                   3499: ac_objext=$OBJEXT
                   3500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3501: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.1.1.2 ! misho    3502: if ${ac_cv_c_compiler_gnu+:} false; then :
1.1       misho    3503:   $as_echo_n "(cached) " >&6
                   3504: else
                   3505:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3506: /* end confdefs.h.  */
                   3507: 
                   3508: int
                   3509: main ()
                   3510: {
                   3511: #ifndef __GNUC__
                   3512:        choke me
                   3513: #endif
                   3514: 
                   3515:   ;
                   3516:   return 0;
                   3517: }
                   3518: _ACEOF
                   3519: if ac_fn_c_try_compile "$LINENO"; then :
                   3520:   ac_compiler_gnu=yes
                   3521: else
                   3522:   ac_compiler_gnu=no
                   3523: fi
                   3524: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3525: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3526: 
                   3527: fi
                   3528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3529: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3530: if test $ac_compiler_gnu = yes; then
                   3531:   GCC=yes
                   3532: else
                   3533:   GCC=
                   3534: fi
                   3535: ac_test_CFLAGS=${CFLAGS+set}
                   3536: ac_save_CFLAGS=$CFLAGS
                   3537: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3538: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.1.1.2 ! misho    3539: if ${ac_cv_prog_cc_g+:} false; then :
1.1       misho    3540:   $as_echo_n "(cached) " >&6
                   3541: else
                   3542:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3543:    ac_c_werror_flag=yes
                   3544:    ac_cv_prog_cc_g=no
                   3545:    CFLAGS="-g"
                   3546:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3547: /* end confdefs.h.  */
                   3548: 
                   3549: int
                   3550: main ()
                   3551: {
                   3552: 
                   3553:   ;
                   3554:   return 0;
                   3555: }
                   3556: _ACEOF
                   3557: if ac_fn_c_try_compile "$LINENO"; then :
                   3558:   ac_cv_prog_cc_g=yes
                   3559: else
                   3560:   CFLAGS=""
                   3561:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3562: /* end confdefs.h.  */
                   3563: 
                   3564: int
                   3565: main ()
                   3566: {
                   3567: 
                   3568:   ;
                   3569:   return 0;
                   3570: }
                   3571: _ACEOF
                   3572: if ac_fn_c_try_compile "$LINENO"; then :
                   3573: 
                   3574: else
                   3575:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3576:         CFLAGS="-g"
                   3577:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3578: /* end confdefs.h.  */
                   3579: 
                   3580: int
                   3581: main ()
                   3582: {
                   3583: 
                   3584:   ;
                   3585:   return 0;
                   3586: }
                   3587: _ACEOF
                   3588: if ac_fn_c_try_compile "$LINENO"; then :
                   3589:   ac_cv_prog_cc_g=yes
                   3590: fi
                   3591: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3592: fi
                   3593: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3594: fi
                   3595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3596:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3597: fi
                   3598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3599: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3600: if test "$ac_test_CFLAGS" = set; then
                   3601:   CFLAGS=$ac_save_CFLAGS
                   3602: elif test $ac_cv_prog_cc_g = yes; then
                   3603:   if test "$GCC" = yes; then
                   3604:     CFLAGS="-g -O2"
                   3605:   else
                   3606:     CFLAGS="-g"
                   3607:   fi
                   3608: else
                   3609:   if test "$GCC" = yes; then
                   3610:     CFLAGS="-O2"
                   3611:   else
                   3612:     CFLAGS=
                   3613:   fi
                   3614: fi
                   3615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3616: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.1.1.2 ! misho    3617: if ${ac_cv_prog_cc_c89+:} false; then :
1.1       misho    3618:   $as_echo_n "(cached) " >&6
                   3619: else
                   3620:   ac_cv_prog_cc_c89=no
                   3621: ac_save_CC=$CC
                   3622: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3623: /* end confdefs.h.  */
                   3624: #include <stdarg.h>
                   3625: #include <stdio.h>
1.1.1.2 ! misho    3626: struct stat;
1.1       misho    3627: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3628: struct buf { int x; };
                   3629: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3630: static char *e (p, i)
                   3631:      char **p;
                   3632:      int i;
                   3633: {
                   3634:   return p[i];
                   3635: }
                   3636: static char *f (char * (*g) (char **, int), char **p, ...)
                   3637: {
                   3638:   char *s;
                   3639:   va_list v;
                   3640:   va_start (v,p);
                   3641:   s = g (p, va_arg (v,int));
                   3642:   va_end (v);
                   3643:   return s;
                   3644: }
                   3645: 
                   3646: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3647:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3648:    These don't provoke an error unfortunately, instead are silently treated
                   3649:    as 'x'.  The following induces an error, until -std is added to get
                   3650:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3651:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3652:    that's true only with -std.  */
                   3653: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3654: 
                   3655: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3656:    inside strings and character constants.  */
                   3657: #define FOO(x) 'x'
                   3658: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3659: 
                   3660: int test (int i, double x);
                   3661: struct s1 {int (*f) (int a);};
                   3662: struct s2 {int (*f) (double a);};
                   3663: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3664: int argc;
                   3665: char **argv;
                   3666: int
                   3667: main ()
                   3668: {
                   3669: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3670:   ;
                   3671:   return 0;
                   3672: }
                   3673: _ACEOF
                   3674: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3675:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3676: do
                   3677:   CC="$ac_save_CC $ac_arg"
                   3678:   if ac_fn_c_try_compile "$LINENO"; then :
                   3679:   ac_cv_prog_cc_c89=$ac_arg
                   3680: fi
                   3681: rm -f core conftest.err conftest.$ac_objext
                   3682:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3683: done
                   3684: rm -f conftest.$ac_ext
                   3685: CC=$ac_save_CC
                   3686: 
                   3687: fi
                   3688: # AC_CACHE_VAL
                   3689: case "x$ac_cv_prog_cc_c89" in
                   3690:   x)
                   3691:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3692: $as_echo "none needed" >&6; } ;;
                   3693:   xno)
                   3694:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3695: $as_echo "unsupported" >&6; } ;;
                   3696:   *)
                   3697:     CC="$CC $ac_cv_prog_cc_c89"
                   3698:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3699: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3700: esac
                   3701: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   3702: 
                   3703: fi
                   3704: 
                   3705: ac_ext=c
                   3706: ac_cpp='$CPP $CPPFLAGS'
                   3707: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3708: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3709: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.2 ! misho    3710: 
        !          3711: ac_ext=c
        !          3712: ac_cpp='$CPP $CPPFLAGS'
        !          3713: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3714: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3715: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3716: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          3717: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          3718: if ${am_cv_prog_cc_c_o+:} false; then :
        !          3719:   $as_echo_n "(cached) " >&6
        !          3720: else
        !          3721:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3722: /* end confdefs.h.  */
        !          3723: 
        !          3724: int
        !          3725: main ()
        !          3726: {
        !          3727: 
        !          3728:   ;
        !          3729:   return 0;
        !          3730: }
        !          3731: _ACEOF
        !          3732:   # Make sure it works both with $CC and with simple cc.
        !          3733:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          3734:   # compilers refuse to overwrite an existing .o file with -o,
        !          3735:   # though they will create one.
        !          3736:   am_cv_prog_cc_c_o=yes
        !          3737:   for am_i in 1 2; do
        !          3738:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          3739:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          3740:    ac_status=$?
        !          3741:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3742:    (exit $ac_status); } \
        !          3743:          && test -f conftest2.$ac_objext; then
        !          3744:       : OK
        !          3745:     else
        !          3746:       am_cv_prog_cc_c_o=no
        !          3747:       break
        !          3748:     fi
        !          3749:   done
        !          3750:   rm -f core conftest*
        !          3751:   unset am_i
        !          3752: fi
        !          3753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          3754: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          3755: if test "$am_cv_prog_cc_c_o" != yes; then
        !          3756:    # Losing compiler, so override with the script.
        !          3757:    # FIXME: It is wrong to rewrite CC.
        !          3758:    # But if we don't then we get into trouble of one sort or another.
        !          3759:    # A longer-term fix would be to have automake use am__CC in this case,
        !          3760:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          3761:    CC="$am_aux_dir/compile $CC"
        !          3762: fi
        !          3763: ac_ext=c
        !          3764: ac_cpp='$CPP $CPPFLAGS'
        !          3765: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3766: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3767: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3768: 
1.1       misho    3769: DEPDIR="${am__leading_dot}deps"
                   3770: 
                   3771: ac_config_commands="$ac_config_commands depfiles"
                   3772: 
1.1.1.2 ! misho    3773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
        !          3774: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
        !          3775: cat > confinc.mk << 'END'
1.1       misho    3776: am__doit:
1.1.1.2 ! misho    3777:        @echo this is the am__doit target >confinc.out
1.1       misho    3778: .PHONY: am__doit
                   3779: END
                   3780: am__include="#"
                   3781: am__quote=
1.1.1.2 ! misho    3782: # BSD make does it like this.
        !          3783: echo '.include "confinc.mk" # ignored' > confmf.BSD
        !          3784: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
        !          3785: echo 'include confinc.mk # ignored' > confmf.GNU
        !          3786: _am_result=no
        !          3787: for s in GNU BSD; do
        !          3788:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
        !          3789:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
        !          3790:    ac_status=$?
        !          3791:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3792:    (exit $ac_status); }
        !          3793:   case $?:`cat confinc.out 2>/dev/null` in #(
        !          3794:   '0:this is the am__doit target') :
        !          3795:     case $s in #(
        !          3796:   BSD) :
        !          3797:     am__include='.include' am__quote='"' ;; #(
        !          3798:   *) :
        !          3799:     am__include='include' am__quote='' ;;
        !          3800: esac ;; #(
        !          3801:   *) :
1.1       misho    3802:      ;;
1.1.1.2 ! misho    3803: esac
        !          3804:   if test "$am__include" != "#"; then
        !          3805:     _am_result="yes ($s style)"
        !          3806:     break
        !          3807:   fi
        !          3808: done
        !          3809: rm -f confinc.* confmf.*
        !          3810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
        !          3811: $as_echo "${_am_result}" >&6; }
1.1       misho    3812: 
                   3813: # Check whether --enable-dependency-tracking was given.
                   3814: if test "${enable_dependency_tracking+set}" = set; then :
                   3815:   enableval=$enable_dependency_tracking;
                   3816: fi
                   3817: 
                   3818: if test "x$enable_dependency_tracking" != xno; then
                   3819:   am_depcomp="$ac_aux_dir/depcomp"
                   3820:   AMDEPBACKSLASH='\'
1.1.1.2 ! misho    3821:   am__nodep='_no'
1.1       misho    3822: fi
                   3823:  if test "x$enable_dependency_tracking" != xno; then
                   3824:   AMDEP_TRUE=
                   3825:   AMDEP_FALSE='#'
                   3826: else
                   3827:   AMDEP_TRUE='#'
                   3828:   AMDEP_FALSE=
                   3829: fi
                   3830: 
                   3831: 
                   3832: 
                   3833: depcc="$CC"   am_compiler_list=
                   3834: 
                   3835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3836: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.1.1.2 ! misho    3837: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.1       misho    3838:   $as_echo_n "(cached) " >&6
                   3839: else
                   3840:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3841:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3842:   # making bogus files that we don't know about and never remove.  For
                   3843:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.2 ! misho    3844:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          3845:   # in D".
        !          3846:   rm -rf conftest.dir
1.1       misho    3847:   mkdir conftest.dir
                   3848:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3849:   # using a relative directory.
                   3850:   cp "$am_depcomp" conftest.dir
                   3851:   cd conftest.dir
                   3852:   # We will build objects and dependencies in a subdirectory because
                   3853:   # it helps to detect inapplicable dependency modes.  For instance
                   3854:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3855:   # side effect of compilation, but ICC will put the dependencies in
                   3856:   # the current directory while Tru64 will put them in the object
                   3857:   # directory.
                   3858:   mkdir sub
                   3859: 
                   3860:   am_cv_CC_dependencies_compiler_type=none
                   3861:   if test "$am_compiler_list" = ""; then
                   3862:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3863:   fi
                   3864:   am__universal=false
                   3865:   case " $depcc " in #(
                   3866:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3867:      esac
                   3868: 
                   3869:   for depmode in $am_compiler_list; do
                   3870:     # Setup a source with many dependencies, because some compilers
                   3871:     # like to wrap large dependency lists on column 80 (with \), and
                   3872:     # we should not choose a depcomp mode which is confused by this.
                   3873:     #
                   3874:     # We need to recreate these files for each test, as the compiler may
                   3875:     # overwrite some of them when testing with obscure command lines.
                   3876:     # This happens at least with the AIX C compiler.
                   3877:     : > sub/conftest.c
                   3878:     for i in 1 2 3 4 5 6; do
                   3879:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.2 ! misho    3880:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          3881:       # Solaris 10 /bin/sh.
        !          3882:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    3883:     done
                   3884:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3885: 
1.1.1.2 ! misho    3886:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    3887:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.2 ! misho    3888:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          3889:     # versions had trouble with output in subdirs.
1.1       misho    3890:     am__obj=sub/conftest.${OBJEXT-o}
                   3891:     am__minus_obj="-o $am__obj"
                   3892:     case $depmode in
                   3893:     gcc)
                   3894:       # This depmode causes a compiler race in universal mode.
                   3895:       test "$am__universal" = false || continue
                   3896:       ;;
                   3897:     nosideeffect)
1.1.1.2 ! misho    3898:       # After this tag, mechanisms are not by side-effect, so they'll
        !          3899:       # only be used when explicitly requested.
1.1       misho    3900:       if test "x$enable_dependency_tracking" = xyes; then
                   3901:        continue
                   3902:       else
                   3903:        break
                   3904:       fi
                   3905:       ;;
1.1.1.2 ! misho    3906:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
        !          3907:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    3908:       # not run yet.  These depmodes are late enough in the game, and
                   3909:       # so weak that their functioning should not be impacted.
                   3910:       am__obj=conftest.${OBJEXT-o}
                   3911:       am__minus_obj=
                   3912:       ;;
                   3913:     none) break ;;
                   3914:     esac
                   3915:     if depmode=$depmode \
                   3916:        source=sub/conftest.c object=$am__obj \
                   3917:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3918:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3919:          >/dev/null 2>conftest.err &&
                   3920:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3921:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3922:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   3923:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3924:       # icc doesn't choke on unknown options, it will just issue warnings
                   3925:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3926:       # that says an option was ignored or not supported.
                   3927:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3928:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3929:       # The diagnosis changed in icc 8.0:
                   3930:       #   icc: Command line remark: option '-MP' not supported
                   3931:       if (grep 'ignoring option' conftest.err ||
                   3932:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3933:         am_cv_CC_dependencies_compiler_type=$depmode
                   3934:         break
                   3935:       fi
                   3936:     fi
                   3937:   done
                   3938: 
                   3939:   cd ..
                   3940:   rm -rf conftest.dir
                   3941: else
                   3942:   am_cv_CC_dependencies_compiler_type=none
                   3943: fi
                   3944: 
                   3945: fi
                   3946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3947: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   3948: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3949: 
                   3950:  if
                   3951:   test "x$enable_dependency_tracking" != xno \
                   3952:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3953:   am__fastdepCC_TRUE=
                   3954:   am__fastdepCC_FALSE='#'
                   3955: else
                   3956:   am__fastdepCC_TRUE='#'
                   3957:   am__fastdepCC_FALSE=
                   3958: fi
                   3959: 
                   3960: 
                   3961: 
1.1.1.2 ! misho    3962: if test -n "$ac_tool_prefix"; then
        !          3963:   for ac_prog in ar lib "link -lib"
        !          3964:   do
        !          3965:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          3966: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          3967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3968: $as_echo_n "checking for $ac_word... " >&6; }
        !          3969: if ${ac_cv_prog_AR+:} false; then :
        !          3970:   $as_echo_n "(cached) " >&6
        !          3971: else
        !          3972:   if test -n "$AR"; then
        !          3973:   ac_cv_prog_AR="$AR" # Let the user override the test.
        !          3974: else
        !          3975: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3976: for as_dir in $PATH
        !          3977: do
        !          3978:   IFS=$as_save_IFS
        !          3979:   test -z "$as_dir" && as_dir=.
        !          3980:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3981:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3982:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
        !          3983:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3984:     break 2
        !          3985:   fi
        !          3986: done
        !          3987:   done
        !          3988: IFS=$as_save_IFS
        !          3989: 
        !          3990: fi
        !          3991: fi
        !          3992: AR=$ac_cv_prog_AR
        !          3993: if test -n "$AR"; then
        !          3994:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          3995: $as_echo "$AR" >&6; }
        !          3996: else
        !          3997:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3998: $as_echo "no" >&6; }
        !          3999: fi
        !          4000: 
        !          4001: 
        !          4002:     test -n "$AR" && break
        !          4003:   done
        !          4004: fi
        !          4005: if test -z "$AR"; then
        !          4006:   ac_ct_AR=$AR
        !          4007:   for ac_prog in ar lib "link -lib"
1.1       misho    4008: do
                   4009:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4010: set dummy $ac_prog; ac_word=$2
                   4011: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4012: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4013: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1       misho    4014:   $as_echo_n "(cached) " >&6
                   4015: else
1.1.1.2 ! misho    4016:   if test -n "$ac_ct_AR"; then
        !          4017:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.1       misho    4018: else
                   4019: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4020: for as_dir in $PATH
                   4021: do
                   4022:   IFS=$as_save_IFS
                   4023:   test -z "$as_dir" && as_dir=.
                   4024:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    4025:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4026:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.1       misho    4027:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4028:     break 2
                   4029:   fi
                   4030: done
                   4031:   done
                   4032: IFS=$as_save_IFS
                   4033: 
                   4034: fi
                   4035: fi
1.1.1.2 ! misho    4036: ac_ct_AR=$ac_cv_prog_ac_ct_AR
        !          4037: if test -n "$ac_ct_AR"; then
        !          4038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
        !          4039: $as_echo "$ac_ct_AR" >&6; }
1.1       misho    4040: else
                   4041:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4042: $as_echo "no" >&6; }
                   4043: fi
                   4044: 
                   4045: 
1.1.1.2 ! misho    4046:   test -n "$ac_ct_AR" && break
1.1       misho    4047: done
                   4048: 
1.1.1.2 ! misho    4049:   if test "x$ac_ct_AR" = x; then
        !          4050:     AR="false"
        !          4051:   else
        !          4052:     case $cross_compiling:$ac_tool_warned in
        !          4053: yes:)
        !          4054: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4055: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4056: ac_tool_warned=yes ;;
        !          4057: esac
        !          4058:     AR=$ac_ct_AR
        !          4059:   fi
        !          4060: fi
        !          4061: 
        !          4062: : ${AR=ar}
        !          4063: 
        !          4064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
        !          4065: $as_echo_n "checking the archiver ($AR) interface... " >&6; }
        !          4066: if ${am_cv_ar_interface+:} false; then :
        !          4067:   $as_echo_n "(cached) " >&6
        !          4068: else
        !          4069:   ac_ext=c
        !          4070: ac_cpp='$CPP $CPPFLAGS'
        !          4071: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4072: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4073: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4074: 
        !          4075:    am_cv_ar_interface=ar
        !          4076:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4077: /* end confdefs.h.  */
        !          4078: int some_variable = 0;
        !          4079: _ACEOF
        !          4080: if ac_fn_c_try_compile "$LINENO"; then :
        !          4081:   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
        !          4082:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
        !          4083:   (eval $am_ar_try) 2>&5
        !          4084:   ac_status=$?
        !          4085:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4086:   test $ac_status = 0; }
        !          4087:       if test "$ac_status" -eq 0; then
        !          4088:         am_cv_ar_interface=ar
        !          4089:       else
        !          4090:         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
        !          4091:         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
        !          4092:   (eval $am_ar_try) 2>&5
        !          4093:   ac_status=$?
        !          4094:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4095:   test $ac_status = 0; }
        !          4096:         if test "$ac_status" -eq 0; then
        !          4097:           am_cv_ar_interface=lib
        !          4098:         else
        !          4099:           am_cv_ar_interface=unknown
        !          4100:         fi
        !          4101:       fi
        !          4102:       rm -f conftest.lib libconftest.a
        !          4103: 
        !          4104: fi
        !          4105: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4106:    ac_ext=c
        !          4107: ac_cpp='$CPP $CPPFLAGS'
        !          4108: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4109: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4110: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4111: 
        !          4112: fi
        !          4113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
        !          4114: $as_echo "$am_cv_ar_interface" >&6; }
        !          4115: 
        !          4116: case $am_cv_ar_interface in
        !          4117: ar)
        !          4118:   ;;
        !          4119: lib)
        !          4120:   # Microsoft lib, so override with the ar-lib wrapper script.
        !          4121:   # FIXME: It is wrong to rewrite AR.
        !          4122:   # But if we don't then we get into trouble of one sort or another.
        !          4123:   # A longer-term fix would be to have automake use am__AR in this case,
        !          4124:   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
        !          4125:   # similar.
        !          4126:   AR="$am_aux_dir/ar-lib $AR"
        !          4127:   ;;
        !          4128: unknown)
        !          4129:   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
        !          4130:   ;;
        !          4131: esac
        !          4132: 
        !          4133: for ac_prog in flex lex
        !          4134: do
        !          4135:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4136: set dummy $ac_prog; ac_word=$2
        !          4137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4138: $as_echo_n "checking for $ac_word... " >&6; }
        !          4139: if ${ac_cv_prog_LEX+:} false; then :
        !          4140:   $as_echo_n "(cached) " >&6
        !          4141: else
        !          4142:   if test -n "$LEX"; then
        !          4143:   ac_cv_prog_LEX="$LEX" # Let the user override the test.
        !          4144: else
        !          4145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4146: for as_dir in $PATH
        !          4147: do
        !          4148:   IFS=$as_save_IFS
        !          4149:   test -z "$as_dir" && as_dir=.
        !          4150:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4151:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4152:     ac_cv_prog_LEX="$ac_prog"
        !          4153:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4154:     break 2
        !          4155:   fi
        !          4156: done
        !          4157:   done
        !          4158: IFS=$as_save_IFS
        !          4159: 
        !          4160: fi
        !          4161: fi
        !          4162: LEX=$ac_cv_prog_LEX
        !          4163: if test -n "$LEX"; then
        !          4164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
        !          4165: $as_echo "$LEX" >&6; }
        !          4166: else
        !          4167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4168: $as_echo "no" >&6; }
        !          4169: fi
        !          4170: 
        !          4171: 
        !          4172:   test -n "$LEX" && break
        !          4173: done
        !          4174: test -n "$LEX" || LEX=":"
        !          4175: 
        !          4176: if test "x$LEX" != "x:"; then
        !          4177:   cat >conftest.l <<_ACEOF
        !          4178: %%
        !          4179: a { ECHO; }
        !          4180: b { REJECT; }
        !          4181: c { yymore (); }
        !          4182: d { yyless (1); }
        !          4183: e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
        !          4184:     yyless ((input () != 0)); }
        !          4185: f { unput (yytext[0]); }
        !          4186: . { BEGIN INITIAL; }
        !          4187: %%
        !          4188: #ifdef YYTEXT_POINTER
1.1       misho    4189: extern char *yytext;
                   4190: #endif
                   4191: int
                   4192: main (void)
                   4193: {
                   4194:   return ! yylex () + ! yywrap ();
                   4195: }
                   4196: _ACEOF
                   4197: { { ac_try="$LEX conftest.l"
                   4198: case "(($ac_try" in
                   4199:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4200:   *) ac_try_echo=$ac_try;;
                   4201: esac
                   4202: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4203: $as_echo "$ac_try_echo"; } >&5
                   4204:   (eval "$LEX conftest.l") 2>&5
                   4205:   ac_status=$?
                   4206:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4207:   test $ac_status = 0; }
                   4208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
                   4209: $as_echo_n "checking lex output file root... " >&6; }
1.1.1.2 ! misho    4210: if ${ac_cv_prog_lex_root+:} false; then :
1.1       misho    4211:   $as_echo_n "(cached) " >&6
                   4212: else
                   4213: 
                   4214: if test -f lex.yy.c; then
                   4215:   ac_cv_prog_lex_root=lex.yy
                   4216: elif test -f lexyy.c; then
                   4217:   ac_cv_prog_lex_root=lexyy
                   4218: else
1.1.1.2 ! misho    4219:   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
1.1       misho    4220: fi
                   4221: fi
                   4222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
                   4223: $as_echo "$ac_cv_prog_lex_root" >&6; }
                   4224: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
                   4225: 
                   4226: if test -z "${LEXLIB+set}"; then
                   4227:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
                   4228: $as_echo_n "checking lex library... " >&6; }
1.1.1.2 ! misho    4229: if ${ac_cv_lib_lex+:} false; then :
1.1       misho    4230:   $as_echo_n "(cached) " >&6
                   4231: else
                   4232: 
                   4233:     ac_save_LIBS=$LIBS
                   4234:     ac_cv_lib_lex='none needed'
                   4235:     for ac_lib in '' -lfl -ll; do
                   4236:       LIBS="$ac_lib $ac_save_LIBS"
                   4237:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4238: /* end confdefs.h.  */
                   4239: `cat $LEX_OUTPUT_ROOT.c`
                   4240: _ACEOF
                   4241: if ac_fn_c_try_link "$LINENO"; then :
                   4242:   ac_cv_lib_lex=$ac_lib
                   4243: fi
                   4244: rm -f core conftest.err conftest.$ac_objext \
                   4245:     conftest$ac_exeext conftest.$ac_ext
                   4246:       test "$ac_cv_lib_lex" != 'none needed' && break
                   4247:     done
                   4248:     LIBS=$ac_save_LIBS
                   4249: 
                   4250: fi
                   4251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
                   4252: $as_echo "$ac_cv_lib_lex" >&6; }
                   4253:   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
                   4254: fi
                   4255: 
                   4256: 
                   4257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
                   4258: $as_echo_n "checking whether yytext is a pointer... " >&6; }
1.1.1.2 ! misho    4259: if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
1.1       misho    4260:   $as_echo_n "(cached) " >&6
                   4261: else
                   4262:   # POSIX says lex can declare yytext either as a pointer or an array; the
                   4263: # default is implementation-dependent.  Figure out which it is, since
                   4264: # not all implementations provide the %pointer and %array declarations.
                   4265: ac_cv_prog_lex_yytext_pointer=no
                   4266: ac_save_LIBS=$LIBS
                   4267: LIBS="$LEXLIB $ac_save_LIBS"
                   4268: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4269: /* end confdefs.h.  */
1.1.1.2 ! misho    4270: 
        !          4271:   #define YYTEXT_POINTER 1
1.1       misho    4272: `cat $LEX_OUTPUT_ROOT.c`
                   4273: _ACEOF
                   4274: if ac_fn_c_try_link "$LINENO"; then :
                   4275:   ac_cv_prog_lex_yytext_pointer=yes
                   4276: fi
                   4277: rm -f core conftest.err conftest.$ac_objext \
                   4278:     conftest$ac_exeext conftest.$ac_ext
                   4279: LIBS=$ac_save_LIBS
                   4280: 
                   4281: fi
                   4282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
                   4283: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
                   4284: if test $ac_cv_prog_lex_yytext_pointer = yes; then
                   4285: 
                   4286: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
                   4287: 
                   4288: fi
                   4289: rm -f conftest.l $LEX_OUTPUT_ROOT.c
                   4290: 
                   4291: fi
                   4292: if test "$LEX" = :; then
                   4293:   LEX=${am_missing_run}flex
                   4294: fi
                   4295: 
                   4296: case `pwd` in
                   4297:   *\ * | *\    *)
                   4298:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4299: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4300: esac
                   4301: 
                   4302: 
                   4303: 
1.1.1.2 ! misho    4304: macro_version='2.4.6'
        !          4305: macro_revision='2.4.6'
1.1       misho    4306: 
                   4307: 
                   4308: 
                   4309: 
                   4310: 
                   4311: 
                   4312: 
                   4313: 
                   4314: 
                   4315: 
                   4316: 
                   4317: 
                   4318: 
1.1.1.2 ! misho    4319: ltmain=$ac_aux_dir/ltmain.sh
1.1       misho    4320: 
                   4321: # Make sure we can run config.sub.
                   4322: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.1.1.2 ! misho    4323:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1       misho    4324: 
                   4325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4326: $as_echo_n "checking build system type... " >&6; }
1.1.1.2 ! misho    4327: if ${ac_cv_build+:} false; then :
1.1       misho    4328:   $as_echo_n "(cached) " >&6
                   4329: else
                   4330:   ac_build_alias=$build_alias
                   4331: test "x$ac_build_alias" = x &&
                   4332:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   4333: test "x$ac_build_alias" = x &&
1.1.1.2 ! misho    4334:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.1       misho    4335: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.1.1.2 ! misho    4336:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1       misho    4337: 
                   4338: fi
                   4339: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4340: $as_echo "$ac_cv_build" >&6; }
                   4341: case $ac_cv_build in
                   4342: *-*-*) ;;
1.1.1.2 ! misho    4343: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    4344: esac
                   4345: build=$ac_cv_build
                   4346: ac_save_IFS=$IFS; IFS='-'
                   4347: set x $ac_cv_build
                   4348: shift
                   4349: build_cpu=$1
                   4350: build_vendor=$2
                   4351: shift; shift
                   4352: # Remember, the first character of IFS is used to create $*,
                   4353: # except with old shells:
                   4354: build_os=$*
                   4355: IFS=$ac_save_IFS
                   4356: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4357: 
                   4358: 
                   4359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4360: $as_echo_n "checking host system type... " >&6; }
1.1.1.2 ! misho    4361: if ${ac_cv_host+:} false; then :
1.1       misho    4362:   $as_echo_n "(cached) " >&6
                   4363: else
                   4364:   if test "x$host_alias" = x; then
                   4365:   ac_cv_host=$ac_cv_build
                   4366: else
                   4367:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.1.1.2 ! misho    4368:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1       misho    4369: fi
                   4370: 
                   4371: fi
                   4372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4373: $as_echo "$ac_cv_host" >&6; }
                   4374: case $ac_cv_host in
                   4375: *-*-*) ;;
1.1.1.2 ! misho    4376: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    4377: esac
                   4378: host=$ac_cv_host
                   4379: ac_save_IFS=$IFS; IFS='-'
                   4380: set x $ac_cv_host
                   4381: shift
                   4382: host_cpu=$1
                   4383: host_vendor=$2
                   4384: shift; shift
                   4385: # Remember, the first character of IFS is used to create $*,
                   4386: # except with old shells:
                   4387: host_os=$*
                   4388: IFS=$ac_save_IFS
                   4389: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   4390: 
                   4391: 
1.1.1.2 ! misho    4392: # Backslashify metacharacters that are still active within
        !          4393: # double-quoted strings.
        !          4394: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
        !          4395: 
        !          4396: # Same as above, but do not quote variable references.
        !          4397: double_quote_subst='s/\(["`\\]\)/\\\1/g'
        !          4398: 
        !          4399: # Sed substitution to delay expansion of an escaped shell variable in a
        !          4400: # double_quote_subst'ed string.
        !          4401: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
        !          4402: 
        !          4403: # Sed substitution to delay expansion of an escaped single quote.
        !          4404: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
        !          4405: 
        !          4406: # Sed substitution to avoid accidental globbing in evaled expressions
        !          4407: no_glob_subst='s/\*/\\\*/g'
        !          4408: 
        !          4409: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          4410: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
        !          4411: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
        !          4412: 
        !          4413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          4414: $as_echo_n "checking how to print strings... " >&6; }
        !          4415: # Test print first, because it will be a builtin if present.
        !          4416: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
        !          4417:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          4418:   ECHO='print -r --'
        !          4419: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          4420:   ECHO='printf %s\n'
        !          4421: else
        !          4422:   # Use this function as a fallback that always works.
        !          4423:   func_fallback_echo ()
        !          4424:   {
        !          4425:     eval 'cat <<_LTECHO_EOF
        !          4426: $1
        !          4427: _LTECHO_EOF'
        !          4428:   }
        !          4429:   ECHO='func_fallback_echo'
        !          4430: fi
        !          4431: 
        !          4432: # func_echo_all arg...
        !          4433: # Invoke $ECHO with all args, space-separated.
        !          4434: func_echo_all ()
        !          4435: {
        !          4436:     $ECHO ""
        !          4437: }
        !          4438: 
        !          4439: case $ECHO in
        !          4440:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          4441: $as_echo "printf" >&6; } ;;
        !          4442:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          4443: $as_echo "print -r" >&6; } ;;
        !          4444:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          4445: $as_echo "cat" >&6; } ;;
        !          4446: esac
        !          4447: 
        !          4448: 
        !          4449: 
        !          4450: 
        !          4451: 
        !          4452: 
        !          4453: 
        !          4454: 
        !          4455: 
        !          4456: 
        !          4457: 
        !          4458: 
        !          4459: 
        !          4460: 
1.1       misho    4461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4462: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.1.1.2 ! misho    4463: if ${ac_cv_path_SED+:} false; then :
1.1       misho    4464:   $as_echo_n "(cached) " >&6
                   4465: else
                   4466:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4467:      for ac_i in 1 2 3 4 5 6 7; do
                   4468:        ac_script="$ac_script$as_nl$ac_script"
                   4469:      done
                   4470:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4471:      { ac_script=; unset ac_script;}
                   4472:      if test -z "$SED"; then
                   4473:   ac_path_SED_found=false
                   4474:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4475:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4476: for as_dir in $PATH
                   4477: do
                   4478:   IFS=$as_save_IFS
                   4479:   test -z "$as_dir" && as_dir=.
                   4480:     for ac_prog in sed gsed; do
                   4481:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4482:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4483:       as_fn_executable_p "$ac_path_SED" || continue
1.1       misho    4484: # Check for GNU ac_path_SED and select it if it is found.
                   4485:   # Check for GNU $ac_path_SED
                   4486: case `"$ac_path_SED" --version 2>&1` in
                   4487: *GNU*)
                   4488:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4489: *)
                   4490:   ac_count=0
                   4491:   $as_echo_n 0123456789 >"conftest.in"
                   4492:   while :
                   4493:   do
                   4494:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4495:     mv "conftest.tmp" "conftest.in"
                   4496:     cp "conftest.in" "conftest.nl"
                   4497:     $as_echo '' >> "conftest.nl"
                   4498:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4499:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4500:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4501:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4502:       # Best one so far, save it but keep looking for a better one
                   4503:       ac_cv_path_SED="$ac_path_SED"
                   4504:       ac_path_SED_max=$ac_count
                   4505:     fi
                   4506:     # 10*(2^10) chars as input seems more than enough
                   4507:     test $ac_count -gt 10 && break
                   4508:   done
                   4509:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4510: esac
                   4511: 
                   4512:       $ac_path_SED_found && break 3
                   4513:     done
                   4514:   done
                   4515:   done
                   4516: IFS=$as_save_IFS
                   4517:   if test -z "$ac_cv_path_SED"; then
1.1.1.2 ! misho    4518:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.1       misho    4519:   fi
                   4520: else
                   4521:   ac_cv_path_SED=$SED
                   4522: fi
                   4523: 
                   4524: fi
                   4525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4526: $as_echo "$ac_cv_path_SED" >&6; }
                   4527:  SED="$ac_cv_path_SED"
                   4528:   rm -f conftest.sed
                   4529: 
                   4530: test -z "$SED" && SED=sed
                   4531: Xsed="$SED -e 1s/^X//"
                   4532: 
                   4533: 
                   4534: 
                   4535: 
                   4536: 
                   4537: 
                   4538: 
                   4539: 
                   4540: 
                   4541: 
                   4542: 
                   4543: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4544: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.1.1.2 ! misho    4545: if ${ac_cv_path_GREP+:} false; then :
1.1       misho    4546:   $as_echo_n "(cached) " >&6
                   4547: else
                   4548:   if test -z "$GREP"; then
                   4549:   ac_path_GREP_found=false
                   4550:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4551:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4552: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4553: do
                   4554:   IFS=$as_save_IFS
                   4555:   test -z "$as_dir" && as_dir=.
                   4556:     for ac_prog in grep ggrep; do
                   4557:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4558:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4559:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    4560: # Check for GNU ac_path_GREP and select it if it is found.
                   4561:   # Check for GNU $ac_path_GREP
                   4562: case `"$ac_path_GREP" --version 2>&1` in
                   4563: *GNU*)
                   4564:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4565: *)
                   4566:   ac_count=0
                   4567:   $as_echo_n 0123456789 >"conftest.in"
                   4568:   while :
                   4569:   do
                   4570:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4571:     mv "conftest.tmp" "conftest.in"
                   4572:     cp "conftest.in" "conftest.nl"
                   4573:     $as_echo 'GREP' >> "conftest.nl"
                   4574:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4575:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4576:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4577:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4578:       # Best one so far, save it but keep looking for a better one
                   4579:       ac_cv_path_GREP="$ac_path_GREP"
                   4580:       ac_path_GREP_max=$ac_count
                   4581:     fi
                   4582:     # 10*(2^10) chars as input seems more than enough
                   4583:     test $ac_count -gt 10 && break
                   4584:   done
                   4585:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4586: esac
                   4587: 
                   4588:       $ac_path_GREP_found && break 3
                   4589:     done
                   4590:   done
                   4591:   done
                   4592: IFS=$as_save_IFS
                   4593:   if test -z "$ac_cv_path_GREP"; then
1.1.1.2 ! misho    4594:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    4595:   fi
                   4596: else
                   4597:   ac_cv_path_GREP=$GREP
                   4598: fi
                   4599: 
                   4600: fi
                   4601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4602: $as_echo "$ac_cv_path_GREP" >&6; }
                   4603:  GREP="$ac_cv_path_GREP"
                   4604: 
                   4605: 
                   4606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4607: $as_echo_n "checking for egrep... " >&6; }
1.1.1.2 ! misho    4608: if ${ac_cv_path_EGREP+:} false; then :
1.1       misho    4609:   $as_echo_n "(cached) " >&6
                   4610: else
                   4611:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4612:    then ac_cv_path_EGREP="$GREP -E"
                   4613:    else
                   4614:      if test -z "$EGREP"; then
                   4615:   ac_path_EGREP_found=false
                   4616:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4617:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4618: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4619: do
                   4620:   IFS=$as_save_IFS
                   4621:   test -z "$as_dir" && as_dir=.
                   4622:     for ac_prog in egrep; do
                   4623:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4624:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4625:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    4626: # Check for GNU ac_path_EGREP and select it if it is found.
                   4627:   # Check for GNU $ac_path_EGREP
                   4628: case `"$ac_path_EGREP" --version 2>&1` in
                   4629: *GNU*)
                   4630:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4631: *)
                   4632:   ac_count=0
                   4633:   $as_echo_n 0123456789 >"conftest.in"
                   4634:   while :
                   4635:   do
                   4636:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4637:     mv "conftest.tmp" "conftest.in"
                   4638:     cp "conftest.in" "conftest.nl"
                   4639:     $as_echo 'EGREP' >> "conftest.nl"
                   4640:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4641:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4642:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4643:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4644:       # Best one so far, save it but keep looking for a better one
                   4645:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4646:       ac_path_EGREP_max=$ac_count
                   4647:     fi
                   4648:     # 10*(2^10) chars as input seems more than enough
                   4649:     test $ac_count -gt 10 && break
                   4650:   done
                   4651:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4652: esac
                   4653: 
                   4654:       $ac_path_EGREP_found && break 3
                   4655:     done
                   4656:   done
                   4657:   done
                   4658: IFS=$as_save_IFS
                   4659:   if test -z "$ac_cv_path_EGREP"; then
1.1.1.2 ! misho    4660:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    4661:   fi
                   4662: else
                   4663:   ac_cv_path_EGREP=$EGREP
                   4664: fi
                   4665: 
                   4666:    fi
                   4667: fi
                   4668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4669: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4670:  EGREP="$ac_cv_path_EGREP"
                   4671: 
                   4672: 
                   4673: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4674: $as_echo_n "checking for fgrep... " >&6; }
1.1.1.2 ! misho    4675: if ${ac_cv_path_FGREP+:} false; then :
1.1       misho    4676:   $as_echo_n "(cached) " >&6
                   4677: else
                   4678:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4679:    then ac_cv_path_FGREP="$GREP -F"
                   4680:    else
                   4681:      if test -z "$FGREP"; then
                   4682:   ac_path_FGREP_found=false
                   4683:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4684:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4685: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4686: do
                   4687:   IFS=$as_save_IFS
                   4688:   test -z "$as_dir" && as_dir=.
                   4689:     for ac_prog in fgrep; do
                   4690:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4691:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4692:       as_fn_executable_p "$ac_path_FGREP" || continue
1.1       misho    4693: # Check for GNU ac_path_FGREP and select it if it is found.
                   4694:   # Check for GNU $ac_path_FGREP
                   4695: case `"$ac_path_FGREP" --version 2>&1` in
                   4696: *GNU*)
                   4697:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4698: *)
                   4699:   ac_count=0
                   4700:   $as_echo_n 0123456789 >"conftest.in"
                   4701:   while :
                   4702:   do
                   4703:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4704:     mv "conftest.tmp" "conftest.in"
                   4705:     cp "conftest.in" "conftest.nl"
                   4706:     $as_echo 'FGREP' >> "conftest.nl"
                   4707:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4708:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4709:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4710:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4711:       # Best one so far, save it but keep looking for a better one
                   4712:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4713:       ac_path_FGREP_max=$ac_count
                   4714:     fi
                   4715:     # 10*(2^10) chars as input seems more than enough
                   4716:     test $ac_count -gt 10 && break
                   4717:   done
                   4718:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4719: esac
                   4720: 
                   4721:       $ac_path_FGREP_found && break 3
                   4722:     done
                   4723:   done
                   4724:   done
                   4725: IFS=$as_save_IFS
                   4726:   if test -z "$ac_cv_path_FGREP"; then
1.1.1.2 ! misho    4727:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    4728:   fi
                   4729: else
                   4730:   ac_cv_path_FGREP=$FGREP
                   4731: fi
                   4732: 
                   4733:    fi
                   4734: fi
                   4735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4736: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4737:  FGREP="$ac_cv_path_FGREP"
                   4738: 
                   4739: 
                   4740: test -z "$GREP" && GREP=grep
                   4741: 
                   4742: 
                   4743: 
                   4744: 
                   4745: 
                   4746: 
                   4747: 
                   4748: 
                   4749: 
                   4750: 
                   4751: 
                   4752: 
                   4753: 
                   4754: 
                   4755: 
                   4756: 
                   4757: 
                   4758: 
                   4759: 
                   4760: # Check whether --with-gnu-ld was given.
                   4761: if test "${with_gnu_ld+set}" = set; then :
1.1.1.2 ! misho    4762:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
1.1       misho    4763: else
                   4764:   with_gnu_ld=no
                   4765: fi
                   4766: 
                   4767: ac_prog=ld
1.1.1.2 ! misho    4768: if test yes = "$GCC"; then
1.1       misho    4769:   # Check if gcc -print-prog-name=ld gives a path.
                   4770:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4771: $as_echo_n "checking for ld used by $CC... " >&6; }
                   4772:   case $host in
                   4773:   *-*-mingw*)
1.1.1.2 ! misho    4774:     # gcc leaves a trailing carriage return, which upsets mingw
1.1       misho    4775:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4776:   *)
                   4777:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4778:   esac
                   4779:   case $ac_prog in
                   4780:     # Accept absolute paths.
                   4781:     [\\/]* | ?:[\\/]*)
                   4782:       re_direlt='/[^/][^/]*/\.\./'
                   4783:       # Canonicalize the pathname of ld
                   4784:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4785:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4786:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4787:       done
1.1.1.2 ! misho    4788:       test -z "$LD" && LD=$ac_prog
1.1       misho    4789:       ;;
                   4790:   "")
                   4791:     # If it fails, then pretend we aren't using GCC.
                   4792:     ac_prog=ld
                   4793:     ;;
                   4794:   *)
                   4795:     # If it is relative, then search for the first ld in PATH.
                   4796:     with_gnu_ld=unknown
                   4797:     ;;
                   4798:   esac
1.1.1.2 ! misho    4799: elif test yes = "$with_gnu_ld"; then
1.1       misho    4800:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4801: $as_echo_n "checking for GNU ld... " >&6; }
                   4802: else
                   4803:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4804: $as_echo_n "checking for non-GNU ld... " >&6; }
                   4805: fi
1.1.1.2 ! misho    4806: if ${lt_cv_path_LD+:} false; then :
1.1       misho    4807:   $as_echo_n "(cached) " >&6
                   4808: else
                   4809:   if test -z "$LD"; then
1.1.1.2 ! misho    4810:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    4811:   for ac_dir in $PATH; do
1.1.1.2 ! misho    4812:     IFS=$lt_save_ifs
1.1       misho    4813:     test -z "$ac_dir" && ac_dir=.
                   4814:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.1.1.2 ! misho    4815:       lt_cv_path_LD=$ac_dir/$ac_prog
1.1       misho    4816:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4817:       # but apparently some variants of GNU ld only accept -v.
                   4818:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4819:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4820:       *GNU* | *'with BFD'*)
1.1.1.2 ! misho    4821:        test no != "$with_gnu_ld" && break
1.1       misho    4822:        ;;
                   4823:       *)
1.1.1.2 ! misho    4824:        test yes != "$with_gnu_ld" && break
1.1       misho    4825:        ;;
                   4826:       esac
                   4827:     fi
                   4828:   done
1.1.1.2 ! misho    4829:   IFS=$lt_save_ifs
1.1       misho    4830: else
1.1.1.2 ! misho    4831:   lt_cv_path_LD=$LD # Let the user override the test with a path.
1.1       misho    4832: fi
                   4833: fi
                   4834: 
1.1.1.2 ! misho    4835: LD=$lt_cv_path_LD
1.1       misho    4836: if test -n "$LD"; then
                   4837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4838: $as_echo "$LD" >&6; }
                   4839: else
                   4840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4841: $as_echo "no" >&6; }
                   4842: fi
1.1.1.2 ! misho    4843: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.1       misho    4844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4845: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.1.1.2 ! misho    4846: if ${lt_cv_prog_gnu_ld+:} false; then :
1.1       misho    4847:   $as_echo_n "(cached) " >&6
                   4848: else
                   4849:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4850: case `$LD -v 2>&1 </dev/null` in
                   4851: *GNU* | *'with BFD'*)
                   4852:   lt_cv_prog_gnu_ld=yes
                   4853:   ;;
                   4854: *)
                   4855:   lt_cv_prog_gnu_ld=no
                   4856:   ;;
                   4857: esac
                   4858: fi
                   4859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4860: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   4861: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4862: 
                   4863: 
                   4864: 
                   4865: 
                   4866: 
                   4867: 
                   4868: 
                   4869: 
                   4870: 
                   4871: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4872: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.1.1.2 ! misho    4873: if ${lt_cv_path_NM+:} false; then :
1.1       misho    4874:   $as_echo_n "(cached) " >&6
                   4875: else
                   4876:   if test -n "$NM"; then
                   4877:   # Let the user override the test.
1.1.1.2 ! misho    4878:   lt_cv_path_NM=$NM
1.1       misho    4879: else
1.1.1.2 ! misho    4880:   lt_nm_to_check=${ac_tool_prefix}nm
1.1       misho    4881:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4882:     lt_nm_to_check="$lt_nm_to_check nm"
                   4883:   fi
                   4884:   for lt_tmp_nm in $lt_nm_to_check; do
1.1.1.2 ! misho    4885:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    4886:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1.1.1.2 ! misho    4887:       IFS=$lt_save_ifs
1.1       misho    4888:       test -z "$ac_dir" && ac_dir=.
1.1.1.2 ! misho    4889:       tmp_nm=$ac_dir/$lt_tmp_nm
        !          4890:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
1.1       misho    4891:        # Check to see if the nm accepts a BSD-compat flag.
1.1.1.2 ! misho    4892:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
1.1       misho    4893:        #   nm: unknown option "B" ignored
                   4894:        # Tru64's nm complains that /dev/null is an invalid object file
1.1.1.2 ! misho    4895:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
        !          4896:        case $build_os in
        !          4897:        mingw*) lt_bad_file=conftest.nm/nofile ;;
        !          4898:        *) lt_bad_file=/dev/null ;;
        !          4899:        esac
        !          4900:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
        !          4901:        *$lt_bad_file* | *'Invalid file or object type'*)
1.1       misho    4902:          lt_cv_path_NM="$tmp_nm -B"
1.1.1.2 ! misho    4903:          break 2
1.1       misho    4904:          ;;
                   4905:        *)
                   4906:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4907:          */dev/null*)
                   4908:            lt_cv_path_NM="$tmp_nm -p"
1.1.1.2 ! misho    4909:            break 2
1.1       misho    4910:            ;;
                   4911:          *)
                   4912:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4913:            continue # so that we can try to find one that supports BSD flags
                   4914:            ;;
                   4915:          esac
                   4916:          ;;
                   4917:        esac
                   4918:       fi
                   4919:     done
1.1.1.2 ! misho    4920:     IFS=$lt_save_ifs
1.1       misho    4921:   done
                   4922:   : ${lt_cv_path_NM=no}
                   4923: fi
                   4924: fi
                   4925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   4926: $as_echo "$lt_cv_path_NM" >&6; }
1.1.1.2 ! misho    4927: if test no != "$lt_cv_path_NM"; then
        !          4928:   NM=$lt_cv_path_NM
1.1       misho    4929: else
                   4930:   # Didn't find any BSD compatible name lister, look for dumpbin.
1.1.1.2 ! misho    4931:   if test -n "$DUMPBIN"; then :
        !          4932:     # Let the user override the test.
        !          4933:   else
        !          4934:     if test -n "$ac_tool_prefix"; then
        !          4935:   for ac_prog in dumpbin "link -dump"
1.1       misho    4936:   do
                   4937:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4938: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4940: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4941: if ${ac_cv_prog_DUMPBIN+:} false; then :
1.1       misho    4942:   $as_echo_n "(cached) " >&6
                   4943: else
                   4944:   if test -n "$DUMPBIN"; then
                   4945:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4946: else
                   4947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4948: for as_dir in $PATH
                   4949: do
                   4950:   IFS=$as_save_IFS
                   4951:   test -z "$as_dir" && as_dir=.
                   4952:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    4953:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4954:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4955:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4956:     break 2
                   4957:   fi
                   4958: done
                   4959:   done
                   4960: IFS=$as_save_IFS
                   4961: 
                   4962: fi
                   4963: fi
                   4964: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4965: if test -n "$DUMPBIN"; then
                   4966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   4967: $as_echo "$DUMPBIN" >&6; }
                   4968: else
                   4969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4970: $as_echo "no" >&6; }
                   4971: fi
                   4972: 
                   4973: 
                   4974:     test -n "$DUMPBIN" && break
                   4975:   done
                   4976: fi
                   4977: if test -z "$DUMPBIN"; then
                   4978:   ac_ct_DUMPBIN=$DUMPBIN
1.1.1.2 ! misho    4979:   for ac_prog in dumpbin "link -dump"
1.1       misho    4980: do
                   4981:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4982: set dummy $ac_prog; ac_word=$2
                   4983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4984: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4985: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
1.1       misho    4986:   $as_echo_n "(cached) " >&6
                   4987: else
                   4988:   if test -n "$ac_ct_DUMPBIN"; then
                   4989:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4990: else
                   4991: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4992: for as_dir in $PATH
                   4993: do
                   4994:   IFS=$as_save_IFS
                   4995:   test -z "$as_dir" && as_dir=.
                   4996:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    4997:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4998:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4999:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5000:     break 2
                   5001:   fi
                   5002: done
                   5003:   done
                   5004: IFS=$as_save_IFS
                   5005: 
                   5006: fi
                   5007: fi
                   5008: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5009: if test -n "$ac_ct_DUMPBIN"; then
                   5010:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5011: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   5012: else
                   5013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5014: $as_echo "no" >&6; }
                   5015: fi
                   5016: 
                   5017: 
                   5018:   test -n "$ac_ct_DUMPBIN" && break
                   5019: done
                   5020: 
                   5021:   if test "x$ac_ct_DUMPBIN" = x; then
                   5022:     DUMPBIN=":"
                   5023:   else
                   5024:     case $cross_compiling:$ac_tool_warned in
                   5025: yes:)
                   5026: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5027: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5028: ac_tool_warned=yes ;;
                   5029: esac
                   5030:     DUMPBIN=$ac_ct_DUMPBIN
                   5031:   fi
                   5032: fi
                   5033: 
1.1.1.2 ! misho    5034:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
        !          5035:     *COFF*)
        !          5036:       DUMPBIN="$DUMPBIN -symbols -headers"
        !          5037:       ;;
        !          5038:     *)
        !          5039:       DUMPBIN=:
        !          5040:       ;;
        !          5041:     esac
        !          5042:   fi
1.1       misho    5043: 
1.1.1.2 ! misho    5044:   if test : != "$DUMPBIN"; then
        !          5045:     NM=$DUMPBIN
1.1       misho    5046:   fi
                   5047: fi
                   5048: test -z "$NM" && NM=nm
                   5049: 
                   5050: 
                   5051: 
                   5052: 
                   5053: 
                   5054: 
                   5055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5056: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.1.1.2 ! misho    5057: if ${lt_cv_nm_interface+:} false; then :
1.1       misho    5058:   $as_echo_n "(cached) " >&6
                   5059: else
                   5060:   lt_cv_nm_interface="BSD nm"
                   5061:   echo "int some_variable = 0;" > conftest.$ac_ext
1.1.1.2 ! misho    5062:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
1.1       misho    5063:   (eval "$ac_compile" 2>conftest.err)
                   5064:   cat conftest.err >&5
1.1.1.2 ! misho    5065:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
1.1       misho    5066:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5067:   cat conftest.err >&5
1.1.1.2 ! misho    5068:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
1.1       misho    5069:   cat conftest.out >&5
                   5070:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5071:     lt_cv_nm_interface="MS dumpbin"
                   5072:   fi
                   5073:   rm -f conftest*
                   5074: fi
                   5075: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5076: $as_echo "$lt_cv_nm_interface" >&6; }
                   5077: 
                   5078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5079: $as_echo_n "checking whether ln -s works... " >&6; }
                   5080: LN_S=$as_ln_s
                   5081: if test "$LN_S" = "ln -s"; then
                   5082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5083: $as_echo "yes" >&6; }
                   5084: else
                   5085:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5086: $as_echo "no, using $LN_S" >&6; }
                   5087: fi
                   5088: 
                   5089: # find the maximum length of command line arguments
                   5090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5091: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.1.1.2 ! misho    5092: if ${lt_cv_sys_max_cmd_len+:} false; then :
1.1       misho    5093:   $as_echo_n "(cached) " >&6
                   5094: else
                   5095:     i=0
1.1.1.2 ! misho    5096:   teststring=ABCD
1.1       misho    5097: 
                   5098:   case $build_os in
                   5099:   msdosdjgpp*)
                   5100:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5101:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5102:     # during glob expansion).  Even if it were fixed, the result of this
                   5103:     # check would be larger than it should be.
                   5104:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5105:     ;;
                   5106: 
                   5107:   gnu*)
                   5108:     # Under GNU Hurd, this test is not required because there is
                   5109:     # no limit to the length of command line arguments.
                   5110:     # Libtool will interpret -1 as no limit whatsoever
                   5111:     lt_cv_sys_max_cmd_len=-1;
                   5112:     ;;
                   5113: 
                   5114:   cygwin* | mingw* | cegcc*)
                   5115:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5116:     # about 5 minutes as the teststring grows exponentially.
                   5117:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5118:     # you end up with a "frozen" computer, even though with patience
                   5119:     # the test eventually succeeds (with a max line length of 256k).
                   5120:     # Instead, let's just punt: use the minimum linelength reported by
                   5121:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5122:     lt_cv_sys_max_cmd_len=8192;
                   5123:     ;;
                   5124: 
1.1.1.2 ! misho    5125:   mint*)
        !          5126:     # On MiNT this can take a long time and run out of memory.
        !          5127:     lt_cv_sys_max_cmd_len=8192;
        !          5128:     ;;
        !          5129: 
1.1       misho    5130:   amigaos*)
                   5131:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5132:     # So we just punt and use a minimum line length of 8192.
                   5133:     lt_cv_sys_max_cmd_len=8192;
                   5134:     ;;
                   5135: 
1.1.1.2 ! misho    5136:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1.1       misho    5137:     # This has been around since 386BSD, at least.  Likely further.
                   5138:     if test -x /sbin/sysctl; then
                   5139:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5140:     elif test -x /usr/sbin/sysctl; then
                   5141:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5142:     else
                   5143:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5144:     fi
                   5145:     # And add a safety zone
                   5146:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5147:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5148:     ;;
                   5149: 
                   5150:   interix*)
                   5151:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5152:     lt_cv_sys_max_cmd_len=196608
                   5153:     ;;
                   5154: 
1.1.1.2 ! misho    5155:   os2*)
        !          5156:     # The test takes a long time on OS/2.
        !          5157:     lt_cv_sys_max_cmd_len=8192
        !          5158:     ;;
        !          5159: 
1.1       misho    5160:   osf*)
                   5161:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5162:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5163:     # nice to cause kernel panics so lets avoid the loop below.
                   5164:     # First set a reasonable default.
                   5165:     lt_cv_sys_max_cmd_len=16384
                   5166:     #
                   5167:     if test -x /sbin/sysconfig; then
                   5168:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5169:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5170:       esac
                   5171:     fi
                   5172:     ;;
                   5173:   sco3.2v5*)
                   5174:     lt_cv_sys_max_cmd_len=102400
                   5175:     ;;
                   5176:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5177:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5178:     if test -n "$kargmax"; then
                   5179:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5180:     else
                   5181:       lt_cv_sys_max_cmd_len=32768
                   5182:     fi
                   5183:     ;;
                   5184:   *)
                   5185:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1.1.1.2 ! misho    5186:     if test -n "$lt_cv_sys_max_cmd_len" && \
        !          5187:        test undefined != "$lt_cv_sys_max_cmd_len"; then
1.1       misho    5188:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5189:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5190:     else
                   5191:       # Make teststring a little bigger before we do anything with it.
                   5192:       # a 1K string should be a reasonable start.
1.1.1.2 ! misho    5193:       for i in 1 2 3 4 5 6 7 8; do
1.1       misho    5194:         teststring=$teststring$teststring
                   5195:       done
                   5196:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5197:       # If test is not a shell built-in, we'll probably end up computing a
                   5198:       # maximum length that is only half of the actual maximum length, but
                   5199:       # we can't tell.
1.1.1.2 ! misho    5200:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
        !          5201:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
        !          5202:              test 17 != "$i" # 1/2 MB should be enough
1.1       misho    5203:       do
                   5204:         i=`expr $i + 1`
                   5205:         teststring=$teststring$teststring
                   5206:       done
                   5207:       # Only check the string length outside the loop.
                   5208:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5209:       teststring=
                   5210:       # Add a significant safety factor because C++ compilers can tack on
                   5211:       # massive amounts of additional arguments before passing them to the
                   5212:       # linker.  It appears as though 1/2 is a usable value.
                   5213:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5214:     fi
                   5215:     ;;
                   5216:   esac
                   5217: 
                   5218: fi
                   5219: 
1.1.1.2 ! misho    5220: if test -n "$lt_cv_sys_max_cmd_len"; then
1.1       misho    5221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5222: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   5223: else
                   5224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5225: $as_echo "none" >&6; }
                   5226: fi
                   5227: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5228: 
                   5229: 
                   5230: 
                   5231: 
                   5232: 
                   5233: 
                   5234: : ${CP="cp -f"}
                   5235: : ${MV="mv -f"}
                   5236: : ${RM="rm -f"}
                   5237: 
                   5238: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5239:   lt_unset=unset
                   5240: else
                   5241:   lt_unset=false
                   5242: fi
                   5243: 
                   5244: 
                   5245: 
                   5246: 
                   5247: 
                   5248: # test EBCDIC or ASCII
                   5249: case `echo X|tr X '\101'` in
                   5250:  A) # ASCII based system
                   5251:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5252:   lt_SP2NL='tr \040 \012'
                   5253:   lt_NL2SP='tr \015\012 \040\040'
                   5254:   ;;
                   5255:  *) # EBCDIC based system
                   5256:   lt_SP2NL='tr \100 \n'
                   5257:   lt_NL2SP='tr \r\n \100\100'
                   5258:   ;;
                   5259: esac
                   5260: 
                   5261: 
                   5262: 
                   5263: 
                   5264: 
                   5265: 
                   5266: 
                   5267: 
                   5268: 
1.1.1.2 ! misho    5269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          5270: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
        !          5271: if ${lt_cv_to_host_file_cmd+:} false; then :
        !          5272:   $as_echo_n "(cached) " >&6
        !          5273: else
        !          5274:   case $host in
        !          5275:   *-*-mingw* )
        !          5276:     case $build in
        !          5277:       *-*-mingw* ) # actually msys
        !          5278:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        !          5279:         ;;
        !          5280:       *-*-cygwin* )
        !          5281:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        !          5282:         ;;
        !          5283:       * ) # otherwise, assume *nix
        !          5284:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
        !          5285:         ;;
        !          5286:     esac
        !          5287:     ;;
        !          5288:   *-*-cygwin* )
        !          5289:     case $build in
        !          5290:       *-*-mingw* ) # actually msys
        !          5291:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        !          5292:         ;;
        !          5293:       *-*-cygwin* )
        !          5294:         lt_cv_to_host_file_cmd=func_convert_file_noop
        !          5295:         ;;
        !          5296:       * ) # otherwise, assume *nix
        !          5297:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        !          5298:         ;;
        !          5299:     esac
        !          5300:     ;;
        !          5301:   * ) # unhandled hosts (and "normal" native builds)
        !          5302:     lt_cv_to_host_file_cmd=func_convert_file_noop
        !          5303:     ;;
        !          5304: esac
        !          5305: 
        !          5306: fi
        !          5307: 
        !          5308: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          5309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          5310: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
        !          5311: 
        !          5312: 
        !          5313: 
        !          5314: 
        !          5315: 
        !          5316: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          5317: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
        !          5318: if ${lt_cv_to_tool_file_cmd+:} false; then :
        !          5319:   $as_echo_n "(cached) " >&6
        !          5320: else
        !          5321:   #assume ordinary cross tools, or native build.
        !          5322: lt_cv_to_tool_file_cmd=func_convert_file_noop
        !          5323: case $host in
        !          5324:   *-*-mingw* )
        !          5325:     case $build in
        !          5326:       *-*-mingw* ) # actually msys
        !          5327:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        !          5328:         ;;
        !          5329:     esac
        !          5330:     ;;
        !          5331: esac
        !          5332: 
        !          5333: fi
        !          5334: 
        !          5335: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          5336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          5337: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
        !          5338: 
        !          5339: 
        !          5340: 
        !          5341: 
        !          5342: 
1.1       misho    5343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5344: $as_echo_n "checking for $LD option to reload object files... " >&6; }
1.1.1.2 ! misho    5345: if ${lt_cv_ld_reload_flag+:} false; then :
1.1       misho    5346:   $as_echo_n "(cached) " >&6
                   5347: else
                   5348:   lt_cv_ld_reload_flag='-r'
                   5349: fi
                   5350: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5351: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5352: reload_flag=$lt_cv_ld_reload_flag
                   5353: case $reload_flag in
                   5354: "" | " "*) ;;
                   5355: *) reload_flag=" $reload_flag" ;;
                   5356: esac
                   5357: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5358: case $host_os in
1.1.1.2 ! misho    5359:   cygwin* | mingw* | pw32* | cegcc*)
        !          5360:     if test yes != "$GCC"; then
        !          5361:       reload_cmds=false
        !          5362:     fi
        !          5363:     ;;
1.1       misho    5364:   darwin*)
1.1.1.2 ! misho    5365:     if test yes = "$GCC"; then
        !          5366:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
1.1       misho    5367:     else
                   5368:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5369:     fi
                   5370:     ;;
                   5371: esac
                   5372: 
                   5373: 
                   5374: 
                   5375: 
                   5376: 
                   5377: 
                   5378: 
                   5379: 
                   5380: 
                   5381: if test -n "$ac_tool_prefix"; then
                   5382:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5383: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5385: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5386: if ${ac_cv_prog_OBJDUMP+:} false; then :
1.1       misho    5387:   $as_echo_n "(cached) " >&6
                   5388: else
                   5389:   if test -n "$OBJDUMP"; then
                   5390:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5391: else
                   5392: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5393: for as_dir in $PATH
                   5394: do
                   5395:   IFS=$as_save_IFS
                   5396:   test -z "$as_dir" && as_dir=.
                   5397:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5398:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5399:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5400:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5401:     break 2
                   5402:   fi
                   5403: done
                   5404:   done
                   5405: IFS=$as_save_IFS
                   5406: 
                   5407: fi
                   5408: fi
                   5409: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5410: if test -n "$OBJDUMP"; then
                   5411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5412: $as_echo "$OBJDUMP" >&6; }
                   5413: else
                   5414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5415: $as_echo "no" >&6; }
                   5416: fi
                   5417: 
                   5418: 
                   5419: fi
                   5420: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5421:   ac_ct_OBJDUMP=$OBJDUMP
                   5422:   # Extract the first word of "objdump", so it can be a program name with args.
                   5423: set dummy objdump; ac_word=$2
                   5424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5425: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5426: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.1       misho    5427:   $as_echo_n "(cached) " >&6
                   5428: else
                   5429:   if test -n "$ac_ct_OBJDUMP"; then
                   5430:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5431: else
                   5432: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5433: for as_dir in $PATH
                   5434: do
                   5435:   IFS=$as_save_IFS
                   5436:   test -z "$as_dir" && as_dir=.
                   5437:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5438:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5439:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5440:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5441:     break 2
                   5442:   fi
                   5443: done
                   5444:   done
                   5445: IFS=$as_save_IFS
                   5446: 
                   5447: fi
                   5448: fi
                   5449: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5450: if test -n "$ac_ct_OBJDUMP"; then
                   5451:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5452: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5453: else
                   5454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5455: $as_echo "no" >&6; }
                   5456: fi
                   5457: 
                   5458:   if test "x$ac_ct_OBJDUMP" = x; then
                   5459:     OBJDUMP="false"
                   5460:   else
                   5461:     case $cross_compiling:$ac_tool_warned in
                   5462: yes:)
                   5463: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5464: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5465: ac_tool_warned=yes ;;
                   5466: esac
                   5467:     OBJDUMP=$ac_ct_OBJDUMP
                   5468:   fi
                   5469: else
                   5470:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5471: fi
                   5472: 
                   5473: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5474: 
                   5475: 
                   5476: 
                   5477: 
                   5478: 
                   5479: 
                   5480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5481: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.1.1.2 ! misho    5482: if ${lt_cv_deplibs_check_method+:} false; then :
1.1       misho    5483:   $as_echo_n "(cached) " >&6
                   5484: else
                   5485:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5486: lt_cv_file_magic_test_file=
                   5487: lt_cv_deplibs_check_method='unknown'
                   5488: # Need to set the preceding variable on all platforms that support
                   5489: # interlibrary dependencies.
                   5490: # 'none' -- dependencies not supported.
1.1.1.2 ! misho    5491: # 'unknown' -- same as none, but documents that we really don't know.
1.1       misho    5492: # 'pass_all' -- all dependencies passed with no checks.
                   5493: # 'test_compile' -- check by making test program.
                   5494: # 'file_magic [[regex]]' -- check by looking for files in library path
1.1.1.2 ! misho    5495: # that responds to the $file_magic_cmd with a given extended regex.
        !          5496: # If you have 'file' or equivalent on your system and you're not sure
        !          5497: # whether 'pass_all' will *always* work, you probably want this one.
1.1       misho    5498: 
                   5499: case $host_os in
                   5500: aix[4-9]*)
                   5501:   lt_cv_deplibs_check_method=pass_all
                   5502:   ;;
                   5503: 
                   5504: beos*)
                   5505:   lt_cv_deplibs_check_method=pass_all
                   5506:   ;;
                   5507: 
                   5508: bsdi[45]*)
                   5509:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5510:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5511:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5512:   ;;
                   5513: 
                   5514: cygwin*)
                   5515:   # func_win32_libid is a shell function defined in ltmain.sh
                   5516:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5517:   lt_cv_file_magic_cmd='func_win32_libid'
                   5518:   ;;
                   5519: 
                   5520: mingw* | pw32*)
                   5521:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5522:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5523:   # unless we find 'file', for example because we are cross-compiling.
                   5524:   if ( file / ) >/dev/null 2>&1; then
                   5525:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5526:     lt_cv_file_magic_cmd='func_win32_libid'
                   5527:   else
1.1.1.2 ! misho    5528:     # Keep this pattern in sync with the one in func_win32_libid.
        !          5529:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
1.1       misho    5530:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5531:   fi
                   5532:   ;;
                   5533: 
1.1.1.2 ! misho    5534: cegcc*)
1.1       misho    5535:   # use the weaker test based on 'objdump'. See mingw*.
                   5536:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5537:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5538:   ;;
                   5539: 
                   5540: darwin* | rhapsody*)
                   5541:   lt_cv_deplibs_check_method=pass_all
                   5542:   ;;
                   5543: 
                   5544: freebsd* | dragonfly*)
                   5545:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5546:     case $host_cpu in
                   5547:     i*86 )
                   5548:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5549:       # Let's accept both of them until this is cleared up.
                   5550:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5551:       lt_cv_file_magic_cmd=/usr/bin/file
                   5552:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5553:       ;;
                   5554:     esac
                   5555:   else
                   5556:     lt_cv_deplibs_check_method=pass_all
                   5557:   fi
                   5558:   ;;
                   5559: 
1.1.1.2 ! misho    5560: haiku*)
1.1       misho    5561:   lt_cv_deplibs_check_method=pass_all
                   5562:   ;;
                   5563: 
                   5564: hpux10.20* | hpux11*)
                   5565:   lt_cv_file_magic_cmd=/usr/bin/file
                   5566:   case $host_cpu in
                   5567:   ia64*)
                   5568:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5569:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5570:     ;;
                   5571:   hppa*64*)
1.1.1.2 ! misho    5572:     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]'
1.1       misho    5573:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5574:     ;;
                   5575:   *)
1.1.1.2 ! misho    5576:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
1.1       misho    5577:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5578:     ;;
                   5579:   esac
                   5580:   ;;
                   5581: 
                   5582: interix[3-9]*)
                   5583:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5584:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5585:   ;;
                   5586: 
                   5587: irix5* | irix6* | nonstopux*)
                   5588:   case $LD in
                   5589:   *-32|*"-32 ") libmagic=32-bit;;
                   5590:   *-n32|*"-n32 ") libmagic=N32;;
                   5591:   *-64|*"-64 ") libmagic=64-bit;;
                   5592:   *) libmagic=never-match;;
                   5593:   esac
                   5594:   lt_cv_deplibs_check_method=pass_all
                   5595:   ;;
                   5596: 
1.1.1.2 ! misho    5597: # This must be glibc/ELF.
        !          5598: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.1       misho    5599:   lt_cv_deplibs_check_method=pass_all
                   5600:   ;;
                   5601: 
1.1.1.2 ! misho    5602: netbsd* | netbsdelf*-gnu)
1.1       misho    5603:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5604:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5605:   else
                   5606:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5607:   fi
                   5608:   ;;
                   5609: 
                   5610: newos6*)
                   5611:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5612:   lt_cv_file_magic_cmd=/usr/bin/file
                   5613:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5614:   ;;
                   5615: 
                   5616: *nto* | *qnx*)
                   5617:   lt_cv_deplibs_check_method=pass_all
                   5618:   ;;
                   5619: 
1.1.1.2 ! misho    5620: openbsd* | bitrig*)
        !          5621:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.1       misho    5622:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5623:   else
                   5624:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5625:   fi
                   5626:   ;;
                   5627: 
                   5628: osf3* | osf4* | osf5*)
                   5629:   lt_cv_deplibs_check_method=pass_all
                   5630:   ;;
                   5631: 
                   5632: rdos*)
                   5633:   lt_cv_deplibs_check_method=pass_all
                   5634:   ;;
                   5635: 
                   5636: solaris*)
                   5637:   lt_cv_deplibs_check_method=pass_all
                   5638:   ;;
                   5639: 
                   5640: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5641:   lt_cv_deplibs_check_method=pass_all
                   5642:   ;;
                   5643: 
                   5644: sysv4 | sysv4.3*)
                   5645:   case $host_vendor in
                   5646:   motorola)
                   5647:     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]'
                   5648:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5649:     ;;
                   5650:   ncr)
                   5651:     lt_cv_deplibs_check_method=pass_all
                   5652:     ;;
                   5653:   sequent)
                   5654:     lt_cv_file_magic_cmd='/bin/file'
                   5655:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5656:     ;;
                   5657:   sni)
                   5658:     lt_cv_file_magic_cmd='/bin/file'
                   5659:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5660:     lt_cv_file_magic_test_file=/lib/libc.so
                   5661:     ;;
                   5662:   siemens)
                   5663:     lt_cv_deplibs_check_method=pass_all
                   5664:     ;;
                   5665:   pc)
                   5666:     lt_cv_deplibs_check_method=pass_all
                   5667:     ;;
                   5668:   esac
                   5669:   ;;
                   5670: 
                   5671: tpf*)
                   5672:   lt_cv_deplibs_check_method=pass_all
                   5673:   ;;
1.1.1.2 ! misho    5674: os2*)
        !          5675:   lt_cv_deplibs_check_method=pass_all
        !          5676:   ;;
1.1       misho    5677: esac
                   5678: 
                   5679: fi
                   5680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5681: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.1.1.2 ! misho    5682: 
        !          5683: file_magic_glob=
        !          5684: want_nocaseglob=no
        !          5685: if test "$build" = "$host"; then
        !          5686:   case $host_os in
        !          5687:   mingw* | pw32*)
        !          5688:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
        !          5689:       want_nocaseglob=yes
        !          5690:     else
        !          5691:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
        !          5692:     fi
        !          5693:     ;;
        !          5694:   esac
        !          5695: fi
        !          5696: 
1.1       misho    5697: file_magic_cmd=$lt_cv_file_magic_cmd
                   5698: deplibs_check_method=$lt_cv_deplibs_check_method
                   5699: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5700: 
                   5701: 
                   5702: 
                   5703: 
                   5704: 
                   5705: 
                   5706: 
                   5707: 
                   5708: 
                   5709: 
                   5710: 
                   5711: 
1.1.1.2 ! misho    5712: 
        !          5713: 
        !          5714: 
        !          5715: 
        !          5716: 
        !          5717: 
        !          5718: 
        !          5719: 
        !          5720: 
        !          5721: 
1.1       misho    5722: if test -n "$ac_tool_prefix"; then
1.1.1.2 ! misho    5723:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          5724: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.1       misho    5725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5726: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5727: if ${ac_cv_prog_DLLTOOL+:} false; then :
1.1       misho    5728:   $as_echo_n "(cached) " >&6
                   5729: else
1.1.1.2 ! misho    5730:   if test -n "$DLLTOOL"; then
        !          5731:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
        !          5732: else
        !          5733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5734: for as_dir in $PATH
        !          5735: do
        !          5736:   IFS=$as_save_IFS
        !          5737:   test -z "$as_dir" && as_dir=.
        !          5738:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5739:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5740:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
        !          5741:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5742:     break 2
        !          5743:   fi
        !          5744: done
        !          5745:   done
        !          5746: IFS=$as_save_IFS
        !          5747: 
        !          5748: fi
        !          5749: fi
        !          5750: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          5751: if test -n "$DLLTOOL"; then
        !          5752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          5753: $as_echo "$DLLTOOL" >&6; }
        !          5754: else
        !          5755:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5756: $as_echo "no" >&6; }
        !          5757: fi
        !          5758: 
        !          5759: 
        !          5760: fi
        !          5761: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          5762:   ac_ct_DLLTOOL=$DLLTOOL
        !          5763:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          5764: set dummy dlltool; ac_word=$2
        !          5765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5766: $as_echo_n "checking for $ac_word... " >&6; }
        !          5767: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          5768:   $as_echo_n "(cached) " >&6
        !          5769: else
        !          5770:   if test -n "$ac_ct_DLLTOOL"; then
        !          5771:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          5772: else
        !          5773: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5774: for as_dir in $PATH
        !          5775: do
        !          5776:   IFS=$as_save_IFS
        !          5777:   test -z "$as_dir" && as_dir=.
        !          5778:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5779:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5780:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          5781:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5782:     break 2
        !          5783:   fi
        !          5784: done
        !          5785:   done
        !          5786: IFS=$as_save_IFS
        !          5787: 
        !          5788: fi
        !          5789: fi
        !          5790: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          5791: if test -n "$ac_ct_DLLTOOL"; then
        !          5792:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          5793: $as_echo "$ac_ct_DLLTOOL" >&6; }
        !          5794: else
        !          5795:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5796: $as_echo "no" >&6; }
        !          5797: fi
        !          5798: 
        !          5799:   if test "x$ac_ct_DLLTOOL" = x; then
        !          5800:     DLLTOOL="false"
        !          5801:   else
        !          5802:     case $cross_compiling:$ac_tool_warned in
        !          5803: yes:)
        !          5804: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5805: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          5806: ac_tool_warned=yes ;;
        !          5807: esac
        !          5808:     DLLTOOL=$ac_ct_DLLTOOL
        !          5809:   fi
        !          5810: else
        !          5811:   DLLTOOL="$ac_cv_prog_DLLTOOL"
        !          5812: fi
        !          5813: 
        !          5814: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          5815: 
        !          5816: 
        !          5817: 
        !          5818: 
        !          5819: 
        !          5820: 
        !          5821: 
        !          5822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          5823: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
        !          5824: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
        !          5825:   $as_echo_n "(cached) " >&6
        !          5826: else
        !          5827:   lt_cv_sharedlib_from_linklib_cmd='unknown'
        !          5828: 
        !          5829: case $host_os in
        !          5830: cygwin* | mingw* | pw32* | cegcc*)
        !          5831:   # two different shell functions defined in ltmain.sh;
        !          5832:   # decide which one to use based on capabilities of $DLLTOOL
        !          5833:   case `$DLLTOOL --help 2>&1` in
        !          5834:   *--identify-strict*)
        !          5835:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
        !          5836:     ;;
        !          5837:   *)
        !          5838:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
        !          5839:     ;;
        !          5840:   esac
        !          5841:   ;;
        !          5842: *)
        !          5843:   # fallback: assume linklib IS sharedlib
        !          5844:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
        !          5845:   ;;
        !          5846: esac
        !          5847: 
        !          5848: fi
        !          5849: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          5850: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
        !          5851: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
        !          5852: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
        !          5853: 
        !          5854: 
        !          5855: 
        !          5856: 
        !          5857: 
        !          5858: 
        !          5859: 
        !          5860: if test -n "$ac_tool_prefix"; then
        !          5861:   for ac_prog in ar
        !          5862:   do
        !          5863:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          5864: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          5865: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5866: $as_echo_n "checking for $ac_word... " >&6; }
        !          5867: if ${ac_cv_prog_AR+:} false; then :
        !          5868:   $as_echo_n "(cached) " >&6
        !          5869: else
        !          5870:   if test -n "$AR"; then
1.1       misho    5871:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5872: else
                   5873: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5874: for as_dir in $PATH
                   5875: do
                   5876:   IFS=$as_save_IFS
                   5877:   test -z "$as_dir" && as_dir=.
                   5878:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5879:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5880:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.1       misho    5881:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5882:     break 2
                   5883:   fi
                   5884: done
                   5885:   done
                   5886: IFS=$as_save_IFS
                   5887: 
                   5888: fi
                   5889: fi
                   5890: AR=$ac_cv_prog_AR
                   5891: if test -n "$AR"; then
                   5892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   5893: $as_echo "$AR" >&6; }
                   5894: else
                   5895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5896: $as_echo "no" >&6; }
                   5897: fi
                   5898: 
                   5899: 
1.1.1.2 ! misho    5900:     test -n "$AR" && break
        !          5901:   done
1.1       misho    5902: fi
1.1.1.2 ! misho    5903: if test -z "$AR"; then
1.1       misho    5904:   ac_ct_AR=$AR
1.1.1.2 ! misho    5905:   for ac_prog in ar
        !          5906: do
        !          5907:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          5908: set dummy $ac_prog; ac_word=$2
1.1       misho    5909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5910: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5911: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1       misho    5912:   $as_echo_n "(cached) " >&6
                   5913: else
                   5914:   if test -n "$ac_ct_AR"; then
                   5915:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5916: else
                   5917: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5918: for as_dir in $PATH
                   5919: do
                   5920:   IFS=$as_save_IFS
                   5921:   test -z "$as_dir" && as_dir=.
                   5922:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5923:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5924:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.1       misho    5925:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5926:     break 2
                   5927:   fi
                   5928: done
                   5929:   done
                   5930: IFS=$as_save_IFS
                   5931: 
                   5932: fi
                   5933: fi
                   5934: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5935: if test -n "$ac_ct_AR"; then
                   5936:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   5937: $as_echo "$ac_ct_AR" >&6; }
                   5938: else
                   5939:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5940: $as_echo "no" >&6; }
                   5941: fi
                   5942: 
1.1.1.2 ! misho    5943: 
        !          5944:   test -n "$ac_ct_AR" && break
        !          5945: done
        !          5946: 
1.1       misho    5947:   if test "x$ac_ct_AR" = x; then
                   5948:     AR="false"
                   5949:   else
                   5950:     case $cross_compiling:$ac_tool_warned in
                   5951: yes:)
                   5952: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5953: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5954: ac_tool_warned=yes ;;
                   5955: esac
                   5956:     AR=$ac_ct_AR
                   5957:   fi
                   5958: fi
                   5959: 
1.1.1.2 ! misho    5960: : ${AR=ar}
        !          5961: : ${AR_FLAGS=cr}
        !          5962: 
        !          5963: 
        !          5964: 
        !          5965: 
        !          5966: 
        !          5967: 
        !          5968: 
1.1       misho    5969: 
                   5970: 
                   5971: 
                   5972: 
1.1.1.2 ! misho    5973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          5974: $as_echo_n "checking for archiver @FILE support... " >&6; }
        !          5975: if ${lt_cv_ar_at_file+:} false; then :
        !          5976:   $as_echo_n "(cached) " >&6
        !          5977: else
        !          5978:   lt_cv_ar_at_file=no
        !          5979:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5980: /* end confdefs.h.  */
        !          5981: 
        !          5982: int
        !          5983: main ()
        !          5984: {
        !          5985: 
        !          5986:   ;
        !          5987:   return 0;
        !          5988: }
        !          5989: _ACEOF
        !          5990: if ac_fn_c_try_compile "$LINENO"; then :
        !          5991:   echo conftest.$ac_objext > conftest.lst
        !          5992:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
        !          5993:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          5994:   (eval $lt_ar_try) 2>&5
        !          5995:   ac_status=$?
        !          5996:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5997:   test $ac_status = 0; }
        !          5998:       if test 0 -eq "$ac_status"; then
        !          5999:        # Ensure the archiver fails upon bogus file names.
        !          6000:        rm -f conftest.$ac_objext libconftest.a
        !          6001:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          6002:   (eval $lt_ar_try) 2>&5
        !          6003:   ac_status=$?
        !          6004:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6005:   test $ac_status = 0; }
        !          6006:        if test 0 -ne "$ac_status"; then
        !          6007:           lt_cv_ar_at_file=@
        !          6008:         fi
        !          6009:       fi
        !          6010:       rm -f conftest.* libconftest.a
        !          6011: 
        !          6012: fi
        !          6013: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6014: 
        !          6015: fi
        !          6016: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          6017: $as_echo "$lt_cv_ar_at_file" >&6; }
        !          6018: 
        !          6019: if test no = "$lt_cv_ar_at_file"; then
        !          6020:   archiver_list_spec=
        !          6021: else
        !          6022:   archiver_list_spec=$lt_cv_ar_at_file
        !          6023: fi
1.1       misho    6024: 
                   6025: 
                   6026: 
                   6027: 
                   6028: 
                   6029: 
                   6030: 
                   6031: if test -n "$ac_tool_prefix"; then
                   6032:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6033: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   6034: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6035: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6036: if ${ac_cv_prog_STRIP+:} false; then :
1.1       misho    6037:   $as_echo_n "(cached) " >&6
                   6038: else
                   6039:   if test -n "$STRIP"; then
                   6040:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6041: else
                   6042: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6043: for as_dir in $PATH
                   6044: do
                   6045:   IFS=$as_save_IFS
                   6046:   test -z "$as_dir" && as_dir=.
                   6047:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6048:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6049:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   6050:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6051:     break 2
                   6052:   fi
                   6053: done
                   6054:   done
                   6055: IFS=$as_save_IFS
                   6056: 
                   6057: fi
                   6058: fi
                   6059: STRIP=$ac_cv_prog_STRIP
                   6060: if test -n "$STRIP"; then
                   6061:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6062: $as_echo "$STRIP" >&6; }
                   6063: else
                   6064:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6065: $as_echo "no" >&6; }
                   6066: fi
                   6067: 
                   6068: 
                   6069: fi
                   6070: if test -z "$ac_cv_prog_STRIP"; then
                   6071:   ac_ct_STRIP=$STRIP
                   6072:   # Extract the first word of "strip", so it can be a program name with args.
                   6073: set dummy strip; ac_word=$2
                   6074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6075: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6076: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1       misho    6077:   $as_echo_n "(cached) " >&6
                   6078: else
                   6079:   if test -n "$ac_ct_STRIP"; then
                   6080:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6081: else
                   6082: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6083: for as_dir in $PATH
                   6084: do
                   6085:   IFS=$as_save_IFS
                   6086:   test -z "$as_dir" && as_dir=.
                   6087:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6088:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6089:     ac_cv_prog_ac_ct_STRIP="strip"
                   6090:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6091:     break 2
                   6092:   fi
                   6093: done
                   6094:   done
                   6095: IFS=$as_save_IFS
                   6096: 
                   6097: fi
                   6098: fi
                   6099: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6100: if test -n "$ac_ct_STRIP"; then
                   6101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6102: $as_echo "$ac_ct_STRIP" >&6; }
                   6103: else
                   6104:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6105: $as_echo "no" >&6; }
                   6106: fi
                   6107: 
                   6108:   if test "x$ac_ct_STRIP" = x; then
                   6109:     STRIP=":"
                   6110:   else
                   6111:     case $cross_compiling:$ac_tool_warned in
                   6112: yes:)
                   6113: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6114: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6115: ac_tool_warned=yes ;;
                   6116: esac
                   6117:     STRIP=$ac_ct_STRIP
                   6118:   fi
                   6119: else
                   6120:   STRIP="$ac_cv_prog_STRIP"
                   6121: fi
                   6122: 
                   6123: test -z "$STRIP" && STRIP=:
                   6124: 
                   6125: 
                   6126: 
                   6127: 
                   6128: 
                   6129: 
                   6130: if test -n "$ac_tool_prefix"; then
                   6131:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6132: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6134: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6135: if ${ac_cv_prog_RANLIB+:} false; then :
1.1       misho    6136:   $as_echo_n "(cached) " >&6
                   6137: else
                   6138:   if test -n "$RANLIB"; then
                   6139:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6140: else
                   6141: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6142: for as_dir in $PATH
                   6143: do
                   6144:   IFS=$as_save_IFS
                   6145:   test -z "$as_dir" && as_dir=.
                   6146:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6147:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6148:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6149:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6150:     break 2
                   6151:   fi
                   6152: done
                   6153:   done
                   6154: IFS=$as_save_IFS
                   6155: 
                   6156: fi
                   6157: fi
                   6158: RANLIB=$ac_cv_prog_RANLIB
                   6159: if test -n "$RANLIB"; then
                   6160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6161: $as_echo "$RANLIB" >&6; }
                   6162: else
                   6163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6164: $as_echo "no" >&6; }
                   6165: fi
                   6166: 
                   6167: 
                   6168: fi
                   6169: if test -z "$ac_cv_prog_RANLIB"; then
                   6170:   ac_ct_RANLIB=$RANLIB
                   6171:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6172: set dummy ranlib; ac_word=$2
                   6173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6174: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6175: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.1       misho    6176:   $as_echo_n "(cached) " >&6
                   6177: else
                   6178:   if test -n "$ac_ct_RANLIB"; then
                   6179:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6180: else
                   6181: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6182: for as_dir in $PATH
                   6183: do
                   6184:   IFS=$as_save_IFS
                   6185:   test -z "$as_dir" && as_dir=.
                   6186:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6187:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6188:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6189:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6190:     break 2
                   6191:   fi
                   6192: done
                   6193:   done
                   6194: IFS=$as_save_IFS
                   6195: 
                   6196: fi
                   6197: fi
                   6198: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6199: if test -n "$ac_ct_RANLIB"; then
                   6200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6201: $as_echo "$ac_ct_RANLIB" >&6; }
                   6202: else
                   6203:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6204: $as_echo "no" >&6; }
                   6205: fi
                   6206: 
                   6207:   if test "x$ac_ct_RANLIB" = x; then
                   6208:     RANLIB=":"
                   6209:   else
                   6210:     case $cross_compiling:$ac_tool_warned in
                   6211: yes:)
                   6212: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6213: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6214: ac_tool_warned=yes ;;
                   6215: esac
                   6216:     RANLIB=$ac_ct_RANLIB
                   6217:   fi
                   6218: else
                   6219:   RANLIB="$ac_cv_prog_RANLIB"
                   6220: fi
                   6221: 
                   6222: test -z "$RANLIB" && RANLIB=:
                   6223: 
                   6224: 
                   6225: 
                   6226: 
                   6227: 
                   6228: 
                   6229: # Determine commands to create old-style static archives.
                   6230: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6231: old_postinstall_cmds='chmod 644 $oldlib'
                   6232: old_postuninstall_cmds=
                   6233: 
                   6234: if test -n "$RANLIB"; then
                   6235:   case $host_os in
1.1.1.2 ! misho    6236:   bitrig* | openbsd*)
        !          6237:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1       misho    6238:     ;;
                   6239:   *)
1.1.1.2 ! misho    6240:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    6241:     ;;
                   6242:   esac
1.1.1.2 ! misho    6243:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    6244: fi
                   6245: 
1.1.1.2 ! misho    6246: case $host_os in
        !          6247:   darwin*)
        !          6248:     lock_old_archive_extraction=yes ;;
        !          6249:   *)
        !          6250:     lock_old_archive_extraction=no ;;
        !          6251: esac
        !          6252: 
        !          6253: 
        !          6254: 
        !          6255: 
        !          6256: 
        !          6257: 
1.1       misho    6258: 
                   6259: 
                   6260: 
                   6261: 
                   6262: 
                   6263: 
                   6264: 
                   6265: 
                   6266: 
                   6267: 
                   6268: 
                   6269: 
                   6270: 
                   6271: 
                   6272: 
                   6273: 
                   6274: 
                   6275: 
                   6276: 
                   6277: 
                   6278: 
                   6279: 
                   6280: 
                   6281: 
                   6282: 
                   6283: 
                   6284: 
                   6285: 
                   6286: 
                   6287: 
                   6288: 
                   6289: 
                   6290: 
                   6291: # If no C compiler was specified, use CC.
                   6292: LTCC=${LTCC-"$CC"}
                   6293: 
                   6294: # If no C compiler flags were specified, use CFLAGS.
                   6295: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6296: 
                   6297: # Allow CC to be a program name with arguments.
                   6298: compiler=$CC
                   6299: 
                   6300: 
                   6301: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6303: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.1.1.2 ! misho    6304: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
1.1       misho    6305:   $as_echo_n "(cached) " >&6
                   6306: else
                   6307: 
                   6308: # These are sane defaults that work on at least a few old systems.
                   6309: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6310: 
                   6311: # Character class describing NM global symbol codes.
                   6312: symcode='[BCDEGRST]'
                   6313: 
                   6314: # Regexp to match symbols that can be accessed directly from C.
                   6315: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6316: 
                   6317: # Define system-specific variables.
                   6318: case $host_os in
                   6319: aix*)
                   6320:   symcode='[BCDT]'
                   6321:   ;;
                   6322: cygwin* | mingw* | pw32* | cegcc*)
                   6323:   symcode='[ABCDGISTW]'
                   6324:   ;;
                   6325: hpux*)
1.1.1.2 ! misho    6326:   if test ia64 = "$host_cpu"; then
1.1       misho    6327:     symcode='[ABCDEGRST]'
                   6328:   fi
                   6329:   ;;
                   6330: irix* | nonstopux*)
                   6331:   symcode='[BCDEGRST]'
                   6332:   ;;
                   6333: osf*)
                   6334:   symcode='[BCDEGQRST]'
                   6335:   ;;
                   6336: solaris*)
                   6337:   symcode='[BDRT]'
                   6338:   ;;
                   6339: sco3.2v5*)
                   6340:   symcode='[DT]'
                   6341:   ;;
                   6342: sysv4.2uw2*)
                   6343:   symcode='[DT]'
                   6344:   ;;
                   6345: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6346:   symcode='[ABDT]'
                   6347:   ;;
                   6348: sysv4)
                   6349:   symcode='[DFNSTU]'
                   6350:   ;;
                   6351: esac
                   6352: 
                   6353: # If we're using GNU nm, then use its standard symbol codes.
                   6354: case `$NM -V 2>&1` in
                   6355: *GNU* | *'with BFD'*)
                   6356:   symcode='[ABCDGIRSTW]' ;;
                   6357: esac
                   6358: 
1.1.1.2 ! misho    6359: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          6360:   # Gets list of data symbols to import.
        !          6361:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
        !          6362:   # Adjust the below global symbol transforms to fixup imported variables.
        !          6363:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
        !          6364:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
        !          6365:   lt_c_name_lib_hook="\
        !          6366:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
        !          6367:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
        !          6368: else
        !          6369:   # Disable hooks by default.
        !          6370:   lt_cv_sys_global_symbol_to_import=
        !          6371:   lt_cdecl_hook=
        !          6372:   lt_c_name_hook=
        !          6373:   lt_c_name_lib_hook=
        !          6374: fi
        !          6375: 
1.1       misho    6376: # Transform an extracted symbol line into a proper C declaration.
                   6377: # Some systems (esp. on ia64) link data and code symbols differently,
                   6378: # so use this general approach.
1.1.1.2 ! misho    6379: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
        !          6380: $lt_cdecl_hook\
        !          6381: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
        !          6382: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.1       misho    6383: 
                   6384: # Transform an extracted symbol line into symbol name and symbol address
1.1.1.2 ! misho    6385: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
        !          6386: $lt_c_name_hook\
        !          6387: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          6388: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
        !          6389: 
        !          6390: # Transform an extracted symbol line into symbol name with lib prefix and
        !          6391: # symbol address.
        !          6392: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
        !          6393: $lt_c_name_lib_hook\
        !          6394: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          6395: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
        !          6396: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.1       misho    6397: 
                   6398: # Handle CRLF in mingw tool chain
                   6399: opt_cr=
                   6400: case $build_os in
                   6401: mingw*)
                   6402:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6403:   ;;
                   6404: esac
                   6405: 
                   6406: # Try without a prefix underscore, then with it.
                   6407: for ac_symprfx in "" "_"; do
                   6408: 
                   6409:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6410:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6411: 
                   6412:   # Write the raw and C identifiers.
                   6413:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.1.1.2 ! misho    6414:     # Fake it for dumpbin and say T for any non-static function,
        !          6415:     # D for any global variable and I for any imported variable.
1.1       misho    6416:     # Also find C++ and __fastcall symbols from MSVC++,
                   6417:     # which start with @ or ?.
                   6418:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6419: "     {last_section=section; section=\$ 3};"\
1.1.1.2 ! misho    6420: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
1.1       misho    6421: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.1.1.2 ! misho    6422: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
        !          6423: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
        !          6424: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.1       misho    6425: "     \$ 0!~/External *\|/{next};"\
                   6426: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6427: "     {if(hide[section]) next};"\
1.1.1.2 ! misho    6428: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
        !          6429: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
        !          6430: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
        !          6431: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.1       misho    6432: "     ' prfx=^$ac_symprfx"
                   6433:   else
                   6434:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6435:   fi
1.1.1.2 ! misho    6436:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.1       misho    6437: 
                   6438:   # Check to see that the pipe works correctly.
                   6439:   pipe_works=no
                   6440: 
                   6441:   rm -f conftest*
                   6442:   cat > conftest.$ac_ext <<_LT_EOF
                   6443: #ifdef __cplusplus
                   6444: extern "C" {
                   6445: #endif
                   6446: char nm_test_var;
                   6447: void nm_test_func(void);
                   6448: void nm_test_func(void){}
                   6449: #ifdef __cplusplus
                   6450: }
                   6451: #endif
                   6452: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6453: _LT_EOF
                   6454: 
                   6455:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6456:   (eval $ac_compile) 2>&5
                   6457:   ac_status=$?
                   6458:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6459:   test $ac_status = 0; }; then
                   6460:     # Now try to grab the symbols.
                   6461:     nlist=conftest.nm
1.1.1.2 ! misho    6462:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
        !          6463:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
1.1       misho    6464:       # Try sorting and uniquifying the output.
                   6465:       if sort "$nlist" | uniq > "$nlist"T; then
                   6466:        mv -f "$nlist"T "$nlist"
                   6467:       else
                   6468:        rm -f "$nlist"T
                   6469:       fi
                   6470: 
                   6471:       # Make sure that we snagged all the symbols we need.
                   6472:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6473:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6474:          cat <<_LT_EOF > conftest.$ac_ext
1.1.1.2 ! misho    6475: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
        !          6476: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
        !          6477: /* DATA imports from DLLs on WIN32 can't be const, because runtime
        !          6478:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
        !          6479: # define LT_DLSYM_CONST
        !          6480: #elif defined __osf__
        !          6481: /* This system does not cope well with relocations in const data.  */
        !          6482: # define LT_DLSYM_CONST
        !          6483: #else
        !          6484: # define LT_DLSYM_CONST const
        !          6485: #endif
        !          6486: 
1.1       misho    6487: #ifdef __cplusplus
                   6488: extern "C" {
                   6489: #endif
                   6490: 
                   6491: _LT_EOF
                   6492:          # Now generate the symbol file.
                   6493:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6494: 
                   6495:          cat <<_LT_EOF >> conftest.$ac_ext
                   6496: 
                   6497: /* The mapping between symbol names and symbols.  */
1.1.1.2 ! misho    6498: LT_DLSYM_CONST struct {
1.1       misho    6499:   const char *name;
                   6500:   void       *address;
                   6501: }
                   6502: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6503: {
                   6504:   { "@PROGRAM@", (void *) 0 },
                   6505: _LT_EOF
1.1.1.2 ! misho    6506:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.1       misho    6507:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6508:   {0, (void *) 0}
                   6509: };
                   6510: 
                   6511: /* This works around a problem in FreeBSD linker */
                   6512: #ifdef FREEBSD_WORKAROUND
                   6513: static const void *lt_preloaded_setup() {
                   6514:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6515: }
                   6516: #endif
                   6517: 
                   6518: #ifdef __cplusplus
                   6519: }
                   6520: #endif
                   6521: _LT_EOF
                   6522:          # Now try linking the two files.
                   6523:          mv conftest.$ac_objext conftstm.$ac_objext
1.1.1.2 ! misho    6524:          lt_globsym_save_LIBS=$LIBS
        !          6525:          lt_globsym_save_CFLAGS=$CFLAGS
        !          6526:          LIBS=conftstm.$ac_objext
1.1       misho    6527:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6528:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6529:   (eval $ac_link) 2>&5
                   6530:   ac_status=$?
                   6531:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.2 ! misho    6532:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.1       misho    6533:            pipe_works=yes
                   6534:          fi
1.1.1.2 ! misho    6535:          LIBS=$lt_globsym_save_LIBS
        !          6536:          CFLAGS=$lt_globsym_save_CFLAGS
1.1       misho    6537:        else
                   6538:          echo "cannot find nm_test_func in $nlist" >&5
                   6539:        fi
                   6540:       else
                   6541:        echo "cannot find nm_test_var in $nlist" >&5
                   6542:       fi
                   6543:     else
                   6544:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6545:     fi
                   6546:   else
                   6547:     echo "$progname: failed program was:" >&5
                   6548:     cat conftest.$ac_ext >&5
                   6549:   fi
                   6550:   rm -rf conftest* conftst*
                   6551: 
                   6552:   # Do not use the global_symbol_pipe unless it works.
1.1.1.2 ! misho    6553:   if test yes = "$pipe_works"; then
1.1       misho    6554:     break
                   6555:   else
                   6556:     lt_cv_sys_global_symbol_pipe=
                   6557:   fi
                   6558: done
                   6559: 
                   6560: fi
                   6561: 
                   6562: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6563:   lt_cv_sys_global_symbol_to_cdecl=
                   6564: fi
                   6565: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6567: $as_echo "failed" >&6; }
                   6568: else
                   6569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6570: $as_echo "ok" >&6; }
                   6571: fi
                   6572: 
1.1.1.2 ! misho    6573: # Response file support.
        !          6574: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          6575:   nm_file_list_spec='@'
        !          6576: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
        !          6577:   nm_file_list_spec='@'
        !          6578: fi
        !          6579: 
        !          6580: 
        !          6581: 
        !          6582: 
        !          6583: 
        !          6584: 
        !          6585: 
        !          6586: 
        !          6587: 
        !          6588: 
        !          6589: 
        !          6590: 
        !          6591: 
        !          6592: 
        !          6593: 
        !          6594: 
        !          6595: 
        !          6596: 
        !          6597: 
        !          6598: 
        !          6599: 
        !          6600: 
        !          6601: 
        !          6602: 
        !          6603: 
        !          6604: 
        !          6605: 
        !          6606: 
        !          6607: 
        !          6608: 
        !          6609: 
        !          6610: 
1.1       misho    6611: 
                   6612: 
                   6613: 
                   6614: 
                   6615: 
1.1.1.2 ! misho    6616: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          6617: $as_echo_n "checking for sysroot... " >&6; }
        !          6618: 
        !          6619: # Check whether --with-sysroot was given.
        !          6620: if test "${with_sysroot+set}" = set; then :
        !          6621:   withval=$with_sysroot;
        !          6622: else
        !          6623:   with_sysroot=no
        !          6624: fi
        !          6625: 
        !          6626: 
        !          6627: lt_sysroot=
        !          6628: case $with_sysroot in #(
        !          6629:  yes)
        !          6630:    if test yes = "$GCC"; then
        !          6631:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
        !          6632:    fi
        !          6633:    ;; #(
        !          6634:  /*)
        !          6635:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
        !          6636:    ;; #(
        !          6637:  no|'')
        !          6638:    ;; #(
        !          6639:  *)
        !          6640:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
        !          6641: $as_echo "$with_sysroot" >&6; }
        !          6642:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
        !          6643:    ;;
        !          6644: esac
        !          6645: 
        !          6646:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          6647: $as_echo "${lt_sysroot:-no}" >&6; }
1.1       misho    6648: 
                   6649: 
                   6650: 
                   6651: 
                   6652: 
1.1.1.2 ! misho    6653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
        !          6654: $as_echo_n "checking for a working dd... " >&6; }
        !          6655: if ${ac_cv_path_lt_DD+:} false; then :
        !          6656:   $as_echo_n "(cached) " >&6
        !          6657: else
        !          6658:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          6659: cat conftest.i conftest.i >conftest2.i
        !          6660: : ${lt_DD:=$DD}
        !          6661: if test -z "$lt_DD"; then
        !          6662:   ac_path_lt_DD_found=false
        !          6663:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          6664:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6665: for as_dir in $PATH
        !          6666: do
        !          6667:   IFS=$as_save_IFS
        !          6668:   test -z "$as_dir" && as_dir=.
        !          6669:     for ac_prog in dd; do
        !          6670:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6671:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
        !          6672:       as_fn_executable_p "$ac_path_lt_DD" || continue
        !          6673: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          6674:   cmp -s conftest.i conftest.out \
        !          6675:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
        !          6676: fi
        !          6677:       $ac_path_lt_DD_found && break 3
        !          6678:     done
        !          6679:   done
        !          6680:   done
        !          6681: IFS=$as_save_IFS
        !          6682:   if test -z "$ac_cv_path_lt_DD"; then
        !          6683:     :
        !          6684:   fi
        !          6685: else
        !          6686:   ac_cv_path_lt_DD=$lt_DD
        !          6687: fi
1.1       misho    6688: 
1.1.1.2 ! misho    6689: rm -f conftest.i conftest2.i conftest.out
        !          6690: fi
        !          6691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
        !          6692: $as_echo "$ac_cv_path_lt_DD" >&6; }
1.1       misho    6693: 
                   6694: 
1.1.1.2 ! misho    6695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
        !          6696: $as_echo_n "checking how to truncate binary pipes... " >&6; }
        !          6697: if ${lt_cv_truncate_bin+:} false; then :
        !          6698:   $as_echo_n "(cached) " >&6
        !          6699: else
        !          6700:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          6701: cat conftest.i conftest.i >conftest2.i
        !          6702: lt_cv_truncate_bin=
        !          6703: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          6704:   cmp -s conftest.i conftest.out \
        !          6705:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
        !          6706: fi
        !          6707: rm -f conftest.i conftest2.i conftest.out
        !          6708: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
        !          6709: fi
        !          6710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
        !          6711: $as_echo "$lt_cv_truncate_bin" >&6; }
1.1       misho    6712: 
                   6713: 
                   6714: 
                   6715: 
                   6716: 
                   6717: 
                   6718: 
1.1.1.2 ! misho    6719: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          6720: func_cc_basename ()
        !          6721: {
        !          6722:     for cc_temp in $*""; do
        !          6723:       case $cc_temp in
        !          6724:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          6725:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          6726:         \-*) ;;
        !          6727:         *) break;;
        !          6728:       esac
        !          6729:     done
        !          6730:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          6731: }
1.1       misho    6732: 
                   6733: # Check whether --enable-libtool-lock was given.
                   6734: if test "${enable_libtool_lock+set}" = set; then :
                   6735:   enableval=$enable_libtool_lock;
                   6736: fi
                   6737: 
1.1.1.2 ! misho    6738: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.1       misho    6739: 
                   6740: # Some flags need to be propagated to the compiler or linker for good
                   6741: # libtool support.
                   6742: case $host in
                   6743: ia64-*-hpux*)
1.1.1.2 ! misho    6744:   # Find out what ABI is being produced by ac_compile, and set mode
        !          6745:   # options accordingly.
1.1       misho    6746:   echo 'int i;' > conftest.$ac_ext
                   6747:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6748:   (eval $ac_compile) 2>&5
                   6749:   ac_status=$?
                   6750:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6751:   test $ac_status = 0; }; then
                   6752:     case `/usr/bin/file conftest.$ac_objext` in
                   6753:       *ELF-32*)
1.1.1.2 ! misho    6754:        HPUX_IA64_MODE=32
1.1       misho    6755:        ;;
                   6756:       *ELF-64*)
1.1.1.2 ! misho    6757:        HPUX_IA64_MODE=64
1.1       misho    6758:        ;;
                   6759:     esac
                   6760:   fi
                   6761:   rm -rf conftest*
                   6762:   ;;
                   6763: *-*-irix6*)
1.1.1.2 ! misho    6764:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6765:   # options accordingly.
        !          6766:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.1       misho    6767:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6768:   (eval $ac_compile) 2>&5
                   6769:   ac_status=$?
                   6770:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6771:   test $ac_status = 0; }; then
1.1.1.2 ! misho    6772:     if test yes = "$lt_cv_prog_gnu_ld"; then
1.1       misho    6773:       case `/usr/bin/file conftest.$ac_objext` in
                   6774:        *32-bit*)
                   6775:          LD="${LD-ld} -melf32bsmip"
                   6776:          ;;
                   6777:        *N32*)
                   6778:          LD="${LD-ld} -melf32bmipn32"
                   6779:          ;;
                   6780:        *64-bit*)
                   6781:          LD="${LD-ld} -melf64bmip"
                   6782:        ;;
                   6783:       esac
                   6784:     else
                   6785:       case `/usr/bin/file conftest.$ac_objext` in
                   6786:        *32-bit*)
                   6787:          LD="${LD-ld} -32"
                   6788:          ;;
                   6789:        *N32*)
                   6790:          LD="${LD-ld} -n32"
                   6791:          ;;
                   6792:        *64-bit*)
                   6793:          LD="${LD-ld} -64"
                   6794:          ;;
                   6795:       esac
                   6796:     fi
                   6797:   fi
                   6798:   rm -rf conftest*
                   6799:   ;;
                   6800: 
1.1.1.2 ! misho    6801: mips64*-*linux*)
        !          6802:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6803:   # options accordingly.
        !          6804:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          6805:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          6806:   (eval $ac_compile) 2>&5
        !          6807:   ac_status=$?
        !          6808:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6809:   test $ac_status = 0; }; then
        !          6810:     emul=elf
        !          6811:     case `/usr/bin/file conftest.$ac_objext` in
        !          6812:       *32-bit*)
        !          6813:        emul="${emul}32"
        !          6814:        ;;
        !          6815:       *64-bit*)
        !          6816:        emul="${emul}64"
        !          6817:        ;;
        !          6818:     esac
        !          6819:     case `/usr/bin/file conftest.$ac_objext` in
        !          6820:       *MSB*)
        !          6821:        emul="${emul}btsmip"
        !          6822:        ;;
        !          6823:       *LSB*)
        !          6824:        emul="${emul}ltsmip"
        !          6825:        ;;
        !          6826:     esac
        !          6827:     case `/usr/bin/file conftest.$ac_objext` in
        !          6828:       *N32*)
        !          6829:        emul="${emul}n32"
        !          6830:        ;;
        !          6831:     esac
        !          6832:     LD="${LD-ld} -m $emul"
        !          6833:   fi
        !          6834:   rm -rf conftest*
        !          6835:   ;;
        !          6836: 
        !          6837: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1.1       misho    6838: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1.1.1.2 ! misho    6839:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6840:   # options accordingly.  Note that the listed cases only cover the
        !          6841:   # situations where additional linker options are needed (such as when
        !          6842:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
        !          6843:   # vice versa); the common cases where no linker options are needed do
        !          6844:   # not appear in the list.
1.1       misho    6845:   echo 'int i;' > conftest.$ac_ext
                   6846:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6847:   (eval $ac_compile) 2>&5
                   6848:   ac_status=$?
                   6849:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6850:   test $ac_status = 0; }; then
                   6851:     case `/usr/bin/file conftest.o` in
                   6852:       *32-bit*)
                   6853:        case $host in
                   6854:          x86_64-*kfreebsd*-gnu)
                   6855:            LD="${LD-ld} -m elf_i386_fbsd"
                   6856:            ;;
                   6857:          x86_64-*linux*)
1.1.1.2 ! misho    6858:            case `/usr/bin/file conftest.o` in
        !          6859:              *x86-64*)
        !          6860:                LD="${LD-ld} -m elf32_x86_64"
        !          6861:                ;;
        !          6862:              *)
        !          6863:                LD="${LD-ld} -m elf_i386"
        !          6864:                ;;
        !          6865:            esac
1.1       misho    6866:            ;;
1.1.1.2 ! misho    6867:          powerpc64le-*linux*)
        !          6868:            LD="${LD-ld} -m elf32lppclinux"
        !          6869:            ;;
        !          6870:          powerpc64-*linux*)
1.1       misho    6871:            LD="${LD-ld} -m elf32ppclinux"
                   6872:            ;;
                   6873:          s390x-*linux*)
                   6874:            LD="${LD-ld} -m elf_s390"
                   6875:            ;;
                   6876:          sparc64-*linux*)
                   6877:            LD="${LD-ld} -m elf32_sparc"
                   6878:            ;;
                   6879:        esac
                   6880:        ;;
                   6881:       *64-bit*)
                   6882:        case $host in
                   6883:          x86_64-*kfreebsd*-gnu)
                   6884:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6885:            ;;
                   6886:          x86_64-*linux*)
                   6887:            LD="${LD-ld} -m elf_x86_64"
                   6888:            ;;
1.1.1.2 ! misho    6889:          powerpcle-*linux*)
        !          6890:            LD="${LD-ld} -m elf64lppc"
        !          6891:            ;;
        !          6892:          powerpc-*linux*)
1.1       misho    6893:            LD="${LD-ld} -m elf64ppc"
                   6894:            ;;
                   6895:          s390*-*linux*|s390*-*tpf*)
                   6896:            LD="${LD-ld} -m elf64_s390"
                   6897:            ;;
                   6898:          sparc*-*linux*)
                   6899:            LD="${LD-ld} -m elf64_sparc"
                   6900:            ;;
                   6901:        esac
                   6902:        ;;
                   6903:     esac
                   6904:   fi
                   6905:   rm -rf conftest*
                   6906:   ;;
                   6907: 
                   6908: *-*-sco3.2v5*)
                   6909:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.1.1.2 ! misho    6910:   SAVE_CFLAGS=$CFLAGS
1.1       misho    6911:   CFLAGS="$CFLAGS -belf"
                   6912:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6913: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
1.1.1.2 ! misho    6914: if ${lt_cv_cc_needs_belf+:} false; then :
1.1       misho    6915:   $as_echo_n "(cached) " >&6
                   6916: else
                   6917:   ac_ext=c
                   6918: ac_cpp='$CPP $CPPFLAGS'
                   6919: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6920: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6921: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6922: 
                   6923:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6924: /* end confdefs.h.  */
                   6925: 
                   6926: int
                   6927: main ()
                   6928: {
                   6929: 
                   6930:   ;
                   6931:   return 0;
                   6932: }
                   6933: _ACEOF
                   6934: if ac_fn_c_try_link "$LINENO"; then :
                   6935:   lt_cv_cc_needs_belf=yes
                   6936: else
                   6937:   lt_cv_cc_needs_belf=no
                   6938: fi
                   6939: rm -f core conftest.err conftest.$ac_objext \
                   6940:     conftest$ac_exeext conftest.$ac_ext
                   6941:      ac_ext=c
                   6942: ac_cpp='$CPP $CPPFLAGS'
                   6943: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6944: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6945: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6946: 
                   6947: fi
                   6948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6949: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.1.1.2 ! misho    6950:   if test yes != "$lt_cv_cc_needs_belf"; then
1.1       misho    6951:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.1.1.2 ! misho    6952:     CFLAGS=$SAVE_CFLAGS
1.1       misho    6953:   fi
                   6954:   ;;
1.1.1.2 ! misho    6955: *-*solaris*)
        !          6956:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6957:   # options accordingly.
1.1       misho    6958:   echo 'int i;' > conftest.$ac_ext
                   6959:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6960:   (eval $ac_compile) 2>&5
                   6961:   ac_status=$?
                   6962:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6963:   test $ac_status = 0; }; then
                   6964:     case `/usr/bin/file conftest.o` in
                   6965:     *64-bit*)
                   6966:       case $lt_cv_prog_gnu_ld in
1.1.1.2 ! misho    6967:       yes*)
        !          6968:         case $host in
        !          6969:         i?86-*-solaris*|x86_64-*-solaris*)
        !          6970:           LD="${LD-ld} -m elf_x86_64"
        !          6971:           ;;
        !          6972:         sparc*-*-solaris*)
        !          6973:           LD="${LD-ld} -m elf64_sparc"
        !          6974:           ;;
        !          6975:         esac
        !          6976:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
        !          6977:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
        !          6978:           LD=${LD-ld}_sol2
        !          6979:         fi
        !          6980:         ;;
1.1       misho    6981:       *)
                   6982:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6983:          LD="${LD-ld} -64"
                   6984:        fi
                   6985:        ;;
                   6986:       esac
                   6987:       ;;
                   6988:     esac
                   6989:   fi
                   6990:   rm -rf conftest*
                   6991:   ;;
                   6992: esac
                   6993: 
1.1.1.2 ! misho    6994: need_locks=$enable_libtool_lock
        !          6995: 
        !          6996: if test -n "$ac_tool_prefix"; then
        !          6997:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
        !          6998: set dummy ${ac_tool_prefix}mt; ac_word=$2
        !          6999: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7000: $as_echo_n "checking for $ac_word... " >&6; }
        !          7001: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
        !          7002:   $as_echo_n "(cached) " >&6
        !          7003: else
        !          7004:   if test -n "$MANIFEST_TOOL"; then
        !          7005:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
        !          7006: else
        !          7007: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7008: for as_dir in $PATH
        !          7009: do
        !          7010:   IFS=$as_save_IFS
        !          7011:   test -z "$as_dir" && as_dir=.
        !          7012:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7013:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          7014:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
        !          7015:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          7016:     break 2
        !          7017:   fi
        !          7018: done
        !          7019:   done
        !          7020: IFS=$as_save_IFS
        !          7021: 
        !          7022: fi
        !          7023: fi
        !          7024: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
        !          7025: if test -n "$MANIFEST_TOOL"; then
        !          7026:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          7027: $as_echo "$MANIFEST_TOOL" >&6; }
        !          7028: else
        !          7029:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7030: $as_echo "no" >&6; }
        !          7031: fi
        !          7032: 
        !          7033: 
        !          7034: fi
        !          7035: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
        !          7036:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
        !          7037:   # Extract the first word of "mt", so it can be a program name with args.
        !          7038: set dummy mt; ac_word=$2
        !          7039: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7040: $as_echo_n "checking for $ac_word... " >&6; }
        !          7041: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
        !          7042:   $as_echo_n "(cached) " >&6
        !          7043: else
        !          7044:   if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          7045:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
        !          7046: else
        !          7047: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7048: for as_dir in $PATH
        !          7049: do
        !          7050:   IFS=$as_save_IFS
        !          7051:   test -z "$as_dir" && as_dir=.
        !          7052:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7053:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          7054:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
        !          7055:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          7056:     break 2
        !          7057:   fi
        !          7058: done
        !          7059:   done
        !          7060: IFS=$as_save_IFS
        !          7061: 
        !          7062: fi
        !          7063: fi
        !          7064: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
        !          7065: if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          7066:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          7067: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
        !          7068: else
        !          7069:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7070: $as_echo "no" >&6; }
        !          7071: fi
        !          7072: 
        !          7073:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
        !          7074:     MANIFEST_TOOL=":"
        !          7075:   else
        !          7076:     case $cross_compiling:$ac_tool_warned in
        !          7077: yes:)
        !          7078: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7079: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7080: ac_tool_warned=yes ;;
        !          7081: esac
        !          7082:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
        !          7083:   fi
        !          7084: else
        !          7085:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
        !          7086: fi
        !          7087: 
        !          7088: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
        !          7089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          7090: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          7091: if ${lt_cv_path_mainfest_tool+:} false; then :
        !          7092:   $as_echo_n "(cached) " >&6
        !          7093: else
        !          7094:   lt_cv_path_mainfest_tool=no
        !          7095:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
        !          7096:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
        !          7097:   cat conftest.err >&5
        !          7098:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
        !          7099:     lt_cv_path_mainfest_tool=yes
        !          7100:   fi
        !          7101:   rm -f conftest*
        !          7102: fi
        !          7103: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
        !          7104: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
        !          7105: if test yes != "$lt_cv_path_mainfest_tool"; then
        !          7106:   MANIFEST_TOOL=:
        !          7107: fi
        !          7108: 
        !          7109: 
        !          7110: 
        !          7111: 
        !          7112: 
1.1       misho    7113: 
                   7114:   case $host_os in
                   7115:     rhapsody* | darwin*)
                   7116:     if test -n "$ac_tool_prefix"; then
                   7117:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7118: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   7119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7120: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7121: if ${ac_cv_prog_DSYMUTIL+:} false; then :
1.1       misho    7122:   $as_echo_n "(cached) " >&6
                   7123: else
                   7124:   if test -n "$DSYMUTIL"; then
                   7125:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7126: else
                   7127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7128: for as_dir in $PATH
                   7129: do
                   7130:   IFS=$as_save_IFS
                   7131:   test -z "$as_dir" && as_dir=.
                   7132:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7133:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7134:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   7135:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7136:     break 2
                   7137:   fi
                   7138: done
                   7139:   done
                   7140: IFS=$as_save_IFS
                   7141: 
                   7142: fi
                   7143: fi
                   7144: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7145: if test -n "$DSYMUTIL"; then
                   7146:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7147: $as_echo "$DSYMUTIL" >&6; }
                   7148: else
                   7149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7150: $as_echo "no" >&6; }
                   7151: fi
                   7152: 
                   7153: 
                   7154: fi
                   7155: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7156:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7157:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7158: set dummy dsymutil; ac_word=$2
                   7159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7160: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7161: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
1.1       misho    7162:   $as_echo_n "(cached) " >&6
                   7163: else
                   7164:   if test -n "$ac_ct_DSYMUTIL"; then
                   7165:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7166: else
                   7167: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7168: for as_dir in $PATH
                   7169: do
                   7170:   IFS=$as_save_IFS
                   7171:   test -z "$as_dir" && as_dir=.
                   7172:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7173:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7174:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   7175:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7176:     break 2
                   7177:   fi
                   7178: done
                   7179:   done
                   7180: IFS=$as_save_IFS
                   7181: 
                   7182: fi
                   7183: fi
                   7184: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7185: if test -n "$ac_ct_DSYMUTIL"; then
                   7186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7187: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   7188: else
                   7189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7190: $as_echo "no" >&6; }
                   7191: fi
                   7192: 
                   7193:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7194:     DSYMUTIL=":"
                   7195:   else
                   7196:     case $cross_compiling:$ac_tool_warned in
                   7197: yes:)
                   7198: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7199: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7200: ac_tool_warned=yes ;;
                   7201: esac
                   7202:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7203:   fi
                   7204: else
                   7205:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7206: fi
                   7207: 
                   7208:     if test -n "$ac_tool_prefix"; then
                   7209:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7210: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   7211: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7212: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7213: if ${ac_cv_prog_NMEDIT+:} false; then :
1.1       misho    7214:   $as_echo_n "(cached) " >&6
                   7215: else
                   7216:   if test -n "$NMEDIT"; then
                   7217:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7218: else
                   7219: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7220: for as_dir in $PATH
                   7221: do
                   7222:   IFS=$as_save_IFS
                   7223:   test -z "$as_dir" && as_dir=.
                   7224:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7225:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7226:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   7227:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7228:     break 2
                   7229:   fi
                   7230: done
                   7231:   done
                   7232: IFS=$as_save_IFS
                   7233: 
                   7234: fi
                   7235: fi
                   7236: NMEDIT=$ac_cv_prog_NMEDIT
                   7237: if test -n "$NMEDIT"; then
                   7238:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7239: $as_echo "$NMEDIT" >&6; }
                   7240: else
                   7241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7242: $as_echo "no" >&6; }
                   7243: fi
                   7244: 
                   7245: 
                   7246: fi
                   7247: if test -z "$ac_cv_prog_NMEDIT"; then
                   7248:   ac_ct_NMEDIT=$NMEDIT
                   7249:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7250: set dummy nmedit; ac_word=$2
                   7251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7252: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7253: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
1.1       misho    7254:   $as_echo_n "(cached) " >&6
                   7255: else
                   7256:   if test -n "$ac_ct_NMEDIT"; then
                   7257:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7258: else
                   7259: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7260: for as_dir in $PATH
                   7261: do
                   7262:   IFS=$as_save_IFS
                   7263:   test -z "$as_dir" && as_dir=.
                   7264:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7265:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7266:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   7267:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7268:     break 2
                   7269:   fi
                   7270: done
                   7271:   done
                   7272: IFS=$as_save_IFS
                   7273: 
                   7274: fi
                   7275: fi
                   7276: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7277: if test -n "$ac_ct_NMEDIT"; then
                   7278:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7279: $as_echo "$ac_ct_NMEDIT" >&6; }
                   7280: else
                   7281:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7282: $as_echo "no" >&6; }
                   7283: fi
                   7284: 
                   7285:   if test "x$ac_ct_NMEDIT" = x; then
                   7286:     NMEDIT=":"
                   7287:   else
                   7288:     case $cross_compiling:$ac_tool_warned in
                   7289: yes:)
                   7290: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7291: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7292: ac_tool_warned=yes ;;
                   7293: esac
                   7294:     NMEDIT=$ac_ct_NMEDIT
                   7295:   fi
                   7296: else
                   7297:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7298: fi
                   7299: 
                   7300:     if test -n "$ac_tool_prefix"; then
                   7301:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7302: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   7303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7304: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7305: if ${ac_cv_prog_LIPO+:} false; then :
1.1       misho    7306:   $as_echo_n "(cached) " >&6
                   7307: else
                   7308:   if test -n "$LIPO"; then
                   7309:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7310: else
                   7311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7312: for as_dir in $PATH
                   7313: do
                   7314:   IFS=$as_save_IFS
                   7315:   test -z "$as_dir" && as_dir=.
                   7316:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7317:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7318:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   7319:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7320:     break 2
                   7321:   fi
                   7322: done
                   7323:   done
                   7324: IFS=$as_save_IFS
                   7325: 
                   7326: fi
                   7327: fi
                   7328: LIPO=$ac_cv_prog_LIPO
                   7329: if test -n "$LIPO"; then
                   7330:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7331: $as_echo "$LIPO" >&6; }
                   7332: else
                   7333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7334: $as_echo "no" >&6; }
                   7335: fi
                   7336: 
                   7337: 
                   7338: fi
                   7339: if test -z "$ac_cv_prog_LIPO"; then
                   7340:   ac_ct_LIPO=$LIPO
                   7341:   # Extract the first word of "lipo", so it can be a program name with args.
                   7342: set dummy lipo; ac_word=$2
                   7343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7344: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7345: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
1.1       misho    7346:   $as_echo_n "(cached) " >&6
                   7347: else
                   7348:   if test -n "$ac_ct_LIPO"; then
                   7349:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7350: else
                   7351: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7352: for as_dir in $PATH
                   7353: do
                   7354:   IFS=$as_save_IFS
                   7355:   test -z "$as_dir" && as_dir=.
                   7356:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7357:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7358:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7359:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7360:     break 2
                   7361:   fi
                   7362: done
                   7363:   done
                   7364: IFS=$as_save_IFS
                   7365: 
                   7366: fi
                   7367: fi
                   7368: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7369: if test -n "$ac_ct_LIPO"; then
                   7370:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7371: $as_echo "$ac_ct_LIPO" >&6; }
                   7372: else
                   7373:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7374: $as_echo "no" >&6; }
                   7375: fi
                   7376: 
                   7377:   if test "x$ac_ct_LIPO" = x; then
                   7378:     LIPO=":"
                   7379:   else
                   7380:     case $cross_compiling:$ac_tool_warned in
                   7381: yes:)
                   7382: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7383: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7384: ac_tool_warned=yes ;;
                   7385: esac
                   7386:     LIPO=$ac_ct_LIPO
                   7387:   fi
                   7388: else
                   7389:   LIPO="$ac_cv_prog_LIPO"
                   7390: fi
                   7391: 
                   7392:     if test -n "$ac_tool_prefix"; then
                   7393:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7394: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7395: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7396: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7397: if ${ac_cv_prog_OTOOL+:} false; then :
1.1       misho    7398:   $as_echo_n "(cached) " >&6
                   7399: else
                   7400:   if test -n "$OTOOL"; then
                   7401:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7402: else
                   7403: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7404: for as_dir in $PATH
                   7405: do
                   7406:   IFS=$as_save_IFS
                   7407:   test -z "$as_dir" && as_dir=.
                   7408:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7409:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7410:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7411:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7412:     break 2
                   7413:   fi
                   7414: done
                   7415:   done
                   7416: IFS=$as_save_IFS
                   7417: 
                   7418: fi
                   7419: fi
                   7420: OTOOL=$ac_cv_prog_OTOOL
                   7421: if test -n "$OTOOL"; then
                   7422:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7423: $as_echo "$OTOOL" >&6; }
                   7424: else
                   7425:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7426: $as_echo "no" >&6; }
                   7427: fi
                   7428: 
                   7429: 
                   7430: fi
                   7431: if test -z "$ac_cv_prog_OTOOL"; then
                   7432:   ac_ct_OTOOL=$OTOOL
                   7433:   # Extract the first word of "otool", so it can be a program name with args.
                   7434: set dummy otool; ac_word=$2
                   7435: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7436: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7437: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
1.1       misho    7438:   $as_echo_n "(cached) " >&6
                   7439: else
                   7440:   if test -n "$ac_ct_OTOOL"; then
                   7441:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7442: else
                   7443: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7444: for as_dir in $PATH
                   7445: do
                   7446:   IFS=$as_save_IFS
                   7447:   test -z "$as_dir" && as_dir=.
                   7448:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7449:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7450:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7451:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7452:     break 2
                   7453:   fi
                   7454: done
                   7455:   done
                   7456: IFS=$as_save_IFS
                   7457: 
                   7458: fi
                   7459: fi
                   7460: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7461: if test -n "$ac_ct_OTOOL"; then
                   7462:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7463: $as_echo "$ac_ct_OTOOL" >&6; }
                   7464: else
                   7465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7466: $as_echo "no" >&6; }
                   7467: fi
                   7468: 
                   7469:   if test "x$ac_ct_OTOOL" = x; then
                   7470:     OTOOL=":"
                   7471:   else
                   7472:     case $cross_compiling:$ac_tool_warned in
                   7473: yes:)
                   7474: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7475: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7476: ac_tool_warned=yes ;;
                   7477: esac
                   7478:     OTOOL=$ac_ct_OTOOL
                   7479:   fi
                   7480: else
                   7481:   OTOOL="$ac_cv_prog_OTOOL"
                   7482: fi
                   7483: 
                   7484:     if test -n "$ac_tool_prefix"; then
                   7485:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7486: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7488: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7489: if ${ac_cv_prog_OTOOL64+:} false; then :
1.1       misho    7490:   $as_echo_n "(cached) " >&6
                   7491: else
                   7492:   if test -n "$OTOOL64"; then
                   7493:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7494: else
                   7495: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7496: for as_dir in $PATH
                   7497: do
                   7498:   IFS=$as_save_IFS
                   7499:   test -z "$as_dir" && as_dir=.
                   7500:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7501:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7502:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7503:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7504:     break 2
                   7505:   fi
                   7506: done
                   7507:   done
                   7508: IFS=$as_save_IFS
                   7509: 
                   7510: fi
                   7511: fi
                   7512: OTOOL64=$ac_cv_prog_OTOOL64
                   7513: if test -n "$OTOOL64"; then
                   7514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7515: $as_echo "$OTOOL64" >&6; }
                   7516: else
                   7517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7518: $as_echo "no" >&6; }
                   7519: fi
                   7520: 
                   7521: 
                   7522: fi
                   7523: if test -z "$ac_cv_prog_OTOOL64"; then
                   7524:   ac_ct_OTOOL64=$OTOOL64
                   7525:   # Extract the first word of "otool64", so it can be a program name with args.
                   7526: set dummy otool64; ac_word=$2
                   7527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7528: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7529: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
1.1       misho    7530:   $as_echo_n "(cached) " >&6
                   7531: else
                   7532:   if test -n "$ac_ct_OTOOL64"; then
                   7533:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7534: else
                   7535: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7536: for as_dir in $PATH
                   7537: do
                   7538:   IFS=$as_save_IFS
                   7539:   test -z "$as_dir" && as_dir=.
                   7540:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7541:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7542:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7543:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7544:     break 2
                   7545:   fi
                   7546: done
                   7547:   done
                   7548: IFS=$as_save_IFS
                   7549: 
                   7550: fi
                   7551: fi
                   7552: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7553: if test -n "$ac_ct_OTOOL64"; then
                   7554:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7555: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7556: else
                   7557:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7558: $as_echo "no" >&6; }
                   7559: fi
                   7560: 
                   7561:   if test "x$ac_ct_OTOOL64" = x; then
                   7562:     OTOOL64=":"
                   7563:   else
                   7564:     case $cross_compiling:$ac_tool_warned in
                   7565: yes:)
                   7566: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7567: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7568: ac_tool_warned=yes ;;
                   7569: esac
                   7570:     OTOOL64=$ac_ct_OTOOL64
                   7571:   fi
                   7572: else
                   7573:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7574: fi
                   7575: 
                   7576: 
                   7577: 
                   7578: 
                   7579: 
                   7580: 
                   7581: 
                   7582: 
                   7583: 
                   7584: 
                   7585: 
                   7586: 
                   7587: 
                   7588: 
                   7589: 
                   7590: 
                   7591: 
                   7592: 
                   7593: 
                   7594: 
                   7595: 
                   7596: 
                   7597: 
                   7598: 
                   7599: 
                   7600: 
                   7601: 
                   7602:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7603: $as_echo_n "checking for -single_module linker flag... " >&6; }
1.1.1.2 ! misho    7604: if ${lt_cv_apple_cc_single_mod+:} false; then :
1.1       misho    7605:   $as_echo_n "(cached) " >&6
                   7606: else
                   7607:   lt_cv_apple_cc_single_mod=no
1.1.1.2 ! misho    7608:       if test -z "$LT_MULTI_MODULE"; then
1.1       misho    7609:        # By default we will add the -single_module flag. You can override
                   7610:        # by either setting the environment variable LT_MULTI_MODULE
                   7611:        # non-empty at configure time, or by adding -multi_module to the
                   7612:        # link flags.
                   7613:        rm -rf libconftest.dylib*
                   7614:        echo "int foo(void){return 1;}" > conftest.c
                   7615:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7616: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7617:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7618:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7619:         _lt_result=$?
1.1.1.2 ! misho    7620:        # If there is a non-empty error log, and "single_module"
        !          7621:        # appears in it, assume the flag caused a linker warning
        !          7622:         if test -s conftest.err && $GREP single_module conftest.err; then
        !          7623:          cat conftest.err >&5
        !          7624:        # Otherwise, if the output was created with a 0 exit code from
        !          7625:        # the compiler, it worked.
        !          7626:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.1       misho    7627:          lt_cv_apple_cc_single_mod=yes
                   7628:        else
                   7629:          cat conftest.err >&5
                   7630:        fi
                   7631:        rm -rf libconftest.dylib*
                   7632:        rm -f conftest.*
                   7633:       fi
                   7634: fi
                   7635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7636: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.1.2 ! misho    7637: 
1.1       misho    7638:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7639: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.1.1.2 ! misho    7640: if ${lt_cv_ld_exported_symbols_list+:} false; then :
1.1       misho    7641:   $as_echo_n "(cached) " >&6
                   7642: else
                   7643:   lt_cv_ld_exported_symbols_list=no
                   7644:       save_LDFLAGS=$LDFLAGS
                   7645:       echo "_main" > conftest.sym
                   7646:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7647:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7648: /* end confdefs.h.  */
                   7649: 
                   7650: int
                   7651: main ()
                   7652: {
                   7653: 
                   7654:   ;
                   7655:   return 0;
                   7656: }
                   7657: _ACEOF
                   7658: if ac_fn_c_try_link "$LINENO"; then :
                   7659:   lt_cv_ld_exported_symbols_list=yes
                   7660: else
                   7661:   lt_cv_ld_exported_symbols_list=no
                   7662: fi
                   7663: rm -f core conftest.err conftest.$ac_objext \
                   7664:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    7665:        LDFLAGS=$save_LDFLAGS
1.1       misho    7666: 
                   7667: fi
                   7668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7669: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1.1.2 ! misho    7670: 
        !          7671:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          7672: $as_echo_n "checking for -force_load linker flag... " >&6; }
        !          7673: if ${lt_cv_ld_force_load+:} false; then :
        !          7674:   $as_echo_n "(cached) " >&6
        !          7675: else
        !          7676:   lt_cv_ld_force_load=no
        !          7677:       cat > conftest.c << _LT_EOF
        !          7678: int forced_loaded() { return 2;}
        !          7679: _LT_EOF
        !          7680:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
        !          7681:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        !          7682:       echo "$AR cr libconftest.a conftest.o" >&5
        !          7683:       $AR cr libconftest.a conftest.o 2>&5
        !          7684:       echo "$RANLIB libconftest.a" >&5
        !          7685:       $RANLIB libconftest.a 2>&5
        !          7686:       cat > conftest.c << _LT_EOF
        !          7687: int main() { return 0;}
        !          7688: _LT_EOF
        !          7689:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
        !          7690:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
        !          7691:       _lt_result=$?
        !          7692:       if test -s conftest.err && $GREP force_load conftest.err; then
        !          7693:        cat conftest.err >&5
        !          7694:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
        !          7695:        lt_cv_ld_force_load=yes
        !          7696:       else
        !          7697:        cat conftest.err >&5
        !          7698:       fi
        !          7699:         rm -f conftest.err libconftest.a conftest conftest.c
        !          7700:         rm -rf conftest.dSYM
        !          7701: 
        !          7702: fi
        !          7703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          7704: $as_echo "$lt_cv_ld_force_load" >&6; }
1.1       misho    7705:     case $host_os in
                   7706:     rhapsody* | darwin1.[012])
1.1.1.2 ! misho    7707:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.1       misho    7708:     darwin1.*)
1.1.1.2 ! misho    7709:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1.1       misho    7710:     darwin*) # darwin 5.x on
                   7711:       # if running on 10.5 or later, the deployment target defaults
                   7712:       # to the OS version, if on x86, and 10.4, the deployment
                   7713:       # target defaults to 10.4. Don't you love it?
                   7714:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7715:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
1.1.1.2 ! misho    7716:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        !          7717:        10.[012][,.]*)
        !          7718:          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1.1       misho    7719:        10.*)
1.1.1.2 ! misho    7720:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1.1       misho    7721:       esac
                   7722:     ;;
                   7723:   esac
1.1.1.2 ! misho    7724:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.1       misho    7725:       _lt_dar_single_mod='$single_module'
                   7726:     fi
1.1.1.2 ! misho    7727:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
        !          7728:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.1       misho    7729:     else
1.1.1.2 ! misho    7730:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.1       misho    7731:     fi
1.1.1.2 ! misho    7732:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.1       misho    7733:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7734:     else
                   7735:       _lt_dsymutil=
                   7736:     fi
                   7737:     ;;
                   7738:   esac
                   7739: 
1.1.1.2 ! misho    7740: # func_munge_path_list VARIABLE PATH
        !          7741: # -----------------------------------
        !          7742: # VARIABLE is name of variable containing _space_ separated list of
        !          7743: # directories to be munged by the contents of PATH, which is string
        !          7744: # having a format:
        !          7745: # "DIR[:DIR]:"
        !          7746: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          7747: # ":DIR[:DIR]"
        !          7748: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          7749: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          7750: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          7751: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          7752: # "DIR[:DIR]"
        !          7753: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          7754: func_munge_path_list ()
        !          7755: {
        !          7756:     case x$2 in
        !          7757:     x)
        !          7758:         ;;
        !          7759:     *:)
        !          7760:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          7761:         ;;
        !          7762:     x:*)
        !          7763:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          7764:         ;;
        !          7765:     *::*)
        !          7766:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          7767:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          7768:         ;;
        !          7769:     *)
        !          7770:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          7771:         ;;
        !          7772:     esac
        !          7773: }
        !          7774: 
1.1       misho    7775: ac_ext=c
                   7776: ac_cpp='$CPP $CPPFLAGS'
                   7777: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7778: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7779: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7781: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   7782: # On Suns, sometimes $CPP names a directory.
                   7783: if test -n "$CPP" && test -d "$CPP"; then
                   7784:   CPP=
                   7785: fi
                   7786: if test -z "$CPP"; then
1.1.1.2 ! misho    7787:   if ${ac_cv_prog_CPP+:} false; then :
1.1       misho    7788:   $as_echo_n "(cached) " >&6
                   7789: else
                   7790:       # Double quotes because CPP needs to be expanded
                   7791:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7792:     do
                   7793:       ac_preproc_ok=false
                   7794: for ac_c_preproc_warn_flag in '' yes
                   7795: do
                   7796:   # Use a header file that comes with gcc, so configuring glibc
                   7797:   # with a fresh cross-compiler works.
                   7798:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7799:   # <limits.h> exists even on freestanding compilers.
                   7800:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7801:   # not just through cpp. "Syntax error" is here to catch this case.
                   7802:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7803: /* end confdefs.h.  */
                   7804: #ifdef __STDC__
                   7805: # include <limits.h>
                   7806: #else
                   7807: # include <assert.h>
                   7808: #endif
                   7809:                     Syntax error
                   7810: _ACEOF
                   7811: if ac_fn_c_try_cpp "$LINENO"; then :
                   7812: 
                   7813: else
                   7814:   # Broken: fails on valid input.
                   7815: continue
                   7816: fi
1.1.1.2 ! misho    7817: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    7818: 
                   7819:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7820:   # can be detected and how.
                   7821:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7822: /* end confdefs.h.  */
                   7823: #include <ac_nonexistent.h>
                   7824: _ACEOF
                   7825: if ac_fn_c_try_cpp "$LINENO"; then :
                   7826:   # Broken: success on invalid input.
                   7827: continue
                   7828: else
                   7829:   # Passes both tests.
                   7830: ac_preproc_ok=:
                   7831: break
                   7832: fi
1.1.1.2 ! misho    7833: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    7834: 
                   7835: done
                   7836: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2 ! misho    7837: rm -f conftest.i conftest.err conftest.$ac_ext
1.1       misho    7838: if $ac_preproc_ok; then :
                   7839:   break
                   7840: fi
                   7841: 
                   7842:     done
                   7843:     ac_cv_prog_CPP=$CPP
                   7844: 
                   7845: fi
                   7846:   CPP=$ac_cv_prog_CPP
                   7847: else
                   7848:   ac_cv_prog_CPP=$CPP
                   7849: fi
                   7850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7851: $as_echo "$CPP" >&6; }
                   7852: ac_preproc_ok=false
                   7853: for ac_c_preproc_warn_flag in '' yes
                   7854: do
                   7855:   # Use a header file that comes with gcc, so configuring glibc
                   7856:   # with a fresh cross-compiler works.
                   7857:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7858:   # <limits.h> exists even on freestanding compilers.
                   7859:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7860:   # not just through cpp. "Syntax error" is here to catch this case.
                   7861:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7862: /* end confdefs.h.  */
                   7863: #ifdef __STDC__
                   7864: # include <limits.h>
                   7865: #else
                   7866: # include <assert.h>
                   7867: #endif
                   7868:                     Syntax error
                   7869: _ACEOF
                   7870: if ac_fn_c_try_cpp "$LINENO"; then :
                   7871: 
                   7872: else
                   7873:   # Broken: fails on valid input.
                   7874: continue
                   7875: fi
1.1.1.2 ! misho    7876: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    7877: 
                   7878:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7879:   # can be detected and how.
                   7880:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7881: /* end confdefs.h.  */
                   7882: #include <ac_nonexistent.h>
                   7883: _ACEOF
                   7884: if ac_fn_c_try_cpp "$LINENO"; then :
                   7885:   # Broken: success on invalid input.
                   7886: continue
                   7887: else
                   7888:   # Passes both tests.
                   7889: ac_preproc_ok=:
                   7890: break
                   7891: fi
1.1.1.2 ! misho    7892: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    7893: 
                   7894: done
                   7895: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2 ! misho    7896: rm -f conftest.i conftest.err conftest.$ac_ext
1.1       misho    7897: if $ac_preproc_ok; then :
                   7898: 
                   7899: else
                   7900:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7901: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    7902: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
        !          7903: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    7904: fi
                   7905: 
                   7906: ac_ext=c
                   7907: ac_cpp='$CPP $CPPFLAGS'
                   7908: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7909: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7910: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7911: 
                   7912: 
                   7913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7914: $as_echo_n "checking for ANSI C header files... " >&6; }
1.1.1.2 ! misho    7915: if ${ac_cv_header_stdc+:} false; then :
1.1       misho    7916:   $as_echo_n "(cached) " >&6
                   7917: else
                   7918:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7919: /* end confdefs.h.  */
                   7920: #include <stdlib.h>
                   7921: #include <stdarg.h>
                   7922: #include <string.h>
                   7923: #include <float.h>
                   7924: 
                   7925: int
                   7926: main ()
                   7927: {
                   7928: 
                   7929:   ;
                   7930:   return 0;
                   7931: }
                   7932: _ACEOF
                   7933: if ac_fn_c_try_compile "$LINENO"; then :
                   7934:   ac_cv_header_stdc=yes
                   7935: else
                   7936:   ac_cv_header_stdc=no
                   7937: fi
                   7938: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7939: 
                   7940: if test $ac_cv_header_stdc = yes; then
                   7941:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7942:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7943: /* end confdefs.h.  */
                   7944: #include <string.h>
                   7945: 
                   7946: _ACEOF
                   7947: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7948:   $EGREP "memchr" >/dev/null 2>&1; then :
                   7949: 
                   7950: else
                   7951:   ac_cv_header_stdc=no
                   7952: fi
                   7953: rm -f conftest*
                   7954: 
                   7955: fi
                   7956: 
                   7957: if test $ac_cv_header_stdc = yes; then
                   7958:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7959:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7960: /* end confdefs.h.  */
                   7961: #include <stdlib.h>
                   7962: 
                   7963: _ACEOF
                   7964: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7965:   $EGREP "free" >/dev/null 2>&1; then :
                   7966: 
                   7967: else
                   7968:   ac_cv_header_stdc=no
                   7969: fi
                   7970: rm -f conftest*
                   7971: 
                   7972: fi
                   7973: 
                   7974: if test $ac_cv_header_stdc = yes; then
                   7975:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7976:   if test "$cross_compiling" = yes; then :
                   7977:   :
                   7978: else
                   7979:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7980: /* end confdefs.h.  */
                   7981: #include <ctype.h>
                   7982: #include <stdlib.h>
                   7983: #if ((' ' & 0x0FF) == 0x020)
                   7984: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7985: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7986: #else
                   7987: # define ISLOWER(c) \
                   7988:                   (('a' <= (c) && (c) <= 'i') \
                   7989:                     || ('j' <= (c) && (c) <= 'r') \
                   7990:                     || ('s' <= (c) && (c) <= 'z'))
                   7991: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7992: #endif
                   7993: 
                   7994: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7995: int
                   7996: main ()
                   7997: {
                   7998:   int i;
                   7999:   for (i = 0; i < 256; i++)
                   8000:     if (XOR (islower (i), ISLOWER (i))
                   8001:        || toupper (i) != TOUPPER (i))
                   8002:       return 2;
                   8003:   return 0;
                   8004: }
                   8005: _ACEOF
                   8006: if ac_fn_c_try_run "$LINENO"; then :
                   8007: 
                   8008: else
                   8009:   ac_cv_header_stdc=no
                   8010: fi
                   8011: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8012:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8013: fi
                   8014: 
                   8015: fi
                   8016: fi
                   8017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8018: $as_echo "$ac_cv_header_stdc" >&6; }
                   8019: if test $ac_cv_header_stdc = yes; then
                   8020: 
                   8021: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   8022: 
                   8023: fi
                   8024: 
                   8025: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   8026: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8027:                  inttypes.h stdint.h unistd.h
                   8028: do :
                   8029:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8030: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8031: "
1.1.1.2 ! misho    8032: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    8033:   cat >>confdefs.h <<_ACEOF
                   8034: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8035: _ACEOF
                   8036: 
                   8037: fi
                   8038: 
                   8039: done
                   8040: 
                   8041: 
                   8042: for ac_header in dlfcn.h
                   8043: do :
                   8044:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8045: "
1.1.1.2 ! misho    8046: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.1       misho    8047:   cat >>confdefs.h <<_ACEOF
                   8048: #define HAVE_DLFCN_H 1
                   8049: _ACEOF
                   8050: 
                   8051: fi
                   8052: 
                   8053: done
                   8054: 
                   8055: 
                   8056: 
1.1.1.2 ! misho    8057: 
        !          8058: 
1.1       misho    8059: # Set options
1.1.1.2 ! misho    8060: enable_win32_dll=yes
        !          8061: 
        !          8062: case $host in
        !          8063: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
        !          8064:   if test -n "$ac_tool_prefix"; then
        !          8065:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
        !          8066: set dummy ${ac_tool_prefix}as; ac_word=$2
        !          8067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8068: $as_echo_n "checking for $ac_word... " >&6; }
        !          8069: if ${ac_cv_prog_AS+:} false; then :
        !          8070:   $as_echo_n "(cached) " >&6
        !          8071: else
        !          8072:   if test -n "$AS"; then
        !          8073:   ac_cv_prog_AS="$AS" # Let the user override the test.
        !          8074: else
        !          8075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8076: for as_dir in $PATH
        !          8077: do
        !          8078:   IFS=$as_save_IFS
        !          8079:   test -z "$as_dir" && as_dir=.
        !          8080:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8081:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8082:     ac_cv_prog_AS="${ac_tool_prefix}as"
        !          8083:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8084:     break 2
        !          8085:   fi
        !          8086: done
        !          8087:   done
        !          8088: IFS=$as_save_IFS
        !          8089: 
        !          8090: fi
        !          8091: fi
        !          8092: AS=$ac_cv_prog_AS
        !          8093: if test -n "$AS"; then
        !          8094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
        !          8095: $as_echo "$AS" >&6; }
        !          8096: else
        !          8097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8098: $as_echo "no" >&6; }
        !          8099: fi
        !          8100: 
        !          8101: 
        !          8102: fi
        !          8103: if test -z "$ac_cv_prog_AS"; then
        !          8104:   ac_ct_AS=$AS
        !          8105:   # Extract the first word of "as", so it can be a program name with args.
        !          8106: set dummy as; ac_word=$2
        !          8107: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8108: $as_echo_n "checking for $ac_word... " >&6; }
        !          8109: if ${ac_cv_prog_ac_ct_AS+:} false; then :
        !          8110:   $as_echo_n "(cached) " >&6
        !          8111: else
        !          8112:   if test -n "$ac_ct_AS"; then
        !          8113:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
        !          8114: else
        !          8115: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8116: for as_dir in $PATH
        !          8117: do
        !          8118:   IFS=$as_save_IFS
        !          8119:   test -z "$as_dir" && as_dir=.
        !          8120:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8121:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8122:     ac_cv_prog_ac_ct_AS="as"
        !          8123:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8124:     break 2
        !          8125:   fi
        !          8126: done
        !          8127:   done
        !          8128: IFS=$as_save_IFS
        !          8129: 
        !          8130: fi
        !          8131: fi
        !          8132: ac_ct_AS=$ac_cv_prog_ac_ct_AS
        !          8133: if test -n "$ac_ct_AS"; then
        !          8134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
        !          8135: $as_echo "$ac_ct_AS" >&6; }
        !          8136: else
        !          8137:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8138: $as_echo "no" >&6; }
        !          8139: fi
        !          8140: 
        !          8141:   if test "x$ac_ct_AS" = x; then
        !          8142:     AS="false"
        !          8143:   else
        !          8144:     case $cross_compiling:$ac_tool_warned in
        !          8145: yes:)
        !          8146: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8147: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8148: ac_tool_warned=yes ;;
        !          8149: esac
        !          8150:     AS=$ac_ct_AS
        !          8151:   fi
        !          8152: else
        !          8153:   AS="$ac_cv_prog_AS"
        !          8154: fi
        !          8155: 
        !          8156:   if test -n "$ac_tool_prefix"; then
        !          8157:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          8158: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
        !          8159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8160: $as_echo_n "checking for $ac_word... " >&6; }
        !          8161: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          8162:   $as_echo_n "(cached) " >&6
        !          8163: else
        !          8164:   if test -n "$DLLTOOL"; then
        !          8165:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
        !          8166: else
        !          8167: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8168: for as_dir in $PATH
        !          8169: do
        !          8170:   IFS=$as_save_IFS
        !          8171:   test -z "$as_dir" && as_dir=.
        !          8172:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8173:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8174:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
        !          8175:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8176:     break 2
        !          8177:   fi
        !          8178: done
        !          8179:   done
        !          8180: IFS=$as_save_IFS
        !          8181: 
        !          8182: fi
        !          8183: fi
        !          8184: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          8185: if test -n "$DLLTOOL"; then
        !          8186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          8187: $as_echo "$DLLTOOL" >&6; }
        !          8188: else
        !          8189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8190: $as_echo "no" >&6; }
        !          8191: fi
        !          8192: 
        !          8193: 
        !          8194: fi
        !          8195: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          8196:   ac_ct_DLLTOOL=$DLLTOOL
        !          8197:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          8198: set dummy dlltool; ac_word=$2
        !          8199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8200: $as_echo_n "checking for $ac_word... " >&6; }
        !          8201: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          8202:   $as_echo_n "(cached) " >&6
        !          8203: else
        !          8204:   if test -n "$ac_ct_DLLTOOL"; then
        !          8205:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          8206: else
        !          8207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8208: for as_dir in $PATH
        !          8209: do
        !          8210:   IFS=$as_save_IFS
        !          8211:   test -z "$as_dir" && as_dir=.
        !          8212:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8213:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8214:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          8215:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8216:     break 2
        !          8217:   fi
        !          8218: done
        !          8219:   done
        !          8220: IFS=$as_save_IFS
        !          8221: 
        !          8222: fi
        !          8223: fi
        !          8224: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          8225: if test -n "$ac_ct_DLLTOOL"; then
        !          8226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          8227: $as_echo "$ac_ct_DLLTOOL" >&6; }
        !          8228: else
        !          8229:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8230: $as_echo "no" >&6; }
        !          8231: fi
        !          8232: 
        !          8233:   if test "x$ac_ct_DLLTOOL" = x; then
        !          8234:     DLLTOOL="false"
        !          8235:   else
        !          8236:     case $cross_compiling:$ac_tool_warned in
        !          8237: yes:)
        !          8238: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8239: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8240: ac_tool_warned=yes ;;
        !          8241: esac
        !          8242:     DLLTOOL=$ac_ct_DLLTOOL
        !          8243:   fi
        !          8244: else
        !          8245:   DLLTOOL="$ac_cv_prog_DLLTOOL"
        !          8246: fi
        !          8247: 
        !          8248:   if test -n "$ac_tool_prefix"; then
        !          8249:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
        !          8250: set dummy ${ac_tool_prefix}objdump; ac_word=$2
        !          8251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8252: $as_echo_n "checking for $ac_word... " >&6; }
        !          8253: if ${ac_cv_prog_OBJDUMP+:} false; then :
        !          8254:   $as_echo_n "(cached) " >&6
        !          8255: else
        !          8256:   if test -n "$OBJDUMP"; then
        !          8257:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
        !          8258: else
        !          8259: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8260: for as_dir in $PATH
        !          8261: do
        !          8262:   IFS=$as_save_IFS
        !          8263:   test -z "$as_dir" && as_dir=.
        !          8264:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8265:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8266:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
        !          8267:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8268:     break 2
        !          8269:   fi
        !          8270: done
        !          8271:   done
        !          8272: IFS=$as_save_IFS
        !          8273: 
        !          8274: fi
        !          8275: fi
        !          8276: OBJDUMP=$ac_cv_prog_OBJDUMP
        !          8277: if test -n "$OBJDUMP"; then
        !          8278:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          8279: $as_echo "$OBJDUMP" >&6; }
        !          8280: else
        !          8281:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8282: $as_echo "no" >&6; }
        !          8283: fi
        !          8284: 
        !          8285: 
        !          8286: fi
        !          8287: if test -z "$ac_cv_prog_OBJDUMP"; then
        !          8288:   ac_ct_OBJDUMP=$OBJDUMP
        !          8289:   # Extract the first word of "objdump", so it can be a program name with args.
        !          8290: set dummy objdump; ac_word=$2
        !          8291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8292: $as_echo_n "checking for $ac_word... " >&6; }
        !          8293: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
        !          8294:   $as_echo_n "(cached) " >&6
        !          8295: else
        !          8296:   if test -n "$ac_ct_OBJDUMP"; then
        !          8297:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
        !          8298: else
        !          8299: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8300: for as_dir in $PATH
        !          8301: do
        !          8302:   IFS=$as_save_IFS
        !          8303:   test -z "$as_dir" && as_dir=.
        !          8304:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8305:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8306:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
        !          8307:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8308:     break 2
        !          8309:   fi
        !          8310: done
        !          8311:   done
        !          8312: IFS=$as_save_IFS
        !          8313: 
        !          8314: fi
        !          8315: fi
        !          8316: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
        !          8317: if test -n "$ac_ct_OBJDUMP"; then
        !          8318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          8319: $as_echo "$ac_ct_OBJDUMP" >&6; }
        !          8320: else
        !          8321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8322: $as_echo "no" >&6; }
        !          8323: fi
        !          8324: 
        !          8325:   if test "x$ac_ct_OBJDUMP" = x; then
        !          8326:     OBJDUMP="false"
        !          8327:   else
        !          8328:     case $cross_compiling:$ac_tool_warned in
        !          8329: yes:)
        !          8330: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8331: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8332: ac_tool_warned=yes ;;
        !          8333: esac
        !          8334:     OBJDUMP=$ac_ct_OBJDUMP
        !          8335:   fi
        !          8336: else
        !          8337:   OBJDUMP="$ac_cv_prog_OBJDUMP"
        !          8338: fi
        !          8339: 
        !          8340:   ;;
        !          8341: esac
        !          8342: 
        !          8343: test -z "$AS" && AS=as
        !          8344: 
        !          8345: 
        !          8346: 
        !          8347: 
        !          8348: 
        !          8349: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          8350: 
        !          8351: 
        !          8352: 
        !          8353: 
        !          8354: 
        !          8355: test -z "$OBJDUMP" && OBJDUMP=objdump
        !          8356: 
        !          8357: 
        !          8358: 
        !          8359: 
1.1       misho    8360: 
                   8361: 
                   8362: 
                   8363:         enable_dlopen=no
                   8364: 
                   8365: 
1.1.1.2 ! misho    8366: 
        !          8367:             # Check whether --enable-shared was given.
        !          8368: if test "${enable_shared+set}" = set; then :
        !          8369:   enableval=$enable_shared; p=${PACKAGE-default}
        !          8370:     case $enableval in
        !          8371:     yes) enable_shared=yes ;;
        !          8372:     no) enable_shared=no ;;
        !          8373:     *)
        !          8374:       enable_shared=no
        !          8375:       # Look at the argument we got.  We use all the common list separators.
        !          8376:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          8377:       for pkg in $enableval; do
        !          8378:        IFS=$lt_save_ifs
        !          8379:        if test "X$pkg" = "X$p"; then
        !          8380:          enable_shared=yes
        !          8381:        fi
        !          8382:       done
        !          8383:       IFS=$lt_save_ifs
        !          8384:       ;;
        !          8385:     esac
        !          8386: else
        !          8387:   enable_shared=yes
        !          8388: fi
        !          8389: 
        !          8390: 
        !          8391: 
        !          8392: 
        !          8393: 
        !          8394: 
1.1       misho    8395: 
                   8396: 
                   8397: 
                   8398:   # Check whether --enable-static was given.
                   8399: if test "${enable_static+set}" = set; then :
                   8400:   enableval=$enable_static; p=${PACKAGE-default}
                   8401:     case $enableval in
                   8402:     yes) enable_static=yes ;;
                   8403:     no) enable_static=no ;;
                   8404:     *)
                   8405:      enable_static=no
                   8406:       # Look at the argument we got.  We use all the common list separators.
1.1.1.2 ! misho    8407:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.1       misho    8408:       for pkg in $enableval; do
1.1.1.2 ! misho    8409:        IFS=$lt_save_ifs
1.1       misho    8410:        if test "X$pkg" = "X$p"; then
                   8411:          enable_static=yes
                   8412:        fi
                   8413:       done
1.1.1.2 ! misho    8414:       IFS=$lt_save_ifs
1.1       misho    8415:       ;;
                   8416:     esac
                   8417: else
                   8418:   enable_static=yes
                   8419: fi
                   8420: 
                   8421: 
                   8422: 
                   8423: 
                   8424: 
                   8425: 
                   8426: 
                   8427: 
                   8428: 
                   8429: 
                   8430: # Check whether --with-pic was given.
                   8431: if test "${with_pic+set}" = set; then :
1.1.1.2 ! misho    8432:   withval=$with_pic; lt_p=${PACKAGE-default}
        !          8433:     case $withval in
        !          8434:     yes|no) pic_mode=$withval ;;
        !          8435:     *)
        !          8436:       pic_mode=default
        !          8437:       # Look at the argument we got.  We use all the common list separators.
        !          8438:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          8439:       for lt_pkg in $withval; do
        !          8440:        IFS=$lt_save_ifs
        !          8441:        if test "X$lt_pkg" = "X$lt_p"; then
        !          8442:          pic_mode=yes
        !          8443:        fi
        !          8444:       done
        !          8445:       IFS=$lt_save_ifs
        !          8446:       ;;
        !          8447:     esac
1.1       misho    8448: else
                   8449:   pic_mode=default
                   8450: fi
                   8451: 
                   8452: 
                   8453: 
                   8454: 
                   8455: 
                   8456: 
                   8457: 
                   8458: 
                   8459:   # Check whether --enable-fast-install was given.
                   8460: if test "${enable_fast_install+set}" = set; then :
                   8461:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   8462:     case $enableval in
                   8463:     yes) enable_fast_install=yes ;;
                   8464:     no) enable_fast_install=no ;;
                   8465:     *)
                   8466:       enable_fast_install=no
                   8467:       # Look at the argument we got.  We use all the common list separators.
1.1.1.2 ! misho    8468:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.1       misho    8469:       for pkg in $enableval; do
1.1.1.2 ! misho    8470:        IFS=$lt_save_ifs
1.1       misho    8471:        if test "X$pkg" = "X$p"; then
                   8472:          enable_fast_install=yes
                   8473:        fi
                   8474:       done
1.1.1.2 ! misho    8475:       IFS=$lt_save_ifs
1.1       misho    8476:       ;;
                   8477:     esac
                   8478: else
                   8479:   enable_fast_install=yes
                   8480: fi
                   8481: 
                   8482: 
                   8483: 
                   8484: 
                   8485: 
                   8486: 
                   8487: 
                   8488: 
1.1.1.2 ! misho    8489:   shared_archive_member_spec=
        !          8490: case $host,$enable_shared in
        !          8491: power*-*-aix[5-9]*,yes)
        !          8492:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
        !          8493: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
        !          8494: 
        !          8495: # Check whether --with-aix-soname was given.
        !          8496: if test "${with_aix_soname+set}" = set; then :
        !          8497:   withval=$with_aix_soname; case $withval in
        !          8498:     aix|svr4|both)
        !          8499:       ;;
        !          8500:     *)
        !          8501:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
        !          8502:       ;;
        !          8503:     esac
        !          8504:     lt_cv_with_aix_soname=$with_aix_soname
        !          8505: else
        !          8506:   if ${lt_cv_with_aix_soname+:} false; then :
        !          8507:   $as_echo_n "(cached) " >&6
        !          8508: else
        !          8509:   lt_cv_with_aix_soname=aix
        !          8510: fi
        !          8511: 
        !          8512:     with_aix_soname=$lt_cv_with_aix_soname
        !          8513: fi
        !          8514: 
        !          8515:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
        !          8516: $as_echo "$with_aix_soname" >&6; }
        !          8517:   if test aix != "$with_aix_soname"; then
        !          8518:     # For the AIX way of multilib, we name the shared archive member
        !          8519:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
        !          8520:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
        !          8521:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
        !          8522:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
        !          8523:     if test 64 = "${OBJECT_MODE-32}"; then
        !          8524:       shared_archive_member_spec=shr_64
        !          8525:     else
        !          8526:       shared_archive_member_spec=shr
        !          8527:     fi
        !          8528:   fi
        !          8529:   ;;
        !          8530: *)
        !          8531:   with_aix_soname=aix
        !          8532:   ;;
        !          8533: esac
        !          8534: 
        !          8535: 
        !          8536: 
        !          8537: 
        !          8538: 
        !          8539: 
        !          8540: 
1.1       misho    8541: 
                   8542: 
                   8543: 
                   8544: # This can be used to rebuild libtool when needed
1.1.1.2 ! misho    8545: LIBTOOL_DEPS=$ltmain
1.1       misho    8546: 
                   8547: # Always use our own libtool.
                   8548: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8549: 
                   8550: 
                   8551: 
                   8552: 
                   8553: 
                   8554: 
                   8555: 
                   8556: 
                   8557: 
                   8558: 
                   8559: 
                   8560: 
                   8561: 
                   8562: 
                   8563: 
                   8564: 
                   8565: 
                   8566: 
                   8567: 
                   8568: 
                   8569: 
                   8570: 
                   8571: 
                   8572: 
                   8573: 
1.1.1.2 ! misho    8574: 
        !          8575: 
        !          8576: 
        !          8577: 
        !          8578: 
1.1       misho    8579: test -z "$LN_S" && LN_S="ln -s"
                   8580: 
                   8581: 
                   8582: 
                   8583: 
                   8584: 
                   8585: 
                   8586: 
                   8587: 
                   8588: 
                   8589: 
                   8590: 
                   8591: 
                   8592: 
                   8593: 
1.1.1.2 ! misho    8594: if test -n "${ZSH_VERSION+set}"; then
1.1       misho    8595:    setopt NO_GLOB_SUBST
                   8596: fi
                   8597: 
                   8598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8599: $as_echo_n "checking for objdir... " >&6; }
1.1.1.2 ! misho    8600: if ${lt_cv_objdir+:} false; then :
1.1       misho    8601:   $as_echo_n "(cached) " >&6
                   8602: else
                   8603:   rm -f .libs 2>/dev/null
                   8604: mkdir .libs 2>/dev/null
                   8605: if test -d .libs; then
                   8606:   lt_cv_objdir=.libs
                   8607: else
                   8608:   # MS-DOS does not allow filenames that begin with a dot.
                   8609:   lt_cv_objdir=_libs
                   8610: fi
                   8611: rmdir .libs 2>/dev/null
                   8612: fi
                   8613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8614: $as_echo "$lt_cv_objdir" >&6; }
                   8615: objdir=$lt_cv_objdir
                   8616: 
                   8617: 
                   8618: 
                   8619: 
                   8620: 
                   8621: cat >>confdefs.h <<_ACEOF
                   8622: #define LT_OBJDIR "$lt_cv_objdir/"
                   8623: _ACEOF
                   8624: 
                   8625: 
                   8626: 
                   8627: 
                   8628: case $host_os in
                   8629: aix3*)
                   8630:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8631:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8632:   # vanish in a puff of smoke.
1.1.1.2 ! misho    8633:   if test set != "${COLLECT_NAMES+set}"; then
1.1       misho    8634:     COLLECT_NAMES=
                   8635:     export COLLECT_NAMES
                   8636:   fi
                   8637:   ;;
                   8638: esac
                   8639: 
                   8640: # Global variables:
                   8641: ofile=libtool
                   8642: can_build_shared=yes
                   8643: 
1.1.1.2 ! misho    8644: # All known linkers require a '.a' archive for static linking (except MSVC,
1.1       misho    8645: # which needs '.lib').
                   8646: libext=a
                   8647: 
1.1.1.2 ! misho    8648: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       misho    8649: 
1.1.1.2 ! misho    8650: old_CC=$CC
        !          8651: old_CFLAGS=$CFLAGS
1.1       misho    8652: 
                   8653: # Set sane defaults for various variables
                   8654: test -z "$CC" && CC=cc
                   8655: test -z "$LTCC" && LTCC=$CC
                   8656: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8657: test -z "$LD" && LD=ld
                   8658: test -z "$ac_objext" && ac_objext=o
                   8659: 
1.1.1.2 ! misho    8660: func_cc_basename $compiler
        !          8661: cc_basename=$func_cc_basename_result
1.1       misho    8662: 
                   8663: 
                   8664: # Only perform the check for file, if the check method requires it
                   8665: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8666: case $deplibs_check_method in
                   8667: file_magic*)
                   8668:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8669:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8670: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.1.1.2 ! misho    8671: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1       misho    8672:   $as_echo_n "(cached) " >&6
                   8673: else
                   8674:   case $MAGIC_CMD in
                   8675: [\\/*] |  ?:[\\/]*)
1.1.1.2 ! misho    8676:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.1       misho    8677:   ;;
                   8678: *)
1.1.1.2 ! misho    8679:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          8680:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    8681:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8682:   for ac_dir in $ac_dummy; do
1.1.1.2 ! misho    8683:     IFS=$lt_save_ifs
1.1       misho    8684:     test -z "$ac_dir" && ac_dir=.
1.1.1.2 ! misho    8685:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
        !          8686:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.1       misho    8687:       if test -n "$file_magic_test_file"; then
                   8688:        case $deplibs_check_method in
                   8689:        "file_magic "*)
                   8690:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.1.1.2 ! misho    8691:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1       misho    8692:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8693:            $EGREP "$file_magic_regex" > /dev/null; then
                   8694:            :
                   8695:          else
                   8696:            cat <<_LT_EOF 1>&2
                   8697: 
                   8698: *** Warning: the command libtool uses to detect shared libraries,
                   8699: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8700: *** The result is that libtool may fail to recognize shared libraries
                   8701: *** as such.  This will affect the creation of libtool libraries that
                   8702: *** depend on shared libraries, but programs linked with such libtool
                   8703: *** libraries will work regardless of this problem.  Nevertheless, you
                   8704: *** may want to report the problem to your system manager and/or to
                   8705: *** bug-libtool@gnu.org
                   8706: 
                   8707: _LT_EOF
                   8708:          fi ;;
                   8709:        esac
                   8710:       fi
                   8711:       break
                   8712:     fi
                   8713:   done
1.1.1.2 ! misho    8714:   IFS=$lt_save_ifs
        !          8715:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.1       misho    8716:   ;;
                   8717: esac
                   8718: fi
                   8719: 
1.1.1.2 ! misho    8720: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1       misho    8721: if test -n "$MAGIC_CMD"; then
                   8722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8723: $as_echo "$MAGIC_CMD" >&6; }
                   8724: else
                   8725:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8726: $as_echo "no" >&6; }
                   8727: fi
                   8728: 
                   8729: 
                   8730: 
                   8731: 
                   8732: 
                   8733: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8734:   if test -n "$ac_tool_prefix"; then
                   8735:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8736: $as_echo_n "checking for file... " >&6; }
1.1.1.2 ! misho    8737: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1       misho    8738:   $as_echo_n "(cached) " >&6
                   8739: else
                   8740:   case $MAGIC_CMD in
                   8741: [\\/*] |  ?:[\\/]*)
1.1.1.2 ! misho    8742:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.1       misho    8743:   ;;
                   8744: *)
1.1.1.2 ! misho    8745:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          8746:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    8747:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8748:   for ac_dir in $ac_dummy; do
1.1.1.2 ! misho    8749:     IFS=$lt_save_ifs
1.1       misho    8750:     test -z "$ac_dir" && ac_dir=.
1.1.1.2 ! misho    8751:     if test -f "$ac_dir/file"; then
        !          8752:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.1       misho    8753:       if test -n "$file_magic_test_file"; then
                   8754:        case $deplibs_check_method in
                   8755:        "file_magic "*)
                   8756:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.1.1.2 ! misho    8757:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1       misho    8758:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8759:            $EGREP "$file_magic_regex" > /dev/null; then
                   8760:            :
                   8761:          else
                   8762:            cat <<_LT_EOF 1>&2
                   8763: 
                   8764: *** Warning: the command libtool uses to detect shared libraries,
                   8765: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8766: *** The result is that libtool may fail to recognize shared libraries
                   8767: *** as such.  This will affect the creation of libtool libraries that
                   8768: *** depend on shared libraries, but programs linked with such libtool
                   8769: *** libraries will work regardless of this problem.  Nevertheless, you
                   8770: *** may want to report the problem to your system manager and/or to
                   8771: *** bug-libtool@gnu.org
                   8772: 
                   8773: _LT_EOF
                   8774:          fi ;;
                   8775:        esac
                   8776:       fi
                   8777:       break
                   8778:     fi
                   8779:   done
1.1.1.2 ! misho    8780:   IFS=$lt_save_ifs
        !          8781:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.1       misho    8782:   ;;
                   8783: esac
                   8784: fi
                   8785: 
1.1.1.2 ! misho    8786: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1       misho    8787: if test -n "$MAGIC_CMD"; then
                   8788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8789: $as_echo "$MAGIC_CMD" >&6; }
                   8790: else
                   8791:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8792: $as_echo "no" >&6; }
                   8793: fi
                   8794: 
                   8795: 
                   8796:   else
                   8797:     MAGIC_CMD=:
                   8798:   fi
                   8799: fi
                   8800: 
                   8801:   fi
                   8802:   ;;
                   8803: esac
                   8804: 
                   8805: # Use C for the default configuration in the libtool script
                   8806: 
1.1.1.2 ! misho    8807: lt_save_CC=$CC
1.1       misho    8808: ac_ext=c
                   8809: ac_cpp='$CPP $CPPFLAGS'
                   8810: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8811: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8812: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8813: 
                   8814: 
                   8815: # Source file extension for C test sources.
                   8816: ac_ext=c
                   8817: 
                   8818: # Object file extension for compiled C test sources.
                   8819: objext=o
                   8820: objext=$objext
                   8821: 
                   8822: # Code to be used in simple compile tests
                   8823: lt_simple_compile_test_code="int some_variable = 0;"
                   8824: 
                   8825: # Code to be used in simple link tests
                   8826: lt_simple_link_test_code='int main(){return(0);}'
                   8827: 
                   8828: 
                   8829: 
                   8830: 
                   8831: 
                   8832: 
                   8833: 
                   8834: # If no C compiler was specified, use CC.
                   8835: LTCC=${LTCC-"$CC"}
                   8836: 
                   8837: # If no C compiler flags were specified, use CFLAGS.
                   8838: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8839: 
                   8840: # Allow CC to be a program name with arguments.
                   8841: compiler=$CC
                   8842: 
                   8843: # Save the default compiler, since it gets overwritten when the other
                   8844: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8845: compiler_DEFAULT=$CC
                   8846: 
                   8847: # save warnings/boilerplate of simple test code
                   8848: ac_outfile=conftest.$ac_objext
                   8849: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8850: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8851: _lt_compiler_boilerplate=`cat conftest.err`
                   8852: $RM conftest*
                   8853: 
                   8854: ac_outfile=conftest.$ac_objext
                   8855: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8856: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8857: _lt_linker_boilerplate=`cat conftest.err`
                   8858: $RM -r conftest*
                   8859: 
                   8860: 
                   8861: ## CAVEAT EMPTOR:
                   8862: ## There is no encapsulation within the following macros, do not change
                   8863: ## the running order or otherwise move them around unless you know exactly
                   8864: ## what you are doing...
                   8865: if test -n "$compiler"; then
                   8866: 
                   8867: lt_prog_compiler_no_builtin_flag=
                   8868: 
1.1.1.2 ! misho    8869: if test yes = "$GCC"; then
        !          8870:   case $cc_basename in
        !          8871:   nvcc*)
        !          8872:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
        !          8873:   *)
        !          8874:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
        !          8875:   esac
1.1       misho    8876: 
                   8877:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8878: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.1.1.2 ! misho    8879: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
1.1       misho    8880:   $as_echo_n "(cached) " >&6
                   8881: else
                   8882:   lt_cv_prog_compiler_rtti_exceptions=no
                   8883:    ac_outfile=conftest.$ac_objext
                   8884:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1.2 ! misho    8885:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.1       misho    8886:    # Insert the option either (1) after the last *FLAGS variable, or
                   8887:    # (2) before a word containing "conftest.", or (3) at the end.
                   8888:    # Note that $ac_compile itself does not contain backslashes and begins
                   8889:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8890:    # The option is referenced via a variable to avoid confusing sed.
                   8891:    lt_compile=`echo "$ac_compile" | $SED \
                   8892:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8893:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8894:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8895:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8896:    (eval "$lt_compile" 2>conftest.err)
                   8897:    ac_status=$?
                   8898:    cat conftest.err >&5
1.1.1.2 ! misho    8899:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8900:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8901:      # The compiler can only warn and ignore the option if not recognized
                   8902:      # So say no if there are warnings other than the usual output.
1.1.1.2 ! misho    8903:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.1       misho    8904:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8905:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8906:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8907:      fi
                   8908:    fi
                   8909:    $RM conftest*
                   8910: 
                   8911: fi
                   8912: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8913: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   8914: 
1.1.1.2 ! misho    8915: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.1       misho    8916:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8917: else
                   8918:     :
                   8919: fi
                   8920: 
                   8921: fi
                   8922: 
                   8923: 
                   8924: 
                   8925: 
                   8926: 
                   8927: 
                   8928:   lt_prog_compiler_wl=
                   8929: lt_prog_compiler_pic=
                   8930: lt_prog_compiler_static=
                   8931: 
                   8932: 
1.1.1.2 ! misho    8933:   if test yes = "$GCC"; then
1.1       misho    8934:     lt_prog_compiler_wl='-Wl,'
                   8935:     lt_prog_compiler_static='-static'
                   8936: 
                   8937:     case $host_os in
                   8938:       aix*)
                   8939:       # All AIX code is PIC.
1.1.1.2 ! misho    8940:       if test ia64 = "$host_cpu"; then
1.1       misho    8941:        # AIX 5 now supports IA64 processor
                   8942:        lt_prog_compiler_static='-Bstatic'
                   8943:       fi
1.1.1.2 ! misho    8944:       lt_prog_compiler_pic='-fPIC'
1.1       misho    8945:       ;;
                   8946: 
                   8947:     amigaos*)
                   8948:       case $host_cpu in
                   8949:       powerpc)
                   8950:             # see comment about AmigaOS4 .so support
                   8951:             lt_prog_compiler_pic='-fPIC'
                   8952:         ;;
                   8953:       m68k)
                   8954:             # FIXME: we need at least 68020 code to build shared libraries, but
1.1.1.2 ! misho    8955:             # adding the '-m68020' flag to GCC prevents building anything better,
        !          8956:             # like '-m68040'.
1.1       misho    8957:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8958:         ;;
                   8959:       esac
                   8960:       ;;
                   8961: 
                   8962:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8963:       # PIC is the default for these OSes.
                   8964:       ;;
                   8965: 
                   8966:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8967:       # This hack is so that the source file can tell whether it is being
                   8968:       # built for inclusion in a dll (and should export symbols for example).
                   8969:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8970:       # (--disable-auto-import) libraries
                   8971:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.1.1.2 ! misho    8972:       case $host_os in
        !          8973:       os2*)
        !          8974:        lt_prog_compiler_static='$wl-static'
        !          8975:        ;;
        !          8976:       esac
1.1       misho    8977:       ;;
                   8978: 
                   8979:     darwin* | rhapsody*)
                   8980:       # PIC is the default on this platform
                   8981:       # Common symbols not allowed in MH_DYLIB files
                   8982:       lt_prog_compiler_pic='-fno-common'
                   8983:       ;;
                   8984: 
1.1.1.2 ! misho    8985:     haiku*)
        !          8986:       # PIC is the default for Haiku.
        !          8987:       # The "-static" flag exists, but is broken.
        !          8988:       lt_prog_compiler_static=
        !          8989:       ;;
        !          8990: 
1.1       misho    8991:     hpux*)
                   8992:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8993:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8994:       # sets the default TLS model and affects inlining.
                   8995:       case $host_cpu in
                   8996:       hppa*64*)
                   8997:        # +Z the default
                   8998:        ;;
                   8999:       *)
                   9000:        lt_prog_compiler_pic='-fPIC'
                   9001:        ;;
                   9002:       esac
                   9003:       ;;
                   9004: 
                   9005:     interix[3-9]*)
                   9006:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9007:       # Instead, we relocate shared libraries at runtime.
                   9008:       ;;
                   9009: 
                   9010:     msdosdjgpp*)
                   9011:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9012:       # on systems that don't support them.
                   9013:       lt_prog_compiler_can_build_shared=no
                   9014:       enable_shared=no
                   9015:       ;;
                   9016: 
                   9017:     *nto* | *qnx*)
                   9018:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9019:       # it will coredump.
                   9020:       lt_prog_compiler_pic='-fPIC -shared'
                   9021:       ;;
                   9022: 
                   9023:     sysv4*MP*)
                   9024:       if test -d /usr/nec; then
                   9025:        lt_prog_compiler_pic=-Kconform_pic
                   9026:       fi
                   9027:       ;;
                   9028: 
                   9029:     *)
                   9030:       lt_prog_compiler_pic='-fPIC'
                   9031:       ;;
                   9032:     esac
1.1.1.2 ! misho    9033: 
        !          9034:     case $cc_basename in
        !          9035:     nvcc*) # Cuda Compiler Driver 2.2
        !          9036:       lt_prog_compiler_wl='-Xlinker '
        !          9037:       if test -n "$lt_prog_compiler_pic"; then
        !          9038:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
        !          9039:       fi
        !          9040:       ;;
        !          9041:     esac
1.1       misho    9042:   else
                   9043:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9044:     case $host_os in
                   9045:     aix*)
                   9046:       lt_prog_compiler_wl='-Wl,'
1.1.1.2 ! misho    9047:       if test ia64 = "$host_cpu"; then
1.1       misho    9048:        # AIX 5 now supports IA64 processor
                   9049:        lt_prog_compiler_static='-Bstatic'
                   9050:       else
                   9051:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9052:       fi
                   9053:       ;;
                   9054: 
1.1.1.2 ! misho    9055:     darwin* | rhapsody*)
        !          9056:       # PIC is the default on this platform
        !          9057:       # Common symbols not allowed in MH_DYLIB files
        !          9058:       lt_prog_compiler_pic='-fno-common'
        !          9059:       case $cc_basename in
        !          9060:       nagfor*)
        !          9061:         # NAG Fortran compiler
        !          9062:         lt_prog_compiler_wl='-Wl,-Wl,,'
        !          9063:         lt_prog_compiler_pic='-PIC'
        !          9064:         lt_prog_compiler_static='-Bstatic'
        !          9065:         ;;
        !          9066:       esac
        !          9067:       ;;
        !          9068: 
1.1       misho    9069:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9070:       # This hack is so that the source file can tell whether it is being
                   9071:       # built for inclusion in a dll (and should export symbols for example).
                   9072:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.1.1.2 ! misho    9073:       case $host_os in
        !          9074:       os2*)
        !          9075:        lt_prog_compiler_static='$wl-static'
        !          9076:        ;;
        !          9077:       esac
1.1       misho    9078:       ;;
                   9079: 
                   9080:     hpux9* | hpux10* | hpux11*)
                   9081:       lt_prog_compiler_wl='-Wl,'
                   9082:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9083:       # not for PA HP-UX.
                   9084:       case $host_cpu in
                   9085:       hppa*64*|ia64*)
                   9086:        # +Z the default
                   9087:        ;;
                   9088:       *)
                   9089:        lt_prog_compiler_pic='+Z'
                   9090:        ;;
                   9091:       esac
                   9092:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.1.1.2 ! misho    9093:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.1       misho    9094:       ;;
                   9095: 
                   9096:     irix5* | irix6* | nonstopux*)
                   9097:       lt_prog_compiler_wl='-Wl,'
                   9098:       # PIC (with -KPIC) is the default.
                   9099:       lt_prog_compiler_static='-non_shared'
                   9100:       ;;
                   9101: 
1.1.1.2 ! misho    9102:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.1       misho    9103:       case $cc_basename in
1.1.1.2 ! misho    9104:       # old Intel for x86_64, which still supported -KPIC.
1.1       misho    9105:       ecc*)
                   9106:        lt_prog_compiler_wl='-Wl,'
                   9107:        lt_prog_compiler_pic='-KPIC'
                   9108:        lt_prog_compiler_static='-static'
                   9109:         ;;
1.1.1.2 ! misho    9110:       # flang / f18. f95 an alias for gfortran or flang on Debian
        !          9111:       flang* | f18* | f95*)
        !          9112:        lt_prog_compiler_wl='-Wl,'
        !          9113:        lt_prog_compiler_pic='-fPIC'
        !          9114:        lt_prog_compiler_static='-static'
        !          9115:         ;;
1.1       misho    9116:       # icc used to be incompatible with GCC.
                   9117:       # ICC 10 doesn't accept -KPIC any more.
                   9118:       icc* | ifort*)
                   9119:        lt_prog_compiler_wl='-Wl,'
                   9120:        lt_prog_compiler_pic='-fPIC'
                   9121:        lt_prog_compiler_static='-static'
                   9122:         ;;
                   9123:       # Lahey Fortran 8.1.
                   9124:       lf95*)
                   9125:        lt_prog_compiler_wl='-Wl,'
                   9126:        lt_prog_compiler_pic='--shared'
                   9127:        lt_prog_compiler_static='--static'
                   9128:        ;;
1.1.1.2 ! misho    9129:       nagfor*)
        !          9130:        # NAG Fortran compiler
        !          9131:        lt_prog_compiler_wl='-Wl,-Wl,,'
        !          9132:        lt_prog_compiler_pic='-PIC'
        !          9133:        lt_prog_compiler_static='-Bstatic'
        !          9134:        ;;
        !          9135:       tcc*)
        !          9136:        # Fabrice Bellard et al's Tiny C Compiler
        !          9137:        lt_prog_compiler_wl='-Wl,'
        !          9138:        lt_prog_compiler_pic='-fPIC'
        !          9139:        lt_prog_compiler_static='-static'
        !          9140:        ;;
        !          9141:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
1.1       misho    9142:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9143:        # which looks to be a dead project)
                   9144:        lt_prog_compiler_wl='-Wl,'
                   9145:        lt_prog_compiler_pic='-fpic'
                   9146:        lt_prog_compiler_static='-Bstatic'
                   9147:         ;;
                   9148:       ccc*)
                   9149:         lt_prog_compiler_wl='-Wl,'
                   9150:         # All Alpha code is PIC.
                   9151:         lt_prog_compiler_static='-non_shared'
                   9152:         ;;
1.1.1.2 ! misho    9153:       xl* | bgxl* | bgf* | mpixl*)
        !          9154:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
1.1       misho    9155:        lt_prog_compiler_wl='-Wl,'
                   9156:        lt_prog_compiler_pic='-qpic'
                   9157:        lt_prog_compiler_static='-qstaticlink'
                   9158:        ;;
                   9159:       *)
                   9160:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.2 ! misho    9161:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
        !          9162:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
        !          9163:          lt_prog_compiler_pic='-KPIC'
        !          9164:          lt_prog_compiler_static='-Bstatic'
        !          9165:          lt_prog_compiler_wl=''
        !          9166:          ;;
        !          9167:        *Sun\ F* | *Sun*Fortran*)
        !          9168:          lt_prog_compiler_pic='-KPIC'
        !          9169:          lt_prog_compiler_static='-Bstatic'
        !          9170:          lt_prog_compiler_wl='-Qoption ld '
        !          9171:          ;;
1.1       misho    9172:        *Sun\ C*)
                   9173:          # Sun C 5.9
                   9174:          lt_prog_compiler_pic='-KPIC'
                   9175:          lt_prog_compiler_static='-Bstatic'
                   9176:          lt_prog_compiler_wl='-Wl,'
                   9177:          ;;
1.1.1.2 ! misho    9178:         *Intel*\ [CF]*Compiler*)
        !          9179:          lt_prog_compiler_wl='-Wl,'
        !          9180:          lt_prog_compiler_pic='-fPIC'
        !          9181:          lt_prog_compiler_static='-static'
        !          9182:          ;;
        !          9183:        *Portland\ Group*)
        !          9184:          lt_prog_compiler_wl='-Wl,'
        !          9185:          lt_prog_compiler_pic='-fpic'
1.1       misho    9186:          lt_prog_compiler_static='-Bstatic'
                   9187:          ;;
                   9188:        esac
                   9189:        ;;
                   9190:       esac
                   9191:       ;;
                   9192: 
                   9193:     newsos6)
                   9194:       lt_prog_compiler_pic='-KPIC'
                   9195:       lt_prog_compiler_static='-Bstatic'
                   9196:       ;;
                   9197: 
                   9198:     *nto* | *qnx*)
                   9199:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9200:       # it will coredump.
                   9201:       lt_prog_compiler_pic='-fPIC -shared'
                   9202:       ;;
                   9203: 
                   9204:     osf3* | osf4* | osf5*)
                   9205:       lt_prog_compiler_wl='-Wl,'
                   9206:       # All OSF/1 code is PIC.
                   9207:       lt_prog_compiler_static='-non_shared'
                   9208:       ;;
                   9209: 
                   9210:     rdos*)
                   9211:       lt_prog_compiler_static='-non_shared'
                   9212:       ;;
                   9213: 
                   9214:     solaris*)
                   9215:       lt_prog_compiler_pic='-KPIC'
                   9216:       lt_prog_compiler_static='-Bstatic'
                   9217:       case $cc_basename in
1.1.1.2 ! misho    9218:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
1.1       misho    9219:        lt_prog_compiler_wl='-Qoption ld ';;
                   9220:       *)
                   9221:        lt_prog_compiler_wl='-Wl,';;
                   9222:       esac
                   9223:       ;;
                   9224: 
                   9225:     sunos4*)
                   9226:       lt_prog_compiler_wl='-Qoption ld '
                   9227:       lt_prog_compiler_pic='-PIC'
                   9228:       lt_prog_compiler_static='-Bstatic'
                   9229:       ;;
                   9230: 
                   9231:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9232:       lt_prog_compiler_wl='-Wl,'
                   9233:       lt_prog_compiler_pic='-KPIC'
                   9234:       lt_prog_compiler_static='-Bstatic'
                   9235:       ;;
                   9236: 
                   9237:     sysv4*MP*)
1.1.1.2 ! misho    9238:       if test -d /usr/nec; then
1.1       misho    9239:        lt_prog_compiler_pic='-Kconform_pic'
                   9240:        lt_prog_compiler_static='-Bstatic'
                   9241:       fi
                   9242:       ;;
                   9243: 
                   9244:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9245:       lt_prog_compiler_wl='-Wl,'
                   9246:       lt_prog_compiler_pic='-KPIC'
                   9247:       lt_prog_compiler_static='-Bstatic'
                   9248:       ;;
                   9249: 
                   9250:     unicos*)
                   9251:       lt_prog_compiler_wl='-Wl,'
                   9252:       lt_prog_compiler_can_build_shared=no
                   9253:       ;;
                   9254: 
                   9255:     uts4*)
                   9256:       lt_prog_compiler_pic='-pic'
                   9257:       lt_prog_compiler_static='-Bstatic'
                   9258:       ;;
                   9259: 
                   9260:     *)
                   9261:       lt_prog_compiler_can_build_shared=no
                   9262:       ;;
                   9263:     esac
                   9264:   fi
                   9265: 
                   9266: case $host_os in
1.1.1.2 ! misho    9267:   # For platforms that do not support PIC, -DPIC is meaningless:
1.1       misho    9268:   *djgpp*)
                   9269:     lt_prog_compiler_pic=
                   9270:     ;;
                   9271:   *)
                   9272:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9273:     ;;
                   9274: esac
                   9275: 
1.1.1.2 ! misho    9276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          9277: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        !          9278: if ${lt_cv_prog_compiler_pic+:} false; then :
        !          9279:   $as_echo_n "(cached) " >&6
        !          9280: else
        !          9281:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
        !          9282: fi
        !          9283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          9284: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
        !          9285: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.1       misho    9286: 
                   9287: #
                   9288: # Check to make sure the PIC flag actually works.
                   9289: #
                   9290: if test -n "$lt_prog_compiler_pic"; then
                   9291:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9292: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.1.1.2 ! misho    9293: if ${lt_cv_prog_compiler_pic_works+:} false; then :
1.1       misho    9294:   $as_echo_n "(cached) " >&6
                   9295: else
                   9296:   lt_cv_prog_compiler_pic_works=no
                   9297:    ac_outfile=conftest.$ac_objext
                   9298:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1.2 ! misho    9299:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.1       misho    9300:    # Insert the option either (1) after the last *FLAGS variable, or
                   9301:    # (2) before a word containing "conftest.", or (3) at the end.
                   9302:    # Note that $ac_compile itself does not contain backslashes and begins
                   9303:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9304:    # The option is referenced via a variable to avoid confusing sed.
                   9305:    lt_compile=`echo "$ac_compile" | $SED \
                   9306:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9307:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9308:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    9309:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    9310:    (eval "$lt_compile" 2>conftest.err)
                   9311:    ac_status=$?
                   9312:    cat conftest.err >&5
1.1.1.2 ! misho    9313:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    9314:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9315:      # The compiler can only warn and ignore the option if not recognized
                   9316:      # So say no if there are warnings other than the usual output.
1.1.1.2 ! misho    9317:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.1       misho    9318:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9319:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9320:        lt_cv_prog_compiler_pic_works=yes
                   9321:      fi
                   9322:    fi
                   9323:    $RM conftest*
                   9324: 
                   9325: fi
                   9326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9327: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   9328: 
1.1.1.2 ! misho    9329: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.1       misho    9330:     case $lt_prog_compiler_pic in
                   9331:      "" | " "*) ;;
                   9332:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9333:      esac
                   9334: else
                   9335:     lt_prog_compiler_pic=
                   9336:      lt_prog_compiler_can_build_shared=no
                   9337: fi
                   9338: 
                   9339: fi
                   9340: 
                   9341: 
                   9342: 
                   9343: 
                   9344: 
                   9345: 
1.1.1.2 ! misho    9346: 
        !          9347: 
        !          9348: 
        !          9349: 
        !          9350: 
1.1       misho    9351: #
                   9352: # Check to make sure the static flag actually works.
                   9353: #
                   9354: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   9355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9356: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.1.1.2 ! misho    9357: if ${lt_cv_prog_compiler_static_works+:} false; then :
1.1       misho    9358:   $as_echo_n "(cached) " >&6
                   9359: else
                   9360:   lt_cv_prog_compiler_static_works=no
1.1.1.2 ! misho    9361:    save_LDFLAGS=$LDFLAGS
1.1       misho    9362:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9363:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9364:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9365:      # The linker can only warn and ignore the option if not recognized
                   9366:      # So say no if there are warnings
                   9367:      if test -s conftest.err; then
                   9368:        # Append any errors to the config.log.
                   9369:        cat conftest.err 1>&5
1.1.1.2 ! misho    9370:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1.1       misho    9371:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9372:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9373:          lt_cv_prog_compiler_static_works=yes
                   9374:        fi
                   9375:      else
                   9376:        lt_cv_prog_compiler_static_works=yes
                   9377:      fi
                   9378:    fi
                   9379:    $RM -r conftest*
1.1.1.2 ! misho    9380:    LDFLAGS=$save_LDFLAGS
1.1       misho    9381: 
                   9382: fi
                   9383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9384: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   9385: 
1.1.1.2 ! misho    9386: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.1       misho    9387:     :
                   9388: else
                   9389:     lt_prog_compiler_static=
                   9390: fi
                   9391: 
                   9392: 
                   9393: 
                   9394: 
                   9395: 
                   9396: 
                   9397: 
                   9398:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9399: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.1.2 ! misho    9400: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1       misho    9401:   $as_echo_n "(cached) " >&6
                   9402: else
                   9403:   lt_cv_prog_compiler_c_o=no
                   9404:    $RM -r conftest 2>/dev/null
                   9405:    mkdir conftest
                   9406:    cd conftest
                   9407:    mkdir out
                   9408:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9409: 
                   9410:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9411:    # Insert the option either (1) after the last *FLAGS variable, or
                   9412:    # (2) before a word containing "conftest.", or (3) at the end.
                   9413:    # Note that $ac_compile itself does not contain backslashes and begins
                   9414:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9415:    lt_compile=`echo "$ac_compile" | $SED \
                   9416:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9417:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9418:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    9419:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    9420:    (eval "$lt_compile" 2>out/conftest.err)
                   9421:    ac_status=$?
                   9422:    cat out/conftest.err >&5
1.1.1.2 ! misho    9423:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    9424:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9425:    then
                   9426:      # The compiler can only warn and ignore the option if not recognized
                   9427:      # So say no if there are warnings
1.1.1.2 ! misho    9428:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1       misho    9429:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9430:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9431:        lt_cv_prog_compiler_c_o=yes
                   9432:      fi
                   9433:    fi
                   9434:    chmod u+w . 2>&5
                   9435:    $RM conftest*
                   9436:    # SGI C++ compiler will create directory out/ii_files/ for
                   9437:    # template instantiation
                   9438:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9439:    $RM out/* && rmdir out
                   9440:    cd ..
                   9441:    $RM -r conftest
                   9442:    $RM conftest*
                   9443: 
                   9444: fi
                   9445: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9446: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   9447: 
                   9448: 
                   9449: 
                   9450: 
                   9451: 
                   9452: 
                   9453:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9454: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.1.2 ! misho    9455: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1       misho    9456:   $as_echo_n "(cached) " >&6
                   9457: else
                   9458:   lt_cv_prog_compiler_c_o=no
                   9459:    $RM -r conftest 2>/dev/null
                   9460:    mkdir conftest
                   9461:    cd conftest
                   9462:    mkdir out
                   9463:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9464: 
                   9465:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9466:    # Insert the option either (1) after the last *FLAGS variable, or
                   9467:    # (2) before a word containing "conftest.", or (3) at the end.
                   9468:    # Note that $ac_compile itself does not contain backslashes and begins
                   9469:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9470:    lt_compile=`echo "$ac_compile" | $SED \
                   9471:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9472:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9473:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    9474:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    9475:    (eval "$lt_compile" 2>out/conftest.err)
                   9476:    ac_status=$?
                   9477:    cat out/conftest.err >&5
1.1.1.2 ! misho    9478:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    9479:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9480:    then
                   9481:      # The compiler can only warn and ignore the option if not recognized
                   9482:      # So say no if there are warnings
1.1.1.2 ! misho    9483:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1       misho    9484:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9485:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9486:        lt_cv_prog_compiler_c_o=yes
                   9487:      fi
                   9488:    fi
                   9489:    chmod u+w . 2>&5
                   9490:    $RM conftest*
                   9491:    # SGI C++ compiler will create directory out/ii_files/ for
                   9492:    # template instantiation
                   9493:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9494:    $RM out/* && rmdir out
                   9495:    cd ..
                   9496:    $RM -r conftest
                   9497:    $RM conftest*
                   9498: 
                   9499: fi
                   9500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9501: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   9502: 
                   9503: 
                   9504: 
                   9505: 
1.1.1.2 ! misho    9506: hard_links=nottested
        !          9507: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.1       misho    9508:   # do not overwrite the value of need_locks provided by the user
                   9509:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9510: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   9511:   hard_links=yes
                   9512:   $RM conftest*
                   9513:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9514:   touch conftest.a
                   9515:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9516:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9518: $as_echo "$hard_links" >&6; }
1.1.1.2 ! misho    9519:   if test no = "$hard_links"; then
        !          9520:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
        !          9521: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.1       misho    9522:     need_locks=warn
                   9523:   fi
                   9524: else
                   9525:   need_locks=no
                   9526: fi
                   9527: 
                   9528: 
                   9529: 
                   9530: 
                   9531: 
                   9532: 
                   9533:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9534: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   9535: 
                   9536:   runpath_var=
                   9537:   allow_undefined_flag=
                   9538:   always_export_symbols=no
                   9539:   archive_cmds=
                   9540:   archive_expsym_cmds=
                   9541:   compiler_needs_object=no
                   9542:   enable_shared_with_static_runtimes=no
                   9543:   export_dynamic_flag_spec=
                   9544:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9545:   hardcode_automatic=no
                   9546:   hardcode_direct=no
                   9547:   hardcode_direct_absolute=no
                   9548:   hardcode_libdir_flag_spec=
                   9549:   hardcode_libdir_separator=
                   9550:   hardcode_minus_L=no
                   9551:   hardcode_shlibpath_var=unsupported
                   9552:   inherit_rpath=no
                   9553:   link_all_deplibs=unknown
                   9554:   module_cmds=
                   9555:   module_expsym_cmds=
                   9556:   old_archive_from_new_cmds=
                   9557:   old_archive_from_expsyms_cmds=
                   9558:   thread_safe_flag_spec=
                   9559:   whole_archive_flag_spec=
                   9560:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9561:   # included in the symbol list
                   9562:   include_expsyms=
                   9563:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.1.1.2 ! misho    9564:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
        !          9565:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
        !          9566:   # as well as any symbol that contains 'd'.
1.1       misho    9567:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9568:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9569:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9570:   # the symbol is explicitly referenced.  Since portable code cannot
                   9571:   # rely on this symbol name, it's probably fine to never include it in
                   9572:   # preloaded symbol tables.
                   9573:   # Exclude shared library initialization/finalization symbols.
                   9574:   extract_expsyms_cmds=
                   9575: 
                   9576:   case $host_os in
                   9577:   cygwin* | mingw* | pw32* | cegcc*)
                   9578:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9579:     # When not using gcc, we currently assume that we are using
                   9580:     # Microsoft Visual C++.
1.1.1.2 ! misho    9581:     if test yes != "$GCC"; then
1.1       misho    9582:       with_gnu_ld=no
                   9583:     fi
                   9584:     ;;
                   9585:   interix*)
                   9586:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9587:     with_gnu_ld=yes
                   9588:     ;;
1.1.1.2 ! misho    9589:   openbsd* | bitrig*)
1.1       misho    9590:     with_gnu_ld=no
                   9591:     ;;
1.1.1.2 ! misho    9592:   linux* | k*bsd*-gnu | gnu*)
        !          9593:     link_all_deplibs=no
        !          9594:     ;;
1.1       misho    9595:   esac
                   9596: 
                   9597:   ld_shlibs=yes
1.1.1.2 ! misho    9598: 
        !          9599:   # On some targets, GNU ld is compatible enough with the native linker
        !          9600:   # that we're better off using the native interface for both.
        !          9601:   lt_use_gnu_ld_interface=no
        !          9602:   if test yes = "$with_gnu_ld"; then
        !          9603:     case $host_os in
        !          9604:       aix*)
        !          9605:        # The AIX port of GNU ld has always aspired to compatibility
        !          9606:        # with the native linker.  However, as the warning in the GNU ld
        !          9607:        # block says, versions before 2.19.5* couldn't really create working
        !          9608:        # shared libraries, regardless of the interface used.
        !          9609:        case `$LD -v 2>&1` in
        !          9610:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
        !          9611:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
        !          9612:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
        !          9613:          *)
        !          9614:            lt_use_gnu_ld_interface=yes
        !          9615:            ;;
        !          9616:        esac
        !          9617:        ;;
        !          9618:       *)
        !          9619:        lt_use_gnu_ld_interface=yes
        !          9620:        ;;
        !          9621:     esac
        !          9622:   fi
        !          9623: 
        !          9624:   if test yes = "$lt_use_gnu_ld_interface"; then
1.1       misho    9625:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.1.1.2 ! misho    9626:     wlarc='$wl'
1.1       misho    9627: 
                   9628:     # Set some defaults for GNU ld with shared library support. These
                   9629:     # are reset later if shared libraries are not supported. Putting them
                   9630:     # here allows them to be overridden if necessary.
                   9631:     runpath_var=LD_RUN_PATH
1.1.1.2 ! misho    9632:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9633:     export_dynamic_flag_spec='$wl--export-dynamic'
1.1       misho    9634:     # ancient GNU ld didn't support --whole-archive et. al.
                   9635:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.1.1.2 ! misho    9636:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.1       misho    9637:     else
                   9638:       whole_archive_flag_spec=
                   9639:     fi
                   9640:     supports_anon_versioning=no
1.1.1.2 ! misho    9641:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
        !          9642:       *GNU\ gold*) supports_anon_versioning=yes ;;
1.1       misho    9643:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9644:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9645:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9646:       *\ 2.11.*) ;; # other 2.11 versions
                   9647:       *) supports_anon_versioning=yes ;;
                   9648:     esac
                   9649: 
                   9650:     # See if GNU ld supports shared libraries.
                   9651:     case $host_os in
                   9652:     aix[3-9]*)
                   9653:       # On AIX/PPC, the GNU linker is very broken
1.1.1.2 ! misho    9654:       if test ia64 != "$host_cpu"; then
1.1       misho    9655:        ld_shlibs=no
                   9656:        cat <<_LT_EOF 1>&2
                   9657: 
1.1.1.2 ! misho    9658: *** Warning: the GNU linker, at least up to release 2.19, is reported
1.1       misho    9659: *** to be unable to reliably create shared libraries on AIX.
                   9660: *** Therefore, libtool is disabling shared libraries support.  If you
1.1.1.2 ! misho    9661: *** really care for shared libraries, you may want to install binutils
        !          9662: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
        !          9663: *** You will then need to restart the configuration process.
1.1       misho    9664: 
                   9665: _LT_EOF
                   9666:       fi
                   9667:       ;;
                   9668: 
                   9669:     amigaos*)
                   9670:       case $host_cpu in
                   9671:       powerpc)
                   9672:             # see comment about AmigaOS4 .so support
1.1.1.2 ! misho    9673:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1       misho    9674:             archive_expsym_cmds=''
                   9675:         ;;
                   9676:       m68k)
                   9677:             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)'
                   9678:             hardcode_libdir_flag_spec='-L$libdir'
                   9679:             hardcode_minus_L=yes
                   9680:         ;;
                   9681:       esac
                   9682:       ;;
                   9683: 
                   9684:     beos*)
                   9685:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9686:        allow_undefined_flag=unsupported
                   9687:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9688:        # support --undefined.  This deserves some investigation.  FIXME
1.1.1.2 ! misho    9689:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1       misho    9690:       else
                   9691:        ld_shlibs=no
                   9692:       fi
                   9693:       ;;
                   9694: 
                   9695:     cygwin* | mingw* | pw32* | cegcc*)
                   9696:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9697:       # as there is no search path for DLLs.
                   9698:       hardcode_libdir_flag_spec='-L$libdir'
1.1.1.2 ! misho    9699:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.1       misho    9700:       allow_undefined_flag=unsupported
                   9701:       always_export_symbols=no
                   9702:       enable_shared_with_static_runtimes=yes
1.1.1.2 ! misho    9703:       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'
        !          9704:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.1       misho    9705: 
                   9706:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.1.1.2 ! misho    9707:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
        !          9708:        # If the export-symbols file already is a .def file, use it as
        !          9709:        # is; otherwise, prepend EXPORTS...
        !          9710:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          9711:           cp $export_symbols $output_objdir/$soname.def;
        !          9712:         else
        !          9713:           echo EXPORTS > $output_objdir/$soname.def;
        !          9714:           cat $export_symbols >> $output_objdir/$soname.def;
        !          9715:         fi~
        !          9716:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1.1       misho    9717:       else
                   9718:        ld_shlibs=no
                   9719:       fi
                   9720:       ;;
                   9721: 
1.1.1.2 ! misho    9722:     haiku*)
        !          9723:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9724:       link_all_deplibs=yes
        !          9725:       ;;
        !          9726: 
        !          9727:     os2*)
        !          9728:       hardcode_libdir_flag_spec='-L$libdir'
        !          9729:       hardcode_minus_L=yes
        !          9730:       allow_undefined_flag=unsupported
        !          9731:       shrext_cmds=.dll
        !          9732:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          9733:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          9734:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          9735:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          9736:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          9737:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          9738:        emximp -o $lib $output_objdir/$libname.def'
        !          9739:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          9740:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          9741:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          9742:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          9743:        prefix_cmds="$SED"~
        !          9744:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          9745:          prefix_cmds="$prefix_cmds -e 1d";
        !          9746:        fi~
        !          9747:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          9748:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          9749:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          9750:        emximp -o $lib $output_objdir/$libname.def'
        !          9751:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          9752:       enable_shared_with_static_runtimes=yes
        !          9753:       ;;
        !          9754: 
1.1       misho    9755:     interix[3-9]*)
                   9756:       hardcode_direct=no
                   9757:       hardcode_shlibpath_var=no
1.1.1.2 ! misho    9758:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          9759:       export_dynamic_flag_spec='$wl-E'
1.1       misho    9760:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9761:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9762:       # default) and relocated if they conflict, which is a slow very memory
                   9763:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9764:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9765:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.1.1.2 ! misho    9766:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        !          9767:       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'
1.1       misho    9768:       ;;
                   9769: 
1.1.1.2 ! misho    9770:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
1.1       misho    9771:       tmp_diet=no
1.1.1.2 ! misho    9772:       if test linux-dietlibc = "$host_os"; then
1.1       misho    9773:        case $cc_basename in
                   9774:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9775:        esac
                   9776:       fi
                   9777:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.1.1.2 ! misho    9778:         && test no = "$tmp_diet"
1.1       misho    9779:       then
1.1.1.2 ! misho    9780:        tmp_addflag=' $pic_flag'
1.1       misho    9781:        tmp_sharedflag='-shared'
                   9782:        case $cc_basename,$host_cpu in
                   9783:         pgcc*)                         # Portland Group C compiler
1.1.1.2 ! misho    9784:          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'
1.1       misho    9785:          tmp_addflag=' $pic_flag'
                   9786:          ;;
1.1.1.2 ! misho    9787:        pgf77* | pgf90* | pgf95* | pgfortran*)
        !          9788:                                        # Portland Group f77 and f90 compilers
        !          9789:          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'
1.1       misho    9790:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9791:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9792:          tmp_addflag=' -i_dynamic' ;;
                   9793:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9794:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9795:        ifc* | ifort*)                  # Intel Fortran compiler
                   9796:          tmp_addflag=' -nofor_main' ;;
                   9797:        lf95*)                          # Lahey Fortran 8.1
                   9798:          whole_archive_flag_spec=
                   9799:          tmp_sharedflag='--shared' ;;
1.1.1.2 ! misho    9800:         nagfor*)                        # NAGFOR 5.3
        !          9801:           tmp_sharedflag='-Wl,-shared' ;;
        !          9802:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
1.1       misho    9803:          tmp_sharedflag='-qmkshrobj'
                   9804:          tmp_addflag= ;;
1.1.1.2 ! misho    9805:        nvcc*)  # Cuda Compiler Driver 2.2
        !          9806:          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'
        !          9807:          compiler_needs_object=yes
        !          9808:          ;;
1.1       misho    9809:        esac
                   9810:        case `$CC -V 2>&1 | sed 5q` in
                   9811:        *Sun\ C*)                       # Sun C 5.9
1.1.1.2 ! misho    9812:          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'
1.1       misho    9813:          compiler_needs_object=yes
                   9814:          tmp_sharedflag='-G' ;;
                   9815:        *Sun\ F*)                       # Sun Fortran 8.3
                   9816:          tmp_sharedflag='-G' ;;
                   9817:        esac
1.1.1.2 ! misho    9818:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1       misho    9819: 
1.1.1.2 ! misho    9820:         if test yes = "$supports_anon_versioning"; then
1.1       misho    9821:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.1.1.2 ! misho    9822:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          9823:             echo "local: *; };" >> $output_objdir/$libname.ver~
        !          9824:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.1       misho    9825:         fi
                   9826: 
                   9827:        case $cc_basename in
1.1.1.2 ! misho    9828:        tcc*)
        !          9829:          export_dynamic_flag_spec='-rdynamic'
        !          9830:          ;;
        !          9831:        xlf* | bgf* | bgxlf* | mpixlf*)
1.1       misho    9832:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9833:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.1.1.2 ! misho    9834:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9835:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
        !          9836:          if test yes = "$supports_anon_versioning"; then
1.1       misho    9837:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.1.1.2 ! misho    9838:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          9839:               echo "local: *; };" >> $output_objdir/$libname.ver~
        !          9840:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.1       misho    9841:          fi
                   9842:          ;;
                   9843:        esac
                   9844:       else
                   9845:         ld_shlibs=no
                   9846:       fi
                   9847:       ;;
                   9848: 
1.1.1.2 ! misho    9849:     netbsd* | netbsdelf*-gnu)
1.1       misho    9850:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9851:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9852:        wlarc=
                   9853:       else
1.1.1.2 ! misho    9854:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9855:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    9856:       fi
                   9857:       ;;
                   9858: 
                   9859:     solaris*)
                   9860:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9861:        ld_shlibs=no
                   9862:        cat <<_LT_EOF 1>&2
                   9863: 
                   9864: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9865: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9866: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9867: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9868: *** your PATH or compiler configuration so that the native linker is
                   9869: *** used, and then restart.
                   9870: 
                   9871: _LT_EOF
                   9872:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    9873:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9874:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    9875:       else
                   9876:        ld_shlibs=no
                   9877:       fi
                   9878:       ;;
                   9879: 
                   9880:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9881:       case `$LD -v 2>&1` in
                   9882:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9883:        ld_shlibs=no
                   9884:        cat <<_LT_EOF 1>&2
                   9885: 
1.1.1.2 ! misho    9886: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.1       misho    9887: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9888: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9889: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9890: *** your PATH or compiler configuration so that the native linker is
                   9891: *** used, and then restart.
                   9892: 
                   9893: _LT_EOF
                   9894:        ;;
                   9895:        *)
                   9896:          # For security reasons, it is highly recommended that you always
                   9897:          # use absolute paths for naming shared libraries, and exclude the
                   9898:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9899:          # requires that you compile everything twice, which is a pain.
                   9900:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    9901:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9902:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9903:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    9904:          else
                   9905:            ld_shlibs=no
                   9906:          fi
                   9907:        ;;
                   9908:       esac
                   9909:       ;;
                   9910: 
                   9911:     sunos4*)
                   9912:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9913:       wlarc=
                   9914:       hardcode_direct=yes
                   9915:       hardcode_shlibpath_var=no
                   9916:       ;;
                   9917: 
                   9918:     *)
                   9919:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    9920:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9921:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    9922:       else
                   9923:        ld_shlibs=no
                   9924:       fi
                   9925:       ;;
                   9926:     esac
                   9927: 
1.1.1.2 ! misho    9928:     if test no = "$ld_shlibs"; then
1.1       misho    9929:       runpath_var=
                   9930:       hardcode_libdir_flag_spec=
                   9931:       export_dynamic_flag_spec=
                   9932:       whole_archive_flag_spec=
                   9933:     fi
                   9934:   else
                   9935:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9936:     case $host_os in
                   9937:     aix3*)
                   9938:       allow_undefined_flag=unsupported
                   9939:       always_export_symbols=yes
                   9940:       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'
                   9941:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9942:       # are no directories specified by -L.
                   9943:       hardcode_minus_L=yes
1.1.1.2 ! misho    9944:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.1       misho    9945:        # Neither direct hardcoding nor static linking is supported with a
                   9946:        # broken collect2.
                   9947:        hardcode_direct=unsupported
                   9948:       fi
                   9949:       ;;
                   9950: 
                   9951:     aix[4-9]*)
1.1.1.2 ! misho    9952:       if test ia64 = "$host_cpu"; then
1.1       misho    9953:        # On IA64, the linker does run time linking by default, so we don't
                   9954:        # have to do anything special.
                   9955:        aix_use_runtimelinking=no
                   9956:        exp_sym_flag='-Bexport'
1.1.1.2 ! misho    9957:        no_entry_flag=
1.1       misho    9958:       else
                   9959:        # If we're using GNU nm, then we don't want the "-C" option.
1.1.1.2 ! misho    9960:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
        !          9961:        # Without the "-l" option, or with the "-B" option, AIX nm treats
        !          9962:        # weak defined symbols like other global defined symbols, whereas
        !          9963:        # GNU nm marks them as "W".
        !          9964:        # While the 'weak' keyword is ignored in the Export File, we need
        !          9965:        # it in the Import File for the 'aix-soname' feature, so we have
        !          9966:        # to replace the "-B" option with "-P" for AIX nm.
1.1       misho    9967:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.1.1.2 ! misho    9968:          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'
1.1       misho    9969:        else
1.1.1.2 ! misho    9970:          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'
1.1       misho    9971:        fi
                   9972:        aix_use_runtimelinking=no
                   9973: 
                   9974:        # Test if we are trying to use run time linking or normal
                   9975:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.1.1.2 ! misho    9976:        # have runtime linking enabled, and use it for executables.
        !          9977:        # For shared libraries, we enable/disable runtime linking
        !          9978:        # depending on the kind of the shared library created -
        !          9979:        # when "with_aix_soname,aix_use_runtimelinking" is:
        !          9980:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
        !          9981:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
        !          9982:        #            lib.a           static archive
        !          9983:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
        !          9984:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
        !          9985:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
        !          9986:        #            lib.a(lib.so.V) shared, rtl:no
        !          9987:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
        !          9988:        #            lib.a           static archive
1.1       misho    9989:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9990:          for ld_flag in $LDFLAGS; do
1.1.1.2 ! misho    9991:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.1       misho    9992:            aix_use_runtimelinking=yes
                   9993:            break
                   9994:          fi
                   9995:          done
1.1.1.2 ! misho    9996:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
        !          9997:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
        !          9998:            # so we don't have lib.a shared libs to link our executables.
        !          9999:            # We have to force runtime linking in this case.
        !          10000:            aix_use_runtimelinking=yes
        !          10001:            LDFLAGS="$LDFLAGS -Wl,-brtl"
        !          10002:          fi
1.1       misho    10003:          ;;
                   10004:        esac
                   10005: 
                   10006:        exp_sym_flag='-bexport'
                   10007:        no_entry_flag='-bnoentry'
                   10008:       fi
                   10009: 
                   10010:       # When large executables or shared objects are built, AIX ld can
                   10011:       # have problems creating the table of contents.  If linking a library
                   10012:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10013:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10014:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10015: 
                   10016:       archive_cmds=''
                   10017:       hardcode_direct=yes
                   10018:       hardcode_direct_absolute=yes
                   10019:       hardcode_libdir_separator=':'
                   10020:       link_all_deplibs=yes
1.1.1.2 ! misho    10021:       file_list_spec='$wl-f,'
        !          10022:       case $with_aix_soname,$aix_use_runtimelinking in
        !          10023:       aix,*) ;; # traditional, no import file
        !          10024:       svr4,* | *,yes) # use import file
        !          10025:        # The Import File defines what to hardcode.
        !          10026:        hardcode_direct=no
        !          10027:        hardcode_direct_absolute=no
        !          10028:        ;;
        !          10029:       esac
1.1       misho    10030: 
1.1.1.2 ! misho    10031:       if test yes = "$GCC"; then
1.1       misho    10032:        case $host_os in aix4.[012]|aix4.[012].*)
                   10033:        # We only want to do this on AIX 4.2 and lower, the check
                   10034:        # below for broken collect2 doesn't work under 4.3+
1.1.1.2 ! misho    10035:          collect2name=`$CC -print-prog-name=collect2`
1.1       misho    10036:          if test -f "$collect2name" &&
                   10037:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10038:          then
                   10039:          # We have reworked collect2
                   10040:          :
                   10041:          else
                   10042:          # We have old collect2
                   10043:          hardcode_direct=unsupported
                   10044:          # It fails to find uninstalled libraries when the uninstalled
                   10045:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10046:          # to unsupported forces relinking
                   10047:          hardcode_minus_L=yes
                   10048:          hardcode_libdir_flag_spec='-L$libdir'
                   10049:          hardcode_libdir_separator=
                   10050:          fi
                   10051:          ;;
                   10052:        esac
                   10053:        shared_flag='-shared'
1.1.1.2 ! misho    10054:        if test yes = "$aix_use_runtimelinking"; then
        !          10055:          shared_flag="$shared_flag "'$wl-G'
1.1       misho    10056:        fi
1.1.1.2 ! misho    10057:        # Need to ensure runtime linking is disabled for the traditional
        !          10058:        # shared library, or the linker may eventually find shared libraries
        !          10059:        # /with/ Import File - we do not want to mix them.
        !          10060:        shared_flag_aix='-shared'
        !          10061:        shared_flag_svr4='-shared $wl-G'
1.1       misho    10062:       else
                   10063:        # not using gcc
1.1.1.2 ! misho    10064:        if test ia64 = "$host_cpu"; then
1.1       misho    10065:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10066:        # chokes on -Wl,-G. The following line is correct:
                   10067:          shared_flag='-G'
                   10068:        else
1.1.1.2 ! misho    10069:          if test yes = "$aix_use_runtimelinking"; then
        !          10070:            shared_flag='$wl-G'
1.1       misho    10071:          else
1.1.1.2 ! misho    10072:            shared_flag='$wl-bM:SRE'
1.1       misho    10073:          fi
1.1.1.2 ! misho    10074:          shared_flag_aix='$wl-bM:SRE'
        !          10075:          shared_flag_svr4='$wl-G'
1.1       misho    10076:        fi
                   10077:       fi
                   10078: 
1.1.1.2 ! misho    10079:       export_dynamic_flag_spec='$wl-bexpall'
1.1       misho    10080:       # It seems that -bexpall does not export symbols beginning with
                   10081:       # underscore (_), so it is better to generate a list of symbols to export.
                   10082:       always_export_symbols=yes
1.1.1.2 ! misho    10083:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.1       misho    10084:        # Warning - without using the other runtime loading flags (-brtl),
                   10085:        # -berok will link without error, but may produce a broken library.
                   10086:        allow_undefined_flag='-berok'
                   10087:         # Determine the default libpath from the value encoded in an
                   10088:         # empty executable.
1.1.1.2 ! misho    10089:         if test set = "${lt_cv_aix_libpath+set}"; then
        !          10090:   aix_libpath=$lt_cv_aix_libpath
        !          10091: else
        !          10092:   if ${lt_cv_aix_libpath_+:} false; then :
        !          10093:   $as_echo_n "(cached) " >&6
        !          10094: else
        !          10095:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10096: /* end confdefs.h.  */
                   10097: 
                   10098: int
                   10099: main ()
                   10100: {
                   10101: 
                   10102:   ;
                   10103:   return 0;
                   10104: }
                   10105: _ACEOF
                   10106: if ac_fn_c_try_link "$LINENO"; then :
                   10107: 
1.1.1.2 ! misho    10108:   lt_aix_libpath_sed='
        !          10109:       /Import File Strings/,/^$/ {
        !          10110:          /^0/ {
        !          10111:              s/^0  *\([^ ]*\) *$/\1/
        !          10112:              p
        !          10113:          }
        !          10114:       }'
        !          10115:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          10116:   # Check for a 64-bit object if we didn't find anything.
        !          10117:   if test -z "$lt_cv_aix_libpath_"; then
        !          10118:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          10119:   fi
1.1       misho    10120: fi
                   10121: rm -f core conftest.err conftest.$ac_objext \
                   10122:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    10123:   if test -z "$lt_cv_aix_libpath_"; then
        !          10124:     lt_cv_aix_libpath_=/usr/lib:/lib
        !          10125:   fi
        !          10126: 
        !          10127: fi
        !          10128: 
        !          10129:   aix_libpath=$lt_cv_aix_libpath_
        !          10130: fi
1.1       misho    10131: 
1.1.1.2 ! misho    10132:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
        !          10133:         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
1.1       misho    10134:       else
1.1.1.2 ! misho    10135:        if test ia64 = "$host_cpu"; then
        !          10136:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.1       misho    10137:          allow_undefined_flag="-z nodefs"
1.1.1.2 ! misho    10138:          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"
1.1       misho    10139:        else
                   10140:         # Determine the default libpath from the value encoded in an
                   10141:         # empty executable.
1.1.1.2 ! misho    10142:         if test set = "${lt_cv_aix_libpath+set}"; then
        !          10143:   aix_libpath=$lt_cv_aix_libpath
        !          10144: else
        !          10145:   if ${lt_cv_aix_libpath_+:} false; then :
        !          10146:   $as_echo_n "(cached) " >&6
        !          10147: else
        !          10148:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10149: /* end confdefs.h.  */
                   10150: 
                   10151: int
                   10152: main ()
                   10153: {
                   10154: 
                   10155:   ;
                   10156:   return 0;
                   10157: }
                   10158: _ACEOF
                   10159: if ac_fn_c_try_link "$LINENO"; then :
                   10160: 
1.1.1.2 ! misho    10161:   lt_aix_libpath_sed='
        !          10162:       /Import File Strings/,/^$/ {
        !          10163:          /^0/ {
        !          10164:              s/^0  *\([^ ]*\) *$/\1/
        !          10165:              p
        !          10166:          }
        !          10167:       }'
        !          10168:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          10169:   # Check for a 64-bit object if we didn't find anything.
        !          10170:   if test -z "$lt_cv_aix_libpath_"; then
        !          10171:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          10172:   fi
1.1       misho    10173: fi
                   10174: rm -f core conftest.err conftest.$ac_objext \
                   10175:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    10176:   if test -z "$lt_cv_aix_libpath_"; then
        !          10177:     lt_cv_aix_libpath_=/usr/lib:/lib
        !          10178:   fi
        !          10179: 
        !          10180: fi
        !          10181: 
        !          10182:   aix_libpath=$lt_cv_aix_libpath_
        !          10183: fi
1.1       misho    10184: 
1.1.1.2 ! misho    10185:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.1       misho    10186:          # Warning - without using the other run time loading flags,
                   10187:          # -berok will link without error, but may produce a broken library.
1.1.1.2 ! misho    10188:          no_undefined_flag=' $wl-bernotok'
        !          10189:          allow_undefined_flag=' $wl-berok'
        !          10190:          if test yes = "$with_gnu_ld"; then
        !          10191:            # We only use this code for GNU lds that support --whole-archive.
        !          10192:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
        !          10193:          else
        !          10194:            # Exported symbols can be pulled into shared objects from archives
        !          10195:            whole_archive_flag_spec='$convenience'
        !          10196:          fi
1.1       misho    10197:          archive_cmds_need_lc=yes
1.1.1.2 ! misho    10198:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
        !          10199:          # -brtl affects multiple linker settings, -berok does not and is overridden later
        !          10200:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
        !          10201:          if test svr4 != "$with_aix_soname"; then
        !          10202:            # This is similar to how AIX traditionally builds its shared libraries.
        !          10203:            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'
        !          10204:          fi
        !          10205:          if test aix != "$with_aix_soname"; then
        !          10206:            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'
        !          10207:          else
        !          10208:            # used by -dlpreopen to get the symbols
        !          10209:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
        !          10210:          fi
        !          10211:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.1       misho    10212:        fi
                   10213:       fi
                   10214:       ;;
                   10215: 
                   10216:     amigaos*)
                   10217:       case $host_cpu in
                   10218:       powerpc)
                   10219:             # see comment about AmigaOS4 .so support
1.1.1.2 ! misho    10220:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1       misho    10221:             archive_expsym_cmds=''
                   10222:         ;;
                   10223:       m68k)
                   10224:             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)'
                   10225:             hardcode_libdir_flag_spec='-L$libdir'
                   10226:             hardcode_minus_L=yes
                   10227:         ;;
                   10228:       esac
                   10229:       ;;
                   10230: 
                   10231:     bsdi[45]*)
                   10232:       export_dynamic_flag_spec=-rdynamic
                   10233:       ;;
                   10234: 
                   10235:     cygwin* | mingw* | pw32* | cegcc*)
                   10236:       # When not using gcc, we currently assume that we are using
                   10237:       # Microsoft Visual C++.
                   10238:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10239:       # no search path for DLLs.
1.1.1.2 ! misho    10240:       case $cc_basename in
        !          10241:       cl*)
        !          10242:        # Native MSVC
        !          10243:        hardcode_libdir_flag_spec=' '
        !          10244:        allow_undefined_flag=unsupported
        !          10245:        always_export_symbols=yes
        !          10246:        file_list_spec='@'
        !          10247:        # Tell ltmain to make .lib files, not .a files.
        !          10248:        libext=lib
        !          10249:        # Tell ltmain to make .dll files, not .so files.
        !          10250:        shrext_cmds=.dll
        !          10251:        # FIXME: Setting linknames here is a bad hack.
        !          10252:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
        !          10253:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          10254:             cp "$export_symbols" "$output_objdir/$soname.def";
        !          10255:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
        !          10256:           else
        !          10257:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
        !          10258:           fi~
        !          10259:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          10260:           linknames='
        !          10261:        # The linker will not automatically build a static lib if we build a DLL.
        !          10262:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
        !          10263:        enable_shared_with_static_runtimes=yes
        !          10264:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
        !          10265:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
        !          10266:        # Don't use ranlib
        !          10267:        old_postinstall_cmds='chmod 644 $oldlib'
        !          10268:        postlink_cmds='lt_outputfile="@OUTPUT@"~
        !          10269:           lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          10270:           case $lt_outputfile in
        !          10271:             *.exe|*.EXE) ;;
        !          10272:             *)
        !          10273:               lt_outputfile=$lt_outputfile.exe
        !          10274:               lt_tool_outputfile=$lt_tool_outputfile.exe
        !          10275:               ;;
        !          10276:           esac~
        !          10277:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
        !          10278:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          10279:             $RM "$lt_outputfile.manifest";
        !          10280:           fi'
        !          10281:        ;;
        !          10282:       *)
        !          10283:        # Assume MSVC wrapper
        !          10284:        hardcode_libdir_flag_spec=' '
        !          10285:        allow_undefined_flag=unsupported
        !          10286:        # Tell ltmain to make .lib files, not .a files.
        !          10287:        libext=lib
        !          10288:        # Tell ltmain to make .dll files, not .so files.
        !          10289:        shrext_cmds=.dll
        !          10290:        # FIXME: Setting linknames here is a bad hack.
        !          10291:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
        !          10292:        # The linker will automatically build a .lib file if we build a DLL.
        !          10293:        old_archive_from_new_cmds='true'
        !          10294:        # FIXME: Should let the user specify the lib program.
        !          10295:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
        !          10296:        enable_shared_with_static_runtimes=yes
        !          10297:        ;;
        !          10298:       esac
1.1       misho    10299:       ;;
                   10300: 
                   10301:     darwin* | rhapsody*)
                   10302: 
                   10303: 
                   10304:   archive_cmds_need_lc=no
                   10305:   hardcode_direct=no
                   10306:   hardcode_automatic=yes
                   10307:   hardcode_shlibpath_var=unsupported
1.1.1.2 ! misho    10308:   if test yes = "$lt_cv_ld_force_load"; then
        !          10309:     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\"`'
        !          10310: 
        !          10311:   else
        !          10312:     whole_archive_flag_spec=''
        !          10313:   fi
1.1       misho    10314:   link_all_deplibs=yes
1.1.1.2 ! misho    10315:   allow_undefined_flag=$_lt_dar_allow_undefined
1.1       misho    10316:   case $cc_basename in
1.1.1.2 ! misho    10317:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.1       misho    10318:      *) _lt_dar_can_shared=$GCC ;;
                   10319:   esac
1.1.1.2 ! misho    10320:   if test yes = "$_lt_dar_can_shared"; then
        !          10321:     output_verbose_link_cmd=func_echo_all
        !          10322:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
        !          10323:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
        !          10324:     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"
        !          10325:     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"
1.1       misho    10326: 
                   10327:   else
                   10328:   ld_shlibs=no
                   10329:   fi
                   10330: 
                   10331:       ;;
                   10332: 
                   10333:     dgux*)
                   10334:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10335:       hardcode_libdir_flag_spec='-L$libdir'
                   10336:       hardcode_shlibpath_var=no
                   10337:       ;;
                   10338: 
                   10339:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10340:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10341:     # does not break anything, and helps significantly (at the cost of a little
                   10342:     # extra space).
                   10343:     freebsd2.2*)
                   10344:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10345:       hardcode_libdir_flag_spec='-R$libdir'
                   10346:       hardcode_direct=yes
                   10347:       hardcode_shlibpath_var=no
                   10348:       ;;
                   10349: 
                   10350:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.1.1.2 ! misho    10351:     freebsd2.*)
1.1       misho    10352:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10353:       hardcode_direct=yes
                   10354:       hardcode_minus_L=yes
                   10355:       hardcode_shlibpath_var=no
                   10356:       ;;
                   10357: 
                   10358:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10359:     freebsd* | dragonfly*)
1.1.1.2 ! misho    10360:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10361:       hardcode_libdir_flag_spec='-R$libdir'
                   10362:       hardcode_direct=yes
                   10363:       hardcode_shlibpath_var=no
                   10364:       ;;
                   10365: 
                   10366:     hpux9*)
1.1.1.2 ! misho    10367:       if test yes = "$GCC"; then
        !          10368:        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'
1.1       misho    10369:       else
1.1.1.2 ! misho    10370:        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'
1.1       misho    10371:       fi
1.1.1.2 ! misho    10372:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.1       misho    10373:       hardcode_libdir_separator=:
                   10374:       hardcode_direct=yes
                   10375: 
                   10376:       # hardcode_minus_L: Not really in the search PATH,
                   10377:       # but as the default location of the library.
                   10378:       hardcode_minus_L=yes
1.1.1.2 ! misho    10379:       export_dynamic_flag_spec='$wl-E'
1.1       misho    10380:       ;;
                   10381: 
                   10382:     hpux10*)
1.1.1.2 ! misho    10383:       if test yes,no = "$GCC,$with_gnu_ld"; then
        !          10384:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10385:       else
                   10386:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10387:       fi
1.1.1.2 ! misho    10388:       if test no = "$with_gnu_ld"; then
        !          10389:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.1       misho    10390:        hardcode_libdir_separator=:
                   10391:        hardcode_direct=yes
                   10392:        hardcode_direct_absolute=yes
1.1.1.2 ! misho    10393:        export_dynamic_flag_spec='$wl-E'
1.1       misho    10394:        # hardcode_minus_L: Not really in the search PATH,
                   10395:        # but as the default location of the library.
                   10396:        hardcode_minus_L=yes
                   10397:       fi
                   10398:       ;;
                   10399: 
                   10400:     hpux11*)
1.1.1.2 ! misho    10401:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.1       misho    10402:        case $host_cpu in
                   10403:        hppa*64*)
1.1.1.2 ! misho    10404:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10405:          ;;
                   10406:        ia64*)
1.1.1.2 ! misho    10407:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10408:          ;;
                   10409:        *)
1.1.1.2 ! misho    10410:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10411:          ;;
                   10412:        esac
                   10413:       else
                   10414:        case $host_cpu in
                   10415:        hppa*64*)
1.1.1.2 ! misho    10416:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10417:          ;;
                   10418:        ia64*)
1.1.1.2 ! misho    10419:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10420:          ;;
                   10421:        *)
1.1.1.2 ! misho    10422: 
        !          10423:          # Older versions of the 11.00 compiler do not understand -b yet
        !          10424:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
        !          10425:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
        !          10426: $as_echo_n "checking if $CC understands -b... " >&6; }
        !          10427: if ${lt_cv_prog_compiler__b+:} false; then :
        !          10428:   $as_echo_n "(cached) " >&6
        !          10429: else
        !          10430:   lt_cv_prog_compiler__b=no
        !          10431:    save_LDFLAGS=$LDFLAGS
        !          10432:    LDFLAGS="$LDFLAGS -b"
        !          10433:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
        !          10434:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        !          10435:      # The linker can only warn and ignore the option if not recognized
        !          10436:      # So say no if there are warnings
        !          10437:      if test -s conftest.err; then
        !          10438:        # Append any errors to the config.log.
        !          10439:        cat conftest.err 1>&5
        !          10440:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        !          10441:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          10442:        if diff conftest.exp conftest.er2 >/dev/null; then
        !          10443:          lt_cv_prog_compiler__b=yes
        !          10444:        fi
        !          10445:      else
        !          10446:        lt_cv_prog_compiler__b=yes
        !          10447:      fi
        !          10448:    fi
        !          10449:    $RM -r conftest*
        !          10450:    LDFLAGS=$save_LDFLAGS
        !          10451: 
        !          10452: fi
        !          10453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
        !          10454: $as_echo "$lt_cv_prog_compiler__b" >&6; }
        !          10455: 
        !          10456: if test yes = "$lt_cv_prog_compiler__b"; then
        !          10457:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
        !          10458: else
        !          10459:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        !          10460: fi
        !          10461: 
1.1       misho    10462:          ;;
                   10463:        esac
                   10464:       fi
1.1.1.2 ! misho    10465:       if test no = "$with_gnu_ld"; then
        !          10466:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.1       misho    10467:        hardcode_libdir_separator=:
                   10468: 
                   10469:        case $host_cpu in
                   10470:        hppa*64*|ia64*)
                   10471:          hardcode_direct=no
                   10472:          hardcode_shlibpath_var=no
                   10473:          ;;
                   10474:        *)
                   10475:          hardcode_direct=yes
                   10476:          hardcode_direct_absolute=yes
1.1.1.2 ! misho    10477:          export_dynamic_flag_spec='$wl-E'
1.1       misho    10478: 
                   10479:          # hardcode_minus_L: Not really in the search PATH,
                   10480:          # but as the default location of the library.
                   10481:          hardcode_minus_L=yes
                   10482:          ;;
                   10483:        esac
                   10484:       fi
                   10485:       ;;
                   10486: 
                   10487:     irix5* | irix6* | nonstopux*)
1.1.1.2 ! misho    10488:       if test yes = "$GCC"; then
        !          10489:        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'
1.1       misho    10490:        # Try to use the -exported_symbol ld option, if it does not
                   10491:        # work, assume that -exports_file does not work either and
                   10492:        # implicitly export all symbols.
1.1.1.2 ! misho    10493:        # This should be the same for all languages, so no per-tag cache variable.
        !          10494:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        !          10495: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
        !          10496: if ${lt_cv_irix_exported_symbol+:} false; then :
        !          10497:   $as_echo_n "(cached) " >&6
        !          10498: else
        !          10499:   save_LDFLAGS=$LDFLAGS
        !          10500:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
        !          10501:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10502: /* end confdefs.h.  */
1.1.1.2 ! misho    10503: int foo (void) { return 0; }
1.1       misho    10504: _ACEOF
                   10505: if ac_fn_c_try_link "$LINENO"; then :
1.1.1.2 ! misho    10506:   lt_cv_irix_exported_symbol=yes
        !          10507: else
        !          10508:   lt_cv_irix_exported_symbol=no
1.1       misho    10509: fi
                   10510: rm -f core conftest.err conftest.$ac_objext \
                   10511:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    10512:            LDFLAGS=$save_LDFLAGS
        !          10513: fi
        !          10514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
        !          10515: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
        !          10516:        if test yes = "$lt_cv_irix_exported_symbol"; then
        !          10517:           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'
        !          10518:        fi
        !          10519:        link_all_deplibs=no
1.1       misho    10520:       else
1.1.1.2 ! misho    10521:        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'
        !          10522:        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'
1.1       misho    10523:       fi
                   10524:       archive_cmds_need_lc='no'
1.1.1.2 ! misho    10525:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1       misho    10526:       hardcode_libdir_separator=:
                   10527:       inherit_rpath=yes
                   10528:       link_all_deplibs=yes
                   10529:       ;;
                   10530: 
1.1.1.2 ! misho    10531:     linux*)
        !          10532:       case $cc_basename in
        !          10533:       tcc*)
        !          10534:        # Fabrice Bellard et al's Tiny C Compiler
        !          10535:        ld_shlibs=yes
        !          10536:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          10537:        ;;
        !          10538:       esac
        !          10539:       ;;
        !          10540: 
        !          10541:     netbsd* | netbsdelf*-gnu)
1.1       misho    10542:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10543:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10544:       else
                   10545:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10546:       fi
                   10547:       hardcode_libdir_flag_spec='-R$libdir'
                   10548:       hardcode_direct=yes
                   10549:       hardcode_shlibpath_var=no
                   10550:       ;;
                   10551: 
                   10552:     newsos6)
                   10553:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10554:       hardcode_direct=yes
1.1.1.2 ! misho    10555:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1       misho    10556:       hardcode_libdir_separator=:
                   10557:       hardcode_shlibpath_var=no
                   10558:       ;;
                   10559: 
                   10560:     *nto* | *qnx*)
                   10561:       ;;
                   10562: 
1.1.1.2 ! misho    10563:     openbsd* | bitrig*)
1.1       misho    10564:       if test -f /usr/libexec/ld.so; then
                   10565:        hardcode_direct=yes
                   10566:        hardcode_shlibpath_var=no
                   10567:        hardcode_direct_absolute=yes
1.1.1.2 ! misho    10568:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.1       misho    10569:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2 ! misho    10570:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
        !          10571:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          10572:          export_dynamic_flag_spec='$wl-E'
1.1       misho    10573:        else
1.1.1.2 ! misho    10574:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          10575:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.1       misho    10576:        fi
                   10577:       else
                   10578:        ld_shlibs=no
                   10579:       fi
                   10580:       ;;
                   10581: 
                   10582:     os2*)
                   10583:       hardcode_libdir_flag_spec='-L$libdir'
                   10584:       hardcode_minus_L=yes
                   10585:       allow_undefined_flag=unsupported
1.1.1.2 ! misho    10586:       shrext_cmds=.dll
        !          10587:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10588:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10589:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10590:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10591:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          10592:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10593:        emximp -o $lib $output_objdir/$libname.def'
        !          10594:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10595:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10596:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10597:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10598:        prefix_cmds="$SED"~
        !          10599:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          10600:          prefix_cmds="$prefix_cmds -e 1d";
        !          10601:        fi~
        !          10602:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          10603:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          10604:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10605:        emximp -o $lib $output_objdir/$libname.def'
        !          10606:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          10607:       enable_shared_with_static_runtimes=yes
1.1       misho    10608:       ;;
                   10609: 
                   10610:     osf3*)
1.1.1.2 ! misho    10611:       if test yes = "$GCC"; then
        !          10612:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          10613:        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'
1.1       misho    10614:       else
                   10615:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.2 ! misho    10616:        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'
1.1       misho    10617:       fi
                   10618:       archive_cmds_need_lc='no'
1.1.1.2 ! misho    10619:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1       misho    10620:       hardcode_libdir_separator=:
                   10621:       ;;
                   10622: 
                   10623:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.1.1.2 ! misho    10624:       if test yes = "$GCC"; then
        !          10625:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          10626:        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'
        !          10627:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1       misho    10628:       else
                   10629:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.2 ! misho    10630:        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'
1.1       misho    10631:        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~
1.1.1.2 ! misho    10632:           $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'
1.1       misho    10633: 
                   10634:        # Both c and cxx compiler support -rpath directly
                   10635:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10636:       fi
                   10637:       archive_cmds_need_lc='no'
                   10638:       hardcode_libdir_separator=:
                   10639:       ;;
                   10640: 
                   10641:     solaris*)
                   10642:       no_undefined_flag=' -z defs'
1.1.1.2 ! misho    10643:       if test yes = "$GCC"; then
        !          10644:        wlarc='$wl'
        !          10645:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10646:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.2 ! misho    10647:           $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'
1.1       misho    10648:       else
                   10649:        case `$CC -V 2>&1` in
                   10650:        *"Compilers 5.0"*)
                   10651:          wlarc=''
1.1.1.2 ! misho    10652:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.1       misho    10653:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.2 ! misho    10654:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.1       misho    10655:          ;;
                   10656:        *)
1.1.1.2 ! misho    10657:          wlarc='$wl'
        !          10658:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10659:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.2 ! misho    10660:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.1       misho    10661:          ;;
                   10662:        esac
                   10663:       fi
                   10664:       hardcode_libdir_flag_spec='-R$libdir'
                   10665:       hardcode_shlibpath_var=no
                   10666:       case $host_os in
                   10667:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10668:       *)
                   10669:        # The compiler driver will combine and reorder linker options,
1.1.1.2 ! misho    10670:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.1       misho    10671:        # but is careful enough not to reorder.
                   10672:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.1.1.2 ! misho    10673:        if test yes = "$GCC"; then
        !          10674:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.1       misho    10675:        else
                   10676:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10677:        fi
                   10678:        ;;
                   10679:       esac
                   10680:       link_all_deplibs=yes
                   10681:       ;;
                   10682: 
                   10683:     sunos4*)
1.1.1.2 ! misho    10684:       if test sequent = "$host_vendor"; then
1.1       misho    10685:        # Use $CC to link under sequent, because it throws in some extra .o
                   10686:        # files that make .init and .fini sections work.
1.1.1.2 ! misho    10687:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10688:       else
                   10689:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10690:       fi
                   10691:       hardcode_libdir_flag_spec='-L$libdir'
                   10692:       hardcode_direct=yes
                   10693:       hardcode_minus_L=yes
                   10694:       hardcode_shlibpath_var=no
                   10695:       ;;
                   10696: 
                   10697:     sysv4)
                   10698:       case $host_vendor in
                   10699:        sni)
                   10700:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10701:          hardcode_direct=yes # is this really true???
                   10702:        ;;
                   10703:        siemens)
                   10704:          ## LD is ld it makes a PLAMLIB
                   10705:          ## CC just makes a GrossModule.
                   10706:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10707:          reload_cmds='$CC -r -o $output$reload_objs'
                   10708:          hardcode_direct=no
                   10709:         ;;
                   10710:        motorola)
                   10711:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10712:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10713:        ;;
                   10714:       esac
                   10715:       runpath_var='LD_RUN_PATH'
                   10716:       hardcode_shlibpath_var=no
                   10717:       ;;
                   10718: 
                   10719:     sysv4.3*)
                   10720:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10721:       hardcode_shlibpath_var=no
                   10722:       export_dynamic_flag_spec='-Bexport'
                   10723:       ;;
                   10724: 
                   10725:     sysv4*MP*)
                   10726:       if test -d /usr/nec; then
                   10727:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10728:        hardcode_shlibpath_var=no
                   10729:        runpath_var=LD_RUN_PATH
                   10730:        hardcode_runpath_var=yes
                   10731:        ld_shlibs=yes
                   10732:       fi
                   10733:       ;;
                   10734: 
                   10735:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.1.1.2 ! misho    10736:       no_undefined_flag='$wl-z,text'
1.1       misho    10737:       archive_cmds_need_lc=no
                   10738:       hardcode_shlibpath_var=no
                   10739:       runpath_var='LD_RUN_PATH'
                   10740: 
1.1.1.2 ! misho    10741:       if test yes = "$GCC"; then
        !          10742:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10743:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10744:       else
1.1.1.2 ! misho    10745:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10746:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10747:       fi
                   10748:       ;;
                   10749: 
                   10750:     sysv5* | sco3.2v5* | sco5v6*)
1.1.1.2 ! misho    10751:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.1       misho    10752:       # link with -lc, and that would cause any symbols used from libc to
                   10753:       # always be unresolved, which means just about no library would
                   10754:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10755:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10756:       # as -z defs.
1.1.1.2 ! misho    10757:       no_undefined_flag='$wl-z,text'
        !          10758:       allow_undefined_flag='$wl-z,nodefs'
1.1       misho    10759:       archive_cmds_need_lc=no
                   10760:       hardcode_shlibpath_var=no
1.1.1.2 ! misho    10761:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.1       misho    10762:       hardcode_libdir_separator=':'
                   10763:       link_all_deplibs=yes
1.1.1.2 ! misho    10764:       export_dynamic_flag_spec='$wl-Bexport'
1.1       misho    10765:       runpath_var='LD_RUN_PATH'
                   10766: 
1.1.1.2 ! misho    10767:       if test yes = "$GCC"; then
        !          10768:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10769:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10770:       else
1.1.1.2 ! misho    10771:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10772:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    10773:       fi
                   10774:       ;;
                   10775: 
                   10776:     uts4*)
                   10777:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10778:       hardcode_libdir_flag_spec='-L$libdir'
                   10779:       hardcode_shlibpath_var=no
                   10780:       ;;
                   10781: 
                   10782:     *)
                   10783:       ld_shlibs=no
                   10784:       ;;
                   10785:     esac
                   10786: 
1.1.1.2 ! misho    10787:     if test sni = "$host_vendor"; then
1.1       misho    10788:       case $host in
                   10789:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.1.1.2 ! misho    10790:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.1       misho    10791:        ;;
                   10792:       esac
                   10793:     fi
                   10794:   fi
                   10795: 
                   10796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10797: $as_echo "$ld_shlibs" >&6; }
1.1.1.2 ! misho    10798: test no = "$ld_shlibs" && can_build_shared=no
1.1       misho    10799: 
                   10800: with_gnu_ld=$with_gnu_ld
                   10801: 
                   10802: 
                   10803: 
                   10804: 
                   10805: 
                   10806: 
                   10807: 
                   10808: 
                   10809: 
                   10810: 
                   10811: 
                   10812: 
                   10813: 
                   10814: 
                   10815: 
                   10816: #
                   10817: # Do we need to explicitly link libc?
                   10818: #
                   10819: case "x$archive_cmds_need_lc" in
                   10820: x|xyes)
                   10821:   # Assume -lc should be added
                   10822:   archive_cmds_need_lc=yes
                   10823: 
1.1.1.2 ! misho    10824:   if test yes,yes = "$GCC,$enable_shared"; then
1.1       misho    10825:     case $archive_cmds in
                   10826:     *'~'*)
                   10827:       # FIXME: we may have to deal with multi-command sequences.
                   10828:       ;;
                   10829:     '$CC '*)
                   10830:       # Test whether the compiler implicitly links with -lc since on some
                   10831:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10832:       # to ld, don't add -lc before -lgcc.
                   10833:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10834: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1.1.1.2 ! misho    10835: if ${lt_cv_archive_cmds_need_lc+:} false; then :
        !          10836:   $as_echo_n "(cached) " >&6
        !          10837: else
        !          10838:   $RM conftest*
        !          10839:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1       misho    10840: 
1.1.1.2 ! misho    10841:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    10842:   (eval $ac_compile) 2>&5
                   10843:   ac_status=$?
                   10844:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10845:   test $ac_status = 0; } 2>conftest.err; then
1.1.1.2 ! misho    10846:          soname=conftest
        !          10847:          lib=conftest
        !          10848:          libobjs=conftest.$ac_objext
        !          10849:          deplibs=
        !          10850:          wl=$lt_prog_compiler_wl
        !          10851:          pic_flag=$lt_prog_compiler_pic
        !          10852:          compiler_flags=-v
        !          10853:          linker_flags=-v
        !          10854:          verstring=
        !          10855:          output_objdir=.
        !          10856:          libname=conftest
        !          10857:          lt_save_allow_undefined_flag=$allow_undefined_flag
        !          10858:          allow_undefined_flag=
        !          10859:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.1       misho    10860:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10861:   ac_status=$?
                   10862:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10863:   test $ac_status = 0; }
1.1.1.2 ! misho    10864:          then
        !          10865:            lt_cv_archive_cmds_need_lc=no
        !          10866:          else
        !          10867:            lt_cv_archive_cmds_need_lc=yes
        !          10868:          fi
        !          10869:          allow_undefined_flag=$lt_save_allow_undefined_flag
        !          10870:        else
        !          10871:          cat conftest.err 1>&5
        !          10872:        fi
        !          10873:        $RM conftest*
        !          10874: 
        !          10875: fi
        !          10876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
        !          10877: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
        !          10878:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1.1       misho    10879:       ;;
                   10880:     esac
                   10881:   fi
                   10882:   ;;
                   10883: esac
                   10884: 
                   10885: 
                   10886: 
                   10887: 
                   10888: 
                   10889: 
                   10890: 
                   10891: 
                   10892: 
                   10893: 
                   10894: 
                   10895: 
                   10896: 
                   10897: 
                   10898: 
                   10899: 
                   10900: 
                   10901: 
                   10902: 
                   10903: 
                   10904: 
                   10905: 
                   10906: 
                   10907: 
                   10908: 
                   10909: 
                   10910: 
                   10911: 
                   10912: 
                   10913: 
                   10914: 
                   10915: 
                   10916: 
                   10917: 
                   10918: 
                   10919: 
                   10920: 
                   10921: 
                   10922: 
                   10923: 
                   10924: 
                   10925: 
                   10926: 
                   10927: 
                   10928: 
                   10929: 
                   10930: 
                   10931: 
                   10932: 
                   10933: 
                   10934: 
                   10935: 
                   10936: 
                   10937: 
                   10938: 
                   10939: 
                   10940: 
                   10941: 
                   10942: 
                   10943: 
                   10944: 
                   10945: 
                   10946: 
                   10947: 
                   10948: 
                   10949: 
                   10950: 
                   10951: 
                   10952: 
                   10953: 
                   10954: 
                   10955: 
                   10956: 
                   10957: 
                   10958: 
                   10959: 
                   10960: 
                   10961: 
                   10962: 
                   10963: 
                   10964: 
                   10965: 
                   10966: 
                   10967: 
                   10968: 
                   10969: 
                   10970: 
                   10971: 
                   10972: 
                   10973: 
                   10974: 
                   10975: 
                   10976: 
                   10977: 
                   10978: 
                   10979: 
                   10980: 
                   10981: 
                   10982: 
                   10983: 
                   10984: 
                   10985: 
                   10986: 
                   10987: 
                   10988: 
                   10989: 
                   10990: 
                   10991: 
                   10992: 
                   10993: 
                   10994: 
                   10995: 
                   10996: 
                   10997: 
                   10998: 
                   10999: 
                   11000: 
                   11001: 
                   11002: 
                   11003: 
                   11004: 
                   11005: 
                   11006: 
                   11007: 
                   11008: 
                   11009: 
                   11010: 
                   11011: 
                   11012: 
                   11013: 
                   11014: 
                   11015: 
                   11016: 
                   11017: 
                   11018: 
                   11019: 
                   11020: 
                   11021: 
                   11022: 
                   11023: 
                   11024: 
                   11025: 
                   11026: 
                   11027: 
                   11028: 
                   11029: 
                   11030: 
                   11031: 
                   11032: 
                   11033: 
                   11034: 
                   11035: 
                   11036:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11037: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   11038: 
1.1.1.2 ! misho    11039: if test yes = "$GCC"; then
        !          11040:   case $host_os in
        !          11041:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
        !          11042:     *) lt_awk_arg='/^libraries:/' ;;
        !          11043:   esac
1.1       misho    11044:   case $host_os in
1.1.1.2 ! misho    11045:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
        !          11046:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.1       misho    11047:   esac
1.1.1.2 ! misho    11048:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
        !          11049:   case $lt_search_path_spec in
        !          11050:   *\;*)
1.1       misho    11051:     # if the path contains ";" then we assume it to be the separator
                   11052:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11053:     # assumed that no part of a normal pathname contains ";" but that should
                   11054:     # okay in the real world where ";" in dirpaths is itself problematic.
1.1.1.2 ! misho    11055:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
        !          11056:     ;;
        !          11057:   *)
        !          11058:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
        !          11059:     ;;
        !          11060:   esac
1.1       misho    11061:   # Ok, now we have the path, separated by spaces, we can step through it
1.1.1.2 ! misho    11062:   # and add multilib dir if necessary...
1.1       misho    11063:   lt_tmp_lt_search_path_spec=
1.1.1.2 ! misho    11064:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
        !          11065:   # ...but if some path component already ends with the multilib dir we assume
        !          11066:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
        !          11067:   case "$lt_multi_os_dir; $lt_search_path_spec " in
        !          11068:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
        !          11069:     lt_multi_os_dir=
        !          11070:     ;;
        !          11071:   esac
1.1       misho    11072:   for lt_sys_path in $lt_search_path_spec; do
1.1.1.2 ! misho    11073:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
        !          11074:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
        !          11075:     elif test -n "$lt_multi_os_dir"; then
1.1       misho    11076:       test -d "$lt_sys_path" && \
                   11077:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11078:     fi
                   11079:   done
1.1.1.2 ! misho    11080:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
        !          11081: BEGIN {RS = " "; FS = "/|\n";} {
        !          11082:   lt_foo = "";
        !          11083:   lt_count = 0;
1.1       misho    11084:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11085:     if ($lt_i != "" && $lt_i != ".") {
                   11086:       if ($lt_i == "..") {
                   11087:         lt_count++;
                   11088:       } else {
                   11089:         if (lt_count == 0) {
1.1.1.2 ! misho    11090:           lt_foo = "/" $lt_i lt_foo;
1.1       misho    11091:         } else {
                   11092:           lt_count--;
                   11093:         }
                   11094:       }
                   11095:     }
                   11096:   }
                   11097:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11098:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11099: }'`
1.1.1.2 ! misho    11100:   # AWK program above erroneously prepends '/' to C:/dos/paths
        !          11101:   # for these hosts.
        !          11102:   case $host_os in
        !          11103:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
        !          11104:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
        !          11105:   esac
        !          11106:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1       misho    11107: else
                   11108:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11109: fi
                   11110: library_names_spec=
                   11111: libname_spec='lib$name'
                   11112: soname_spec=
1.1.1.2 ! misho    11113: shrext_cmds=.so
1.1       misho    11114: postinstall_cmds=
                   11115: postuninstall_cmds=
                   11116: finish_cmds=
                   11117: finish_eval=
                   11118: shlibpath_var=
                   11119: shlibpath_overrides_runpath=unknown
                   11120: version_type=none
                   11121: dynamic_linker="$host_os ld.so"
                   11122: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11123: need_lib_prefix=unknown
                   11124: hardcode_into_libs=no
                   11125: 
                   11126: # when you set need_version to no, make sure it does not cause -set_version
                   11127: # flags to be left without arguments
                   11128: need_version=unknown
                   11129: 
1.1.1.2 ! misho    11130: 
        !          11131: 
1.1       misho    11132: case $host_os in
                   11133: aix3*)
1.1.1.2 ! misho    11134:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11135:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.1       misho    11136:   shlibpath_var=LIBPATH
                   11137: 
                   11138:   # AIX 3 has no versioning support, so we append a major version to the name.
1.1.1.2 ! misho    11139:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11140:   ;;
                   11141: 
                   11142: aix[4-9]*)
1.1.1.2 ! misho    11143:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11144:   need_lib_prefix=no
                   11145:   need_version=no
                   11146:   hardcode_into_libs=yes
1.1.1.2 ! misho    11147:   if test ia64 = "$host_cpu"; then
1.1       misho    11148:     # AIX 5 supports IA64
1.1.1.2 ! misho    11149:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.1       misho    11150:     shlibpath_var=LD_LIBRARY_PATH
                   11151:   else
                   11152:     # With GCC up to 2.95.x, collect2 would create an import file
                   11153:     # for dependence libraries.  The import file would start with
1.1.1.2 ! misho    11154:     # the line '#! .'.  This would cause the generated library to
        !          11155:     # depend on '.', always an invalid library.  This was fixed in
1.1       misho    11156:     # development snapshots of GCC prior to 3.0.
                   11157:     case $host_os in
                   11158:       aix4 | aix4.[01] | aix4.[01].*)
                   11159:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11160:           echo ' yes '
1.1.1.2 ! misho    11161:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.1       misho    11162:        :
                   11163:       else
                   11164:        can_build_shared=no
                   11165:       fi
                   11166:       ;;
                   11167:     esac
1.1.1.2 ! misho    11168:     # Using Import Files as archive members, it is possible to support
        !          11169:     # filename-based versioning of shared library archives on AIX. While
        !          11170:     # this would work for both with and without runtime linking, it will
        !          11171:     # prevent static linking of such archives. So we do filename-based
        !          11172:     # shared library versioning with .so extension only, which is used
        !          11173:     # when both runtime linking and shared linking is enabled.
        !          11174:     # Unfortunately, runtime linking may impact performance, so we do
        !          11175:     # not want this to be the default eventually. Also, we use the
        !          11176:     # versioned .so libs for executables only if there is the -brtl
        !          11177:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
        !          11178:     # To allow for filename-based versioning support, we need to create
        !          11179:     # libNAME.so.V as an archive file, containing:
        !          11180:     # *) an Import File, referring to the versioned filename of the
        !          11181:     #    archive as well as the shared archive member, telling the
        !          11182:     #    bitwidth (32 or 64) of that shared object, and providing the
        !          11183:     #    list of exported symbols of that shared object, eventually
        !          11184:     #    decorated with the 'weak' keyword
        !          11185:     # *) the shared object with the F_LOADONLY flag set, to really avoid
        !          11186:     #    it being seen by the linker.
        !          11187:     # At run time we better use the real file rather than another symlink,
        !          11188:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
        !          11189: 
        !          11190:     case $with_aix_soname,$aix_use_runtimelinking in
        !          11191:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.1       misho    11192:     # soname into executable. Probably we can add versioning support to
                   11193:     # collect2, so additional links can be useful in future.
1.1.1.2 ! misho    11194:     aix,yes) # traditional libtool
        !          11195:       dynamic_linker='AIX unversionable lib.so'
1.1       misho    11196:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11197:       # instead of lib<name>.a to let people know that these are not
                   11198:       # typical AIX shared libraries.
1.1.1.2 ! misho    11199:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11200:       ;;
        !          11201:     aix,no) # traditional AIX only
        !          11202:       dynamic_linker='AIX lib.a(lib.so.V)'
1.1       misho    11203:       # We preserve .a as extension for shared libraries through AIX4.2
                   11204:       # and later when we are not doing run time linking.
1.1.1.2 ! misho    11205:       library_names_spec='$libname$release.a $libname.a'
        !          11206:       soname_spec='$libname$release$shared_ext$major'
        !          11207:       ;;
        !          11208:     svr4,*) # full svr4 only
        !          11209:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
        !          11210:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          11211:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          11212:       shlibpath_overrides_runpath=yes
        !          11213:       ;;
        !          11214:     *,yes) # both, prefer svr4
        !          11215:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
        !          11216:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          11217:       # unpreferred sharedlib libNAME.a needs extra handling
        !          11218:       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"'
        !          11219:       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"'
        !          11220:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          11221:       shlibpath_overrides_runpath=yes
        !          11222:       ;;
        !          11223:     *,no) # both, prefer aix
        !          11224:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
        !          11225:       library_names_spec='$libname$release.a $libname.a'
        !          11226:       soname_spec='$libname$release$shared_ext$major'
        !          11227:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
        !          11228:       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)'
        !          11229:       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"'
        !          11230:       ;;
        !          11231:     esac
1.1       misho    11232:     shlibpath_var=LIBPATH
                   11233:   fi
                   11234:   ;;
                   11235: 
                   11236: amigaos*)
                   11237:   case $host_cpu in
                   11238:   powerpc)
                   11239:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11240:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.1.1.2 ! misho    11241:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1       misho    11242:     ;;
                   11243:   m68k)
                   11244:     library_names_spec='$libname.ixlibrary $libname.a'
                   11245:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.1.1.2 ! misho    11246:     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'
1.1       misho    11247:     ;;
                   11248:   esac
                   11249:   ;;
                   11250: 
                   11251: beos*)
1.1.1.2 ! misho    11252:   library_names_spec='$libname$shared_ext'
1.1       misho    11253:   dynamic_linker="$host_os ld.so"
                   11254:   shlibpath_var=LIBRARY_PATH
                   11255:   ;;
                   11256: 
                   11257: bsdi[45]*)
1.1.1.2 ! misho    11258:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11259:   need_version=no
1.1.1.2 ! misho    11260:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11261:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11262:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11263:   shlibpath_var=LD_LIBRARY_PATH
                   11264:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11265:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11266:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11267:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11268:   # libtool to hard-code these into programs
                   11269:   ;;
                   11270: 
                   11271: cygwin* | mingw* | pw32* | cegcc*)
                   11272:   version_type=windows
1.1.1.2 ! misho    11273:   shrext_cmds=.dll
1.1       misho    11274:   need_version=no
                   11275:   need_lib_prefix=no
                   11276: 
1.1.1.2 ! misho    11277:   case $GCC,$cc_basename in
        !          11278:   yes,*)
        !          11279:     # gcc
1.1       misho    11280:     library_names_spec='$libname.dll.a'
                   11281:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.1.1.2 ! misho    11282:     postinstall_cmds='base_file=`basename \$file`~
        !          11283:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.1       misho    11284:       dldir=$destdir/`dirname \$dlpath`~
                   11285:       test -d \$dldir || mkdir -p \$dldir~
                   11286:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11287:       chmod a+x \$dldir/$dlname~
                   11288:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11289:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11290:       fi'
                   11291:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11292:       dlpath=$dir/\$dldll~
                   11293:        $RM \$dlpath'
                   11294:     shlibpath_overrides_runpath=yes
                   11295: 
                   11296:     case $host_os in
                   11297:     cygwin*)
                   11298:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.1.1.2 ! misho    11299:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          11300: 
        !          11301:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1.1       misho    11302:       ;;
                   11303:     mingw* | cegcc*)
                   11304:       # MinGW DLLs use traditional 'lib' prefix
1.1.1.2 ! misho    11305:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          11306:       ;;
        !          11307:     pw32*)
        !          11308:       # pw32 DLLs use 'pw' prefix rather than 'lib'
        !          11309:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          11310:       ;;
        !          11311:     esac
        !          11312:     dynamic_linker='Win32 ld.exe'
        !          11313:     ;;
        !          11314: 
        !          11315:   *,cl*)
        !          11316:     # Native MSVC
        !          11317:     libname_spec='$name'
        !          11318:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          11319:     library_names_spec='$libname.dll.lib'
        !          11320: 
        !          11321:     case $build_os in
        !          11322:     mingw*)
        !          11323:       sys_lib_search_path_spec=
        !          11324:       lt_save_ifs=$IFS
        !          11325:       IFS=';'
        !          11326:       for lt_path in $LIB
        !          11327:       do
        !          11328:         IFS=$lt_save_ifs
        !          11329:         # Let DOS variable expansion print the short 8.3 style file name.
        !          11330:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
        !          11331:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
        !          11332:       done
        !          11333:       IFS=$lt_save_ifs
        !          11334:       # Convert to MSYS style.
        !          11335:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
        !          11336:       ;;
        !          11337:     cygwin*)
        !          11338:       # Convert to unix form, then to dos form, then back to unix form
        !          11339:       # but this time dos style (no spaces!) so that the unix form looks
        !          11340:       # like /cygdrive/c/PROGRA~1:/cygdr...
        !          11341:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
        !          11342:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
        !          11343:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          11344:       ;;
        !          11345:     *)
        !          11346:       sys_lib_search_path_spec=$LIB
1.1       misho    11347:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
1.1.1.2 ! misho    11348:         # It is most probably a Windows format PATH.
1.1       misho    11349:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11350:       else
1.1.1.2 ! misho    11351:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.1       misho    11352:       fi
1.1.1.2 ! misho    11353:       # FIXME: find the short name or the path components, as spaces are
        !          11354:       # common. (e.g. "Program Files" -> "PROGRA~1")
1.1       misho    11355:       ;;
                   11356:     esac
1.1.1.2 ! misho    11357: 
        !          11358:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
        !          11359:     postinstall_cmds='base_file=`basename \$file`~
        !          11360:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
        !          11361:       dldir=$destdir/`dirname \$dlpath`~
        !          11362:       test -d \$dldir || mkdir -p \$dldir~
        !          11363:       $install_prog $dir/$dlname \$dldir/$dlname'
        !          11364:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
        !          11365:       dlpath=$dir/\$dldll~
        !          11366:        $RM \$dlpath'
        !          11367:     shlibpath_overrides_runpath=yes
        !          11368:     dynamic_linker='Win32 link.exe'
1.1       misho    11369:     ;;
                   11370: 
                   11371:   *)
1.1.1.2 ! misho    11372:     # Assume MSVC wrapper
        !          11373:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
        !          11374:     dynamic_linker='Win32 ld.exe'
1.1       misho    11375:     ;;
                   11376:   esac
                   11377:   # FIXME: first we should search . and the directory the executable is in
                   11378:   shlibpath_var=PATH
                   11379:   ;;
                   11380: 
                   11381: darwin* | rhapsody*)
                   11382:   dynamic_linker="$host_os dyld"
                   11383:   version_type=darwin
                   11384:   need_lib_prefix=no
                   11385:   need_version=no
1.1.1.2 ! misho    11386:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
        !          11387:   soname_spec='$libname$release$major$shared_ext'
1.1       misho    11388:   shlibpath_overrides_runpath=yes
                   11389:   shlibpath_var=DYLD_LIBRARY_PATH
                   11390:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11391: 
                   11392:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11393:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11394:   ;;
                   11395: 
                   11396: dgux*)
1.1.1.2 ! misho    11397:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11398:   need_lib_prefix=no
                   11399:   need_version=no
1.1.1.2 ! misho    11400:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11401:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11402:   shlibpath_var=LD_LIBRARY_PATH
                   11403:   ;;
                   11404: 
                   11405: freebsd* | dragonfly*)
                   11406:   # DragonFly does not have aout.  When/if they implement a new
                   11407:   # versioning mechanism, adjust this.
                   11408:   if test -x /usr/bin/objformat; then
                   11409:     objformat=`/usr/bin/objformat`
                   11410:   else
                   11411:     case $host_os in
1.1.1.2 ! misho    11412:     freebsd[23].*) objformat=aout ;;
1.1       misho    11413:     *) objformat=elf ;;
                   11414:     esac
                   11415:   fi
1.1.1.2 ! misho    11416:   version_type=freebsd-$objformat
1.1       misho    11417:   case $version_type in
                   11418:     freebsd-elf*)
1.1.1.2 ! misho    11419:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11420:       soname_spec='$libname$release$shared_ext$major'
1.1       misho    11421:       need_version=no
                   11422:       need_lib_prefix=no
                   11423:       ;;
                   11424:     freebsd-*)
1.1.1.2 ! misho    11425:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.1       misho    11426:       need_version=yes
                   11427:       ;;
                   11428:   esac
                   11429:   shlibpath_var=LD_LIBRARY_PATH
                   11430:   case $host_os in
1.1.1.2 ! misho    11431:   freebsd2.*)
1.1       misho    11432:     shlibpath_overrides_runpath=yes
                   11433:     ;;
                   11434:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11435:     shlibpath_overrides_runpath=yes
                   11436:     hardcode_into_libs=yes
                   11437:     ;;
                   11438:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11439:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11440:     shlibpath_overrides_runpath=no
                   11441:     hardcode_into_libs=yes
                   11442:     ;;
                   11443:   *) # from 4.6 on, and DragonFly
                   11444:     shlibpath_overrides_runpath=yes
                   11445:     hardcode_into_libs=yes
                   11446:     ;;
                   11447:   esac
                   11448:   ;;
                   11449: 
1.1.1.2 ! misho    11450: haiku*)
        !          11451:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11452:   need_lib_prefix=no
                   11453:   need_version=no
1.1.1.2 ! misho    11454:   dynamic_linker="$host_os runtime_loader"
        !          11455:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11456:   soname_spec='$libname$release$shared_ext$major'
        !          11457:   shlibpath_var=LIBRARY_PATH
        !          11458:   shlibpath_overrides_runpath=no
        !          11459:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
1.1       misho    11460:   hardcode_into_libs=yes
                   11461:   ;;
                   11462: 
                   11463: hpux9* | hpux10* | hpux11*)
                   11464:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11465:   # link against other versions.
                   11466:   version_type=sunos
                   11467:   need_lib_prefix=no
                   11468:   need_version=no
                   11469:   case $host_cpu in
                   11470:   ia64*)
                   11471:     shrext_cmds='.so'
                   11472:     hardcode_into_libs=yes
                   11473:     dynamic_linker="$host_os dld.so"
                   11474:     shlibpath_var=LD_LIBRARY_PATH
                   11475:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.1.1.2 ! misho    11476:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11477:     soname_spec='$libname$release$shared_ext$major'
        !          11478:     if test 32 = "$HPUX_IA64_MODE"; then
1.1       misho    11479:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.1.1.2 ! misho    11480:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.1       misho    11481:     else
                   11482:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.1.1.2 ! misho    11483:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.1       misho    11484:     fi
                   11485:     ;;
                   11486:   hppa*64*)
                   11487:     shrext_cmds='.sl'
                   11488:     hardcode_into_libs=yes
                   11489:     dynamic_linker="$host_os dld.sl"
                   11490:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11491:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.1.1.2 ! misho    11492:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11493:     soname_spec='$libname$release$shared_ext$major'
1.1       misho    11494:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11495:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11496:     ;;
                   11497:   *)
                   11498:     shrext_cmds='.sl'
                   11499:     dynamic_linker="$host_os dld.sl"
                   11500:     shlibpath_var=SHLIB_PATH
                   11501:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.1.1.2 ! misho    11502:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11503:     soname_spec='$libname$release$shared_ext$major'
1.1       misho    11504:     ;;
                   11505:   esac
1.1.1.2 ! misho    11506:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.1       misho    11507:   postinstall_cmds='chmod 555 $lib'
1.1.1.2 ! misho    11508:   # or fails outright, so override atomically:
        !          11509:   install_override_mode=555
1.1       misho    11510:   ;;
                   11511: 
                   11512: interix[3-9]*)
1.1.1.2 ! misho    11513:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11514:   need_lib_prefix=no
                   11515:   need_version=no
1.1.1.2 ! misho    11516:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11517:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11518:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11519:   shlibpath_var=LD_LIBRARY_PATH
                   11520:   shlibpath_overrides_runpath=no
                   11521:   hardcode_into_libs=yes
                   11522:   ;;
                   11523: 
                   11524: irix5* | irix6* | nonstopux*)
                   11525:   case $host_os in
                   11526:     nonstopux*) version_type=nonstopux ;;
                   11527:     *)
1.1.1.2 ! misho    11528:        if test yes = "$lt_cv_prog_gnu_ld"; then
        !          11529:                version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11530:        else
                   11531:                version_type=irix
                   11532:        fi ;;
                   11533:   esac
                   11534:   need_lib_prefix=no
                   11535:   need_version=no
1.1.1.2 ! misho    11536:   soname_spec='$libname$release$shared_ext$major'
        !          11537:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.1       misho    11538:   case $host_os in
                   11539:   irix5* | nonstopux*)
                   11540:     libsuff= shlibsuff=
                   11541:     ;;
                   11542:   *)
                   11543:     case $LD in # libtool.m4 will add one of these switches to LD
                   11544:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11545:       libsuff= shlibsuff= libmagic=32-bit;;
                   11546:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11547:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11548:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11549:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11550:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11551:     esac
                   11552:     ;;
                   11553:   esac
                   11554:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11555:   shlibpath_overrides_runpath=no
1.1.1.2 ! misho    11556:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
        !          11557:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.1       misho    11558:   hardcode_into_libs=yes
                   11559:   ;;
                   11560: 
                   11561: # No shared lib support for Linux oldld, aout, or coff.
                   11562: linux*oldld* | linux*aout* | linux*coff*)
                   11563:   dynamic_linker=no
                   11564:   ;;
                   11565: 
1.1.1.2 ! misho    11566: linux*android*)
        !          11567:   version_type=none # Android doesn't support versioned libraries.
1.1       misho    11568:   need_lib_prefix=no
                   11569:   need_version=no
1.1.1.2 ! misho    11570:   library_names_spec='$libname$release$shared_ext'
        !          11571:   soname_spec='$libname$release$shared_ext'
        !          11572:   finish_cmds=
        !          11573:   shlibpath_var=LD_LIBRARY_PATH
        !          11574:   shlibpath_overrides_runpath=yes
        !          11575: 
        !          11576:   # This implies no fast_install, which is unacceptable.
        !          11577:   # Some rework will be needed to allow for fast_install
        !          11578:   # before this can be enabled.
        !          11579:   hardcode_into_libs=yes
        !          11580: 
        !          11581:   dynamic_linker='Android linker'
        !          11582:   # Don't embed -rpath directories since the linker doesn't support them.
        !          11583:   hardcode_libdir_flag_spec='-L$libdir'
        !          11584:   ;;
        !          11585: 
        !          11586: # This must be glibc/ELF.
        !          11587: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          11588:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11589:   need_lib_prefix=no
        !          11590:   need_version=no
        !          11591:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11592:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11593:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11594:   shlibpath_var=LD_LIBRARY_PATH
                   11595:   shlibpath_overrides_runpath=no
1.1.1.2 ! misho    11596: 
1.1       misho    11597:   # Some binutils ld are patched to set DT_RUNPATH
1.1.1.2 ! misho    11598:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
        !          11599:   $as_echo_n "(cached) " >&6
        !          11600: else
        !          11601:   lt_cv_shlibpath_overrides_runpath=no
        !          11602:     save_LDFLAGS=$LDFLAGS
        !          11603:     save_libdir=$libdir
        !          11604:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
        !          11605:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
        !          11606:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    11607: /* end confdefs.h.  */
                   11608: 
                   11609: int
                   11610: main ()
                   11611: {
                   11612: 
                   11613:   ;
                   11614:   return 0;
                   11615: }
                   11616: _ACEOF
                   11617: if ac_fn_c_try_link "$LINENO"; then :
                   11618:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.1.1.2 ! misho    11619:   lt_cv_shlibpath_overrides_runpath=yes
1.1       misho    11620: fi
                   11621: fi
                   11622: rm -f core conftest.err conftest.$ac_objext \
                   11623:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    11624:     LDFLAGS=$save_LDFLAGS
        !          11625:     libdir=$save_libdir
        !          11626: 
        !          11627: fi
        !          11628: 
        !          11629:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
1.1       misho    11630: 
                   11631:   # This implies no fast_install, which is unacceptable.
                   11632:   # Some rework will be needed to allow for fast_install
                   11633:   # before this can be enabled.
                   11634:   hardcode_into_libs=yes
                   11635: 
1.1.1.2 ! misho    11636:   # Ideally, we could use ldconfig to report *all* directores which are
        !          11637:   # searched for libraries, however this is still not possible.  Aside from not
        !          11638:   # being certain /sbin/ldconfig is available, command
        !          11639:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
        !          11640:   # even though it is searched at run-time.  Try to do the best guess by
        !          11641:   # appending ld.so.conf contents (and includes) to the search path.
1.1       misho    11642:   if test -f /etc/ld.so.conf; then
1.1.1.2 ! misho    11643:     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' ' '`
1.1       misho    11644:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11645:   fi
                   11646: 
                   11647:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11648:   # powerpc, because MkLinux only supported shared libraries with the
                   11649:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11650:   # most powerpc-linux boxes support dynamic linking these days and
                   11651:   # people can always --disable-shared, the test was removed, and we
                   11652:   # assume the GNU/Linux dynamic linker is in use.
                   11653:   dynamic_linker='GNU/Linux ld.so'
                   11654:   ;;
                   11655: 
1.1.1.2 ! misho    11656: netbsdelf*-gnu)
        !          11657:   version_type=linux
        !          11658:   need_lib_prefix=no
        !          11659:   need_version=no
        !          11660:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
        !          11661:   soname_spec='${libname}${release}${shared_ext}$major'
        !          11662:   shlibpath_var=LD_LIBRARY_PATH
        !          11663:   shlibpath_overrides_runpath=no
        !          11664:   hardcode_into_libs=yes
        !          11665:   dynamic_linker='NetBSD ld.elf_so'
        !          11666:   ;;
        !          11667: 
1.1       misho    11668: netbsd*)
                   11669:   version_type=sunos
                   11670:   need_lib_prefix=no
                   11671:   need_version=no
                   11672:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1.2 ! misho    11673:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.1       misho    11674:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11675:     dynamic_linker='NetBSD (a.out) ld.so'
                   11676:   else
1.1.1.2 ! misho    11677:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11678:     soname_spec='$libname$release$shared_ext$major'
1.1       misho    11679:     dynamic_linker='NetBSD ld.elf_so'
                   11680:   fi
                   11681:   shlibpath_var=LD_LIBRARY_PATH
                   11682:   shlibpath_overrides_runpath=yes
                   11683:   hardcode_into_libs=yes
                   11684:   ;;
                   11685: 
                   11686: newsos6)
1.1.1.2 ! misho    11687:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11688:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1       misho    11689:   shlibpath_var=LD_LIBRARY_PATH
                   11690:   shlibpath_overrides_runpath=yes
                   11691:   ;;
                   11692: 
                   11693: *nto* | *qnx*)
                   11694:   version_type=qnx
                   11695:   need_lib_prefix=no
                   11696:   need_version=no
1.1.1.2 ! misho    11697:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11698:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11699:   shlibpath_var=LD_LIBRARY_PATH
                   11700:   shlibpath_overrides_runpath=no
                   11701:   hardcode_into_libs=yes
                   11702:   dynamic_linker='ldqnx.so'
                   11703:   ;;
                   11704: 
1.1.1.2 ! misho    11705: openbsd* | bitrig*)
1.1       misho    11706:   version_type=sunos
1.1.1.2 ! misho    11707:   sys_lib_dlsearch_path_spec=/usr/lib
1.1       misho    11708:   need_lib_prefix=no
1.1.1.2 ! misho    11709:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          11710:     need_version=no
1.1       misho    11711:   else
1.1.1.2 ! misho    11712:     need_version=yes
1.1       misho    11713:   fi
1.1.1.2 ! misho    11714:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          11715:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
        !          11716:   shlibpath_var=LD_LIBRARY_PATH
        !          11717:   shlibpath_overrides_runpath=yes
1.1       misho    11718:   ;;
                   11719: 
                   11720: os2*)
                   11721:   libname_spec='$name'
1.1.1.2 ! misho    11722:   version_type=windows
        !          11723:   shrext_cmds=.dll
        !          11724:   need_version=no
1.1       misho    11725:   need_lib_prefix=no
1.1.1.2 ! misho    11726:   # OS/2 can only load a DLL with a base name of 8 characters or less.
        !          11727:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
        !          11728:     v=$($ECHO $release$versuffix | tr -d .-);
        !          11729:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
        !          11730:     $ECHO $n$v`$shared_ext'
        !          11731:   library_names_spec='${libname}_dll.$libext'
1.1       misho    11732:   dynamic_linker='OS/2 ld.exe'
1.1.1.2 ! misho    11733:   shlibpath_var=BEGINLIBPATH
        !          11734:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
        !          11735:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          11736:   postinstall_cmds='base_file=`basename \$file`~
        !          11737:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
        !          11738:     dldir=$destdir/`dirname \$dlpath`~
        !          11739:     test -d \$dldir || mkdir -p \$dldir~
        !          11740:     $install_prog $dir/$dlname \$dldir/$dlname~
        !          11741:     chmod a+x \$dldir/$dlname~
        !          11742:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          11743:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          11744:     fi'
        !          11745:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
        !          11746:     dlpath=$dir/\$dldll~
        !          11747:     $RM \$dlpath'
1.1       misho    11748:   ;;
                   11749: 
                   11750: osf3* | osf4* | osf5*)
                   11751:   version_type=osf
                   11752:   need_lib_prefix=no
                   11753:   need_version=no
1.1.1.2 ! misho    11754:   soname_spec='$libname$release$shared_ext$major'
        !          11755:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1       misho    11756:   shlibpath_var=LD_LIBRARY_PATH
                   11757:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.1.1.2 ! misho    11758:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.1       misho    11759:   ;;
                   11760: 
                   11761: rdos*)
                   11762:   dynamic_linker=no
                   11763:   ;;
                   11764: 
                   11765: solaris*)
1.1.1.2 ! misho    11766:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11767:   need_lib_prefix=no
                   11768:   need_version=no
1.1.1.2 ! misho    11769:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11770:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11771:   shlibpath_var=LD_LIBRARY_PATH
                   11772:   shlibpath_overrides_runpath=yes
                   11773:   hardcode_into_libs=yes
                   11774:   # ldd complains unless libraries are executable
                   11775:   postinstall_cmds='chmod +x $lib'
                   11776:   ;;
                   11777: 
                   11778: sunos4*)
                   11779:   version_type=sunos
1.1.1.2 ! misho    11780:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.1       misho    11781:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11782:   shlibpath_var=LD_LIBRARY_PATH
                   11783:   shlibpath_overrides_runpath=yes
1.1.1.2 ! misho    11784:   if test yes = "$with_gnu_ld"; then
1.1       misho    11785:     need_lib_prefix=no
                   11786:   fi
                   11787:   need_version=yes
                   11788:   ;;
                   11789: 
                   11790: sysv4 | sysv4.3*)
1.1.1.2 ! misho    11791:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11792:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11793:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11794:   shlibpath_var=LD_LIBRARY_PATH
                   11795:   case $host_vendor in
                   11796:     sni)
                   11797:       shlibpath_overrides_runpath=no
                   11798:       need_lib_prefix=no
                   11799:       runpath_var=LD_RUN_PATH
                   11800:       ;;
                   11801:     siemens)
                   11802:       need_lib_prefix=no
                   11803:       ;;
                   11804:     motorola)
                   11805:       need_lib_prefix=no
                   11806:       need_version=no
                   11807:       shlibpath_overrides_runpath=no
                   11808:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11809:       ;;
                   11810:   esac
                   11811:   ;;
                   11812: 
                   11813: sysv4*MP*)
1.1.1.2 ! misho    11814:   if test -d /usr/nec; then
        !          11815:     version_type=linux # correct to gnu/linux during the next big refactor
        !          11816:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
        !          11817:     soname_spec='$libname$shared_ext.$major'
1.1       misho    11818:     shlibpath_var=LD_LIBRARY_PATH
                   11819:   fi
                   11820:   ;;
                   11821: 
                   11822: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.1.1.2 ! misho    11823:   version_type=sco
1.1       misho    11824:   need_lib_prefix=no
                   11825:   need_version=no
1.1.1.2 ! misho    11826:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
        !          11827:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11828:   shlibpath_var=LD_LIBRARY_PATH
                   11829:   shlibpath_overrides_runpath=yes
                   11830:   hardcode_into_libs=yes
1.1.1.2 ! misho    11831:   if test yes = "$with_gnu_ld"; then
1.1       misho    11832:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11833:   else
                   11834:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11835:     case $host_os in
                   11836:       sco3.2v5*)
                   11837:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11838:        ;;
                   11839:     esac
                   11840:   fi
                   11841:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11842:   ;;
                   11843: 
                   11844: tpf*)
                   11845:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.2 ! misho    11846:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11847:   need_lib_prefix=no
                   11848:   need_version=no
1.1.1.2 ! misho    11849:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1       misho    11850:   shlibpath_var=LD_LIBRARY_PATH
                   11851:   shlibpath_overrides_runpath=no
                   11852:   hardcode_into_libs=yes
                   11853:   ;;
                   11854: 
                   11855: uts4*)
1.1.1.2 ! misho    11856:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11857:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11858:   soname_spec='$libname$release$shared_ext$major'
1.1       misho    11859:   shlibpath_var=LD_LIBRARY_PATH
                   11860:   ;;
                   11861: 
                   11862: *)
                   11863:   dynamic_linker=no
                   11864:   ;;
                   11865: esac
                   11866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11867: $as_echo "$dynamic_linker" >&6; }
1.1.1.2 ! misho    11868: test no = "$dynamic_linker" && can_build_shared=no
1.1       misho    11869: 
                   11870: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.1.1.2 ! misho    11871: if test yes = "$GCC"; then
1.1       misho    11872:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11873: fi
                   11874: 
1.1.1.2 ! misho    11875: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
        !          11876:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.1       misho    11877: fi
1.1.1.2 ! misho    11878: 
        !          11879: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
        !          11880:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.1       misho    11881: fi
                   11882: 
1.1.1.2 ! misho    11883: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
        !          11884: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
        !          11885: 
        !          11886: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
        !          11887: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
        !          11888: 
        !          11889: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
        !          11890: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
        !          11891: 
        !          11892: 
        !          11893: 
        !          11894: 
        !          11895: 
        !          11896: 
        !          11897: 
        !          11898: 
        !          11899: 
        !          11900: 
        !          11901: 
1.1       misho    11902: 
                   11903: 
                   11904: 
                   11905: 
                   11906: 
                   11907: 
                   11908: 
                   11909: 
                   11910: 
                   11911: 
                   11912: 
                   11913: 
                   11914: 
                   11915: 
                   11916: 
                   11917: 
                   11918: 
                   11919: 
                   11920: 
                   11921: 
                   11922: 
                   11923: 
                   11924: 
                   11925: 
                   11926: 
                   11927: 
                   11928: 
                   11929: 
                   11930: 
                   11931: 
                   11932: 
                   11933: 
                   11934: 
                   11935: 
                   11936: 
                   11937: 
                   11938: 
                   11939: 
                   11940: 
                   11941: 
                   11942: 
                   11943: 
                   11944: 
                   11945: 
                   11946: 
                   11947: 
                   11948: 
                   11949: 
                   11950: 
                   11951: 
                   11952: 
                   11953: 
                   11954: 
                   11955: 
                   11956: 
                   11957: 
                   11958: 
                   11959: 
                   11960: 
                   11961: 
                   11962: 
                   11963: 
                   11964: 
                   11965: 
                   11966: 
                   11967: 
                   11968: 
                   11969: 
                   11970: 
                   11971: 
                   11972: 
                   11973: 
                   11974: 
                   11975: 
                   11976: 
                   11977: 
                   11978: 
                   11979: 
                   11980: 
                   11981: 
                   11982: 
                   11983: 
                   11984: 
                   11985: 
                   11986: 
                   11987: 
                   11988:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11989: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   11990: hardcode_action=
                   11991: if test -n "$hardcode_libdir_flag_spec" ||
                   11992:    test -n "$runpath_var" ||
1.1.1.2 ! misho    11993:    test yes = "$hardcode_automatic"; then
1.1       misho    11994: 
                   11995:   # We can hardcode non-existent directories.
1.1.1.2 ! misho    11996:   if test no != "$hardcode_direct" &&
1.1       misho    11997:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11998:      # have to relink, otherwise we might link with an installed library
                   11999:      # when we should be linking with a yet-to-be-installed one
1.1.1.2 ! misho    12000:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
        !          12001:      test no != "$hardcode_minus_L"; then
1.1       misho    12002:     # Linking always hardcodes the temporary library directory.
                   12003:     hardcode_action=relink
                   12004:   else
                   12005:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12006:     hardcode_action=immediate
                   12007:   fi
                   12008: else
                   12009:   # We cannot hardcode anything, or else we can only hardcode existing
                   12010:   # directories.
                   12011:   hardcode_action=unsupported
                   12012: fi
                   12013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12014: $as_echo "$hardcode_action" >&6; }
                   12015: 
1.1.1.2 ! misho    12016: if test relink = "$hardcode_action" ||
        !          12017:    test yes = "$inherit_rpath"; then
1.1       misho    12018:   # Fast installation is not supported
                   12019:   enable_fast_install=no
1.1.1.2 ! misho    12020: elif test yes = "$shlibpath_overrides_runpath" ||
        !          12021:      test no = "$enable_shared"; then
1.1       misho    12022:   # Fast installation is not necessary
                   12023:   enable_fast_install=needless
                   12024: fi
                   12025: 
                   12026: 
                   12027: 
                   12028: 
                   12029: 
                   12030: 
1.1.1.2 ! misho    12031:   if test yes != "$enable_dlopen"; then
1.1       misho    12032:   enable_dlopen=unknown
                   12033:   enable_dlopen_self=unknown
                   12034:   enable_dlopen_self_static=unknown
                   12035: else
                   12036:   lt_cv_dlopen=no
                   12037:   lt_cv_dlopen_libs=
                   12038: 
                   12039:   case $host_os in
                   12040:   beos*)
1.1.1.2 ! misho    12041:     lt_cv_dlopen=load_add_on
1.1       misho    12042:     lt_cv_dlopen_libs=
                   12043:     lt_cv_dlopen_self=yes
                   12044:     ;;
                   12045: 
                   12046:   mingw* | pw32* | cegcc*)
1.1.1.2 ! misho    12047:     lt_cv_dlopen=LoadLibrary
1.1       misho    12048:     lt_cv_dlopen_libs=
                   12049:     ;;
                   12050: 
                   12051:   cygwin*)
1.1.1.2 ! misho    12052:     lt_cv_dlopen=dlopen
1.1       misho    12053:     lt_cv_dlopen_libs=
                   12054:     ;;
                   12055: 
                   12056:   darwin*)
1.1.1.2 ! misho    12057:     # if libdl is installed we need to link against it
1.1       misho    12058:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12059: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.1.2 ! misho    12060: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1       misho    12061:   $as_echo_n "(cached) " >&6
                   12062: else
                   12063:   ac_check_lib_save_LIBS=$LIBS
                   12064: LIBS="-ldl  $LIBS"
                   12065: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12066: /* end confdefs.h.  */
                   12067: 
                   12068: /* Override any GCC internal prototype to avoid an error.
                   12069:    Use char because int might match the return type of a GCC
                   12070:    builtin and then its argument prototype would still apply.  */
                   12071: #ifdef __cplusplus
                   12072: extern "C"
                   12073: #endif
                   12074: char dlopen ();
                   12075: int
                   12076: main ()
                   12077: {
                   12078: return dlopen ();
                   12079:   ;
                   12080:   return 0;
                   12081: }
                   12082: _ACEOF
                   12083: if ac_fn_c_try_link "$LINENO"; then :
                   12084:   ac_cv_lib_dl_dlopen=yes
                   12085: else
                   12086:   ac_cv_lib_dl_dlopen=no
                   12087: fi
                   12088: rm -f core conftest.err conftest.$ac_objext \
                   12089:     conftest$ac_exeext conftest.$ac_ext
                   12090: LIBS=$ac_check_lib_save_LIBS
                   12091: fi
                   12092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12093: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.1.2 ! misho    12094: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
        !          12095:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
1.1       misho    12096: else
                   12097: 
1.1.1.2 ! misho    12098:     lt_cv_dlopen=dyld
1.1       misho    12099:     lt_cv_dlopen_libs=
                   12100:     lt_cv_dlopen_self=yes
                   12101: 
                   12102: fi
                   12103: 
                   12104:     ;;
                   12105: 
1.1.1.2 ! misho    12106:   tpf*)
        !          12107:     # Don't try to run any link tests for TPF.  We know it's impossible
        !          12108:     # because TPF is a cross-compiler, and we know how we open DSOs.
        !          12109:     lt_cv_dlopen=dlopen
        !          12110:     lt_cv_dlopen_libs=
        !          12111:     lt_cv_dlopen_self=no
        !          12112:     ;;
        !          12113: 
1.1       misho    12114:   *)
                   12115:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.1.1.2 ! misho    12116: if test "x$ac_cv_func_shl_load" = xyes; then :
        !          12117:   lt_cv_dlopen=shl_load
1.1       misho    12118: else
                   12119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12120: $as_echo_n "checking for shl_load in -ldld... " >&6; }
1.1.1.2 ! misho    12121: if ${ac_cv_lib_dld_shl_load+:} false; then :
1.1       misho    12122:   $as_echo_n "(cached) " >&6
                   12123: else
                   12124:   ac_check_lib_save_LIBS=$LIBS
                   12125: LIBS="-ldld  $LIBS"
                   12126: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12127: /* end confdefs.h.  */
                   12128: 
                   12129: /* Override any GCC internal prototype to avoid an error.
                   12130:    Use char because int might match the return type of a GCC
                   12131:    builtin and then its argument prototype would still apply.  */
                   12132: #ifdef __cplusplus
                   12133: extern "C"
                   12134: #endif
                   12135: char shl_load ();
                   12136: int
                   12137: main ()
                   12138: {
                   12139: return shl_load ();
                   12140:   ;
                   12141:   return 0;
                   12142: }
                   12143: _ACEOF
                   12144: if ac_fn_c_try_link "$LINENO"; then :
                   12145:   ac_cv_lib_dld_shl_load=yes
                   12146: else
                   12147:   ac_cv_lib_dld_shl_load=no
                   12148: fi
                   12149: rm -f core conftest.err conftest.$ac_objext \
                   12150:     conftest$ac_exeext conftest.$ac_ext
                   12151: LIBS=$ac_check_lib_save_LIBS
                   12152: fi
                   12153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12154: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.1.1.2 ! misho    12155: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
        !          12156:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
1.1       misho    12157: else
                   12158:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.1.1.2 ! misho    12159: if test "x$ac_cv_func_dlopen" = xyes; then :
        !          12160:   lt_cv_dlopen=dlopen
1.1       misho    12161: else
                   12162:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12163: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.1.2 ! misho    12164: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1       misho    12165:   $as_echo_n "(cached) " >&6
                   12166: else
                   12167:   ac_check_lib_save_LIBS=$LIBS
                   12168: LIBS="-ldl  $LIBS"
                   12169: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12170: /* end confdefs.h.  */
                   12171: 
                   12172: /* Override any GCC internal prototype to avoid an error.
                   12173:    Use char because int might match the return type of a GCC
                   12174:    builtin and then its argument prototype would still apply.  */
                   12175: #ifdef __cplusplus
                   12176: extern "C"
                   12177: #endif
                   12178: char dlopen ();
                   12179: int
                   12180: main ()
                   12181: {
                   12182: return dlopen ();
                   12183:   ;
                   12184:   return 0;
                   12185: }
                   12186: _ACEOF
                   12187: if ac_fn_c_try_link "$LINENO"; then :
                   12188:   ac_cv_lib_dl_dlopen=yes
                   12189: else
                   12190:   ac_cv_lib_dl_dlopen=no
                   12191: fi
                   12192: rm -f core conftest.err conftest.$ac_objext \
                   12193:     conftest$ac_exeext conftest.$ac_ext
                   12194: LIBS=$ac_check_lib_save_LIBS
                   12195: fi
                   12196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12197: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.1.2 ! misho    12198: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
        !          12199:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
1.1       misho    12200: else
                   12201:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12202: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.1.1.2 ! misho    12203: if ${ac_cv_lib_svld_dlopen+:} false; then :
1.1       misho    12204:   $as_echo_n "(cached) " >&6
                   12205: else
                   12206:   ac_check_lib_save_LIBS=$LIBS
                   12207: LIBS="-lsvld  $LIBS"
                   12208: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12209: /* end confdefs.h.  */
                   12210: 
                   12211: /* Override any GCC internal prototype to avoid an error.
                   12212:    Use char because int might match the return type of a GCC
                   12213:    builtin and then its argument prototype would still apply.  */
                   12214: #ifdef __cplusplus
                   12215: extern "C"
                   12216: #endif
                   12217: char dlopen ();
                   12218: int
                   12219: main ()
                   12220: {
                   12221: return dlopen ();
                   12222:   ;
                   12223:   return 0;
                   12224: }
                   12225: _ACEOF
                   12226: if ac_fn_c_try_link "$LINENO"; then :
                   12227:   ac_cv_lib_svld_dlopen=yes
                   12228: else
                   12229:   ac_cv_lib_svld_dlopen=no
                   12230: fi
                   12231: rm -f core conftest.err conftest.$ac_objext \
                   12232:     conftest$ac_exeext conftest.$ac_ext
                   12233: LIBS=$ac_check_lib_save_LIBS
                   12234: fi
                   12235: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12236: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.1.1.2 ! misho    12237: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
        !          12238:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
1.1       misho    12239: else
                   12240:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12241: $as_echo_n "checking for dld_link in -ldld... " >&6; }
1.1.1.2 ! misho    12242: if ${ac_cv_lib_dld_dld_link+:} false; then :
1.1       misho    12243:   $as_echo_n "(cached) " >&6
                   12244: else
                   12245:   ac_check_lib_save_LIBS=$LIBS
                   12246: LIBS="-ldld  $LIBS"
                   12247: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12248: /* end confdefs.h.  */
                   12249: 
                   12250: /* Override any GCC internal prototype to avoid an error.
                   12251:    Use char because int might match the return type of a GCC
                   12252:    builtin and then its argument prototype would still apply.  */
                   12253: #ifdef __cplusplus
                   12254: extern "C"
                   12255: #endif
                   12256: char dld_link ();
                   12257: int
                   12258: main ()
                   12259: {
                   12260: return dld_link ();
                   12261:   ;
                   12262:   return 0;
                   12263: }
                   12264: _ACEOF
                   12265: if ac_fn_c_try_link "$LINENO"; then :
                   12266:   ac_cv_lib_dld_dld_link=yes
                   12267: else
                   12268:   ac_cv_lib_dld_dld_link=no
                   12269: fi
                   12270: rm -f core conftest.err conftest.$ac_objext \
                   12271:     conftest$ac_exeext conftest.$ac_ext
                   12272: LIBS=$ac_check_lib_save_LIBS
                   12273: fi
                   12274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12275: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.1.1.2 ! misho    12276: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
        !          12277:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.1       misho    12278: fi
                   12279: 
                   12280: 
                   12281: fi
                   12282: 
                   12283: 
                   12284: fi
                   12285: 
                   12286: 
                   12287: fi
                   12288: 
                   12289: 
                   12290: fi
                   12291: 
                   12292: 
                   12293: fi
                   12294: 
                   12295:     ;;
                   12296:   esac
                   12297: 
1.1.1.2 ! misho    12298:   if test no = "$lt_cv_dlopen"; then
1.1       misho    12299:     enable_dlopen=no
1.1.1.2 ! misho    12300:   else
        !          12301:     enable_dlopen=yes
1.1       misho    12302:   fi
                   12303: 
                   12304:   case $lt_cv_dlopen in
                   12305:   dlopen)
1.1.1.2 ! misho    12306:     save_CPPFLAGS=$CPPFLAGS
        !          12307:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.1       misho    12308: 
1.1.1.2 ! misho    12309:     save_LDFLAGS=$LDFLAGS
1.1       misho    12310:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12311: 
1.1.1.2 ! misho    12312:     save_LIBS=$LIBS
1.1       misho    12313:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12314: 
                   12315:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12316: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.1.1.2 ! misho    12317: if ${lt_cv_dlopen_self+:} false; then :
1.1       misho    12318:   $as_echo_n "(cached) " >&6
                   12319: else
1.1.1.2 ! misho    12320:          if test yes = "$cross_compiling"; then :
1.1       misho    12321:   lt_cv_dlopen_self=cross
                   12322: else
                   12323:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12324:   lt_status=$lt_dlunknown
                   12325:   cat > conftest.$ac_ext <<_LT_EOF
1.1.1.2 ! misho    12326: #line $LINENO "configure"
1.1       misho    12327: #include "confdefs.h"
                   12328: 
                   12329: #if HAVE_DLFCN_H
                   12330: #include <dlfcn.h>
                   12331: #endif
                   12332: 
                   12333: #include <stdio.h>
                   12334: 
                   12335: #ifdef RTLD_GLOBAL
                   12336: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12337: #else
                   12338: #  ifdef DL_GLOBAL
                   12339: #    define LT_DLGLOBAL                DL_GLOBAL
                   12340: #  else
                   12341: #    define LT_DLGLOBAL                0
                   12342: #  endif
                   12343: #endif
                   12344: 
                   12345: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12346:    find out it does not work in some platform. */
                   12347: #ifndef LT_DLLAZY_OR_NOW
                   12348: #  ifdef RTLD_LAZY
                   12349: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12350: #  else
                   12351: #    ifdef DL_LAZY
                   12352: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12353: #    else
                   12354: #      ifdef RTLD_NOW
                   12355: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12356: #      else
                   12357: #        ifdef DL_NOW
                   12358: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12359: #        else
                   12360: #          define LT_DLLAZY_OR_NOW     0
                   12361: #        endif
                   12362: #      endif
                   12363: #    endif
                   12364: #  endif
                   12365: #endif
                   12366: 
1.1.1.2 ! misho    12367: /* When -fvisibility=hidden is used, assume the code has been annotated
        !          12368:    correspondingly for the symbols needed.  */
        !          12369: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          12370: int fnord () __attribute__((visibility("default")));
        !          12371: #endif
        !          12372: 
        !          12373: int fnord () { return 42; }
1.1       misho    12374: int main ()
                   12375: {
                   12376:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12377:   int status = $lt_dlunknown;
                   12378: 
                   12379:   if (self)
                   12380:     {
                   12381:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.1.1.2 ! misho    12382:       else
        !          12383:         {
        !          12384:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          12385:           else puts (dlerror ());
        !          12386:        }
1.1       misho    12387:       /* dlclose (self); */
                   12388:     }
                   12389:   else
                   12390:     puts (dlerror ());
                   12391: 
                   12392:   return status;
                   12393: }
                   12394: _LT_EOF
                   12395:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   12396:   (eval $ac_link) 2>&5
                   12397:   ac_status=$?
                   12398:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.2 ! misho    12399:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.1       misho    12400:     (./conftest; exit; ) >&5 2>/dev/null
                   12401:     lt_status=$?
                   12402:     case x$lt_status in
                   12403:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12404:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12405:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12406:     esac
                   12407:   else :
                   12408:     # compilation failed
                   12409:     lt_cv_dlopen_self=no
                   12410:   fi
                   12411: fi
                   12412: rm -fr conftest*
                   12413: 
                   12414: 
                   12415: fi
                   12416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12417: $as_echo "$lt_cv_dlopen_self" >&6; }
                   12418: 
1.1.1.2 ! misho    12419:     if test yes = "$lt_cv_dlopen_self"; then
1.1       misho    12420:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12421:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12422: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.1.1.2 ! misho    12423: if ${lt_cv_dlopen_self_static+:} false; then :
1.1       misho    12424:   $as_echo_n "(cached) " >&6
                   12425: else
1.1.1.2 ! misho    12426:          if test yes = "$cross_compiling"; then :
1.1       misho    12427:   lt_cv_dlopen_self_static=cross
                   12428: else
                   12429:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12430:   lt_status=$lt_dlunknown
                   12431:   cat > conftest.$ac_ext <<_LT_EOF
1.1.1.2 ! misho    12432: #line $LINENO "configure"
1.1       misho    12433: #include "confdefs.h"
                   12434: 
                   12435: #if HAVE_DLFCN_H
                   12436: #include <dlfcn.h>
                   12437: #endif
                   12438: 
                   12439: #include <stdio.h>
                   12440: 
                   12441: #ifdef RTLD_GLOBAL
                   12442: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12443: #else
                   12444: #  ifdef DL_GLOBAL
                   12445: #    define LT_DLGLOBAL                DL_GLOBAL
                   12446: #  else
                   12447: #    define LT_DLGLOBAL                0
                   12448: #  endif
                   12449: #endif
                   12450: 
                   12451: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12452:    find out it does not work in some platform. */
                   12453: #ifndef LT_DLLAZY_OR_NOW
                   12454: #  ifdef RTLD_LAZY
                   12455: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12456: #  else
                   12457: #    ifdef DL_LAZY
                   12458: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12459: #    else
                   12460: #      ifdef RTLD_NOW
                   12461: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12462: #      else
                   12463: #        ifdef DL_NOW
                   12464: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12465: #        else
                   12466: #          define LT_DLLAZY_OR_NOW     0
                   12467: #        endif
                   12468: #      endif
                   12469: #    endif
                   12470: #  endif
                   12471: #endif
                   12472: 
1.1.1.2 ! misho    12473: /* When -fvisibility=hidden is used, assume the code has been annotated
        !          12474:    correspondingly for the symbols needed.  */
        !          12475: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          12476: int fnord () __attribute__((visibility("default")));
        !          12477: #endif
        !          12478: 
        !          12479: int fnord () { return 42; }
1.1       misho    12480: int main ()
                   12481: {
                   12482:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12483:   int status = $lt_dlunknown;
                   12484: 
                   12485:   if (self)
                   12486:     {
                   12487:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.1.1.2 ! misho    12488:       else
        !          12489:         {
        !          12490:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          12491:           else puts (dlerror ());
        !          12492:        }
1.1       misho    12493:       /* dlclose (self); */
                   12494:     }
                   12495:   else
                   12496:     puts (dlerror ());
                   12497: 
                   12498:   return status;
                   12499: }
                   12500: _LT_EOF
                   12501:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   12502:   (eval $ac_link) 2>&5
                   12503:   ac_status=$?
                   12504:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.2 ! misho    12505:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.1       misho    12506:     (./conftest; exit; ) >&5 2>/dev/null
                   12507:     lt_status=$?
                   12508:     case x$lt_status in
                   12509:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12510:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12511:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12512:     esac
                   12513:   else :
                   12514:     # compilation failed
                   12515:     lt_cv_dlopen_self_static=no
                   12516:   fi
                   12517: fi
                   12518: rm -fr conftest*
                   12519: 
                   12520: 
                   12521: fi
                   12522: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12523: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   12524:     fi
                   12525: 
1.1.1.2 ! misho    12526:     CPPFLAGS=$save_CPPFLAGS
        !          12527:     LDFLAGS=$save_LDFLAGS
        !          12528:     LIBS=$save_LIBS
1.1       misho    12529:     ;;
                   12530:   esac
                   12531: 
                   12532:   case $lt_cv_dlopen_self in
                   12533:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12534:   *) enable_dlopen_self=unknown ;;
                   12535:   esac
                   12536: 
                   12537:   case $lt_cv_dlopen_self_static in
                   12538:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12539:   *) enable_dlopen_self_static=unknown ;;
                   12540:   esac
                   12541: fi
                   12542: 
                   12543: 
                   12544: 
                   12545: 
                   12546: 
                   12547: 
                   12548: 
                   12549: 
                   12550: 
                   12551: 
                   12552: 
                   12553: 
                   12554: 
                   12555: 
                   12556: 
                   12557: 
                   12558: 
                   12559: striplib=
                   12560: old_striplib=
                   12561: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12562: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   12563: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12564:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12565:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12567: $as_echo "yes" >&6; }
                   12568: else
                   12569: # FIXME - insert some real tests, host_os isn't really good enough
                   12570:   case $host_os in
                   12571:   darwin*)
1.1.1.2 ! misho    12572:     if test -n "$STRIP"; then
1.1       misho    12573:       striplib="$STRIP -x"
                   12574:       old_striplib="$STRIP -S"
                   12575:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12576: $as_echo "yes" >&6; }
                   12577:     else
                   12578:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12579: $as_echo "no" >&6; }
                   12580:     fi
                   12581:     ;;
                   12582:   *)
                   12583:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12584: $as_echo "no" >&6; }
                   12585:     ;;
                   12586:   esac
                   12587: fi
                   12588: 
                   12589: 
                   12590: 
                   12591: 
                   12592: 
                   12593: 
                   12594: 
                   12595: 
                   12596: 
                   12597: 
                   12598: 
                   12599: 
1.1.1.2 ! misho    12600:   # Report what library types will actually be built
1.1       misho    12601:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12602: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12603:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12604: $as_echo "$can_build_shared" >&6; }
                   12605: 
                   12606:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12607: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.1.1.2 ! misho    12608:   test no = "$can_build_shared" && enable_shared=no
1.1       misho    12609: 
                   12610:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12611:   # are all built from PIC.
                   12612:   case $host_os in
                   12613:   aix3*)
1.1.1.2 ! misho    12614:     test yes = "$enable_shared" && enable_static=no
1.1       misho    12615:     if test -n "$RANLIB"; then
                   12616:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12617:       postinstall_cmds='$RANLIB $lib'
                   12618:     fi
                   12619:     ;;
                   12620: 
                   12621:   aix[4-9]*)
1.1.1.2 ! misho    12622:     if test ia64 != "$host_cpu"; then
        !          12623:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
        !          12624:       yes,aix,yes) ;;                  # shared object as lib.so file only
        !          12625:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
        !          12626:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
        !          12627:       esac
1.1       misho    12628:     fi
                   12629:     ;;
                   12630:   esac
                   12631:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12632: $as_echo "$enable_shared" >&6; }
                   12633: 
                   12634:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12635: $as_echo_n "checking whether to build static libraries... " >&6; }
                   12636:   # Make sure either enable_shared or enable_static is yes.
1.1.1.2 ! misho    12637:   test yes = "$enable_shared" || enable_static=yes
1.1       misho    12638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12639: $as_echo "$enable_static" >&6; }
                   12640: 
                   12641: 
                   12642: 
                   12643: 
                   12644: fi
                   12645: ac_ext=c
                   12646: ac_cpp='$CPP $CPPFLAGS'
                   12647: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12648: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12649: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12650: 
1.1.1.2 ! misho    12651: CC=$lt_save_CC
        !          12652: 
        !          12653: 
1.1       misho    12654: 
                   12655: 
                   12656: 
                   12657: 
                   12658: 
                   12659: 
                   12660: 
                   12661: 
                   12662: 
                   12663: 
                   12664: 
                   12665: 
                   12666: 
                   12667:         ac_config_commands="$ac_config_commands libtool"
                   12668: 
                   12669: 
                   12670: 
                   12671: 
                   12672: # Only expand once:
                   12673: 
                   12674: 
                   12675: 
                   12676: # optional building of examples:
                   12677: # Check whether --enable-examples was given.
                   12678: if test "${enable_examples+set}" = set; then :
                   12679:   enableval=$enable_examples;
                   12680: else
                   12681:   enable_examples=yes
                   12682: fi
                   12683: 
                   12684:  if test "$enable_examples" = yes; then
                   12685:   ENABLE_EXAMPLES_TRUE=
                   12686:   ENABLE_EXAMPLES_FALSE='#'
                   12687: else
                   12688:   ENABLE_EXAMPLES_TRUE='#'
                   12689:   ENABLE_EXAMPLES_FALSE=
                   12690: fi
                   12691: 
                   12692: 
1.1.1.2 ! misho    12693: # 0.18.2.1 updates AM_GNU_GETTEXT() to use AC_PROG_MKDIR_P instead of
        !          12694: # AM_PROG_MKDIR_P, but 0.18.1.1 is included in Ubuntu 12.04 LTS.
        !          12695: # Fortunately Ubuntu 14.04 LTS ships 0.18.3.1 and Debian Jessie 0.19.3
        !          12696: # Unfortunately CentOS7, RHEL7 ships 0.18.2.1, so for best compat.
        !          12697: # level at this point in time we set 0.18.2.
1.1       misho    12698: 
                   12699:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
                   12700: $as_echo_n "checking whether NLS is requested... " >&6; }
                   12701:     # Check whether --enable-nls was given.
                   12702: if test "${enable_nls+set}" = set; then :
                   12703:   enableval=$enable_nls; USE_NLS=$enableval
                   12704: else
                   12705:   USE_NLS=yes
                   12706: fi
                   12707: 
                   12708:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
                   12709: $as_echo "$USE_NLS" >&6; }
                   12710: 
                   12711: 
                   12712: 
                   12713: 
1.1.1.2 ! misho    12714:       GETTEXT_MACRO_VERSION=0.18
        !          12715: 
        !          12716: 
1.1       misho    12717: 
                   12718: 
                   12719: # Prepare PATH_SEPARATOR.
                   12720: # The user is always right.
                   12721: if test "${PATH_SEPARATOR+set}" != set; then
1.1.1.2 ! misho    12722:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
        !          12723:   # contains only /bin. Note that ksh looks also at the FPATH variable,
        !          12724:   # so we have to set that as well for the test.
        !          12725:   PATH_SEPARATOR=:
        !          12726:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          12727:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          12728:            || PATH_SEPARATOR=';'
        !          12729:        }
1.1       misho    12730: fi
                   12731: 
                   12732: # Find out how to test for executable files. Don't use a zero-byte file,
                   12733: # as systems may use methods other than mode bits to determine executability.
                   12734: cat >conf$$.file <<_ASEOF
                   12735: #! /bin/sh
                   12736: exit 0
                   12737: _ASEOF
                   12738: chmod +x conf$$.file
                   12739: if test -x conf$$.file >/dev/null 2>&1; then
                   12740:   ac_executable_p="test -x"
                   12741: else
                   12742:   ac_executable_p="test -f"
                   12743: fi
                   12744: rm -f conf$$.file
                   12745: 
                   12746: # Extract the first word of "msgfmt", so it can be a program name with args.
                   12747: set dummy msgfmt; ac_word=$2
                   12748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   12749: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    12750: if ${ac_cv_path_MSGFMT+:} false; then :
1.1       misho    12751:   $as_echo_n "(cached) " >&6
                   12752: else
                   12753:   case "$MSGFMT" in
                   12754:   [\\/]* | ?:[\\/]*)
                   12755:     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
                   12756:     ;;
                   12757:   *)
                   12758:     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
                   12759:     for ac_dir in $PATH; do
                   12760:       IFS="$ac_save_IFS"
                   12761:       test -z "$ac_dir" && ac_dir=.
                   12762:       for ac_exec_ext in '' $ac_executable_extensions; do
                   12763:         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
                   12764:           echo "$as_me: trying $ac_dir/$ac_word..." >&5
                   12765:           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
                   12766:      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
                   12767:             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
                   12768:             break 2
                   12769:           fi
                   12770:         fi
                   12771:       done
                   12772:     done
                   12773:     IFS="$ac_save_IFS"
                   12774:   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
                   12775:     ;;
                   12776: esac
                   12777: fi
                   12778: MSGFMT="$ac_cv_path_MSGFMT"
                   12779: if test "$MSGFMT" != ":"; then
                   12780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
                   12781: $as_echo "$MSGFMT" >&6; }
                   12782: else
                   12783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12784: $as_echo "no" >&6; }
                   12785: fi
                   12786: 
                   12787:   # Extract the first word of "gmsgfmt", so it can be a program name with args.
                   12788: set dummy gmsgfmt; ac_word=$2
                   12789: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   12790: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    12791: if ${ac_cv_path_GMSGFMT+:} false; then :
1.1       misho    12792:   $as_echo_n "(cached) " >&6
                   12793: else
                   12794:   case $GMSGFMT in
                   12795:   [\\/]* | ?:[\\/]*)
                   12796:   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
                   12797:   ;;
                   12798:   *)
                   12799:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   12800: for as_dir in $PATH
                   12801: do
                   12802:   IFS=$as_save_IFS
                   12803:   test -z "$as_dir" && as_dir=.
                   12804:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    12805:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    12806:     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
                   12807:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   12808:     break 2
                   12809:   fi
                   12810: done
                   12811:   done
                   12812: IFS=$as_save_IFS
                   12813: 
                   12814:   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
                   12815:   ;;
                   12816: esac
                   12817: fi
                   12818: GMSGFMT=$ac_cv_path_GMSGFMT
                   12819: if test -n "$GMSGFMT"; then
                   12820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
                   12821: $as_echo "$GMSGFMT" >&6; }
                   12822: else
                   12823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12824: $as_echo "no" >&6; }
                   12825: fi
                   12826: 
                   12827: 
                   12828: 
                   12829:     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
                   12830:     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
                   12831:     *) MSGFMT_015=$MSGFMT ;;
                   12832:   esac
                   12833: 
                   12834:   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
                   12835:     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
                   12836:     *) GMSGFMT_015=$GMSGFMT ;;
                   12837:   esac
                   12838: 
                   12839: 
                   12840: 
                   12841: # Prepare PATH_SEPARATOR.
                   12842: # The user is always right.
                   12843: if test "${PATH_SEPARATOR+set}" != set; then
1.1.1.2 ! misho    12844:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
        !          12845:   # contains only /bin. Note that ksh looks also at the FPATH variable,
        !          12846:   # so we have to set that as well for the test.
        !          12847:   PATH_SEPARATOR=:
        !          12848:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          12849:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          12850:            || PATH_SEPARATOR=';'
        !          12851:        }
1.1       misho    12852: fi
                   12853: 
                   12854: # Find out how to test for executable files. Don't use a zero-byte file,
                   12855: # as systems may use methods other than mode bits to determine executability.
                   12856: cat >conf$$.file <<_ASEOF
                   12857: #! /bin/sh
                   12858: exit 0
                   12859: _ASEOF
                   12860: chmod +x conf$$.file
                   12861: if test -x conf$$.file >/dev/null 2>&1; then
                   12862:   ac_executable_p="test -x"
                   12863: else
                   12864:   ac_executable_p="test -f"
                   12865: fi
                   12866: rm -f conf$$.file
                   12867: 
                   12868: # Extract the first word of "xgettext", so it can be a program name with args.
                   12869: set dummy xgettext; ac_word=$2
                   12870: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   12871: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    12872: if ${ac_cv_path_XGETTEXT+:} false; then :
1.1       misho    12873:   $as_echo_n "(cached) " >&6
                   12874: else
                   12875:   case "$XGETTEXT" in
                   12876:   [\\/]* | ?:[\\/]*)
                   12877:     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
                   12878:     ;;
                   12879:   *)
                   12880:     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
                   12881:     for ac_dir in $PATH; do
                   12882:       IFS="$ac_save_IFS"
                   12883:       test -z "$ac_dir" && ac_dir=.
                   12884:       for ac_exec_ext in '' $ac_executable_extensions; do
                   12885:         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
                   12886:           echo "$as_me: trying $ac_dir/$ac_word..." >&5
                   12887:           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
                   12888:      (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
                   12889:             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
                   12890:             break 2
                   12891:           fi
                   12892:         fi
                   12893:       done
                   12894:     done
                   12895:     IFS="$ac_save_IFS"
                   12896:   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
                   12897:     ;;
                   12898: esac
                   12899: fi
                   12900: XGETTEXT="$ac_cv_path_XGETTEXT"
                   12901: if test "$XGETTEXT" != ":"; then
                   12902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
                   12903: $as_echo "$XGETTEXT" >&6; }
                   12904: else
                   12905:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12906: $as_echo "no" >&6; }
                   12907: fi
                   12908: 
                   12909:     rm -f messages.po
                   12910: 
                   12911:     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
                   12912:     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
                   12913:     *) XGETTEXT_015=$XGETTEXT ;;
                   12914:   esac
                   12915: 
                   12916: 
                   12917: 
                   12918: # Prepare PATH_SEPARATOR.
                   12919: # The user is always right.
                   12920: if test "${PATH_SEPARATOR+set}" != set; then
1.1.1.2 ! misho    12921:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
        !          12922:   # contains only /bin. Note that ksh looks also at the FPATH variable,
        !          12923:   # so we have to set that as well for the test.
        !          12924:   PATH_SEPARATOR=:
        !          12925:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          12926:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          12927:            || PATH_SEPARATOR=';'
        !          12928:        }
1.1       misho    12929: fi
                   12930: 
                   12931: # Find out how to test for executable files. Don't use a zero-byte file,
                   12932: # as systems may use methods other than mode bits to determine executability.
                   12933: cat >conf$$.file <<_ASEOF
                   12934: #! /bin/sh
                   12935: exit 0
                   12936: _ASEOF
                   12937: chmod +x conf$$.file
                   12938: if test -x conf$$.file >/dev/null 2>&1; then
                   12939:   ac_executable_p="test -x"
                   12940: else
                   12941:   ac_executable_p="test -f"
                   12942: fi
                   12943: rm -f conf$$.file
                   12944: 
                   12945: # Extract the first word of "msgmerge", so it can be a program name with args.
                   12946: set dummy msgmerge; ac_word=$2
                   12947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   12948: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    12949: if ${ac_cv_path_MSGMERGE+:} false; then :
1.1       misho    12950:   $as_echo_n "(cached) " >&6
                   12951: else
                   12952:   case "$MSGMERGE" in
                   12953:   [\\/]* | ?:[\\/]*)
                   12954:     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
                   12955:     ;;
                   12956:   *)
                   12957:     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
                   12958:     for ac_dir in $PATH; do
                   12959:       IFS="$ac_save_IFS"
                   12960:       test -z "$ac_dir" && ac_dir=.
                   12961:       for ac_exec_ext in '' $ac_executable_extensions; do
                   12962:         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
                   12963:           echo "$as_me: trying $ac_dir/$ac_word..." >&5
                   12964:           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
                   12965:             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
                   12966:             break 2
                   12967:           fi
                   12968:         fi
                   12969:       done
                   12970:     done
                   12971:     IFS="$ac_save_IFS"
                   12972:   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
                   12973:     ;;
                   12974: esac
                   12975: fi
                   12976: MSGMERGE="$ac_cv_path_MSGMERGE"
                   12977: if test "$MSGMERGE" != ":"; then
                   12978:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
                   12979: $as_echo "$MSGMERGE" >&6; }
                   12980: else
                   12981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12982: $as_echo "no" >&6; }
                   12983: fi
                   12984: 
                   12985: 
                   12986:         test -n "$localedir" || localedir='${datadir}/locale'
                   12987: 
                   12988: 
1.1.1.2 ! misho    12989:     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
        !          12990: 
        !          12991: 
1.1       misho    12992:   ac_config_commands="$ac_config_commands po-directories"
                   12993: 
                   12994: 
                   12995: 
                   12996:       if test "X$prefix" = "XNONE"; then
                   12997:     acl_final_prefix="$ac_default_prefix"
                   12998:   else
                   12999:     acl_final_prefix="$prefix"
                   13000:   fi
                   13001:   if test "X$exec_prefix" = "XNONE"; then
                   13002:     acl_final_exec_prefix='${prefix}'
                   13003:   else
                   13004:     acl_final_exec_prefix="$exec_prefix"
                   13005:   fi
                   13006:   acl_save_prefix="$prefix"
                   13007:   prefix="$acl_final_prefix"
                   13008:   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
                   13009:   prefix="$acl_save_prefix"
                   13010: 
                   13011: 
1.1.1.2 ! misho    13012: 
1.1       misho    13013: # Check whether --with-gnu-ld was given.
                   13014: if test "${with_gnu_ld+set}" = set; then :
                   13015:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   13016: else
                   13017:   with_gnu_ld=no
                   13018: fi
                   13019: 
                   13020: # Prepare PATH_SEPARATOR.
                   13021: # The user is always right.
                   13022: if test "${PATH_SEPARATOR+set}" != set; then
1.1.1.2 ! misho    13023:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
        !          13024:   # contains only /bin. Note that ksh looks also at the FPATH variable,
        !          13025:   # so we have to set that as well for the test.
        !          13026:   PATH_SEPARATOR=:
        !          13027:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          13028:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
        !          13029:            || PATH_SEPARATOR=';'
        !          13030:        }
1.1       misho    13031: fi
1.1.1.2 ! misho    13032: 
1.1       misho    13033: ac_prog=ld
                   13034: if test "$GCC" = yes; then
                   13035:   # Check if gcc -print-prog-name=ld gives a path.
1.1.1.2 ! misho    13036:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          13037: $as_echo_n "checking for ld used by $CC... " >&6; }
1.1       misho    13038:   case $host in
                   13039:   *-*-mingw*)
                   13040:     # gcc leaves a trailing carriage return which upsets mingw
                   13041:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13042:   *)
                   13043:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13044:   esac
                   13045:   case $ac_prog in
                   13046:     # Accept absolute paths.
1.1.1.2 ! misho    13047:     [\\/]* | ?:[\\/]*)
1.1       misho    13048:       re_direlt='/[^/][^/]*/\.\./'
1.1.1.2 ! misho    13049:       # Canonicalize the pathname of ld
        !          13050:       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
        !          13051:       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
        !          13052:         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1.1       misho    13053:       done
                   13054:       test -z "$LD" && LD="$ac_prog"
                   13055:       ;;
                   13056:   "")
                   13057:     # If it fails, then pretend we aren't using GCC.
                   13058:     ac_prog=ld
                   13059:     ;;
                   13060:   *)
                   13061:     # If it is relative, then search for the first ld in PATH.
                   13062:     with_gnu_ld=unknown
                   13063:     ;;
                   13064:   esac
                   13065: elif test "$with_gnu_ld" = yes; then
                   13066:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13067: $as_echo_n "checking for GNU ld... " >&6; }
                   13068: else
                   13069:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13070: $as_echo_n "checking for non-GNU ld... " >&6; }
                   13071: fi
1.1.1.2 ! misho    13072: if ${acl_cv_path_LD+:} false; then :
1.1       misho    13073:   $as_echo_n "(cached) " >&6
                   13074: else
                   13075:   if test -z "$LD"; then
1.1.1.2 ! misho    13076:   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       misho    13077:   for ac_dir in $PATH; do
1.1.1.2 ! misho    13078:     IFS="$acl_save_ifs"
1.1       misho    13079:     test -z "$ac_dir" && ac_dir=.
                   13080:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13081:       acl_cv_path_LD="$ac_dir/$ac_prog"
                   13082:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.1.1.2 ! misho    13083:       # but apparently some variants of GNU ld only accept -v.
1.1       misho    13084:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.1.1.2 ! misho    13085:       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
1.1       misho    13086:       *GNU* | *'with BFD'*)
1.1.1.2 ! misho    13087:         test "$with_gnu_ld" != no && break
        !          13088:         ;;
1.1       misho    13089:       *)
1.1.1.2 ! misho    13090:         test "$with_gnu_ld" != yes && break
        !          13091:         ;;
1.1       misho    13092:       esac
                   13093:     fi
                   13094:   done
1.1.1.2 ! misho    13095:   IFS="$acl_save_ifs"
1.1       misho    13096: else
                   13097:   acl_cv_path_LD="$LD" # Let the user override the test with a path.
                   13098: fi
                   13099: fi
                   13100: 
                   13101: LD="$acl_cv_path_LD"
                   13102: if test -n "$LD"; then
                   13103:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13104: $as_echo "$LD" >&6; }
                   13105: else
                   13106:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13107: $as_echo "no" >&6; }
                   13108: fi
1.1.1.2 ! misho    13109: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.1       misho    13110: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13111: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.1.1.2 ! misho    13112: if ${acl_cv_prog_gnu_ld+:} false; then :
1.1       misho    13113:   $as_echo_n "(cached) " >&6
                   13114: else
1.1.1.2 ! misho    13115:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.1       misho    13116: case `$LD -v 2>&1 </dev/null` in
                   13117: *GNU* | *'with BFD'*)
1.1.1.2 ! misho    13118:   acl_cv_prog_gnu_ld=yes
        !          13119:   ;;
1.1       misho    13120: *)
1.1.1.2 ! misho    13121:   acl_cv_prog_gnu_ld=no
        !          13122:   ;;
1.1       misho    13123: esac
                   13124: fi
                   13125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
                   13126: $as_echo "$acl_cv_prog_gnu_ld" >&6; }
                   13127: with_gnu_ld=$acl_cv_prog_gnu_ld
                   13128: 
                   13129: 
                   13130: 
                   13131: 
                   13132:                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
                   13133: $as_echo_n "checking for shared library run path origin... " >&6; }
1.1.1.2 ! misho    13134: if ${acl_cv_rpath+:} false; then :
1.1       misho    13135:   $as_echo_n "(cached) " >&6
                   13136: else
                   13137: 
                   13138:     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
                   13139:     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
                   13140:     . ./conftest.sh
                   13141:     rm -f ./conftest.sh
                   13142:     acl_cv_rpath=done
                   13143: 
                   13144: fi
                   13145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
                   13146: $as_echo "$acl_cv_rpath" >&6; }
                   13147:   wl="$acl_cv_wl"
1.1.1.2 ! misho    13148:   acl_libext="$acl_cv_libext"
        !          13149:   acl_shlibext="$acl_cv_shlibext"
        !          13150:   acl_libname_spec="$acl_cv_libname_spec"
        !          13151:   acl_library_names_spec="$acl_cv_library_names_spec"
        !          13152:   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
        !          13153:   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
        !          13154:   acl_hardcode_direct="$acl_cv_hardcode_direct"
        !          13155:   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
1.1       misho    13156:     # Check whether --enable-rpath was given.
                   13157: if test "${enable_rpath+set}" = set; then :
                   13158:   enableval=$enable_rpath; :
                   13159: else
                   13160:   enable_rpath=yes
                   13161: fi
                   13162: 
                   13163: 
                   13164: 
1.1.1.2 ! misho    13165: 
        !          13166:   acl_libdirstem=lib
        !          13167:   acl_libdirstem2=
        !          13168:   case "$host_os" in
        !          13169:     solaris*)
        !          13170:                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
        !          13171: $as_echo_n "checking for 64-bit host... " >&6; }
        !          13172: if ${gl_cv_solaris_64bit+:} false; then :
        !          13173:   $as_echo_n "(cached) " >&6
        !          13174: else
        !          13175:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          13176: /* end confdefs.h.  */
        !          13177: 
        !          13178: #ifdef _LP64
        !          13179: sixtyfour bits
        !          13180: #endif
        !          13181: 
        !          13182: _ACEOF
        !          13183: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          13184:   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
        !          13185:   gl_cv_solaris_64bit=yes
        !          13186: else
        !          13187:   gl_cv_solaris_64bit=no
        !          13188: fi
        !          13189: rm -f conftest*
        !          13190: 
        !          13191: 
        !          13192: fi
        !          13193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
        !          13194: $as_echo "$gl_cv_solaris_64bit" >&6; }
        !          13195:       if test $gl_cv_solaris_64bit = yes; then
        !          13196:         acl_libdirstem=lib/64
        !          13197:         case "$host_cpu" in
        !          13198:           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
        !          13199:           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
1.1       misho    13200:         esac
                   13201:       fi
1.1.1.2 ! misho    13202:       ;;
        !          13203:     *)
        !          13204:       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
        !          13205:       if test -n "$searchpath"; then
        !          13206:         acl_save_IFS="${IFS=   }"; IFS=":"
        !          13207:         for searchdir in $searchpath; do
        !          13208:           if test -d "$searchdir"; then
        !          13209:             case "$searchdir" in
        !          13210:               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
        !          13211:               */../ | */.. )
        !          13212:                 # Better ignore directories of this form. They are misleading.
        !          13213:                 ;;
        !          13214:               *) searchdir=`cd "$searchdir" && pwd`
        !          13215:                  case "$searchdir" in
        !          13216:                    */lib64 ) acl_libdirstem=lib64 ;;
        !          13217:                  esac ;;
        !          13218:             esac
        !          13219:           fi
        !          13220:         done
        !          13221:         IFS="$acl_save_IFS"
        !          13222:       fi
        !          13223:       ;;
        !          13224:   esac
        !          13225:   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
        !          13226: 
        !          13227: 
        !          13228: 
        !          13229: 
1.1       misho    13230: 
                   13231: 
                   13232: 
                   13233: 
                   13234: 
                   13235: 
                   13236: 
                   13237: 
                   13238:     use_additional=yes
                   13239: 
                   13240:   acl_save_prefix="$prefix"
                   13241:   prefix="$acl_final_prefix"
                   13242:   acl_save_exec_prefix="$exec_prefix"
                   13243:   exec_prefix="$acl_final_exec_prefix"
                   13244: 
                   13245:     eval additional_includedir=\"$includedir\"
                   13246:     eval additional_libdir=\"$libdir\"
                   13247: 
                   13248:   exec_prefix="$acl_save_exec_prefix"
                   13249:   prefix="$acl_save_prefix"
                   13250: 
                   13251: 
                   13252: # Check whether --with-libiconv-prefix was given.
                   13253: if test "${with_libiconv_prefix+set}" = set; then :
                   13254:   withval=$with_libiconv_prefix;
                   13255:     if test "X$withval" = "Xno"; then
                   13256:       use_additional=no
                   13257:     else
                   13258:       if test "X$withval" = "X"; then
                   13259: 
                   13260:   acl_save_prefix="$prefix"
                   13261:   prefix="$acl_final_prefix"
                   13262:   acl_save_exec_prefix="$exec_prefix"
                   13263:   exec_prefix="$acl_final_exec_prefix"
                   13264: 
                   13265:           eval additional_includedir=\"$includedir\"
                   13266:           eval additional_libdir=\"$libdir\"
                   13267: 
                   13268:   exec_prefix="$acl_save_exec_prefix"
                   13269:   prefix="$acl_save_prefix"
                   13270: 
                   13271:       else
                   13272:         additional_includedir="$withval/include"
                   13273:         additional_libdir="$withval/$acl_libdirstem"
1.1.1.2 ! misho    13274:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
        !          13275:            && ! test -d "$withval/$acl_libdirstem"; then
        !          13276:           additional_libdir="$withval/$acl_libdirstem2"
        !          13277:         fi
1.1       misho    13278:       fi
                   13279:     fi
                   13280: 
                   13281: fi
                   13282: 
                   13283:       LIBICONV=
                   13284:   LTLIBICONV=
                   13285:   INCICONV=
1.1.1.2 ! misho    13286:   LIBICONV_PREFIX=
        !          13287:       HAVE_LIBICONV=
1.1       misho    13288:   rpathdirs=
                   13289:   ltrpathdirs=
                   13290:   names_already_handled=
                   13291:   names_next_round='iconv '
                   13292:   while test -n "$names_next_round"; do
                   13293:     names_this_round="$names_next_round"
                   13294:     names_next_round=
                   13295:     for name in $names_this_round; do
                   13296:       already_handled=
                   13297:       for n in $names_already_handled; do
                   13298:         if test "$n" = "$name"; then
                   13299:           already_handled=yes
                   13300:           break
                   13301:         fi
                   13302:       done
                   13303:       if test -z "$already_handled"; then
                   13304:         names_already_handled="$names_already_handled $name"
1.1.1.2 ! misho    13305:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
1.1       misho    13306:         eval value=\"\$HAVE_LIB$uppername\"
                   13307:         if test -n "$value"; then
                   13308:           if test "$value" = yes; then
                   13309:             eval value=\"\$LIB$uppername\"
                   13310:             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
                   13311:             eval value=\"\$LTLIB$uppername\"
                   13312:             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
                   13313:           else
                   13314:                                     :
                   13315:           fi
                   13316:         else
                   13317:                               found_dir=
                   13318:           found_la=
                   13319:           found_so=
                   13320:           found_a=
1.1.1.2 ! misho    13321:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
        !          13322:           if test -n "$acl_shlibext"; then
        !          13323:             shrext=".$acl_shlibext"             # typically: shrext=.so
        !          13324:           else
        !          13325:             shrext=
        !          13326:           fi
1.1       misho    13327:           if test $use_additional = yes; then
1.1.1.2 ! misho    13328:             dir="$additional_libdir"
        !          13329:                                     if test -n "$acl_shlibext"; then
        !          13330:               if test -f "$dir/$libname$shrext"; then
        !          13331:                 found_dir="$dir"
        !          13332:                 found_so="$dir/$libname$shrext"
1.1       misho    13333:               else
1.1.1.2 ! misho    13334:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
        !          13335:                   ver=`(cd "$dir" && \
        !          13336:                         for f in "$libname$shrext".*; do echo "$f"; done \
        !          13337:                         | sed -e "s,^$libname$shrext\\\\.,," \
        !          13338:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
        !          13339:                         | sed 1q ) 2>/dev/null`
        !          13340:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
        !          13341:                     found_dir="$dir"
        !          13342:                     found_so="$dir/$libname$shrext.$ver"
        !          13343:                   fi
        !          13344:                 else
        !          13345:                   eval library_names=\"$acl_library_names_spec\"
        !          13346:                   for f in $library_names; do
        !          13347:                     if test -f "$dir/$f"; then
        !          13348:                       found_dir="$dir"
        !          13349:                       found_so="$dir/$f"
        !          13350:                       break
        !          13351:                     fi
        !          13352:                   done
        !          13353:                 fi
1.1       misho    13354:               fi
1.1.1.2 ! misho    13355:             fi
        !          13356:                         if test "X$found_dir" = "X"; then
        !          13357:               if test -f "$dir/$libname.$acl_libext"; then
        !          13358:                 found_dir="$dir"
        !          13359:                 found_a="$dir/$libname.$acl_libext"
1.1       misho    13360:               fi
1.1.1.2 ! misho    13361:             fi
        !          13362:             if test "X$found_dir" != "X"; then
        !          13363:               if test -f "$dir/$libname.la"; then
        !          13364:                 found_la="$dir/$libname.la"
1.1       misho    13365:               fi
                   13366:             fi
                   13367:           fi
                   13368:           if test "X$found_dir" = "X"; then
                   13369:             for x in $LDFLAGS $LTLIBICONV; do
                   13370: 
                   13371:   acl_save_prefix="$prefix"
                   13372:   prefix="$acl_final_prefix"
                   13373:   acl_save_exec_prefix="$exec_prefix"
                   13374:   exec_prefix="$acl_final_exec_prefix"
                   13375:   eval x=\"$x\"
                   13376:   exec_prefix="$acl_save_exec_prefix"
                   13377:   prefix="$acl_save_prefix"
                   13378: 
                   13379:               case "$x" in
                   13380:                 -L*)
                   13381:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
1.1.1.2 ! misho    13382:                                     if test -n "$acl_shlibext"; then
        !          13383:                     if test -f "$dir/$libname$shrext"; then
        !          13384:                       found_dir="$dir"
        !          13385:                       found_so="$dir/$libname$shrext"
1.1       misho    13386:                     else
1.1.1.2 ! misho    13387:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
        !          13388:                         ver=`(cd "$dir" && \
        !          13389:                               for f in "$libname$shrext".*; do echo "$f"; done \
        !          13390:                               | sed -e "s,^$libname$shrext\\\\.,," \
        !          13391:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
        !          13392:                               | sed 1q ) 2>/dev/null`
        !          13393:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
        !          13394:                           found_dir="$dir"
        !          13395:                           found_so="$dir/$libname$shrext.$ver"
        !          13396:                         fi
        !          13397:                       else
        !          13398:                         eval library_names=\"$acl_library_names_spec\"
        !          13399:                         for f in $library_names; do
        !          13400:                           if test -f "$dir/$f"; then
        !          13401:                             found_dir="$dir"
        !          13402:                             found_so="$dir/$f"
        !          13403:                             break
        !          13404:                           fi
        !          13405:                         done
        !          13406:                       fi
1.1       misho    13407:                     fi
1.1.1.2 ! misho    13408:                   fi
        !          13409:                                     if test "X$found_dir" = "X"; then
        !          13410:                     if test -f "$dir/$libname.$acl_libext"; then
1.1       misho    13411:                       found_dir="$dir"
1.1.1.2 ! misho    13412:                       found_a="$dir/$libname.$acl_libext"
        !          13413:                     fi
        !          13414:                   fi
        !          13415:                   if test "X$found_dir" != "X"; then
        !          13416:                     if test -f "$dir/$libname.la"; then
        !          13417:                       found_la="$dir/$libname.la"
1.1       misho    13418:                     fi
                   13419:                   fi
                   13420:                   ;;
                   13421:               esac
                   13422:               if test "X$found_dir" != "X"; then
                   13423:                 break
                   13424:               fi
                   13425:             done
                   13426:           fi
                   13427:           if test "X$found_dir" != "X"; then
                   13428:                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
                   13429:             if test "X$found_so" != "X"; then
1.1.1.2 ! misho    13430:                                                         if test "$enable_rpath" = no \
        !          13431:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
        !          13432:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
1.1       misho    13433:                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                   13434:               else
                   13435:                                                                                 haveit=
                   13436:                 for x in $ltrpathdirs; do
                   13437:                   if test "X$x" = "X$found_dir"; then
                   13438:                     haveit=yes
                   13439:                     break
                   13440:                   fi
                   13441:                 done
                   13442:                 if test -z "$haveit"; then
                   13443:                   ltrpathdirs="$ltrpathdirs $found_dir"
                   13444:                 fi
1.1.1.2 ! misho    13445:                                 if test "$acl_hardcode_direct" = yes; then
1.1       misho    13446:                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                   13447:                 else
1.1.1.2 ! misho    13448:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1.1       misho    13449:                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                   13450:                                                             haveit=
                   13451:                     for x in $rpathdirs; do
                   13452:                       if test "X$x" = "X$found_dir"; then
                   13453:                         haveit=yes
                   13454:                         break
                   13455:                       fi
                   13456:                     done
                   13457:                     if test -z "$haveit"; then
                   13458:                       rpathdirs="$rpathdirs $found_dir"
                   13459:                     fi
                   13460:                   else
                   13461:                                                                                 haveit=
                   13462:                     for x in $LDFLAGS $LIBICONV; do
                   13463: 
                   13464:   acl_save_prefix="$prefix"
                   13465:   prefix="$acl_final_prefix"
                   13466:   acl_save_exec_prefix="$exec_prefix"
                   13467:   exec_prefix="$acl_final_exec_prefix"
                   13468:   eval x=\"$x\"
                   13469:   exec_prefix="$acl_save_exec_prefix"
                   13470:   prefix="$acl_save_prefix"
                   13471: 
                   13472:                       if test "X$x" = "X-L$found_dir"; then
                   13473:                         haveit=yes
                   13474:                         break
                   13475:                       fi
                   13476:                     done
                   13477:                     if test -z "$haveit"; then
                   13478:                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
                   13479:                     fi
1.1.1.2 ! misho    13480:                     if test "$acl_hardcode_minus_L" != no; then
1.1       misho    13481:                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                   13482:                     else
                   13483:                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
                   13484:                     fi
                   13485:                   fi
                   13486:                 fi
                   13487:               fi
                   13488:             else
                   13489:               if test "X$found_a" != "X"; then
                   13490:                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
                   13491:               else
                   13492:                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
                   13493:               fi
                   13494:             fi
                   13495:                         additional_includedir=
                   13496:             case "$found_dir" in
                   13497:               */$acl_libdirstem | */$acl_libdirstem/)
                   13498:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
1.1.1.2 ! misho    13499:                 if test "$name" = 'iconv'; then
        !          13500:                   LIBICONV_PREFIX="$basedir"
        !          13501:                 fi
        !          13502:                 additional_includedir="$basedir/include"
        !          13503:                 ;;
        !          13504:               */$acl_libdirstem2 | */$acl_libdirstem2/)
        !          13505:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
        !          13506:                 if test "$name" = 'iconv'; then
        !          13507:                   LIBICONV_PREFIX="$basedir"
        !          13508:                 fi
1.1       misho    13509:                 additional_includedir="$basedir/include"
                   13510:                 ;;
                   13511:             esac
                   13512:             if test "X$additional_includedir" != "X"; then
                   13513:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
                   13514:                 haveit=
                   13515:                 if test "X$additional_includedir" = "X/usr/local/include"; then
                   13516:                   if test -n "$GCC"; then
                   13517:                     case $host_os in
                   13518:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
                   13519:                     esac
                   13520:                   fi
                   13521:                 fi
                   13522:                 if test -z "$haveit"; then
                   13523:                   for x in $CPPFLAGS $INCICONV; do
                   13524: 
                   13525:   acl_save_prefix="$prefix"
                   13526:   prefix="$acl_final_prefix"
                   13527:   acl_save_exec_prefix="$exec_prefix"
                   13528:   exec_prefix="$acl_final_exec_prefix"
                   13529:   eval x=\"$x\"
                   13530:   exec_prefix="$acl_save_exec_prefix"
                   13531:   prefix="$acl_save_prefix"
                   13532: 
                   13533:                     if test "X$x" = "X-I$additional_includedir"; then
                   13534:                       haveit=yes
                   13535:                       break
                   13536:                     fi
                   13537:                   done
                   13538:                   if test -z "$haveit"; then
                   13539:                     if test -d "$additional_includedir"; then
                   13540:                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
                   13541:                     fi
                   13542:                   fi
                   13543:                 fi
                   13544:               fi
                   13545:             fi
                   13546:                         if test -n "$found_la"; then
                   13547:                                                         save_libdir="$libdir"
                   13548:               case "$found_la" in
                   13549:                 */* | *\\*) . "$found_la" ;;
                   13550:                 *) . "./$found_la" ;;
                   13551:               esac
                   13552:               libdir="$save_libdir"
                   13553:                             for dep in $dependency_libs; do
                   13554:                 case "$dep" in
                   13555:                   -L*)
                   13556:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1.1.1.2 ! misho    13557:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
        !          13558:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
1.1       misho    13559:                       haveit=
1.1.1.2 ! misho    13560:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
        !          13561:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
1.1       misho    13562:                         if test -n "$GCC"; then
                   13563:                           case $host_os in
                   13564:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
                   13565:                           esac
                   13566:                         fi
                   13567:                       fi
                   13568:                       if test -z "$haveit"; then
                   13569:                         haveit=
                   13570:                         for x in $LDFLAGS $LIBICONV; do
                   13571: 
                   13572:   acl_save_prefix="$prefix"
                   13573:   prefix="$acl_final_prefix"
                   13574:   acl_save_exec_prefix="$exec_prefix"
                   13575:   exec_prefix="$acl_final_exec_prefix"
                   13576:   eval x=\"$x\"
                   13577:   exec_prefix="$acl_save_exec_prefix"
                   13578:   prefix="$acl_save_prefix"
                   13579: 
                   13580:                           if test "X$x" = "X-L$additional_libdir"; then
                   13581:                             haveit=yes
                   13582:                             break
                   13583:                           fi
                   13584:                         done
                   13585:                         if test -z "$haveit"; then
                   13586:                           if test -d "$additional_libdir"; then
                   13587:                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
                   13588:                           fi
                   13589:                         fi
                   13590:                         haveit=
                   13591:                         for x in $LDFLAGS $LTLIBICONV; do
                   13592: 
                   13593:   acl_save_prefix="$prefix"
                   13594:   prefix="$acl_final_prefix"
                   13595:   acl_save_exec_prefix="$exec_prefix"
                   13596:   exec_prefix="$acl_final_exec_prefix"
                   13597:   eval x=\"$x\"
                   13598:   exec_prefix="$acl_save_exec_prefix"
                   13599:   prefix="$acl_save_prefix"
                   13600: 
                   13601:                           if test "X$x" = "X-L$additional_libdir"; then
                   13602:                             haveit=yes
                   13603:                             break
                   13604:                           fi
                   13605:                         done
                   13606:                         if test -z "$haveit"; then
                   13607:                           if test -d "$additional_libdir"; then
                   13608:                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
                   13609:                           fi
                   13610:                         fi
                   13611:                       fi
                   13612:                     fi
                   13613:                     ;;
                   13614:                   -R*)
                   13615:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
                   13616:                     if test "$enable_rpath" != no; then
                   13617:                                                                   haveit=
                   13618:                       for x in $rpathdirs; do
                   13619:                         if test "X$x" = "X$dir"; then
                   13620:                           haveit=yes
                   13621:                           break
                   13622:                         fi
                   13623:                       done
                   13624:                       if test -z "$haveit"; then
                   13625:                         rpathdirs="$rpathdirs $dir"
                   13626:                       fi
                   13627:                                                                   haveit=
                   13628:                       for x in $ltrpathdirs; do
                   13629:                         if test "X$x" = "X$dir"; then
                   13630:                           haveit=yes
                   13631:                           break
                   13632:                         fi
                   13633:                       done
                   13634:                       if test -z "$haveit"; then
                   13635:                         ltrpathdirs="$ltrpathdirs $dir"
                   13636:                       fi
                   13637:                     fi
                   13638:                     ;;
                   13639:                   -l*)
                   13640:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
                   13641:                     ;;
                   13642:                   *.la)
                   13643:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
                   13644:                     ;;
                   13645:                   *)
                   13646:                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
                   13647:                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
                   13648:                     ;;
                   13649:                 esac
                   13650:               done
                   13651:             fi
                   13652:           else
                   13653:                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
                   13654:             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
                   13655:           fi
                   13656:         fi
                   13657:       fi
                   13658:     done
                   13659:   done
                   13660:   if test "X$rpathdirs" != "X"; then
1.1.1.2 ! misho    13661:     if test -n "$acl_hardcode_libdir_separator"; then
1.1       misho    13662:                         alldirs=
                   13663:       for found_dir in $rpathdirs; do
1.1.1.2 ! misho    13664:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
1.1       misho    13665:       done
                   13666:             acl_save_libdir="$libdir"
                   13667:       libdir="$alldirs"
1.1.1.2 ! misho    13668:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
1.1       misho    13669:       libdir="$acl_save_libdir"
                   13670:       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
                   13671:     else
                   13672:             for found_dir in $rpathdirs; do
                   13673:         acl_save_libdir="$libdir"
                   13674:         libdir="$found_dir"
1.1.1.2 ! misho    13675:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
1.1       misho    13676:         libdir="$acl_save_libdir"
                   13677:         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
                   13678:       done
                   13679:     fi
                   13680:   fi
                   13681:   if test "X$ltrpathdirs" != "X"; then
                   13682:             for found_dir in $ltrpathdirs; do
                   13683:       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
                   13684:     done
                   13685:   fi
                   13686: 
                   13687: 
                   13688: 
                   13689: 
                   13690: 
                   13691: 
                   13692: 
                   13693: 
                   13694: 
                   13695: 
                   13696: 
                   13697: 
                   13698: 
                   13699: 
                   13700: 
                   13701: 
                   13702: 
                   13703: 
                   13704: 
                   13705: 
                   13706: 
                   13707: 
                   13708: 
                   13709: 
                   13710: 
1.1.1.2 ! misho    13711: 
        !          13712: 
        !          13713: 
        !          13714: 
        !          13715: 
        !          13716: 
1.1       misho    13717:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
                   13718: $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
1.1.1.2 ! misho    13719: if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
1.1       misho    13720:   $as_echo_n "(cached) " >&6
                   13721: else
                   13722:   gt_save_LIBS="$LIBS"
                   13723:      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
                   13724:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13725: /* end confdefs.h.  */
                   13726: #include <CoreFoundation/CFPreferences.h>
                   13727: int
                   13728: main ()
                   13729: {
                   13730: CFPreferencesCopyAppValue(NULL, NULL)
                   13731:   ;
                   13732:   return 0;
                   13733: }
                   13734: _ACEOF
                   13735: if ac_fn_c_try_link "$LINENO"; then :
                   13736:   gt_cv_func_CFPreferencesCopyAppValue=yes
                   13737: else
                   13738:   gt_cv_func_CFPreferencesCopyAppValue=no
                   13739: fi
                   13740: rm -f core conftest.err conftest.$ac_objext \
                   13741:     conftest$ac_exeext conftest.$ac_ext
                   13742:      LIBS="$gt_save_LIBS"
                   13743: fi
                   13744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
                   13745: $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
                   13746:   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
                   13747: 
                   13748: $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
                   13749: 
                   13750:   fi
                   13751:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
                   13752: $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
1.1.1.2 ! misho    13753: if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
1.1       misho    13754:   $as_echo_n "(cached) " >&6
                   13755: else
                   13756:   gt_save_LIBS="$LIBS"
                   13757:      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
                   13758:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13759: /* end confdefs.h.  */
                   13760: #include <CoreFoundation/CFLocale.h>
                   13761: int
                   13762: main ()
                   13763: {
                   13764: CFLocaleCopyCurrent();
                   13765:   ;
                   13766:   return 0;
                   13767: }
                   13768: _ACEOF
                   13769: if ac_fn_c_try_link "$LINENO"; then :
                   13770:   gt_cv_func_CFLocaleCopyCurrent=yes
                   13771: else
                   13772:   gt_cv_func_CFLocaleCopyCurrent=no
                   13773: fi
                   13774: rm -f core conftest.err conftest.$ac_objext \
                   13775:     conftest$ac_exeext conftest.$ac_ext
                   13776:      LIBS="$gt_save_LIBS"
                   13777: fi
                   13778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
                   13779: $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
                   13780:   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
                   13781: 
                   13782: $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
                   13783: 
                   13784:   fi
                   13785:   INTL_MACOSX_LIBS=
                   13786:   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
                   13787:     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
                   13788:   fi
                   13789: 
                   13790: 
                   13791: 
                   13792: 
                   13793: 
                   13794: 
                   13795:   LIBINTL=
                   13796:   LTLIBINTL=
                   13797:   POSUB=
                   13798: 
                   13799:     case " $gt_needs " in
                   13800:     *" need-formatstring-macros "*) gt_api_version=3 ;;
                   13801:     *" need-ngettext "*) gt_api_version=2 ;;
                   13802:     *) gt_api_version=1 ;;
                   13803:   esac
                   13804:   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
                   13805:   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
                   13806: 
                   13807:     if test "$USE_NLS" = "yes"; then
                   13808:     gt_use_preinstalled_gnugettext=no
                   13809: 
                   13810: 
                   13811:         if test $gt_api_version -ge 3; then
                   13812:           gt_revision_test_code='
                   13813: #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
                   13814: #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
                   13815: #endif
                   13816: typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
                   13817: '
                   13818:         else
                   13819:           gt_revision_test_code=
                   13820:         fi
                   13821:         if test $gt_api_version -ge 2; then
                   13822:           gt_expression_test_code=' + * ngettext ("", "", 0)'
                   13823:         else
                   13824:           gt_expression_test_code=
                   13825:         fi
                   13826: 
                   13827:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
                   13828: $as_echo_n "checking for GNU gettext in libc... " >&6; }
1.1.1.2 ! misho    13829: if eval \${$gt_func_gnugettext_libc+:} false; then :
1.1       misho    13830:   $as_echo_n "(cached) " >&6
                   13831: else
                   13832:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13833: /* end confdefs.h.  */
1.1.1.2 ! misho    13834: 
1.1       misho    13835: #include <libintl.h>
                   13836: $gt_revision_test_code
                   13837: extern int _nl_msg_cat_cntr;
                   13838: extern int *_nl_domain_bindings;
1.1.1.2 ! misho    13839: 
1.1       misho    13840: int
                   13841: main ()
                   13842: {
1.1.1.2 ! misho    13843: 
1.1       misho    13844: bindtextdomain ("", "");
                   13845: return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
1.1.1.2 ! misho    13846: 
1.1       misho    13847:   ;
                   13848:   return 0;
                   13849: }
                   13850: _ACEOF
                   13851: if ac_fn_c_try_link "$LINENO"; then :
                   13852:   eval "$gt_func_gnugettext_libc=yes"
                   13853: else
                   13854:   eval "$gt_func_gnugettext_libc=no"
                   13855: fi
                   13856: rm -f core conftest.err conftest.$ac_objext \
                   13857:     conftest$ac_exeext conftest.$ac_ext
                   13858: fi
                   13859: eval ac_res=\$$gt_func_gnugettext_libc
                   13860:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   13861: $as_echo "$ac_res" >&6; }
                   13862: 
                   13863:         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
                   13864: 
                   13865: 
                   13866: 
                   13867: 
                   13868: 
                   13869:           am_save_CPPFLAGS="$CPPFLAGS"
                   13870: 
                   13871:   for element in $INCICONV; do
                   13872:     haveit=
                   13873:     for x in $CPPFLAGS; do
                   13874: 
                   13875:   acl_save_prefix="$prefix"
                   13876:   prefix="$acl_final_prefix"
                   13877:   acl_save_exec_prefix="$exec_prefix"
                   13878:   exec_prefix="$acl_final_exec_prefix"
                   13879:   eval x=\"$x\"
                   13880:   exec_prefix="$acl_save_exec_prefix"
                   13881:   prefix="$acl_save_prefix"
                   13882: 
                   13883:       if test "X$x" = "X$element"; then
                   13884:         haveit=yes
                   13885:         break
                   13886:       fi
                   13887:     done
                   13888:     if test -z "$haveit"; then
                   13889:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
                   13890:     fi
                   13891:   done
                   13892: 
                   13893: 
                   13894:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
                   13895: $as_echo_n "checking for iconv... " >&6; }
1.1.1.2 ! misho    13896: if ${am_cv_func_iconv+:} false; then :
1.1       misho    13897:   $as_echo_n "(cached) " >&6
                   13898: else
                   13899: 
                   13900:     am_cv_func_iconv="no, consider installing GNU libiconv"
                   13901:     am_cv_lib_iconv=no
                   13902:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13903: /* end confdefs.h.  */
1.1.1.2 ! misho    13904: 
1.1       misho    13905: #include <stdlib.h>
                   13906: #include <iconv.h>
1.1.1.2 ! misho    13907: 
1.1       misho    13908: int
                   13909: main ()
                   13910: {
                   13911: iconv_t cd = iconv_open("","");
1.1.1.2 ! misho    13912:            iconv(cd,NULL,NULL,NULL,NULL);
        !          13913:            iconv_close(cd);
1.1       misho    13914:   ;
                   13915:   return 0;
                   13916: }
                   13917: _ACEOF
                   13918: if ac_fn_c_try_link "$LINENO"; then :
                   13919:   am_cv_func_iconv=yes
                   13920: fi
                   13921: rm -f core conftest.err conftest.$ac_objext \
                   13922:     conftest$ac_exeext conftest.$ac_ext
                   13923:     if test "$am_cv_func_iconv" != yes; then
                   13924:       am_save_LIBS="$LIBS"
                   13925:       LIBS="$LIBS $LIBICONV"
                   13926:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13927: /* end confdefs.h.  */
1.1.1.2 ! misho    13928: 
1.1       misho    13929: #include <stdlib.h>
                   13930: #include <iconv.h>
1.1.1.2 ! misho    13931: 
1.1       misho    13932: int
                   13933: main ()
                   13934: {
                   13935: iconv_t cd = iconv_open("","");
1.1.1.2 ! misho    13936:              iconv(cd,NULL,NULL,NULL,NULL);
        !          13937:              iconv_close(cd);
1.1       misho    13938:   ;
                   13939:   return 0;
                   13940: }
                   13941: _ACEOF
                   13942: if ac_fn_c_try_link "$LINENO"; then :
                   13943:   am_cv_lib_iconv=yes
                   13944:         am_cv_func_iconv=yes
                   13945: fi
                   13946: rm -f core conftest.err conftest.$ac_objext \
                   13947:     conftest$ac_exeext conftest.$ac_ext
                   13948:       LIBS="$am_save_LIBS"
                   13949:     fi
                   13950: 
                   13951: fi
                   13952: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
                   13953: $as_echo "$am_cv_func_iconv" >&6; }
                   13954:   if test "$am_cv_func_iconv" = yes; then
1.1.1.2 ! misho    13955:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
        !          13956: $as_echo_n "checking for working iconv... " >&6; }
        !          13957: if ${am_cv_func_iconv_works+:} false; then :
        !          13958:   $as_echo_n "(cached) " >&6
        !          13959: else
        !          13960: 
        !          13961:                   am_save_LIBS="$LIBS"
        !          13962:       if test $am_cv_lib_iconv = yes; then
        !          13963:         LIBS="$LIBS $LIBICONV"
        !          13964:       fi
        !          13965:       if test "$cross_compiling" = yes; then :
        !          13966: 
        !          13967:          case "$host_os" in
        !          13968:            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
        !          13969:            *)            am_cv_func_iconv_works="guessing yes" ;;
        !          13970:          esac
        !          13971: 
        !          13972: else
        !          13973:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          13974: /* end confdefs.h.  */
        !          13975: 
        !          13976: #include <iconv.h>
        !          13977: #include <string.h>
        !          13978: int main ()
        !          13979: {
        !          13980:   int result = 0;
        !          13981:   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
        !          13982:      returns.  */
        !          13983:   {
        !          13984:     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
        !          13985:     if (cd_utf8_to_88591 != (iconv_t)(-1))
        !          13986:       {
        !          13987:         static const char input[] = "\342\202\254"; /* EURO SIGN */
        !          13988:         char buf[10];
        !          13989:         const char *inptr = input;
        !          13990:         size_t inbytesleft = strlen (input);
        !          13991:         char *outptr = buf;
        !          13992:         size_t outbytesleft = sizeof (buf);
        !          13993:         size_t res = iconv (cd_utf8_to_88591,
        !          13994:                             (char **) &inptr, &inbytesleft,
        !          13995:                             &outptr, &outbytesleft);
        !          13996:         if (res == 0)
        !          13997:           result |= 1;
        !          13998:         iconv_close (cd_utf8_to_88591);
        !          13999:       }
        !          14000:   }
        !          14001:   /* Test against Solaris 10 bug: Failures are not distinguishable from
        !          14002:      successful returns.  */
        !          14003:   {
        !          14004:     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
        !          14005:     if (cd_ascii_to_88591 != (iconv_t)(-1))
        !          14006:       {
        !          14007:         static const char input[] = "\263";
        !          14008:         char buf[10];
        !          14009:         const char *inptr = input;
        !          14010:         size_t inbytesleft = strlen (input);
        !          14011:         char *outptr = buf;
        !          14012:         size_t outbytesleft = sizeof (buf);
        !          14013:         size_t res = iconv (cd_ascii_to_88591,
        !          14014:                             (char **) &inptr, &inbytesleft,
        !          14015:                             &outptr, &outbytesleft);
        !          14016:         if (res == 0)
        !          14017:           result |= 2;
        !          14018:         iconv_close (cd_ascii_to_88591);
        !          14019:       }
        !          14020:   }
        !          14021:   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
        !          14022:   {
        !          14023:     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
        !          14024:     if (cd_88591_to_utf8 != (iconv_t)(-1))
        !          14025:       {
        !          14026:         static const char input[] = "\304";
        !          14027:         static char buf[2] = { (char)0xDE, (char)0xAD };
        !          14028:         const char *inptr = input;
        !          14029:         size_t inbytesleft = 1;
        !          14030:         char *outptr = buf;
        !          14031:         size_t outbytesleft = 1;
        !          14032:         size_t res = iconv (cd_88591_to_utf8,
        !          14033:                             (char **) &inptr, &inbytesleft,
        !          14034:                             &outptr, &outbytesleft);
        !          14035:         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
        !          14036:           result |= 4;
        !          14037:         iconv_close (cd_88591_to_utf8);
        !          14038:       }
        !          14039:   }
        !          14040: #if 0 /* This bug could be worked around by the caller.  */
        !          14041:   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
        !          14042:   {
        !          14043:     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
        !          14044:     if (cd_88591_to_utf8 != (iconv_t)(-1))
        !          14045:       {
        !          14046:         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
        !          14047:         char buf[50];
        !          14048:         const char *inptr = input;
        !          14049:         size_t inbytesleft = strlen (input);
        !          14050:         char *outptr = buf;
        !          14051:         size_t outbytesleft = sizeof (buf);
        !          14052:         size_t res = iconv (cd_88591_to_utf8,
        !          14053:                             (char **) &inptr, &inbytesleft,
        !          14054:                             &outptr, &outbytesleft);
        !          14055:         if ((int)res > 0)
        !          14056:           result |= 8;
        !          14057:         iconv_close (cd_88591_to_utf8);
        !          14058:       }
        !          14059:   }
        !          14060: #endif
        !          14061:   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
        !          14062:      provided.  */
        !          14063:   if (/* Try standardized names.  */
        !          14064:       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
        !          14065:       /* Try IRIX, OSF/1 names.  */
        !          14066:       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
        !          14067:       /* Try AIX names.  */
        !          14068:       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
        !          14069:       /* Try HP-UX names.  */
        !          14070:       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
        !          14071:     result |= 16;
        !          14072:   return result;
        !          14073: }
        !          14074: _ACEOF
        !          14075: if ac_fn_c_try_run "$LINENO"; then :
        !          14076:   am_cv_func_iconv_works=yes
        !          14077: else
        !          14078:   am_cv_func_iconv_works=no
        !          14079: fi
        !          14080: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          14081:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          14082: fi
        !          14083: 
        !          14084:       LIBS="$am_save_LIBS"
        !          14085: 
        !          14086: fi
        !          14087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
        !          14088: $as_echo "$am_cv_func_iconv_works" >&6; }
        !          14089:     case "$am_cv_func_iconv_works" in
        !          14090:       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
        !          14091:       *)   am_func_iconv=yes ;;
        !          14092:     esac
        !          14093:   else
        !          14094:     am_func_iconv=no am_cv_lib_iconv=no
        !          14095:   fi
        !          14096:   if test "$am_func_iconv" = yes; then
1.1       misho    14097: 
                   14098: $as_echo "#define HAVE_ICONV 1" >>confdefs.h
                   14099: 
                   14100:   fi
                   14101:   if test "$am_cv_lib_iconv" = yes; then
                   14102:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
                   14103: $as_echo_n "checking how to link with libiconv... " >&6; }
                   14104:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
                   14105: $as_echo "$LIBICONV" >&6; }
                   14106:   else
                   14107:             CPPFLAGS="$am_save_CPPFLAGS"
                   14108:     LIBICONV=
                   14109:     LTLIBICONV=
                   14110:   fi
                   14111: 
                   14112: 
                   14113: 
                   14114: 
                   14115: 
                   14116: 
                   14117: 
1.1.1.2 ! misho    14118: 
        !          14119: 
        !          14120: 
        !          14121: 
1.1       misho    14122:     use_additional=yes
                   14123: 
                   14124:   acl_save_prefix="$prefix"
                   14125:   prefix="$acl_final_prefix"
                   14126:   acl_save_exec_prefix="$exec_prefix"
                   14127:   exec_prefix="$acl_final_exec_prefix"
                   14128: 
                   14129:     eval additional_includedir=\"$includedir\"
                   14130:     eval additional_libdir=\"$libdir\"
                   14131: 
                   14132:   exec_prefix="$acl_save_exec_prefix"
                   14133:   prefix="$acl_save_prefix"
                   14134: 
                   14135: 
                   14136: # Check whether --with-libintl-prefix was given.
                   14137: if test "${with_libintl_prefix+set}" = set; then :
                   14138:   withval=$with_libintl_prefix;
                   14139:     if test "X$withval" = "Xno"; then
                   14140:       use_additional=no
                   14141:     else
                   14142:       if test "X$withval" = "X"; then
                   14143: 
                   14144:   acl_save_prefix="$prefix"
                   14145:   prefix="$acl_final_prefix"
                   14146:   acl_save_exec_prefix="$exec_prefix"
                   14147:   exec_prefix="$acl_final_exec_prefix"
                   14148: 
                   14149:           eval additional_includedir=\"$includedir\"
                   14150:           eval additional_libdir=\"$libdir\"
                   14151: 
                   14152:   exec_prefix="$acl_save_exec_prefix"
                   14153:   prefix="$acl_save_prefix"
                   14154: 
                   14155:       else
                   14156:         additional_includedir="$withval/include"
                   14157:         additional_libdir="$withval/$acl_libdirstem"
1.1.1.2 ! misho    14158:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
        !          14159:            && ! test -d "$withval/$acl_libdirstem"; then
        !          14160:           additional_libdir="$withval/$acl_libdirstem2"
        !          14161:         fi
1.1       misho    14162:       fi
                   14163:     fi
                   14164: 
                   14165: fi
                   14166: 
                   14167:       LIBINTL=
                   14168:   LTLIBINTL=
                   14169:   INCINTL=
1.1.1.2 ! misho    14170:   LIBINTL_PREFIX=
        !          14171:       HAVE_LIBINTL=
1.1       misho    14172:   rpathdirs=
                   14173:   ltrpathdirs=
                   14174:   names_already_handled=
                   14175:   names_next_round='intl '
                   14176:   while test -n "$names_next_round"; do
                   14177:     names_this_round="$names_next_round"
                   14178:     names_next_round=
                   14179:     for name in $names_this_round; do
                   14180:       already_handled=
                   14181:       for n in $names_already_handled; do
                   14182:         if test "$n" = "$name"; then
                   14183:           already_handled=yes
                   14184:           break
                   14185:         fi
                   14186:       done
                   14187:       if test -z "$already_handled"; then
                   14188:         names_already_handled="$names_already_handled $name"
1.1.1.2 ! misho    14189:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
1.1       misho    14190:         eval value=\"\$HAVE_LIB$uppername\"
                   14191:         if test -n "$value"; then
                   14192:           if test "$value" = yes; then
                   14193:             eval value=\"\$LIB$uppername\"
                   14194:             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
                   14195:             eval value=\"\$LTLIB$uppername\"
                   14196:             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
                   14197:           else
                   14198:                                     :
                   14199:           fi
                   14200:         else
                   14201:                               found_dir=
                   14202:           found_la=
                   14203:           found_so=
                   14204:           found_a=
1.1.1.2 ! misho    14205:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
        !          14206:           if test -n "$acl_shlibext"; then
        !          14207:             shrext=".$acl_shlibext"             # typically: shrext=.so
        !          14208:           else
        !          14209:             shrext=
        !          14210:           fi
1.1       misho    14211:           if test $use_additional = yes; then
1.1.1.2 ! misho    14212:             dir="$additional_libdir"
        !          14213:                                     if test -n "$acl_shlibext"; then
        !          14214:               if test -f "$dir/$libname$shrext"; then
        !          14215:                 found_dir="$dir"
        !          14216:                 found_so="$dir/$libname$shrext"
1.1       misho    14217:               else
1.1.1.2 ! misho    14218:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
        !          14219:                   ver=`(cd "$dir" && \
        !          14220:                         for f in "$libname$shrext".*; do echo "$f"; done \
        !          14221:                         | sed -e "s,^$libname$shrext\\\\.,," \
        !          14222:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
        !          14223:                         | sed 1q ) 2>/dev/null`
        !          14224:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
        !          14225:                     found_dir="$dir"
        !          14226:                     found_so="$dir/$libname$shrext.$ver"
        !          14227:                   fi
        !          14228:                 else
        !          14229:                   eval library_names=\"$acl_library_names_spec\"
        !          14230:                   for f in $library_names; do
        !          14231:                     if test -f "$dir/$f"; then
        !          14232:                       found_dir="$dir"
        !          14233:                       found_so="$dir/$f"
        !          14234:                       break
        !          14235:                     fi
        !          14236:                   done
        !          14237:                 fi
1.1       misho    14238:               fi
1.1.1.2 ! misho    14239:             fi
        !          14240:                         if test "X$found_dir" = "X"; then
        !          14241:               if test -f "$dir/$libname.$acl_libext"; then
        !          14242:                 found_dir="$dir"
        !          14243:                 found_a="$dir/$libname.$acl_libext"
1.1       misho    14244:               fi
1.1.1.2 ! misho    14245:             fi
        !          14246:             if test "X$found_dir" != "X"; then
        !          14247:               if test -f "$dir/$libname.la"; then
        !          14248:                 found_la="$dir/$libname.la"
1.1       misho    14249:               fi
                   14250:             fi
                   14251:           fi
                   14252:           if test "X$found_dir" = "X"; then
                   14253:             for x in $LDFLAGS $LTLIBINTL; do
                   14254: 
                   14255:   acl_save_prefix="$prefix"
                   14256:   prefix="$acl_final_prefix"
                   14257:   acl_save_exec_prefix="$exec_prefix"
                   14258:   exec_prefix="$acl_final_exec_prefix"
                   14259:   eval x=\"$x\"
                   14260:   exec_prefix="$acl_save_exec_prefix"
                   14261:   prefix="$acl_save_prefix"
                   14262: 
                   14263:               case "$x" in
                   14264:                 -L*)
                   14265:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
1.1.1.2 ! misho    14266:                                     if test -n "$acl_shlibext"; then
        !          14267:                     if test -f "$dir/$libname$shrext"; then
        !          14268:                       found_dir="$dir"
        !          14269:                       found_so="$dir/$libname$shrext"
1.1       misho    14270:                     else
1.1.1.2 ! misho    14271:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
        !          14272:                         ver=`(cd "$dir" && \
        !          14273:                               for f in "$libname$shrext".*; do echo "$f"; done \
        !          14274:                               | sed -e "s,^$libname$shrext\\\\.,," \
        !          14275:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
        !          14276:                               | sed 1q ) 2>/dev/null`
        !          14277:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
        !          14278:                           found_dir="$dir"
        !          14279:                           found_so="$dir/$libname$shrext.$ver"
        !          14280:                         fi
        !          14281:                       else
        !          14282:                         eval library_names=\"$acl_library_names_spec\"
        !          14283:                         for f in $library_names; do
        !          14284:                           if test -f "$dir/$f"; then
        !          14285:                             found_dir="$dir"
        !          14286:                             found_so="$dir/$f"
        !          14287:                             break
        !          14288:                           fi
        !          14289:                         done
        !          14290:                       fi
1.1       misho    14291:                     fi
1.1.1.2 ! misho    14292:                   fi
        !          14293:                                     if test "X$found_dir" = "X"; then
        !          14294:                     if test -f "$dir/$libname.$acl_libext"; then
1.1       misho    14295:                       found_dir="$dir"
1.1.1.2 ! misho    14296:                       found_a="$dir/$libname.$acl_libext"
        !          14297:                     fi
        !          14298:                   fi
        !          14299:                   if test "X$found_dir" != "X"; then
        !          14300:                     if test -f "$dir/$libname.la"; then
        !          14301:                       found_la="$dir/$libname.la"
1.1       misho    14302:                     fi
                   14303:                   fi
                   14304:                   ;;
                   14305:               esac
                   14306:               if test "X$found_dir" != "X"; then
                   14307:                 break
                   14308:               fi
                   14309:             done
                   14310:           fi
                   14311:           if test "X$found_dir" != "X"; then
                   14312:                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
                   14313:             if test "X$found_so" != "X"; then
1.1.1.2 ! misho    14314:                                                         if test "$enable_rpath" = no \
        !          14315:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
        !          14316:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
1.1       misho    14317:                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                   14318:               else
                   14319:                                                                                 haveit=
                   14320:                 for x in $ltrpathdirs; do
                   14321:                   if test "X$x" = "X$found_dir"; then
                   14322:                     haveit=yes
                   14323:                     break
                   14324:                   fi
                   14325:                 done
                   14326:                 if test -z "$haveit"; then
                   14327:                   ltrpathdirs="$ltrpathdirs $found_dir"
                   14328:                 fi
1.1.1.2 ! misho    14329:                                 if test "$acl_hardcode_direct" = yes; then
1.1       misho    14330:                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                   14331:                 else
1.1.1.2 ! misho    14332:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1.1       misho    14333:                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                   14334:                                                             haveit=
                   14335:                     for x in $rpathdirs; do
                   14336:                       if test "X$x" = "X$found_dir"; then
                   14337:                         haveit=yes
                   14338:                         break
                   14339:                       fi
                   14340:                     done
                   14341:                     if test -z "$haveit"; then
                   14342:                       rpathdirs="$rpathdirs $found_dir"
                   14343:                     fi
                   14344:                   else
                   14345:                                                                                 haveit=
                   14346:                     for x in $LDFLAGS $LIBINTL; do
                   14347: 
                   14348:   acl_save_prefix="$prefix"
                   14349:   prefix="$acl_final_prefix"
                   14350:   acl_save_exec_prefix="$exec_prefix"
                   14351:   exec_prefix="$acl_final_exec_prefix"
                   14352:   eval x=\"$x\"
                   14353:   exec_prefix="$acl_save_exec_prefix"
                   14354:   prefix="$acl_save_prefix"
                   14355: 
                   14356:                       if test "X$x" = "X-L$found_dir"; then
                   14357:                         haveit=yes
                   14358:                         break
                   14359:                       fi
                   14360:                     done
                   14361:                     if test -z "$haveit"; then
                   14362:                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
                   14363:                     fi
1.1.1.2 ! misho    14364:                     if test "$acl_hardcode_minus_L" != no; then
1.1       misho    14365:                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                   14366:                     else
                   14367:                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
                   14368:                     fi
                   14369:                   fi
                   14370:                 fi
                   14371:               fi
                   14372:             else
                   14373:               if test "X$found_a" != "X"; then
                   14374:                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
                   14375:               else
                   14376:                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
                   14377:               fi
                   14378:             fi
                   14379:                         additional_includedir=
                   14380:             case "$found_dir" in
                   14381:               */$acl_libdirstem | */$acl_libdirstem/)
                   14382:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
1.1.1.2 ! misho    14383:                 if test "$name" = 'intl'; then
        !          14384:                   LIBINTL_PREFIX="$basedir"
        !          14385:                 fi
        !          14386:                 additional_includedir="$basedir/include"
        !          14387:                 ;;
        !          14388:               */$acl_libdirstem2 | */$acl_libdirstem2/)
        !          14389:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
        !          14390:                 if test "$name" = 'intl'; then
        !          14391:                   LIBINTL_PREFIX="$basedir"
        !          14392:                 fi
1.1       misho    14393:                 additional_includedir="$basedir/include"
                   14394:                 ;;
                   14395:             esac
                   14396:             if test "X$additional_includedir" != "X"; then
                   14397:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
                   14398:                 haveit=
                   14399:                 if test "X$additional_includedir" = "X/usr/local/include"; then
                   14400:                   if test -n "$GCC"; then
                   14401:                     case $host_os in
                   14402:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
                   14403:                     esac
                   14404:                   fi
                   14405:                 fi
                   14406:                 if test -z "$haveit"; then
                   14407:                   for x in $CPPFLAGS $INCINTL; do
                   14408: 
                   14409:   acl_save_prefix="$prefix"
                   14410:   prefix="$acl_final_prefix"
                   14411:   acl_save_exec_prefix="$exec_prefix"
                   14412:   exec_prefix="$acl_final_exec_prefix"
                   14413:   eval x=\"$x\"
                   14414:   exec_prefix="$acl_save_exec_prefix"
                   14415:   prefix="$acl_save_prefix"
                   14416: 
                   14417:                     if test "X$x" = "X-I$additional_includedir"; then
                   14418:                       haveit=yes
                   14419:                       break
                   14420:                     fi
                   14421:                   done
                   14422:                   if test -z "$haveit"; then
                   14423:                     if test -d "$additional_includedir"; then
                   14424:                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
                   14425:                     fi
                   14426:                   fi
                   14427:                 fi
                   14428:               fi
                   14429:             fi
                   14430:                         if test -n "$found_la"; then
                   14431:                                                         save_libdir="$libdir"
                   14432:               case "$found_la" in
                   14433:                 */* | *\\*) . "$found_la" ;;
                   14434:                 *) . "./$found_la" ;;
                   14435:               esac
                   14436:               libdir="$save_libdir"
                   14437:                             for dep in $dependency_libs; do
                   14438:                 case "$dep" in
                   14439:                   -L*)
                   14440:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1.1.1.2 ! misho    14441:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
        !          14442:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
1.1       misho    14443:                       haveit=
1.1.1.2 ! misho    14444:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
        !          14445:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
1.1       misho    14446:                         if test -n "$GCC"; then
                   14447:                           case $host_os in
                   14448:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
                   14449:                           esac
                   14450:                         fi
                   14451:                       fi
                   14452:                       if test -z "$haveit"; then
                   14453:                         haveit=
                   14454:                         for x in $LDFLAGS $LIBINTL; do
                   14455: 
                   14456:   acl_save_prefix="$prefix"
                   14457:   prefix="$acl_final_prefix"
                   14458:   acl_save_exec_prefix="$exec_prefix"
                   14459:   exec_prefix="$acl_final_exec_prefix"
                   14460:   eval x=\"$x\"
                   14461:   exec_prefix="$acl_save_exec_prefix"
                   14462:   prefix="$acl_save_prefix"
                   14463: 
                   14464:                           if test "X$x" = "X-L$additional_libdir"; then
                   14465:                             haveit=yes
                   14466:                             break
                   14467:                           fi
                   14468:                         done
                   14469:                         if test -z "$haveit"; then
                   14470:                           if test -d "$additional_libdir"; then
                   14471:                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
                   14472:                           fi
                   14473:                         fi
                   14474:                         haveit=
                   14475:                         for x in $LDFLAGS $LTLIBINTL; do
                   14476: 
                   14477:   acl_save_prefix="$prefix"
                   14478:   prefix="$acl_final_prefix"
                   14479:   acl_save_exec_prefix="$exec_prefix"
                   14480:   exec_prefix="$acl_final_exec_prefix"
                   14481:   eval x=\"$x\"
                   14482:   exec_prefix="$acl_save_exec_prefix"
                   14483:   prefix="$acl_save_prefix"
                   14484: 
                   14485:                           if test "X$x" = "X-L$additional_libdir"; then
                   14486:                             haveit=yes
                   14487:                             break
                   14488:                           fi
                   14489:                         done
                   14490:                         if test -z "$haveit"; then
                   14491:                           if test -d "$additional_libdir"; then
                   14492:                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
                   14493:                           fi
                   14494:                         fi
                   14495:                       fi
                   14496:                     fi
                   14497:                     ;;
                   14498:                   -R*)
                   14499:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
                   14500:                     if test "$enable_rpath" != no; then
                   14501:                                                                   haveit=
                   14502:                       for x in $rpathdirs; do
                   14503:                         if test "X$x" = "X$dir"; then
                   14504:                           haveit=yes
                   14505:                           break
                   14506:                         fi
                   14507:                       done
                   14508:                       if test -z "$haveit"; then
                   14509:                         rpathdirs="$rpathdirs $dir"
                   14510:                       fi
                   14511:                                                                   haveit=
                   14512:                       for x in $ltrpathdirs; do
                   14513:                         if test "X$x" = "X$dir"; then
                   14514:                           haveit=yes
                   14515:                           break
                   14516:                         fi
                   14517:                       done
                   14518:                       if test -z "$haveit"; then
                   14519:                         ltrpathdirs="$ltrpathdirs $dir"
                   14520:                       fi
                   14521:                     fi
                   14522:                     ;;
                   14523:                   -l*)
                   14524:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
                   14525:                     ;;
                   14526:                   *.la)
                   14527:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
                   14528:                     ;;
                   14529:                   *)
                   14530:                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
                   14531:                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
                   14532:                     ;;
                   14533:                 esac
                   14534:               done
                   14535:             fi
                   14536:           else
                   14537:                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
                   14538:             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
                   14539:           fi
                   14540:         fi
                   14541:       fi
                   14542:     done
                   14543:   done
                   14544:   if test "X$rpathdirs" != "X"; then
1.1.1.2 ! misho    14545:     if test -n "$acl_hardcode_libdir_separator"; then
1.1       misho    14546:                         alldirs=
                   14547:       for found_dir in $rpathdirs; do
1.1.1.2 ! misho    14548:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
1.1       misho    14549:       done
                   14550:             acl_save_libdir="$libdir"
                   14551:       libdir="$alldirs"
1.1.1.2 ! misho    14552:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
1.1       misho    14553:       libdir="$acl_save_libdir"
                   14554:       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
                   14555:     else
                   14556:             for found_dir in $rpathdirs; do
                   14557:         acl_save_libdir="$libdir"
                   14558:         libdir="$found_dir"
1.1.1.2 ! misho    14559:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
1.1       misho    14560:         libdir="$acl_save_libdir"
                   14561:         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
                   14562:       done
                   14563:     fi
                   14564:   fi
                   14565:   if test "X$ltrpathdirs" != "X"; then
                   14566:             for found_dir in $ltrpathdirs; do
                   14567:       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
                   14568:     done
                   14569:   fi
                   14570: 
1.1.1.2 ! misho    14571: 
        !          14572: 
        !          14573: 
        !          14574: 
        !          14575: 
1.1       misho    14576:           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
                   14577: $as_echo_n "checking for GNU gettext in libintl... " >&6; }
1.1.1.2 ! misho    14578: if eval \${$gt_func_gnugettext_libintl+:} false; then :
1.1       misho    14579:   $as_echo_n "(cached) " >&6
                   14580: else
                   14581:   gt_save_CPPFLAGS="$CPPFLAGS"
                   14582:             CPPFLAGS="$CPPFLAGS $INCINTL"
                   14583:             gt_save_LIBS="$LIBS"
                   14584:             LIBS="$LIBS $LIBINTL"
                   14585:                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14586: /* end confdefs.h.  */
1.1.1.2 ! misho    14587: 
1.1       misho    14588: #include <libintl.h>
                   14589: $gt_revision_test_code
                   14590: extern int _nl_msg_cat_cntr;
                   14591: extern
                   14592: #ifdef __cplusplus
                   14593: "C"
                   14594: #endif
                   14595: const char *_nl_expand_alias (const char *);
1.1.1.2 ! misho    14596: 
1.1       misho    14597: int
                   14598: main ()
                   14599: {
1.1.1.2 ! misho    14600: 
1.1       misho    14601: bindtextdomain ("", "");
                   14602: return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
1.1.1.2 ! misho    14603: 
1.1       misho    14604:   ;
                   14605:   return 0;
                   14606: }
                   14607: _ACEOF
                   14608: if ac_fn_c_try_link "$LINENO"; then :
                   14609:   eval "$gt_func_gnugettext_libintl=yes"
                   14610: else
                   14611:   eval "$gt_func_gnugettext_libintl=no"
                   14612: fi
                   14613: rm -f core conftest.err conftest.$ac_objext \
                   14614:     conftest$ac_exeext conftest.$ac_ext
                   14615:                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
                   14616:               LIBS="$LIBS $LIBICONV"
                   14617:               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14618: /* end confdefs.h.  */
1.1.1.2 ! misho    14619: 
1.1       misho    14620: #include <libintl.h>
                   14621: $gt_revision_test_code
                   14622: extern int _nl_msg_cat_cntr;
                   14623: extern
                   14624: #ifdef __cplusplus
                   14625: "C"
                   14626: #endif
                   14627: const char *_nl_expand_alias (const char *);
1.1.1.2 ! misho    14628: 
1.1       misho    14629: int
                   14630: main ()
                   14631: {
1.1.1.2 ! misho    14632: 
1.1       misho    14633: bindtextdomain ("", "");
                   14634: return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
1.1.1.2 ! misho    14635: 
1.1       misho    14636:   ;
                   14637:   return 0;
                   14638: }
                   14639: _ACEOF
                   14640: if ac_fn_c_try_link "$LINENO"; then :
                   14641:   LIBINTL="$LIBINTL $LIBICONV"
1.1.1.2 ! misho    14642:                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
        !          14643:                  eval "$gt_func_gnugettext_libintl=yes"
1.1       misho    14644: 
                   14645: fi
                   14646: rm -f core conftest.err conftest.$ac_objext \
                   14647:     conftest$ac_exeext conftest.$ac_ext
                   14648:             fi
                   14649:             CPPFLAGS="$gt_save_CPPFLAGS"
                   14650:             LIBS="$gt_save_LIBS"
                   14651: fi
                   14652: eval ac_res=\$$gt_func_gnugettext_libintl
                   14653:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   14654: $as_echo "$ac_res" >&6; }
                   14655:         fi
                   14656: 
                   14657:                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
                   14658:            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
                   14659:                 && test "$PACKAGE" != gettext-runtime \
                   14660:                 && test "$PACKAGE" != gettext-tools; }; then
                   14661:           gt_use_preinstalled_gnugettext=yes
                   14662:         else
                   14663:                     LIBINTL=
                   14664:           LTLIBINTL=
                   14665:           INCINTL=
                   14666:         fi
                   14667: 
                   14668: 
                   14669: 
                   14670:     if test -n "$INTL_MACOSX_LIBS"; then
                   14671:       if test "$gt_use_preinstalled_gnugettext" = "yes" \
                   14672:          || test "$nls_cv_use_gnu_gettext" = "yes"; then
                   14673:                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
                   14674:         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
                   14675:       fi
                   14676:     fi
                   14677: 
                   14678:     if test "$gt_use_preinstalled_gnugettext" = "yes" \
                   14679:        || test "$nls_cv_use_gnu_gettext" = "yes"; then
                   14680: 
                   14681: $as_echo "#define ENABLE_NLS 1" >>confdefs.h
                   14682: 
                   14683:     else
                   14684:       USE_NLS=no
                   14685:     fi
                   14686:   fi
                   14687: 
                   14688:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
                   14689: $as_echo_n "checking whether to use NLS... " >&6; }
                   14690:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
                   14691: $as_echo "$USE_NLS" >&6; }
                   14692:   if test "$USE_NLS" = "yes"; then
                   14693:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
                   14694: $as_echo_n "checking where the gettext function comes from... " >&6; }
                   14695:     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
                   14696:       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
                   14697:         gt_source="external libintl"
                   14698:       else
                   14699:         gt_source="libc"
                   14700:       fi
                   14701:     else
                   14702:       gt_source="included intl directory"
                   14703:     fi
                   14704:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
                   14705: $as_echo "$gt_source" >&6; }
                   14706:   fi
                   14707: 
                   14708:   if test "$USE_NLS" = "yes"; then
                   14709: 
                   14710:     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
                   14711:       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
                   14712:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
                   14713: $as_echo_n "checking how to link with libintl... " >&6; }
                   14714:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
                   14715: $as_echo "$LIBINTL" >&6; }
                   14716: 
                   14717:   for element in $INCINTL; do
                   14718:     haveit=
                   14719:     for x in $CPPFLAGS; do
                   14720: 
                   14721:   acl_save_prefix="$prefix"
                   14722:   prefix="$acl_final_prefix"
                   14723:   acl_save_exec_prefix="$exec_prefix"
                   14724:   exec_prefix="$acl_final_exec_prefix"
                   14725:   eval x=\"$x\"
                   14726:   exec_prefix="$acl_save_exec_prefix"
                   14727:   prefix="$acl_save_prefix"
                   14728: 
                   14729:       if test "X$x" = "X$element"; then
                   14730:         haveit=yes
                   14731:         break
                   14732:       fi
                   14733:     done
                   14734:     if test -z "$haveit"; then
                   14735:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
                   14736:     fi
                   14737:   done
                   14738: 
                   14739:       fi
                   14740: 
                   14741: 
                   14742: $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
                   14743: 
                   14744: 
                   14745: $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
                   14746: 
                   14747:     fi
                   14748: 
                   14749:         POSUB=po
                   14750:   fi
                   14751: 
                   14752: 
                   14753: 
                   14754:     INTLLIBS="$LIBINTL"
                   14755: 
                   14756: 
                   14757: 
                   14758: 
                   14759: 
                   14760: 
                   14761: 
                   14762: 
                   14763: # Checks for header files.
                   14764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   14765: $as_echo_n "checking for ANSI C header files... " >&6; }
1.1.1.2 ! misho    14766: if ${ac_cv_header_stdc+:} false; then :
1.1       misho    14767:   $as_echo_n "(cached) " >&6
                   14768: else
                   14769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14770: /* end confdefs.h.  */
                   14771: #include <stdlib.h>
                   14772: #include <stdarg.h>
                   14773: #include <string.h>
                   14774: #include <float.h>
                   14775: 
                   14776: int
                   14777: main ()
                   14778: {
                   14779: 
                   14780:   ;
                   14781:   return 0;
                   14782: }
                   14783: _ACEOF
                   14784: if ac_fn_c_try_compile "$LINENO"; then :
                   14785:   ac_cv_header_stdc=yes
                   14786: else
                   14787:   ac_cv_header_stdc=no
                   14788: fi
                   14789: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14790: 
                   14791: if test $ac_cv_header_stdc = yes; then
                   14792:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   14793:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14794: /* end confdefs.h.  */
                   14795: #include <string.h>
                   14796: 
                   14797: _ACEOF
                   14798: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14799:   $EGREP "memchr" >/dev/null 2>&1; then :
                   14800: 
                   14801: else
                   14802:   ac_cv_header_stdc=no
                   14803: fi
                   14804: rm -f conftest*
                   14805: 
                   14806: fi
                   14807: 
                   14808: if test $ac_cv_header_stdc = yes; then
                   14809:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   14810:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14811: /* end confdefs.h.  */
                   14812: #include <stdlib.h>
                   14813: 
                   14814: _ACEOF
                   14815: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14816:   $EGREP "free" >/dev/null 2>&1; then :
                   14817: 
                   14818: else
                   14819:   ac_cv_header_stdc=no
                   14820: fi
                   14821: rm -f conftest*
                   14822: 
                   14823: fi
                   14824: 
                   14825: if test $ac_cv_header_stdc = yes; then
                   14826:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   14827:   if test "$cross_compiling" = yes; then :
                   14828:   :
                   14829: else
                   14830:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14831: /* end confdefs.h.  */
                   14832: #include <ctype.h>
                   14833: #include <stdlib.h>
                   14834: #if ((' ' & 0x0FF) == 0x020)
                   14835: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   14836: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   14837: #else
                   14838: # define ISLOWER(c) \
                   14839:                   (('a' <= (c) && (c) <= 'i') \
                   14840:                     || ('j' <= (c) && (c) <= 'r') \
                   14841:                     || ('s' <= (c) && (c) <= 'z'))
                   14842: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   14843: #endif
                   14844: 
                   14845: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   14846: int
                   14847: main ()
                   14848: {
                   14849:   int i;
                   14850:   for (i = 0; i < 256; i++)
                   14851:     if (XOR (islower (i), ISLOWER (i))
                   14852:        || toupper (i) != TOUPPER (i))
                   14853:       return 2;
                   14854:   return 0;
                   14855: }
                   14856: _ACEOF
                   14857: if ac_fn_c_try_run "$LINENO"; then :
                   14858: 
                   14859: else
                   14860:   ac_cv_header_stdc=no
                   14861: fi
                   14862: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14863:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14864: fi
                   14865: 
                   14866: fi
                   14867: fi
                   14868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   14869: $as_echo "$ac_cv_header_stdc" >&6; }
                   14870: if test $ac_cv_header_stdc = yes; then
                   14871: 
                   14872: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   14873: 
                   14874: fi
                   14875: 
1.1.1.2 ! misho    14876: for ac_header in unistd.h string.h strings.h sys/stat.h windows.h
1.1       misho    14877: do :
1.1.1.2 ! misho    14878:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          14879: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          14880: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    14881:   cat >>confdefs.h <<_ACEOF
1.1.1.2 ! misho    14882: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misho    14883: _ACEOF
                   14884: 
                   14885: fi
                   14886: 
                   14887: done
                   14888: 
                   14889: 
                   14890: # Checks for typedefs, structures, and compiler characteristics.
                   14891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   14892: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
1.1.1.2 ! misho    14893: if ${ac_cv_c_const+:} false; then :
1.1       misho    14894:   $as_echo_n "(cached) " >&6
                   14895: else
                   14896:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14897: /* end confdefs.h.  */
                   14898: 
                   14899: int
                   14900: main ()
                   14901: {
1.1.1.2 ! misho    14902: 
1.1       misho    14903: #ifndef __cplusplus
1.1.1.2 ! misho    14904:   /* Ultrix mips cc rejects this sort of thing.  */
1.1       misho    14905:   typedef int charset[2];
1.1.1.2 ! misho    14906:   const charset cs = { 0, 0 };
1.1       misho    14907:   /* SunOS 4.1.1 cc rejects this.  */
                   14908:   char const *const *pcpcc;
                   14909:   char **ppc;
                   14910:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   14911:   struct point {int x, y;};
                   14912:   static struct point const zero = {0,0};
                   14913:   /* AIX XL C 1.02.0.0 rejects this.
                   14914:      It does not let you subtract one const X* pointer from another in
                   14915:      an arm of an if-expression whose if-part is not a constant
                   14916:      expression */
                   14917:   const char *g = "string";
                   14918:   pcpcc = &g + (g ? g-g : 0);
                   14919:   /* HPUX 7.0 cc rejects these. */
                   14920:   ++pcpcc;
                   14921:   ppc = (char**) pcpcc;
                   14922:   pcpcc = (char const *const *) ppc;
1.1.1.2 ! misho    14923:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
        !          14924:     char tx;
        !          14925:     char *t = &tx;
1.1       misho    14926:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   14927: 
                   14928:     *t++ = 0;
                   14929:     if (s) return 0;
                   14930:   }
                   14931:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   14932:     int x[] = {25, 17};
                   14933:     const int *foo = &x[0];
                   14934:     ++foo;
                   14935:   }
                   14936:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   14937:     typedef const int *iptr;
                   14938:     iptr p = 0;
                   14939:     ++p;
                   14940:   }
1.1.1.2 ! misho    14941:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1.1       misho    14942:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1.1.1.2 ! misho    14943:     struct s { int j; const int *ap[3]; } bx;
        !          14944:     struct s *b = &bx; b->j = 5;
1.1       misho    14945:   }
                   14946:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   14947:     const int foo = 10;
                   14948:     if (!foo) return 0;
                   14949:   }
                   14950:   return !cs[0] && !zero.x;
                   14951: #endif
                   14952: 
                   14953:   ;
                   14954:   return 0;
                   14955: }
                   14956: _ACEOF
                   14957: if ac_fn_c_try_compile "$LINENO"; then :
                   14958:   ac_cv_c_const=yes
                   14959: else
                   14960:   ac_cv_c_const=no
                   14961: fi
                   14962: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14963: fi
                   14964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   14965: $as_echo "$ac_cv_c_const" >&6; }
                   14966: if test $ac_cv_c_const = no; then
                   14967: 
                   14968: $as_echo "#define const /**/" >>confdefs.h
                   14969: 
                   14970: fi
                   14971: 
                   14972: 
                   14973: # Checks for library functions.
1.1.1.2 ! misho    14974: for ac_func in fmemopen funopen reallocarray strcasecmp strdup strndup setenv unsetenv _putenv
1.1       misho    14975: do :
                   14976:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   14977: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.1.1.2 ! misho    14978: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       misho    14979:   cat >>confdefs.h <<_ACEOF
                   14980: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   14981: _ACEOF
                   14982: 
                   14983: fi
                   14984: done
                   14985: 
                   14986: 
1.1.1.2 ! misho    14987: # Set conditional includes in Makefile.am
        !          14988:  if test "x$ac_cv_func_fmemopen" = "xno"; then
        !          14989:   MISSING_FMEMOPEN_TRUE=
        !          14990:   MISSING_FMEMOPEN_FALSE='#'
1.1       misho    14991: else
1.1.1.2 ! misho    14992:   MISSING_FMEMOPEN_TRUE='#'
        !          14993:   MISSING_FMEMOPEN_FALSE=
1.1       misho    14994: fi
                   14995: 
1.1.1.2 ! misho    14996:  if test "x$ac_cv_func_reallocarray" = "xno"; then
        !          14997:   MISSING_REALLOCARRAY_TRUE=
        !          14998:   MISSING_REALLOCARRAY_FALSE='#'
1.1       misho    14999: else
1.1.1.2 ! misho    15000:   MISSING_REALLOCARRAY_TRUE='#'
        !          15001:   MISSING_REALLOCARRAY_FALSE=
1.1       misho    15002: fi
                   15003: 
1.1.1.2 ! misho    15004:  if test "x$ac_cv_header_windows_h" = "xyes"; then
        !          15005:   WINDOWS_BUILD_TRUE=
        !          15006:   WINDOWS_BUILD_FALSE='#'
        !          15007: else
        !          15008:   WINDOWS_BUILD_TRUE='#'
        !          15009:   WINDOWS_BUILD_FALSE=
1.1       misho    15010: fi
                   15011: 
                   15012: 
1.1.1.2 ! misho    15013: # Files to generate
1.1       misho    15014: ac_config_files="$ac_config_files Makefile src/Makefile examples/Makefile po/Makefile.in m4/Makefile tests/Makefile doc/Makefile doc/Doxyfile libconfuse.pc libconfuse.spec"
                   15015: 
                   15016: cat >confcache <<\_ACEOF
                   15017: # This file is a shell script that caches the results of configure
                   15018: # tests run on this system so they can be shared between configure
                   15019: # scripts and configure runs, see configure's option --config-cache.
                   15020: # It is not useful on other systems.  If it contains results you don't
                   15021: # want to keep, you may remove or edit it.
                   15022: #
                   15023: # config.status only pays attention to the cache file if you give it
                   15024: # the --recheck option to rerun configure.
                   15025: #
                   15026: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   15027: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   15028: # following values.
                   15029: 
                   15030: _ACEOF
                   15031: 
                   15032: # The following way of writing the cache mishandles newlines in values,
                   15033: # but we know of no workaround that is simple, portable, and efficient.
                   15034: # So, we kill variables containing newlines.
                   15035: # Ultrix sh set writes to stderr and can't be redirected directly,
                   15036: # and sets the high bit in the cache file unless we assign to the vars.
                   15037: (
                   15038:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   15039:     eval ac_val=\$$ac_var
                   15040:     case $ac_val in #(
                   15041:     *${as_nl}*)
                   15042:       case $ac_var in #(
                   15043:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   15044: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   15045:       esac
                   15046:       case $ac_var in #(
                   15047:       _ | IFS | as_nl) ;; #(
                   15048:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   15049:       *) { eval $ac_var=; unset $ac_var;} ;;
                   15050:       esac ;;
                   15051:     esac
                   15052:   done
                   15053: 
                   15054:   (set) 2>&1 |
                   15055:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   15056:     *${as_nl}ac_space=\ *)
                   15057:       # `set' does not quote correctly, so add quotes: double-quote
                   15058:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   15059:       sed -n \
                   15060:        "s/'/'\\\\''/g;
                   15061:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   15062:       ;; #(
                   15063:     *)
                   15064:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   15065:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   15066:       ;;
                   15067:     esac |
                   15068:     sort
                   15069: ) |
                   15070:   sed '
                   15071:      /^ac_cv_env_/b end
                   15072:      t clear
                   15073:      :clear
                   15074:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   15075:      t end
                   15076:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   15077:      :end' >>confcache
                   15078: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   15079:   if test -w "$cache_file"; then
1.1.1.2 ! misho    15080:     if test "x$cache_file" != "x/dev/null"; then
1.1       misho    15081:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   15082: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1.1.2 ! misho    15083:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          15084:        cat confcache >"$cache_file"
        !          15085:       else
        !          15086:         case $cache_file in #(
        !          15087:         */* | ?:*)
        !          15088:          mv -f confcache "$cache_file"$$ &&
        !          15089:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          15090:         *)
        !          15091:          mv -f confcache "$cache_file" ;;
        !          15092:        esac
        !          15093:       fi
        !          15094:     fi
1.1       misho    15095:   else
                   15096:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   15097: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   15098:   fi
                   15099: fi
                   15100: rm -f confcache
                   15101: 
                   15102: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   15103: # Let make expand exec_prefix.
                   15104: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   15105: 
                   15106: DEFS=-DHAVE_CONFIG_H
                   15107: 
                   15108: ac_libobjs=
                   15109: ac_ltlibobjs=
                   15110: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   15111:   # 1. Remove the extension, and $U if already installed.
                   15112:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   15113:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   15114:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   15115:   #    will be set to the directory where LIBOBJS objects are built.
                   15116:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   15117:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   15118: done
                   15119: LIBOBJS=$ac_libobjs
                   15120: 
                   15121: LTLIBOBJS=$ac_ltlibobjs
                   15122: 
                   15123: 
1.1.1.2 ! misho    15124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          15125: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          15126:    if test -n "$am_sleep_pid"; then
        !          15127:      # Hide warnings about reused PIDs.
        !          15128:      wait $am_sleep_pid 2>/dev/null
        !          15129:    fi
        !          15130:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          15131: $as_echo "done" >&6; }
1.1       misho    15132:  if test -n "$EXEEXT"; then
                   15133:   am__EXEEXT_TRUE=
                   15134:   am__EXEEXT_FALSE='#'
                   15135: else
                   15136:   am__EXEEXT_TRUE='#'
                   15137:   am__EXEEXT_FALSE=
                   15138: fi
                   15139: 
                   15140: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.1.1.2 ! misho    15141:   as_fn_error $? "conditional \"AMDEP\" was never defined.
1.1       misho    15142: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15143: fi
                   15144: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.1.1.2 ! misho    15145:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1.1       misho    15146: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15147: fi
                   15148: if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
1.1.1.2 ! misho    15149:   as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
        !          15150: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          15151: fi
        !          15152: if test -z "${MISSING_FMEMOPEN_TRUE}" && test -z "${MISSING_FMEMOPEN_FALSE}"; then
        !          15153:   as_fn_error $? "conditional \"MISSING_FMEMOPEN\" was never defined.
        !          15154: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          15155: fi
        !          15156: if test -z "${MISSING_REALLOCARRAY_TRUE}" && test -z "${MISSING_REALLOCARRAY_FALSE}"; then
        !          15157:   as_fn_error $? "conditional \"MISSING_REALLOCARRAY\" was never defined.
        !          15158: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          15159: fi
        !          15160: if test -z "${WINDOWS_BUILD_TRUE}" && test -z "${WINDOWS_BUILD_FALSE}"; then
        !          15161:   as_fn_error $? "conditional \"WINDOWS_BUILD\" was never defined.
1.1       misho    15162: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15163: fi
                   15164: 
1.1.1.2 ! misho    15165: : "${CONFIG_STATUS=./config.status}"
1.1       misho    15166: ac_write_fail=0
                   15167: ac_clean_files_save=$ac_clean_files
                   15168: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   15169: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   15170: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   15171: as_write_fail=0
                   15172: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   15173: #! $SHELL
                   15174: # Generated by $as_me.
                   15175: # Run this file to recreate the current configuration.
                   15176: # Compiler output produced by configure, useful for debugging
                   15177: # configure, is in config.log if it exists.
                   15178: 
                   15179: debug=false
                   15180: ac_cs_recheck=false
                   15181: ac_cs_silent=false
                   15182: 
                   15183: SHELL=\${CONFIG_SHELL-$SHELL}
                   15184: export SHELL
                   15185: _ASEOF
                   15186: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   15187: ## -------------------- ##
                   15188: ## M4sh Initialization. ##
                   15189: ## -------------------- ##
                   15190: 
                   15191: # Be more Bourne compatible
                   15192: DUALCASE=1; export DUALCASE # for MKS sh
                   15193: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   15194:   emulate sh
                   15195:   NULLCMD=:
                   15196:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   15197:   # is contrary to our usage.  Disable this feature.
                   15198:   alias -g '${1+"$@"}'='"$@"'
                   15199:   setopt NO_GLOB_SUBST
                   15200: else
                   15201:   case `(set -o) 2>/dev/null` in #(
                   15202:   *posix*) :
                   15203:     set -o posix ;; #(
                   15204:   *) :
                   15205:      ;;
                   15206: esac
                   15207: fi
                   15208: 
                   15209: 
                   15210: as_nl='
                   15211: '
                   15212: export as_nl
                   15213: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   15214: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   15215: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   15216: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   15217: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   15218: # but without wasting forks for bash or zsh.
                   15219: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   15220:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   15221:   as_echo='print -r --'
                   15222:   as_echo_n='print -rn --'
                   15223: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   15224:   as_echo='printf %s\n'
                   15225:   as_echo_n='printf %s'
                   15226: else
                   15227:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   15228:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   15229:     as_echo_n='/usr/ucb/echo -n'
                   15230:   else
                   15231:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   15232:     as_echo_n_body='eval
                   15233:       arg=$1;
                   15234:       case $arg in #(
                   15235:       *"$as_nl"*)
                   15236:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   15237:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   15238:       esac;
                   15239:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   15240:     '
                   15241:     export as_echo_n_body
                   15242:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   15243:   fi
                   15244:   export as_echo_body
                   15245:   as_echo='sh -c $as_echo_body as_echo'
                   15246: fi
                   15247: 
                   15248: # The user is always right.
                   15249: if test "${PATH_SEPARATOR+set}" != set; then
                   15250:   PATH_SEPARATOR=:
                   15251:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   15252:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   15253:       PATH_SEPARATOR=';'
                   15254:   }
                   15255: fi
                   15256: 
                   15257: 
                   15258: # IFS
                   15259: # We need space, tab and new line, in precisely that order.  Quoting is
                   15260: # there to prevent editors from complaining about space-tab.
                   15261: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   15262: # splitting by setting IFS to empty value.)
                   15263: IFS=" ""       $as_nl"
                   15264: 
                   15265: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2 ! misho    15266: as_myself=
1.1       misho    15267: case $0 in #((
                   15268:   *[\\/]* ) as_myself=$0 ;;
                   15269:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15270: for as_dir in $PATH
                   15271: do
                   15272:   IFS=$as_save_IFS
                   15273:   test -z "$as_dir" && as_dir=.
                   15274:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   15275:   done
                   15276: IFS=$as_save_IFS
                   15277: 
                   15278:      ;;
                   15279: esac
                   15280: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   15281: # in which case we are not to be found in the path.
                   15282: if test "x$as_myself" = x; then
                   15283:   as_myself=$0
                   15284: fi
                   15285: if test ! -f "$as_myself"; then
                   15286:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   15287:   exit 1
                   15288: fi
                   15289: 
                   15290: # Unset variables that we do not need and which cause bugs (e.g. in
                   15291: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   15292: # suppresses any "Segmentation fault" message there.  '((' could
                   15293: # trigger a bug in pdksh 5.2.14.
                   15294: for as_var in BASH_ENV ENV MAIL MAILPATH
                   15295: do eval test x\${$as_var+set} = xset \
                   15296:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   15297: done
                   15298: PS1='$ '
                   15299: PS2='> '
                   15300: PS4='+ '
                   15301: 
                   15302: # NLS nuisances.
                   15303: LC_ALL=C
                   15304: export LC_ALL
                   15305: LANGUAGE=C
                   15306: export LANGUAGE
                   15307: 
                   15308: # CDPATH.
                   15309: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   15310: 
                   15311: 
1.1.1.2 ! misho    15312: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !          15313: # ----------------------------------------
1.1       misho    15314: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   15315: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.1.1.2 ! misho    15316: # script with STATUS, using 1 if that was 0.
1.1       misho    15317: as_fn_error ()
                   15318: {
1.1.1.2 ! misho    15319:   as_status=$1; test $as_status -eq 0 && as_status=1
        !          15320:   if test "$4"; then
        !          15321:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          15322:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       misho    15323:   fi
1.1.1.2 ! misho    15324:   $as_echo "$as_me: error: $2" >&2
1.1       misho    15325:   as_fn_exit $as_status
                   15326: } # as_fn_error
                   15327: 
                   15328: 
                   15329: # as_fn_set_status STATUS
                   15330: # -----------------------
                   15331: # Set $? to STATUS, without forking.
                   15332: as_fn_set_status ()
                   15333: {
                   15334:   return $1
                   15335: } # as_fn_set_status
                   15336: 
                   15337: # as_fn_exit STATUS
                   15338: # -----------------
                   15339: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   15340: as_fn_exit ()
                   15341: {
                   15342:   set +e
                   15343:   as_fn_set_status $1
                   15344:   exit $1
                   15345: } # as_fn_exit
                   15346: 
                   15347: # as_fn_unset VAR
                   15348: # ---------------
                   15349: # Portably unset VAR.
                   15350: as_fn_unset ()
                   15351: {
                   15352:   { eval $1=; unset $1;}
                   15353: }
                   15354: as_unset=as_fn_unset
                   15355: # as_fn_append VAR VALUE
                   15356: # ----------------------
                   15357: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   15358: # advantage of any shell optimizations that allow amortized linear growth over
                   15359: # repeated appends, instead of the typical quadratic growth present in naive
                   15360: # implementations.
                   15361: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   15362:   eval 'as_fn_append ()
                   15363:   {
                   15364:     eval $1+=\$2
                   15365:   }'
                   15366: else
                   15367:   as_fn_append ()
                   15368:   {
                   15369:     eval $1=\$$1\$2
                   15370:   }
                   15371: fi # as_fn_append
                   15372: 
                   15373: # as_fn_arith ARG...
                   15374: # ------------------
                   15375: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   15376: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   15377: # must be portable across $(()) and expr.
                   15378: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   15379:   eval 'as_fn_arith ()
                   15380:   {
                   15381:     as_val=$(( $* ))
                   15382:   }'
                   15383: else
                   15384:   as_fn_arith ()
                   15385:   {
                   15386:     as_val=`expr "$@" || test $? -eq 1`
                   15387:   }
                   15388: fi # as_fn_arith
                   15389: 
                   15390: 
                   15391: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   15392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   15393:   as_expr=expr
                   15394: else
                   15395:   as_expr=false
                   15396: fi
                   15397: 
                   15398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   15399:   as_basename=basename
                   15400: else
                   15401:   as_basename=false
                   15402: fi
                   15403: 
                   15404: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   15405:   as_dirname=dirname
                   15406: else
                   15407:   as_dirname=false
                   15408: fi
                   15409: 
                   15410: as_me=`$as_basename -- "$0" ||
                   15411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   15412:         X"$0" : 'X\(//\)$' \| \
                   15413:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   15414: $as_echo X/"$0" |
                   15415:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   15416:            s//\1/
                   15417:            q
                   15418:          }
                   15419:          /^X\/\(\/\/\)$/{
                   15420:            s//\1/
                   15421:            q
                   15422:          }
                   15423:          /^X\/\(\/\).*/{
                   15424:            s//\1/
                   15425:            q
                   15426:          }
                   15427:          s/.*/./; q'`
                   15428: 
                   15429: # Avoid depending upon Character Ranges.
                   15430: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   15431: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   15432: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   15433: as_cr_digits='0123456789'
                   15434: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   15435: 
                   15436: ECHO_C= ECHO_N= ECHO_T=
                   15437: case `echo -n x` in #(((((
                   15438: -n*)
                   15439:   case `echo 'xy\c'` in
                   15440:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   15441:   xy)  ECHO_C='\c';;
                   15442:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   15443:        ECHO_T='        ';;
                   15444:   esac;;
                   15445: *)
                   15446:   ECHO_N='-n';;
                   15447: esac
                   15448: 
                   15449: rm -f conf$$ conf$$.exe conf$$.file
                   15450: if test -d conf$$.dir; then
                   15451:   rm -f conf$$.dir/conf$$.file
                   15452: else
                   15453:   rm -f conf$$.dir
                   15454:   mkdir conf$$.dir 2>/dev/null
                   15455: fi
                   15456: if (echo >conf$$.file) 2>/dev/null; then
                   15457:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   15458:     as_ln_s='ln -s'
                   15459:     # ... but there are two gotchas:
                   15460:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   15461:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.2 ! misho    15462:     # In both cases, we have to default to `cp -pR'.
1.1       misho    15463:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.2 ! misho    15464:       as_ln_s='cp -pR'
1.1       misho    15465:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   15466:     as_ln_s=ln
                   15467:   else
1.1.1.2 ! misho    15468:     as_ln_s='cp -pR'
1.1       misho    15469:   fi
                   15470: else
1.1.1.2 ! misho    15471:   as_ln_s='cp -pR'
1.1       misho    15472: fi
                   15473: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   15474: rmdir conf$$.dir 2>/dev/null
                   15475: 
                   15476: 
                   15477: # as_fn_mkdir_p
                   15478: # -------------
                   15479: # Create "$as_dir" as a directory, including parents if necessary.
                   15480: as_fn_mkdir_p ()
                   15481: {
                   15482: 
                   15483:   case $as_dir in #(
                   15484:   -*) as_dir=./$as_dir;;
                   15485:   esac
                   15486:   test -d "$as_dir" || eval $as_mkdir_p || {
                   15487:     as_dirs=
                   15488:     while :; do
                   15489:       case $as_dir in #(
                   15490:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   15491:       *) as_qdir=$as_dir;;
                   15492:       esac
                   15493:       as_dirs="'$as_qdir' $as_dirs"
                   15494:       as_dir=`$as_dirname -- "$as_dir" ||
                   15495: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15496:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   15497:         X"$as_dir" : 'X\(//\)$' \| \
                   15498:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   15499: $as_echo X"$as_dir" |
                   15500:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   15501:            s//\1/
                   15502:            q
                   15503:          }
                   15504:          /^X\(\/\/\)[^/].*/{
                   15505:            s//\1/
                   15506:            q
                   15507:          }
                   15508:          /^X\(\/\/\)$/{
                   15509:            s//\1/
                   15510:            q
                   15511:          }
                   15512:          /^X\(\/\).*/{
                   15513:            s//\1/
                   15514:            q
                   15515:          }
                   15516:          s/.*/./; q'`
                   15517:       test -d "$as_dir" && break
                   15518:     done
                   15519:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.1.1.2 ! misho    15520:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       misho    15521: 
                   15522: 
                   15523: } # as_fn_mkdir_p
                   15524: if mkdir -p . 2>/dev/null; then
                   15525:   as_mkdir_p='mkdir -p "$as_dir"'
                   15526: else
                   15527:   test -d ./-p && rmdir ./-p
                   15528:   as_mkdir_p=false
                   15529: fi
                   15530: 
1.1.1.2 ! misho    15531: 
        !          15532: # as_fn_executable_p FILE
        !          15533: # -----------------------
        !          15534: # Test if FILE is an executable regular file.
        !          15535: as_fn_executable_p ()
        !          15536: {
        !          15537:   test -f "$1" && test -x "$1"
        !          15538: } # as_fn_executable_p
        !          15539: as_test_x='test -x'
        !          15540: as_executable_p=as_fn_executable_p
1.1       misho    15541: 
                   15542: # Sed expression to map a string onto a valid CPP name.
                   15543: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   15544: 
                   15545: # Sed expression to map a string onto a valid variable name.
                   15546: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   15547: 
                   15548: 
                   15549: exec 6>&1
                   15550: ## ----------------------------------- ##
                   15551: ## Main body of $CONFIG_STATUS script. ##
                   15552: ## ----------------------------------- ##
                   15553: _ASEOF
                   15554: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   15555: 
                   15556: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15557: # Save the log message, to keep $0 and so on meaningful, and to
                   15558: # report actual input values of CONFIG_FILES etc. instead of their
                   15559: # values after options handling.
                   15560: ac_log="
1.1.1.2 ! misho    15561: This file was extended by libConfuse $as_me 3.3, which was
        !          15562: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    15563: 
                   15564:   CONFIG_FILES    = $CONFIG_FILES
                   15565:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   15566:   CONFIG_LINKS    = $CONFIG_LINKS
                   15567:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   15568:   $ $0 $@
                   15569: 
                   15570: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   15571: "
                   15572: 
                   15573: _ACEOF
                   15574: 
                   15575: case $ac_config_files in *"
                   15576: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   15577: esac
                   15578: 
                   15579: case $ac_config_headers in *"
                   15580: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   15581: esac
                   15582: 
                   15583: 
                   15584: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15585: # Files that config.status was made for.
                   15586: config_files="$ac_config_files"
                   15587: config_headers="$ac_config_headers"
                   15588: config_commands="$ac_config_commands"
                   15589: 
                   15590: _ACEOF
                   15591: 
                   15592: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15593: ac_cs_usage="\
                   15594: \`$as_me' instantiates files and other configuration actions
                   15595: from templates according to the current configuration.  Unless the files
                   15596: and actions are specified as TAGs, all are instantiated by default.
                   15597: 
                   15598: Usage: $0 [OPTION]... [TAG]...
                   15599: 
                   15600:   -h, --help       print this help, then exit
                   15601:   -V, --version    print version number and configuration settings, then exit
                   15602:       --config     print configuration, then exit
                   15603:   -q, --quiet, --silent
                   15604:                    do not print progress messages
                   15605:   -d, --debug      don't remove temporary files
                   15606:       --recheck    update $as_me by reconfiguring in the same conditions
                   15607:       --file=FILE[:TEMPLATE]
                   15608:                    instantiate the configuration file FILE
                   15609:       --header=FILE[:TEMPLATE]
                   15610:                    instantiate the configuration header FILE
                   15611: 
                   15612: Configuration files:
                   15613: $config_files
                   15614: 
                   15615: Configuration headers:
                   15616: $config_headers
                   15617: 
                   15618: Configuration commands:
                   15619: $config_commands
                   15620: 
1.1.1.2 ! misho    15621: Report bugs to <https://github.com/martinh/libconfuse/issues>."
1.1       misho    15622: 
                   15623: _ACEOF
                   15624: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15625: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   15626: ac_cs_version="\\
1.1.1.2 ! misho    15627: libConfuse config.status 3.3
        !          15628: configured by $0, generated by GNU Autoconf 2.69,
1.1       misho    15629:   with options \\"\$ac_cs_config\\"
                   15630: 
1.1.1.2 ! misho    15631: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    15632: This config.status script is free software; the Free Software Foundation
                   15633: gives unlimited permission to copy, distribute and modify it."
                   15634: 
                   15635: ac_pwd='$ac_pwd'
                   15636: srcdir='$srcdir'
                   15637: INSTALL='$INSTALL'
                   15638: MKDIR_P='$MKDIR_P'
                   15639: AWK='$AWK'
                   15640: test -n "\$AWK" || AWK=awk
                   15641: _ACEOF
                   15642: 
                   15643: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15644: # The default lists apply if the user does not specify any file.
                   15645: ac_need_defaults=:
                   15646: while test $# != 0
                   15647: do
                   15648:   case $1 in
1.1.1.2 ! misho    15649:   --*=?*)
1.1       misho    15650:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15651:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   15652:     ac_shift=:
                   15653:     ;;
1.1.1.2 ! misho    15654:   --*=)
        !          15655:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          15656:     ac_optarg=
        !          15657:     ac_shift=:
        !          15658:     ;;
1.1       misho    15659:   *)
                   15660:     ac_option=$1
                   15661:     ac_optarg=$2
                   15662:     ac_shift=shift
                   15663:     ;;
                   15664:   esac
                   15665: 
                   15666:   case $ac_option in
                   15667:   # Handling of the options.
                   15668:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   15669:     ac_cs_recheck=: ;;
                   15670:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   15671:     $as_echo "$ac_cs_version"; exit ;;
                   15672:   --config | --confi | --conf | --con | --co | --c )
                   15673:     $as_echo "$ac_cs_config"; exit ;;
                   15674:   --debug | --debu | --deb | --de | --d | -d )
                   15675:     debug=: ;;
                   15676:   --file | --fil | --fi | --f )
                   15677:     $ac_shift
                   15678:     case $ac_optarg in
                   15679:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1.1.2 ! misho    15680:     '') as_fn_error $? "missing file argument" ;;
1.1       misho    15681:     esac
                   15682:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   15683:     ac_need_defaults=false;;
                   15684:   --header | --heade | --head | --hea )
                   15685:     $ac_shift
                   15686:     case $ac_optarg in
                   15687:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   15688:     esac
                   15689:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   15690:     ac_need_defaults=false;;
                   15691:   --he | --h)
                   15692:     # Conflict between --help and --header
1.1.1.2 ! misho    15693:     as_fn_error $? "ambiguous option: \`$1'
1.1       misho    15694: Try \`$0 --help' for more information.";;
                   15695:   --help | --hel | -h )
                   15696:     $as_echo "$ac_cs_usage"; exit ;;
                   15697:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   15698:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   15699:     ac_cs_silent=: ;;
                   15700: 
                   15701:   # This is an error.
1.1.1.2 ! misho    15702:   -*) as_fn_error $? "unrecognized option: \`$1'
1.1       misho    15703: Try \`$0 --help' for more information." ;;
                   15704: 
                   15705:   *) as_fn_append ac_config_targets " $1"
                   15706:      ac_need_defaults=false ;;
                   15707: 
                   15708:   esac
                   15709:   shift
                   15710: done
                   15711: 
                   15712: ac_configure_extra_args=
                   15713: 
                   15714: if $ac_cs_silent; then
                   15715:   exec 6>/dev/null
                   15716:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   15717: fi
                   15718: 
                   15719: _ACEOF
                   15720: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15721: if \$ac_cs_recheck; then
1.1.1.2 ! misho    15722:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    15723:   shift
                   15724:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   15725:   CONFIG_SHELL='$SHELL'
                   15726:   export CONFIG_SHELL
                   15727:   exec "\$@"
                   15728: fi
                   15729: 
                   15730: _ACEOF
                   15731: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15732: exec 5>>config.log
                   15733: {
                   15734:   echo
                   15735:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   15736: ## Running $as_me. ##
                   15737: _ASBOX
                   15738:   $as_echo "$ac_log"
                   15739: } >&5
                   15740: 
                   15741: _ACEOF
                   15742: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15743: #
                   15744: # INIT-COMMANDS
                   15745: #
1.1.1.2 ! misho    15746: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.1       misho    15747: 
                   15748: 
                   15749: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   15750: # if CDPATH is set.
                   15751: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   15752: 
                   15753: sed_quote_subst='$sed_quote_subst'
                   15754: double_quote_subst='$double_quote_subst'
                   15755: delay_variable_subst='$delay_variable_subst'
1.1.1.2 ! misho    15756: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
        !          15757: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
        !          15758: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
        !          15759: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
        !          15760: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
        !          15761: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
        !          15762: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
        !          15763: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
        !          15764: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
        !          15765: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
        !          15766: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
        !          15767: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
        !          15768: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
        !          15769: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
        !          15770: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
        !          15771: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
        !          15772: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
        !          15773: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
        !          15774: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
        !          15775: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
        !          15776: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
        !          15777: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
        !          15778: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
        !          15779: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
        !          15780: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
        !          15781: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
        !          15782: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
        !          15783: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
        !          15784: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
        !          15785: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
        !          15786: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
        !          15787: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
        !          15788: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
        !          15789: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          15790: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          15791: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
        !          15792: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
        !          15793: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
        !          15794: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
        !          15795: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
        !          15796: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
        !          15797: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
        !          15798: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
        !          15799: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
        !          15800: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
        !          15801: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
        !          15802: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
        !          15803: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15804: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15805: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          15806: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
        !          15807: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
        !          15808: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
        !          15809: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
        !          15810: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
        !          15811: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
        !          15812: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
        !          15813: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
        !          15814: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
        !          15815: 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"`'
        !          15816: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
        !          15817: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          15818: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
        !          15819: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
        !          15820: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
        !          15821: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
        !          15822: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
        !          15823: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
        !          15824: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
        !          15825: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
        !          15826: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
        !          15827: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
        !          15828: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
        !          15829: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
        !          15830: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
        !          15831: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
        !          15832: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
        !          15833: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
        !          15834: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
        !          15835: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
        !          15836: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          15837: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
        !          15838: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
        !          15839: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          15840: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          15841: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
        !          15842: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
        !          15843: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          15844: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          15845: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          15846: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
        !          15847: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          15848: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
        !          15849: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          15850: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          15851: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          15852: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
        !          15853: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
        !          15854: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
        !          15855: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
        !          15856: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          15857: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
        !          15858: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
        !          15859: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
        !          15860: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
        !          15861: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
        !          15862: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
        !          15863: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
        !          15864: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
        !          15865: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
        !          15866: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          15867: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
        !          15868: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
        !          15869: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
        !          15870: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
        !          15871: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
        !          15872: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          15873: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
        !          15874: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
        !          15875: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
        !          15876: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
        !          15877: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
        !          15878: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15879: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15880: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
        !          15881: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
        !          15882: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
        !          15883: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
        !          15884: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
        !          15885: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
        !          15886: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
        !          15887: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
        !          15888: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
        !          15889: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
        !          15890: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
        !          15891: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
1.1       misho    15892: 
                   15893: LTCC='$LTCC'
                   15894: LTCFLAGS='$LTCFLAGS'
                   15895: compiler='$compiler_DEFAULT'
                   15896: 
1.1.1.2 ! misho    15897: # A function that is used when there is no print builtin or printf.
        !          15898: func_fallback_echo ()
        !          15899: {
        !          15900:   eval 'cat <<_LTECHO_EOF
        !          15901: \$1
        !          15902: _LTECHO_EOF'
        !          15903: }
        !          15904: 
1.1       misho    15905: # Quote evaled strings.
1.1.1.2 ! misho    15906: for var in AS \
        !          15907: DLLTOOL \
        !          15908: OBJDUMP \
        !          15909: SHELL \
        !          15910: ECHO \
        !          15911: PATH_SEPARATOR \
        !          15912: SED \
1.1       misho    15913: GREP \
                   15914: EGREP \
                   15915: FGREP \
                   15916: LD \
                   15917: NM \
                   15918: LN_S \
                   15919: lt_SP2NL \
                   15920: lt_NL2SP \
                   15921: reload_flag \
                   15922: deplibs_check_method \
                   15923: file_magic_cmd \
1.1.1.2 ! misho    15924: file_magic_glob \
        !          15925: want_nocaseglob \
        !          15926: sharedlib_from_linklib_cmd \
1.1       misho    15927: AR \
                   15928: AR_FLAGS \
1.1.1.2 ! misho    15929: archiver_list_spec \
1.1       misho    15930: STRIP \
                   15931: RANLIB \
                   15932: CC \
                   15933: CFLAGS \
                   15934: compiler \
                   15935: lt_cv_sys_global_symbol_pipe \
                   15936: lt_cv_sys_global_symbol_to_cdecl \
1.1.1.2 ! misho    15937: lt_cv_sys_global_symbol_to_import \
1.1       misho    15938: lt_cv_sys_global_symbol_to_c_name_address \
                   15939: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.1.1.2 ! misho    15940: lt_cv_nm_interface \
        !          15941: nm_file_list_spec \
        !          15942: lt_cv_truncate_bin \
1.1       misho    15943: lt_prog_compiler_no_builtin_flag \
                   15944: lt_prog_compiler_pic \
1.1.1.2 ! misho    15945: lt_prog_compiler_wl \
1.1       misho    15946: lt_prog_compiler_static \
                   15947: lt_cv_prog_compiler_c_o \
                   15948: need_locks \
1.1.1.2 ! misho    15949: MANIFEST_TOOL \
1.1       misho    15950: DSYMUTIL \
                   15951: NMEDIT \
                   15952: LIPO \
                   15953: OTOOL \
                   15954: OTOOL64 \
                   15955: shrext_cmds \
                   15956: export_dynamic_flag_spec \
                   15957: whole_archive_flag_spec \
                   15958: compiler_needs_object \
                   15959: with_gnu_ld \
                   15960: allow_undefined_flag \
                   15961: no_undefined_flag \
                   15962: hardcode_libdir_flag_spec \
                   15963: hardcode_libdir_separator \
                   15964: exclude_expsyms \
                   15965: include_expsyms \
                   15966: file_list_spec \
                   15967: variables_saved_for_relink \
                   15968: libname_spec \
                   15969: library_names_spec \
                   15970: soname_spec \
1.1.1.2 ! misho    15971: install_override_mode \
1.1       misho    15972: finish_eval \
                   15973: old_striplib \
                   15974: striplib; do
1.1.1.2 ! misho    15975:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1       misho    15976:     *[\\\\\\\`\\"\\\$]*)
1.1.1.2 ! misho    15977:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.1       misho    15978:       ;;
                   15979:     *)
                   15980:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   15981:       ;;
                   15982:     esac
                   15983: done
                   15984: 
                   15985: # Double-quote double-evaled strings.
                   15986: for var in reload_cmds \
                   15987: old_postinstall_cmds \
                   15988: old_postuninstall_cmds \
                   15989: old_archive_cmds \
                   15990: extract_expsyms_cmds \
                   15991: old_archive_from_new_cmds \
                   15992: old_archive_from_expsyms_cmds \
                   15993: archive_cmds \
                   15994: archive_expsym_cmds \
                   15995: module_cmds \
                   15996: module_expsym_cmds \
                   15997: export_symbols_cmds \
                   15998: prelink_cmds \
1.1.1.2 ! misho    15999: postlink_cmds \
1.1       misho    16000: postinstall_cmds \
                   16001: postuninstall_cmds \
                   16002: finish_cmds \
                   16003: sys_lib_search_path_spec \
1.1.1.2 ! misho    16004: configure_time_dlsearch_path \
        !          16005: configure_time_lt_sys_library_path; do
        !          16006:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1       misho    16007:     *[\\\\\\\`\\"\\\$]*)
1.1.1.2 ! misho    16008:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.1       misho    16009:       ;;
                   16010:     *)
                   16011:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   16012:       ;;
                   16013:     esac
                   16014: done
                   16015: 
                   16016: ac_aux_dir='$ac_aux_dir'
                   16017: 
1.1.1.2 ! misho    16018: # See if we are running on zsh, and set the options that allow our
1.1       misho    16019: # commands through without removal of \ escapes INIT.
1.1.1.2 ! misho    16020: if test -n "\${ZSH_VERSION+set}"; then
1.1       misho    16021:    setopt NO_GLOB_SUBST
                   16022: fi
                   16023: 
                   16024: 
                   16025:     PACKAGE='$PACKAGE'
                   16026:     VERSION='$VERSION'
                   16027:     RM='$RM'
                   16028:     ofile='$ofile'
                   16029: 
                   16030: 
                   16031: 
                   16032: # Capture the value of obsolete ALL_LINGUAS because we need it to compute
                   16033:     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
                   16034:     # from automake < 1.5.
                   16035:     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
                   16036:     # Capture the value of LINGUAS because we need it to compute CATALOGS.
                   16037:     LINGUAS="${LINGUAS-%UNSET%}"
                   16038: 
                   16039: 
                   16040: _ACEOF
                   16041: 
                   16042: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16043: 
                   16044: # Handling of arguments.
                   16045: for ac_config_target in $ac_config_targets
                   16046: do
                   16047:   case $ac_config_target in
                   16048:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   16049:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   16050:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   16051:     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
                   16052:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   16053:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   16054:     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
                   16055:     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
                   16056:     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
                   16057:     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
                   16058:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   16059:     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
                   16060:     "libconfuse.pc") CONFIG_FILES="$CONFIG_FILES libconfuse.pc" ;;
                   16061:     "libconfuse.spec") CONFIG_FILES="$CONFIG_FILES libconfuse.spec" ;;
                   16062: 
1.1.1.2 ! misho    16063:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    16064:   esac
                   16065: done
                   16066: 
                   16067: 
                   16068: # If the user did not use the arguments to specify the items to instantiate,
                   16069: # then the envvar interface is used.  Set only those that are not.
                   16070: # We use the long form for the default assignment because of an extremely
                   16071: # bizarre bug on SunOS 4.1.3.
                   16072: if $ac_need_defaults; then
                   16073:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   16074:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   16075:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   16076: fi
                   16077: 
                   16078: # Have a temporary directory for convenience.  Make it in the build tree
                   16079: # simply because there is no reason against having it here, and in addition,
                   16080: # creating and moving files from /tmp can sometimes cause problems.
                   16081: # Hook for its removal unless debugging.
                   16082: # Note that there is a small window in which the directory will not be cleaned:
                   16083: # after its creation but before its name has been assigned to `$tmp'.
                   16084: $debug ||
                   16085: {
1.1.1.2 ! misho    16086:   tmp= ac_tmp=
1.1       misho    16087:   trap 'exit_status=$?
1.1.1.2 ! misho    16088:   : "${ac_tmp:=$tmp}"
        !          16089:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    16090: ' 0
                   16091:   trap 'as_fn_exit 1' 1 2 13 15
                   16092: }
                   16093: # Create a (secure) tmp directory for tmp files.
                   16094: 
                   16095: {
                   16096:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.1.2 ! misho    16097:   test -d "$tmp"
1.1       misho    16098: }  ||
                   16099: {
                   16100:   tmp=./conf$$-$RANDOM
                   16101:   (umask 077 && mkdir "$tmp")
1.1.1.2 ! misho    16102: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
        !          16103: ac_tmp=$tmp
1.1       misho    16104: 
                   16105: # Set up the scripts for CONFIG_FILES section.
                   16106: # No need to generate them if there are no CONFIG_FILES.
                   16107: # This happens for instance with `./config.status config.h'.
                   16108: if test -n "$CONFIG_FILES"; then
                   16109: 
                   16110: 
                   16111: ac_cr=`echo X | tr X '\015'`
                   16112: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   16113: # But we know of no other shell where ac_cr would be empty at this
                   16114: # point, so we can use a bashism as a fallback.
                   16115: if test "x$ac_cr" = x; then
                   16116:   eval ac_cr=\$\'\\r\'
                   16117: fi
                   16118: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   16119: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.1.1.2 ! misho    16120:   ac_cs_awk_cr='\\r'
1.1       misho    16121: else
                   16122:   ac_cs_awk_cr=$ac_cr
                   16123: fi
                   16124: 
1.1.1.2 ! misho    16125: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1       misho    16126: _ACEOF
                   16127: 
                   16128: 
                   16129: {
                   16130:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   16131:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   16132:   echo "_ACEOF"
                   16133: } >conf$$subs.sh ||
1.1.1.2 ! misho    16134:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          16135: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1       misho    16136: ac_delim='%!_!# '
                   16137: for ac_last_try in false false false false false :; do
                   16138:   . ./conf$$subs.sh ||
1.1.1.2 ! misho    16139:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    16140: 
                   16141:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   16142:   if test $ac_delim_n = $ac_delim_num; then
                   16143:     break
                   16144:   elif $ac_last_try; then
1.1.1.2 ! misho    16145:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    16146:   else
                   16147:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   16148:   fi
                   16149: done
                   16150: rm -f conf$$subs.sh
                   16151: 
                   16152: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.2 ! misho    16153: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    16154: _ACEOF
                   16155: sed -n '
                   16156: h
                   16157: s/^/S["/; s/!.*/"]=/
                   16158: p
                   16159: g
                   16160: s/^[^!]*!//
                   16161: :repl
                   16162: t repl
                   16163: s/'"$ac_delim"'$//
                   16164: t delim
                   16165: :nl
                   16166: h
                   16167: s/\(.\{148\}\)..*/\1/
                   16168: t more1
                   16169: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   16170: p
                   16171: n
                   16172: b repl
                   16173: :more1
                   16174: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16175: p
                   16176: g
                   16177: s/.\{148\}//
                   16178: t nl
                   16179: :delim
                   16180: h
                   16181: s/\(.\{148\}\)..*/\1/
                   16182: t more2
                   16183: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   16184: p
                   16185: b
                   16186: :more2
                   16187: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16188: p
                   16189: g
                   16190: s/.\{148\}//
                   16191: t delim
                   16192: ' <conf$$subs.awk | sed '
                   16193: /^[^""]/{
                   16194:   N
                   16195:   s/\n//
                   16196: }
                   16197: ' >>$CONFIG_STATUS || ac_write_fail=1
                   16198: rm -f conf$$subs.awk
                   16199: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16200: _ACAWK
1.1.1.2 ! misho    16201: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.1       misho    16202:   for (key in S) S_is_set[key] = 1
                   16203:   FS = ""
                   16204: 
                   16205: }
                   16206: {
                   16207:   line = $ 0
                   16208:   nfields = split(line, field, "@")
                   16209:   substed = 0
                   16210:   len = length(field[1])
                   16211:   for (i = 2; i < nfields; i++) {
                   16212:     key = field[i]
                   16213:     keylen = length(key)
                   16214:     if (S_is_set[key]) {
                   16215:       value = S[key]
                   16216:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   16217:       len += length(value) + length(field[++i])
                   16218:       substed = 1
                   16219:     } else
                   16220:       len += 1 + keylen
                   16221:   }
                   16222: 
                   16223:   print line
                   16224: }
                   16225: 
                   16226: _ACAWK
                   16227: _ACEOF
                   16228: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16229: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   16230:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   16231: else
                   16232:   cat
1.1.1.2 ! misho    16233: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
        !          16234:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1       misho    16235: _ACEOF
                   16236: 
1.1.1.2 ! misho    16237: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
        !          16238: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       misho    16239: # trailing colons and then remove the whole line if VPATH becomes empty
                   16240: # (actually we leave an empty line to preserve line numbers).
                   16241: if test "x$srcdir" = x.; then
1.1.1.2 ! misho    16242:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
        !          16243: h
        !          16244: s///
        !          16245: s/^/:/
        !          16246: s/[     ]*$/:/
        !          16247: s/:\$(srcdir):/:/g
        !          16248: s/:\${srcdir}:/:/g
        !          16249: s/:@srcdir@:/:/g
        !          16250: s/^:*//
1.1       misho    16251: s/:*$//
1.1.1.2 ! misho    16252: x
        !          16253: s/\(=[  ]*\).*/\1/
        !          16254: G
        !          16255: s/\n//
1.1       misho    16256: s/^[^=]*=[      ]*$//
                   16257: }'
                   16258: fi
                   16259: 
                   16260: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16261: fi # test -n "$CONFIG_FILES"
                   16262: 
                   16263: # Set up the scripts for CONFIG_HEADERS section.
                   16264: # No need to generate them if there are no CONFIG_HEADERS.
                   16265: # This happens for instance with `./config.status Makefile'.
                   16266: if test -n "$CONFIG_HEADERS"; then
1.1.1.2 ! misho    16267: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.1       misho    16268: BEGIN {
                   16269: _ACEOF
                   16270: 
                   16271: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   16272: # here-document in config.status, that substitutes the proper values into
                   16273: # config.h.in to produce config.h.
                   16274: 
                   16275: # Create a delimiter string that does not exist in confdefs.h, to ease
                   16276: # handling of long lines.
                   16277: ac_delim='%!_!# '
                   16278: for ac_last_try in false false :; do
1.1.1.2 ! misho    16279:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
        !          16280:   if test -z "$ac_tt"; then
1.1       misho    16281:     break
                   16282:   elif $ac_last_try; then
1.1.1.2 ! misho    16283:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.1       misho    16284:   else
                   16285:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   16286:   fi
                   16287: done
                   16288: 
                   16289: # For the awk script, D is an array of macro values keyed by name,
                   16290: # likewise P contains macro parameters if any.  Preserve backslash
                   16291: # newline sequences.
                   16292: 
                   16293: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   16294: sed -n '
                   16295: s/.\{148\}/&'"$ac_delim"'/g
                   16296: t rset
                   16297: :rset
                   16298: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   16299: t def
                   16300: d
                   16301: :def
                   16302: s/\\$//
                   16303: t bsnl
                   16304: s/["\\]/\\&/g
                   16305: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   16306: D["\1"]=" \3"/p
                   16307: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   16308: d
                   16309: :bsnl
                   16310: s/["\\]/\\&/g
                   16311: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   16312: D["\1"]=" \3\\\\\\n"\\/p
                   16313: t cont
                   16314: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   16315: t cont
                   16316: d
                   16317: :cont
                   16318: n
                   16319: s/.\{148\}/&'"$ac_delim"'/g
                   16320: t clear
                   16321: :clear
                   16322: s/\\$//
                   16323: t bsnlc
                   16324: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   16325: d
                   16326: :bsnlc
                   16327: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   16328: b cont
                   16329: ' <confdefs.h | sed '
                   16330: s/'"$ac_delim"'/"\\\
                   16331: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   16332: 
                   16333: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16334:   for (key in D) D_is_set[key] = 1
                   16335:   FS = ""
                   16336: }
                   16337: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   16338:   line = \$ 0
                   16339:   split(line, arg, " ")
                   16340:   if (arg[1] == "#") {
                   16341:     defundef = arg[2]
                   16342:     mac1 = arg[3]
                   16343:   } else {
                   16344:     defundef = substr(arg[1], 2)
                   16345:     mac1 = arg[2]
                   16346:   }
                   16347:   split(mac1, mac2, "(") #)
                   16348:   macro = mac2[1]
                   16349:   prefix = substr(line, 1, index(line, defundef) - 1)
                   16350:   if (D_is_set[macro]) {
                   16351:     # Preserve the white space surrounding the "#".
                   16352:     print prefix "define", macro P[macro] D[macro]
                   16353:     next
                   16354:   } else {
                   16355:     # Replace #undef with comments.  This is necessary, for example,
                   16356:     # in the case of _POSIX_SOURCE, which is predefined and required
                   16357:     # on some systems where configure will not decide to define it.
                   16358:     if (defundef == "undef") {
                   16359:       print "/*", prefix defundef, macro, "*/"
                   16360:       next
                   16361:     }
                   16362:   }
                   16363: }
                   16364: { print }
                   16365: _ACAWK
                   16366: _ACEOF
                   16367: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.1.2 ! misho    16368:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.1       misho    16369: fi # test -n "$CONFIG_HEADERS"
                   16370: 
                   16371: 
                   16372: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   16373: shift
                   16374: for ac_tag
                   16375: do
                   16376:   case $ac_tag in
                   16377:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   16378:   esac
                   16379:   case $ac_mode$ac_tag in
                   16380:   :[FHL]*:*);;
1.1.1.2 ! misho    16381:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    16382:   :[FH]-) ac_tag=-:-;;
                   16383:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   16384:   esac
                   16385:   ac_save_IFS=$IFS
                   16386:   IFS=:
                   16387:   set x $ac_tag
                   16388:   IFS=$ac_save_IFS
                   16389:   shift
                   16390:   ac_file=$1
                   16391:   shift
                   16392: 
                   16393:   case $ac_mode in
                   16394:   :L) ac_source=$1;;
                   16395:   :[FH])
                   16396:     ac_file_inputs=
                   16397:     for ac_f
                   16398:     do
                   16399:       case $ac_f in
1.1.1.2 ! misho    16400:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    16401:       *) # Look for the file first in the build tree, then in the source tree
                   16402:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   16403:         # because $ac_f cannot contain `:'.
                   16404:         test -f "$ac_f" ||
                   16405:           case $ac_f in
                   16406:           [\\/$]*) false;;
                   16407:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   16408:           esac ||
1.1.1.2 ! misho    16409:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    16410:       esac
                   16411:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   16412:       as_fn_append ac_file_inputs " '$ac_f'"
                   16413:     done
                   16414: 
                   16415:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   16416:     # use $as_me), people would be surprised to read:
                   16417:     #    /* config.h.  Generated by config.status.  */
                   16418:     configure_input='Generated from '`
                   16419:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   16420:        `' by configure.'
                   16421:     if test x"$ac_file" != x-; then
                   16422:       configure_input="$ac_file.  $configure_input"
                   16423:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   16424: $as_echo "$as_me: creating $ac_file" >&6;}
                   16425:     fi
                   16426:     # Neutralize special characters interpreted by sed in replacement strings.
                   16427:     case $configure_input in #(
                   16428:     *\&* | *\|* | *\\* )
                   16429:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   16430:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   16431:     *) ac_sed_conf_input=$configure_input;;
                   16432:     esac
                   16433: 
                   16434:     case $ac_tag in
1.1.1.2 ! misho    16435:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          16436:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    16437:     esac
                   16438:     ;;
                   16439:   esac
                   16440: 
                   16441:   ac_dir=`$as_dirname -- "$ac_file" ||
                   16442: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16443:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   16444:         X"$ac_file" : 'X\(//\)$' \| \
                   16445:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   16446: $as_echo X"$ac_file" |
                   16447:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16448:            s//\1/
                   16449:            q
                   16450:          }
                   16451:          /^X\(\/\/\)[^/].*/{
                   16452:            s//\1/
                   16453:            q
                   16454:          }
                   16455:          /^X\(\/\/\)$/{
                   16456:            s//\1/
                   16457:            q
                   16458:          }
                   16459:          /^X\(\/\).*/{
                   16460:            s//\1/
                   16461:            q
                   16462:          }
                   16463:          s/.*/./; q'`
                   16464:   as_dir="$ac_dir"; as_fn_mkdir_p
                   16465:   ac_builddir=.
                   16466: 
                   16467: case "$ac_dir" in
                   16468: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16469: *)
                   16470:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   16471:   # A ".." for each directory in $ac_dir_suffix.
                   16472:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   16473:   case $ac_top_builddir_sub in
                   16474:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16475:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   16476:   esac ;;
                   16477: esac
                   16478: ac_abs_top_builddir=$ac_pwd
                   16479: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   16480: # for backward compatibility:
                   16481: ac_top_builddir=$ac_top_build_prefix
                   16482: 
                   16483: case $srcdir in
                   16484:   .)  # We are building in place.
                   16485:     ac_srcdir=.
                   16486:     ac_top_srcdir=$ac_top_builddir_sub
                   16487:     ac_abs_top_srcdir=$ac_pwd ;;
                   16488:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   16489:     ac_srcdir=$srcdir$ac_dir_suffix;
                   16490:     ac_top_srcdir=$srcdir
                   16491:     ac_abs_top_srcdir=$srcdir ;;
                   16492:   *) # Relative name.
                   16493:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   16494:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   16495:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   16496: esac
                   16497: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   16498: 
                   16499: 
                   16500:   case $ac_mode in
                   16501:   :F)
                   16502:   #
                   16503:   # CONFIG_FILE
                   16504:   #
                   16505: 
                   16506:   case $INSTALL in
                   16507:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   16508:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   16509:   esac
                   16510:   ac_MKDIR_P=$MKDIR_P
                   16511:   case $MKDIR_P in
                   16512:   [\\/$]* | ?:[\\/]* ) ;;
                   16513:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   16514:   esac
                   16515: _ACEOF
                   16516: 
                   16517: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16518: # If the template does not know about datarootdir, expand it.
                   16519: # FIXME: This hack should be removed a few years after 2.60.
                   16520: ac_datarootdir_hack=; ac_datarootdir_seen=
                   16521: ac_sed_dataroot='
                   16522: /datarootdir/ {
                   16523:   p
                   16524:   q
                   16525: }
                   16526: /@datadir@/p
                   16527: /@docdir@/p
                   16528: /@infodir@/p
                   16529: /@localedir@/p
                   16530: /@mandir@/p'
                   16531: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   16532: *datarootdir*) ac_datarootdir_seen=yes;;
                   16533: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   16534:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   16535: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   16536: _ACEOF
                   16537: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16538:   ac_datarootdir_hack='
                   16539:   s&@datadir@&$datadir&g
                   16540:   s&@docdir@&$docdir&g
                   16541:   s&@infodir@&$infodir&g
                   16542:   s&@localedir@&$localedir&g
                   16543:   s&@mandir@&$mandir&g
                   16544:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   16545: esac
                   16546: _ACEOF
                   16547: 
                   16548: # Neutralize VPATH when `$srcdir' = `.'.
                   16549: # Shell code in configure.ac might set extrasub.
                   16550: # FIXME: do we really want to maintain this feature?
                   16551: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16552: ac_sed_extra="$ac_vpsub
                   16553: $extrasub
                   16554: _ACEOF
                   16555: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16556: :t
                   16557: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   16558: s|@configure_input@|$ac_sed_conf_input|;t t
                   16559: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   16560: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   16561: s&@srcdir@&$ac_srcdir&;t t
                   16562: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   16563: s&@top_srcdir@&$ac_top_srcdir&;t t
                   16564: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   16565: s&@builddir@&$ac_builddir&;t t
                   16566: s&@abs_builddir@&$ac_abs_builddir&;t t
                   16567: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   16568: s&@INSTALL@&$ac_INSTALL&;t t
                   16569: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   16570: $ac_datarootdir_hack
                   16571: "
1.1.1.2 ! misho    16572: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          16573:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    16574: 
                   16575: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.1.2 ! misho    16576:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          16577:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          16578:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1       misho    16579:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.1.2 ! misho    16580: which seems to be undefined.  Please make sure it is defined" >&5
1.1       misho    16581: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.1.2 ! misho    16582: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misho    16583: 
1.1.1.2 ! misho    16584:   rm -f "$ac_tmp/stdin"
1.1       misho    16585:   case $ac_file in
1.1.1.2 ! misho    16586:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          16587:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.1       misho    16588:   esac \
1.1.1.2 ! misho    16589:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    16590:  ;;
                   16591:   :H)
                   16592:   #
                   16593:   # CONFIG_HEADER
                   16594:   #
                   16595:   if test x"$ac_file" != x-; then
                   16596:     {
                   16597:       $as_echo "/* $configure_input  */" \
1.1.1.2 ! misho    16598:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        !          16599:     } >"$ac_tmp/config.h" \
        !          16600:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          16601:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1       misho    16602:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   16603: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   16604:     else
                   16605:       rm -f "$ac_file"
1.1.1.2 ! misho    16606:       mv "$ac_tmp/config.h" "$ac_file" \
        !          16607:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    16608:     fi
                   16609:   else
                   16610:     $as_echo "/* $configure_input  */" \
1.1.1.2 ! misho    16611:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
        !          16612:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       misho    16613:   fi
                   16614: # Compute "$ac_file"'s index in $config_headers.
                   16615: _am_arg="$ac_file"
                   16616: _am_stamp_count=1
                   16617: for _am_header in $config_headers :; do
                   16618:   case $_am_header in
                   16619:     $_am_arg | $_am_arg:* )
                   16620:       break ;;
                   16621:     * )
                   16622:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   16623:   esac
                   16624: done
                   16625: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   16626: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16627:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   16628:         X"$_am_arg" : 'X\(//\)$' \| \
                   16629:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   16630: $as_echo X"$_am_arg" |
                   16631:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16632:            s//\1/
                   16633:            q
                   16634:          }
                   16635:          /^X\(\/\/\)[^/].*/{
                   16636:            s//\1/
                   16637:            q
                   16638:          }
                   16639:          /^X\(\/\/\)$/{
                   16640:            s//\1/
                   16641:            q
                   16642:          }
                   16643:          /^X\(\/\).*/{
                   16644:            s//\1/
                   16645:            q
                   16646:          }
                   16647:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   16648:  ;;
                   16649: 
                   16650:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   16651: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   16652:  ;;
                   16653:   esac
                   16654: 
                   16655: 
                   16656:   case $ac_file$ac_mode in
                   16657:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.1.1.2 ! misho    16658:   # Older Autoconf quotes --file arguments for eval, but not when files
1.1       misho    16659:   # are listed without --file.  Let's play safe and only enable the eval
                   16660:   # if we detect the quoting.
1.1.1.2 ! misho    16661:   # TODO: see whether this extra hack can be removed once we start
        !          16662:   # requiring Autoconf 2.70 or later.
        !          16663:   case $CONFIG_FILES in #(
        !          16664:   *\'*) :
        !          16665:     eval set x "$CONFIG_FILES" ;; #(
        !          16666:   *) :
        !          16667:     set x $CONFIG_FILES ;; #(
        !          16668:   *) :
        !          16669:      ;;
        !          16670: esac
1.1       misho    16671:   shift
1.1.1.2 ! misho    16672:   # Used to flag and report bootstrapping failures.
        !          16673:   am_rc=0
        !          16674:   for am_mf
1.1       misho    16675:   do
                   16676:     # Strip MF so we end up with the name of the file.
1.1.1.2 ! misho    16677:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
        !          16678:     # Check whether this is an Automake generated Makefile which includes
        !          16679:     # dependency-tracking related rules and includes.
        !          16680:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.1       misho    16681:     # limit of 2048, but all sed's we know have understand at least 4000.
1.1.1.2 ! misho    16682:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
        !          16683:       || continue
        !          16684:     am_dirpart=`$as_dirname -- "$am_mf" ||
        !          16685: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          16686:         X"$am_mf" : 'X\(//\)[^/]' \| \
        !          16687:         X"$am_mf" : 'X\(//\)$' \| \
        !          16688:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          16689: $as_echo X"$am_mf" |
1.1       misho    16690:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16691:            s//\1/
                   16692:            q
                   16693:          }
                   16694:          /^X\(\/\/\)[^/].*/{
                   16695:            s//\1/
                   16696:            q
                   16697:          }
                   16698:          /^X\(\/\/\)$/{
                   16699:            s//\1/
                   16700:            q
                   16701:          }
                   16702:          /^X\(\/\).*/{
                   16703:            s//\1/
                   16704:            q
                   16705:          }
                   16706:          s/.*/./; q'`
1.1.1.2 ! misho    16707:     am_filepart=`$as_basename -- "$am_mf" ||
        !          16708: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
        !          16709:         X"$am_mf" : 'X\(//\)$' \| \
        !          16710:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          16711: $as_echo X/"$am_mf" |
        !          16712:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.1       misho    16713:            s//\1/
                   16714:            q
                   16715:          }
1.1.1.2 ! misho    16716:          /^X\/\(\/\/\)$/{
1.1       misho    16717:            s//\1/
                   16718:            q
                   16719:          }
1.1.1.2 ! misho    16720:          /^X\/\(\/\).*/{
1.1       misho    16721:            s//\1/
                   16722:            q
                   16723:          }
                   16724:          s/.*/./; q'`
1.1.1.2 ! misho    16725:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
        !          16726:       && sed -e '/# am--include-marker/d' "$am_filepart" \
        !          16727:         | $MAKE -f - am--depfiles" >&5
        !          16728:    (cd "$am_dirpart" \
        !          16729:       && sed -e '/# am--include-marker/d' "$am_filepart" \
        !          16730:         | $MAKE -f - am--depfiles) >&5 2>&5
        !          16731:    ac_status=$?
        !          16732:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          16733:    (exit $ac_status); } || am_rc=$?
1.1       misho    16734:   done
1.1.1.2 ! misho    16735:   if test $am_rc -ne 0; then
        !          16736:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          16737: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          16738: as_fn_error $? "Something went wrong bootstrapping makefile fragments
        !          16739:     for automatic dependency tracking.  Try re-running configure with the
        !          16740:     '--disable-dependency-tracking' option to at least be able to build
        !          16741:     the package (albeit without support for automatic dependency tracking).
        !          16742: See \`config.log' for more details" "$LINENO" 5; }
        !          16743:   fi
        !          16744:   { am_dirpart=; unset am_dirpart;}
        !          16745:   { am_filepart=; unset am_filepart;}
        !          16746:   { am_mf=; unset am_mf;}
        !          16747:   { am_rc=; unset am_rc;}
        !          16748:   rm -f conftest-deps.mk
1.1       misho    16749: }
                   16750:  ;;
                   16751:     "libtool":C)
                   16752: 
1.1.1.2 ! misho    16753:     # See if we are running on zsh, and set the options that allow our
1.1       misho    16754:     # commands through without removal of \ escapes.
1.1.1.2 ! misho    16755:     if test -n "${ZSH_VERSION+set}"; then
1.1       misho    16756:       setopt NO_GLOB_SUBST
                   16757:     fi
                   16758: 
1.1.1.2 ! misho    16759:     cfgfile=${ofile}T
1.1       misho    16760:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   16761:     $RM "$cfgfile"
                   16762: 
                   16763:     cat <<_LT_EOF >> "$cfgfile"
                   16764: #! $SHELL
1.1.1.2 ! misho    16765: # Generated automatically by $as_me ($PACKAGE) $VERSION
1.1       misho    16766: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.1.1.2 ! misho    16767: 
        !          16768: # Provide generalized library-building support services.
        !          16769: # Written by Gordon Matzigkeit, 1996
        !          16770: 
        !          16771: # Copyright (C) 2014 Free Software Foundation, Inc.
        !          16772: # This is free software; see the source for copying conditions.  There is NO
        !          16773: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        !          16774: 
        !          16775: # GNU Libtool is free software; you can redistribute it and/or modify
        !          16776: # it under the terms of the GNU General Public License as published by
        !          16777: # the Free Software Foundation; either version 2 of of the License, or
        !          16778: # (at your option) any later version.
1.1       misho    16779: #
1.1.1.2 ! misho    16780: # As a special exception to the GNU General Public License, if you
        !          16781: # distribute this file as part of a program or library that is built
        !          16782: # using GNU Libtool, you may include this file under the  same
        !          16783: # distribution terms that you use for the rest of that program.
1.1       misho    16784: #
1.1.1.2 ! misho    16785: # GNU Libtool is distributed in the hope that it will be useful, but
        !          16786: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.1       misho    16787: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   16788: # GNU General Public License for more details.
                   16789: #
                   16790: # You should have received a copy of the GNU General Public License
1.1.1.2 ! misho    16791: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.1       misho    16792: 
                   16793: 
                   16794: # The names of the tagged configurations supported by this script.
1.1.1.2 ! misho    16795: available_tags=''
1.1       misho    16796: 
1.1.1.2 ! misho    16797: # Configured defaults for sys_lib_dlsearch_path munging.
        !          16798: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.1       misho    16799: 
1.1.1.2 ! misho    16800: # ### BEGIN LIBTOOL CONFIG
1.1       misho    16801: 
                   16802: # Which release of libtool.m4 was used?
                   16803: macro_version=$macro_version
                   16804: macro_revision=$macro_revision
                   16805: 
1.1.1.2 ! misho    16806: # Assembler program.
        !          16807: AS=$lt_AS
        !          16808: 
        !          16809: # DLL creation program.
        !          16810: DLLTOOL=$lt_DLLTOOL
        !          16811: 
        !          16812: # Object dumper program.
        !          16813: OBJDUMP=$lt_OBJDUMP
        !          16814: 
        !          16815: # Whether or not to build shared libraries.
        !          16816: build_libtool_libs=$enable_shared
        !          16817: 
1.1       misho    16818: # Whether or not to build static libraries.
                   16819: build_old_libs=$enable_static
                   16820: 
                   16821: # What type of objects to build.
                   16822: pic_mode=$pic_mode
                   16823: 
                   16824: # Whether or not to optimize for fast installation.
                   16825: fast_install=$enable_fast_install
                   16826: 
1.1.1.2 ! misho    16827: # Shared archive member basename,for filename based shared library versioning on AIX.
        !          16828: shared_archive_member_spec=$shared_archive_member_spec
        !          16829: 
        !          16830: # Shell to use when invoking shell scripts.
        !          16831: SHELL=$lt_SHELL
        !          16832: 
        !          16833: # An echo program that protects backslashes.
        !          16834: ECHO=$lt_ECHO
        !          16835: 
        !          16836: # The PATH separator for the build system.
        !          16837: PATH_SEPARATOR=$lt_PATH_SEPARATOR
        !          16838: 
1.1       misho    16839: # The host system.
                   16840: host_alias=$host_alias
                   16841: host=$host
                   16842: host_os=$host_os
                   16843: 
                   16844: # The build system.
                   16845: build_alias=$build_alias
                   16846: build=$build
                   16847: build_os=$build_os
                   16848: 
                   16849: # A sed program that does not truncate output.
                   16850: SED=$lt_SED
                   16851: 
                   16852: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   16853: Xsed="\$SED -e 1s/^X//"
                   16854: 
                   16855: # A grep program that handles long lines.
                   16856: GREP=$lt_GREP
                   16857: 
                   16858: # An ERE matcher.
                   16859: EGREP=$lt_EGREP
                   16860: 
                   16861: # A literal string matcher.
                   16862: FGREP=$lt_FGREP
                   16863: 
                   16864: # A BSD- or MS-compatible name lister.
                   16865: NM=$lt_NM
                   16866: 
                   16867: # Whether we need soft or hard links.
                   16868: LN_S=$lt_LN_S
                   16869: 
                   16870: # What is the maximum length of a command?
                   16871: max_cmd_len=$max_cmd_len
                   16872: 
                   16873: # Object file suffix (normally "o").
                   16874: objext=$ac_objext
                   16875: 
                   16876: # Executable file suffix (normally "").
                   16877: exeext=$exeext
                   16878: 
                   16879: # whether the shell understands "unset".
                   16880: lt_unset=$lt_unset
                   16881: 
                   16882: # turn spaces into newlines.
                   16883: SP2NL=$lt_lt_SP2NL
                   16884: 
                   16885: # turn newlines into spaces.
                   16886: NL2SP=$lt_lt_NL2SP
                   16887: 
1.1.1.2 ! misho    16888: # convert \$build file names to \$host format.
        !          16889: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.1       misho    16890: 
1.1.1.2 ! misho    16891: # convert \$build files to toolchain format.
        !          16892: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       misho    16893: 
                   16894: # Method to check whether dependent libraries are shared objects.
                   16895: deplibs_check_method=$lt_deplibs_check_method
                   16896: 
1.1.1.2 ! misho    16897: # Command to use when deplibs_check_method = "file_magic".
1.1       misho    16898: file_magic_cmd=$lt_file_magic_cmd
                   16899: 
1.1.1.2 ! misho    16900: # How to find potential files when deplibs_check_method = "file_magic".
        !          16901: file_magic_glob=$lt_file_magic_glob
        !          16902: 
        !          16903: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
        !          16904: want_nocaseglob=$lt_want_nocaseglob
        !          16905: 
        !          16906: # Command to associate shared and link libraries.
        !          16907: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
        !          16908: 
1.1       misho    16909: # The archiver.
                   16910: AR=$lt_AR
1.1.1.2 ! misho    16911: 
        !          16912: # Flags to create an archive.
1.1       misho    16913: AR_FLAGS=$lt_AR_FLAGS
                   16914: 
1.1.1.2 ! misho    16915: # How to feed a file listing to the archiver.
        !          16916: archiver_list_spec=$lt_archiver_list_spec
        !          16917: 
1.1       misho    16918: # A symbol stripping program.
                   16919: STRIP=$lt_STRIP
                   16920: 
                   16921: # Commands used to install an old-style archive.
                   16922: RANLIB=$lt_RANLIB
                   16923: old_postinstall_cmds=$lt_old_postinstall_cmds
                   16924: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   16925: 
1.1.1.2 ! misho    16926: # Whether to use a lock for old archive extraction.
        !          16927: lock_old_archive_extraction=$lock_old_archive_extraction
        !          16928: 
1.1       misho    16929: # A C compiler.
                   16930: LTCC=$lt_CC
                   16931: 
                   16932: # LTCC compiler flags.
                   16933: LTCFLAGS=$lt_CFLAGS
                   16934: 
                   16935: # Take the output of nm and produce a listing of raw symbols and C names.
                   16936: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   16937: 
                   16938: # Transform the output of nm in a proper C declaration.
                   16939: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   16940: 
1.1.1.2 ! misho    16941: # Transform the output of nm into a list of symbols to manually relocate.
        !          16942: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
        !          16943: 
1.1       misho    16944: # Transform the output of nm in a C name address pair.
                   16945: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   16946: 
                   16947: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   16948: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   16949: 
1.1.1.2 ! misho    16950: # The name lister interface.
        !          16951: nm_interface=$lt_lt_cv_nm_interface
1.1       misho    16952: 
1.1.1.2 ! misho    16953: # Specify filename containing input files for \$NM.
        !          16954: nm_file_list_spec=$lt_nm_file_list_spec
1.1       misho    16955: 
1.1.1.2 ! misho    16956: # The root where to search for dependent libraries,and where our libraries should be installed.
        !          16957: lt_sysroot=$lt_sysroot
        !          16958: 
        !          16959: # Command to truncate a binary pipe.
        !          16960: lt_truncate_bin=$lt_lt_cv_truncate_bin
        !          16961: 
        !          16962: # The name of the directory that contains temporary libtool files.
        !          16963: objdir=$objdir
1.1       misho    16964: 
                   16965: # Used to examine libraries when file_magic_cmd begins with "file".
                   16966: MAGIC_CMD=$MAGIC_CMD
                   16967: 
                   16968: # Must we lock files when doing compilation?
                   16969: need_locks=$lt_need_locks
                   16970: 
1.1.1.2 ! misho    16971: # Manifest tool.
        !          16972: MANIFEST_TOOL=$lt_MANIFEST_TOOL
        !          16973: 
1.1       misho    16974: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   16975: DSYMUTIL=$lt_DSYMUTIL
                   16976: 
                   16977: # Tool to change global to local symbols on Mac OS X.
                   16978: NMEDIT=$lt_NMEDIT
                   16979: 
                   16980: # Tool to manipulate fat objects and archives on Mac OS X.
                   16981: LIPO=$lt_LIPO
                   16982: 
                   16983: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   16984: OTOOL=$lt_OTOOL
                   16985: 
                   16986: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   16987: OTOOL64=$lt_OTOOL64
                   16988: 
                   16989: # Old archive suffix (normally "a").
                   16990: libext=$libext
                   16991: 
                   16992: # Shared library suffix (normally ".so").
                   16993: shrext_cmds=$lt_shrext_cmds
                   16994: 
                   16995: # The commands to extract the exported symbol list from a shared archive.
                   16996: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   16997: 
                   16998: # Variables whose values should be saved in libtool wrapper scripts and
                   16999: # restored at link time.
                   17000: variables_saved_for_relink=$lt_variables_saved_for_relink
                   17001: 
                   17002: # Do we need the "lib" prefix for modules?
                   17003: need_lib_prefix=$need_lib_prefix
                   17004: 
                   17005: # Do we need a version for libraries?
                   17006: need_version=$need_version
                   17007: 
                   17008: # Library versioning type.
                   17009: version_type=$version_type
                   17010: 
                   17011: # Shared library runtime path variable.
                   17012: runpath_var=$runpath_var
                   17013: 
                   17014: # Shared library path variable.
                   17015: shlibpath_var=$shlibpath_var
                   17016: 
                   17017: # Is shlibpath searched before the hard-coded library search path?
                   17018: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   17019: 
                   17020: # Format of library name prefix.
                   17021: libname_spec=$lt_libname_spec
                   17022: 
                   17023: # List of archive names.  First name is the real one, the rest are links.
                   17024: # The last name is the one that the linker finds with -lNAME
                   17025: library_names_spec=$lt_library_names_spec
                   17026: 
                   17027: # The coded name of the library, if different from the real name.
                   17028: soname_spec=$lt_soname_spec
                   17029: 
1.1.1.2 ! misho    17030: # Permission mode override for installation of shared libraries.
        !          17031: install_override_mode=$lt_install_override_mode
        !          17032: 
1.1       misho    17033: # Command to use after installation of a shared archive.
                   17034: postinstall_cmds=$lt_postinstall_cmds
                   17035: 
                   17036: # Command to use after uninstallation of a shared archive.
                   17037: postuninstall_cmds=$lt_postuninstall_cmds
                   17038: 
                   17039: # Commands used to finish a libtool library installation in a directory.
                   17040: finish_cmds=$lt_finish_cmds
                   17041: 
                   17042: # As "finish_cmds", except a single script fragment to be evaled but
                   17043: # not shown.
                   17044: finish_eval=$lt_finish_eval
                   17045: 
                   17046: # Whether we should hardcode library paths into libraries.
                   17047: hardcode_into_libs=$hardcode_into_libs
                   17048: 
                   17049: # Compile-time system search path for libraries.
                   17050: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   17051: 
1.1.1.2 ! misho    17052: # Detected run-time system search path for libraries.
        !          17053: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
        !          17054: 
        !          17055: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
        !          17056: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.1       misho    17057: 
                   17058: # Whether dlopen is supported.
                   17059: dlopen_support=$enable_dlopen
                   17060: 
                   17061: # Whether dlopen of programs is supported.
                   17062: dlopen_self=$enable_dlopen_self
                   17063: 
                   17064: # Whether dlopen of statically linked programs is supported.
                   17065: dlopen_self_static=$enable_dlopen_self_static
                   17066: 
                   17067: # Commands to strip libraries.
                   17068: old_striplib=$lt_old_striplib
                   17069: striplib=$lt_striplib
                   17070: 
                   17071: 
                   17072: # The linker used to build libraries.
                   17073: LD=$lt_LD
                   17074: 
1.1.1.2 ! misho    17075: # How to create reloadable object files.
        !          17076: reload_flag=$lt_reload_flag
        !          17077: reload_cmds=$lt_reload_cmds
        !          17078: 
1.1       misho    17079: # Commands used to build an old-style archive.
                   17080: old_archive_cmds=$lt_old_archive_cmds
                   17081: 
                   17082: # A language specific compiler.
                   17083: CC=$lt_compiler
                   17084: 
                   17085: # Is the compiler the GNU compiler?
                   17086: with_gcc=$GCC
                   17087: 
                   17088: # Compiler flag to turn off builtin functions.
                   17089: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   17090: 
                   17091: # Additional compiler flags for building library objects.
                   17092: pic_flag=$lt_lt_prog_compiler_pic
                   17093: 
1.1.1.2 ! misho    17094: # How to pass a linker flag through the compiler.
        !          17095: wl=$lt_lt_prog_compiler_wl
        !          17096: 
1.1       misho    17097: # Compiler flag to prevent dynamic linking.
                   17098: link_static_flag=$lt_lt_prog_compiler_static
                   17099: 
                   17100: # Does compiler simultaneously support -c and -o options?
                   17101: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   17102: 
                   17103: # Whether or not to add -lc for building shared libraries.
                   17104: build_libtool_need_lc=$archive_cmds_need_lc
                   17105: 
                   17106: # Whether or not to disallow shared libs when runtime libs are static.
                   17107: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   17108: 
                   17109: # Compiler flag to allow reflexive dlopens.
                   17110: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   17111: 
                   17112: # Compiler flag to generate shared objects directly from archives.
                   17113: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   17114: 
                   17115: # Whether the compiler copes with passing no objects directly.
                   17116: compiler_needs_object=$lt_compiler_needs_object
                   17117: 
                   17118: # Create an old-style archive from a shared archive.
                   17119: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   17120: 
                   17121: # Create a temporary old-style archive to link instead of a shared archive.
                   17122: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   17123: 
                   17124: # Commands used to build a shared archive.
                   17125: archive_cmds=$lt_archive_cmds
                   17126: archive_expsym_cmds=$lt_archive_expsym_cmds
                   17127: 
                   17128: # Commands used to build a loadable module if different from building
                   17129: # a shared archive.
                   17130: module_cmds=$lt_module_cmds
                   17131: module_expsym_cmds=$lt_module_expsym_cmds
                   17132: 
                   17133: # Whether we are building with GNU ld or not.
                   17134: with_gnu_ld=$lt_with_gnu_ld
                   17135: 
                   17136: # Flag that allows shared libraries with undefined symbols to be built.
                   17137: allow_undefined_flag=$lt_allow_undefined_flag
                   17138: 
                   17139: # Flag that enforces no undefined symbols.
                   17140: no_undefined_flag=$lt_no_undefined_flag
                   17141: 
                   17142: # Flag to hardcode \$libdir into a binary during linking.
                   17143: # This must work even if \$libdir does not exist
                   17144: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   17145: 
                   17146: # Whether we need a single "-rpath" flag with a separated argument.
                   17147: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   17148: 
1.1.1.2 ! misho    17149: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.1       misho    17150: # DIR into the resulting binary.
                   17151: hardcode_direct=$hardcode_direct
                   17152: 
1.1.1.2 ! misho    17153: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.1       misho    17154: # DIR into the resulting binary and the resulting library dependency is
1.1.1.2 ! misho    17155: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
1.1       misho    17156: # library is relocated.
                   17157: hardcode_direct_absolute=$hardcode_direct_absolute
                   17158: 
                   17159: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   17160: # into the resulting binary.
                   17161: hardcode_minus_L=$hardcode_minus_L
                   17162: 
                   17163: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   17164: # into the resulting binary.
                   17165: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   17166: 
                   17167: # Set to "yes" if building a shared library automatically hardcodes DIR
                   17168: # into the library and all subsequent libraries and executables linked
                   17169: # against it.
                   17170: hardcode_automatic=$hardcode_automatic
                   17171: 
                   17172: # Set to yes if linker adds runtime paths of dependent libraries
                   17173: # to runtime path list.
                   17174: inherit_rpath=$inherit_rpath
                   17175: 
                   17176: # Whether libtool must link a program against all its dependency libraries.
                   17177: link_all_deplibs=$link_all_deplibs
                   17178: 
                   17179: # Set to "yes" if exported symbols are required.
                   17180: always_export_symbols=$always_export_symbols
                   17181: 
                   17182: # The commands to list exported symbols.
                   17183: export_symbols_cmds=$lt_export_symbols_cmds
                   17184: 
                   17185: # Symbols that should not be listed in the preloaded symbols.
                   17186: exclude_expsyms=$lt_exclude_expsyms
                   17187: 
                   17188: # Symbols that must always be exported.
                   17189: include_expsyms=$lt_include_expsyms
                   17190: 
                   17191: # Commands necessary for linking programs (against libraries) with templates.
                   17192: prelink_cmds=$lt_prelink_cmds
                   17193: 
1.1.1.2 ! misho    17194: # Commands necessary for finishing linking programs.
        !          17195: postlink_cmds=$lt_postlink_cmds
        !          17196: 
1.1       misho    17197: # Specify filename containing input files.
                   17198: file_list_spec=$lt_file_list_spec
                   17199: 
                   17200: # How to hardcode a shared library path into an executable.
                   17201: hardcode_action=$hardcode_action
                   17202: 
                   17203: # ### END LIBTOOL CONFIG
                   17204: 
                   17205: _LT_EOF
                   17206: 
1.1.1.2 ! misho    17207:     cat <<'_LT_EOF' >> "$cfgfile"
        !          17208: 
        !          17209: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
        !          17210: 
        !          17211: # func_munge_path_list VARIABLE PATH
        !          17212: # -----------------------------------
        !          17213: # VARIABLE is name of variable containing _space_ separated list of
        !          17214: # directories to be munged by the contents of PATH, which is string
        !          17215: # having a format:
        !          17216: # "DIR[:DIR]:"
        !          17217: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          17218: # ":DIR[:DIR]"
        !          17219: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          17220: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          17221: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          17222: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          17223: # "DIR[:DIR]"
        !          17224: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          17225: func_munge_path_list ()
        !          17226: {
        !          17227:     case x$2 in
        !          17228:     x)
        !          17229:         ;;
        !          17230:     *:)
        !          17231:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          17232:         ;;
        !          17233:     x:*)
        !          17234:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          17235:         ;;
        !          17236:     *::*)
        !          17237:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          17238:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          17239:         ;;
        !          17240:     *)
        !          17241:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          17242:         ;;
        !          17243:     esac
        !          17244: }
        !          17245: 
        !          17246: 
        !          17247: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          17248: func_cc_basename ()
        !          17249: {
        !          17250:     for cc_temp in $*""; do
        !          17251:       case $cc_temp in
        !          17252:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          17253:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          17254:         \-*) ;;
        !          17255:         *) break;;
        !          17256:       esac
        !          17257:     done
        !          17258:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          17259: }
        !          17260: 
        !          17261: 
        !          17262: # ### END FUNCTIONS SHARED WITH CONFIGURE
        !          17263: 
        !          17264: _LT_EOF
        !          17265: 
1.1       misho    17266:   case $host_os in
                   17267:   aix3*)
                   17268:     cat <<\_LT_EOF >> "$cfgfile"
                   17269: # AIX sometimes has problems with the GCC collect2 program.  For some
                   17270: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   17271: # vanish in a puff of smoke.
1.1.1.2 ! misho    17272: if test set != "${COLLECT_NAMES+set}"; then
1.1       misho    17273:   COLLECT_NAMES=
                   17274:   export COLLECT_NAMES
                   17275: fi
                   17276: _LT_EOF
                   17277:     ;;
                   17278:   esac
                   17279: 
                   17280: 
1.1.1.2 ! misho    17281: ltmain=$ac_aux_dir/ltmain.sh
1.1       misho    17282: 
                   17283: 
                   17284:   # We use sed instead of cat because bash on DJGPP gets confused if
                   17285:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   17286:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   17287:   # is reportedly fixed, but why not run on old versions too?
1.1.1.2 ! misho    17288:   sed '$q' "$ltmain" >> "$cfgfile" \
        !          17289:      || (rm -f "$cfgfile"; exit 1)
1.1       misho    17290: 
1.1.1.2 ! misho    17291:    mv -f "$cfgfile" "$ofile" ||
1.1       misho    17292:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   17293:   chmod +x "$ofile"
                   17294: 
                   17295:  ;;
                   17296:     "po-directories":C)
                   17297:     for ac_file in $CONFIG_FILES; do
                   17298:       # Support "outfile[:infile[:infile...]]"
                   17299:       case "$ac_file" in
                   17300:         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   17301:       esac
                   17302:       # PO directories have a Makefile.in generated from Makefile.in.in.
                   17303:       case "$ac_file" in */Makefile.in)
                   17304:         # Adjust a relative srcdir.
                   17305:         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
1.1.1.2 ! misho    17306:         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
1.1       misho    17307:         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
                   17308:         # In autoconf-2.13 it is called $ac_given_srcdir.
                   17309:         # In autoconf-2.50 it is called $srcdir.
                   17310:         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
                   17311:         case "$ac_given_srcdir" in
                   17312:           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
                   17313:           /*) top_srcdir="$ac_given_srcdir" ;;
                   17314:           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
                   17315:         esac
                   17316:         # Treat a directory as a PO directory if and only if it has a
                   17317:         # POTFILES.in file. This allows packages to have multiple PO
                   17318:         # directories under different names or in different locations.
                   17319:         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
                   17320:           rm -f "$ac_dir/POTFILES"
                   17321:           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
1.1.1.2 ! misho    17322:           gt_tab=`printf '\t'`
        !          17323:           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"
1.1       misho    17324:           POMAKEFILEDEPS="POTFILES.in"
                   17325:           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
                   17326:           # on $ac_dir but don't depend on user-specified configuration
                   17327:           # parameters.
                   17328:           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
                   17329:             # The LINGUAS file contains the set of available languages.
                   17330:             if test -n "$OBSOLETE_ALL_LINGUAS"; then
                   17331:               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
                   17332:             fi
                   17333:             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
1.1.1.2 ! misho    17334:             # Hide the ALL_LINGUAS assignment from automake < 1.5.
1.1       misho    17335:             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
                   17336:             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
                   17337:           else
                   17338:             # The set of available languages was given in configure.in.
1.1.1.2 ! misho    17339:             # Hide the ALL_LINGUAS assignment from automake < 1.5.
1.1       misho    17340:             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
                   17341:           fi
                   17342:           # Compute POFILES
                   17343:           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
                   17344:           # Compute UPDATEPOFILES
                   17345:           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
                   17346:           # Compute DUMMYPOFILES
                   17347:           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
                   17348:           # Compute GMOFILES
                   17349:           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
                   17350:           case "$ac_given_srcdir" in
                   17351:             .) srcdirpre= ;;
                   17352:             *) srcdirpre='$(srcdir)/' ;;
                   17353:           esac
                   17354:           POFILES=
                   17355:           UPDATEPOFILES=
                   17356:           DUMMYPOFILES=
                   17357:           GMOFILES=
                   17358:           for lang in $ALL_LINGUAS; do
                   17359:             POFILES="$POFILES $srcdirpre$lang.po"
                   17360:             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
                   17361:             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
                   17362:             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
                   17363:           done
                   17364:           # CATALOGS depends on both $ac_dir and the user's LINGUAS
                   17365:           # environment variable.
                   17366:           INST_LINGUAS=
                   17367:           if test -n "$ALL_LINGUAS"; then
                   17368:             for presentlang in $ALL_LINGUAS; do
                   17369:               useit=no
                   17370:               if test "%UNSET%" != "$LINGUAS"; then
                   17371:                 desiredlanguages="$LINGUAS"
                   17372:               else
                   17373:                 desiredlanguages="$ALL_LINGUAS"
                   17374:               fi
                   17375:               for desiredlang in $desiredlanguages; do
                   17376:                 # Use the presentlang catalog if desiredlang is
                   17377:                 #   a. equal to presentlang, or
                   17378:                 #   b. a variant of presentlang (because in this case,
                   17379:                 #      presentlang can be used as a fallback for messages
                   17380:                 #      which are not translated in the desiredlang catalog).
                   17381:                 case "$desiredlang" in
                   17382:                   "$presentlang"*) useit=yes;;
                   17383:                 esac
                   17384:               done
                   17385:               if test $useit = yes; then
                   17386:                 INST_LINGUAS="$INST_LINGUAS $presentlang"
                   17387:               fi
                   17388:             done
                   17389:           fi
                   17390:           CATALOGS=
                   17391:           if test -n "$INST_LINGUAS"; then
                   17392:             for lang in $INST_LINGUAS; do
                   17393:               CATALOGS="$CATALOGS $lang.gmo"
                   17394:             done
                   17395:           fi
                   17396:           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
                   17397:           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"
                   17398:           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
                   17399:             if test -f "$f"; then
                   17400:               case "$f" in
                   17401:                 *.orig | *.bak | *~) ;;
                   17402:                 *) cat "$f" >> "$ac_dir/Makefile" ;;
                   17403:               esac
                   17404:             fi
                   17405:           done
                   17406:         fi
                   17407:         ;;
                   17408:       esac
                   17409:     done ;;
                   17410: 
                   17411:   esac
                   17412: done # for ac_tag
                   17413: 
                   17414: 
                   17415: as_fn_exit 0
                   17416: _ACEOF
                   17417: ac_clean_files=$ac_clean_files_save
                   17418: 
                   17419: test $ac_write_fail = 0 ||
1.1.1.2 ! misho    17420:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.1       misho    17421: 
                   17422: 
                   17423: # configure is writing to config.log, and then calls config.status.
                   17424: # config.status does its own redirection, appending to config.log.
                   17425: # Unfortunately, on DOS this fails, as config.log is still kept open
                   17426: # by configure, so config.status won't be able to write to it; its
                   17427: # output is simply discarded.  So we exec the FD to /dev/null,
                   17428: # effectively closing config.log, so it can be properly (re)opened and
                   17429: # appended to by config.status.  When coming back to configure, we
                   17430: # need to make the FD available again.
                   17431: if test "$no_create" != yes; then
                   17432:   ac_cs_success=:
                   17433:   ac_config_status_args=
                   17434:   test "$silent" = yes &&
                   17435:     ac_config_status_args="$ac_config_status_args --quiet"
                   17436:   exec 5>/dev/null
                   17437:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   17438:   exec 5>>config.log
                   17439:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   17440:   # would make configure fail if this is the last instruction.
1.1.1.2 ! misho    17441:   $ac_cs_success || as_fn_exit 1
1.1       misho    17442: fi
                   17443: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   17444:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   17445: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   17446: fi
                   17447: 
                   17448: 

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