Annotation of embedaddon/pcre/configure, revision 1.1.1.5

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.5 ! misho       3: # Generated by GNU Autoconf 2.69 for PCRE 8.34.
1.1       misho       4: #
                      5: #
1.1.1.4   misho       6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       7: #
                      8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
                     11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
                     14: 
                     15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
                     17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     18:   emulate sh
                     19:   NULLCMD=:
                     20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
                     23:   setopt NO_GLOB_SUBST
                     24: else
                     25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
                     30: esac
                     31: fi
                     32: 
                     33: 
                     34: as_nl='
                     35: '
                     36: export as_nl
                     37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     41: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     42: # but without wasting forks for bash or zsh.
                     43: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     45:   as_echo='print -r --'
                     46:   as_echo_n='print -rn --'
                     47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     48:   as_echo='printf %s\n'
                     49:   as_echo_n='printf %s'
                     50: else
                     51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     53:     as_echo_n='/usr/ucb/echo -n'
                     54:   else
                     55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     56:     as_echo_n_body='eval
                     57:       arg=$1;
                     58:       case $arg in #(
                     59:       *"$as_nl"*)
                     60:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     62:       esac;
                     63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     64:     '
                     65:     export as_echo_n_body
                     66:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     67:   fi
                     68:   export as_echo_body
                     69:   as_echo='sh -c $as_echo_body as_echo'
                     70: fi
                     71: 
                     72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
                     74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
                     79: fi
                     80: 
                     81: 
                     82: # IFS
                     83: # We need space, tab and new line, in precisely that order.  Quoting is
                     84: # there to prevent editors from complaining about space-tab.
                     85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     86: # splitting by setting IFS to empty value.)
                     87: IFS=" ""       $as_nl"
                     88: 
                     89: # Find who we are.  Look in the path if we contain no directory separator.
                     90: as_myself=
                     91: case $0 in #((
                     92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
                     98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
                    100: IFS=$as_save_IFS
                    101: 
                    102:      ;;
                    103: esac
                    104: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    105: # in which case we are not to be found in the path.
                    106: if test "x$as_myself" = x; then
                    107:   as_myself=$0
                    108: fi
                    109: if test ! -f "$as_myself"; then
                    110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
                    112: fi
                    113: 
                    114: # Unset variables that we do not need and which cause bugs (e.g. in
                    115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    116: # suppresses any "Segmentation fault" message there.  '((' could
                    117: # trigger a bug in pdksh 5.2.14.
                    118: for as_var in BASH_ENV ENV MAIL MAILPATH
                    119: do eval test x\${$as_var+set} = xset \
                    120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    121: done
                    122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
                    127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
                    131: 
                    132: # CDPATH.
                    133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    134: 
1.1.1.4   misho     135: # Use a proper internal environment variable to ensure we don't fall
                    136:   # into an infinite loop, continuously re-executing ourselves.
                    137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    138:     _as_can_reexec=no; export _as_can_reexec;
                    139:     # We cannot yet assume a decent shell, so we have to provide a
                    140: # neutralization value for shells without unset; and this also
                    141: # works around shells that cannot unset nonexistent variables.
                    142: # Preserve -v and -x to the replacement shell.
                    143: BASH_ENV=/dev/null
                    144: ENV=/dev/null
                    145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    146: case $- in # ((((
                    147:   *v*x* | *x*v* ) as_opts=-vx ;;
                    148:   *v* ) as_opts=-v ;;
                    149:   *x* ) as_opts=-x ;;
                    150:   * ) as_opts= ;;
                    151: esac
                    152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    153: # Admittedly, this is quite paranoid, since all the known shells bail
                    154: # out after a failed `exec'.
                    155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    156: as_fn_exit 255
                    157:   fi
                    158:   # We don't want this to propagate to other subprocesses.
                    159:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     160: if test "x$CONFIG_SHELL" = x; then
                    161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    162:   emulate sh
                    163:   NULLCMD=:
                    164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    165:   # is contrary to our usage.  Disable this feature.
                    166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    167:   setopt NO_GLOB_SUBST
                    168: else
                    169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
                    175: fi
                    176: "
                    177:   as_required="as_fn_return () { (exit \$1); }
                    178: as_fn_success () { as_fn_return 0; }
                    179: as_fn_failure () { as_fn_return 1; }
                    180: as_fn_ret_success () { return 0; }
                    181: as_fn_ret_failure () { return 1; }
                    182: 
                    183: exitcode=0
                    184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    189: 
                    190: else
                    191:   exitcode=1; echo positional parameters were not saved.
                    192: fi
1.1.1.4   misho     193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
1.1       misho     195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    199: test \$(( 1 + 1 )) = 2 || exit 1
                    200: 
                    201:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    202:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    203:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    204:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    205:     PATH=/empty FPATH=/empty; export PATH FPATH
                    206:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    207:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
                    208:   if (eval "$as_required") 2>/dev/null; then :
                    209:   as_have_required=yes
                    210: else
                    211:   as_have_required=no
                    212: fi
                    213:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    214: 
                    215: else
                    216:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    217: as_found=false
                    218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    219: do
                    220:   IFS=$as_save_IFS
                    221:   test -z "$as_dir" && as_dir=.
                    222:   as_found=:
                    223:   case $as_dir in #(
                    224:         /*)
                    225:           for as_base in sh bash ksh sh5; do
                    226:             # Try only shells that exist, to save several forks.
                    227:             as_shell=$as_dir/$as_base
                    228:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    229:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    230:   CONFIG_SHELL=$as_shell as_have_required=yes
                    231:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   break 2
                    233: fi
                    234: fi
                    235:           done;;
                    236:        esac
                    237:   as_found=false
                    238: done
                    239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    240:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    241:   CONFIG_SHELL=$SHELL as_have_required=yes
                    242: fi; }
                    243: IFS=$as_save_IFS
                    244: 
                    245: 
                    246:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.4   misho     247:   export CONFIG_SHELL
                    248:              # We cannot yet assume a decent shell, so we have to provide a
                    249: # neutralization value for shells without unset; and this also
                    250: # works around shells that cannot unset nonexistent variables.
                    251: # Preserve -v and -x to the replacement shell.
                    252: BASH_ENV=/dev/null
                    253: ENV=/dev/null
                    254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    255: case $- in # ((((
                    256:   *v*x* | *x*v* ) as_opts=-vx ;;
                    257:   *v* ) as_opts=-v ;;
                    258:   *x* ) as_opts=-x ;;
                    259:   * ) as_opts= ;;
                    260: esac
                    261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    262: # Admittedly, this is quite paranoid, since all the known shells bail
                    263: # out after a failed `exec'.
                    264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    265: exit 255
1.1       misho     266: fi
                    267: 
                    268:     if test x$as_have_required = xno; then :
                    269:   $as_echo "$0: This script requires a shell more modern than all"
                    270:   $as_echo "$0: the shells that I found on your system."
                    271:   if test x${ZSH_VERSION+set} = xset ; then
                    272:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    273:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    274:   else
                    275:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    276: $0: including any error possibly output before this
                    277: $0: message. Then install a modern shell, or manually run
                    278: $0: the script under such a shell if you do have one."
                    279:   fi
                    280:   exit 1
                    281: fi
                    282: fi
                    283: fi
                    284: SHELL=${CONFIG_SHELL-/bin/sh}
                    285: export SHELL
                    286: # Unset more variables known to interfere with behavior of common tools.
                    287: CLICOLOR_FORCE= GREP_OPTIONS=
                    288: unset CLICOLOR_FORCE GREP_OPTIONS
                    289: 
                    290: ## --------------------- ##
                    291: ## M4sh Shell Functions. ##
                    292: ## --------------------- ##
                    293: # as_fn_unset VAR
                    294: # ---------------
                    295: # Portably unset VAR.
                    296: as_fn_unset ()
                    297: {
                    298:   { eval $1=; unset $1;}
                    299: }
                    300: as_unset=as_fn_unset
                    301: 
                    302: # as_fn_set_status STATUS
                    303: # -----------------------
                    304: # Set $? to STATUS, without forking.
                    305: as_fn_set_status ()
                    306: {
                    307:   return $1
                    308: } # as_fn_set_status
                    309: 
                    310: # as_fn_exit STATUS
                    311: # -----------------
                    312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    313: as_fn_exit ()
                    314: {
                    315:   set +e
                    316:   as_fn_set_status $1
                    317:   exit $1
                    318: } # as_fn_exit
                    319: 
                    320: # as_fn_mkdir_p
                    321: # -------------
                    322: # Create "$as_dir" as a directory, including parents if necessary.
                    323: as_fn_mkdir_p ()
                    324: {
                    325: 
                    326:   case $as_dir in #(
                    327:   -*) as_dir=./$as_dir;;
                    328:   esac
                    329:   test -d "$as_dir" || eval $as_mkdir_p || {
                    330:     as_dirs=
                    331:     while :; do
                    332:       case $as_dir in #(
                    333:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    334:       *) as_qdir=$as_dir;;
                    335:       esac
                    336:       as_dirs="'$as_qdir' $as_dirs"
                    337:       as_dir=`$as_dirname -- "$as_dir" ||
                    338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    339:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    340:         X"$as_dir" : 'X\(//\)$' \| \
                    341:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    342: $as_echo X"$as_dir" |
                    343:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\/\)[^/].*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          /^X\(\/\/\)$/{
                    352:            s//\1/
                    353:            q
                    354:          }
                    355:          /^X\(\/\).*/{
                    356:            s//\1/
                    357:            q
                    358:          }
                    359:          s/.*/./; q'`
                    360:       test -d "$as_dir" && break
                    361:     done
                    362:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    363:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    364: 
                    365: 
                    366: } # as_fn_mkdir_p
1.1.1.4   misho     367: 
                    368: # as_fn_executable_p FILE
                    369: # -----------------------
                    370: # Test if FILE is an executable regular file.
                    371: as_fn_executable_p ()
                    372: {
                    373:   test -f "$1" && test -x "$1"
                    374: } # as_fn_executable_p
1.1       misho     375: # as_fn_append VAR VALUE
                    376: # ----------------------
                    377: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    378: # advantage of any shell optimizations that allow amortized linear growth over
                    379: # repeated appends, instead of the typical quadratic growth present in naive
                    380: # implementations.
                    381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    382:   eval 'as_fn_append ()
                    383:   {
                    384:     eval $1+=\$2
                    385:   }'
                    386: else
                    387:   as_fn_append ()
                    388:   {
                    389:     eval $1=\$$1\$2
                    390:   }
                    391: fi # as_fn_append
                    392: 
                    393: # as_fn_arith ARG...
                    394: # ------------------
                    395: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    397: # must be portable across $(()) and expr.
                    398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    399:   eval 'as_fn_arith ()
                    400:   {
                    401:     as_val=$(( $* ))
                    402:   }'
                    403: else
                    404:   as_fn_arith ()
                    405:   {
                    406:     as_val=`expr "$@" || test $? -eq 1`
                    407:   }
                    408: fi # as_fn_arith
                    409: 
                    410: 
                    411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    412: # ----------------------------------------
                    413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    415: # script with STATUS, using 1 if that was 0.
                    416: as_fn_error ()
                    417: {
                    418:   as_status=$1; test $as_status -eq 0 && as_status=1
                    419:   if test "$4"; then
                    420:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    421:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    422:   fi
                    423:   $as_echo "$as_me: error: $2" >&2
                    424:   as_fn_exit $as_status
                    425: } # as_fn_error
                    426: 
                    427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
                    434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
                    440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    441:   as_dirname=dirname
                    442: else
                    443:   as_dirname=false
                    444: fi
                    445: 
                    446: as_me=`$as_basename -- "$0" ||
                    447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
                    449:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    450: $as_echo X/"$0" |
                    451:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          /^X\/\(\/\/\)$/{
                    456:            s//\1/
                    457:            q
                    458:          }
                    459:          /^X\/\(\/\).*/{
                    460:            s//\1/
                    461:            q
                    462:          }
                    463:          s/.*/./; q'`
                    464: 
                    465: # Avoid depending upon Character Ranges.
                    466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    469: as_cr_digits='0123456789'
                    470: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    471: 
                    472: 
                    473:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    474:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    475:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    476:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    477:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    478:   sed -n '
                    479:     p
                    480:     /[$]LINENO/=
                    481:   ' <$as_myself |
                    482:     sed '
                    483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
                    487:       N
                    488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    490:       t loop
                    491:       s/-\n.*//
                    492:     ' >$as_me.lineno &&
                    493:   chmod +x "$as_me.lineno" ||
                    494:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    495: 
1.1.1.4   misho     496:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    497:   # already done that, so ensure we don't try to do so again and fall
                    498:   # in an infinite loop.  This has already happened in practice.
                    499:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     500:   # Don't try to exec as it changes $[0], causing all sort of problems
                    501:   # (the dirname of $[0] is not the place where we might find the
                    502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
                    504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
                    508: ECHO_C= ECHO_N= ECHO_T=
                    509: case `echo -n x` in #(((((
                    510: -n*)
                    511:   case `echo 'xy\c'` in
                    512:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    513:   xy)  ECHO_C='\c';;
                    514:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    515:        ECHO_T='        ';;
                    516:   esac;;
                    517: *)
                    518:   ECHO_N='-n';;
                    519: esac
                    520: 
                    521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
                    524: else
                    525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
                    527: fi
                    528: if (echo >conf$$.file) 2>/dev/null; then
                    529:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s='ln -s'
                    531:     # ... but there are two gotchas:
                    532:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    533:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.4   misho     534:     # In both cases, we have to default to `cp -pR'.
1.1       misho     535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.4   misho     536:       as_ln_s='cp -pR'
1.1       misho     537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.1.1.4   misho     540:     as_ln_s='cp -pR'
1.1       misho     541:   fi
                    542: else
1.1.1.4   misho     543:   as_ln_s='cp -pR'
1.1       misho     544: fi
                    545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
                    547: 
                    548: if mkdir -p . 2>/dev/null; then
                    549:   as_mkdir_p='mkdir -p "$as_dir"'
                    550: else
                    551:   test -d ./-p && rmdir ./-p
                    552:   as_mkdir_p=false
                    553: fi
                    554: 
1.1.1.4   misho     555: as_test_x='test -x'
                    556: as_executable_p=as_fn_executable_p
1.1       misho     557: 
                    558: # Sed expression to map a string onto a valid CPP name.
                    559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    560: 
                    561: # Sed expression to map a string onto a valid variable name.
                    562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    563: 
                    564: SHELL=${CONFIG_SHELL-/bin/sh}
                    565: 
                    566: 
                    567: test -n "$DJDIR" || exec 7<&0 </dev/null
                    568: exec 6>&1
                    569: 
                    570: # Name of the host.
                    571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    572: # so uname gets run too.
                    573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    574: 
                    575: #
                    576: # Initializations.
                    577: #
                    578: ac_default_prefix=/usr/local
                    579: ac_clean_files=
                    580: ac_config_libobj_dir=.
                    581: LIBOBJS=
                    582: cross_compiling=no
                    583: subdirs=
                    584: MFLAGS=
                    585: MAKEFLAGS=
                    586: 
                    587: # Identity of this package.
                    588: PACKAGE_NAME='PCRE'
                    589: PACKAGE_TARNAME='pcre'
1.1.1.5 ! misho     590: PACKAGE_VERSION='8.34'
        !           591: PACKAGE_STRING='PCRE 8.34'
1.1       misho     592: PACKAGE_BUGREPORT=''
                    593: PACKAGE_URL=''
                    594: 
                    595: ac_unique_file="pcre.h.in"
                    596: # Factoring default headers for most tests.
                    597: ac_includes_default="\
                    598: #include <stdio.h>
                    599: #ifdef HAVE_SYS_TYPES_H
                    600: # include <sys/types.h>
                    601: #endif
                    602: #ifdef HAVE_SYS_STAT_H
                    603: # include <sys/stat.h>
                    604: #endif
                    605: #ifdef STDC_HEADERS
                    606: # include <stdlib.h>
                    607: # include <stddef.h>
                    608: #else
                    609: # ifdef HAVE_STDLIB_H
                    610: #  include <stdlib.h>
                    611: # endif
                    612: #endif
                    613: #ifdef HAVE_STRING_H
                    614: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    615: #  include <memory.h>
                    616: # endif
                    617: # include <string.h>
                    618: #endif
                    619: #ifdef HAVE_STRINGS_H
                    620: # include <strings.h>
                    621: #endif
                    622: #ifdef HAVE_INTTYPES_H
                    623: # include <inttypes.h>
                    624: #endif
                    625: #ifdef HAVE_STDINT_H
                    626: # include <stdint.h>
                    627: #endif
                    628: #ifdef HAVE_UNISTD_H
                    629: # include <unistd.h>
                    630: #endif"
                    631: 
                    632: ac_subst_vars='am__EXEEXT_FALSE
                    633: am__EXEEXT_TRUE
                    634: LTLIBOBJS
                    635: LIBOBJS
1.1.1.4   misho     636: WITH_GCOV_FALSE
                    637: WITH_GCOV_TRUE
                    638: GCOV_LIBS
                    639: GCOV_CXXFLAGS
                    640: GCOV_CFLAGS
                    641: GENHTML
                    642: LCOV
                    643: SHTOOL
                    644: VALGRIND_LIBS
                    645: VALGRIND_CFLAGS
                    646: PKG_CONFIG_LIBDIR
                    647: PKG_CONFIG_PATH
                    648: PKG_CONFIG
1.1       misho     649: LIBBZ2
                    650: LIBZ
                    651: DISTCHECK_CONFIGURE_FLAGS
                    652: EXTRA_LIBPCRECPP_LDFLAGS
                    653: EXTRA_LIBPCREPOSIX_LDFLAGS
1.1.1.4   misho     654: EXTRA_LIBPCRE32_LDFLAGS
1.1.1.2   misho     655: EXTRA_LIBPCRE16_LDFLAGS
1.1       misho     656: EXTRA_LIBPCRE_LDFLAGS
1.1.1.4   misho     657: PTHREAD_CFLAGS
                    658: PTHREAD_LIBS
                    659: PTHREAD_CC
                    660: ax_pthread_config
1.1       misho     661: PCRE_STATIC_CFLAG
1.1.1.2   misho     662: LIBREADLINE
1.1.1.4   misho     663: WITH_VALGRIND_FALSE
                    664: WITH_VALGRIND_TRUE
1.1.1.2   misho     665: WITH_UTF_FALSE
                    666: WITH_UTF_TRUE
1.1       misho     667: WITH_JIT_FALSE
                    668: WITH_JIT_TRUE
                    669: WITH_REBUILD_CHARTABLES_FALSE
                    670: WITH_REBUILD_CHARTABLES_TRUE
                    671: WITH_PCRE_CPP_FALSE
                    672: WITH_PCRE_CPP_TRUE
1.1.1.4   misho     673: WITH_PCRE32_FALSE
                    674: WITH_PCRE32_TRUE
1.1.1.2   misho     675: WITH_PCRE16_FALSE
                    676: WITH_PCRE16_TRUE
                    677: WITH_PCRE8_FALSE
                    678: WITH_PCRE8_TRUE
1.1       misho     679: pcre_have_bits_type_traits
                    680: pcre_have_type_traits
                    681: pcre_have_ulong_long
                    682: pcre_have_long_long
                    683: enable_cpp
1.1.1.4   misho     684: enable_pcre32
1.1.1.2   misho     685: enable_pcre16
                    686: enable_pcre8
1.1       misho     687: PCRE_DATE
                    688: PCRE_PRERELEASE
                    689: PCRE_MINOR
                    690: PCRE_MAJOR
1.1.1.4   misho     691: HAVE_VISIBILITY
                    692: VISIBILITY_CXXFLAGS
                    693: VISIBILITY_CFLAGS
1.1       misho     694: CXXCPP
                    695: OTOOL64
                    696: OTOOL
                    697: LIPO
                    698: NMEDIT
                    699: DSYMUTIL
                    700: MANIFEST_TOOL
                    701: RANLIB
                    702: LN_S
                    703: NM
                    704: ac_ct_DUMPBIN
                    705: DUMPBIN
                    706: LD
                    707: FGREP
                    708: SED
                    709: LIBTOOL
                    710: OBJDUMP
                    711: DLLTOOL
                    712: AS
                    713: host_os
                    714: host_vendor
                    715: host_cpu
                    716: host
                    717: build_os
                    718: build_vendor
                    719: build_cpu
                    720: build
                    721: EGREP
                    722: GREP
                    723: CPP
                    724: am__fastdepCXX_FALSE
                    725: am__fastdepCXX_TRUE
                    726: CXXDEPMODE
                    727: ac_ct_CXX
                    728: CXXFLAGS
                    729: CXX
                    730: am__fastdepCC_FALSE
                    731: am__fastdepCC_TRUE
                    732: CCDEPMODE
1.1.1.4   misho     733: am__nodep
1.1       misho     734: AMDEPBACKSLASH
                    735: AMDEP_FALSE
                    736: AMDEP_TRUE
                    737: am__quote
                    738: am__include
                    739: DEPDIR
                    740: OBJEXT
                    741: EXEEXT
                    742: ac_ct_CC
                    743: CPPFLAGS
                    744: LDFLAGS
                    745: CFLAGS
                    746: CC
1.1.1.4   misho     747: ac_ct_AR
                    748: AR
1.1.1.2   misho     749: AM_BACKSLASH
                    750: AM_DEFAULT_VERBOSITY
1.1.1.4   misho     751: AM_DEFAULT_V
                    752: AM_V
1.1       misho     753: am__untar
                    754: am__tar
                    755: AMTAR
                    756: am__leading_dot
                    757: SET_MAKE
                    758: AWK
                    759: mkdir_p
                    760: MKDIR_P
                    761: INSTALL_STRIP_PROGRAM
                    762: STRIP
                    763: install_sh
                    764: MAKEINFO
                    765: AUTOHEADER
                    766: AUTOMAKE
                    767: AUTOCONF
                    768: ACLOCAL
                    769: VERSION
                    770: PACKAGE
                    771: CYGPATH_W
                    772: am__isrc
                    773: INSTALL_DATA
                    774: INSTALL_SCRIPT
                    775: INSTALL_PROGRAM
                    776: target_alias
                    777: host_alias
                    778: build_alias
                    779: LIBS
                    780: ECHO_T
                    781: ECHO_N
                    782: ECHO_C
                    783: DEFS
                    784: mandir
                    785: localedir
                    786: libdir
                    787: psdir
                    788: pdfdir
                    789: dvidir
                    790: htmldir
                    791: infodir
                    792: docdir
                    793: oldincludedir
                    794: includedir
                    795: localstatedir
                    796: sharedstatedir
                    797: sysconfdir
                    798: datadir
                    799: datarootdir
                    800: libexecdir
                    801: sbindir
                    802: bindir
                    803: program_transform_name
                    804: prefix
                    805: exec_prefix
                    806: PACKAGE_URL
                    807: PACKAGE_BUGREPORT
                    808: PACKAGE_STRING
                    809: PACKAGE_VERSION
                    810: PACKAGE_TARNAME
                    811: PACKAGE_NAME
                    812: PATH_SEPARATOR
                    813: SHELL'
                    814: ac_subst_files=''
                    815: ac_user_opts='
                    816: enable_option_checking
1.1.1.2   misho     817: enable_silent_rules
1.1       misho     818: enable_dependency_tracking
                    819: enable_shared
                    820: enable_static
                    821: with_pic
                    822: enable_fast_install
                    823: with_gnu_ld
                    824: with_sysroot
                    825: enable_libtool_lock
1.1.1.2   misho     826: enable_pcre8
                    827: enable_pcre16
1.1.1.4   misho     828: enable_pcre32
1.1       misho     829: enable_cpp
                    830: enable_jit
                    831: enable_pcregrep_jit
                    832: enable_rebuild_chartables
                    833: enable_utf8
1.1.1.2   misho     834: enable_utf
1.1       misho     835: enable_unicode_properties
                    836: enable_newline_is_cr
                    837: enable_newline_is_lf
                    838: enable_newline_is_crlf
                    839: enable_newline_is_anycrlf
                    840: enable_newline_is_any
                    841: enable_bsr_anycrlf
                    842: enable_ebcdic
1.1.1.4   misho     843: enable_ebcdic_nl25
1.1       misho     844: enable_stack_for_recursion
                    845: enable_pcregrep_libz
                    846: enable_pcregrep_libbz2
                    847: with_pcregrep_bufsize
1.1.1.3   misho     848: enable_pcretest_libedit
1.1       misho     849: enable_pcretest_libreadline
                    850: with_posix_malloc_threshold
                    851: with_link_size
1.1.1.5 ! misho     852: with_parens_nest_limit
1.1       misho     853: with_match_limit
                    854: with_match_limit_recursion
1.1.1.4   misho     855: enable_valgrind
                    856: enable_coverage
1.1       misho     857: '
                    858:       ac_precious_vars='build_alias
                    859: host_alias
                    860: target_alias
                    861: CC
                    862: CFLAGS
                    863: LDFLAGS
                    864: LIBS
                    865: CPPFLAGS
                    866: CXX
                    867: CXXFLAGS
                    868: CCC
                    869: CPP
1.1.1.4   misho     870: CXXCPP
                    871: PKG_CONFIG
                    872: PKG_CONFIG_PATH
                    873: PKG_CONFIG_LIBDIR
                    874: VALGRIND_CFLAGS
                    875: VALGRIND_LIBS
                    876: LCOV
                    877: GENHTML'
1.1       misho     878: 
                    879: 
                    880: # Initialize some variables set by options.
                    881: ac_init_help=
                    882: ac_init_version=false
                    883: ac_unrecognized_opts=
                    884: ac_unrecognized_sep=
                    885: # The variables have the same names as the options, with
                    886: # dashes changed to underlines.
                    887: cache_file=/dev/null
                    888: exec_prefix=NONE
                    889: no_create=
                    890: no_recursion=
                    891: prefix=NONE
                    892: program_prefix=NONE
                    893: program_suffix=NONE
                    894: program_transform_name=s,x,x,
                    895: silent=
                    896: site=
                    897: srcdir=
                    898: verbose=
                    899: x_includes=NONE
                    900: x_libraries=NONE
                    901: 
                    902: # Installation directory options.
                    903: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    904: # and all the variables that are supposed to be based on exec_prefix
                    905: # by default will actually change.
                    906: # Use braces instead of parens because sh, perl, etc. also accept them.
                    907: # (The list follows the same order as the GNU Coding Standards.)
                    908: bindir='${exec_prefix}/bin'
                    909: sbindir='${exec_prefix}/sbin'
                    910: libexecdir='${exec_prefix}/libexec'
                    911: datarootdir='${prefix}/share'
                    912: datadir='${datarootdir}'
                    913: sysconfdir='${prefix}/etc'
                    914: sharedstatedir='${prefix}/com'
                    915: localstatedir='${prefix}/var'
                    916: includedir='${prefix}/include'
                    917: oldincludedir='/usr/include'
                    918: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    919: infodir='${datarootdir}/info'
                    920: htmldir='${docdir}'
                    921: dvidir='${docdir}'
                    922: pdfdir='${docdir}'
                    923: psdir='${docdir}'
                    924: libdir='${exec_prefix}/lib'
                    925: localedir='${datarootdir}/locale'
                    926: mandir='${datarootdir}/man'
                    927: 
                    928: ac_prev=
                    929: ac_dashdash=
                    930: for ac_option
                    931: do
                    932:   # If the previous option needs an argument, assign it.
                    933:   if test -n "$ac_prev"; then
                    934:     eval $ac_prev=\$ac_option
                    935:     ac_prev=
                    936:     continue
                    937:   fi
                    938: 
                    939:   case $ac_option in
                    940:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    941:   *=)   ac_optarg= ;;
                    942:   *)    ac_optarg=yes ;;
                    943:   esac
                    944: 
                    945:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    946: 
                    947:   case $ac_dashdash$ac_option in
                    948:   --)
                    949:     ac_dashdash=yes ;;
                    950: 
                    951:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    952:     ac_prev=bindir ;;
                    953:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    954:     bindir=$ac_optarg ;;
                    955: 
                    956:   -build | --build | --buil | --bui | --bu)
                    957:     ac_prev=build_alias ;;
                    958:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    959:     build_alias=$ac_optarg ;;
                    960: 
                    961:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    962:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    963:     ac_prev=cache_file ;;
                    964:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    965:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    966:     cache_file=$ac_optarg ;;
                    967: 
                    968:   --config-cache | -C)
                    969:     cache_file=config.cache ;;
                    970: 
                    971:   -datadir | --datadir | --datadi | --datad)
                    972:     ac_prev=datadir ;;
                    973:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    974:     datadir=$ac_optarg ;;
                    975: 
                    976:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    977:   | --dataroo | --dataro | --datar)
                    978:     ac_prev=datarootdir ;;
                    979:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    980:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    981:     datarootdir=$ac_optarg ;;
                    982: 
                    983:   -disable-* | --disable-*)
                    984:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    985:     # Reject names that are not valid shell variable names.
                    986:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    987:       as_fn_error $? "invalid feature name: $ac_useropt"
                    988:     ac_useropt_orig=$ac_useropt
                    989:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    990:     case $ac_user_opts in
                    991:       *"
                    992: "enable_$ac_useropt"
                    993: "*) ;;
                    994:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    995:         ac_unrecognized_sep=', ';;
                    996:     esac
                    997:     eval enable_$ac_useropt=no ;;
                    998: 
                    999:   -docdir | --docdir | --docdi | --doc | --do)
                   1000:     ac_prev=docdir ;;
                   1001:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                   1002:     docdir=$ac_optarg ;;
                   1003: 
                   1004:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                   1005:     ac_prev=dvidir ;;
                   1006:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                   1007:     dvidir=$ac_optarg ;;
                   1008: 
                   1009:   -enable-* | --enable-*)
                   1010:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                   1011:     # Reject names that are not valid shell variable names.
                   1012:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1013:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1014:     ac_useropt_orig=$ac_useropt
                   1015:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1016:     case $ac_user_opts in
                   1017:       *"
                   1018: "enable_$ac_useropt"
                   1019: "*) ;;
                   1020:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                   1021:         ac_unrecognized_sep=', ';;
                   1022:     esac
                   1023:     eval enable_$ac_useropt=\$ac_optarg ;;
                   1024: 
                   1025:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1026:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1027:   | --exec | --exe | --ex)
                   1028:     ac_prev=exec_prefix ;;
                   1029:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1030:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1031:   | --exec=* | --exe=* | --ex=*)
                   1032:     exec_prefix=$ac_optarg ;;
                   1033: 
                   1034:   -gas | --gas | --ga | --g)
                   1035:     # Obsolete; use --with-gas.
                   1036:     with_gas=yes ;;
                   1037: 
                   1038:   -help | --help | --hel | --he | -h)
                   1039:     ac_init_help=long ;;
                   1040:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1041:     ac_init_help=recursive ;;
                   1042:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1043:     ac_init_help=short ;;
                   1044: 
                   1045:   -host | --host | --hos | --ho)
                   1046:     ac_prev=host_alias ;;
                   1047:   -host=* | --host=* | --hos=* | --ho=*)
                   1048:     host_alias=$ac_optarg ;;
                   1049: 
                   1050:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1051:     ac_prev=htmldir ;;
                   1052:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1053:   | --ht=*)
                   1054:     htmldir=$ac_optarg ;;
                   1055: 
                   1056:   -includedir | --includedir | --includedi | --included | --include \
                   1057:   | --includ | --inclu | --incl | --inc)
                   1058:     ac_prev=includedir ;;
                   1059:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1060:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1061:     includedir=$ac_optarg ;;
                   1062: 
                   1063:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1064:     ac_prev=infodir ;;
                   1065:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1066:     infodir=$ac_optarg ;;
                   1067: 
                   1068:   -libdir | --libdir | --libdi | --libd)
                   1069:     ac_prev=libdir ;;
                   1070:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1071:     libdir=$ac_optarg ;;
                   1072: 
                   1073:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1074:   | --libexe | --libex | --libe)
                   1075:     ac_prev=libexecdir ;;
                   1076:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1077:   | --libexe=* | --libex=* | --libe=*)
                   1078:     libexecdir=$ac_optarg ;;
                   1079: 
                   1080:   -localedir | --localedir | --localedi | --localed | --locale)
                   1081:     ac_prev=localedir ;;
                   1082:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1083:     localedir=$ac_optarg ;;
                   1084: 
                   1085:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1086:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1087:     ac_prev=localstatedir ;;
                   1088:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1089:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1090:     localstatedir=$ac_optarg ;;
                   1091: 
                   1092:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1093:     ac_prev=mandir ;;
                   1094:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1095:     mandir=$ac_optarg ;;
                   1096: 
                   1097:   -nfp | --nfp | --nf)
                   1098:     # Obsolete; use --without-fp.
                   1099:     with_fp=no ;;
                   1100: 
                   1101:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1102:   | --no-cr | --no-c | -n)
                   1103:     no_create=yes ;;
                   1104: 
                   1105:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1106:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1107:     no_recursion=yes ;;
                   1108: 
                   1109:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1110:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1111:   | --oldin | --oldi | --old | --ol | --o)
                   1112:     ac_prev=oldincludedir ;;
                   1113:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1114:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1115:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1116:     oldincludedir=$ac_optarg ;;
                   1117: 
                   1118:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1119:     ac_prev=prefix ;;
                   1120:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1121:     prefix=$ac_optarg ;;
                   1122: 
                   1123:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1124:   | --program-pre | --program-pr | --program-p)
                   1125:     ac_prev=program_prefix ;;
                   1126:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1127:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1128:     program_prefix=$ac_optarg ;;
                   1129: 
                   1130:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1131:   | --program-suf | --program-su | --program-s)
                   1132:     ac_prev=program_suffix ;;
                   1133:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1134:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1135:     program_suffix=$ac_optarg ;;
                   1136: 
                   1137:   -program-transform-name | --program-transform-name \
                   1138:   | --program-transform-nam | --program-transform-na \
                   1139:   | --program-transform-n | --program-transform- \
                   1140:   | --program-transform | --program-transfor \
                   1141:   | --program-transfo | --program-transf \
                   1142:   | --program-trans | --program-tran \
                   1143:   | --progr-tra | --program-tr | --program-t)
                   1144:     ac_prev=program_transform_name ;;
                   1145:   -program-transform-name=* | --program-transform-name=* \
                   1146:   | --program-transform-nam=* | --program-transform-na=* \
                   1147:   | --program-transform-n=* | --program-transform-=* \
                   1148:   | --program-transform=* | --program-transfor=* \
                   1149:   | --program-transfo=* | --program-transf=* \
                   1150:   | --program-trans=* | --program-tran=* \
                   1151:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1152:     program_transform_name=$ac_optarg ;;
                   1153: 
                   1154:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1155:     ac_prev=pdfdir ;;
                   1156:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1157:     pdfdir=$ac_optarg ;;
                   1158: 
                   1159:   -psdir | --psdir | --psdi | --psd | --ps)
                   1160:     ac_prev=psdir ;;
                   1161:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1162:     psdir=$ac_optarg ;;
                   1163: 
                   1164:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1165:   | -silent | --silent | --silen | --sile | --sil)
                   1166:     silent=yes ;;
                   1167: 
                   1168:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1169:     ac_prev=sbindir ;;
                   1170:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1171:   | --sbi=* | --sb=*)
                   1172:     sbindir=$ac_optarg ;;
                   1173: 
                   1174:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1175:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1176:   | --sharedst | --shareds | --shared | --share | --shar \
                   1177:   | --sha | --sh)
                   1178:     ac_prev=sharedstatedir ;;
                   1179:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1180:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1181:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1182:   | --sha=* | --sh=*)
                   1183:     sharedstatedir=$ac_optarg ;;
                   1184: 
                   1185:   -site | --site | --sit)
                   1186:     ac_prev=site ;;
                   1187:   -site=* | --site=* | --sit=*)
                   1188:     site=$ac_optarg ;;
                   1189: 
                   1190:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1191:     ac_prev=srcdir ;;
                   1192:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1193:     srcdir=$ac_optarg ;;
                   1194: 
                   1195:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1196:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1197:     ac_prev=sysconfdir ;;
                   1198:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1199:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1200:     sysconfdir=$ac_optarg ;;
                   1201: 
                   1202:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1203:     ac_prev=target_alias ;;
                   1204:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1205:     target_alias=$ac_optarg ;;
                   1206: 
                   1207:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1208:     verbose=yes ;;
                   1209: 
                   1210:   -version | --version | --versio | --versi | --vers | -V)
                   1211:     ac_init_version=: ;;
                   1212: 
                   1213:   -with-* | --with-*)
                   1214:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1215:     # Reject names that are not valid shell variable names.
                   1216:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1217:       as_fn_error $? "invalid package name: $ac_useropt"
                   1218:     ac_useropt_orig=$ac_useropt
                   1219:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1220:     case $ac_user_opts in
                   1221:       *"
                   1222: "with_$ac_useropt"
                   1223: "*) ;;
                   1224:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1225:         ac_unrecognized_sep=', ';;
                   1226:     esac
                   1227:     eval with_$ac_useropt=\$ac_optarg ;;
                   1228: 
                   1229:   -without-* | --without-*)
                   1230:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1231:     # Reject names that are not valid shell variable names.
                   1232:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1233:       as_fn_error $? "invalid package name: $ac_useropt"
                   1234:     ac_useropt_orig=$ac_useropt
                   1235:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1236:     case $ac_user_opts in
                   1237:       *"
                   1238: "with_$ac_useropt"
                   1239: "*) ;;
                   1240:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1241:         ac_unrecognized_sep=', ';;
                   1242:     esac
                   1243:     eval with_$ac_useropt=no ;;
                   1244: 
                   1245:   --x)
                   1246:     # Obsolete; use --with-x.
                   1247:     with_x=yes ;;
                   1248: 
                   1249:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1250:   | --x-incl | --x-inc | --x-in | --x-i)
                   1251:     ac_prev=x_includes ;;
                   1252:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1253:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1254:     x_includes=$ac_optarg ;;
                   1255: 
                   1256:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1257:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1258:     ac_prev=x_libraries ;;
                   1259:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1260:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1261:     x_libraries=$ac_optarg ;;
                   1262: 
                   1263:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1264: Try \`$0 --help' for more information"
                   1265:     ;;
                   1266: 
                   1267:   *=*)
                   1268:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1269:     # Reject names that are not valid shell variable names.
                   1270:     case $ac_envvar in #(
                   1271:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1272:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1273:     esac
                   1274:     eval $ac_envvar=\$ac_optarg
                   1275:     export $ac_envvar ;;
                   1276: 
                   1277:   *)
                   1278:     # FIXME: should be removed in autoconf 3.0.
                   1279:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1280:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1281:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1282:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1283:     ;;
                   1284: 
                   1285:   esac
                   1286: done
                   1287: 
                   1288: if test -n "$ac_prev"; then
                   1289:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1290:   as_fn_error $? "missing argument to $ac_option"
                   1291: fi
                   1292: 
                   1293: if test -n "$ac_unrecognized_opts"; then
                   1294:   case $enable_option_checking in
                   1295:     no) ;;
                   1296:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1297:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1298:   esac
                   1299: fi
                   1300: 
                   1301: # Check all directory arguments for consistency.
                   1302: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1303:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1304:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1305:                libdir localedir mandir
                   1306: do
                   1307:   eval ac_val=\$$ac_var
                   1308:   # Remove trailing slashes.
                   1309:   case $ac_val in
                   1310:     */ )
                   1311:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1312:       eval $ac_var=\$ac_val;;
                   1313:   esac
                   1314:   # Be sure to have absolute directory names.
                   1315:   case $ac_val in
                   1316:     [\\/$]* | ?:[\\/]* )  continue;;
                   1317:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1318:   esac
                   1319:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1320: done
                   1321: 
                   1322: # There might be people who depend on the old broken behavior: `$host'
                   1323: # used to hold the argument of --host etc.
                   1324: # FIXME: To remove some day.
                   1325: build=$build_alias
                   1326: host=$host_alias
                   1327: target=$target_alias
                   1328: 
                   1329: # FIXME: To remove some day.
                   1330: if test "x$host_alias" != x; then
                   1331:   if test "x$build_alias" = x; then
                   1332:     cross_compiling=maybe
                   1333:   elif test "x$build_alias" != "x$host_alias"; then
                   1334:     cross_compiling=yes
                   1335:   fi
                   1336: fi
                   1337: 
                   1338: ac_tool_prefix=
                   1339: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1340: 
                   1341: test "$silent" = yes && exec 6>/dev/null
                   1342: 
                   1343: 
                   1344: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1345: ac_ls_di=`ls -di .` &&
                   1346: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1347:   as_fn_error $? "working directory cannot be determined"
                   1348: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1349:   as_fn_error $? "pwd does not report name of working directory"
                   1350: 
                   1351: 
                   1352: # Find the source files, if location was not specified.
                   1353: if test -z "$srcdir"; then
                   1354:   ac_srcdir_defaulted=yes
                   1355:   # Try the directory containing this script, then the parent directory.
                   1356:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1357: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1358:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1359:         X"$as_myself" : 'X\(//\)$' \| \
                   1360:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1361: $as_echo X"$as_myself" |
                   1362:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1363:            s//\1/
                   1364:            q
                   1365:          }
                   1366:          /^X\(\/\/\)[^/].*/{
                   1367:            s//\1/
                   1368:            q
                   1369:          }
                   1370:          /^X\(\/\/\)$/{
                   1371:            s//\1/
                   1372:            q
                   1373:          }
                   1374:          /^X\(\/\).*/{
                   1375:            s//\1/
                   1376:            q
                   1377:          }
                   1378:          s/.*/./; q'`
                   1379:   srcdir=$ac_confdir
                   1380:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1381:     srcdir=..
                   1382:   fi
                   1383: else
                   1384:   ac_srcdir_defaulted=no
                   1385: fi
                   1386: if test ! -r "$srcdir/$ac_unique_file"; then
                   1387:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1388:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1389: fi
                   1390: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1391: ac_abs_confdir=`(
                   1392:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1393:        pwd)`
                   1394: # When building in place, set srcdir=.
                   1395: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1396:   srcdir=.
                   1397: fi
                   1398: # Remove unnecessary trailing slashes from srcdir.
                   1399: # Double slashes in file names in object file debugging info
                   1400: # mess up M-x gdb in Emacs.
                   1401: case $srcdir in
                   1402: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1403: esac
                   1404: for ac_var in $ac_precious_vars; do
                   1405:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1406:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1407:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1408:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1409: done
                   1410: 
                   1411: #
                   1412: # Report the --help message.
                   1413: #
                   1414: if test "$ac_init_help" = "long"; then
                   1415:   # Omit some internal or obsolete options to make the list less imposing.
                   1416:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1417:   cat <<_ACEOF
1.1.1.5 ! misho    1418: \`configure' configures PCRE 8.34 to adapt to many kinds of systems.
1.1       misho    1419: 
                   1420: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1421: 
                   1422: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1423: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1424: 
                   1425: Defaults for the options are specified in brackets.
                   1426: 
                   1427: Configuration:
                   1428:   -h, --help              display this help and exit
                   1429:       --help=short        display options specific to this package
                   1430:       --help=recursive    display the short help of all the included packages
                   1431:   -V, --version           display version information and exit
                   1432:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1433:       --cache-file=FILE   cache test results in FILE [disabled]
                   1434:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1435:   -n, --no-create         do not create output files
                   1436:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1437: 
                   1438: Installation directories:
                   1439:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1440:                           [$ac_default_prefix]
                   1441:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1442:                           [PREFIX]
                   1443: 
                   1444: By default, \`make install' will install all the files in
                   1445: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1446: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1447: for instance \`--prefix=\$HOME'.
                   1448: 
                   1449: For better control, use the options below.
                   1450: 
                   1451: Fine tuning of the installation directories:
                   1452:   --bindir=DIR            user executables [EPREFIX/bin]
                   1453:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1454:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1455:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1456:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1457:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1458:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1459:   --includedir=DIR        C header files [PREFIX/include]
                   1460:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1461:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1462:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1463:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1464:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1465:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1466:   --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre]
                   1467:   --htmldir=DIR           html documentation [DOCDIR]
                   1468:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1469:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1470:   --psdir=DIR             ps documentation [DOCDIR]
                   1471: _ACEOF
                   1472: 
                   1473:   cat <<\_ACEOF
                   1474: 
                   1475: Program names:
                   1476:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1477:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1478:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1479: 
                   1480: System types:
                   1481:   --build=BUILD     configure for building on BUILD [guessed]
                   1482:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1483: _ACEOF
                   1484: fi
                   1485: 
                   1486: if test -n "$ac_init_help"; then
                   1487:   case $ac_init_help in
1.1.1.5 ! misho    1488:      short | recursive ) echo "Configuration of PCRE 8.34:";;
1.1       misho    1489:    esac
                   1490:   cat <<\_ACEOF
                   1491: 
                   1492: Optional Features:
                   1493:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1494:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1495:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.4   misho    1496:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1497:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1498:   --enable-dependency-tracking
                   1499:                           do not reject slow dependency extractors
                   1500:   --disable-dependency-tracking
                   1501:                           speeds up one-time build
1.1       misho    1502:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1503:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1504:   --enable-fast-install[=PKGS]
                   1505:                           optimize for fast installation [default=yes]
                   1506:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.1.1.2   misho    1507:   --disable-pcre8         disable 8 bit character support
                   1508:   --enable-pcre16         enable 16 bit character support
1.1.1.4   misho    1509:   --enable-pcre32         enable 32 bit character support
1.1       misho    1510:   --disable-cpp           disable C++ support
                   1511:   --enable-jit            enable Just-In-Time compiling support
                   1512:   --disable-pcregrep-jit  disable JIT support in pcregrep
                   1513:   --enable-rebuild-chartables
                   1514:                           rebuild character tables in current locale
1.1.1.2   misho    1515:   --enable-utf8           another name for --enable-utf. Kept only for
                   1516:                           compatibility reasons
1.1.1.4   misho    1517:   --enable-utf            enable UTF-8/16/32 support (incompatible with
1.1       misho    1518:                           --enable-ebcdic)
                   1519:   --enable-unicode-properties
                   1520:                           enable Unicode properties support (implies
1.1.1.2   misho    1521:                           --enable-utf)
1.1       misho    1522:   --enable-newline-is-cr  use CR as newline character
                   1523:   --enable-newline-is-lf  use LF as newline character (default)
                   1524:   --enable-newline-is-crlf
                   1525:                           use CRLF as newline sequence
                   1526:   --enable-newline-is-anycrlf
                   1527:                           use CR, LF, or CRLF as newline sequence
                   1528:   --enable-newline-is-any use any valid Unicode newline sequence
                   1529:   --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
                   1530:   --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
1.1.1.2   misho    1531:                           with --enable-utf; use only in (uncommon) EBCDIC
1.1       misho    1532:                           environments; it implies --enable-rebuild-chartables
1.1.1.4   misho    1533:   --enable-ebcdic-nl25    set EBCDIC code for NL to 0x25 instead of 0x15; it
                   1534:                           implies --enable-ebcdic
1.1       misho    1535:   --disable-stack-for-recursion
                   1536:                           don't use stack recursion when matching
                   1537:   --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
                   1538:   --enable-pcregrep-libbz2
                   1539:                           link pcregrep with libbz2 to handle .bz2 files
1.1.1.3   misho    1540:   --enable-pcretest-libedit
                   1541:                           link pcretest with libedit
1.1       misho    1542:   --enable-pcretest-libreadline
                   1543:                           link pcretest with libreadline
1.1.1.4   misho    1544:   --enable-valgrind       valgrind support
                   1545:   --enable-coverage       enable code coverage reports using gcov
1.1       misho    1546: 
                   1547: Optional Packages:
                   1548:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1549:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.4   misho    1550:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.1       misho    1551:                           both]
                   1552:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1553:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1554:                         (or the compiler's sysroot if not specified).
                   1555:   --with-pcregrep-bufsize=N
                   1556:                           pcregrep buffer size (default=20480)
                   1557:   --with-posix-malloc-threshold=NBYTES
                   1558:                           threshold for POSIX malloc usage (default=10)
                   1559:   --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
1.1.1.5 ! misho    1560:   --with-parens-nest-limit=N
        !          1561:                           nested parentheses limit (default=250)
1.1       misho    1562:   --with-match-limit=N    default limit on internal looping (default=10000000)
                   1563:   --with-match-limit-recursion=N
                   1564:                           default limit on internal recursion
                   1565:                           (default=MATCH_LIMIT)
                   1566: 
                   1567: Some influential environment variables:
                   1568:   CC          C compiler command
                   1569:   CFLAGS      C compiler flags
                   1570:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1571:               nonstandard directory <lib dir>
                   1572:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1573:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1574:               you have headers in a nonstandard directory <include dir>
                   1575:   CXX         C++ compiler command
                   1576:   CXXFLAGS    C++ compiler flags
                   1577:   CPP         C preprocessor
                   1578:   CXXCPP      C++ preprocessor
1.1.1.4   misho    1579:   PKG_CONFIG  path to pkg-config utility
                   1580:   PKG_CONFIG_PATH
                   1581:               directories to add to pkg-config's search path
                   1582:   PKG_CONFIG_LIBDIR
                   1583:               path overriding pkg-config's built-in search path
                   1584:   VALGRIND_CFLAGS
                   1585:               C compiler flags for VALGRIND, overriding pkg-config
                   1586:   VALGRIND_LIBS
                   1587:               linker flags for VALGRIND, overriding pkg-config
                   1588:   LCOV        the ltp lcov program
                   1589:   GENHTML     the ltp genhtml program
1.1       misho    1590: 
                   1591: Use these variables to override the choices made by `configure' or to help
                   1592: it to find libraries and programs with nonstandard names/locations.
                   1593: 
                   1594: Report bugs to the package provider.
                   1595: _ACEOF
                   1596: ac_status=$?
                   1597: fi
                   1598: 
                   1599: if test "$ac_init_help" = "recursive"; then
                   1600:   # If there are subdirs, report their specific --help.
                   1601:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1602:     test -d "$ac_dir" ||
                   1603:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1604:       continue
                   1605:     ac_builddir=.
                   1606: 
                   1607: case "$ac_dir" in
                   1608: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1609: *)
                   1610:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1611:   # A ".." for each directory in $ac_dir_suffix.
                   1612:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1613:   case $ac_top_builddir_sub in
                   1614:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1615:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1616:   esac ;;
                   1617: esac
                   1618: ac_abs_top_builddir=$ac_pwd
                   1619: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1620: # for backward compatibility:
                   1621: ac_top_builddir=$ac_top_build_prefix
                   1622: 
                   1623: case $srcdir in
                   1624:   .)  # We are building in place.
                   1625:     ac_srcdir=.
                   1626:     ac_top_srcdir=$ac_top_builddir_sub
                   1627:     ac_abs_top_srcdir=$ac_pwd ;;
                   1628:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1629:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1630:     ac_top_srcdir=$srcdir
                   1631:     ac_abs_top_srcdir=$srcdir ;;
                   1632:   *) # Relative name.
                   1633:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1634:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1635:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1636: esac
                   1637: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1638: 
                   1639:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1640:     # Check for guested configure.
                   1641:     if test -f "$ac_srcdir/configure.gnu"; then
                   1642:       echo &&
                   1643:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1644:     elif test -f "$ac_srcdir/configure"; then
                   1645:       echo &&
                   1646:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1647:     else
                   1648:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1649:     fi || ac_status=$?
                   1650:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1651:   done
                   1652: fi
                   1653: 
                   1654: test -n "$ac_init_help" && exit $ac_status
                   1655: if $ac_init_version; then
                   1656:   cat <<\_ACEOF
1.1.1.5 ! misho    1657: PCRE configure 8.34
1.1.1.4   misho    1658: generated by GNU Autoconf 2.69
1.1       misho    1659: 
1.1.1.4   misho    1660: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1661: This configure script is free software; the Free Software Foundation
                   1662: gives unlimited permission to copy, distribute and modify it.
                   1663: _ACEOF
                   1664:   exit
                   1665: fi
                   1666: 
                   1667: ## ------------------------ ##
                   1668: ## Autoconf initialization. ##
                   1669: ## ------------------------ ##
                   1670: 
                   1671: # ac_fn_c_try_compile LINENO
                   1672: # --------------------------
                   1673: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1674: ac_fn_c_try_compile ()
                   1675: {
                   1676:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1677:   rm -f conftest.$ac_objext
                   1678:   if { { ac_try="$ac_compile"
                   1679: case "(($ac_try" in
                   1680:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1681:   *) ac_try_echo=$ac_try;;
                   1682: esac
                   1683: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1684: $as_echo "$ac_try_echo"; } >&5
                   1685:   (eval "$ac_compile") 2>conftest.err
                   1686:   ac_status=$?
                   1687:   if test -s conftest.err; then
                   1688:     grep -v '^ *+' conftest.err >conftest.er1
                   1689:     cat conftest.er1 >&5
                   1690:     mv -f conftest.er1 conftest.err
                   1691:   fi
                   1692:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1693:   test $ac_status = 0; } && {
                   1694:         test -z "$ac_c_werror_flag" ||
                   1695:         test ! -s conftest.err
                   1696:        } && test -s conftest.$ac_objext; then :
                   1697:   ac_retval=0
                   1698: else
                   1699:   $as_echo "$as_me: failed program was:" >&5
                   1700: sed 's/^/| /' conftest.$ac_ext >&5
                   1701: 
                   1702:        ac_retval=1
                   1703: fi
                   1704:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1705:   as_fn_set_status $ac_retval
                   1706: 
                   1707: } # ac_fn_c_try_compile
                   1708: 
                   1709: # ac_fn_cxx_try_compile LINENO
                   1710: # ----------------------------
                   1711: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1712: ac_fn_cxx_try_compile ()
                   1713: {
                   1714:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1715:   rm -f conftest.$ac_objext
                   1716:   if { { ac_try="$ac_compile"
                   1717: case "(($ac_try" in
                   1718:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1719:   *) ac_try_echo=$ac_try;;
                   1720: esac
                   1721: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1722: $as_echo "$ac_try_echo"; } >&5
                   1723:   (eval "$ac_compile") 2>conftest.err
                   1724:   ac_status=$?
                   1725:   if test -s conftest.err; then
                   1726:     grep -v '^ *+' conftest.err >conftest.er1
                   1727:     cat conftest.er1 >&5
                   1728:     mv -f conftest.er1 conftest.err
                   1729:   fi
                   1730:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1731:   test $ac_status = 0; } && {
                   1732:         test -z "$ac_cxx_werror_flag" ||
                   1733:         test ! -s conftest.err
                   1734:        } && test -s conftest.$ac_objext; then :
                   1735:   ac_retval=0
                   1736: else
                   1737:   $as_echo "$as_me: failed program was:" >&5
                   1738: sed 's/^/| /' conftest.$ac_ext >&5
                   1739: 
                   1740:        ac_retval=1
                   1741: fi
                   1742:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1743:   as_fn_set_status $ac_retval
                   1744: 
                   1745: } # ac_fn_cxx_try_compile
                   1746: 
                   1747: # ac_fn_c_try_cpp LINENO
                   1748: # ----------------------
                   1749: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1750: ac_fn_c_try_cpp ()
                   1751: {
                   1752:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1753:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1754: case "(($ac_try" in
                   1755:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1756:   *) ac_try_echo=$ac_try;;
                   1757: esac
                   1758: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1759: $as_echo "$ac_try_echo"; } >&5
                   1760:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1761:   ac_status=$?
                   1762:   if test -s conftest.err; then
                   1763:     grep -v '^ *+' conftest.err >conftest.er1
                   1764:     cat conftest.er1 >&5
                   1765:     mv -f conftest.er1 conftest.err
                   1766:   fi
                   1767:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1768:   test $ac_status = 0; } > conftest.i && {
                   1769:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1770:         test ! -s conftest.err
                   1771:        }; then :
                   1772:   ac_retval=0
                   1773: else
                   1774:   $as_echo "$as_me: failed program was:" >&5
                   1775: sed 's/^/| /' conftest.$ac_ext >&5
                   1776: 
                   1777:     ac_retval=1
                   1778: fi
                   1779:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1780:   as_fn_set_status $ac_retval
                   1781: 
                   1782: } # ac_fn_c_try_cpp
                   1783: 
                   1784: # ac_fn_c_try_run LINENO
                   1785: # ----------------------
                   1786: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1787: # that executables *can* be run.
                   1788: ac_fn_c_try_run ()
                   1789: {
                   1790:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1791:   if { { ac_try="$ac_link"
                   1792: case "(($ac_try" in
                   1793:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1794:   *) ac_try_echo=$ac_try;;
                   1795: esac
                   1796: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1797: $as_echo "$ac_try_echo"; } >&5
                   1798:   (eval "$ac_link") 2>&5
                   1799:   ac_status=$?
                   1800:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1801:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1802:   { { case "(($ac_try" in
                   1803:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1804:   *) ac_try_echo=$ac_try;;
                   1805: esac
                   1806: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1807: $as_echo "$ac_try_echo"; } >&5
                   1808:   (eval "$ac_try") 2>&5
                   1809:   ac_status=$?
                   1810:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1811:   test $ac_status = 0; }; }; then :
                   1812:   ac_retval=0
                   1813: else
                   1814:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1815:        $as_echo "$as_me: failed program was:" >&5
                   1816: sed 's/^/| /' conftest.$ac_ext >&5
                   1817: 
                   1818:        ac_retval=$ac_status
                   1819: fi
                   1820:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1821:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1822:   as_fn_set_status $ac_retval
                   1823: 
                   1824: } # ac_fn_c_try_run
                   1825: 
                   1826: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1827: # -------------------------------------------------------
                   1828: # Tests whether HEADER exists and can be compiled using the include files in
                   1829: # INCLUDES, setting the cache variable VAR accordingly.
                   1830: ac_fn_c_check_header_compile ()
                   1831: {
                   1832:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1833:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1834: $as_echo_n "checking for $2... " >&6; }
                   1835: if eval \${$3+:} false; then :
                   1836:   $as_echo_n "(cached) " >&6
                   1837: else
                   1838:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1839: /* end confdefs.h.  */
                   1840: $4
                   1841: #include <$2>
                   1842: _ACEOF
                   1843: if ac_fn_c_try_compile "$LINENO"; then :
                   1844:   eval "$3=yes"
                   1845: else
                   1846:   eval "$3=no"
                   1847: fi
                   1848: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1849: fi
                   1850: eval ac_res=\$$3
                   1851:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1852: $as_echo "$ac_res" >&6; }
                   1853:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1854: 
                   1855: } # ac_fn_c_check_header_compile
                   1856: 
                   1857: # ac_fn_c_find_intX_t LINENO BITS VAR
                   1858: # -----------------------------------
                   1859: # Finds a signed integer type with width BITS, setting cache variable VAR
                   1860: # accordingly.
                   1861: ac_fn_c_find_intX_t ()
                   1862: {
                   1863:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1864:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
                   1865: $as_echo_n "checking for int$2_t... " >&6; }
                   1866: if eval \${$3+:} false; then :
                   1867:   $as_echo_n "(cached) " >&6
                   1868: else
                   1869:   eval "$3=no"
                   1870:      # Order is important - never check a type that is potentially smaller
                   1871:      # than half of the expected target width.
                   1872:      for ac_type in int$2_t 'int' 'long int' \
                   1873:         'long long int' 'short int' 'signed char'; do
                   1874:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1875: /* end confdefs.h.  */
                   1876: $ac_includes_default
                   1877:             enum { N = $2 / 2 - 1 };
                   1878: int
                   1879: main ()
                   1880: {
                   1881: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1.1.1.4   misho    1882: test_array [0] = 0;
                   1883: return test_array [0];
1.1       misho    1884: 
                   1885:   ;
                   1886:   return 0;
                   1887: }
                   1888: _ACEOF
                   1889: if ac_fn_c_try_compile "$LINENO"; then :
                   1890:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1891: /* end confdefs.h.  */
                   1892: $ac_includes_default
                   1893:                enum { N = $2 / 2 - 1 };
                   1894: int
                   1895: main ()
                   1896: {
                   1897: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
                   1898:                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1.1.1.4   misho    1899: test_array [0] = 0;
                   1900: return test_array [0];
1.1       misho    1901: 
                   1902:   ;
                   1903:   return 0;
                   1904: }
                   1905: _ACEOF
                   1906: if ac_fn_c_try_compile "$LINENO"; then :
                   1907: 
                   1908: else
                   1909:   case $ac_type in #(
                   1910:   int$2_t) :
                   1911:     eval "$3=yes" ;; #(
                   1912:   *) :
                   1913:     eval "$3=\$ac_type" ;;
                   1914: esac
                   1915: fi
                   1916: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1917: fi
                   1918: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1919:        if eval test \"x\$"$3"\" = x"no"; then :
                   1920: 
                   1921: else
                   1922:   break
                   1923: fi
                   1924:      done
                   1925: fi
                   1926: eval ac_res=\$$3
                   1927:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1928: $as_echo "$ac_res" >&6; }
                   1929:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1930: 
                   1931: } # ac_fn_c_find_intX_t
                   1932: 
                   1933: # ac_fn_c_try_link LINENO
                   1934: # -----------------------
                   1935: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1936: ac_fn_c_try_link ()
                   1937: {
                   1938:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1939:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1940:   if { { ac_try="$ac_link"
                   1941: case "(($ac_try" in
                   1942:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1943:   *) ac_try_echo=$ac_try;;
                   1944: esac
                   1945: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1946: $as_echo "$ac_try_echo"; } >&5
                   1947:   (eval "$ac_link") 2>conftest.err
                   1948:   ac_status=$?
                   1949:   if test -s conftest.err; then
                   1950:     grep -v '^ *+' conftest.err >conftest.er1
                   1951:     cat conftest.er1 >&5
                   1952:     mv -f conftest.er1 conftest.err
                   1953:   fi
                   1954:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1955:   test $ac_status = 0; } && {
                   1956:         test -z "$ac_c_werror_flag" ||
                   1957:         test ! -s conftest.err
                   1958:        } && test -s conftest$ac_exeext && {
                   1959:         test "$cross_compiling" = yes ||
1.1.1.4   misho    1960:         test -x conftest$ac_exeext
1.1       misho    1961:        }; then :
                   1962:   ac_retval=0
                   1963: else
                   1964:   $as_echo "$as_me: failed program was:" >&5
                   1965: sed 's/^/| /' conftest.$ac_ext >&5
                   1966: 
                   1967:        ac_retval=1
                   1968: fi
                   1969:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1970:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1971:   # interfere with the next link command; also delete a directory that is
                   1972:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1973:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1974:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1975:   as_fn_set_status $ac_retval
                   1976: 
                   1977: } # ac_fn_c_try_link
                   1978: 
                   1979: # ac_fn_c_check_func LINENO FUNC VAR
                   1980: # ----------------------------------
                   1981: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1982: ac_fn_c_check_func ()
                   1983: {
                   1984:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1985:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1986: $as_echo_n "checking for $2... " >&6; }
                   1987: if eval \${$3+:} false; then :
                   1988:   $as_echo_n "(cached) " >&6
                   1989: else
                   1990:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1991: /* end confdefs.h.  */
                   1992: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1993:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1994: #define $2 innocuous_$2
                   1995: 
                   1996: /* System header to define __stub macros and hopefully few prototypes,
                   1997:     which can conflict with char $2 (); below.
                   1998:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1999:     <limits.h> exists even on freestanding compilers.  */
                   2000: 
                   2001: #ifdef __STDC__
                   2002: # include <limits.h>
                   2003: #else
                   2004: # include <assert.h>
                   2005: #endif
                   2006: 
                   2007: #undef $2
                   2008: 
                   2009: /* Override any GCC internal prototype to avoid an error.
                   2010:    Use char because int might match the return type of a GCC
                   2011:    builtin and then its argument prototype would still apply.  */
                   2012: #ifdef __cplusplus
                   2013: extern "C"
                   2014: #endif
                   2015: char $2 ();
                   2016: /* The GNU C library defines this for functions which it implements
                   2017:     to always fail with ENOSYS.  Some functions are actually named
                   2018:     something starting with __ and the normal name is an alias.  */
                   2019: #if defined __stub_$2 || defined __stub___$2
                   2020: choke me
                   2021: #endif
                   2022: 
                   2023: int
                   2024: main ()
                   2025: {
                   2026: return $2 ();
                   2027:   ;
                   2028:   return 0;
                   2029: }
                   2030: _ACEOF
                   2031: if ac_fn_c_try_link "$LINENO"; then :
                   2032:   eval "$3=yes"
                   2033: else
                   2034:   eval "$3=no"
                   2035: fi
                   2036: rm -f core conftest.err conftest.$ac_objext \
                   2037:     conftest$ac_exeext conftest.$ac_ext
                   2038: fi
                   2039: eval ac_res=\$$3
                   2040:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2041: $as_echo "$ac_res" >&6; }
                   2042:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2043: 
                   2044: } # ac_fn_c_check_func
                   2045: 
                   2046: # ac_fn_cxx_try_cpp LINENO
                   2047: # ------------------------
                   2048: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   2049: ac_fn_cxx_try_cpp ()
                   2050: {
                   2051:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2052:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   2053: case "(($ac_try" in
                   2054:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2055:   *) ac_try_echo=$ac_try;;
                   2056: esac
                   2057: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2058: $as_echo "$ac_try_echo"; } >&5
                   2059:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   2060:   ac_status=$?
                   2061:   if test -s conftest.err; then
                   2062:     grep -v '^ *+' conftest.err >conftest.er1
                   2063:     cat conftest.er1 >&5
                   2064:     mv -f conftest.er1 conftest.err
                   2065:   fi
                   2066:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2067:   test $ac_status = 0; } > conftest.i && {
                   2068:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   2069:         test ! -s conftest.err
                   2070:        }; then :
                   2071:   ac_retval=0
                   2072: else
                   2073:   $as_echo "$as_me: failed program was:" >&5
                   2074: sed 's/^/| /' conftest.$ac_ext >&5
                   2075: 
                   2076:     ac_retval=1
                   2077: fi
                   2078:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2079:   as_fn_set_status $ac_retval
                   2080: 
                   2081: } # ac_fn_cxx_try_cpp
                   2082: 
                   2083: # ac_fn_cxx_try_link LINENO
                   2084: # -------------------------
                   2085: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   2086: ac_fn_cxx_try_link ()
                   2087: {
                   2088:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2089:   rm -f conftest.$ac_objext conftest$ac_exeext
                   2090:   if { { ac_try="$ac_link"
                   2091: case "(($ac_try" in
                   2092:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2093:   *) ac_try_echo=$ac_try;;
                   2094: esac
                   2095: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2096: $as_echo "$ac_try_echo"; } >&5
                   2097:   (eval "$ac_link") 2>conftest.err
                   2098:   ac_status=$?
                   2099:   if test -s conftest.err; then
                   2100:     grep -v '^ *+' conftest.err >conftest.er1
                   2101:     cat conftest.er1 >&5
                   2102:     mv -f conftest.er1 conftest.err
                   2103:   fi
                   2104:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2105:   test $ac_status = 0; } && {
                   2106:         test -z "$ac_cxx_werror_flag" ||
                   2107:         test ! -s conftest.err
                   2108:        } && test -s conftest$ac_exeext && {
                   2109:         test "$cross_compiling" = yes ||
1.1.1.4   misho    2110:         test -x conftest$ac_exeext
1.1       misho    2111:        }; then :
                   2112:   ac_retval=0
                   2113: else
                   2114:   $as_echo "$as_me: failed program was:" >&5
                   2115: sed 's/^/| /' conftest.$ac_ext >&5
                   2116: 
                   2117:        ac_retval=1
                   2118: fi
                   2119:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   2120:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2121:   # interfere with the next link command; also delete a directory that is
                   2122:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2123:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2124:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2125:   as_fn_set_status $ac_retval
                   2126: 
                   2127: } # ac_fn_cxx_try_link
                   2128: 
                   2129: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2130: # -------------------------------------------------------
                   2131: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2132: # the include files in INCLUDES and setting the cache variable VAR
                   2133: # accordingly.
                   2134: ac_fn_c_check_header_mongrel ()
                   2135: {
                   2136:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2137:   if eval \${$3+:} false; then :
                   2138:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2139: $as_echo_n "checking for $2... " >&6; }
                   2140: if eval \${$3+:} false; then :
                   2141:   $as_echo_n "(cached) " >&6
                   2142: fi
                   2143: eval ac_res=\$$3
                   2144:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2145: $as_echo "$ac_res" >&6; }
                   2146: else
                   2147:   # Is the header compilable?
                   2148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2149: $as_echo_n "checking $2 usability... " >&6; }
                   2150: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2151: /* end confdefs.h.  */
                   2152: $4
                   2153: #include <$2>
                   2154: _ACEOF
                   2155: if ac_fn_c_try_compile "$LINENO"; then :
                   2156:   ac_header_compiler=yes
                   2157: else
                   2158:   ac_header_compiler=no
                   2159: fi
                   2160: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2162: $as_echo "$ac_header_compiler" >&6; }
                   2163: 
                   2164: # Is the header present?
                   2165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2166: $as_echo_n "checking $2 presence... " >&6; }
                   2167: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2168: /* end confdefs.h.  */
                   2169: #include <$2>
                   2170: _ACEOF
                   2171: if ac_fn_c_try_cpp "$LINENO"; then :
                   2172:   ac_header_preproc=yes
                   2173: else
                   2174:   ac_header_preproc=no
                   2175: fi
                   2176: rm -f conftest.err conftest.i conftest.$ac_ext
                   2177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2178: $as_echo "$ac_header_preproc" >&6; }
                   2179: 
                   2180: # So?  What about this header?
                   2181: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2182:   yes:no: )
                   2183:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2184: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2185:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2186: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2187:     ;;
                   2188:   no:yes:* )
                   2189:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2190: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2191:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2192: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2193:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2194: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2195:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2196: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2197:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2198: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2199:     ;;
                   2200: esac
                   2201:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2202: $as_echo_n "checking for $2... " >&6; }
                   2203: if eval \${$3+:} false; then :
                   2204:   $as_echo_n "(cached) " >&6
                   2205: else
                   2206:   eval "$3=\$ac_header_compiler"
                   2207: fi
                   2208: eval ac_res=\$$3
                   2209:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2210: $as_echo "$ac_res" >&6; }
                   2211: fi
                   2212:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2213: 
                   2214: } # ac_fn_c_check_header_mongrel
                   2215: 
                   2216: # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2217: # ---------------------------------------------------------
                   2218: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2219: # the include files in INCLUDES and setting the cache variable VAR
                   2220: # accordingly.
                   2221: ac_fn_cxx_check_header_mongrel ()
                   2222: {
                   2223:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2224:   if eval \${$3+:} false; then :
                   2225:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2226: $as_echo_n "checking for $2... " >&6; }
                   2227: if eval \${$3+:} false; then :
                   2228:   $as_echo_n "(cached) " >&6
                   2229: fi
                   2230: eval ac_res=\$$3
                   2231:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2232: $as_echo "$ac_res" >&6; }
                   2233: else
                   2234:   # Is the header compilable?
                   2235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2236: $as_echo_n "checking $2 usability... " >&6; }
                   2237: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2238: /* end confdefs.h.  */
                   2239: $4
                   2240: #include <$2>
                   2241: _ACEOF
                   2242: if ac_fn_cxx_try_compile "$LINENO"; then :
                   2243:   ac_header_compiler=yes
                   2244: else
                   2245:   ac_header_compiler=no
                   2246: fi
                   2247: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2249: $as_echo "$ac_header_compiler" >&6; }
                   2250: 
                   2251: # Is the header present?
                   2252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2253: $as_echo_n "checking $2 presence... " >&6; }
                   2254: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2255: /* end confdefs.h.  */
                   2256: #include <$2>
                   2257: _ACEOF
                   2258: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   2259:   ac_header_preproc=yes
                   2260: else
                   2261:   ac_header_preproc=no
                   2262: fi
                   2263: rm -f conftest.err conftest.i conftest.$ac_ext
                   2264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2265: $as_echo "$ac_header_preproc" >&6; }
                   2266: 
                   2267: # So?  What about this header?
                   2268: case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
                   2269:   yes:no: )
                   2270:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2271: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2272:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2273: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2274:     ;;
                   2275:   no:yes:* )
                   2276:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2277: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2278:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2279: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2280:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2281: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2282:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2283: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2284:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2285: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2286:     ;;
                   2287: esac
                   2288:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2289: $as_echo_n "checking for $2... " >&6; }
                   2290: if eval \${$3+:} false; then :
                   2291:   $as_echo_n "(cached) " >&6
                   2292: else
                   2293:   eval "$3=\$ac_header_compiler"
                   2294: fi
                   2295: eval ac_res=\$$3
                   2296:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2297: $as_echo "$ac_res" >&6; }
                   2298: fi
                   2299:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2300: 
                   2301: } # ac_fn_cxx_check_header_mongrel
                   2302: 
                   2303: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
                   2304: # ---------------------------------------------
                   2305: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2306: # variable VAR accordingly.
                   2307: ac_fn_cxx_check_type ()
                   2308: {
                   2309:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2310:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2311: $as_echo_n "checking for $2... " >&6; }
                   2312: if eval \${$3+:} false; then :
                   2313:   $as_echo_n "(cached) " >&6
                   2314: else
                   2315:   eval "$3=no"
                   2316:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2317: /* end confdefs.h.  */
                   2318: $4
                   2319: int
                   2320: main ()
                   2321: {
                   2322: if (sizeof ($2))
                   2323:         return 0;
                   2324:   ;
                   2325:   return 0;
                   2326: }
                   2327: _ACEOF
                   2328: if ac_fn_cxx_try_compile "$LINENO"; then :
                   2329:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2330: /* end confdefs.h.  */
                   2331: $4
                   2332: int
                   2333: main ()
                   2334: {
                   2335: if (sizeof (($2)))
                   2336:            return 0;
                   2337:   ;
                   2338:   return 0;
                   2339: }
                   2340: _ACEOF
                   2341: if ac_fn_cxx_try_compile "$LINENO"; then :
                   2342: 
                   2343: else
                   2344:   eval "$3=yes"
                   2345: fi
                   2346: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2347: fi
                   2348: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2349: fi
                   2350: eval ac_res=\$$3
                   2351:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2352: $as_echo "$ac_res" >&6; }
                   2353:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2354: 
                   2355: } # ac_fn_cxx_check_type
                   2356: 
                   2357: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2358: # -------------------------------------------
                   2359: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2360: # variable VAR accordingly.
                   2361: ac_fn_c_check_type ()
                   2362: {
                   2363:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2364:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2365: $as_echo_n "checking for $2... " >&6; }
                   2366: if eval \${$3+:} false; then :
                   2367:   $as_echo_n "(cached) " >&6
                   2368: else
                   2369:   eval "$3=no"
                   2370:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2371: /* end confdefs.h.  */
                   2372: $4
                   2373: int
                   2374: main ()
                   2375: {
                   2376: if (sizeof ($2))
                   2377:         return 0;
                   2378:   ;
                   2379:   return 0;
                   2380: }
                   2381: _ACEOF
                   2382: if ac_fn_c_try_compile "$LINENO"; then :
                   2383:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2384: /* end confdefs.h.  */
                   2385: $4
                   2386: int
                   2387: main ()
                   2388: {
                   2389: if (sizeof (($2)))
                   2390:            return 0;
                   2391:   ;
                   2392:   return 0;
                   2393: }
                   2394: _ACEOF
                   2395: if ac_fn_c_try_compile "$LINENO"; then :
                   2396: 
                   2397: else
                   2398:   eval "$3=yes"
                   2399: fi
                   2400: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2401: fi
                   2402: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2403: fi
                   2404: eval ac_res=\$$3
                   2405:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2406: $as_echo "$ac_res" >&6; }
                   2407:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2408: 
                   2409: } # ac_fn_c_check_type
                   2410: cat >config.log <<_ACEOF
                   2411: This file contains any messages produced by compilers while
                   2412: running configure, to aid debugging if configure makes a mistake.
                   2413: 
1.1.1.5 ! misho    2414: It was created by PCRE $as_me 8.34, which was
1.1.1.4   misho    2415: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    2416: 
                   2417:   $ $0 $@
                   2418: 
                   2419: _ACEOF
                   2420: exec 5>>config.log
                   2421: {
                   2422: cat <<_ASUNAME
                   2423: ## --------- ##
                   2424: ## Platform. ##
                   2425: ## --------- ##
                   2426: 
                   2427: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2428: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2429: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2430: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2431: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2432: 
                   2433: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2434: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2435: 
                   2436: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2437: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2438: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2439: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2440: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2441: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2442: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2443: 
                   2444: _ASUNAME
                   2445: 
                   2446: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2447: for as_dir in $PATH
                   2448: do
                   2449:   IFS=$as_save_IFS
                   2450:   test -z "$as_dir" && as_dir=.
                   2451:     $as_echo "PATH: $as_dir"
                   2452:   done
                   2453: IFS=$as_save_IFS
                   2454: 
                   2455: } >&5
                   2456: 
                   2457: cat >&5 <<_ACEOF
                   2458: 
                   2459: 
                   2460: ## ----------- ##
                   2461: ## Core tests. ##
                   2462: ## ----------- ##
                   2463: 
                   2464: _ACEOF
                   2465: 
                   2466: 
                   2467: # Keep a trace of the command line.
                   2468: # Strip out --no-create and --no-recursion so they do not pile up.
                   2469: # Strip out --silent because we don't want to record it for future runs.
                   2470: # Also quote any args containing shell meta-characters.
                   2471: # Make two passes to allow for proper duplicate-argument suppression.
                   2472: ac_configure_args=
                   2473: ac_configure_args0=
                   2474: ac_configure_args1=
                   2475: ac_must_keep_next=false
                   2476: for ac_pass in 1 2
                   2477: do
                   2478:   for ac_arg
                   2479:   do
                   2480:     case $ac_arg in
                   2481:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2482:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2483:     | -silent | --silent | --silen | --sile | --sil)
                   2484:       continue ;;
                   2485:     *\'*)
                   2486:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2487:     esac
                   2488:     case $ac_pass in
                   2489:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2490:     2)
                   2491:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2492:       if test $ac_must_keep_next = true; then
                   2493:        ac_must_keep_next=false # Got value, back to normal.
                   2494:       else
                   2495:        case $ac_arg in
                   2496:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2497:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2498:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2499:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2500:            case "$ac_configure_args0 " in
                   2501:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2502:            esac
                   2503:            ;;
                   2504:          -* ) ac_must_keep_next=true ;;
                   2505:        esac
                   2506:       fi
                   2507:       as_fn_append ac_configure_args " '$ac_arg'"
                   2508:       ;;
                   2509:     esac
                   2510:   done
                   2511: done
                   2512: { ac_configure_args0=; unset ac_configure_args0;}
                   2513: { ac_configure_args1=; unset ac_configure_args1;}
                   2514: 
                   2515: # When interrupted or exit'd, cleanup temporary files, and complete
                   2516: # config.log.  We remove comments because anyway the quotes in there
                   2517: # would cause problems or look ugly.
                   2518: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2519: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2520: trap 'exit_status=$?
                   2521:   # Save into config.log some information that might help in debugging.
                   2522:   {
                   2523:     echo
                   2524: 
                   2525:     $as_echo "## ---------------- ##
                   2526: ## Cache variables. ##
                   2527: ## ---------------- ##"
                   2528:     echo
                   2529:     # The following way of writing the cache mishandles newlines in values,
                   2530: (
                   2531:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2532:     eval ac_val=\$$ac_var
                   2533:     case $ac_val in #(
                   2534:     *${as_nl}*)
                   2535:       case $ac_var in #(
                   2536:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2537: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2538:       esac
                   2539:       case $ac_var in #(
                   2540:       _ | IFS | as_nl) ;; #(
                   2541:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2542:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2543:       esac ;;
                   2544:     esac
                   2545:   done
                   2546:   (set) 2>&1 |
                   2547:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2548:     *${as_nl}ac_space=\ *)
                   2549:       sed -n \
                   2550:        "s/'\''/'\''\\\\'\'''\''/g;
                   2551:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2552:       ;; #(
                   2553:     *)
                   2554:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2555:       ;;
                   2556:     esac |
                   2557:     sort
                   2558: )
                   2559:     echo
                   2560: 
                   2561:     $as_echo "## ----------------- ##
                   2562: ## Output variables. ##
                   2563: ## ----------------- ##"
                   2564:     echo
                   2565:     for ac_var in $ac_subst_vars
                   2566:     do
                   2567:       eval ac_val=\$$ac_var
                   2568:       case $ac_val in
                   2569:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2570:       esac
                   2571:       $as_echo "$ac_var='\''$ac_val'\''"
                   2572:     done | sort
                   2573:     echo
                   2574: 
                   2575:     if test -n "$ac_subst_files"; then
                   2576:       $as_echo "## ------------------- ##
                   2577: ## File substitutions. ##
                   2578: ## ------------------- ##"
                   2579:       echo
                   2580:       for ac_var in $ac_subst_files
                   2581:       do
                   2582:        eval ac_val=\$$ac_var
                   2583:        case $ac_val in
                   2584:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2585:        esac
                   2586:        $as_echo "$ac_var='\''$ac_val'\''"
                   2587:       done | sort
                   2588:       echo
                   2589:     fi
                   2590: 
                   2591:     if test -s confdefs.h; then
                   2592:       $as_echo "## ----------- ##
                   2593: ## confdefs.h. ##
                   2594: ## ----------- ##"
                   2595:       echo
                   2596:       cat confdefs.h
                   2597:       echo
                   2598:     fi
                   2599:     test "$ac_signal" != 0 &&
                   2600:       $as_echo "$as_me: caught signal $ac_signal"
                   2601:     $as_echo "$as_me: exit $exit_status"
                   2602:   } >&5
                   2603:   rm -f core *.core core.conftest.* &&
                   2604:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2605:     exit $exit_status
                   2606: ' 0
                   2607: for ac_signal in 1 2 13 15; do
                   2608:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2609: done
                   2610: ac_signal=0
                   2611: 
                   2612: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2613: rm -f -r conftest* confdefs.h
                   2614: 
                   2615: $as_echo "/* confdefs.h */" > confdefs.h
                   2616: 
                   2617: # Predefined preprocessor variables.
                   2618: 
                   2619: cat >>confdefs.h <<_ACEOF
                   2620: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2621: _ACEOF
                   2622: 
                   2623: cat >>confdefs.h <<_ACEOF
                   2624: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2625: _ACEOF
                   2626: 
                   2627: cat >>confdefs.h <<_ACEOF
                   2628: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2629: _ACEOF
                   2630: 
                   2631: cat >>confdefs.h <<_ACEOF
                   2632: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2633: _ACEOF
                   2634: 
                   2635: cat >>confdefs.h <<_ACEOF
                   2636: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2637: _ACEOF
                   2638: 
                   2639: cat >>confdefs.h <<_ACEOF
                   2640: #define PACKAGE_URL "$PACKAGE_URL"
                   2641: _ACEOF
                   2642: 
                   2643: 
                   2644: # Let the site file select an alternate cache file if it wants to.
                   2645: # Prefer an explicitly selected file to automatically selected ones.
                   2646: ac_site_file1=NONE
                   2647: ac_site_file2=NONE
                   2648: if test -n "$CONFIG_SITE"; then
                   2649:   # We do not want a PATH search for config.site.
                   2650:   case $CONFIG_SITE in #((
                   2651:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2652:     */*) ac_site_file1=$CONFIG_SITE;;
                   2653:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2654:   esac
                   2655: elif test "x$prefix" != xNONE; then
                   2656:   ac_site_file1=$prefix/share/config.site
                   2657:   ac_site_file2=$prefix/etc/config.site
                   2658: else
                   2659:   ac_site_file1=$ac_default_prefix/share/config.site
                   2660:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2661: fi
                   2662: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2663: do
                   2664:   test "x$ac_site_file" = xNONE && continue
                   2665:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2666:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2667: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2668:     sed 's/^/| /' "$ac_site_file" >&5
                   2669:     . "$ac_site_file" \
                   2670:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2671: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2672: as_fn_error $? "failed to load site script $ac_site_file
                   2673: See \`config.log' for more details" "$LINENO" 5; }
                   2674:   fi
                   2675: done
                   2676: 
                   2677: if test -r "$cache_file"; then
                   2678:   # Some versions of bash will fail to source /dev/null (special files
                   2679:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2680:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2681:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2682: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2683:     case $cache_file in
                   2684:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2685:       *)                      . "./$cache_file";;
                   2686:     esac
                   2687:   fi
                   2688: else
                   2689:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2690: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2691:   >$cache_file
                   2692: fi
                   2693: 
                   2694: # Check that the precious variables saved in the cache have kept the same
                   2695: # value.
                   2696: ac_cache_corrupted=false
                   2697: for ac_var in $ac_precious_vars; do
                   2698:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2699:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2700:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2701:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2702:   case $ac_old_set,$ac_new_set in
                   2703:     set,)
                   2704:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2705: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2706:       ac_cache_corrupted=: ;;
                   2707:     ,set)
                   2708:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2709: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2710:       ac_cache_corrupted=: ;;
                   2711:     ,);;
                   2712:     *)
                   2713:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2714:        # differences in whitespace do not lead to failure.
                   2715:        ac_old_val_w=`echo x $ac_old_val`
                   2716:        ac_new_val_w=`echo x $ac_new_val`
                   2717:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2718:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2719: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2720:          ac_cache_corrupted=:
                   2721:        else
                   2722:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2723: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2724:          eval $ac_var=\$ac_old_val
                   2725:        fi
                   2726:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2727: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2728:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2729: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2730:       fi;;
                   2731:   esac
                   2732:   # Pass precious variables to config.status.
                   2733:   if test "$ac_new_set" = set; then
                   2734:     case $ac_new_val in
                   2735:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2736:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2737:     esac
                   2738:     case " $ac_configure_args " in
                   2739:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2740:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2741:     esac
                   2742:   fi
                   2743: done
                   2744: if $ac_cache_corrupted; then
                   2745:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2746: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2747:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2748: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2749:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2750: fi
                   2751: ## -------------------- ##
                   2752: ## Main body of script. ##
                   2753: ## -------------------- ##
                   2754: 
                   2755: ac_ext=c
                   2756: ac_cpp='$CPP $CPPFLAGS'
                   2757: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2758: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2759: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2760: 
                   2761: 
                   2762: 
1.1.1.5 ! misho    2763: am__api_version='1.14'
1.1       misho    2764: 
                   2765: ac_aux_dir=
                   2766: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2767:   if test -f "$ac_dir/install-sh"; then
                   2768:     ac_aux_dir=$ac_dir
                   2769:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2770:     break
                   2771:   elif test -f "$ac_dir/install.sh"; then
                   2772:     ac_aux_dir=$ac_dir
                   2773:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2774:     break
                   2775:   elif test -f "$ac_dir/shtool"; then
                   2776:     ac_aux_dir=$ac_dir
                   2777:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2778:     break
                   2779:   fi
                   2780: done
                   2781: if test -z "$ac_aux_dir"; then
                   2782:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2783: fi
                   2784: 
                   2785: # These three variables are undocumented and unsupported,
                   2786: # and are intended to be withdrawn in a future Autoconf release.
                   2787: # They can cause serious problems if a builder's source tree is in a directory
                   2788: # whose full name contains unusual characters.
                   2789: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2790: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2791: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2792: 
                   2793: 
                   2794: # Find a good install program.  We prefer a C program (faster),
                   2795: # so one script is as good as another.  But avoid the broken or
                   2796: # incompatible versions:
                   2797: # SysV /etc/install, /usr/sbin/install
                   2798: # SunOS /usr/etc/install
                   2799: # IRIX /sbin/install
                   2800: # AIX /bin/install
                   2801: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2802: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2803: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2804: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2805: # OS/2's system install, which has a completely different semantic
                   2806: # ./install, which can be erroneously created by make from ./install.sh.
                   2807: # Reject install programs that cannot install multiple files.
                   2808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2809: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2810: if test -z "$INSTALL"; then
                   2811: if ${ac_cv_path_install+:} false; then :
                   2812:   $as_echo_n "(cached) " >&6
                   2813: else
                   2814:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2815: for as_dir in $PATH
                   2816: do
                   2817:   IFS=$as_save_IFS
                   2818:   test -z "$as_dir" && as_dir=.
                   2819:     # Account for people who put trailing slashes in PATH elements.
                   2820: case $as_dir/ in #((
                   2821:   ./ | .// | /[cC]/* | \
                   2822:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2823:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2824:   /usr/ucb/* ) ;;
                   2825:   *)
                   2826:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2827:     # Don't use installbsd from OSF since it installs stuff as root
                   2828:     # by default.
                   2829:     for ac_prog in ginstall scoinst install; do
                   2830:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    2831:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2832:          if test $ac_prog = install &&
                   2833:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2834:            # AIX install.  It has an incompatible calling convention.
                   2835:            :
                   2836:          elif test $ac_prog = install &&
                   2837:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2838:            # program-specific install script used by HP pwplus--don't use.
                   2839:            :
                   2840:          else
                   2841:            rm -rf conftest.one conftest.two conftest.dir
                   2842:            echo one > conftest.one
                   2843:            echo two > conftest.two
                   2844:            mkdir conftest.dir
                   2845:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2846:              test -s conftest.one && test -s conftest.two &&
                   2847:              test -s conftest.dir/conftest.one &&
                   2848:              test -s conftest.dir/conftest.two
                   2849:            then
                   2850:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2851:              break 3
                   2852:            fi
                   2853:          fi
                   2854:        fi
                   2855:       done
                   2856:     done
                   2857:     ;;
                   2858: esac
                   2859: 
                   2860:   done
                   2861: IFS=$as_save_IFS
                   2862: 
                   2863: rm -rf conftest.one conftest.two conftest.dir
                   2864: 
                   2865: fi
                   2866:   if test "${ac_cv_path_install+set}" = set; then
                   2867:     INSTALL=$ac_cv_path_install
                   2868:   else
                   2869:     # As a last resort, use the slow shell script.  Don't cache a
                   2870:     # value for INSTALL within a source directory, because that will
                   2871:     # break other packages using the cache if that directory is
                   2872:     # removed, or if the value is a relative name.
                   2873:     INSTALL=$ac_install_sh
                   2874:   fi
                   2875: fi
                   2876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2877: $as_echo "$INSTALL" >&6; }
                   2878: 
                   2879: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2880: # It thinks the first close brace ends the variable substitution.
                   2881: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2882: 
                   2883: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2884: 
                   2885: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2886: 
                   2887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2888: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2889: # Reject unsafe characters in $srcdir or the absolute working directory
                   2890: # name.  Accept space and tab only in the latter.
                   2891: am_lf='
                   2892: '
                   2893: case `pwd` in
                   2894:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2895:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2896: esac
                   2897: case $srcdir in
                   2898:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.4   misho    2899:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.1       misho    2900: esac
                   2901: 
1.1.1.4   misho    2902: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       misho    2903: # arguments.  Must try -L first in case configure is actually a
                   2904: # symlink; some systems play weird games with the mod time of symlinks
                   2905: # (eg FreeBSD returns the mod time of the symlink's containing
                   2906: # directory).
                   2907: if (
1.1.1.4   misho    2908:    am_has_slept=no
                   2909:    for am_try in 1 2; do
                   2910:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2911:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2912:      if test "$*" = "X"; then
                   2913:        # -L didn't work.
                   2914:        set X `ls -t "$srcdir/configure" conftest.file`
                   2915:      fi
                   2916:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2917:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       misho    2918: 
1.1.1.4   misho    2919:        # If neither matched, then we have a broken ls.  This can happen
                   2920:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2921:        # broken ls alias from the environment.  This has actually
                   2922:        # happened.  Such a system could not be considered "sane".
                   2923:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2924:   alias in your environment" "$LINENO" 5
                   2925:      fi
                   2926:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2927:        break
                   2928:      fi
                   2929:      # Just in case.
                   2930:      sleep 1
                   2931:      am_has_slept=yes
                   2932:    done
1.1       misho    2933:    test "$2" = conftest.file
                   2934:    )
                   2935: then
                   2936:    # Ok.
                   2937:    :
                   2938: else
                   2939:    as_fn_error $? "newly created file is older than distributed files!
                   2940: Check your system clock" "$LINENO" 5
                   2941: fi
                   2942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2943: $as_echo "yes" >&6; }
1.1.1.4   misho    2944: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2945: # generated files are strictly newer.
                   2946: am_sleep_pid=
                   2947: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2948:   ( sleep 1 ) &
                   2949:   am_sleep_pid=$!
                   2950: fi
                   2951: 
                   2952: rm -f conftest.file
                   2953: 
1.1       misho    2954: test "$program_prefix" != NONE &&
                   2955:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2956: # Use a double $ so make ignores it.
                   2957: test "$program_suffix" != NONE &&
                   2958:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2959: # Double any \ or $.
                   2960: # By default was `s,x,x', remove it if useless.
                   2961: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2962: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2963: 
                   2964: # expand $ac_aux_dir to an absolute path
                   2965: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2966: 
                   2967: if test x"${MISSING+set}" != xset; then
                   2968:   case $am_aux_dir in
                   2969:   *\ * | *\    *)
                   2970:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2971:   *)
                   2972:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2973:   esac
                   2974: fi
                   2975: # Use eval to expand $SHELL
1.1.1.4   misho    2976: if eval "$MISSING --is-lightweight"; then
                   2977:   am_missing_run="$MISSING "
1.1       misho    2978: else
                   2979:   am_missing_run=
1.1.1.4   misho    2980:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2981: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.1       misho    2982: fi
                   2983: 
                   2984: if test x"${install_sh}" != xset; then
                   2985:   case $am_aux_dir in
                   2986:   *\ * | *\    *)
                   2987:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2988:   *)
                   2989:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2990:   esac
                   2991: fi
                   2992: 
1.1.1.4   misho    2993: # Installed binaries are usually stripped using 'strip' when the user
                   2994: # run "make install-strip".  However 'strip' might not be the right
1.1       misho    2995: # tool to use in cross-compilation environments, therefore Automake
1.1.1.4   misho    2996: # will honor the 'STRIP' environment variable to overrule this program.
1.1       misho    2997: if test "$cross_compiling" != no; then
                   2998:   if test -n "$ac_tool_prefix"; then
                   2999:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   3000: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   3001: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3002: $as_echo_n "checking for $ac_word... " >&6; }
                   3003: if ${ac_cv_prog_STRIP+:} false; then :
                   3004:   $as_echo_n "(cached) " >&6
                   3005: else
                   3006:   if test -n "$STRIP"; then
                   3007:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   3008: else
                   3009: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3010: for as_dir in $PATH
                   3011: do
                   3012:   IFS=$as_save_IFS
                   3013:   test -z "$as_dir" && as_dir=.
                   3014:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3015:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3016:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   3017:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3018:     break 2
                   3019:   fi
                   3020: done
                   3021:   done
                   3022: IFS=$as_save_IFS
                   3023: 
                   3024: fi
                   3025: fi
                   3026: STRIP=$ac_cv_prog_STRIP
                   3027: if test -n "$STRIP"; then
                   3028:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   3029: $as_echo "$STRIP" >&6; }
                   3030: else
                   3031:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3032: $as_echo "no" >&6; }
                   3033: fi
                   3034: 
                   3035: 
                   3036: fi
                   3037: if test -z "$ac_cv_prog_STRIP"; then
                   3038:   ac_ct_STRIP=$STRIP
                   3039:   # Extract the first word of "strip", so it can be a program name with args.
                   3040: set dummy strip; ac_word=$2
                   3041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3042: $as_echo_n "checking for $ac_word... " >&6; }
                   3043: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   3044:   $as_echo_n "(cached) " >&6
                   3045: else
                   3046:   if test -n "$ac_ct_STRIP"; then
                   3047:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   3048: else
                   3049: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3050: for as_dir in $PATH
                   3051: do
                   3052:   IFS=$as_save_IFS
                   3053:   test -z "$as_dir" && as_dir=.
                   3054:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3055:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3056:     ac_cv_prog_ac_ct_STRIP="strip"
                   3057:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3058:     break 2
                   3059:   fi
                   3060: done
                   3061:   done
                   3062: IFS=$as_save_IFS
                   3063: 
                   3064: fi
                   3065: fi
                   3066: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3067: if test -n "$ac_ct_STRIP"; then
                   3068:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   3069: $as_echo "$ac_ct_STRIP" >&6; }
                   3070: else
                   3071:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3072: $as_echo "no" >&6; }
                   3073: fi
                   3074: 
                   3075:   if test "x$ac_ct_STRIP" = x; then
                   3076:     STRIP=":"
                   3077:   else
                   3078:     case $cross_compiling:$ac_tool_warned in
                   3079: yes:)
                   3080: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3081: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3082: ac_tool_warned=yes ;;
                   3083: esac
                   3084:     STRIP=$ac_ct_STRIP
                   3085:   fi
                   3086: else
                   3087:   STRIP="$ac_cv_prog_STRIP"
                   3088: fi
                   3089: 
                   3090: fi
                   3091: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   3092: 
                   3093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   3094: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   3095: if test -z "$MKDIR_P"; then
                   3096:   if ${ac_cv_path_mkdir+:} false; then :
                   3097:   $as_echo_n "(cached) " >&6
                   3098: else
                   3099:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3100: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3101: do
                   3102:   IFS=$as_save_IFS
                   3103:   test -z "$as_dir" && as_dir=.
                   3104:     for ac_prog in mkdir gmkdir; do
                   3105:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3106:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    3107:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3108:             'mkdir (GNU coreutils) '* | \
                   3109:             'mkdir (coreutils) '* | \
                   3110:             'mkdir (fileutils) '4.1*)
                   3111:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3112:               break 3;;
                   3113:           esac
                   3114:         done
                   3115:        done
                   3116:   done
                   3117: IFS=$as_save_IFS
                   3118: 
                   3119: fi
                   3120: 
                   3121:   test -d ./--version && rmdir ./--version
                   3122:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3123:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3124:   else
                   3125:     # As a last resort, use the slow shell script.  Don't cache a
                   3126:     # value for MKDIR_P within a source directory, because that will
                   3127:     # break other packages using the cache if that directory is
                   3128:     # removed, or if the value is a relative name.
                   3129:     MKDIR_P="$ac_install_sh -d"
                   3130:   fi
                   3131: fi
                   3132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3133: $as_echo "$MKDIR_P" >&6; }
                   3134: 
                   3135: for ac_prog in gawk mawk nawk awk
                   3136: do
                   3137:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3138: set dummy $ac_prog; ac_word=$2
                   3139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3140: $as_echo_n "checking for $ac_word... " >&6; }
                   3141: if ${ac_cv_prog_AWK+:} false; then :
                   3142:   $as_echo_n "(cached) " >&6
                   3143: else
                   3144:   if test -n "$AWK"; then
                   3145:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3146: else
                   3147: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3148: for as_dir in $PATH
                   3149: do
                   3150:   IFS=$as_save_IFS
                   3151:   test -z "$as_dir" && as_dir=.
                   3152:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3153:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3154:     ac_cv_prog_AWK="$ac_prog"
                   3155:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3156:     break 2
                   3157:   fi
                   3158: done
                   3159:   done
                   3160: IFS=$as_save_IFS
                   3161: 
                   3162: fi
                   3163: fi
                   3164: AWK=$ac_cv_prog_AWK
                   3165: if test -n "$AWK"; then
                   3166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3167: $as_echo "$AWK" >&6; }
                   3168: else
                   3169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3170: $as_echo "no" >&6; }
                   3171: fi
                   3172: 
                   3173: 
                   3174:   test -n "$AWK" && break
                   3175: done
                   3176: 
                   3177: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3178: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3179: set x ${MAKE-make}
                   3180: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3181: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3182:   $as_echo_n "(cached) " >&6
                   3183: else
                   3184:   cat >conftest.make <<\_ACEOF
                   3185: SHELL = /bin/sh
                   3186: all:
                   3187:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3188: _ACEOF
                   3189: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3190: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3191:   *@@@%%%=?*=@@@%%%*)
                   3192:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3193:   *)
                   3194:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3195: esac
                   3196: rm -f conftest.make
                   3197: fi
                   3198: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3200: $as_echo "yes" >&6; }
                   3201:   SET_MAKE=
                   3202: else
                   3203:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3204: $as_echo "no" >&6; }
                   3205:   SET_MAKE="MAKE=${MAKE-make}"
                   3206: fi
                   3207: 
                   3208: rm -rf .tst 2>/dev/null
                   3209: mkdir .tst 2>/dev/null
                   3210: if test -d .tst; then
                   3211:   am__leading_dot=.
                   3212: else
                   3213:   am__leading_dot=_
                   3214: fi
                   3215: rmdir .tst 2>/dev/null
                   3216: 
1.1.1.4   misho    3217: # Check whether --enable-silent-rules was given.
                   3218: if test "${enable_silent_rules+set}" = set; then :
                   3219:   enableval=$enable_silent_rules;
                   3220: fi
                   3221: 
                   3222: case $enable_silent_rules in # (((
                   3223:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3224:    no) AM_DEFAULT_VERBOSITY=1;;
                   3225:     *) AM_DEFAULT_VERBOSITY=1;;
                   3226: esac
                   3227: am_make=${MAKE-make}
                   3228: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3229: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3230: if ${am_cv_make_support_nested_variables+:} false; then :
                   3231:   $as_echo_n "(cached) " >&6
                   3232: else
                   3233:   if $as_echo 'TRUE=$(BAR$(V))
                   3234: BAR0=false
                   3235: BAR1=true
                   3236: V=1
                   3237: am__doit:
                   3238:        @$(TRUE)
                   3239: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3240:   am_cv_make_support_nested_variables=yes
                   3241: else
                   3242:   am_cv_make_support_nested_variables=no
                   3243: fi
                   3244: fi
                   3245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3246: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3247: if test $am_cv_make_support_nested_variables = yes; then
                   3248:     AM_V='$(V)'
                   3249:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3250: else
                   3251:   AM_V=$AM_DEFAULT_VERBOSITY
                   3252:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3253: fi
                   3254: AM_BACKSLASH='\'
                   3255: 
1.1       misho    3256: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3257:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3258:   # is not polluted with repeated "-I."
                   3259:   am__isrc=' -I$(srcdir)'
                   3260:   # test to see if srcdir already configured
                   3261:   if test -f $srcdir/config.status; then
                   3262:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3263:   fi
                   3264: fi
                   3265: 
                   3266: # test whether we have cygpath
                   3267: if test -z "$CYGPATH_W"; then
                   3268:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3269:     CYGPATH_W='cygpath -w'
                   3270:   else
                   3271:     CYGPATH_W=echo
                   3272:   fi
                   3273: fi
                   3274: 
                   3275: 
                   3276: # Define the identity of the package.
                   3277:  PACKAGE='pcre'
1.1.1.5 ! misho    3278:  VERSION='8.34'
1.1       misho    3279: 
                   3280: 
                   3281: cat >>confdefs.h <<_ACEOF
                   3282: #define PACKAGE "$PACKAGE"
                   3283: _ACEOF
                   3284: 
                   3285: 
                   3286: cat >>confdefs.h <<_ACEOF
                   3287: #define VERSION "$VERSION"
                   3288: _ACEOF
                   3289: 
                   3290: # Some tools Automake needs.
                   3291: 
                   3292: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3293: 
                   3294: 
                   3295: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3296: 
                   3297: 
                   3298: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3299: 
                   3300: 
                   3301: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3302: 
                   3303: 
                   3304: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3305: 
1.1.1.4   misho    3306: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3307: # dies out for good.  For more background, see:
                   3308: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3309: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
                   3310: mkdir_p='$(MKDIR_P)'
                   3311: 
1.1       misho    3312: # We need awk for the "check" target.  The system "awk" is bad on
                   3313: # some platforms.
1.1.1.4   misho    3314: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3315: # in the wild :-(  We should find a proper way to deprecate it ...
                   3316: AMTAR='$${TAR-tar}'
1.1       misho    3317: 
                   3318: 
1.1.1.4   misho    3319: # We'll loop over all known methods to create a tar archive until one works.
                   3320: _am_tools='gnutar  pax cpio none'
                   3321: 
                   3322: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   3323: 
1.1       misho    3324: 
                   3325: 
                   3326: 
                   3327: 
                   3328: 
1.1.1.5 ! misho    3329: # POSIX will say in a future version that running "rm -f" with no argument
        !          3330: # is OK; and we want to be able to make that assumption in our Makefile
        !          3331: # recipes.  So use an aggressive probe to check that the usage we want is
        !          3332: # actually supported "in the wild" to an acceptable degree.
        !          3333: # See automake bug#10828.
        !          3334: # To make any issue more visible, cause the running configure to be aborted
        !          3335: # by default if the 'rm' program in use doesn't match our expectations; the
        !          3336: # user can still override this though.
        !          3337: if rm -f && rm -fr && rm -rf; then : OK; else
        !          3338:   cat >&2 <<'END'
        !          3339: Oops!
        !          3340: 
        !          3341: Your 'rm' program seems unable to run without file operands specified
        !          3342: on the command line, even when the '-f' option is present.  This is contrary
        !          3343: to the behaviour of most rm programs out there, and not conforming with
        !          3344: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
        !          3345: 
        !          3346: Please tell bug-automake@gnu.org about your system, including the value
        !          3347: of your $PATH and any error possibly output before this message.  This
        !          3348: can help us improve future automake versions.
        !          3349: 
        !          3350: END
        !          3351:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
        !          3352:     echo 'Configuration will proceed anyway, since you have set the' >&2
        !          3353:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
        !          3354:     echo >&2
        !          3355:   else
        !          3356:     cat >&2 <<'END'
        !          3357: Aborting the configuration process, to ensure you take notice of the issue.
        !          3358: 
        !          3359: You can download and install GNU coreutils to get an 'rm' implementation
        !          3360: that behaves properly: <http://www.gnu.org/software/coreutils/>.
        !          3361: 
        !          3362: If you want to complete the configuration process using your problematic
        !          3363: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
        !          3364: to "yes", and re-run configure.
        !          3365: 
        !          3366: END
        !          3367:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
        !          3368:   fi
        !          3369: fi
1.1.1.2   misho    3370: # Check whether --enable-silent-rules was given.
                   3371: if test "${enable_silent_rules+set}" = set; then :
                   3372:   enableval=$enable_silent_rules;
                   3373: fi
                   3374: 
1.1.1.4   misho    3375: case $enable_silent_rules in # (((
                   3376:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3377:    no) AM_DEFAULT_VERBOSITY=1;;
                   3378:     *) AM_DEFAULT_VERBOSITY=0;;
1.1.1.2   misho    3379: esac
1.1.1.4   misho    3380: am_make=${MAKE-make}
                   3381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3382: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3383: if ${am_cv_make_support_nested_variables+:} false; then :
                   3384:   $as_echo_n "(cached) " >&6
                   3385: else
                   3386:   if $as_echo 'TRUE=$(BAR$(V))
                   3387: BAR0=false
                   3388: BAR1=true
                   3389: V=1
                   3390: am__doit:
                   3391:        @$(TRUE)
                   3392: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3393:   am_cv_make_support_nested_variables=yes
                   3394: else
                   3395:   am_cv_make_support_nested_variables=no
                   3396: fi
                   3397: fi
                   3398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3399: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3400: if test $am_cv_make_support_nested_variables = yes; then
                   3401:     AM_V='$(V)'
                   3402:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3403: else
                   3404:   AM_V=$AM_DEFAULT_VERBOSITY
                   3405:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3406: fi
1.1.1.2   misho    3407: AM_BACKSLASH='\'
                   3408: 
1.1       misho    3409: ac_config_headers="$ac_config_headers config.h"
                   3410: 
                   3411: 
1.1.1.4   misho    3412: # This is a new thing required to stop a warning from automake 1.12
                   3413: DEPDIR="${am__leading_dot}deps"
1.1       misho    3414: 
1.1.1.4   misho    3415: ac_config_commands="$ac_config_commands depfiles"
1.1       misho    3416: 
                   3417: 
1.1.1.4   misho    3418: am_make=${MAKE-make}
                   3419: cat > confinc << 'END'
                   3420: am__doit:
                   3421:        @echo this is the am__doit target
                   3422: .PHONY: am__doit
                   3423: END
                   3424: # If we don't find an include directive, just comment out the code.
                   3425: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3426: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3427: am__include="#"
                   3428: am__quote=
                   3429: _am_result=none
                   3430: # First try GNU make style include.
                   3431: echo "include confinc" > confmf
                   3432: # Ignore all kinds of additional output from 'make'.
                   3433: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3434: *the\ am__doit\ target*)
                   3435:   am__include=include
                   3436:   am__quote=
                   3437:   _am_result=GNU
                   3438:   ;;
                   3439: esac
                   3440: # Now try BSD make style include.
                   3441: if test "$am__include" = "#"; then
                   3442:    echo '.include "confinc"' > confmf
                   3443:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3444:    *the\ am__doit\ target*)
                   3445:      am__include=.include
                   3446:      am__quote="\""
                   3447:      _am_result=BSD
                   3448:      ;;
                   3449:    esac
                   3450: fi
                   3451: 
                   3452: 
                   3453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3454: $as_echo "$_am_result" >&6; }
                   3455: rm -f confinc confmf
                   3456: 
                   3457: # Check whether --enable-dependency-tracking was given.
                   3458: if test "${enable_dependency_tracking+set}" = set; then :
                   3459:   enableval=$enable_dependency_tracking;
                   3460: fi
                   3461: 
                   3462: if test "x$enable_dependency_tracking" != xno; then
                   3463:   am_depcomp="$ac_aux_dir/depcomp"
                   3464:   AMDEPBACKSLASH='\'
                   3465:   am__nodep='_no'
                   3466: fi
                   3467:  if test "x$enable_dependency_tracking" != xno; then
                   3468:   AMDEP_TRUE=
                   3469:   AMDEP_FALSE='#'
                   3470: else
                   3471:   AMDEP_TRUE='#'
                   3472:   AMDEP_FALSE=
                   3473: fi
                   3474: 
1.1       misho    3475: 
                   3476: ac_ext=c
                   3477: ac_cpp='$CPP $CPPFLAGS'
                   3478: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3479: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3480: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3481: if test -n "$ac_tool_prefix"; then
                   3482:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3483: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3485: $as_echo_n "checking for $ac_word... " >&6; }
                   3486: if ${ac_cv_prog_CC+:} false; then :
                   3487:   $as_echo_n "(cached) " >&6
                   3488: else
                   3489:   if test -n "$CC"; then
                   3490:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3491: else
                   3492: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3493: for as_dir in $PATH
                   3494: do
                   3495:   IFS=$as_save_IFS
                   3496:   test -z "$as_dir" && as_dir=.
                   3497:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3498:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3499:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3500:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3501:     break 2
                   3502:   fi
                   3503: done
                   3504:   done
                   3505: IFS=$as_save_IFS
                   3506: 
                   3507: fi
                   3508: fi
                   3509: CC=$ac_cv_prog_CC
                   3510: if test -n "$CC"; then
                   3511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3512: $as_echo "$CC" >&6; }
                   3513: else
                   3514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3515: $as_echo "no" >&6; }
                   3516: fi
                   3517: 
                   3518: 
                   3519: fi
                   3520: if test -z "$ac_cv_prog_CC"; then
                   3521:   ac_ct_CC=$CC
                   3522:   # Extract the first word of "gcc", so it can be a program name with args.
                   3523: set dummy gcc; ac_word=$2
                   3524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3525: $as_echo_n "checking for $ac_word... " >&6; }
                   3526: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3527:   $as_echo_n "(cached) " >&6
                   3528: else
                   3529:   if test -n "$ac_ct_CC"; then
                   3530:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3531: else
                   3532: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3533: for as_dir in $PATH
                   3534: do
                   3535:   IFS=$as_save_IFS
                   3536:   test -z "$as_dir" && as_dir=.
                   3537:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3538:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3539:     ac_cv_prog_ac_ct_CC="gcc"
                   3540:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3541:     break 2
                   3542:   fi
                   3543: done
                   3544:   done
                   3545: IFS=$as_save_IFS
                   3546: 
                   3547: fi
                   3548: fi
                   3549: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3550: if test -n "$ac_ct_CC"; then
                   3551:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3552: $as_echo "$ac_ct_CC" >&6; }
                   3553: else
                   3554:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3555: $as_echo "no" >&6; }
                   3556: fi
                   3557: 
                   3558:   if test "x$ac_ct_CC" = x; then
                   3559:     CC=""
                   3560:   else
                   3561:     case $cross_compiling:$ac_tool_warned in
                   3562: yes:)
                   3563: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3564: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3565: ac_tool_warned=yes ;;
                   3566: esac
                   3567:     CC=$ac_ct_CC
                   3568:   fi
                   3569: else
                   3570:   CC="$ac_cv_prog_CC"
                   3571: fi
                   3572: 
                   3573: if test -z "$CC"; then
                   3574:           if test -n "$ac_tool_prefix"; then
                   3575:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3576: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3577: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3578: $as_echo_n "checking for $ac_word... " >&6; }
                   3579: if ${ac_cv_prog_CC+:} false; then :
                   3580:   $as_echo_n "(cached) " >&6
                   3581: else
                   3582:   if test -n "$CC"; then
                   3583:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3584: else
                   3585: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3586: for as_dir in $PATH
                   3587: do
                   3588:   IFS=$as_save_IFS
                   3589:   test -z "$as_dir" && as_dir=.
                   3590:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3591:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3592:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3593:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3594:     break 2
                   3595:   fi
                   3596: done
                   3597:   done
                   3598: IFS=$as_save_IFS
                   3599: 
                   3600: fi
                   3601: fi
                   3602: CC=$ac_cv_prog_CC
                   3603: if test -n "$CC"; then
                   3604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3605: $as_echo "$CC" >&6; }
                   3606: else
                   3607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3608: $as_echo "no" >&6; }
                   3609: fi
                   3610: 
                   3611: 
                   3612:   fi
                   3613: fi
                   3614: if test -z "$CC"; then
                   3615:   # Extract the first word of "cc", so it can be a program name with args.
                   3616: set dummy cc; ac_word=$2
                   3617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3618: $as_echo_n "checking for $ac_word... " >&6; }
                   3619: if ${ac_cv_prog_CC+:} false; then :
                   3620:   $as_echo_n "(cached) " >&6
                   3621: else
                   3622:   if test -n "$CC"; then
                   3623:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3624: else
                   3625:   ac_prog_rejected=no
                   3626: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3627: for as_dir in $PATH
                   3628: do
                   3629:   IFS=$as_save_IFS
                   3630:   test -z "$as_dir" && as_dir=.
                   3631:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3632:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3633:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3634:        ac_prog_rejected=yes
                   3635:        continue
                   3636:      fi
                   3637:     ac_cv_prog_CC="cc"
                   3638:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3639:     break 2
                   3640:   fi
                   3641: done
                   3642:   done
                   3643: IFS=$as_save_IFS
                   3644: 
                   3645: if test $ac_prog_rejected = yes; then
                   3646:   # We found a bogon in the path, so make sure we never use it.
                   3647:   set dummy $ac_cv_prog_CC
                   3648:   shift
                   3649:   if test $# != 0; then
                   3650:     # We chose a different compiler from the bogus one.
                   3651:     # However, it has the same basename, so the bogon will be chosen
                   3652:     # first if we set CC to just the basename; use the full file name.
                   3653:     shift
                   3654:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3655:   fi
                   3656: fi
                   3657: fi
                   3658: fi
                   3659: CC=$ac_cv_prog_CC
                   3660: if test -n "$CC"; then
                   3661:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3662: $as_echo "$CC" >&6; }
                   3663: else
                   3664:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3665: $as_echo "no" >&6; }
                   3666: fi
                   3667: 
                   3668: 
                   3669: fi
                   3670: if test -z "$CC"; then
                   3671:   if test -n "$ac_tool_prefix"; then
                   3672:   for ac_prog in cl.exe
                   3673:   do
                   3674:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3675: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3677: $as_echo_n "checking for $ac_word... " >&6; }
                   3678: if ${ac_cv_prog_CC+:} false; then :
                   3679:   $as_echo_n "(cached) " >&6
                   3680: else
                   3681:   if test -n "$CC"; then
                   3682:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3683: else
                   3684: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3685: for as_dir in $PATH
                   3686: do
                   3687:   IFS=$as_save_IFS
                   3688:   test -z "$as_dir" && as_dir=.
                   3689:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3690:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3691:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3692:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3693:     break 2
                   3694:   fi
                   3695: done
                   3696:   done
                   3697: IFS=$as_save_IFS
                   3698: 
                   3699: fi
                   3700: fi
                   3701: CC=$ac_cv_prog_CC
                   3702: if test -n "$CC"; then
                   3703:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3704: $as_echo "$CC" >&6; }
                   3705: else
                   3706:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3707: $as_echo "no" >&6; }
                   3708: fi
                   3709: 
                   3710: 
                   3711:     test -n "$CC" && break
                   3712:   done
                   3713: fi
                   3714: if test -z "$CC"; then
                   3715:   ac_ct_CC=$CC
                   3716:   for ac_prog in cl.exe
                   3717: do
                   3718:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3719: set dummy $ac_prog; ac_word=$2
                   3720: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3721: $as_echo_n "checking for $ac_word... " >&6; }
                   3722: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3723:   $as_echo_n "(cached) " >&6
                   3724: else
                   3725:   if test -n "$ac_ct_CC"; then
                   3726:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3727: else
                   3728: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3729: for as_dir in $PATH
                   3730: do
                   3731:   IFS=$as_save_IFS
                   3732:   test -z "$as_dir" && as_dir=.
                   3733:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    3734:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3735:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3736:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3737:     break 2
                   3738:   fi
                   3739: done
                   3740:   done
                   3741: IFS=$as_save_IFS
                   3742: 
                   3743: fi
                   3744: fi
                   3745: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3746: if test -n "$ac_ct_CC"; then
                   3747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3748: $as_echo "$ac_ct_CC" >&6; }
                   3749: else
                   3750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3751: $as_echo "no" >&6; }
                   3752: fi
                   3753: 
                   3754: 
                   3755:   test -n "$ac_ct_CC" && break
                   3756: done
                   3757: 
                   3758:   if test "x$ac_ct_CC" = x; then
                   3759:     CC=""
                   3760:   else
                   3761:     case $cross_compiling:$ac_tool_warned in
                   3762: yes:)
                   3763: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3764: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3765: ac_tool_warned=yes ;;
                   3766: esac
                   3767:     CC=$ac_ct_CC
                   3768:   fi
                   3769: fi
                   3770: 
                   3771: fi
                   3772: 
                   3773: 
                   3774: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3775: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3776: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3777: See \`config.log' for more details" "$LINENO" 5; }
                   3778: 
                   3779: # Provide some information about the compiler.
                   3780: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3781: set X $ac_compile
                   3782: ac_compiler=$2
                   3783: for ac_option in --version -v -V -qversion; do
                   3784:   { { ac_try="$ac_compiler $ac_option >&5"
                   3785: case "(($ac_try" in
                   3786:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3787:   *) ac_try_echo=$ac_try;;
                   3788: esac
                   3789: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3790: $as_echo "$ac_try_echo"; } >&5
                   3791:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3792:   ac_status=$?
                   3793:   if test -s conftest.err; then
                   3794:     sed '10a\
                   3795: ... rest of stderr output deleted ...
                   3796:          10q' conftest.err >conftest.er1
                   3797:     cat conftest.er1 >&5
                   3798:   fi
                   3799:   rm -f conftest.er1 conftest.err
                   3800:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3801:   test $ac_status = 0; }
                   3802: done
                   3803: 
                   3804: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3805: /* end confdefs.h.  */
                   3806: 
                   3807: int
                   3808: main ()
                   3809: {
                   3810: 
                   3811:   ;
                   3812:   return 0;
                   3813: }
                   3814: _ACEOF
                   3815: ac_clean_files_save=$ac_clean_files
                   3816: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3817: # Try to create an executable without -o first, disregard a.out.
                   3818: # It will help us diagnose broken compilers, and finding out an intuition
                   3819: # of exeext.
                   3820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3821: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3822: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3823: 
                   3824: # The possible output files:
                   3825: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3826: 
                   3827: ac_rmfiles=
                   3828: for ac_file in $ac_files
                   3829: do
                   3830:   case $ac_file in
                   3831:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3832:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3833:   esac
                   3834: done
                   3835: rm -f $ac_rmfiles
                   3836: 
                   3837: if { { ac_try="$ac_link_default"
                   3838: case "(($ac_try" in
                   3839:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3840:   *) ac_try_echo=$ac_try;;
                   3841: esac
                   3842: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3843: $as_echo "$ac_try_echo"; } >&5
                   3844:   (eval "$ac_link_default") 2>&5
                   3845:   ac_status=$?
                   3846:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3847:   test $ac_status = 0; }; then :
                   3848:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3849: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3850: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3851: # so that the user can short-circuit this test for compilers unknown to
                   3852: # Autoconf.
                   3853: for ac_file in $ac_files ''
                   3854: do
                   3855:   test -f "$ac_file" || continue
                   3856:   case $ac_file in
                   3857:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3858:        ;;
                   3859:     [ab].out )
                   3860:        # We found the default executable, but exeext='' is most
                   3861:        # certainly right.
                   3862:        break;;
                   3863:     *.* )
                   3864:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3865:        then :; else
                   3866:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3867:        fi
                   3868:        # We set ac_cv_exeext here because the later test for it is not
                   3869:        # safe: cross compilers may not add the suffix if given an `-o'
                   3870:        # argument, so we may need to know it at that point already.
                   3871:        # Even if this section looks crufty: it has the advantage of
                   3872:        # actually working.
                   3873:        break;;
                   3874:     * )
                   3875:        break;;
                   3876:   esac
                   3877: done
                   3878: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3879: 
                   3880: else
                   3881:   ac_file=''
                   3882: fi
                   3883: if test -z "$ac_file"; then :
                   3884:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3885: $as_echo "no" >&6; }
                   3886: $as_echo "$as_me: failed program was:" >&5
                   3887: sed 's/^/| /' conftest.$ac_ext >&5
                   3888: 
                   3889: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3890: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3891: as_fn_error 77 "C compiler cannot create executables
                   3892: See \`config.log' for more details" "$LINENO" 5; }
                   3893: else
                   3894:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3895: $as_echo "yes" >&6; }
                   3896: fi
                   3897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3898: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3899: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3900: $as_echo "$ac_file" >&6; }
                   3901: ac_exeext=$ac_cv_exeext
                   3902: 
                   3903: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3904: ac_clean_files=$ac_clean_files_save
                   3905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3906: $as_echo_n "checking for suffix of executables... " >&6; }
                   3907: if { { ac_try="$ac_link"
                   3908: case "(($ac_try" in
                   3909:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3910:   *) ac_try_echo=$ac_try;;
                   3911: esac
                   3912: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3913: $as_echo "$ac_try_echo"; } >&5
                   3914:   (eval "$ac_link") 2>&5
                   3915:   ac_status=$?
                   3916:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3917:   test $ac_status = 0; }; then :
                   3918:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3919: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3920: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3921: # `rm'.
                   3922: for ac_file in conftest.exe conftest conftest.*; do
                   3923:   test -f "$ac_file" || continue
                   3924:   case $ac_file in
                   3925:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3926:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3927:          break;;
                   3928:     * ) break;;
                   3929:   esac
                   3930: done
                   3931: else
                   3932:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3933: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3934: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3935: See \`config.log' for more details" "$LINENO" 5; }
                   3936: fi
                   3937: rm -f conftest conftest$ac_cv_exeext
                   3938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3939: $as_echo "$ac_cv_exeext" >&6; }
                   3940: 
                   3941: rm -f conftest.$ac_ext
                   3942: EXEEXT=$ac_cv_exeext
                   3943: ac_exeext=$EXEEXT
                   3944: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3945: /* end confdefs.h.  */
                   3946: #include <stdio.h>
                   3947: int
                   3948: main ()
                   3949: {
                   3950: FILE *f = fopen ("conftest.out", "w");
                   3951:  return ferror (f) || fclose (f) != 0;
                   3952: 
                   3953:   ;
                   3954:   return 0;
                   3955: }
                   3956: _ACEOF
                   3957: ac_clean_files="$ac_clean_files conftest.out"
                   3958: # Check that the compiler produces executables we can run.  If not, either
                   3959: # the compiler is broken, or we cross compile.
                   3960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3961: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3962: if test "$cross_compiling" != yes; then
                   3963:   { { ac_try="$ac_link"
                   3964: case "(($ac_try" in
                   3965:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3966:   *) ac_try_echo=$ac_try;;
                   3967: esac
                   3968: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3969: $as_echo "$ac_try_echo"; } >&5
                   3970:   (eval "$ac_link") 2>&5
                   3971:   ac_status=$?
                   3972:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3973:   test $ac_status = 0; }
                   3974:   if { ac_try='./conftest$ac_cv_exeext'
                   3975:   { { case "(($ac_try" in
                   3976:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3977:   *) ac_try_echo=$ac_try;;
                   3978: esac
                   3979: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3980: $as_echo "$ac_try_echo"; } >&5
                   3981:   (eval "$ac_try") 2>&5
                   3982:   ac_status=$?
                   3983:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3984:   test $ac_status = 0; }; }; then
                   3985:     cross_compiling=no
                   3986:   else
                   3987:     if test "$cross_compiling" = maybe; then
                   3988:        cross_compiling=yes
                   3989:     else
                   3990:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3991: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3992: as_fn_error $? "cannot run C compiled programs.
                   3993: If you meant to cross compile, use \`--host'.
                   3994: See \`config.log' for more details" "$LINENO" 5; }
                   3995:     fi
                   3996:   fi
                   3997: fi
                   3998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3999: $as_echo "$cross_compiling" >&6; }
                   4000: 
                   4001: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   4002: ac_clean_files=$ac_clean_files_save
                   4003: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   4004: $as_echo_n "checking for suffix of object files... " >&6; }
                   4005: if ${ac_cv_objext+:} false; then :
                   4006:   $as_echo_n "(cached) " >&6
                   4007: else
                   4008:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4009: /* end confdefs.h.  */
                   4010: 
                   4011: int
                   4012: main ()
                   4013: {
                   4014: 
                   4015:   ;
                   4016:   return 0;
                   4017: }
                   4018: _ACEOF
                   4019: rm -f conftest.o conftest.obj
                   4020: if { { ac_try="$ac_compile"
                   4021: case "(($ac_try" in
                   4022:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4023:   *) ac_try_echo=$ac_try;;
                   4024: esac
                   4025: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4026: $as_echo "$ac_try_echo"; } >&5
                   4027:   (eval "$ac_compile") 2>&5
                   4028:   ac_status=$?
                   4029:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4030:   test $ac_status = 0; }; then :
                   4031:   for ac_file in conftest.o conftest.obj conftest.*; do
                   4032:   test -f "$ac_file" || continue;
                   4033:   case $ac_file in
                   4034:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   4035:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   4036:        break;;
                   4037:   esac
                   4038: done
                   4039: else
                   4040:   $as_echo "$as_me: failed program was:" >&5
                   4041: sed 's/^/| /' conftest.$ac_ext >&5
                   4042: 
                   4043: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4044: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4045: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   4046: See \`config.log' for more details" "$LINENO" 5; }
                   4047: fi
                   4048: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   4049: fi
                   4050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   4051: $as_echo "$ac_cv_objext" >&6; }
                   4052: OBJEXT=$ac_cv_objext
                   4053: ac_objext=$OBJEXT
                   4054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4055: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4056: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4057:   $as_echo_n "(cached) " >&6
                   4058: else
                   4059:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4060: /* end confdefs.h.  */
                   4061: 
                   4062: int
                   4063: main ()
                   4064: {
                   4065: #ifndef __GNUC__
                   4066:        choke me
                   4067: #endif
                   4068: 
                   4069:   ;
                   4070:   return 0;
                   4071: }
                   4072: _ACEOF
                   4073: if ac_fn_c_try_compile "$LINENO"; then :
                   4074:   ac_compiler_gnu=yes
                   4075: else
                   4076:   ac_compiler_gnu=no
                   4077: fi
                   4078: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4079: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4080: 
                   4081: fi
                   4082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4083: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4084: if test $ac_compiler_gnu = yes; then
                   4085:   GCC=yes
                   4086: else
                   4087:   GCC=
                   4088: fi
                   4089: ac_test_CFLAGS=${CFLAGS+set}
                   4090: ac_save_CFLAGS=$CFLAGS
                   4091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4092: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4093: if ${ac_cv_prog_cc_g+:} false; then :
                   4094:   $as_echo_n "(cached) " >&6
                   4095: else
                   4096:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4097:    ac_c_werror_flag=yes
                   4098:    ac_cv_prog_cc_g=no
                   4099:    CFLAGS="-g"
                   4100:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4101: /* end confdefs.h.  */
                   4102: 
                   4103: int
                   4104: main ()
                   4105: {
                   4106: 
                   4107:   ;
                   4108:   return 0;
                   4109: }
                   4110: _ACEOF
                   4111: if ac_fn_c_try_compile "$LINENO"; then :
                   4112:   ac_cv_prog_cc_g=yes
                   4113: else
                   4114:   CFLAGS=""
                   4115:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4116: /* end confdefs.h.  */
                   4117: 
                   4118: int
                   4119: main ()
                   4120: {
                   4121: 
                   4122:   ;
                   4123:   return 0;
                   4124: }
                   4125: _ACEOF
                   4126: if ac_fn_c_try_compile "$LINENO"; then :
                   4127: 
                   4128: else
                   4129:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4130:         CFLAGS="-g"
                   4131:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4132: /* end confdefs.h.  */
                   4133: 
                   4134: int
                   4135: main ()
                   4136: {
                   4137: 
                   4138:   ;
                   4139:   return 0;
                   4140: }
                   4141: _ACEOF
                   4142: if ac_fn_c_try_compile "$LINENO"; then :
                   4143:   ac_cv_prog_cc_g=yes
                   4144: fi
                   4145: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4146: fi
                   4147: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4148: fi
                   4149: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4150:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4151: fi
                   4152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4153: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   4154: if test "$ac_test_CFLAGS" = set; then
                   4155:   CFLAGS=$ac_save_CFLAGS
                   4156: elif test $ac_cv_prog_cc_g = yes; then
                   4157:   if test "$GCC" = yes; then
                   4158:     CFLAGS="-g -O2"
                   4159:   else
                   4160:     CFLAGS="-g"
                   4161:   fi
                   4162: else
                   4163:   if test "$GCC" = yes; then
                   4164:     CFLAGS="-O2"
                   4165:   else
                   4166:     CFLAGS=
                   4167:   fi
                   4168: fi
                   4169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4170: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4171: if ${ac_cv_prog_cc_c89+:} false; then :
                   4172:   $as_echo_n "(cached) " >&6
                   4173: else
                   4174:   ac_cv_prog_cc_c89=no
                   4175: ac_save_CC=$CC
                   4176: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4177: /* end confdefs.h.  */
                   4178: #include <stdarg.h>
                   4179: #include <stdio.h>
1.1.1.4   misho    4180: struct stat;
1.1       misho    4181: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4182: struct buf { int x; };
                   4183: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4184: static char *e (p, i)
                   4185:      char **p;
                   4186:      int i;
                   4187: {
                   4188:   return p[i];
                   4189: }
                   4190: static char *f (char * (*g) (char **, int), char **p, ...)
                   4191: {
                   4192:   char *s;
                   4193:   va_list v;
                   4194:   va_start (v,p);
                   4195:   s = g (p, va_arg (v,int));
                   4196:   va_end (v);
                   4197:   return s;
                   4198: }
                   4199: 
                   4200: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4201:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4202:    These don't provoke an error unfortunately, instead are silently treated
                   4203:    as 'x'.  The following induces an error, until -std is added to get
                   4204:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4205:    array size at least.  It's necessary to write '\x00'==0 to get something
                   4206:    that's true only with -std.  */
                   4207: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4208: 
                   4209: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4210:    inside strings and character constants.  */
                   4211: #define FOO(x) 'x'
                   4212: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4213: 
                   4214: int test (int i, double x);
                   4215: struct s1 {int (*f) (int a);};
                   4216: struct s2 {int (*f) (double a);};
                   4217: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4218: int argc;
                   4219: char **argv;
                   4220: int
                   4221: main ()
                   4222: {
                   4223: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4224:   ;
                   4225:   return 0;
                   4226: }
                   4227: _ACEOF
                   4228: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4229:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   4230: do
                   4231:   CC="$ac_save_CC $ac_arg"
                   4232:   if ac_fn_c_try_compile "$LINENO"; then :
                   4233:   ac_cv_prog_cc_c89=$ac_arg
                   4234: fi
                   4235: rm -f core conftest.err conftest.$ac_objext
                   4236:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4237: done
                   4238: rm -f conftest.$ac_ext
                   4239: CC=$ac_save_CC
                   4240: 
                   4241: fi
                   4242: # AC_CACHE_VAL
                   4243: case "x$ac_cv_prog_cc_c89" in
                   4244:   x)
                   4245:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4246: $as_echo "none needed" >&6; } ;;
                   4247:   xno)
                   4248:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4249: $as_echo "unsupported" >&6; } ;;
                   4250:   *)
                   4251:     CC="$CC $ac_cv_prog_cc_c89"
                   4252:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4253: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   4254: esac
                   4255: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   4256: 
                   4257: fi
                   4258: 
                   4259: ac_ext=c
                   4260: ac_cpp='$CPP $CPPFLAGS'
                   4261: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4262: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4263: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4264: 
1.1.1.5 ! misho    4265: ac_ext=c
        !          4266: ac_cpp='$CPP $CPPFLAGS'
        !          4267: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4268: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4269: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          4271: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          4272: if ${am_cv_prog_cc_c_o+:} false; then :
        !          4273:   $as_echo_n "(cached) " >&6
        !          4274: else
        !          4275:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4276: /* end confdefs.h.  */
        !          4277: 
        !          4278: int
        !          4279: main ()
        !          4280: {
        !          4281: 
        !          4282:   ;
        !          4283:   return 0;
        !          4284: }
        !          4285: _ACEOF
        !          4286:   # Make sure it works both with $CC and with simple cc.
        !          4287:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          4288:   # compilers refuse to overwrite an existing .o file with -o,
        !          4289:   # though they will create one.
        !          4290:   am_cv_prog_cc_c_o=yes
        !          4291:   for am_i in 1 2; do
        !          4292:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          4293:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          4294:    ac_status=$?
        !          4295:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4296:    (exit $ac_status); } \
        !          4297:          && test -f conftest2.$ac_objext; then
        !          4298:       : OK
        !          4299:     else
        !          4300:       am_cv_prog_cc_c_o=no
        !          4301:       break
        !          4302:     fi
        !          4303:   done
        !          4304:   rm -f core conftest*
        !          4305:   unset am_i
        !          4306: fi
        !          4307: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          4308: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          4309: if test "$am_cv_prog_cc_c_o" != yes; then
        !          4310:    # Losing compiler, so override with the script.
        !          4311:    # FIXME: It is wrong to rewrite CC.
        !          4312:    # But if we don't then we get into trouble of one sort or another.
        !          4313:    # A longer-term fix would be to have automake use am__CC in this case,
        !          4314:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          4315:    CC="$am_aux_dir/compile $CC"
        !          4316: fi
        !          4317: ac_ext=c
        !          4318: ac_cpp='$CPP $CPPFLAGS'
        !          4319: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4320: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4321: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4322: 
        !          4323: 
1.1       misho    4324: depcc="$CC"   am_compiler_list=
                   4325: 
                   4326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4327: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4328: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4329:   $as_echo_n "(cached) " >&6
                   4330: else
                   4331:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4332:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4333:   # making bogus files that we don't know about and never remove.  For
                   4334:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.4   misho    4335:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4336:   # in D".
                   4337:   rm -rf conftest.dir
1.1       misho    4338:   mkdir conftest.dir
                   4339:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4340:   # using a relative directory.
                   4341:   cp "$am_depcomp" conftest.dir
                   4342:   cd conftest.dir
                   4343:   # We will build objects and dependencies in a subdirectory because
                   4344:   # it helps to detect inapplicable dependency modes.  For instance
                   4345:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4346:   # side effect of compilation, but ICC will put the dependencies in
                   4347:   # the current directory while Tru64 will put them in the object
                   4348:   # directory.
                   4349:   mkdir sub
                   4350: 
                   4351:   am_cv_CC_dependencies_compiler_type=none
                   4352:   if test "$am_compiler_list" = ""; then
                   4353:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4354:   fi
                   4355:   am__universal=false
                   4356:   case " $depcc " in #(
                   4357:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4358:      esac
                   4359: 
                   4360:   for depmode in $am_compiler_list; do
                   4361:     # Setup a source with many dependencies, because some compilers
                   4362:     # like to wrap large dependency lists on column 80 (with \), and
                   4363:     # we should not choose a depcomp mode which is confused by this.
                   4364:     #
                   4365:     # We need to recreate these files for each test, as the compiler may
                   4366:     # overwrite some of them when testing with obscure command lines.
                   4367:     # This happens at least with the AIX C compiler.
                   4368:     : > sub/conftest.c
                   4369:     for i in 1 2 3 4 5 6; do
                   4370:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.4   misho    4371:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4372:       # Solaris 10 /bin/sh.
                   4373:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    4374:     done
                   4375:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4376: 
1.1.1.4   misho    4377:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    4378:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.4   misho    4379:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4380:     # versions had trouble with output in subdirs.
1.1       misho    4381:     am__obj=sub/conftest.${OBJEXT-o}
                   4382:     am__minus_obj="-o $am__obj"
                   4383:     case $depmode in
                   4384:     gcc)
                   4385:       # This depmode causes a compiler race in universal mode.
                   4386:       test "$am__universal" = false || continue
                   4387:       ;;
                   4388:     nosideeffect)
1.1.1.4   misho    4389:       # After this tag, mechanisms are not by side-effect, so they'll
                   4390:       # only be used when explicitly requested.
1.1       misho    4391:       if test "x$enable_dependency_tracking" = xyes; then
                   4392:        continue
                   4393:       else
                   4394:        break
                   4395:       fi
                   4396:       ;;
1.1.1.4   misho    4397:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4398:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    4399:       # not run yet.  These depmodes are late enough in the game, and
                   4400:       # so weak that their functioning should not be impacted.
                   4401:       am__obj=conftest.${OBJEXT-o}
                   4402:       am__minus_obj=
                   4403:       ;;
                   4404:     none) break ;;
                   4405:     esac
                   4406:     if depmode=$depmode \
                   4407:        source=sub/conftest.c object=$am__obj \
                   4408:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4409:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4410:          >/dev/null 2>conftest.err &&
                   4411:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4412:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4413:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4414:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4415:       # icc doesn't choke on unknown options, it will just issue warnings
                   4416:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4417:       # that says an option was ignored or not supported.
                   4418:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4419:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4420:       # The diagnosis changed in icc 8.0:
                   4421:       #   icc: Command line remark: option '-MP' not supported
                   4422:       if (grep 'ignoring option' conftest.err ||
                   4423:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4424:         am_cv_CC_dependencies_compiler_type=$depmode
                   4425:         break
                   4426:       fi
                   4427:     fi
                   4428:   done
                   4429: 
                   4430:   cd ..
                   4431:   rm -rf conftest.dir
                   4432: else
                   4433:   am_cv_CC_dependencies_compiler_type=none
                   4434: fi
                   4435: 
                   4436: fi
                   4437: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4438: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4439: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4440: 
                   4441:  if
                   4442:   test "x$enable_dependency_tracking" != xno \
                   4443:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4444:   am__fastdepCC_TRUE=
                   4445:   am__fastdepCC_FALSE='#'
                   4446: else
                   4447:   am__fastdepCC_TRUE='#'
                   4448:   am__fastdepCC_FALSE=
                   4449: fi
                   4450: 
                   4451: 
1.1.1.4   misho    4452: 
                   4453: if test -n "$ac_tool_prefix"; then
                   4454:   for ac_prog in ar lib "link -lib"
1.1       misho    4455:   do
                   4456:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4457: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4459: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.4   misho    4460: if ${ac_cv_prog_AR+:} false; then :
1.1       misho    4461:   $as_echo_n "(cached) " >&6
                   4462: else
1.1.1.4   misho    4463:   if test -n "$AR"; then
                   4464:   ac_cv_prog_AR="$AR" # Let the user override the test.
1.1       misho    4465: else
                   4466: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4467: for as_dir in $PATH
                   4468: do
                   4469:   IFS=$as_save_IFS
                   4470:   test -z "$as_dir" && as_dir=.
                   4471:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    4472:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4473:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.1       misho    4474:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4475:     break 2
                   4476:   fi
                   4477: done
                   4478:   done
                   4479: IFS=$as_save_IFS
                   4480: 
                   4481: fi
                   4482: fi
1.1.1.4   misho    4483: AR=$ac_cv_prog_AR
                   4484: if test -n "$AR"; then
                   4485:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   4486: $as_echo "$AR" >&6; }
1.1       misho    4487: else
                   4488:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4489: $as_echo "no" >&6; }
                   4490: fi
                   4491: 
                   4492: 
1.1.1.4   misho    4493:     test -n "$AR" && break
1.1       misho    4494:   done
                   4495: fi
1.1.1.4   misho    4496: if test -z "$AR"; then
                   4497:   ac_ct_AR=$AR
                   4498:   for ac_prog in ar lib "link -lib"
1.1       misho    4499: do
                   4500:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4501: set dummy $ac_prog; ac_word=$2
                   4502: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4503: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.4   misho    4504: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1       misho    4505:   $as_echo_n "(cached) " >&6
                   4506: else
1.1.1.4   misho    4507:   if test -n "$ac_ct_AR"; then
                   4508:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.1       misho    4509: else
                   4510: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4511: for as_dir in $PATH
                   4512: do
                   4513:   IFS=$as_save_IFS
                   4514:   test -z "$as_dir" && as_dir=.
                   4515:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    4516:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4517:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.1       misho    4518:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4519:     break 2
                   4520:   fi
                   4521: done
                   4522:   done
                   4523: IFS=$as_save_IFS
                   4524: 
                   4525: fi
                   4526: fi
1.1.1.4   misho    4527: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   4528: if test -n "$ac_ct_AR"; then
                   4529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   4530: $as_echo "$ac_ct_AR" >&6; }
1.1       misho    4531: else
                   4532:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4533: $as_echo "no" >&6; }
                   4534: fi
                   4535: 
                   4536: 
1.1.1.4   misho    4537:   test -n "$ac_ct_AR" && break
1.1       misho    4538: done
                   4539: 
1.1.1.4   misho    4540:   if test "x$ac_ct_AR" = x; then
                   4541:     AR="false"
1.1       misho    4542:   else
                   4543:     case $cross_compiling:$ac_tool_warned in
                   4544: yes:)
                   4545: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4546: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4547: ac_tool_warned=yes ;;
                   4548: esac
1.1.1.4   misho    4549:     AR=$ac_ct_AR
1.1       misho    4550:   fi
                   4551: fi
                   4552: 
1.1.1.4   misho    4553: : ${AR=ar}
                   4554: 
                   4555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
                   4556: $as_echo_n "checking the archiver ($AR) interface... " >&6; }
                   4557: if ${am_cv_ar_interface+:} false; then :
                   4558:   $as_echo_n "(cached) " >&6
                   4559: else
1.1.1.5 ! misho    4560:   ac_ext=c
        !          4561: ac_cpp='$CPP $CPPFLAGS'
        !          4562: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4563: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4564: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4565: 
        !          4566:    am_cv_ar_interface=ar
1.1.1.4   misho    4567:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4568: /* end confdefs.h.  */
                   4569: int some_variable = 0;
                   4570: _ACEOF
                   4571: if ac_fn_c_try_compile "$LINENO"; then :
                   4572:   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
                   4573:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
                   4574:   (eval $am_ar_try) 2>&5
                   4575:   ac_status=$?
                   4576:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4577:   test $ac_status = 0; }
                   4578:       if test "$ac_status" -eq 0; then
                   4579:         am_cv_ar_interface=ar
                   4580:       else
                   4581:         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
                   4582:         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
                   4583:   (eval $am_ar_try) 2>&5
                   4584:   ac_status=$?
                   4585:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4586:   test $ac_status = 0; }
                   4587:         if test "$ac_status" -eq 0; then
                   4588:           am_cv_ar_interface=lib
                   4589:         else
                   4590:           am_cv_ar_interface=unknown
                   4591:         fi
                   4592:       fi
                   4593:       rm -f conftest.lib libconftest.a
                   4594: 
                   4595: fi
                   4596: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.5 ! misho    4597:    ac_ext=c
        !          4598: ac_cpp='$CPP $CPPFLAGS'
        !          4599: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4600: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4601: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.4   misho    4602: 
                   4603: fi
                   4604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
                   4605: $as_echo "$am_cv_ar_interface" >&6; }
                   4606: 
                   4607: case $am_cv_ar_interface in
                   4608: ar)
                   4609:   ;;
                   4610: lib)
                   4611:   # Microsoft lib, so override with the ar-lib wrapper script.
                   4612:   # FIXME: It is wrong to rewrite AR.
                   4613:   # But if we don't then we get into trouble of one sort or another.
                   4614:   # A longer-term fix would be to have automake use am__AR in this case,
                   4615:   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
                   4616:   # similar.
                   4617:   AR="$am_aux_dir/ar-lib $AR"
                   4618:   ;;
                   4619: unknown)
                   4620:   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
                   4621:   ;;
                   4622: esac
                   4623: 
                   4624: 
                   4625: # This was added at the suggestion of libtoolize (03-Jan-10)
                   4626: 
                   4627: 
                   4628: # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
                   4629: # "-g" for any other compiler. There doesn't seem to be a standard way of
                   4630: # getting rid of the -g (which I don't think is needed for a production
                   4631: # library). This fudge seems to achieve the necessary. First, we remember the
                   4632: # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
                   4633: # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
                   4634: # set, they will be set to Autoconf's defaults. Afterwards, if the original
                   4635: # values were not set, remove the -g from the Autoconf defaults.
                   4636: # (PH 02-May-07)
                   4637: 
                   4638: remember_set_CFLAGS="$CFLAGS"
                   4639: remember_set_CXXFLAGS="$CXXFLAGS"
                   4640: 
                   4641: ac_ext=c
                   4642: ac_cpp='$CPP $CPPFLAGS'
                   4643: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4644: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4645: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4646: if test -n "$ac_tool_prefix"; then
                   4647:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4648: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   4649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4650: $as_echo_n "checking for $ac_word... " >&6; }
                   4651: if ${ac_cv_prog_CC+:} false; then :
                   4652:   $as_echo_n "(cached) " >&6
                   4653: else
                   4654:   if test -n "$CC"; then
                   4655:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4656: else
                   4657: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4658: for as_dir in $PATH
                   4659: do
                   4660:   IFS=$as_save_IFS
                   4661:   test -z "$as_dir" && as_dir=.
                   4662:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4663:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4664:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   4665:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4666:     break 2
                   4667:   fi
                   4668: done
                   4669:   done
                   4670: IFS=$as_save_IFS
                   4671: 
                   4672: fi
                   4673: fi
                   4674: CC=$ac_cv_prog_CC
                   4675: if test -n "$CC"; then
                   4676:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4677: $as_echo "$CC" >&6; }
                   4678: else
                   4679:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4680: $as_echo "no" >&6; }
                   4681: fi
                   4682: 
                   4683: 
                   4684: fi
                   4685: if test -z "$ac_cv_prog_CC"; then
                   4686:   ac_ct_CC=$CC
                   4687:   # Extract the first word of "gcc", so it can be a program name with args.
                   4688: set dummy gcc; ac_word=$2
                   4689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4690: $as_echo_n "checking for $ac_word... " >&6; }
                   4691: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4692:   $as_echo_n "(cached) " >&6
                   4693: else
                   4694:   if test -n "$ac_ct_CC"; then
                   4695:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4696: else
                   4697: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4698: for as_dir in $PATH
                   4699: do
                   4700:   IFS=$as_save_IFS
                   4701:   test -z "$as_dir" && as_dir=.
                   4702:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4703:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4704:     ac_cv_prog_ac_ct_CC="gcc"
                   4705:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4706:     break 2
                   4707:   fi
                   4708: done
                   4709:   done
                   4710: IFS=$as_save_IFS
                   4711: 
                   4712: fi
                   4713: fi
                   4714: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4715: if test -n "$ac_ct_CC"; then
                   4716:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4717: $as_echo "$ac_ct_CC" >&6; }
                   4718: else
                   4719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4720: $as_echo "no" >&6; }
                   4721: fi
                   4722: 
                   4723:   if test "x$ac_ct_CC" = x; then
                   4724:     CC=""
                   4725:   else
                   4726:     case $cross_compiling:$ac_tool_warned in
                   4727: yes:)
                   4728: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4729: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4730: ac_tool_warned=yes ;;
                   4731: esac
                   4732:     CC=$ac_ct_CC
                   4733:   fi
                   4734: else
                   4735:   CC="$ac_cv_prog_CC"
                   4736: fi
                   4737: 
                   4738: if test -z "$CC"; then
                   4739:           if test -n "$ac_tool_prefix"; then
                   4740:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   4741: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   4742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4743: $as_echo_n "checking for $ac_word... " >&6; }
                   4744: if ${ac_cv_prog_CC+:} false; then :
                   4745:   $as_echo_n "(cached) " >&6
                   4746: else
                   4747:   if test -n "$CC"; then
                   4748:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4749: else
                   4750: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4751: for as_dir in $PATH
                   4752: do
                   4753:   IFS=$as_save_IFS
                   4754:   test -z "$as_dir" && as_dir=.
                   4755:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4756:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4757:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   4758:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4759:     break 2
                   4760:   fi
                   4761: done
                   4762:   done
                   4763: IFS=$as_save_IFS
                   4764: 
                   4765: fi
                   4766: fi
                   4767: CC=$ac_cv_prog_CC
                   4768: if test -n "$CC"; then
                   4769:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4770: $as_echo "$CC" >&6; }
                   4771: else
                   4772:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4773: $as_echo "no" >&6; }
                   4774: fi
                   4775: 
                   4776: 
                   4777:   fi
                   4778: fi
                   4779: if test -z "$CC"; then
                   4780:   # Extract the first word of "cc", so it can be a program name with args.
                   4781: set dummy cc; ac_word=$2
                   4782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4783: $as_echo_n "checking for $ac_word... " >&6; }
                   4784: if ${ac_cv_prog_CC+:} false; then :
                   4785:   $as_echo_n "(cached) " >&6
                   4786: else
                   4787:   if test -n "$CC"; then
                   4788:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4789: else
                   4790:   ac_prog_rejected=no
                   4791: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4792: for as_dir in $PATH
                   4793: do
                   4794:   IFS=$as_save_IFS
                   4795:   test -z "$as_dir" && as_dir=.
                   4796:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4797:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4798:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4799:        ac_prog_rejected=yes
                   4800:        continue
                   4801:      fi
                   4802:     ac_cv_prog_CC="cc"
                   4803:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4804:     break 2
                   4805:   fi
                   4806: done
                   4807:   done
                   4808: IFS=$as_save_IFS
                   4809: 
                   4810: if test $ac_prog_rejected = yes; then
                   4811:   # We found a bogon in the path, so make sure we never use it.
                   4812:   set dummy $ac_cv_prog_CC
                   4813:   shift
                   4814:   if test $# != 0; then
                   4815:     # We chose a different compiler from the bogus one.
                   4816:     # However, it has the same basename, so the bogon will be chosen
                   4817:     # first if we set CC to just the basename; use the full file name.
                   4818:     shift
                   4819:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4820:   fi
                   4821: fi
                   4822: fi
                   4823: fi
                   4824: CC=$ac_cv_prog_CC
                   4825: if test -n "$CC"; then
                   4826:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4827: $as_echo "$CC" >&6; }
                   4828: else
                   4829:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4830: $as_echo "no" >&6; }
                   4831: fi
                   4832: 
                   4833: 
                   4834: fi
                   4835: if test -z "$CC"; then
                   4836:   if test -n "$ac_tool_prefix"; then
                   4837:   for ac_prog in cl.exe
                   4838:   do
                   4839:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4840: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4842: $as_echo_n "checking for $ac_word... " >&6; }
                   4843: if ${ac_cv_prog_CC+:} false; then :
                   4844:   $as_echo_n "(cached) " >&6
                   4845: else
                   4846:   if test -n "$CC"; then
                   4847:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4848: else
                   4849: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4850: for as_dir in $PATH
                   4851: do
                   4852:   IFS=$as_save_IFS
                   4853:   test -z "$as_dir" && as_dir=.
                   4854:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4855:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4856:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   4857:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4858:     break 2
                   4859:   fi
                   4860: done
                   4861:   done
                   4862: IFS=$as_save_IFS
                   4863: 
                   4864: fi
                   4865: fi
                   4866: CC=$ac_cv_prog_CC
                   4867: if test -n "$CC"; then
                   4868:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4869: $as_echo "$CC" >&6; }
                   4870: else
                   4871:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4872: $as_echo "no" >&6; }
                   4873: fi
                   4874: 
                   4875: 
                   4876:     test -n "$CC" && break
                   4877:   done
                   4878: fi
                   4879: if test -z "$CC"; then
                   4880:   ac_ct_CC=$CC
                   4881:   for ac_prog in cl.exe
                   4882: do
                   4883:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4884: set dummy $ac_prog; ac_word=$2
                   4885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4886: $as_echo_n "checking for $ac_word... " >&6; }
                   4887: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4888:   $as_echo_n "(cached) " >&6
                   4889: else
                   4890:   if test -n "$ac_ct_CC"; then
                   4891:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4892: else
                   4893: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4894: for as_dir in $PATH
                   4895: do
                   4896:   IFS=$as_save_IFS
                   4897:   test -z "$as_dir" && as_dir=.
                   4898:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4899:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4900:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   4901:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4902:     break 2
                   4903:   fi
                   4904: done
                   4905:   done
                   4906: IFS=$as_save_IFS
                   4907: 
                   4908: fi
                   4909: fi
                   4910: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4911: if test -n "$ac_ct_CC"; then
                   4912:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4913: $as_echo "$ac_ct_CC" >&6; }
                   4914: else
                   4915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4916: $as_echo "no" >&6; }
                   4917: fi
                   4918: 
                   4919: 
                   4920:   test -n "$ac_ct_CC" && break
                   4921: done
                   4922: 
                   4923:   if test "x$ac_ct_CC" = x; then
                   4924:     CC=""
                   4925:   else
                   4926:     case $cross_compiling:$ac_tool_warned in
                   4927: yes:)
                   4928: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4929: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4930: ac_tool_warned=yes ;;
                   4931: esac
                   4932:     CC=$ac_ct_CC
                   4933:   fi
                   4934: fi
                   4935: 
                   4936: fi
                   4937: 
                   4938: 
                   4939: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4940: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4941: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4942: See \`config.log' for more details" "$LINENO" 5; }
                   4943: 
                   4944: # Provide some information about the compiler.
                   4945: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4946: set X $ac_compile
                   4947: ac_compiler=$2
                   4948: for ac_option in --version -v -V -qversion; do
                   4949:   { { ac_try="$ac_compiler $ac_option >&5"
                   4950: case "(($ac_try" in
                   4951:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4952:   *) ac_try_echo=$ac_try;;
                   4953: esac
                   4954: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4955: $as_echo "$ac_try_echo"; } >&5
                   4956:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   4957:   ac_status=$?
                   4958:   if test -s conftest.err; then
                   4959:     sed '10a\
                   4960: ... rest of stderr output deleted ...
                   4961:          10q' conftest.err >conftest.er1
                   4962:     cat conftest.er1 >&5
                   4963:   fi
                   4964:   rm -f conftest.er1 conftest.err
                   4965:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4966:   test $ac_status = 0; }
                   4967: done
                   4968: 
                   4969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4970: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4971: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4972:   $as_echo_n "(cached) " >&6
                   4973: else
                   4974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4975: /* end confdefs.h.  */
                   4976: 
                   4977: int
                   4978: main ()
                   4979: {
                   4980: #ifndef __GNUC__
                   4981:        choke me
                   4982: #endif
                   4983: 
                   4984:   ;
                   4985:   return 0;
                   4986: }
                   4987: _ACEOF
                   4988: if ac_fn_c_try_compile "$LINENO"; then :
                   4989:   ac_compiler_gnu=yes
                   4990: else
                   4991:   ac_compiler_gnu=no
                   4992: fi
                   4993: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4994: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4995: 
                   4996: fi
                   4997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4998: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4999: if test $ac_compiler_gnu = yes; then
                   5000:   GCC=yes
                   5001: else
                   5002:   GCC=
                   5003: fi
                   5004: ac_test_CFLAGS=${CFLAGS+set}
                   5005: ac_save_CFLAGS=$CFLAGS
                   5006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   5007: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   5008: if ${ac_cv_prog_cc_g+:} false; then :
                   5009:   $as_echo_n "(cached) " >&6
                   5010: else
                   5011:   ac_save_c_werror_flag=$ac_c_werror_flag
                   5012:    ac_c_werror_flag=yes
                   5013:    ac_cv_prog_cc_g=no
                   5014:    CFLAGS="-g"
                   5015:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5016: /* end confdefs.h.  */
                   5017: 
                   5018: int
                   5019: main ()
                   5020: {
                   5021: 
                   5022:   ;
                   5023:   return 0;
                   5024: }
                   5025: _ACEOF
                   5026: if ac_fn_c_try_compile "$LINENO"; then :
                   5027:   ac_cv_prog_cc_g=yes
                   5028: else
                   5029:   CFLAGS=""
                   5030:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5031: /* end confdefs.h.  */
                   5032: 
                   5033: int
                   5034: main ()
                   5035: {
                   5036: 
                   5037:   ;
                   5038:   return 0;
                   5039: }
                   5040: _ACEOF
                   5041: if ac_fn_c_try_compile "$LINENO"; then :
                   5042: 
                   5043: else
                   5044:   ac_c_werror_flag=$ac_save_c_werror_flag
                   5045:         CFLAGS="-g"
                   5046:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5047: /* end confdefs.h.  */
                   5048: 
                   5049: int
                   5050: main ()
                   5051: {
                   5052: 
                   5053:   ;
                   5054:   return 0;
                   5055: }
                   5056: _ACEOF
                   5057: if ac_fn_c_try_compile "$LINENO"; then :
                   5058:   ac_cv_prog_cc_g=yes
                   5059: fi
                   5060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5061: fi
                   5062: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5063: fi
                   5064: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5065:    ac_c_werror_flag=$ac_save_c_werror_flag
                   5066: fi
                   5067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   5068: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   5069: if test "$ac_test_CFLAGS" = set; then
                   5070:   CFLAGS=$ac_save_CFLAGS
                   5071: elif test $ac_cv_prog_cc_g = yes; then
                   5072:   if test "$GCC" = yes; then
                   5073:     CFLAGS="-g -O2"
                   5074:   else
                   5075:     CFLAGS="-g"
                   5076:   fi
                   5077: else
                   5078:   if test "$GCC" = yes; then
                   5079:     CFLAGS="-O2"
                   5080:   else
                   5081:     CFLAGS=
                   5082:   fi
                   5083: fi
                   5084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   5085: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   5086: if ${ac_cv_prog_cc_c89+:} false; then :
                   5087:   $as_echo_n "(cached) " >&6
                   5088: else
                   5089:   ac_cv_prog_cc_c89=no
                   5090: ac_save_CC=$CC
                   5091: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5092: /* end confdefs.h.  */
                   5093: #include <stdarg.h>
                   5094: #include <stdio.h>
                   5095: struct stat;
                   5096: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   5097: struct buf { int x; };
                   5098: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   5099: static char *e (p, i)
                   5100:      char **p;
                   5101:      int i;
                   5102: {
                   5103:   return p[i];
                   5104: }
                   5105: static char *f (char * (*g) (char **, int), char **p, ...)
                   5106: {
                   5107:   char *s;
                   5108:   va_list v;
                   5109:   va_start (v,p);
                   5110:   s = g (p, va_arg (v,int));
                   5111:   va_end (v);
                   5112:   return s;
                   5113: }
                   5114: 
                   5115: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   5116:    function prototypes and stuff, but not '\xHH' hex character constants.
                   5117:    These don't provoke an error unfortunately, instead are silently treated
                   5118:    as 'x'.  The following induces an error, until -std is added to get
                   5119:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   5120:    array size at least.  It's necessary to write '\x00'==0 to get something
                   5121:    that's true only with -std.  */
                   5122: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   5123: 
                   5124: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   5125:    inside strings and character constants.  */
                   5126: #define FOO(x) 'x'
                   5127: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   5128: 
                   5129: int test (int i, double x);
                   5130: struct s1 {int (*f) (int a);};
                   5131: struct s2 {int (*f) (double a);};
                   5132: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   5133: int argc;
                   5134: char **argv;
                   5135: int
                   5136: main ()
                   5137: {
                   5138: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   5139:   ;
                   5140:   return 0;
                   5141: }
                   5142: _ACEOF
                   5143: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   5144:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   5145: do
                   5146:   CC="$ac_save_CC $ac_arg"
                   5147:   if ac_fn_c_try_compile "$LINENO"; then :
                   5148:   ac_cv_prog_cc_c89=$ac_arg
                   5149: fi
                   5150: rm -f core conftest.err conftest.$ac_objext
                   5151:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   5152: done
                   5153: rm -f conftest.$ac_ext
                   5154: CC=$ac_save_CC
                   5155: 
                   5156: fi
                   5157: # AC_CACHE_VAL
                   5158: case "x$ac_cv_prog_cc_c89" in
                   5159:   x)
                   5160:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   5161: $as_echo "none needed" >&6; } ;;
                   5162:   xno)
                   5163:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   5164: $as_echo "unsupported" >&6; } ;;
                   5165:   *)
                   5166:     CC="$CC $ac_cv_prog_cc_c89"
                   5167:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   5168: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   5169: esac
                   5170: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   5171: 
                   5172: fi
                   5173: 
                   5174: ac_ext=c
                   5175: ac_cpp='$CPP $CPPFLAGS'
                   5176: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5177: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5178: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5179: 
1.1.1.5 ! misho    5180: ac_ext=c
        !          5181: ac_cpp='$CPP $CPPFLAGS'
        !          5182: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5183: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5184: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          5186: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          5187: if ${am_cv_prog_cc_c_o+:} false; then :
        !          5188:   $as_echo_n "(cached) " >&6
        !          5189: else
        !          5190:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5191: /* end confdefs.h.  */
        !          5192: 
        !          5193: int
        !          5194: main ()
        !          5195: {
        !          5196: 
        !          5197:   ;
        !          5198:   return 0;
        !          5199: }
        !          5200: _ACEOF
        !          5201:   # Make sure it works both with $CC and with simple cc.
        !          5202:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          5203:   # compilers refuse to overwrite an existing .o file with -o,
        !          5204:   # though they will create one.
        !          5205:   am_cv_prog_cc_c_o=yes
        !          5206:   for am_i in 1 2; do
        !          5207:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          5208:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          5209:    ac_status=$?
        !          5210:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5211:    (exit $ac_status); } \
        !          5212:          && test -f conftest2.$ac_objext; then
        !          5213:       : OK
        !          5214:     else
        !          5215:       am_cv_prog_cc_c_o=no
        !          5216:       break
        !          5217:     fi
        !          5218:   done
        !          5219:   rm -f core conftest*
        !          5220:   unset am_i
        !          5221: fi
        !          5222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          5223: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          5224: if test "$am_cv_prog_cc_c_o" != yes; then
        !          5225:    # Losing compiler, so override with the script.
        !          5226:    # FIXME: It is wrong to rewrite CC.
        !          5227:    # But if we don't then we get into trouble of one sort or another.
        !          5228:    # A longer-term fix would be to have automake use am__CC in this case,
        !          5229:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          5230:    CC="$am_aux_dir/compile $CC"
        !          5231: fi
        !          5232: ac_ext=c
        !          5233: ac_cpp='$CPP $CPPFLAGS'
        !          5234: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5235: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5236: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5237: 
        !          5238: 
1.1.1.4   misho    5239: depcc="$CC"   am_compiler_list=
                   5240: 
                   5241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   5242: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   5243: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   5244:   $as_echo_n "(cached) " >&6
                   5245: else
                   5246:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   5247:   # We make a subdir and do the tests there.  Otherwise we can end up
                   5248:   # making bogus files that we don't know about and never remove.  For
                   5249:   # instance it was reported that on HP-UX the gcc test will end up
                   5250:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   5251:   # in D".
                   5252:   rm -rf conftest.dir
                   5253:   mkdir conftest.dir
                   5254:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   5255:   # using a relative directory.
                   5256:   cp "$am_depcomp" conftest.dir
                   5257:   cd conftest.dir
                   5258:   # We will build objects and dependencies in a subdirectory because
                   5259:   # it helps to detect inapplicable dependency modes.  For instance
                   5260:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   5261:   # side effect of compilation, but ICC will put the dependencies in
                   5262:   # the current directory while Tru64 will put them in the object
                   5263:   # directory.
                   5264:   mkdir sub
                   5265: 
                   5266:   am_cv_CC_dependencies_compiler_type=none
                   5267:   if test "$am_compiler_list" = ""; then
                   5268:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   5269:   fi
                   5270:   am__universal=false
                   5271:   case " $depcc " in #(
                   5272:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   5273:      esac
                   5274: 
                   5275:   for depmode in $am_compiler_list; do
                   5276:     # Setup a source with many dependencies, because some compilers
                   5277:     # like to wrap large dependency lists on column 80 (with \), and
                   5278:     # we should not choose a depcomp mode which is confused by this.
                   5279:     #
                   5280:     # We need to recreate these files for each test, as the compiler may
                   5281:     # overwrite some of them when testing with obscure command lines.
                   5282:     # This happens at least with the AIX C compiler.
                   5283:     : > sub/conftest.c
                   5284:     for i in 1 2 3 4 5 6; do
                   5285:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   5286:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   5287:       # Solaris 10 /bin/sh.
                   5288:       echo '/* dummy */' > sub/conftst$i.h
                   5289:     done
                   5290:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   5291: 
                   5292:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
                   5293:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   5294:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   5295:     # versions had trouble with output in subdirs.
                   5296:     am__obj=sub/conftest.${OBJEXT-o}
                   5297:     am__minus_obj="-o $am__obj"
                   5298:     case $depmode in
                   5299:     gcc)
                   5300:       # This depmode causes a compiler race in universal mode.
                   5301:       test "$am__universal" = false || continue
                   5302:       ;;
                   5303:     nosideeffect)
                   5304:       # After this tag, mechanisms are not by side-effect, so they'll
                   5305:       # only be used when explicitly requested.
                   5306:       if test "x$enable_dependency_tracking" = xyes; then
                   5307:        continue
                   5308:       else
                   5309:        break
                   5310:       fi
                   5311:       ;;
                   5312:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   5313:       # This compiler won't grok '-c -o', but also, the minuso test has
                   5314:       # not run yet.  These depmodes are late enough in the game, and
                   5315:       # so weak that their functioning should not be impacted.
                   5316:       am__obj=conftest.${OBJEXT-o}
                   5317:       am__minus_obj=
                   5318:       ;;
                   5319:     none) break ;;
                   5320:     esac
                   5321:     if depmode=$depmode \
                   5322:        source=sub/conftest.c object=$am__obj \
                   5323:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   5324:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   5325:          >/dev/null 2>conftest.err &&
                   5326:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   5327:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   5328:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   5329:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   5330:       # icc doesn't choke on unknown options, it will just issue warnings
                   5331:       # or remarks (even with -Werror).  So we grep stderr for any message
                   5332:       # that says an option was ignored or not supported.
                   5333:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   5334:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   5335:       # The diagnosis changed in icc 8.0:
                   5336:       #   icc: Command line remark: option '-MP' not supported
                   5337:       if (grep 'ignoring option' conftest.err ||
                   5338:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   5339:         am_cv_CC_dependencies_compiler_type=$depmode
                   5340:         break
                   5341:       fi
                   5342:     fi
                   5343:   done
                   5344: 
                   5345:   cd ..
                   5346:   rm -rf conftest.dir
                   5347: else
                   5348:   am_cv_CC_dependencies_compiler_type=none
                   5349: fi
                   5350: 
                   5351: fi
                   5352: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   5353: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   5354: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   5355: 
                   5356:  if
                   5357:   test "x$enable_dependency_tracking" != xno \
                   5358:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   5359:   am__fastdepCC_TRUE=
                   5360:   am__fastdepCC_FALSE='#'
                   5361: else
                   5362:   am__fastdepCC_TRUE='#'
                   5363:   am__fastdepCC_FALSE=
                   5364: fi
                   5365: 
                   5366: 
                   5367: ac_ext=cpp
                   5368: ac_cpp='$CXXCPP $CPPFLAGS'
                   5369: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5370: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5371: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   5372: if test -z "$CXX"; then
                   5373:   if test -n "$CCC"; then
                   5374:     CXX=$CCC
                   5375:   else
                   5376:     if test -n "$ac_tool_prefix"; then
                   5377:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
                   5378:   do
                   5379:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5380: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5382: $as_echo_n "checking for $ac_word... " >&6; }
                   5383: if ${ac_cv_prog_CXX+:} false; then :
                   5384:   $as_echo_n "(cached) " >&6
                   5385: else
                   5386:   if test -n "$CXX"; then
                   5387:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   5388: else
                   5389: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5390: for as_dir in $PATH
                   5391: do
                   5392:   IFS=$as_save_IFS
                   5393:   test -z "$as_dir" && as_dir=.
                   5394:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5395:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5396:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   5397:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5398:     break 2
                   5399:   fi
                   5400: done
                   5401:   done
                   5402: IFS=$as_save_IFS
                   5403: 
                   5404: fi
                   5405: fi
                   5406: CXX=$ac_cv_prog_CXX
                   5407: if test -n "$CXX"; then
                   5408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   5409: $as_echo "$CXX" >&6; }
                   5410: else
                   5411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5412: $as_echo "no" >&6; }
                   5413: fi
                   5414: 
                   5415: 
                   5416:     test -n "$CXX" && break
                   5417:   done
                   5418: fi
                   5419: if test -z "$CXX"; then
                   5420:   ac_ct_CXX=$CXX
                   5421:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
                   5422: do
                   5423:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5424: set dummy $ac_prog; ac_word=$2
                   5425: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5426: $as_echo_n "checking for $ac_word... " >&6; }
                   5427: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   5428:   $as_echo_n "(cached) " >&6
                   5429: else
                   5430:   if test -n "$ac_ct_CXX"; then
                   5431:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   5432: else
                   5433: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5434: for as_dir in $PATH
                   5435: do
                   5436:   IFS=$as_save_IFS
                   5437:   test -z "$as_dir" && as_dir=.
                   5438:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5439:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5440:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   5441:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5442:     break 2
                   5443:   fi
                   5444: done
                   5445:   done
                   5446: IFS=$as_save_IFS
                   5447: 
                   5448: fi
                   5449: fi
                   5450: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   5451: if test -n "$ac_ct_CXX"; then
                   5452:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   5453: $as_echo "$ac_ct_CXX" >&6; }
                   5454: else
                   5455:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5456: $as_echo "no" >&6; }
                   5457: fi
                   5458: 
                   5459: 
                   5460:   test -n "$ac_ct_CXX" && break
                   5461: done
                   5462: 
                   5463:   if test "x$ac_ct_CXX" = x; then
                   5464:     CXX="g++"
                   5465:   else
                   5466:     case $cross_compiling:$ac_tool_warned in
                   5467: yes:)
                   5468: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5469: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5470: ac_tool_warned=yes ;;
                   5471: esac
                   5472:     CXX=$ac_ct_CXX
                   5473:   fi
                   5474: fi
                   5475: 
                   5476:   fi
                   5477: fi
                   5478: # Provide some information about the compiler.
                   5479: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   5480: set X $ac_compile
                   5481: ac_compiler=$2
                   5482: for ac_option in --version -v -V -qversion; do
                   5483:   { { ac_try="$ac_compiler $ac_option >&5"
                   5484: case "(($ac_try" in
                   5485:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1       misho    5486:   *) ac_try_echo=$ac_try;;
                   5487: esac
                   5488: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5489: $as_echo "$ac_try_echo"; } >&5
                   5490:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   5491:   ac_status=$?
                   5492:   if test -s conftest.err; then
                   5493:     sed '10a\
                   5494: ... rest of stderr output deleted ...
                   5495:          10q' conftest.err >conftest.er1
                   5496:     cat conftest.er1 >&5
                   5497:   fi
                   5498:   rm -f conftest.er1 conftest.err
                   5499:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5500:   test $ac_status = 0; }
                   5501: done
                   5502: 
                   5503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   5504: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   5505: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   5506:   $as_echo_n "(cached) " >&6
                   5507: else
                   5508:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5509: /* end confdefs.h.  */
                   5510: 
                   5511: int
                   5512: main ()
                   5513: {
                   5514: #ifndef __GNUC__
                   5515:        choke me
                   5516: #endif
                   5517: 
                   5518:   ;
                   5519:   return 0;
                   5520: }
                   5521: _ACEOF
                   5522: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5523:   ac_compiler_gnu=yes
                   5524: else
                   5525:   ac_compiler_gnu=no
                   5526: fi
                   5527: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5528: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   5529: 
                   5530: fi
                   5531: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   5532: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   5533: if test $ac_compiler_gnu = yes; then
                   5534:   GXX=yes
                   5535: else
                   5536:   GXX=
                   5537: fi
                   5538: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   5539: ac_save_CXXFLAGS=$CXXFLAGS
                   5540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   5541: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   5542: if ${ac_cv_prog_cxx_g+:} false; then :
                   5543:   $as_echo_n "(cached) " >&6
                   5544: else
                   5545:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   5546:    ac_cxx_werror_flag=yes
                   5547:    ac_cv_prog_cxx_g=no
                   5548:    CXXFLAGS="-g"
                   5549:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5550: /* end confdefs.h.  */
                   5551: 
                   5552: int
                   5553: main ()
                   5554: {
                   5555: 
                   5556:   ;
                   5557:   return 0;
                   5558: }
                   5559: _ACEOF
                   5560: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5561:   ac_cv_prog_cxx_g=yes
                   5562: else
                   5563:   CXXFLAGS=""
                   5564:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5565: /* end confdefs.h.  */
                   5566: 
                   5567: int
                   5568: main ()
                   5569: {
                   5570: 
                   5571:   ;
                   5572:   return 0;
                   5573: }
                   5574: _ACEOF
                   5575: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5576: 
                   5577: else
                   5578:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   5579:         CXXFLAGS="-g"
                   5580:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5581: /* end confdefs.h.  */
                   5582: 
                   5583: int
                   5584: main ()
                   5585: {
                   5586: 
                   5587:   ;
                   5588:   return 0;
                   5589: }
                   5590: _ACEOF
                   5591: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5592:   ac_cv_prog_cxx_g=yes
                   5593: fi
                   5594: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5595: fi
                   5596: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5597: fi
                   5598: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5599:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   5600: fi
                   5601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   5602: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   5603: if test "$ac_test_CXXFLAGS" = set; then
                   5604:   CXXFLAGS=$ac_save_CXXFLAGS
                   5605: elif test $ac_cv_prog_cxx_g = yes; then
                   5606:   if test "$GXX" = yes; then
                   5607:     CXXFLAGS="-g -O2"
                   5608:   else
                   5609:     CXXFLAGS="-g"
                   5610:   fi
                   5611: else
                   5612:   if test "$GXX" = yes; then
                   5613:     CXXFLAGS="-O2"
                   5614:   else
                   5615:     CXXFLAGS=
                   5616:   fi
                   5617: fi
                   5618: ac_ext=c
                   5619: ac_cpp='$CPP $CPPFLAGS'
                   5620: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5621: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5622: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5623: 
                   5624: depcc="$CXX"  am_compiler_list=
                   5625: 
                   5626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   5627: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   5628: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   5629:   $as_echo_n "(cached) " >&6
                   5630: else
                   5631:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   5632:   # We make a subdir and do the tests there.  Otherwise we can end up
                   5633:   # making bogus files that we don't know about and never remove.  For
                   5634:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.4   misho    5635:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   5636:   # in D".
                   5637:   rm -rf conftest.dir
1.1       misho    5638:   mkdir conftest.dir
                   5639:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   5640:   # using a relative directory.
                   5641:   cp "$am_depcomp" conftest.dir
                   5642:   cd conftest.dir
                   5643:   # We will build objects and dependencies in a subdirectory because
                   5644:   # it helps to detect inapplicable dependency modes.  For instance
                   5645:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   5646:   # side effect of compilation, but ICC will put the dependencies in
                   5647:   # the current directory while Tru64 will put them in the object
                   5648:   # directory.
                   5649:   mkdir sub
                   5650: 
                   5651:   am_cv_CXX_dependencies_compiler_type=none
                   5652:   if test "$am_compiler_list" = ""; then
                   5653:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   5654:   fi
                   5655:   am__universal=false
                   5656:   case " $depcc " in #(
                   5657:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   5658:      esac
                   5659: 
                   5660:   for depmode in $am_compiler_list; do
                   5661:     # Setup a source with many dependencies, because some compilers
                   5662:     # like to wrap large dependency lists on column 80 (with \), and
                   5663:     # we should not choose a depcomp mode which is confused by this.
                   5664:     #
                   5665:     # We need to recreate these files for each test, as the compiler may
                   5666:     # overwrite some of them when testing with obscure command lines.
                   5667:     # This happens at least with the AIX C compiler.
                   5668:     : > sub/conftest.c
                   5669:     for i in 1 2 3 4 5 6; do
                   5670:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.4   misho    5671:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   5672:       # Solaris 10 /bin/sh.
                   5673:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    5674:     done
                   5675:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   5676: 
1.1.1.4   misho    5677:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    5678:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.4   misho    5679:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   5680:     # versions had trouble with output in subdirs.
1.1       misho    5681:     am__obj=sub/conftest.${OBJEXT-o}
                   5682:     am__minus_obj="-o $am__obj"
                   5683:     case $depmode in
                   5684:     gcc)
                   5685:       # This depmode causes a compiler race in universal mode.
                   5686:       test "$am__universal" = false || continue
                   5687:       ;;
                   5688:     nosideeffect)
1.1.1.4   misho    5689:       # After this tag, mechanisms are not by side-effect, so they'll
                   5690:       # only be used when explicitly requested.
1.1       misho    5691:       if test "x$enable_dependency_tracking" = xyes; then
                   5692:        continue
                   5693:       else
                   5694:        break
                   5695:       fi
                   5696:       ;;
1.1.1.4   misho    5697:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   5698:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    5699:       # not run yet.  These depmodes are late enough in the game, and
                   5700:       # so weak that their functioning should not be impacted.
                   5701:       am__obj=conftest.${OBJEXT-o}
                   5702:       am__minus_obj=
                   5703:       ;;
                   5704:     none) break ;;
                   5705:     esac
                   5706:     if depmode=$depmode \
                   5707:        source=sub/conftest.c object=$am__obj \
                   5708:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   5709:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   5710:          >/dev/null 2>conftest.err &&
                   5711:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   5712:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   5713:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   5714:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   5715:       # icc doesn't choke on unknown options, it will just issue warnings
                   5716:       # or remarks (even with -Werror).  So we grep stderr for any message
                   5717:       # that says an option was ignored or not supported.
                   5718:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   5719:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   5720:       # The diagnosis changed in icc 8.0:
                   5721:       #   icc: Command line remark: option '-MP' not supported
                   5722:       if (grep 'ignoring option' conftest.err ||
                   5723:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   5724:         am_cv_CXX_dependencies_compiler_type=$depmode
                   5725:         break
                   5726:       fi
                   5727:     fi
                   5728:   done
                   5729: 
                   5730:   cd ..
                   5731:   rm -rf conftest.dir
                   5732: else
                   5733:   am_cv_CXX_dependencies_compiler_type=none
                   5734: fi
                   5735: 
                   5736: fi
                   5737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   5738: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
                   5739: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   5740: 
                   5741:  if
                   5742:   test "x$enable_dependency_tracking" != xno \
                   5743:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   5744:   am__fastdepCXX_TRUE=
                   5745:   am__fastdepCXX_FALSE='#'
                   5746: else
                   5747:   am__fastdepCXX_TRUE='#'
                   5748:   am__fastdepCXX_FALSE=
                   5749: fi
                   5750: 
                   5751: 
1.1.1.4   misho    5752: 
1.1       misho    5753: 
                   5754: if test "x$remember_set_CFLAGS" = "x"
                   5755: then
                   5756:   if test "$CFLAGS" = "-g -O2"
                   5757:   then
                   5758:     CFLAGS="-O2"
                   5759:   elif test "$CFLAGS" = "-g"
                   5760:   then
                   5761:     CFLAGS=""
                   5762:   fi
                   5763: fi
                   5764: 
                   5765: if test "x$remember_set_CXXFLAGS" = "x"
                   5766: then
                   5767:   if test "$CXXFLAGS" = "-g -O2"
                   5768:   then
                   5769:     CXXFLAGS="-O2"
                   5770:   elif test "$CXXFLAGS" = "-g"
                   5771:   then
                   5772:     CXXFLAGS=""
                   5773:   fi
                   5774: fi
                   5775: 
                   5776: # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
                   5777: # Check for that case, and just disable c++ code if g++ doesn't run.
                   5778: ac_ext=cpp
                   5779: ac_cpp='$CXXCPP $CPPFLAGS'
                   5780: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5781: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5782: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   5783: 
                   5784: 
                   5785: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5786: /* end confdefs.h.  */
                   5787: 
                   5788: int
                   5789: main ()
                   5790: {
                   5791: 
                   5792:   ;
                   5793:   return 0;
                   5794: }
                   5795: _ACEOF
                   5796: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5797: 
                   5798: else
                   5799:   CXX=""; CXXCP=""; CXXFLAGS=""
                   5800: fi
                   5801: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5802: ac_ext=c
                   5803: ac_cpp='$CPP $CPPFLAGS'
                   5804: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5805: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5806: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5807: 
                   5808: 
                   5809: # Check for a 64-bit integer type
                   5810: ac_ext=c
                   5811: ac_cpp='$CPP $CPPFLAGS'
                   5812: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5813: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5814: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   5816: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   5817: # On Suns, sometimes $CPP names a directory.
                   5818: if test -n "$CPP" && test -d "$CPP"; then
                   5819:   CPP=
                   5820: fi
                   5821: if test -z "$CPP"; then
                   5822:   if ${ac_cv_prog_CPP+:} false; then :
                   5823:   $as_echo_n "(cached) " >&6
                   5824: else
                   5825:       # Double quotes because CPP needs to be expanded
                   5826:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   5827:     do
                   5828:       ac_preproc_ok=false
                   5829: for ac_c_preproc_warn_flag in '' yes
                   5830: do
                   5831:   # Use a header file that comes with gcc, so configuring glibc
                   5832:   # with a fresh cross-compiler works.
                   5833:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5834:   # <limits.h> exists even on freestanding compilers.
                   5835:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5836:   # not just through cpp. "Syntax error" is here to catch this case.
                   5837:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5838: /* end confdefs.h.  */
                   5839: #ifdef __STDC__
                   5840: # include <limits.h>
                   5841: #else
                   5842: # include <assert.h>
                   5843: #endif
                   5844:                     Syntax error
                   5845: _ACEOF
                   5846: if ac_fn_c_try_cpp "$LINENO"; then :
                   5847: 
                   5848: else
                   5849:   # Broken: fails on valid input.
                   5850: continue
                   5851: fi
                   5852: rm -f conftest.err conftest.i conftest.$ac_ext
                   5853: 
                   5854:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5855:   # can be detected and how.
                   5856:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5857: /* end confdefs.h.  */
                   5858: #include <ac_nonexistent.h>
                   5859: _ACEOF
                   5860: if ac_fn_c_try_cpp "$LINENO"; then :
                   5861:   # Broken: success on invalid input.
                   5862: continue
                   5863: else
                   5864:   # Passes both tests.
                   5865: ac_preproc_ok=:
                   5866: break
                   5867: fi
                   5868: rm -f conftest.err conftest.i conftest.$ac_ext
                   5869: 
                   5870: done
                   5871: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5872: rm -f conftest.i conftest.err conftest.$ac_ext
                   5873: if $ac_preproc_ok; then :
                   5874:   break
                   5875: fi
                   5876: 
                   5877:     done
                   5878:     ac_cv_prog_CPP=$CPP
                   5879: 
                   5880: fi
                   5881:   CPP=$ac_cv_prog_CPP
                   5882: else
                   5883:   ac_cv_prog_CPP=$CPP
                   5884: fi
                   5885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   5886: $as_echo "$CPP" >&6; }
                   5887: ac_preproc_ok=false
                   5888: for ac_c_preproc_warn_flag in '' yes
                   5889: do
                   5890:   # Use a header file that comes with gcc, so configuring glibc
                   5891:   # with a fresh cross-compiler works.
                   5892:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5893:   # <limits.h> exists even on freestanding compilers.
                   5894:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5895:   # not just through cpp. "Syntax error" is here to catch this case.
                   5896:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5897: /* end confdefs.h.  */
                   5898: #ifdef __STDC__
                   5899: # include <limits.h>
                   5900: #else
                   5901: # include <assert.h>
                   5902: #endif
                   5903:                     Syntax error
                   5904: _ACEOF
                   5905: if ac_fn_c_try_cpp "$LINENO"; then :
                   5906: 
                   5907: else
                   5908:   # Broken: fails on valid input.
                   5909: continue
                   5910: fi
                   5911: rm -f conftest.err conftest.i conftest.$ac_ext
                   5912: 
                   5913:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5914:   # can be detected and how.
                   5915:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5916: /* end confdefs.h.  */
                   5917: #include <ac_nonexistent.h>
                   5918: _ACEOF
                   5919: if ac_fn_c_try_cpp "$LINENO"; then :
                   5920:   # Broken: success on invalid input.
                   5921: continue
                   5922: else
                   5923:   # Passes both tests.
                   5924: ac_preproc_ok=:
                   5925: break
                   5926: fi
                   5927: rm -f conftest.err conftest.i conftest.$ac_ext
                   5928: 
                   5929: done
                   5930: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5931: rm -f conftest.i conftest.err conftest.$ac_ext
                   5932: if $ac_preproc_ok; then :
                   5933: 
                   5934: else
                   5935:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5936: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5937: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   5938: See \`config.log' for more details" "$LINENO" 5; }
                   5939: fi
                   5940: 
                   5941: ac_ext=c
                   5942: ac_cpp='$CPP $CPPFLAGS'
                   5943: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5944: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5945: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5946: 
                   5947: 
                   5948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5949: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5950: if ${ac_cv_path_GREP+:} false; then :
                   5951:   $as_echo_n "(cached) " >&6
                   5952: else
                   5953:   if test -z "$GREP"; then
                   5954:   ac_path_GREP_found=false
                   5955:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5956:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5957: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5958: do
                   5959:   IFS=$as_save_IFS
                   5960:   test -z "$as_dir" && as_dir=.
                   5961:     for ac_prog in grep ggrep; do
                   5962:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5963:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4   misho    5964:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    5965: # Check for GNU ac_path_GREP and select it if it is found.
                   5966:   # Check for GNU $ac_path_GREP
                   5967: case `"$ac_path_GREP" --version 2>&1` in
                   5968: *GNU*)
                   5969:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5970: *)
                   5971:   ac_count=0
                   5972:   $as_echo_n 0123456789 >"conftest.in"
                   5973:   while :
                   5974:   do
                   5975:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5976:     mv "conftest.tmp" "conftest.in"
                   5977:     cp "conftest.in" "conftest.nl"
                   5978:     $as_echo 'GREP' >> "conftest.nl"
                   5979:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5980:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5981:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5982:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5983:       # Best one so far, save it but keep looking for a better one
                   5984:       ac_cv_path_GREP="$ac_path_GREP"
                   5985:       ac_path_GREP_max=$ac_count
                   5986:     fi
                   5987:     # 10*(2^10) chars as input seems more than enough
                   5988:     test $ac_count -gt 10 && break
                   5989:   done
                   5990:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5991: esac
                   5992: 
                   5993:       $ac_path_GREP_found && break 3
                   5994:     done
                   5995:   done
                   5996:   done
                   5997: IFS=$as_save_IFS
                   5998:   if test -z "$ac_cv_path_GREP"; then
                   5999:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   6000:   fi
                   6001: else
                   6002:   ac_cv_path_GREP=$GREP
                   6003: fi
                   6004: 
                   6005: fi
                   6006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   6007: $as_echo "$ac_cv_path_GREP" >&6; }
                   6008:  GREP="$ac_cv_path_GREP"
                   6009: 
                   6010: 
                   6011: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   6012: $as_echo_n "checking for egrep... " >&6; }
                   6013: if ${ac_cv_path_EGREP+:} false; then :
                   6014:   $as_echo_n "(cached) " >&6
                   6015: else
                   6016:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   6017:    then ac_cv_path_EGREP="$GREP -E"
                   6018:    else
                   6019:      if test -z "$EGREP"; then
                   6020:   ac_path_EGREP_found=false
                   6021:   # Loop through the user's path and test for each of PROGNAME-LIST
                   6022:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6023: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   6024: do
                   6025:   IFS=$as_save_IFS
                   6026:   test -z "$as_dir" && as_dir=.
                   6027:     for ac_prog in egrep; do
                   6028:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6029:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4   misho    6030:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    6031: # Check for GNU ac_path_EGREP and select it if it is found.
                   6032:   # Check for GNU $ac_path_EGREP
                   6033: case `"$ac_path_EGREP" --version 2>&1` in
                   6034: *GNU*)
                   6035:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   6036: *)
                   6037:   ac_count=0
                   6038:   $as_echo_n 0123456789 >"conftest.in"
                   6039:   while :
                   6040:   do
                   6041:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   6042:     mv "conftest.tmp" "conftest.in"
                   6043:     cp "conftest.in" "conftest.nl"
                   6044:     $as_echo 'EGREP' >> "conftest.nl"
                   6045:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   6046:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   6047:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   6048:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   6049:       # Best one so far, save it but keep looking for a better one
                   6050:       ac_cv_path_EGREP="$ac_path_EGREP"
                   6051:       ac_path_EGREP_max=$ac_count
                   6052:     fi
                   6053:     # 10*(2^10) chars as input seems more than enough
                   6054:     test $ac_count -gt 10 && break
                   6055:   done
                   6056:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   6057: esac
                   6058: 
                   6059:       $ac_path_EGREP_found && break 3
                   6060:     done
                   6061:   done
                   6062:   done
                   6063: IFS=$as_save_IFS
                   6064:   if test -z "$ac_cv_path_EGREP"; then
                   6065:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   6066:   fi
                   6067: else
                   6068:   ac_cv_path_EGREP=$EGREP
                   6069: fi
                   6070: 
                   6071:    fi
                   6072: fi
                   6073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   6074: $as_echo "$ac_cv_path_EGREP" >&6; }
                   6075:  EGREP="$ac_cv_path_EGREP"
                   6076: 
                   6077: 
                   6078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   6079: $as_echo_n "checking for ANSI C header files... " >&6; }
                   6080: if ${ac_cv_header_stdc+:} false; then :
                   6081:   $as_echo_n "(cached) " >&6
                   6082: else
                   6083:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6084: /* end confdefs.h.  */
                   6085: #include <stdlib.h>
                   6086: #include <stdarg.h>
                   6087: #include <string.h>
                   6088: #include <float.h>
                   6089: 
                   6090: int
                   6091: main ()
                   6092: {
                   6093: 
                   6094:   ;
                   6095:   return 0;
                   6096: }
                   6097: _ACEOF
                   6098: if ac_fn_c_try_compile "$LINENO"; then :
                   6099:   ac_cv_header_stdc=yes
                   6100: else
                   6101:   ac_cv_header_stdc=no
                   6102: fi
                   6103: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6104: 
                   6105: if test $ac_cv_header_stdc = yes; then
                   6106:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   6107:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6108: /* end confdefs.h.  */
                   6109: #include <string.h>
                   6110: 
                   6111: _ACEOF
                   6112: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6113:   $EGREP "memchr" >/dev/null 2>&1; then :
                   6114: 
                   6115: else
                   6116:   ac_cv_header_stdc=no
                   6117: fi
                   6118: rm -f conftest*
                   6119: 
                   6120: fi
                   6121: 
                   6122: if test $ac_cv_header_stdc = yes; then
                   6123:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   6124:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6125: /* end confdefs.h.  */
                   6126: #include <stdlib.h>
                   6127: 
                   6128: _ACEOF
                   6129: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6130:   $EGREP "free" >/dev/null 2>&1; then :
                   6131: 
                   6132: else
                   6133:   ac_cv_header_stdc=no
                   6134: fi
                   6135: rm -f conftest*
                   6136: 
                   6137: fi
                   6138: 
                   6139: if test $ac_cv_header_stdc = yes; then
                   6140:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   6141:   if test "$cross_compiling" = yes; then :
                   6142:   :
                   6143: else
                   6144:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6145: /* end confdefs.h.  */
                   6146: #include <ctype.h>
                   6147: #include <stdlib.h>
                   6148: #if ((' ' & 0x0FF) == 0x020)
                   6149: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   6150: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   6151: #else
                   6152: # define ISLOWER(c) \
                   6153:                   (('a' <= (c) && (c) <= 'i') \
                   6154:                     || ('j' <= (c) && (c) <= 'r') \
                   6155:                     || ('s' <= (c) && (c) <= 'z'))
                   6156: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   6157: #endif
                   6158: 
                   6159: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   6160: int
                   6161: main ()
                   6162: {
                   6163:   int i;
                   6164:   for (i = 0; i < 256; i++)
                   6165:     if (XOR (islower (i), ISLOWER (i))
                   6166:        || toupper (i) != TOUPPER (i))
                   6167:       return 2;
                   6168:   return 0;
                   6169: }
                   6170: _ACEOF
                   6171: if ac_fn_c_try_run "$LINENO"; then :
                   6172: 
                   6173: else
                   6174:   ac_cv_header_stdc=no
                   6175: fi
                   6176: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   6177:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6178: fi
                   6179: 
                   6180: fi
                   6181: fi
                   6182: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   6183: $as_echo "$ac_cv_header_stdc" >&6; }
                   6184: if test $ac_cv_header_stdc = yes; then
                   6185: 
                   6186: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   6187: 
                   6188: fi
                   6189: 
                   6190: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   6191: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   6192:                  inttypes.h stdint.h unistd.h
                   6193: do :
                   6194:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6195: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   6196: "
                   6197: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6198:   cat >>confdefs.h <<_ACEOF
                   6199: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6200: _ACEOF
                   6201: 
                   6202: fi
                   6203: 
                   6204: done
                   6205: 
                   6206: 
                   6207: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
                   6208: case $ac_cv_c_int64_t in #(
                   6209:   no|yes) ;; #(
                   6210:   *)
                   6211: 
                   6212: cat >>confdefs.h <<_ACEOF
                   6213: #define int64_t $ac_cv_c_int64_t
                   6214: _ACEOF
                   6215: ;;
                   6216: esac
                   6217: 
                   6218: 
                   6219: 
                   6220: # Make sure we can run config.sub.
                   6221: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   6222:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   6223: 
                   6224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   6225: $as_echo_n "checking build system type... " >&6; }
                   6226: if ${ac_cv_build+:} false; then :
                   6227:   $as_echo_n "(cached) " >&6
                   6228: else
                   6229:   ac_build_alias=$build_alias
                   6230: test "x$ac_build_alias" = x &&
                   6231:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   6232: test "x$ac_build_alias" = x &&
                   6233:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   6234: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   6235:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   6236: 
                   6237: fi
                   6238: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   6239: $as_echo "$ac_cv_build" >&6; }
                   6240: case $ac_cv_build in
                   6241: *-*-*) ;;
                   6242: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   6243: esac
                   6244: build=$ac_cv_build
                   6245: ac_save_IFS=$IFS; IFS='-'
                   6246: set x $ac_cv_build
                   6247: shift
                   6248: build_cpu=$1
                   6249: build_vendor=$2
                   6250: shift; shift
                   6251: # Remember, the first character of IFS is used to create $*,
                   6252: # except with old shells:
                   6253: build_os=$*
                   6254: IFS=$ac_save_IFS
                   6255: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   6256: 
                   6257: 
                   6258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   6259: $as_echo_n "checking host system type... " >&6; }
                   6260: if ${ac_cv_host+:} false; then :
                   6261:   $as_echo_n "(cached) " >&6
                   6262: else
                   6263:   if test "x$host_alias" = x; then
                   6264:   ac_cv_host=$ac_cv_build
                   6265: else
                   6266:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   6267:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   6268: fi
                   6269: 
                   6270: fi
                   6271: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   6272: $as_echo "$ac_cv_host" >&6; }
                   6273: case $ac_cv_host in
                   6274: *-*-*) ;;
                   6275: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   6276: esac
                   6277: host=$ac_cv_host
                   6278: ac_save_IFS=$IFS; IFS='-'
                   6279: set x $ac_cv_host
                   6280: shift
                   6281: host_cpu=$1
                   6282: host_vendor=$2
                   6283: shift; shift
                   6284: # Remember, the first character of IFS is used to create $*,
                   6285: # except with old shells:
                   6286: host_os=$*
                   6287: IFS=$ac_save_IFS
                   6288: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   6289: 
                   6290: 
                   6291: enable_win32_dll=yes
                   6292: 
                   6293: case $host in
                   6294: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   6295:   if test -n "$ac_tool_prefix"; then
                   6296:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   6297: set dummy ${ac_tool_prefix}as; ac_word=$2
                   6298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6299: $as_echo_n "checking for $ac_word... " >&6; }
                   6300: if ${ac_cv_prog_AS+:} false; then :
                   6301:   $as_echo_n "(cached) " >&6
                   6302: else
                   6303:   if test -n "$AS"; then
                   6304:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   6305: else
                   6306: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6307: for as_dir in $PATH
                   6308: do
                   6309:   IFS=$as_save_IFS
                   6310:   test -z "$as_dir" && as_dir=.
                   6311:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    6312:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6313:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   6314:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6315:     break 2
                   6316:   fi
                   6317: done
                   6318:   done
                   6319: IFS=$as_save_IFS
                   6320: 
                   6321: fi
                   6322: fi
                   6323: AS=$ac_cv_prog_AS
                   6324: if test -n "$AS"; then
                   6325:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   6326: $as_echo "$AS" >&6; }
                   6327: else
                   6328:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6329: $as_echo "no" >&6; }
                   6330: fi
                   6331: 
                   6332: 
                   6333: fi
                   6334: if test -z "$ac_cv_prog_AS"; then
                   6335:   ac_ct_AS=$AS
                   6336:   # Extract the first word of "as", so it can be a program name with args.
                   6337: set dummy as; ac_word=$2
                   6338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6339: $as_echo_n "checking for $ac_word... " >&6; }
                   6340: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   6341:   $as_echo_n "(cached) " >&6
                   6342: else
                   6343:   if test -n "$ac_ct_AS"; then
                   6344:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   6345: else
                   6346: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6347: for as_dir in $PATH
                   6348: do
                   6349:   IFS=$as_save_IFS
                   6350:   test -z "$as_dir" && as_dir=.
                   6351:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    6352:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6353:     ac_cv_prog_ac_ct_AS="as"
                   6354:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6355:     break 2
                   6356:   fi
                   6357: done
                   6358:   done
                   6359: IFS=$as_save_IFS
                   6360: 
                   6361: fi
                   6362: fi
                   6363: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   6364: if test -n "$ac_ct_AS"; then
                   6365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   6366: $as_echo "$ac_ct_AS" >&6; }
                   6367: else
                   6368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6369: $as_echo "no" >&6; }
                   6370: fi
                   6371: 
                   6372:   if test "x$ac_ct_AS" = x; then
                   6373:     AS="false"
                   6374:   else
                   6375:     case $cross_compiling:$ac_tool_warned in
                   6376: yes:)
                   6377: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6378: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6379: ac_tool_warned=yes ;;
                   6380: esac
                   6381:     AS=$ac_ct_AS
                   6382:   fi
                   6383: else
                   6384:   AS="$ac_cv_prog_AS"
                   6385: fi
                   6386: 
                   6387:   if test -n "$ac_tool_prefix"; then
                   6388:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6389: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   6390: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6391: $as_echo_n "checking for $ac_word... " >&6; }
                   6392: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6393:   $as_echo_n "(cached) " >&6
                   6394: else
                   6395:   if test -n "$DLLTOOL"; then
                   6396:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6397: else
                   6398: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6399: for as_dir in $PATH
                   6400: do
                   6401:   IFS=$as_save_IFS
                   6402:   test -z "$as_dir" && as_dir=.
                   6403:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    6404:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6405:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   6406:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6407:     break 2
                   6408:   fi
                   6409: done
                   6410:   done
                   6411: IFS=$as_save_IFS
                   6412: 
                   6413: fi
                   6414: fi
                   6415: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6416: if test -n "$DLLTOOL"; then
                   6417:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6418: $as_echo "$DLLTOOL" >&6; }
                   6419: else
                   6420:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6421: $as_echo "no" >&6; }
                   6422: fi
                   6423: 
                   6424: 
                   6425: fi
                   6426: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6427:   ac_ct_DLLTOOL=$DLLTOOL
                   6428:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6429: set dummy dlltool; ac_word=$2
                   6430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6431: $as_echo_n "checking for $ac_word... " >&6; }
                   6432: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6433:   $as_echo_n "(cached) " >&6
                   6434: else
                   6435:   if test -n "$ac_ct_DLLTOOL"; then
                   6436:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6437: else
                   6438: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6439: for as_dir in $PATH
                   6440: do
                   6441:   IFS=$as_save_IFS
                   6442:   test -z "$as_dir" && as_dir=.
                   6443:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    6444:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6445:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   6446:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6447:     break 2
                   6448:   fi
                   6449: done
                   6450:   done
                   6451: IFS=$as_save_IFS
                   6452: 
                   6453: fi
                   6454: fi
                   6455: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6456: if test -n "$ac_ct_DLLTOOL"; then
                   6457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6458: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   6459: else
                   6460:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6461: $as_echo "no" >&6; }
                   6462: fi
                   6463: 
                   6464:   if test "x$ac_ct_DLLTOOL" = x; then
                   6465:     DLLTOOL="false"
                   6466:   else
                   6467:     case $cross_compiling:$ac_tool_warned in
                   6468: yes:)
                   6469: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6470: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6471: ac_tool_warned=yes ;;
                   6472: esac
                   6473:     DLLTOOL=$ac_ct_DLLTOOL
                   6474:   fi
                   6475: else
                   6476:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6477: fi
                   6478: 
                   6479:   if test -n "$ac_tool_prefix"; then
                   6480:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6481: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   6482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6483: $as_echo_n "checking for $ac_word... " >&6; }
                   6484: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6485:   $as_echo_n "(cached) " >&6
                   6486: else
                   6487:   if test -n "$OBJDUMP"; then
                   6488:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6489: else
                   6490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6491: for as_dir in $PATH
                   6492: do
                   6493:   IFS=$as_save_IFS
                   6494:   test -z "$as_dir" && as_dir=.
                   6495:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    6496:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6497:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   6498:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6499:     break 2
                   6500:   fi
                   6501: done
                   6502:   done
                   6503: IFS=$as_save_IFS
                   6504: 
                   6505: fi
                   6506: fi
                   6507: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6508: if test -n "$OBJDUMP"; then
                   6509:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6510: $as_echo "$OBJDUMP" >&6; }
                   6511: else
                   6512:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6513: $as_echo "no" >&6; }
                   6514: fi
                   6515: 
                   6516: 
                   6517: fi
                   6518: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6519:   ac_ct_OBJDUMP=$OBJDUMP
                   6520:   # Extract the first word of "objdump", so it can be a program name with args.
                   6521: set dummy objdump; ac_word=$2
                   6522: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6523: $as_echo_n "checking for $ac_word... " >&6; }
                   6524: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6525:   $as_echo_n "(cached) " >&6
                   6526: else
                   6527:   if test -n "$ac_ct_OBJDUMP"; then
                   6528:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6529: else
                   6530: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6531: for as_dir in $PATH
                   6532: do
                   6533:   IFS=$as_save_IFS
                   6534:   test -z "$as_dir" && as_dir=.
                   6535:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    6536:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6537:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   6538:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6539:     break 2
                   6540:   fi
                   6541: done
                   6542:   done
                   6543: IFS=$as_save_IFS
                   6544: 
                   6545: fi
                   6546: fi
                   6547: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6548: if test -n "$ac_ct_OBJDUMP"; then
                   6549:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6550: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   6551: else
                   6552:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6553: $as_echo "no" >&6; }
                   6554: fi
                   6555: 
                   6556:   if test "x$ac_ct_OBJDUMP" = x; then
                   6557:     OBJDUMP="false"
                   6558:   else
                   6559:     case $cross_compiling:$ac_tool_warned in
                   6560: yes:)
                   6561: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6562: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6563: ac_tool_warned=yes ;;
                   6564: esac
                   6565:     OBJDUMP=$ac_ct_OBJDUMP
                   6566:   fi
                   6567: else
                   6568:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6569: fi
                   6570: 
                   6571:   ;;
                   6572: esac
                   6573: 
                   6574: test -z "$AS" && AS=as
                   6575: 
                   6576: 
                   6577: 
                   6578: 
                   6579: 
                   6580: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6581: 
                   6582: 
                   6583: 
                   6584: 
                   6585: 
                   6586: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6587: 
                   6588: 
                   6589: 
                   6590: 
                   6591: 
                   6592: 
                   6593: 
                   6594: case `pwd` in
                   6595:   *\ * | *\    *)
                   6596:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   6597: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   6598: esac
                   6599: 
                   6600: 
                   6601: 
1.1.1.4   misho    6602: macro_version='2.4.2'
                   6603: macro_revision='1.3337'
1.1       misho    6604: 
                   6605: 
                   6606: 
                   6607: 
                   6608: 
                   6609: 
                   6610: 
                   6611: 
                   6612: 
                   6613: 
                   6614: 
                   6615: 
                   6616: 
                   6617: ltmain="$ac_aux_dir/ltmain.sh"
                   6618: 
                   6619: # Backslashify metacharacters that are still active within
                   6620: # double-quoted strings.
                   6621: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   6622: 
                   6623: # Same as above, but do not quote variable references.
                   6624: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   6625: 
                   6626: # Sed substitution to delay expansion of an escaped shell variable in a
                   6627: # double_quote_subst'ed string.
                   6628: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   6629: 
                   6630: # Sed substitution to delay expansion of an escaped single quote.
                   6631: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   6632: 
                   6633: # Sed substitution to avoid accidental globbing in evaled expressions
                   6634: no_glob_subst='s/\*/\\\*/g'
                   6635: 
                   6636: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   6637: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   6638: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   6639: 
                   6640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   6641: $as_echo_n "checking how to print strings... " >&6; }
                   6642: # Test print first, because it will be a builtin if present.
                   6643: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   6644:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   6645:   ECHO='print -r --'
                   6646: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   6647:   ECHO='printf %s\n'
                   6648: else
                   6649:   # Use this function as a fallback that always works.
                   6650:   func_fallback_echo ()
                   6651:   {
                   6652:     eval 'cat <<_LTECHO_EOF
                   6653: $1
                   6654: _LTECHO_EOF'
                   6655:   }
                   6656:   ECHO='func_fallback_echo'
                   6657: fi
                   6658: 
                   6659: # func_echo_all arg...
                   6660: # Invoke $ECHO with all args, space-separated.
                   6661: func_echo_all ()
                   6662: {
                   6663:     $ECHO ""
                   6664: }
                   6665: 
                   6666: case "$ECHO" in
                   6667:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   6668: $as_echo "printf" >&6; } ;;
                   6669:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   6670: $as_echo "print -r" >&6; } ;;
                   6671:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   6672: $as_echo "cat" >&6; } ;;
                   6673: esac
                   6674: 
                   6675: 
                   6676: 
                   6677: 
                   6678: 
                   6679: 
                   6680: 
                   6681: 
                   6682: 
                   6683: 
                   6684: 
                   6685: 
                   6686: 
                   6687: 
                   6688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   6689: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   6690: if ${ac_cv_path_SED+:} false; then :
                   6691:   $as_echo_n "(cached) " >&6
                   6692: else
                   6693:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   6694:      for ac_i in 1 2 3 4 5 6 7; do
                   6695:        ac_script="$ac_script$as_nl$ac_script"
                   6696:      done
                   6697:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   6698:      { ac_script=; unset ac_script;}
                   6699:      if test -z "$SED"; then
                   6700:   ac_path_SED_found=false
                   6701:   # Loop through the user's path and test for each of PROGNAME-LIST
                   6702:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6703: for as_dir in $PATH
                   6704: do
                   6705:   IFS=$as_save_IFS
                   6706:   test -z "$as_dir" && as_dir=.
                   6707:     for ac_prog in sed gsed; do
                   6708:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6709:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4   misho    6710:       as_fn_executable_p "$ac_path_SED" || continue
1.1       misho    6711: # Check for GNU ac_path_SED and select it if it is found.
                   6712:   # Check for GNU $ac_path_SED
                   6713: case `"$ac_path_SED" --version 2>&1` in
                   6714: *GNU*)
                   6715:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   6716: *)
                   6717:   ac_count=0
                   6718:   $as_echo_n 0123456789 >"conftest.in"
                   6719:   while :
                   6720:   do
                   6721:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   6722:     mv "conftest.tmp" "conftest.in"
                   6723:     cp "conftest.in" "conftest.nl"
                   6724:     $as_echo '' >> "conftest.nl"
                   6725:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   6726:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   6727:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   6728:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   6729:       # Best one so far, save it but keep looking for a better one
                   6730:       ac_cv_path_SED="$ac_path_SED"
                   6731:       ac_path_SED_max=$ac_count
                   6732:     fi
                   6733:     # 10*(2^10) chars as input seems more than enough
                   6734:     test $ac_count -gt 10 && break
                   6735:   done
                   6736:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   6737: esac
                   6738: 
                   6739:       $ac_path_SED_found && break 3
                   6740:     done
                   6741:   done
                   6742:   done
                   6743: IFS=$as_save_IFS
                   6744:   if test -z "$ac_cv_path_SED"; then
                   6745:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   6746:   fi
                   6747: else
                   6748:   ac_cv_path_SED=$SED
                   6749: fi
                   6750: 
                   6751: fi
                   6752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   6753: $as_echo "$ac_cv_path_SED" >&6; }
                   6754:  SED="$ac_cv_path_SED"
                   6755:   rm -f conftest.sed
                   6756: 
                   6757: test -z "$SED" && SED=sed
                   6758: Xsed="$SED -e 1s/^X//"
                   6759: 
                   6760: 
                   6761: 
                   6762: 
                   6763: 
                   6764: 
                   6765: 
                   6766: 
                   6767: 
                   6768: 
                   6769: 
                   6770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   6771: $as_echo_n "checking for fgrep... " >&6; }
                   6772: if ${ac_cv_path_FGREP+:} false; then :
                   6773:   $as_echo_n "(cached) " >&6
                   6774: else
                   6775:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   6776:    then ac_cv_path_FGREP="$GREP -F"
                   6777:    else
                   6778:      if test -z "$FGREP"; then
                   6779:   ac_path_FGREP_found=false
                   6780:   # Loop through the user's path and test for each of PROGNAME-LIST
                   6781:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6782: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   6783: do
                   6784:   IFS=$as_save_IFS
                   6785:   test -z "$as_dir" && as_dir=.
                   6786:     for ac_prog in fgrep; do
                   6787:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6788:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4   misho    6789:       as_fn_executable_p "$ac_path_FGREP" || continue
1.1       misho    6790: # Check for GNU ac_path_FGREP and select it if it is found.
                   6791:   # Check for GNU $ac_path_FGREP
                   6792: case `"$ac_path_FGREP" --version 2>&1` in
                   6793: *GNU*)
                   6794:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   6795: *)
                   6796:   ac_count=0
                   6797:   $as_echo_n 0123456789 >"conftest.in"
                   6798:   while :
                   6799:   do
                   6800:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   6801:     mv "conftest.tmp" "conftest.in"
                   6802:     cp "conftest.in" "conftest.nl"
                   6803:     $as_echo 'FGREP' >> "conftest.nl"
                   6804:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   6805:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   6806:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   6807:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   6808:       # Best one so far, save it but keep looking for a better one
                   6809:       ac_cv_path_FGREP="$ac_path_FGREP"
                   6810:       ac_path_FGREP_max=$ac_count
                   6811:     fi
                   6812:     # 10*(2^10) chars as input seems more than enough
                   6813:     test $ac_count -gt 10 && break
                   6814:   done
                   6815:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   6816: esac
                   6817: 
                   6818:       $ac_path_FGREP_found && break 3
                   6819:     done
                   6820:   done
                   6821:   done
                   6822: IFS=$as_save_IFS
                   6823:   if test -z "$ac_cv_path_FGREP"; then
                   6824:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   6825:   fi
                   6826: else
                   6827:   ac_cv_path_FGREP=$FGREP
                   6828: fi
                   6829: 
                   6830:    fi
                   6831: fi
                   6832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   6833: $as_echo "$ac_cv_path_FGREP" >&6; }
                   6834:  FGREP="$ac_cv_path_FGREP"
                   6835: 
                   6836: 
                   6837: test -z "$GREP" && GREP=grep
                   6838: 
                   6839: 
                   6840: 
                   6841: 
                   6842: 
                   6843: 
                   6844: 
                   6845: 
                   6846: 
                   6847: 
                   6848: 
                   6849: 
                   6850: 
                   6851: 
                   6852: 
                   6853: 
                   6854: 
                   6855: 
                   6856: 
                   6857: # Check whether --with-gnu-ld was given.
                   6858: if test "${with_gnu_ld+set}" = set; then :
                   6859:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   6860: else
                   6861:   with_gnu_ld=no
                   6862: fi
                   6863: 
                   6864: ac_prog=ld
                   6865: if test "$GCC" = yes; then
                   6866:   # Check if gcc -print-prog-name=ld gives a path.
                   6867:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   6868: $as_echo_n "checking for ld used by $CC... " >&6; }
                   6869:   case $host in
                   6870:   *-*-mingw*)
                   6871:     # gcc leaves a trailing carriage return which upsets mingw
                   6872:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   6873:   *)
                   6874:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   6875:   esac
                   6876:   case $ac_prog in
                   6877:     # Accept absolute paths.
                   6878:     [\\/]* | ?:[\\/]*)
                   6879:       re_direlt='/[^/][^/]*/\.\./'
                   6880:       # Canonicalize the pathname of ld
                   6881:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   6882:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   6883:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   6884:       done
                   6885:       test -z "$LD" && LD="$ac_prog"
                   6886:       ;;
                   6887:   "")
                   6888:     # If it fails, then pretend we aren't using GCC.
                   6889:     ac_prog=ld
                   6890:     ;;
                   6891:   *)
                   6892:     # If it is relative, then search for the first ld in PATH.
                   6893:     with_gnu_ld=unknown
                   6894:     ;;
                   6895:   esac
                   6896: elif test "$with_gnu_ld" = yes; then
                   6897:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   6898: $as_echo_n "checking for GNU ld... " >&6; }
                   6899: else
                   6900:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   6901: $as_echo_n "checking for non-GNU ld... " >&6; }
                   6902: fi
                   6903: if ${lt_cv_path_LD+:} false; then :
                   6904:   $as_echo_n "(cached) " >&6
                   6905: else
                   6906:   if test -z "$LD"; then
                   6907:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   6908:   for ac_dir in $PATH; do
                   6909:     IFS="$lt_save_ifs"
                   6910:     test -z "$ac_dir" && ac_dir=.
                   6911:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   6912:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   6913:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   6914:       # but apparently some variants of GNU ld only accept -v.
                   6915:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   6916:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   6917:       *GNU* | *'with BFD'*)
                   6918:        test "$with_gnu_ld" != no && break
                   6919:        ;;
                   6920:       *)
                   6921:        test "$with_gnu_ld" != yes && break
                   6922:        ;;
                   6923:       esac
                   6924:     fi
                   6925:   done
                   6926:   IFS="$lt_save_ifs"
                   6927: else
                   6928:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   6929: fi
                   6930: fi
                   6931: 
                   6932: LD="$lt_cv_path_LD"
                   6933: if test -n "$LD"; then
                   6934:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   6935: $as_echo "$LD" >&6; }
                   6936: else
                   6937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6938: $as_echo "no" >&6; }
                   6939: fi
                   6940: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   6941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   6942: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   6943: if ${lt_cv_prog_gnu_ld+:} false; then :
                   6944:   $as_echo_n "(cached) " >&6
                   6945: else
                   6946:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   6947: case `$LD -v 2>&1 </dev/null` in
                   6948: *GNU* | *'with BFD'*)
                   6949:   lt_cv_prog_gnu_ld=yes
                   6950:   ;;
                   6951: *)
                   6952:   lt_cv_prog_gnu_ld=no
                   6953:   ;;
                   6954: esac
                   6955: fi
                   6956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   6957: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   6958: with_gnu_ld=$lt_cv_prog_gnu_ld
                   6959: 
                   6960: 
                   6961: 
                   6962: 
                   6963: 
                   6964: 
                   6965: 
                   6966: 
                   6967: 
                   6968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   6969: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   6970: if ${lt_cv_path_NM+:} false; then :
                   6971:   $as_echo_n "(cached) " >&6
                   6972: else
                   6973:   if test -n "$NM"; then
                   6974:   # Let the user override the test.
                   6975:   lt_cv_path_NM="$NM"
                   6976: else
                   6977:   lt_nm_to_check="${ac_tool_prefix}nm"
                   6978:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   6979:     lt_nm_to_check="$lt_nm_to_check nm"
                   6980:   fi
                   6981:   for lt_tmp_nm in $lt_nm_to_check; do
                   6982:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   6983:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   6984:       IFS="$lt_save_ifs"
                   6985:       test -z "$ac_dir" && ac_dir=.
                   6986:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   6987:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   6988:        # Check to see if the nm accepts a BSD-compat flag.
                   6989:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   6990:        #   nm: unknown option "B" ignored
                   6991:        # Tru64's nm complains that /dev/null is an invalid object file
                   6992:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   6993:        */dev/null* | *'Invalid file or object type'*)
                   6994:          lt_cv_path_NM="$tmp_nm -B"
                   6995:          break
                   6996:          ;;
                   6997:        *)
                   6998:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   6999:          */dev/null*)
                   7000:            lt_cv_path_NM="$tmp_nm -p"
                   7001:            break
                   7002:            ;;
                   7003:          *)
                   7004:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   7005:            continue # so that we can try to find one that supports BSD flags
                   7006:            ;;
                   7007:          esac
                   7008:          ;;
                   7009:        esac
                   7010:       fi
                   7011:     done
                   7012:     IFS="$lt_save_ifs"
                   7013:   done
                   7014:   : ${lt_cv_path_NM=no}
                   7015: fi
                   7016: fi
                   7017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   7018: $as_echo "$lt_cv_path_NM" >&6; }
                   7019: if test "$lt_cv_path_NM" != "no"; then
                   7020:   NM="$lt_cv_path_NM"
                   7021: else
                   7022:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   7023:   if test -n "$DUMPBIN"; then :
                   7024:     # Let the user override the test.
                   7025:   else
                   7026:     if test -n "$ac_tool_prefix"; then
                   7027:   for ac_prog in dumpbin "link -dump"
                   7028:   do
                   7029:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   7030: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   7031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7032: $as_echo_n "checking for $ac_word... " >&6; }
                   7033: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   7034:   $as_echo_n "(cached) " >&6
                   7035: else
                   7036:   if test -n "$DUMPBIN"; then
                   7037:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   7038: else
                   7039: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7040: for as_dir in $PATH
                   7041: do
                   7042:   IFS=$as_save_IFS
                   7043:   test -z "$as_dir" && as_dir=.
                   7044:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7045:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7046:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   7047:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7048:     break 2
                   7049:   fi
                   7050: done
                   7051:   done
                   7052: IFS=$as_save_IFS
                   7053: 
                   7054: fi
                   7055: fi
                   7056: DUMPBIN=$ac_cv_prog_DUMPBIN
                   7057: if test -n "$DUMPBIN"; then
                   7058:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   7059: $as_echo "$DUMPBIN" >&6; }
                   7060: else
                   7061:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7062: $as_echo "no" >&6; }
                   7063: fi
                   7064: 
                   7065: 
                   7066:     test -n "$DUMPBIN" && break
                   7067:   done
                   7068: fi
                   7069: if test -z "$DUMPBIN"; then
                   7070:   ac_ct_DUMPBIN=$DUMPBIN
                   7071:   for ac_prog in dumpbin "link -dump"
                   7072: do
                   7073:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   7074: set dummy $ac_prog; ac_word=$2
                   7075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7076: $as_echo_n "checking for $ac_word... " >&6; }
                   7077: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   7078:   $as_echo_n "(cached) " >&6
                   7079: else
                   7080:   if test -n "$ac_ct_DUMPBIN"; then
                   7081:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   7082: else
                   7083: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7084: for as_dir in $PATH
                   7085: do
                   7086:   IFS=$as_save_IFS
                   7087:   test -z "$as_dir" && as_dir=.
                   7088:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7089:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7090:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   7091:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7092:     break 2
                   7093:   fi
                   7094: done
                   7095:   done
                   7096: IFS=$as_save_IFS
                   7097: 
                   7098: fi
                   7099: fi
                   7100: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   7101: if test -n "$ac_ct_DUMPBIN"; then
                   7102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   7103: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   7104: else
                   7105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7106: $as_echo "no" >&6; }
                   7107: fi
                   7108: 
                   7109: 
                   7110:   test -n "$ac_ct_DUMPBIN" && break
                   7111: done
                   7112: 
                   7113:   if test "x$ac_ct_DUMPBIN" = x; then
                   7114:     DUMPBIN=":"
                   7115:   else
                   7116:     case $cross_compiling:$ac_tool_warned in
                   7117: yes:)
                   7118: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7119: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7120: ac_tool_warned=yes ;;
                   7121: esac
                   7122:     DUMPBIN=$ac_ct_DUMPBIN
                   7123:   fi
                   7124: fi
                   7125: 
                   7126:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   7127:     *COFF*)
                   7128:       DUMPBIN="$DUMPBIN -symbols"
                   7129:       ;;
                   7130:     *)
                   7131:       DUMPBIN=:
                   7132:       ;;
                   7133:     esac
                   7134:   fi
                   7135: 
                   7136:   if test "$DUMPBIN" != ":"; then
                   7137:     NM="$DUMPBIN"
                   7138:   fi
                   7139: fi
                   7140: test -z "$NM" && NM=nm
                   7141: 
                   7142: 
                   7143: 
                   7144: 
                   7145: 
                   7146: 
                   7147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   7148: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   7149: if ${lt_cv_nm_interface+:} false; then :
                   7150:   $as_echo_n "(cached) " >&6
                   7151: else
                   7152:   lt_cv_nm_interface="BSD nm"
                   7153:   echo "int some_variable = 0;" > conftest.$ac_ext
                   7154:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   7155:   (eval "$ac_compile" 2>conftest.err)
                   7156:   cat conftest.err >&5
                   7157:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   7158:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   7159:   cat conftest.err >&5
                   7160:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   7161:   cat conftest.out >&5
                   7162:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   7163:     lt_cv_nm_interface="MS dumpbin"
                   7164:   fi
                   7165:   rm -f conftest*
                   7166: fi
                   7167: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   7168: $as_echo "$lt_cv_nm_interface" >&6; }
                   7169: 
                   7170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   7171: $as_echo_n "checking whether ln -s works... " >&6; }
                   7172: LN_S=$as_ln_s
                   7173: if test "$LN_S" = "ln -s"; then
                   7174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7175: $as_echo "yes" >&6; }
                   7176: else
                   7177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   7178: $as_echo "no, using $LN_S" >&6; }
                   7179: fi
                   7180: 
                   7181: # find the maximum length of command line arguments
                   7182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   7183: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   7184: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   7185:   $as_echo_n "(cached) " >&6
                   7186: else
                   7187:     i=0
                   7188:   teststring="ABCD"
                   7189: 
                   7190:   case $build_os in
                   7191:   msdosdjgpp*)
                   7192:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   7193:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   7194:     # during glob expansion).  Even if it were fixed, the result of this
                   7195:     # check would be larger than it should be.
                   7196:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   7197:     ;;
                   7198: 
                   7199:   gnu*)
                   7200:     # Under GNU Hurd, this test is not required because there is
                   7201:     # no limit to the length of command line arguments.
                   7202:     # Libtool will interpret -1 as no limit whatsoever
                   7203:     lt_cv_sys_max_cmd_len=-1;
                   7204:     ;;
                   7205: 
                   7206:   cygwin* | mingw* | cegcc*)
                   7207:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   7208:     # about 5 minutes as the teststring grows exponentially.
                   7209:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   7210:     # you end up with a "frozen" computer, even though with patience
                   7211:     # the test eventually succeeds (with a max line length of 256k).
                   7212:     # Instead, let's just punt: use the minimum linelength reported by
                   7213:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   7214:     lt_cv_sys_max_cmd_len=8192;
                   7215:     ;;
                   7216: 
                   7217:   mint*)
                   7218:     # On MiNT this can take a long time and run out of memory.
                   7219:     lt_cv_sys_max_cmd_len=8192;
                   7220:     ;;
                   7221: 
                   7222:   amigaos*)
                   7223:     # On AmigaOS with pdksh, this test takes hours, literally.
                   7224:     # So we just punt and use a minimum line length of 8192.
                   7225:     lt_cv_sys_max_cmd_len=8192;
                   7226:     ;;
                   7227: 
                   7228:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   7229:     # This has been around since 386BSD, at least.  Likely further.
                   7230:     if test -x /sbin/sysctl; then
                   7231:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   7232:     elif test -x /usr/sbin/sysctl; then
                   7233:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   7234:     else
                   7235:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   7236:     fi
                   7237:     # And add a safety zone
                   7238:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   7239:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   7240:     ;;
                   7241: 
                   7242:   interix*)
                   7243:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   7244:     lt_cv_sys_max_cmd_len=196608
                   7245:     ;;
                   7246: 
1.1.1.4   misho    7247:   os2*)
                   7248:     # The test takes a long time on OS/2.
                   7249:     lt_cv_sys_max_cmd_len=8192
                   7250:     ;;
                   7251: 
1.1       misho    7252:   osf*)
                   7253:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   7254:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   7255:     # nice to cause kernel panics so lets avoid the loop below.
                   7256:     # First set a reasonable default.
                   7257:     lt_cv_sys_max_cmd_len=16384
                   7258:     #
                   7259:     if test -x /sbin/sysconfig; then
                   7260:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   7261:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   7262:       esac
                   7263:     fi
                   7264:     ;;
                   7265:   sco3.2v5*)
                   7266:     lt_cv_sys_max_cmd_len=102400
                   7267:     ;;
                   7268:   sysv5* | sco5v6* | sysv4.2uw2*)
                   7269:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   7270:     if test -n "$kargmax"; then
                   7271:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   7272:     else
                   7273:       lt_cv_sys_max_cmd_len=32768
                   7274:     fi
                   7275:     ;;
                   7276:   *)
                   7277:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   7278:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   7279:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   7280:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   7281:     else
                   7282:       # Make teststring a little bigger before we do anything with it.
                   7283:       # a 1K string should be a reasonable start.
                   7284:       for i in 1 2 3 4 5 6 7 8 ; do
                   7285:         teststring=$teststring$teststring
                   7286:       done
                   7287:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   7288:       # If test is not a shell built-in, we'll probably end up computing a
                   7289:       # maximum length that is only half of the actual maximum length, but
                   7290:       # we can't tell.
1.1.1.4   misho    7291:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1.1       misho    7292:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   7293:              test $i != 17 # 1/2 MB should be enough
                   7294:       do
                   7295:         i=`expr $i + 1`
                   7296:         teststring=$teststring$teststring
                   7297:       done
                   7298:       # Only check the string length outside the loop.
                   7299:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   7300:       teststring=
                   7301:       # Add a significant safety factor because C++ compilers can tack on
                   7302:       # massive amounts of additional arguments before passing them to the
                   7303:       # linker.  It appears as though 1/2 is a usable value.
                   7304:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   7305:     fi
                   7306:     ;;
                   7307:   esac
                   7308: 
                   7309: fi
                   7310: 
                   7311: if test -n $lt_cv_sys_max_cmd_len ; then
                   7312:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   7313: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   7314: else
                   7315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   7316: $as_echo "none" >&6; }
                   7317: fi
                   7318: max_cmd_len=$lt_cv_sys_max_cmd_len
                   7319: 
                   7320: 
                   7321: 
                   7322: 
                   7323: 
                   7324: 
                   7325: : ${CP="cp -f"}
                   7326: : ${MV="mv -f"}
                   7327: : ${RM="rm -f"}
                   7328: 
                   7329: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   7330: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   7331: # Try some XSI features
                   7332: xsi_shell=no
                   7333: ( _lt_dummy="a/b/c"
                   7334:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   7335:       = c,a/b,b/c, \
                   7336:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   7337:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   7338:   && xsi_shell=yes
                   7339: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   7340: $as_echo "$xsi_shell" >&6; }
                   7341: 
                   7342: 
                   7343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   7344: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   7345: lt_shell_append=no
                   7346: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   7347:     >/dev/null 2>&1 \
                   7348:   && lt_shell_append=yes
                   7349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   7350: $as_echo "$lt_shell_append" >&6; }
                   7351: 
                   7352: 
                   7353: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   7354:   lt_unset=unset
                   7355: else
                   7356:   lt_unset=false
                   7357: fi
                   7358: 
                   7359: 
                   7360: 
                   7361: 
                   7362: 
                   7363: # test EBCDIC or ASCII
                   7364: case `echo X|tr X '\101'` in
                   7365:  A) # ASCII based system
                   7366:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   7367:   lt_SP2NL='tr \040 \012'
                   7368:   lt_NL2SP='tr \015\012 \040\040'
                   7369:   ;;
                   7370:  *) # EBCDIC based system
                   7371:   lt_SP2NL='tr \100 \n'
                   7372:   lt_NL2SP='tr \r\n \100\100'
                   7373:   ;;
                   7374: esac
                   7375: 
                   7376: 
                   7377: 
                   7378: 
                   7379: 
                   7380: 
                   7381: 
                   7382: 
                   7383: 
                   7384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   7385: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   7386: if ${lt_cv_to_host_file_cmd+:} false; then :
                   7387:   $as_echo_n "(cached) " >&6
                   7388: else
                   7389:   case $host in
                   7390:   *-*-mingw* )
                   7391:     case $build in
                   7392:       *-*-mingw* ) # actually msys
                   7393:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   7394:         ;;
                   7395:       *-*-cygwin* )
                   7396:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   7397:         ;;
                   7398:       * ) # otherwise, assume *nix
                   7399:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   7400:         ;;
                   7401:     esac
                   7402:     ;;
                   7403:   *-*-cygwin* )
                   7404:     case $build in
                   7405:       *-*-mingw* ) # actually msys
                   7406:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   7407:         ;;
                   7408:       *-*-cygwin* )
                   7409:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   7410:         ;;
                   7411:       * ) # otherwise, assume *nix
                   7412:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   7413:         ;;
                   7414:     esac
                   7415:     ;;
                   7416:   * ) # unhandled hosts (and "normal" native builds)
                   7417:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   7418:     ;;
                   7419: esac
                   7420: 
                   7421: fi
                   7422: 
                   7423: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   7424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   7425: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
                   7426: 
                   7427: 
                   7428: 
                   7429: 
                   7430: 
                   7431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   7432: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   7433: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   7434:   $as_echo_n "(cached) " >&6
                   7435: else
                   7436:   #assume ordinary cross tools, or native build.
                   7437: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   7438: case $host in
                   7439:   *-*-mingw* )
                   7440:     case $build in
                   7441:       *-*-mingw* ) # actually msys
                   7442:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   7443:         ;;
                   7444:     esac
                   7445:     ;;
                   7446: esac
                   7447: 
                   7448: fi
                   7449: 
                   7450: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   7451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   7452: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
                   7453: 
                   7454: 
                   7455: 
                   7456: 
                   7457: 
                   7458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   7459: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   7460: if ${lt_cv_ld_reload_flag+:} false; then :
                   7461:   $as_echo_n "(cached) " >&6
                   7462: else
                   7463:   lt_cv_ld_reload_flag='-r'
                   7464: fi
                   7465: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   7466: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   7467: reload_flag=$lt_cv_ld_reload_flag
                   7468: case $reload_flag in
                   7469: "" | " "*) ;;
                   7470: *) reload_flag=" $reload_flag" ;;
                   7471: esac
                   7472: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   7473: case $host_os in
                   7474:   cygwin* | mingw* | pw32* | cegcc*)
                   7475:     if test "$GCC" != yes; then
                   7476:       reload_cmds=false
                   7477:     fi
                   7478:     ;;
                   7479:   darwin*)
                   7480:     if test "$GCC" = yes; then
                   7481:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   7482:     else
                   7483:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   7484:     fi
                   7485:     ;;
                   7486: esac
                   7487: 
                   7488: 
                   7489: 
                   7490: 
                   7491: 
                   7492: 
                   7493: 
                   7494: 
                   7495: 
                   7496: if test -n "$ac_tool_prefix"; then
                   7497:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7498: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7500: $as_echo_n "checking for $ac_word... " >&6; }
                   7501: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   7502:   $as_echo_n "(cached) " >&6
                   7503: else
                   7504:   if test -n "$OBJDUMP"; then
                   7505:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7506: else
                   7507: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7508: for as_dir in $PATH
                   7509: do
                   7510:   IFS=$as_save_IFS
                   7511:   test -z "$as_dir" && as_dir=.
                   7512:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7513:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7514:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7515:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7516:     break 2
                   7517:   fi
                   7518: done
                   7519:   done
                   7520: IFS=$as_save_IFS
                   7521: 
                   7522: fi
                   7523: fi
                   7524: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7525: if test -n "$OBJDUMP"; then
                   7526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   7527: $as_echo "$OBJDUMP" >&6; }
                   7528: else
                   7529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7530: $as_echo "no" >&6; }
                   7531: fi
                   7532: 
                   7533: 
                   7534: fi
                   7535: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7536:   ac_ct_OBJDUMP=$OBJDUMP
                   7537:   # Extract the first word of "objdump", so it can be a program name with args.
                   7538: set dummy objdump; ac_word=$2
                   7539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7540: $as_echo_n "checking for $ac_word... " >&6; }
                   7541: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   7542:   $as_echo_n "(cached) " >&6
                   7543: else
                   7544:   if test -n "$ac_ct_OBJDUMP"; then
                   7545:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7546: else
                   7547: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7548: for as_dir in $PATH
                   7549: do
                   7550:   IFS=$as_save_IFS
                   7551:   test -z "$as_dir" && as_dir=.
                   7552:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7553:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7554:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7555:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7556:     break 2
                   7557:   fi
                   7558: done
                   7559:   done
                   7560: IFS=$as_save_IFS
                   7561: 
                   7562: fi
                   7563: fi
                   7564: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7565: if test -n "$ac_ct_OBJDUMP"; then
                   7566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   7567: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   7568: else
                   7569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7570: $as_echo "no" >&6; }
                   7571: fi
                   7572: 
                   7573:   if test "x$ac_ct_OBJDUMP" = x; then
                   7574:     OBJDUMP="false"
                   7575:   else
                   7576:     case $cross_compiling:$ac_tool_warned in
                   7577: yes:)
                   7578: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7579: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7580: ac_tool_warned=yes ;;
                   7581: esac
                   7582:     OBJDUMP=$ac_ct_OBJDUMP
                   7583:   fi
                   7584: else
                   7585:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   7586: fi
                   7587: 
                   7588: test -z "$OBJDUMP" && OBJDUMP=objdump
                   7589: 
                   7590: 
                   7591: 
                   7592: 
                   7593: 
                   7594: 
                   7595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   7596: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   7597: if ${lt_cv_deplibs_check_method+:} false; then :
                   7598:   $as_echo_n "(cached) " >&6
                   7599: else
                   7600:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   7601: lt_cv_file_magic_test_file=
                   7602: lt_cv_deplibs_check_method='unknown'
                   7603: # Need to set the preceding variable on all platforms that support
                   7604: # interlibrary dependencies.
                   7605: # 'none' -- dependencies not supported.
                   7606: # `unknown' -- same as none, but documents that we really don't know.
                   7607: # 'pass_all' -- all dependencies passed with no checks.
                   7608: # 'test_compile' -- check by making test program.
                   7609: # 'file_magic [[regex]]' -- check by looking for files in library path
                   7610: # which responds to the $file_magic_cmd with a given extended regex.
                   7611: # If you have `file' or equivalent on your system and you're not sure
                   7612: # whether `pass_all' will *always* work, you probably want this one.
                   7613: 
                   7614: case $host_os in
                   7615: aix[4-9]*)
                   7616:   lt_cv_deplibs_check_method=pass_all
                   7617:   ;;
                   7618: 
                   7619: beos*)
                   7620:   lt_cv_deplibs_check_method=pass_all
                   7621:   ;;
                   7622: 
                   7623: bsdi[45]*)
                   7624:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   7625:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   7626:   lt_cv_file_magic_test_file=/shlib/libc.so
                   7627:   ;;
                   7628: 
                   7629: cygwin*)
                   7630:   # func_win32_libid is a shell function defined in ltmain.sh
                   7631:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   7632:   lt_cv_file_magic_cmd='func_win32_libid'
                   7633:   ;;
                   7634: 
                   7635: mingw* | pw32*)
                   7636:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   7637:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   7638:   # unless we find 'file', for example because we are cross-compiling.
                   7639:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   7640:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   7641:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   7642:     lt_cv_file_magic_cmd='func_win32_libid'
                   7643:   else
                   7644:     # Keep this pattern in sync with the one in func_win32_libid.
                   7645:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   7646:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   7647:   fi
                   7648:   ;;
                   7649: 
                   7650: cegcc*)
                   7651:   # use the weaker test based on 'objdump'. See mingw*.
                   7652:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   7653:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   7654:   ;;
                   7655: 
                   7656: darwin* | rhapsody*)
                   7657:   lt_cv_deplibs_check_method=pass_all
                   7658:   ;;
                   7659: 
                   7660: freebsd* | dragonfly*)
                   7661:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   7662:     case $host_cpu in
                   7663:     i*86 )
                   7664:       # Not sure whether the presence of OpenBSD here was a mistake.
                   7665:       # Let's accept both of them until this is cleared up.
                   7666:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   7667:       lt_cv_file_magic_cmd=/usr/bin/file
                   7668:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   7669:       ;;
                   7670:     esac
                   7671:   else
                   7672:     lt_cv_deplibs_check_method=pass_all
                   7673:   fi
                   7674:   ;;
                   7675: 
                   7676: gnu*)
                   7677:   lt_cv_deplibs_check_method=pass_all
                   7678:   ;;
                   7679: 
                   7680: haiku*)
                   7681:   lt_cv_deplibs_check_method=pass_all
                   7682:   ;;
                   7683: 
                   7684: hpux10.20* | hpux11*)
                   7685:   lt_cv_file_magic_cmd=/usr/bin/file
                   7686:   case $host_cpu in
                   7687:   ia64*)
                   7688:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   7689:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   7690:     ;;
                   7691:   hppa*64*)
                   7692:     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]'
                   7693:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   7694:     ;;
                   7695:   *)
                   7696:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   7697:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   7698:     ;;
                   7699:   esac
                   7700:   ;;
                   7701: 
                   7702: interix[3-9]*)
                   7703:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   7704:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   7705:   ;;
                   7706: 
                   7707: irix5* | irix6* | nonstopux*)
                   7708:   case $LD in
                   7709:   *-32|*"-32 ") libmagic=32-bit;;
                   7710:   *-n32|*"-n32 ") libmagic=N32;;
                   7711:   *-64|*"-64 ") libmagic=64-bit;;
                   7712:   *) libmagic=never-match;;
                   7713:   esac
                   7714:   lt_cv_deplibs_check_method=pass_all
                   7715:   ;;
                   7716: 
1.1.1.4   misho    7717: # This must be glibc/ELF.
1.1       misho    7718: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   7719:   lt_cv_deplibs_check_method=pass_all
                   7720:   ;;
                   7721: 
                   7722: netbsd*)
                   7723:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   7724:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   7725:   else
                   7726:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   7727:   fi
                   7728:   ;;
                   7729: 
                   7730: newos6*)
                   7731:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   7732:   lt_cv_file_magic_cmd=/usr/bin/file
                   7733:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   7734:   ;;
                   7735: 
                   7736: *nto* | *qnx*)
                   7737:   lt_cv_deplibs_check_method=pass_all
                   7738:   ;;
                   7739: 
                   7740: openbsd*)
                   7741:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   7742:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   7743:   else
                   7744:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   7745:   fi
                   7746:   ;;
                   7747: 
                   7748: osf3* | osf4* | osf5*)
                   7749:   lt_cv_deplibs_check_method=pass_all
                   7750:   ;;
                   7751: 
                   7752: rdos*)
                   7753:   lt_cv_deplibs_check_method=pass_all
                   7754:   ;;
                   7755: 
                   7756: solaris*)
                   7757:   lt_cv_deplibs_check_method=pass_all
                   7758:   ;;
                   7759: 
                   7760: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   7761:   lt_cv_deplibs_check_method=pass_all
                   7762:   ;;
                   7763: 
                   7764: sysv4 | sysv4.3*)
                   7765:   case $host_vendor in
                   7766:   motorola)
                   7767:     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]'
                   7768:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   7769:     ;;
                   7770:   ncr)
                   7771:     lt_cv_deplibs_check_method=pass_all
                   7772:     ;;
                   7773:   sequent)
                   7774:     lt_cv_file_magic_cmd='/bin/file'
                   7775:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   7776:     ;;
                   7777:   sni)
                   7778:     lt_cv_file_magic_cmd='/bin/file'
                   7779:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   7780:     lt_cv_file_magic_test_file=/lib/libc.so
                   7781:     ;;
                   7782:   siemens)
                   7783:     lt_cv_deplibs_check_method=pass_all
                   7784:     ;;
                   7785:   pc)
                   7786:     lt_cv_deplibs_check_method=pass_all
                   7787:     ;;
                   7788:   esac
                   7789:   ;;
                   7790: 
                   7791: tpf*)
                   7792:   lt_cv_deplibs_check_method=pass_all
                   7793:   ;;
                   7794: esac
                   7795: 
                   7796: fi
                   7797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   7798: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   7799: 
                   7800: file_magic_glob=
                   7801: want_nocaseglob=no
                   7802: if test "$build" = "$host"; then
                   7803:   case $host_os in
                   7804:   mingw* | pw32*)
                   7805:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   7806:       want_nocaseglob=yes
                   7807:     else
                   7808:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   7809:     fi
                   7810:     ;;
                   7811:   esac
                   7812: fi
                   7813: 
                   7814: file_magic_cmd=$lt_cv_file_magic_cmd
                   7815: deplibs_check_method=$lt_cv_deplibs_check_method
                   7816: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   7817: 
                   7818: 
                   7819: 
                   7820: 
                   7821: 
                   7822: 
                   7823: 
                   7824: 
                   7825: 
                   7826: 
                   7827: 
                   7828: 
                   7829: 
                   7830: 
                   7831: 
                   7832: 
                   7833: 
                   7834: 
                   7835: 
                   7836: 
                   7837: 
                   7838: 
                   7839: if test -n "$ac_tool_prefix"; then
                   7840:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7841: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7843: $as_echo_n "checking for $ac_word... " >&6; }
                   7844: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   7845:   $as_echo_n "(cached) " >&6
                   7846: else
                   7847:   if test -n "$DLLTOOL"; then
                   7848:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7849: else
                   7850: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7851: for as_dir in $PATH
                   7852: do
                   7853:   IFS=$as_save_IFS
                   7854:   test -z "$as_dir" && as_dir=.
                   7855:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7856:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7857:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7858:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7859:     break 2
                   7860:   fi
                   7861: done
                   7862:   done
                   7863: IFS=$as_save_IFS
                   7864: 
                   7865: fi
                   7866: fi
                   7867: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7868: if test -n "$DLLTOOL"; then
                   7869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   7870: $as_echo "$DLLTOOL" >&6; }
                   7871: else
                   7872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7873: $as_echo "no" >&6; }
                   7874: fi
                   7875: 
                   7876: 
                   7877: fi
                   7878: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7879:   ac_ct_DLLTOOL=$DLLTOOL
                   7880:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7881: set dummy dlltool; ac_word=$2
                   7882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7883: $as_echo_n "checking for $ac_word... " >&6; }
                   7884: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   7885:   $as_echo_n "(cached) " >&6
                   7886: else
                   7887:   if test -n "$ac_ct_DLLTOOL"; then
                   7888:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7889: else
                   7890: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7891: for as_dir in $PATH
                   7892: do
                   7893:   IFS=$as_save_IFS
                   7894:   test -z "$as_dir" && as_dir=.
                   7895:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7896:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7897:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7898:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7899:     break 2
                   7900:   fi
                   7901: done
                   7902:   done
                   7903: IFS=$as_save_IFS
                   7904: 
                   7905: fi
                   7906: fi
                   7907: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7908: if test -n "$ac_ct_DLLTOOL"; then
                   7909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   7910: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   7911: else
                   7912:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7913: $as_echo "no" >&6; }
                   7914: fi
                   7915: 
                   7916:   if test "x$ac_ct_DLLTOOL" = x; then
                   7917:     DLLTOOL="false"
                   7918:   else
                   7919:     case $cross_compiling:$ac_tool_warned in
                   7920: yes:)
                   7921: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7922: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7923: ac_tool_warned=yes ;;
                   7924: esac
                   7925:     DLLTOOL=$ac_ct_DLLTOOL
                   7926:   fi
                   7927: else
                   7928:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7929: fi
                   7930: 
                   7931: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   7932: 
                   7933: 
                   7934: 
                   7935: 
                   7936: 
                   7937: 
                   7938: 
                   7939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   7940: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   7941: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   7942:   $as_echo_n "(cached) " >&6
                   7943: else
                   7944:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   7945: 
                   7946: case $host_os in
                   7947: cygwin* | mingw* | pw32* | cegcc*)
                   7948:   # two different shell functions defined in ltmain.sh
                   7949:   # decide which to use based on capabilities of $DLLTOOL
                   7950:   case `$DLLTOOL --help 2>&1` in
                   7951:   *--identify-strict*)
                   7952:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   7953:     ;;
                   7954:   *)
                   7955:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   7956:     ;;
                   7957:   esac
                   7958:   ;;
                   7959: *)
                   7960:   # fallback: assume linklib IS sharedlib
                   7961:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   7962:   ;;
                   7963: esac
                   7964: 
                   7965: fi
                   7966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   7967: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   7968: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   7969: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   7970: 
                   7971: 
                   7972: 
                   7973: 
                   7974: 
                   7975: 
                   7976: 
                   7977: if test -n "$ac_tool_prefix"; then
                   7978:   for ac_prog in ar
                   7979:   do
                   7980:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   7981: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   7982: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7983: $as_echo_n "checking for $ac_word... " >&6; }
                   7984: if ${ac_cv_prog_AR+:} false; then :
                   7985:   $as_echo_n "(cached) " >&6
                   7986: else
                   7987:   if test -n "$AR"; then
                   7988:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   7989: else
                   7990: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7991: for as_dir in $PATH
                   7992: do
                   7993:   IFS=$as_save_IFS
                   7994:   test -z "$as_dir" && as_dir=.
                   7995:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    7996:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7997:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   7998:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7999:     break 2
                   8000:   fi
                   8001: done
                   8002:   done
                   8003: IFS=$as_save_IFS
                   8004: 
                   8005: fi
                   8006: fi
                   8007: AR=$ac_cv_prog_AR
                   8008: if test -n "$AR"; then
                   8009:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   8010: $as_echo "$AR" >&6; }
                   8011: else
                   8012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8013: $as_echo "no" >&6; }
                   8014: fi
                   8015: 
                   8016: 
                   8017:     test -n "$AR" && break
                   8018:   done
                   8019: fi
                   8020: if test -z "$AR"; then
                   8021:   ac_ct_AR=$AR
                   8022:   for ac_prog in ar
                   8023: do
                   8024:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   8025: set dummy $ac_prog; ac_word=$2
                   8026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8027: $as_echo_n "checking for $ac_word... " >&6; }
                   8028: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   8029:   $as_echo_n "(cached) " >&6
                   8030: else
                   8031:   if test -n "$ac_ct_AR"; then
                   8032:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   8033: else
                   8034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8035: for as_dir in $PATH
                   8036: do
                   8037:   IFS=$as_save_IFS
                   8038:   test -z "$as_dir" && as_dir=.
                   8039:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8040:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8041:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   8042:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8043:     break 2
                   8044:   fi
                   8045: done
                   8046:   done
                   8047: IFS=$as_save_IFS
                   8048: 
                   8049: fi
                   8050: fi
                   8051: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   8052: if test -n "$ac_ct_AR"; then
                   8053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   8054: $as_echo "$ac_ct_AR" >&6; }
                   8055: else
                   8056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8057: $as_echo "no" >&6; }
                   8058: fi
                   8059: 
                   8060: 
                   8061:   test -n "$ac_ct_AR" && break
                   8062: done
                   8063: 
                   8064:   if test "x$ac_ct_AR" = x; then
                   8065:     AR="false"
                   8066:   else
                   8067:     case $cross_compiling:$ac_tool_warned in
                   8068: yes:)
                   8069: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8070: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8071: ac_tool_warned=yes ;;
                   8072: esac
                   8073:     AR=$ac_ct_AR
                   8074:   fi
                   8075: fi
                   8076: 
                   8077: : ${AR=ar}
                   8078: : ${AR_FLAGS=cru}
                   8079: 
                   8080: 
                   8081: 
                   8082: 
                   8083: 
                   8084: 
                   8085: 
                   8086: 
                   8087: 
                   8088: 
                   8089: 
                   8090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   8091: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   8092: if ${lt_cv_ar_at_file+:} false; then :
                   8093:   $as_echo_n "(cached) " >&6
                   8094: else
                   8095:   lt_cv_ar_at_file=no
                   8096:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8097: /* end confdefs.h.  */
                   8098: 
                   8099: int
                   8100: main ()
                   8101: {
                   8102: 
                   8103:   ;
                   8104:   return 0;
                   8105: }
                   8106: _ACEOF
                   8107: if ac_fn_c_try_compile "$LINENO"; then :
                   8108:   echo conftest.$ac_objext > conftest.lst
                   8109:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   8110:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   8111:   (eval $lt_ar_try) 2>&5
                   8112:   ac_status=$?
                   8113:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8114:   test $ac_status = 0; }
                   8115:       if test "$ac_status" -eq 0; then
                   8116:        # Ensure the archiver fails upon bogus file names.
                   8117:        rm -f conftest.$ac_objext libconftest.a
                   8118:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   8119:   (eval $lt_ar_try) 2>&5
                   8120:   ac_status=$?
                   8121:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8122:   test $ac_status = 0; }
                   8123:        if test "$ac_status" -ne 0; then
                   8124:           lt_cv_ar_at_file=@
                   8125:         fi
                   8126:       fi
                   8127:       rm -f conftest.* libconftest.a
                   8128: 
                   8129: fi
                   8130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8131: 
                   8132: fi
                   8133: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   8134: $as_echo "$lt_cv_ar_at_file" >&6; }
                   8135: 
                   8136: if test "x$lt_cv_ar_at_file" = xno; then
                   8137:   archiver_list_spec=
                   8138: else
                   8139:   archiver_list_spec=$lt_cv_ar_at_file
                   8140: fi
                   8141: 
                   8142: 
                   8143: 
                   8144: 
                   8145: 
                   8146: 
                   8147: 
                   8148: if test -n "$ac_tool_prefix"; then
                   8149:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   8150: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   8151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8152: $as_echo_n "checking for $ac_word... " >&6; }
                   8153: if ${ac_cv_prog_STRIP+:} false; then :
                   8154:   $as_echo_n "(cached) " >&6
                   8155: else
                   8156:   if test -n "$STRIP"; then
                   8157:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   8158: else
                   8159: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8160: for as_dir in $PATH
                   8161: do
                   8162:   IFS=$as_save_IFS
                   8163:   test -z "$as_dir" && as_dir=.
                   8164:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8165:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8166:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   8167:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8168:     break 2
                   8169:   fi
                   8170: done
                   8171:   done
                   8172: IFS=$as_save_IFS
                   8173: 
                   8174: fi
                   8175: fi
                   8176: STRIP=$ac_cv_prog_STRIP
                   8177: if test -n "$STRIP"; then
                   8178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   8179: $as_echo "$STRIP" >&6; }
                   8180: else
                   8181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8182: $as_echo "no" >&6; }
                   8183: fi
                   8184: 
                   8185: 
                   8186: fi
                   8187: if test -z "$ac_cv_prog_STRIP"; then
                   8188:   ac_ct_STRIP=$STRIP
                   8189:   # Extract the first word of "strip", so it can be a program name with args.
                   8190: set dummy strip; ac_word=$2
                   8191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8192: $as_echo_n "checking for $ac_word... " >&6; }
                   8193: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   8194:   $as_echo_n "(cached) " >&6
                   8195: else
                   8196:   if test -n "$ac_ct_STRIP"; then
                   8197:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   8198: else
                   8199: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8200: for as_dir in $PATH
                   8201: do
                   8202:   IFS=$as_save_IFS
                   8203:   test -z "$as_dir" && as_dir=.
                   8204:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8205:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8206:     ac_cv_prog_ac_ct_STRIP="strip"
                   8207:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8208:     break 2
                   8209:   fi
                   8210: done
                   8211:   done
                   8212: IFS=$as_save_IFS
                   8213: 
                   8214: fi
                   8215: fi
                   8216: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   8217: if test -n "$ac_ct_STRIP"; then
                   8218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   8219: $as_echo "$ac_ct_STRIP" >&6; }
                   8220: else
                   8221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8222: $as_echo "no" >&6; }
                   8223: fi
                   8224: 
                   8225:   if test "x$ac_ct_STRIP" = x; then
                   8226:     STRIP=":"
                   8227:   else
                   8228:     case $cross_compiling:$ac_tool_warned in
                   8229: yes:)
                   8230: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8231: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8232: ac_tool_warned=yes ;;
                   8233: esac
                   8234:     STRIP=$ac_ct_STRIP
                   8235:   fi
                   8236: else
                   8237:   STRIP="$ac_cv_prog_STRIP"
                   8238: fi
                   8239: 
                   8240: test -z "$STRIP" && STRIP=:
                   8241: 
                   8242: 
                   8243: 
                   8244: 
                   8245: 
                   8246: 
                   8247: if test -n "$ac_tool_prefix"; then
                   8248:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   8249: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   8250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8251: $as_echo_n "checking for $ac_word... " >&6; }
                   8252: if ${ac_cv_prog_RANLIB+:} false; then :
                   8253:   $as_echo_n "(cached) " >&6
                   8254: else
                   8255:   if test -n "$RANLIB"; then
                   8256:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   8257: else
                   8258: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8259: for as_dir in $PATH
                   8260: do
                   8261:   IFS=$as_save_IFS
                   8262:   test -z "$as_dir" && as_dir=.
                   8263:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8264:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8265:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   8266:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8267:     break 2
                   8268:   fi
                   8269: done
                   8270:   done
                   8271: IFS=$as_save_IFS
                   8272: 
                   8273: fi
                   8274: fi
                   8275: RANLIB=$ac_cv_prog_RANLIB
                   8276: if test -n "$RANLIB"; then
                   8277:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   8278: $as_echo "$RANLIB" >&6; }
                   8279: else
                   8280:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8281: $as_echo "no" >&6; }
                   8282: fi
                   8283: 
                   8284: 
                   8285: fi
                   8286: if test -z "$ac_cv_prog_RANLIB"; then
                   8287:   ac_ct_RANLIB=$RANLIB
                   8288:   # Extract the first word of "ranlib", so it can be a program name with args.
                   8289: set dummy ranlib; ac_word=$2
                   8290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8291: $as_echo_n "checking for $ac_word... " >&6; }
                   8292: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   8293:   $as_echo_n "(cached) " >&6
                   8294: else
                   8295:   if test -n "$ac_ct_RANLIB"; then
                   8296:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   8297: else
                   8298: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8299: for as_dir in $PATH
                   8300: do
                   8301:   IFS=$as_save_IFS
                   8302:   test -z "$as_dir" && as_dir=.
                   8303:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8304:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8305:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   8306:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8307:     break 2
                   8308:   fi
                   8309: done
                   8310:   done
                   8311: IFS=$as_save_IFS
                   8312: 
                   8313: fi
                   8314: fi
                   8315: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   8316: if test -n "$ac_ct_RANLIB"; then
                   8317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   8318: $as_echo "$ac_ct_RANLIB" >&6; }
                   8319: else
                   8320:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8321: $as_echo "no" >&6; }
                   8322: fi
                   8323: 
                   8324:   if test "x$ac_ct_RANLIB" = x; then
                   8325:     RANLIB=":"
                   8326:   else
                   8327:     case $cross_compiling:$ac_tool_warned in
                   8328: yes:)
                   8329: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8330: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8331: ac_tool_warned=yes ;;
                   8332: esac
                   8333:     RANLIB=$ac_ct_RANLIB
                   8334:   fi
                   8335: else
                   8336:   RANLIB="$ac_cv_prog_RANLIB"
                   8337: fi
                   8338: 
                   8339: test -z "$RANLIB" && RANLIB=:
                   8340: 
                   8341: 
                   8342: 
                   8343: 
                   8344: 
                   8345: 
                   8346: # Determine commands to create old-style static archives.
                   8347: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   8348: old_postinstall_cmds='chmod 644 $oldlib'
                   8349: old_postuninstall_cmds=
                   8350: 
                   8351: if test -n "$RANLIB"; then
                   8352:   case $host_os in
                   8353:   openbsd*)
1.1.1.4   misho    8354:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1       misho    8355:     ;;
                   8356:   *)
1.1.1.4   misho    8357:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    8358:     ;;
                   8359:   esac
1.1.1.4   misho    8360:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    8361: fi
                   8362: 
                   8363: case $host_os in
                   8364:   darwin*)
                   8365:     lock_old_archive_extraction=yes ;;
                   8366:   *)
                   8367:     lock_old_archive_extraction=no ;;
                   8368: esac
                   8369: 
                   8370: 
                   8371: 
                   8372: 
                   8373: 
                   8374: 
                   8375: 
                   8376: 
                   8377: 
                   8378: 
                   8379: 
                   8380: 
                   8381: 
                   8382: 
                   8383: 
                   8384: 
                   8385: 
                   8386: 
                   8387: 
                   8388: 
                   8389: 
                   8390: 
                   8391: 
                   8392: 
                   8393: 
                   8394: 
                   8395: 
                   8396: 
                   8397: 
                   8398: 
                   8399: 
                   8400: 
                   8401: 
                   8402: 
                   8403: 
                   8404: 
                   8405: 
                   8406: 
                   8407: 
                   8408: # If no C compiler was specified, use CC.
                   8409: LTCC=${LTCC-"$CC"}
                   8410: 
                   8411: # If no C compiler flags were specified, use CFLAGS.
                   8412: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8413: 
                   8414: # Allow CC to be a program name with arguments.
                   8415: compiler=$CC
                   8416: 
                   8417: 
                   8418: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   8419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   8420: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   8421: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   8422:   $as_echo_n "(cached) " >&6
                   8423: else
                   8424: 
                   8425: # These are sane defaults that work on at least a few old systems.
                   8426: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   8427: 
                   8428: # Character class describing NM global symbol codes.
                   8429: symcode='[BCDEGRST]'
                   8430: 
                   8431: # Regexp to match symbols that can be accessed directly from C.
                   8432: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   8433: 
                   8434: # Define system-specific variables.
                   8435: case $host_os in
                   8436: aix*)
                   8437:   symcode='[BCDT]'
                   8438:   ;;
                   8439: cygwin* | mingw* | pw32* | cegcc*)
                   8440:   symcode='[ABCDGISTW]'
                   8441:   ;;
                   8442: hpux*)
                   8443:   if test "$host_cpu" = ia64; then
                   8444:     symcode='[ABCDEGRST]'
                   8445:   fi
                   8446:   ;;
                   8447: irix* | nonstopux*)
                   8448:   symcode='[BCDEGRST]'
                   8449:   ;;
                   8450: osf*)
                   8451:   symcode='[BCDEGQRST]'
                   8452:   ;;
                   8453: solaris*)
                   8454:   symcode='[BDRT]'
                   8455:   ;;
                   8456: sco3.2v5*)
                   8457:   symcode='[DT]'
                   8458:   ;;
                   8459: sysv4.2uw2*)
                   8460:   symcode='[DT]'
                   8461:   ;;
                   8462: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   8463:   symcode='[ABDT]'
                   8464:   ;;
                   8465: sysv4)
                   8466:   symcode='[DFNSTU]'
                   8467:   ;;
                   8468: esac
                   8469: 
                   8470: # If we're using GNU nm, then use its standard symbol codes.
                   8471: case `$NM -V 2>&1` in
                   8472: *GNU* | *'with BFD'*)
                   8473:   symcode='[ABCDGIRSTW]' ;;
                   8474: esac
                   8475: 
                   8476: # Transform an extracted symbol line into a proper C declaration.
                   8477: # Some systems (esp. on ia64) link data and code symbols differently,
                   8478: # so use this general approach.
                   8479: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   8480: 
                   8481: # Transform an extracted symbol line into symbol name and symbol address
                   8482: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   8483: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
                   8484: 
                   8485: # Handle CRLF in mingw tool chain
                   8486: opt_cr=
                   8487: case $build_os in
                   8488: mingw*)
                   8489:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   8490:   ;;
                   8491: esac
                   8492: 
                   8493: # Try without a prefix underscore, then with it.
                   8494: for ac_symprfx in "" "_"; do
                   8495: 
                   8496:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   8497:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   8498: 
                   8499:   # Write the raw and C identifiers.
                   8500:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   8501:     # Fake it for dumpbin and say T for any non-static function
                   8502:     # and D for any global variable.
                   8503:     # Also find C++ and __fastcall symbols from MSVC++,
                   8504:     # which start with @ or ?.
                   8505:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   8506: "     {last_section=section; section=\$ 3};"\
1.1.1.4   misho    8507: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
1.1       misho    8508: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   8509: "     \$ 0!~/External *\|/{next};"\
                   8510: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   8511: "     {if(hide[section]) next};"\
                   8512: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   8513: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   8514: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   8515: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   8516: "     ' prfx=^$ac_symprfx"
                   8517:   else
                   8518:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   8519:   fi
                   8520:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   8521: 
                   8522:   # Check to see that the pipe works correctly.
                   8523:   pipe_works=no
                   8524: 
                   8525:   rm -f conftest*
                   8526:   cat > conftest.$ac_ext <<_LT_EOF
                   8527: #ifdef __cplusplus
                   8528: extern "C" {
                   8529: #endif
                   8530: char nm_test_var;
                   8531: void nm_test_func(void);
                   8532: void nm_test_func(void){}
                   8533: #ifdef __cplusplus
                   8534: }
                   8535: #endif
                   8536: int main(){nm_test_var='a';nm_test_func();return(0);}
                   8537: _LT_EOF
                   8538: 
                   8539:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   8540:   (eval $ac_compile) 2>&5
                   8541:   ac_status=$?
                   8542:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8543:   test $ac_status = 0; }; then
                   8544:     # Now try to grab the symbols.
                   8545:     nlist=conftest.nm
                   8546:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   8547:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   8548:   ac_status=$?
                   8549:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8550:   test $ac_status = 0; } && test -s "$nlist"; then
                   8551:       # Try sorting and uniquifying the output.
                   8552:       if sort "$nlist" | uniq > "$nlist"T; then
                   8553:        mv -f "$nlist"T "$nlist"
                   8554:       else
                   8555:        rm -f "$nlist"T
                   8556:       fi
                   8557: 
                   8558:       # Make sure that we snagged all the symbols we need.
                   8559:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   8560:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   8561:          cat <<_LT_EOF > conftest.$ac_ext
                   8562: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   8563: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   8564: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   8565:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   8566: # define LT_DLSYM_CONST
                   8567: #elif defined(__osf__)
                   8568: /* This system does not cope well with relocations in const data.  */
                   8569: # define LT_DLSYM_CONST
                   8570: #else
                   8571: # define LT_DLSYM_CONST const
                   8572: #endif
                   8573: 
                   8574: #ifdef __cplusplus
                   8575: extern "C" {
                   8576: #endif
                   8577: 
                   8578: _LT_EOF
                   8579:          # Now generate the symbol file.
                   8580:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   8581: 
                   8582:          cat <<_LT_EOF >> conftest.$ac_ext
                   8583: 
                   8584: /* The mapping between symbol names and symbols.  */
                   8585: LT_DLSYM_CONST struct {
                   8586:   const char *name;
                   8587:   void       *address;
                   8588: }
                   8589: lt__PROGRAM__LTX_preloaded_symbols[] =
                   8590: {
                   8591:   { "@PROGRAM@", (void *) 0 },
                   8592: _LT_EOF
                   8593:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   8594:          cat <<\_LT_EOF >> conftest.$ac_ext
                   8595:   {0, (void *) 0}
                   8596: };
                   8597: 
                   8598: /* This works around a problem in FreeBSD linker */
                   8599: #ifdef FREEBSD_WORKAROUND
                   8600: static const void *lt_preloaded_setup() {
                   8601:   return lt__PROGRAM__LTX_preloaded_symbols;
                   8602: }
                   8603: #endif
                   8604: 
                   8605: #ifdef __cplusplus
                   8606: }
                   8607: #endif
                   8608: _LT_EOF
                   8609:          # Now try linking the two files.
                   8610:          mv conftest.$ac_objext conftstm.$ac_objext
                   8611:          lt_globsym_save_LIBS=$LIBS
                   8612:          lt_globsym_save_CFLAGS=$CFLAGS
                   8613:          LIBS="conftstm.$ac_objext"
                   8614:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   8615:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   8616:   (eval $ac_link) 2>&5
                   8617:   ac_status=$?
                   8618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8619:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   8620:            pipe_works=yes
                   8621:          fi
                   8622:          LIBS=$lt_globsym_save_LIBS
                   8623:          CFLAGS=$lt_globsym_save_CFLAGS
                   8624:        else
                   8625:          echo "cannot find nm_test_func in $nlist" >&5
                   8626:        fi
                   8627:       else
                   8628:        echo "cannot find nm_test_var in $nlist" >&5
                   8629:       fi
                   8630:     else
                   8631:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   8632:     fi
                   8633:   else
                   8634:     echo "$progname: failed program was:" >&5
                   8635:     cat conftest.$ac_ext >&5
                   8636:   fi
                   8637:   rm -rf conftest* conftst*
                   8638: 
                   8639:   # Do not use the global_symbol_pipe unless it works.
                   8640:   if test "$pipe_works" = yes; then
                   8641:     break
                   8642:   else
                   8643:     lt_cv_sys_global_symbol_pipe=
                   8644:   fi
                   8645: done
                   8646: 
                   8647: fi
                   8648: 
                   8649: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   8650:   lt_cv_sys_global_symbol_to_cdecl=
                   8651: fi
                   8652: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   8653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   8654: $as_echo "failed" >&6; }
                   8655: else
                   8656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   8657: $as_echo "ok" >&6; }
                   8658: fi
                   8659: 
                   8660: # Response file support.
                   8661: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   8662:   nm_file_list_spec='@'
                   8663: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   8664:   nm_file_list_spec='@'
                   8665: fi
                   8666: 
                   8667: 
                   8668: 
                   8669: 
                   8670: 
                   8671: 
                   8672: 
                   8673: 
                   8674: 
                   8675: 
                   8676: 
                   8677: 
                   8678: 
                   8679: 
                   8680: 
                   8681: 
                   8682: 
                   8683: 
                   8684: 
                   8685: 
                   8686: 
                   8687: 
                   8688: 
                   8689: 
                   8690: 
                   8691: 
                   8692: 
                   8693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   8694: $as_echo_n "checking for sysroot... " >&6; }
                   8695: 
                   8696: # Check whether --with-sysroot was given.
                   8697: if test "${with_sysroot+set}" = set; then :
                   8698:   withval=$with_sysroot;
                   8699: else
                   8700:   with_sysroot=no
                   8701: fi
                   8702: 
                   8703: 
                   8704: lt_sysroot=
                   8705: case ${with_sysroot} in #(
                   8706:  yes)
                   8707:    if test "$GCC" = yes; then
                   8708:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   8709:    fi
                   8710:    ;; #(
                   8711:  /*)
                   8712:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   8713:    ;; #(
                   8714:  no|'')
                   8715:    ;; #(
                   8716:  *)
                   8717:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   8718: $as_echo "${with_sysroot}" >&6; }
                   8719:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   8720:    ;;
                   8721: esac
                   8722: 
                   8723:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   8724: $as_echo "${lt_sysroot:-no}" >&6; }
                   8725: 
                   8726: 
                   8727: 
                   8728: 
                   8729: 
                   8730: # Check whether --enable-libtool-lock was given.
                   8731: if test "${enable_libtool_lock+set}" = set; then :
                   8732:   enableval=$enable_libtool_lock;
                   8733: fi
                   8734: 
                   8735: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   8736: 
                   8737: # Some flags need to be propagated to the compiler or linker for good
                   8738: # libtool support.
                   8739: case $host in
                   8740: ia64-*-hpux*)
                   8741:   # Find out which ABI we are using.
                   8742:   echo 'int i;' > conftest.$ac_ext
                   8743:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   8744:   (eval $ac_compile) 2>&5
                   8745:   ac_status=$?
                   8746:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8747:   test $ac_status = 0; }; then
                   8748:     case `/usr/bin/file conftest.$ac_objext` in
                   8749:       *ELF-32*)
                   8750:        HPUX_IA64_MODE="32"
                   8751:        ;;
                   8752:       *ELF-64*)
                   8753:        HPUX_IA64_MODE="64"
                   8754:        ;;
                   8755:     esac
                   8756:   fi
                   8757:   rm -rf conftest*
                   8758:   ;;
                   8759: *-*-irix6*)
                   8760:   # Find out which ABI we are using.
                   8761:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   8762:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   8763:   (eval $ac_compile) 2>&5
                   8764:   ac_status=$?
                   8765:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8766:   test $ac_status = 0; }; then
                   8767:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   8768:       case `/usr/bin/file conftest.$ac_objext` in
                   8769:        *32-bit*)
                   8770:          LD="${LD-ld} -melf32bsmip"
                   8771:          ;;
                   8772:        *N32*)
                   8773:          LD="${LD-ld} -melf32bmipn32"
                   8774:          ;;
                   8775:        *64-bit*)
                   8776:          LD="${LD-ld} -melf64bmip"
                   8777:        ;;
                   8778:       esac
                   8779:     else
                   8780:       case `/usr/bin/file conftest.$ac_objext` in
                   8781:        *32-bit*)
                   8782:          LD="${LD-ld} -32"
                   8783:          ;;
                   8784:        *N32*)
                   8785:          LD="${LD-ld} -n32"
                   8786:          ;;
                   8787:        *64-bit*)
                   8788:          LD="${LD-ld} -64"
                   8789:          ;;
                   8790:       esac
                   8791:     fi
                   8792:   fi
                   8793:   rm -rf conftest*
                   8794:   ;;
                   8795: 
                   8796: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   8797: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   8798:   # Find out which ABI we are using.
                   8799:   echo 'int i;' > conftest.$ac_ext
                   8800:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   8801:   (eval $ac_compile) 2>&5
                   8802:   ac_status=$?
                   8803:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8804:   test $ac_status = 0; }; then
                   8805:     case `/usr/bin/file conftest.o` in
                   8806:       *32-bit*)
                   8807:        case $host in
                   8808:          x86_64-*kfreebsd*-gnu)
                   8809:            LD="${LD-ld} -m elf_i386_fbsd"
                   8810:            ;;
                   8811:          x86_64-*linux*)
                   8812:            LD="${LD-ld} -m elf_i386"
                   8813:            ;;
                   8814:          ppc64-*linux*|powerpc64-*linux*)
                   8815:            LD="${LD-ld} -m elf32ppclinux"
                   8816:            ;;
                   8817:          s390x-*linux*)
                   8818:            LD="${LD-ld} -m elf_s390"
                   8819:            ;;
                   8820:          sparc64-*linux*)
                   8821:            LD="${LD-ld} -m elf32_sparc"
                   8822:            ;;
                   8823:        esac
                   8824:        ;;
                   8825:       *64-bit*)
                   8826:        case $host in
                   8827:          x86_64-*kfreebsd*-gnu)
                   8828:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   8829:            ;;
                   8830:          x86_64-*linux*)
                   8831:            LD="${LD-ld} -m elf_x86_64"
                   8832:            ;;
                   8833:          ppc*-*linux*|powerpc*-*linux*)
                   8834:            LD="${LD-ld} -m elf64ppc"
                   8835:            ;;
                   8836:          s390*-*linux*|s390*-*tpf*)
                   8837:            LD="${LD-ld} -m elf64_s390"
                   8838:            ;;
                   8839:          sparc*-*linux*)
                   8840:            LD="${LD-ld} -m elf64_sparc"
                   8841:            ;;
                   8842:        esac
                   8843:        ;;
                   8844:     esac
                   8845:   fi
                   8846:   rm -rf conftest*
                   8847:   ;;
                   8848: 
                   8849: *-*-sco3.2v5*)
                   8850:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   8851:   SAVE_CFLAGS="$CFLAGS"
                   8852:   CFLAGS="$CFLAGS -belf"
                   8853:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   8854: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   8855: if ${lt_cv_cc_needs_belf+:} false; then :
                   8856:   $as_echo_n "(cached) " >&6
                   8857: else
                   8858:   ac_ext=c
                   8859: ac_cpp='$CPP $CPPFLAGS'
                   8860: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8861: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8862: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8863: 
                   8864:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8865: /* end confdefs.h.  */
                   8866: 
                   8867: int
                   8868: main ()
                   8869: {
                   8870: 
                   8871:   ;
                   8872:   return 0;
                   8873: }
                   8874: _ACEOF
                   8875: if ac_fn_c_try_link "$LINENO"; then :
                   8876:   lt_cv_cc_needs_belf=yes
                   8877: else
                   8878:   lt_cv_cc_needs_belf=no
                   8879: fi
                   8880: rm -f core conftest.err conftest.$ac_objext \
                   8881:     conftest$ac_exeext conftest.$ac_ext
                   8882:      ac_ext=c
                   8883: ac_cpp='$CPP $CPPFLAGS'
                   8884: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8885: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8886: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8887: 
                   8888: fi
                   8889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   8890: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   8891:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   8892:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   8893:     CFLAGS="$SAVE_CFLAGS"
                   8894:   fi
                   8895:   ;;
1.1.1.4   misho    8896: *-*solaris*)
1.1       misho    8897:   # Find out which ABI we are using.
                   8898:   echo 'int i;' > conftest.$ac_ext
                   8899:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   8900:   (eval $ac_compile) 2>&5
                   8901:   ac_status=$?
                   8902:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8903:   test $ac_status = 0; }; then
                   8904:     case `/usr/bin/file conftest.o` in
                   8905:     *64-bit*)
                   8906:       case $lt_cv_prog_gnu_ld in
1.1.1.4   misho    8907:       yes*)
                   8908:         case $host in
                   8909:         i?86-*-solaris*)
                   8910:           LD="${LD-ld} -m elf_x86_64"
                   8911:           ;;
                   8912:         sparc*-*-solaris*)
                   8913:           LD="${LD-ld} -m elf64_sparc"
                   8914:           ;;
                   8915:         esac
                   8916:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   8917:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   8918:           LD="${LD-ld}_sol2"
                   8919:         fi
                   8920:         ;;
1.1       misho    8921:       *)
                   8922:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   8923:          LD="${LD-ld} -64"
                   8924:        fi
                   8925:        ;;
                   8926:       esac
                   8927:       ;;
                   8928:     esac
                   8929:   fi
                   8930:   rm -rf conftest*
                   8931:   ;;
                   8932: esac
                   8933: 
                   8934: need_locks="$enable_libtool_lock"
                   8935: 
                   8936: if test -n "$ac_tool_prefix"; then
                   8937:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   8938: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   8939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8940: $as_echo_n "checking for $ac_word... " >&6; }
                   8941: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   8942:   $as_echo_n "(cached) " >&6
                   8943: else
                   8944:   if test -n "$MANIFEST_TOOL"; then
                   8945:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   8946: else
                   8947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8948: for as_dir in $PATH
                   8949: do
                   8950:   IFS=$as_save_IFS
                   8951:   test -z "$as_dir" && as_dir=.
                   8952:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8953:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8954:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   8955:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8956:     break 2
                   8957:   fi
                   8958: done
                   8959:   done
                   8960: IFS=$as_save_IFS
                   8961: 
                   8962: fi
                   8963: fi
                   8964: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   8965: if test -n "$MANIFEST_TOOL"; then
                   8966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   8967: $as_echo "$MANIFEST_TOOL" >&6; }
                   8968: else
                   8969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8970: $as_echo "no" >&6; }
                   8971: fi
                   8972: 
                   8973: 
                   8974: fi
                   8975: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   8976:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   8977:   # Extract the first word of "mt", so it can be a program name with args.
                   8978: set dummy mt; ac_word=$2
                   8979: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8980: $as_echo_n "checking for $ac_word... " >&6; }
                   8981: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   8982:   $as_echo_n "(cached) " >&6
                   8983: else
                   8984:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   8985:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   8986: else
                   8987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8988: for as_dir in $PATH
                   8989: do
                   8990:   IFS=$as_save_IFS
                   8991:   test -z "$as_dir" && as_dir=.
                   8992:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    8993:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8994:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   8995:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8996:     break 2
                   8997:   fi
                   8998: done
                   8999:   done
                   9000: IFS=$as_save_IFS
                   9001: 
                   9002: fi
                   9003: fi
                   9004: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   9005: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   9006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   9007: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   9008: else
                   9009:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9010: $as_echo "no" >&6; }
                   9011: fi
                   9012: 
                   9013:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   9014:     MANIFEST_TOOL=":"
                   9015:   else
                   9016:     case $cross_compiling:$ac_tool_warned in
                   9017: yes:)
                   9018: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9019: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9020: ac_tool_warned=yes ;;
                   9021: esac
                   9022:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   9023:   fi
                   9024: else
                   9025:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   9026: fi
                   9027: 
                   9028: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   9029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   9030: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   9031: if ${lt_cv_path_mainfest_tool+:} false; then :
                   9032:   $as_echo_n "(cached) " >&6
                   9033: else
                   9034:   lt_cv_path_mainfest_tool=no
                   9035:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   9036:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   9037:   cat conftest.err >&5
                   9038:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   9039:     lt_cv_path_mainfest_tool=yes
                   9040:   fi
                   9041:   rm -f conftest*
                   9042: fi
                   9043: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   9044: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
                   9045: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   9046:   MANIFEST_TOOL=:
                   9047: fi
                   9048: 
                   9049: 
                   9050: 
                   9051: 
                   9052: 
                   9053: 
                   9054:   case $host_os in
                   9055:     rhapsody* | darwin*)
                   9056:     if test -n "$ac_tool_prefix"; then
                   9057:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   9058: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   9059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9060: $as_echo_n "checking for $ac_word... " >&6; }
                   9061: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   9062:   $as_echo_n "(cached) " >&6
                   9063: else
                   9064:   if test -n "$DSYMUTIL"; then
                   9065:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   9066: else
                   9067: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9068: for as_dir in $PATH
                   9069: do
                   9070:   IFS=$as_save_IFS
                   9071:   test -z "$as_dir" && as_dir=.
                   9072:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9073:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9074:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   9075:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9076:     break 2
                   9077:   fi
                   9078: done
                   9079:   done
                   9080: IFS=$as_save_IFS
                   9081: 
                   9082: fi
                   9083: fi
                   9084: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   9085: if test -n "$DSYMUTIL"; then
                   9086:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   9087: $as_echo "$DSYMUTIL" >&6; }
                   9088: else
                   9089:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9090: $as_echo "no" >&6; }
                   9091: fi
                   9092: 
                   9093: 
                   9094: fi
                   9095: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   9096:   ac_ct_DSYMUTIL=$DSYMUTIL
                   9097:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   9098: set dummy dsymutil; ac_word=$2
                   9099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9100: $as_echo_n "checking for $ac_word... " >&6; }
                   9101: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   9102:   $as_echo_n "(cached) " >&6
                   9103: else
                   9104:   if test -n "$ac_ct_DSYMUTIL"; then
                   9105:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   9106: else
                   9107: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9108: for as_dir in $PATH
                   9109: do
                   9110:   IFS=$as_save_IFS
                   9111:   test -z "$as_dir" && as_dir=.
                   9112:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9113:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9114:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   9115:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9116:     break 2
                   9117:   fi
                   9118: done
                   9119:   done
                   9120: IFS=$as_save_IFS
                   9121: 
                   9122: fi
                   9123: fi
                   9124: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   9125: if test -n "$ac_ct_DSYMUTIL"; then
                   9126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   9127: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   9128: else
                   9129:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9130: $as_echo "no" >&6; }
                   9131: fi
                   9132: 
                   9133:   if test "x$ac_ct_DSYMUTIL" = x; then
                   9134:     DSYMUTIL=":"
                   9135:   else
                   9136:     case $cross_compiling:$ac_tool_warned in
                   9137: yes:)
                   9138: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9139: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9140: ac_tool_warned=yes ;;
                   9141: esac
                   9142:     DSYMUTIL=$ac_ct_DSYMUTIL
                   9143:   fi
                   9144: else
                   9145:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   9146: fi
                   9147: 
                   9148:     if test -n "$ac_tool_prefix"; then
                   9149:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   9150: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   9151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9152: $as_echo_n "checking for $ac_word... " >&6; }
                   9153: if ${ac_cv_prog_NMEDIT+:} false; then :
                   9154:   $as_echo_n "(cached) " >&6
                   9155: else
                   9156:   if test -n "$NMEDIT"; then
                   9157:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   9158: else
                   9159: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9160: for as_dir in $PATH
                   9161: do
                   9162:   IFS=$as_save_IFS
                   9163:   test -z "$as_dir" && as_dir=.
                   9164:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9165:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9166:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   9167:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9168:     break 2
                   9169:   fi
                   9170: done
                   9171:   done
                   9172: IFS=$as_save_IFS
                   9173: 
                   9174: fi
                   9175: fi
                   9176: NMEDIT=$ac_cv_prog_NMEDIT
                   9177: if test -n "$NMEDIT"; then
                   9178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   9179: $as_echo "$NMEDIT" >&6; }
                   9180: else
                   9181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9182: $as_echo "no" >&6; }
                   9183: fi
                   9184: 
                   9185: 
                   9186: fi
                   9187: if test -z "$ac_cv_prog_NMEDIT"; then
                   9188:   ac_ct_NMEDIT=$NMEDIT
                   9189:   # Extract the first word of "nmedit", so it can be a program name with args.
                   9190: set dummy nmedit; ac_word=$2
                   9191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9192: $as_echo_n "checking for $ac_word... " >&6; }
                   9193: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   9194:   $as_echo_n "(cached) " >&6
                   9195: else
                   9196:   if test -n "$ac_ct_NMEDIT"; then
                   9197:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   9198: else
                   9199: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9200: for as_dir in $PATH
                   9201: do
                   9202:   IFS=$as_save_IFS
                   9203:   test -z "$as_dir" && as_dir=.
                   9204:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9205:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9206:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   9207:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9208:     break 2
                   9209:   fi
                   9210: done
                   9211:   done
                   9212: IFS=$as_save_IFS
                   9213: 
                   9214: fi
                   9215: fi
                   9216: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   9217: if test -n "$ac_ct_NMEDIT"; then
                   9218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   9219: $as_echo "$ac_ct_NMEDIT" >&6; }
                   9220: else
                   9221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9222: $as_echo "no" >&6; }
                   9223: fi
                   9224: 
                   9225:   if test "x$ac_ct_NMEDIT" = x; then
                   9226:     NMEDIT=":"
                   9227:   else
                   9228:     case $cross_compiling:$ac_tool_warned in
                   9229: yes:)
                   9230: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9231: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9232: ac_tool_warned=yes ;;
                   9233: esac
                   9234:     NMEDIT=$ac_ct_NMEDIT
                   9235:   fi
                   9236: else
                   9237:   NMEDIT="$ac_cv_prog_NMEDIT"
                   9238: fi
                   9239: 
                   9240:     if test -n "$ac_tool_prefix"; then
                   9241:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   9242: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   9243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9244: $as_echo_n "checking for $ac_word... " >&6; }
                   9245: if ${ac_cv_prog_LIPO+:} false; then :
                   9246:   $as_echo_n "(cached) " >&6
                   9247: else
                   9248:   if test -n "$LIPO"; then
                   9249:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   9250: else
                   9251: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9252: for as_dir in $PATH
                   9253: do
                   9254:   IFS=$as_save_IFS
                   9255:   test -z "$as_dir" && as_dir=.
                   9256:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9257:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9258:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   9259:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9260:     break 2
                   9261:   fi
                   9262: done
                   9263:   done
                   9264: IFS=$as_save_IFS
                   9265: 
                   9266: fi
                   9267: fi
                   9268: LIPO=$ac_cv_prog_LIPO
                   9269: if test -n "$LIPO"; then
                   9270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   9271: $as_echo "$LIPO" >&6; }
                   9272: else
                   9273:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9274: $as_echo "no" >&6; }
                   9275: fi
                   9276: 
                   9277: 
                   9278: fi
                   9279: if test -z "$ac_cv_prog_LIPO"; then
                   9280:   ac_ct_LIPO=$LIPO
                   9281:   # Extract the first word of "lipo", so it can be a program name with args.
                   9282: set dummy lipo; ac_word=$2
                   9283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9284: $as_echo_n "checking for $ac_word... " >&6; }
                   9285: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   9286:   $as_echo_n "(cached) " >&6
                   9287: else
                   9288:   if test -n "$ac_ct_LIPO"; then
                   9289:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   9290: else
                   9291: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9292: for as_dir in $PATH
                   9293: do
                   9294:   IFS=$as_save_IFS
                   9295:   test -z "$as_dir" && as_dir=.
                   9296:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9297:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9298:     ac_cv_prog_ac_ct_LIPO="lipo"
                   9299:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9300:     break 2
                   9301:   fi
                   9302: done
                   9303:   done
                   9304: IFS=$as_save_IFS
                   9305: 
                   9306: fi
                   9307: fi
                   9308: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   9309: if test -n "$ac_ct_LIPO"; then
                   9310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   9311: $as_echo "$ac_ct_LIPO" >&6; }
                   9312: else
                   9313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9314: $as_echo "no" >&6; }
                   9315: fi
                   9316: 
                   9317:   if test "x$ac_ct_LIPO" = x; then
                   9318:     LIPO=":"
                   9319:   else
                   9320:     case $cross_compiling:$ac_tool_warned in
                   9321: yes:)
                   9322: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9323: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9324: ac_tool_warned=yes ;;
                   9325: esac
                   9326:     LIPO=$ac_ct_LIPO
                   9327:   fi
                   9328: else
                   9329:   LIPO="$ac_cv_prog_LIPO"
                   9330: fi
                   9331: 
                   9332:     if test -n "$ac_tool_prefix"; then
                   9333:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   9334: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   9335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9336: $as_echo_n "checking for $ac_word... " >&6; }
                   9337: if ${ac_cv_prog_OTOOL+:} false; then :
                   9338:   $as_echo_n "(cached) " >&6
                   9339: else
                   9340:   if test -n "$OTOOL"; then
                   9341:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   9342: else
                   9343: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9344: for as_dir in $PATH
                   9345: do
                   9346:   IFS=$as_save_IFS
                   9347:   test -z "$as_dir" && as_dir=.
                   9348:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9349:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9350:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   9351:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9352:     break 2
                   9353:   fi
                   9354: done
                   9355:   done
                   9356: IFS=$as_save_IFS
                   9357: 
                   9358: fi
                   9359: fi
                   9360: OTOOL=$ac_cv_prog_OTOOL
                   9361: if test -n "$OTOOL"; then
                   9362:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   9363: $as_echo "$OTOOL" >&6; }
                   9364: else
                   9365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9366: $as_echo "no" >&6; }
                   9367: fi
                   9368: 
                   9369: 
                   9370: fi
                   9371: if test -z "$ac_cv_prog_OTOOL"; then
                   9372:   ac_ct_OTOOL=$OTOOL
                   9373:   # Extract the first word of "otool", so it can be a program name with args.
                   9374: set dummy otool; ac_word=$2
                   9375: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9376: $as_echo_n "checking for $ac_word... " >&6; }
                   9377: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   9378:   $as_echo_n "(cached) " >&6
                   9379: else
                   9380:   if test -n "$ac_ct_OTOOL"; then
                   9381:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   9382: else
                   9383: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9384: for as_dir in $PATH
                   9385: do
                   9386:   IFS=$as_save_IFS
                   9387:   test -z "$as_dir" && as_dir=.
                   9388:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9389:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9390:     ac_cv_prog_ac_ct_OTOOL="otool"
                   9391:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9392:     break 2
                   9393:   fi
                   9394: done
                   9395:   done
                   9396: IFS=$as_save_IFS
                   9397: 
                   9398: fi
                   9399: fi
                   9400: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   9401: if test -n "$ac_ct_OTOOL"; then
                   9402:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   9403: $as_echo "$ac_ct_OTOOL" >&6; }
                   9404: else
                   9405:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9406: $as_echo "no" >&6; }
                   9407: fi
                   9408: 
                   9409:   if test "x$ac_ct_OTOOL" = x; then
                   9410:     OTOOL=":"
                   9411:   else
                   9412:     case $cross_compiling:$ac_tool_warned in
                   9413: yes:)
                   9414: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9415: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9416: ac_tool_warned=yes ;;
                   9417: esac
                   9418:     OTOOL=$ac_ct_OTOOL
                   9419:   fi
                   9420: else
                   9421:   OTOOL="$ac_cv_prog_OTOOL"
                   9422: fi
                   9423: 
                   9424:     if test -n "$ac_tool_prefix"; then
                   9425:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   9426: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   9427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9428: $as_echo_n "checking for $ac_word... " >&6; }
                   9429: if ${ac_cv_prog_OTOOL64+:} false; then :
                   9430:   $as_echo_n "(cached) " >&6
                   9431: else
                   9432:   if test -n "$OTOOL64"; then
                   9433:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   9434: else
                   9435: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9436: for as_dir in $PATH
                   9437: do
                   9438:   IFS=$as_save_IFS
                   9439:   test -z "$as_dir" && as_dir=.
                   9440:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9441:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9442:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   9443:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9444:     break 2
                   9445:   fi
                   9446: done
                   9447:   done
                   9448: IFS=$as_save_IFS
                   9449: 
                   9450: fi
                   9451: fi
                   9452: OTOOL64=$ac_cv_prog_OTOOL64
                   9453: if test -n "$OTOOL64"; then
                   9454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   9455: $as_echo "$OTOOL64" >&6; }
                   9456: else
                   9457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9458: $as_echo "no" >&6; }
                   9459: fi
                   9460: 
                   9461: 
                   9462: fi
                   9463: if test -z "$ac_cv_prog_OTOOL64"; then
                   9464:   ac_ct_OTOOL64=$OTOOL64
                   9465:   # Extract the first word of "otool64", so it can be a program name with args.
                   9466: set dummy otool64; ac_word=$2
                   9467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9468: $as_echo_n "checking for $ac_word... " >&6; }
                   9469: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   9470:   $as_echo_n "(cached) " >&6
                   9471: else
                   9472:   if test -n "$ac_ct_OTOOL64"; then
                   9473:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   9474: else
                   9475: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9476: for as_dir in $PATH
                   9477: do
                   9478:   IFS=$as_save_IFS
                   9479:   test -z "$as_dir" && as_dir=.
                   9480:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4   misho    9481:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9482:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   9483:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9484:     break 2
                   9485:   fi
                   9486: done
                   9487:   done
                   9488: IFS=$as_save_IFS
                   9489: 
                   9490: fi
                   9491: fi
                   9492: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   9493: if test -n "$ac_ct_OTOOL64"; then
                   9494:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   9495: $as_echo "$ac_ct_OTOOL64" >&6; }
                   9496: else
                   9497:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9498: $as_echo "no" >&6; }
                   9499: fi
                   9500: 
                   9501:   if test "x$ac_ct_OTOOL64" = x; then
                   9502:     OTOOL64=":"
                   9503:   else
                   9504:     case $cross_compiling:$ac_tool_warned in
                   9505: yes:)
                   9506: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9507: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9508: ac_tool_warned=yes ;;
                   9509: esac
                   9510:     OTOOL64=$ac_ct_OTOOL64
                   9511:   fi
                   9512: else
                   9513:   OTOOL64="$ac_cv_prog_OTOOL64"
                   9514: fi
                   9515: 
                   9516: 
                   9517: 
                   9518: 
                   9519: 
                   9520: 
                   9521: 
                   9522: 
                   9523: 
                   9524: 
                   9525: 
                   9526: 
                   9527: 
                   9528: 
                   9529: 
                   9530: 
                   9531: 
                   9532: 
                   9533: 
                   9534: 
                   9535: 
                   9536: 
                   9537: 
                   9538: 
                   9539: 
                   9540: 
                   9541: 
                   9542:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   9543: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   9544: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   9545:   $as_echo_n "(cached) " >&6
                   9546: else
                   9547:   lt_cv_apple_cc_single_mod=no
                   9548:       if test -z "${LT_MULTI_MODULE}"; then
                   9549:        # By default we will add the -single_module flag. You can override
                   9550:        # by either setting the environment variable LT_MULTI_MODULE
                   9551:        # non-empty at configure time, or by adding -multi_module to the
                   9552:        # link flags.
                   9553:        rm -rf libconftest.dylib*
                   9554:        echo "int foo(void){return 1;}" > conftest.c
                   9555:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   9556: -dynamiclib -Wl,-single_module conftest.c" >&5
                   9557:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   9558:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   9559:         _lt_result=$?
1.1.1.4   misho    9560:        # If there is a non-empty error log, and "single_module"
                   9561:        # appears in it, assume the flag caused a linker warning
                   9562:         if test -s conftest.err && $GREP single_module conftest.err; then
                   9563:          cat conftest.err >&5
                   9564:        # Otherwise, if the output was created with a 0 exit code from
                   9565:        # the compiler, it worked.
                   9566:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1.1       misho    9567:          lt_cv_apple_cc_single_mod=yes
                   9568:        else
                   9569:          cat conftest.err >&5
                   9570:        fi
                   9571:        rm -rf libconftest.dylib*
                   9572:        rm -f conftest.*
                   9573:       fi
                   9574: fi
                   9575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   9576: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.1.4   misho    9577: 
1.1       misho    9578:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   9579: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   9580: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   9581:   $as_echo_n "(cached) " >&6
                   9582: else
                   9583:   lt_cv_ld_exported_symbols_list=no
                   9584:       save_LDFLAGS=$LDFLAGS
                   9585:       echo "_main" > conftest.sym
                   9586:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   9587:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9588: /* end confdefs.h.  */
                   9589: 
                   9590: int
                   9591: main ()
                   9592: {
                   9593: 
                   9594:   ;
                   9595:   return 0;
                   9596: }
                   9597: _ACEOF
                   9598: if ac_fn_c_try_link "$LINENO"; then :
                   9599:   lt_cv_ld_exported_symbols_list=yes
                   9600: else
                   9601:   lt_cv_ld_exported_symbols_list=no
                   9602: fi
                   9603: rm -f core conftest.err conftest.$ac_objext \
                   9604:     conftest$ac_exeext conftest.$ac_ext
                   9605:        LDFLAGS="$save_LDFLAGS"
                   9606: 
                   9607: fi
                   9608: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   9609: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1.1.4   misho    9610: 
1.1       misho    9611:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   9612: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   9613: if ${lt_cv_ld_force_load+:} false; then :
                   9614:   $as_echo_n "(cached) " >&6
                   9615: else
                   9616:   lt_cv_ld_force_load=no
                   9617:       cat > conftest.c << _LT_EOF
                   9618: int forced_loaded() { return 2;}
                   9619: _LT_EOF
                   9620:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   9621:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   9622:       echo "$AR cru libconftest.a conftest.o" >&5
                   9623:       $AR cru libconftest.a conftest.o 2>&5
                   9624:       echo "$RANLIB libconftest.a" >&5
                   9625:       $RANLIB libconftest.a 2>&5
                   9626:       cat > conftest.c << _LT_EOF
                   9627: int main() { return 0;}
                   9628: _LT_EOF
                   9629:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   9630:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   9631:       _lt_result=$?
1.1.1.4   misho    9632:       if test -s conftest.err && $GREP force_load conftest.err; then
                   9633:        cat conftest.err >&5
                   9634:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1.1       misho    9635:        lt_cv_ld_force_load=yes
                   9636:       else
                   9637:        cat conftest.err >&5
                   9638:       fi
                   9639:         rm -f conftest.err libconftest.a conftest conftest.c
                   9640:         rm -rf conftest.dSYM
                   9641: 
                   9642: fi
                   9643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   9644: $as_echo "$lt_cv_ld_force_load" >&6; }
                   9645:     case $host_os in
                   9646:     rhapsody* | darwin1.[012])
                   9647:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   9648:     darwin1.*)
                   9649:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   9650:     darwin*) # darwin 5.x on
                   9651:       # if running on 10.5 or later, the deployment target defaults
                   9652:       # to the OS version, if on x86, and 10.4, the deployment
                   9653:       # target defaults to 10.4. Don't you love it?
                   9654:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   9655:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   9656:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   9657:        10.[012]*)
                   9658:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   9659:        10.*)
                   9660:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   9661:       esac
                   9662:     ;;
                   9663:   esac
                   9664:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   9665:       _lt_dar_single_mod='$single_module'
                   9666:     fi
                   9667:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   9668:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   9669:     else
                   9670:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   9671:     fi
                   9672:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   9673:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   9674:     else
                   9675:       _lt_dsymutil=
                   9676:     fi
                   9677:     ;;
                   9678:   esac
                   9679: 
                   9680: for ac_header in dlfcn.h
                   9681: do :
                   9682:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   9683: "
                   9684: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   9685:   cat >>confdefs.h <<_ACEOF
                   9686: #define HAVE_DLFCN_H 1
                   9687: _ACEOF
                   9688: 
                   9689: fi
                   9690: 
                   9691: done
                   9692: 
                   9693: 
                   9694: 
                   9695: func_stripname_cnf ()
                   9696: {
                   9697:   case ${2} in
                   9698:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   9699:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   9700:   esac
                   9701: } # func_stripname_cnf
                   9702: 
                   9703: 
                   9704: 
                   9705: 
                   9706: 
                   9707: # Set options
                   9708: 
                   9709: 
                   9710: 
                   9711:         enable_dlopen=no
                   9712: 
                   9713: 
                   9714: 
                   9715:             # Check whether --enable-shared was given.
                   9716: if test "${enable_shared+set}" = set; then :
                   9717:   enableval=$enable_shared; p=${PACKAGE-default}
                   9718:     case $enableval in
                   9719:     yes) enable_shared=yes ;;
                   9720:     no) enable_shared=no ;;
                   9721:     *)
                   9722:       enable_shared=no
                   9723:       # Look at the argument we got.  We use all the common list separators.
                   9724:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9725:       for pkg in $enableval; do
                   9726:        IFS="$lt_save_ifs"
                   9727:        if test "X$pkg" = "X$p"; then
                   9728:          enable_shared=yes
                   9729:        fi
                   9730:       done
                   9731:       IFS="$lt_save_ifs"
                   9732:       ;;
                   9733:     esac
                   9734: else
                   9735:   enable_shared=yes
                   9736: fi
                   9737: 
                   9738: 
                   9739: 
                   9740: 
                   9741: 
                   9742: 
                   9743: 
                   9744: 
                   9745: 
                   9746:   # Check whether --enable-static was given.
                   9747: if test "${enable_static+set}" = set; then :
                   9748:   enableval=$enable_static; p=${PACKAGE-default}
                   9749:     case $enableval in
                   9750:     yes) enable_static=yes ;;
                   9751:     no) enable_static=no ;;
                   9752:     *)
                   9753:      enable_static=no
                   9754:       # Look at the argument we got.  We use all the common list separators.
                   9755:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9756:       for pkg in $enableval; do
                   9757:        IFS="$lt_save_ifs"
                   9758:        if test "X$pkg" = "X$p"; then
                   9759:          enable_static=yes
                   9760:        fi
                   9761:       done
                   9762:       IFS="$lt_save_ifs"
                   9763:       ;;
                   9764:     esac
                   9765: else
                   9766:   enable_static=yes
                   9767: fi
                   9768: 
                   9769: 
                   9770: 
                   9771: 
                   9772: 
                   9773: 
                   9774: 
                   9775: 
                   9776: 
                   9777: 
                   9778: # Check whether --with-pic was given.
                   9779: if test "${with_pic+set}" = set; then :
1.1.1.4   misho    9780:   withval=$with_pic; lt_p=${PACKAGE-default}
                   9781:     case $withval in
                   9782:     yes|no) pic_mode=$withval ;;
                   9783:     *)
                   9784:       pic_mode=default
                   9785:       # Look at the argument we got.  We use all the common list separators.
                   9786:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9787:       for lt_pkg in $withval; do
                   9788:        IFS="$lt_save_ifs"
                   9789:        if test "X$lt_pkg" = "X$lt_p"; then
                   9790:          pic_mode=yes
                   9791:        fi
                   9792:       done
                   9793:       IFS="$lt_save_ifs"
                   9794:       ;;
                   9795:     esac
1.1       misho    9796: else
                   9797:   pic_mode=default
                   9798: fi
                   9799: 
                   9800: 
                   9801: test -z "$pic_mode" && pic_mode=default
                   9802: 
                   9803: 
                   9804: 
                   9805: 
                   9806: 
                   9807: 
                   9808: 
                   9809:   # Check whether --enable-fast-install was given.
                   9810: if test "${enable_fast_install+set}" = set; then :
                   9811:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   9812:     case $enableval in
                   9813:     yes) enable_fast_install=yes ;;
                   9814:     no) enable_fast_install=no ;;
                   9815:     *)
                   9816:       enable_fast_install=no
                   9817:       # Look at the argument we got.  We use all the common list separators.
                   9818:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9819:       for pkg in $enableval; do
                   9820:        IFS="$lt_save_ifs"
                   9821:        if test "X$pkg" = "X$p"; then
                   9822:          enable_fast_install=yes
                   9823:        fi
                   9824:       done
                   9825:       IFS="$lt_save_ifs"
                   9826:       ;;
                   9827:     esac
                   9828: else
                   9829:   enable_fast_install=yes
                   9830: fi
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
                   9839: 
                   9840: 
                   9841: 
                   9842: # This can be used to rebuild libtool when needed
                   9843: LIBTOOL_DEPS="$ltmain"
                   9844: 
                   9845: # Always use our own libtool.
                   9846: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
                   9852: 
                   9853: 
                   9854: 
                   9855: 
                   9856: 
                   9857: 
                   9858: 
                   9859: 
                   9860: 
                   9861: 
                   9862: 
                   9863: 
                   9864: 
                   9865: 
                   9866: 
                   9867: 
                   9868: 
                   9869: 
                   9870: 
                   9871: 
                   9872: 
1.1.1.4   misho    9873: 
                   9874: 
                   9875: 
                   9876: 
1.1       misho    9877: test -z "$LN_S" && LN_S="ln -s"
                   9878: 
                   9879: 
                   9880: 
                   9881: 
                   9882: 
                   9883: 
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
                   9891: 
                   9892: if test -n "${ZSH_VERSION+set}" ; then
                   9893:    setopt NO_GLOB_SUBST
                   9894: fi
                   9895: 
                   9896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9897: $as_echo_n "checking for objdir... " >&6; }
                   9898: if ${lt_cv_objdir+:} false; then :
                   9899:   $as_echo_n "(cached) " >&6
                   9900: else
                   9901:   rm -f .libs 2>/dev/null
                   9902: mkdir .libs 2>/dev/null
                   9903: if test -d .libs; then
                   9904:   lt_cv_objdir=.libs
                   9905: else
                   9906:   # MS-DOS does not allow filenames that begin with a dot.
                   9907:   lt_cv_objdir=_libs
                   9908: fi
                   9909: rmdir .libs 2>/dev/null
                   9910: fi
                   9911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9912: $as_echo "$lt_cv_objdir" >&6; }
                   9913: objdir=$lt_cv_objdir
                   9914: 
                   9915: 
                   9916: 
                   9917: 
                   9918: 
                   9919: cat >>confdefs.h <<_ACEOF
                   9920: #define LT_OBJDIR "$lt_cv_objdir/"
                   9921: _ACEOF
                   9922: 
                   9923: 
                   9924: 
                   9925: 
                   9926: case $host_os in
                   9927: aix3*)
                   9928:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9929:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9930:   # vanish in a puff of smoke.
                   9931:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9932:     COLLECT_NAMES=
                   9933:     export COLLECT_NAMES
                   9934:   fi
                   9935:   ;;
                   9936: esac
                   9937: 
                   9938: # Global variables:
                   9939: ofile=libtool
                   9940: can_build_shared=yes
                   9941: 
                   9942: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9943: # which needs '.lib').
                   9944: libext=a
                   9945: 
                   9946: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9947: 
                   9948: old_CC="$CC"
                   9949: old_CFLAGS="$CFLAGS"
                   9950: 
                   9951: # Set sane defaults for various variables
                   9952: test -z "$CC" && CC=cc
                   9953: test -z "$LTCC" && LTCC=$CC
                   9954: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9955: test -z "$LD" && LD=ld
                   9956: test -z "$ac_objext" && ac_objext=o
                   9957: 
                   9958: for cc_temp in $compiler""; do
                   9959:   case $cc_temp in
                   9960:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9961:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9962:     \-*) ;;
                   9963:     *) break;;
                   9964:   esac
                   9965: done
                   9966: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9967: 
                   9968: 
                   9969: # Only perform the check for file, if the check method requires it
                   9970: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9971: case $deplibs_check_method in
                   9972: file_magic*)
                   9973:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   9974:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9975: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9976: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9977:   $as_echo_n "(cached) " >&6
                   9978: else
                   9979:   case $MAGIC_CMD in
                   9980: [\\/*] |  ?:[\\/]*)
                   9981:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9982:   ;;
                   9983: *)
                   9984:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9985:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9986:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9987:   for ac_dir in $ac_dummy; do
                   9988:     IFS="$lt_save_ifs"
                   9989:     test -z "$ac_dir" && ac_dir=.
                   9990:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9991:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9992:       if test -n "$file_magic_test_file"; then
                   9993:        case $deplibs_check_method in
                   9994:        "file_magic "*)
                   9995:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9996:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9997:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9998:            $EGREP "$file_magic_regex" > /dev/null; then
                   9999:            :
                   10000:          else
                   10001:            cat <<_LT_EOF 1>&2
                   10002: 
                   10003: *** Warning: the command libtool uses to detect shared libraries,
                   10004: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   10005: *** The result is that libtool may fail to recognize shared libraries
                   10006: *** as such.  This will affect the creation of libtool libraries that
                   10007: *** depend on shared libraries, but programs linked with such libtool
                   10008: *** libraries will work regardless of this problem.  Nevertheless, you
                   10009: *** may want to report the problem to your system manager and/or to
                   10010: *** bug-libtool@gnu.org
                   10011: 
                   10012: _LT_EOF
                   10013:          fi ;;
                   10014:        esac
                   10015:       fi
                   10016:       break
                   10017:     fi
                   10018:   done
                   10019:   IFS="$lt_save_ifs"
                   10020:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   10021:   ;;
                   10022: esac
                   10023: fi
                   10024: 
                   10025: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   10026: if test -n "$MAGIC_CMD"; then
                   10027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   10028: $as_echo "$MAGIC_CMD" >&6; }
                   10029: else
                   10030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10031: $as_echo "no" >&6; }
                   10032: fi
                   10033: 
                   10034: 
                   10035: 
                   10036: 
                   10037: 
                   10038: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   10039:   if test -n "$ac_tool_prefix"; then
                   10040:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   10041: $as_echo_n "checking for file... " >&6; }
                   10042: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   10043:   $as_echo_n "(cached) " >&6
                   10044: else
                   10045:   case $MAGIC_CMD in
                   10046: [\\/*] |  ?:[\\/]*)
                   10047:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   10048:   ;;
                   10049: *)
                   10050:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   10051:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   10052:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   10053:   for ac_dir in $ac_dummy; do
                   10054:     IFS="$lt_save_ifs"
                   10055:     test -z "$ac_dir" && ac_dir=.
                   10056:     if test -f $ac_dir/file; then
                   10057:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   10058:       if test -n "$file_magic_test_file"; then
                   10059:        case $deplibs_check_method in
                   10060:        "file_magic "*)
                   10061:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   10062:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   10063:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   10064:            $EGREP "$file_magic_regex" > /dev/null; then
                   10065:            :
                   10066:          else
                   10067:            cat <<_LT_EOF 1>&2
                   10068: 
                   10069: *** Warning: the command libtool uses to detect shared libraries,
                   10070: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   10071: *** The result is that libtool may fail to recognize shared libraries
                   10072: *** as such.  This will affect the creation of libtool libraries that
                   10073: *** depend on shared libraries, but programs linked with such libtool
                   10074: *** libraries will work regardless of this problem.  Nevertheless, you
                   10075: *** may want to report the problem to your system manager and/or to
                   10076: *** bug-libtool@gnu.org
                   10077: 
                   10078: _LT_EOF
                   10079:          fi ;;
                   10080:        esac
                   10081:       fi
                   10082:       break
                   10083:     fi
                   10084:   done
                   10085:   IFS="$lt_save_ifs"
                   10086:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   10087:   ;;
                   10088: esac
                   10089: fi
                   10090: 
                   10091: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   10092: if test -n "$MAGIC_CMD"; then
                   10093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   10094: $as_echo "$MAGIC_CMD" >&6; }
                   10095: else
                   10096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10097: $as_echo "no" >&6; }
                   10098: fi
                   10099: 
                   10100: 
                   10101:   else
                   10102:     MAGIC_CMD=:
                   10103:   fi
                   10104: fi
                   10105: 
                   10106:   fi
                   10107:   ;;
                   10108: esac
                   10109: 
                   10110: # Use C for the default configuration in the libtool script
                   10111: 
                   10112: lt_save_CC="$CC"
                   10113: ac_ext=c
                   10114: ac_cpp='$CPP $CPPFLAGS'
                   10115: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10116: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10117: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   10118: 
                   10119: 
                   10120: # Source file extension for C test sources.
                   10121: ac_ext=c
                   10122: 
                   10123: # Object file extension for compiled C test sources.
                   10124: objext=o
                   10125: objext=$objext
                   10126: 
                   10127: # Code to be used in simple compile tests
                   10128: lt_simple_compile_test_code="int some_variable = 0;"
                   10129: 
                   10130: # Code to be used in simple link tests
                   10131: lt_simple_link_test_code='int main(){return(0);}'
                   10132: 
                   10133: 
                   10134: 
                   10135: 
                   10136: 
                   10137: 
                   10138: 
                   10139: # If no C compiler was specified, use CC.
                   10140: LTCC=${LTCC-"$CC"}
                   10141: 
                   10142: # If no C compiler flags were specified, use CFLAGS.
                   10143: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   10144: 
                   10145: # Allow CC to be a program name with arguments.
                   10146: compiler=$CC
                   10147: 
                   10148: # Save the default compiler, since it gets overwritten when the other
                   10149: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   10150: compiler_DEFAULT=$CC
                   10151: 
                   10152: # save warnings/boilerplate of simple test code
                   10153: ac_outfile=conftest.$ac_objext
                   10154: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   10155: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   10156: _lt_compiler_boilerplate=`cat conftest.err`
                   10157: $RM conftest*
                   10158: 
                   10159: ac_outfile=conftest.$ac_objext
                   10160: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   10161: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   10162: _lt_linker_boilerplate=`cat conftest.err`
                   10163: $RM -r conftest*
                   10164: 
                   10165: 
1.1.1.4   misho    10166: ## CAVEAT EMPTOR:
                   10167: ## There is no encapsulation within the following macros, do not change
                   10168: ## the running order or otherwise move them around unless you know exactly
                   10169: ## what you are doing...
1.1       misho    10170: if test -n "$compiler"; then
                   10171: 
                   10172: lt_prog_compiler_no_builtin_flag=
                   10173: 
                   10174: if test "$GCC" = yes; then
                   10175:   case $cc_basename in
                   10176:   nvcc*)
                   10177:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   10178:   *)
                   10179:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   10180:   esac
                   10181: 
                   10182:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   10183: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   10184: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   10185:   $as_echo_n "(cached) " >&6
                   10186: else
                   10187:   lt_cv_prog_compiler_rtti_exceptions=no
                   10188:    ac_outfile=conftest.$ac_objext
                   10189:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10190:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   10191:    # Insert the option either (1) after the last *FLAGS variable, or
                   10192:    # (2) before a word containing "conftest.", or (3) at the end.
                   10193:    # Note that $ac_compile itself does not contain backslashes and begins
                   10194:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10195:    # The option is referenced via a variable to avoid confusing sed.
                   10196:    lt_compile=`echo "$ac_compile" | $SED \
                   10197:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10198:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10199:    -e 's:$: $lt_compiler_flag:'`
                   10200:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10201:    (eval "$lt_compile" 2>conftest.err)
                   10202:    ac_status=$?
                   10203:    cat conftest.err >&5
                   10204:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10205:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10206:      # The compiler can only warn and ignore the option if not recognized
                   10207:      # So say no if there are warnings other than the usual output.
                   10208:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10209:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10210:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10211:        lt_cv_prog_compiler_rtti_exceptions=yes
                   10212:      fi
                   10213:    fi
                   10214:    $RM conftest*
                   10215: 
                   10216: fi
                   10217: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   10218: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   10219: 
                   10220: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   10221:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   10222: else
                   10223:     :
                   10224: fi
                   10225: 
                   10226: fi
                   10227: 
                   10228: 
                   10229: 
                   10230: 
                   10231: 
                   10232: 
                   10233:   lt_prog_compiler_wl=
                   10234: lt_prog_compiler_pic=
                   10235: lt_prog_compiler_static=
                   10236: 
                   10237: 
                   10238:   if test "$GCC" = yes; then
                   10239:     lt_prog_compiler_wl='-Wl,'
                   10240:     lt_prog_compiler_static='-static'
                   10241: 
                   10242:     case $host_os in
                   10243:       aix*)
                   10244:       # All AIX code is PIC.
                   10245:       if test "$host_cpu" = ia64; then
                   10246:        # AIX 5 now supports IA64 processor
                   10247:        lt_prog_compiler_static='-Bstatic'
                   10248:       fi
                   10249:       ;;
                   10250: 
                   10251:     amigaos*)
                   10252:       case $host_cpu in
                   10253:       powerpc)
                   10254:             # see comment about AmigaOS4 .so support
                   10255:             lt_prog_compiler_pic='-fPIC'
                   10256:         ;;
                   10257:       m68k)
                   10258:             # FIXME: we need at least 68020 code to build shared libraries, but
                   10259:             # adding the `-m68020' flag to GCC prevents building anything better,
                   10260:             # like `-m68040'.
                   10261:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   10262:         ;;
                   10263:       esac
                   10264:       ;;
                   10265: 
                   10266:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   10267:       # PIC is the default for these OSes.
                   10268:       ;;
                   10269: 
                   10270:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   10271:       # This hack is so that the source file can tell whether it is being
                   10272:       # built for inclusion in a dll (and should export symbols for example).
                   10273:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   10274:       # (--disable-auto-import) libraries
                   10275:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   10276:       ;;
                   10277: 
                   10278:     darwin* | rhapsody*)
                   10279:       # PIC is the default on this platform
                   10280:       # Common symbols not allowed in MH_DYLIB files
                   10281:       lt_prog_compiler_pic='-fno-common'
                   10282:       ;;
                   10283: 
                   10284:     haiku*)
                   10285:       # PIC is the default for Haiku.
                   10286:       # The "-static" flag exists, but is broken.
                   10287:       lt_prog_compiler_static=
                   10288:       ;;
                   10289: 
                   10290:     hpux*)
                   10291:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   10292:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   10293:       # sets the default TLS model and affects inlining.
                   10294:       case $host_cpu in
                   10295:       hppa*64*)
                   10296:        # +Z the default
                   10297:        ;;
                   10298:       *)
                   10299:        lt_prog_compiler_pic='-fPIC'
                   10300:        ;;
                   10301:       esac
                   10302:       ;;
                   10303: 
                   10304:     interix[3-9]*)
                   10305:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   10306:       # Instead, we relocate shared libraries at runtime.
                   10307:       ;;
                   10308: 
                   10309:     msdosdjgpp*)
                   10310:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   10311:       # on systems that don't support them.
                   10312:       lt_prog_compiler_can_build_shared=no
                   10313:       enable_shared=no
                   10314:       ;;
                   10315: 
                   10316:     *nto* | *qnx*)
                   10317:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   10318:       # it will coredump.
                   10319:       lt_prog_compiler_pic='-fPIC -shared'
                   10320:       ;;
                   10321: 
                   10322:     sysv4*MP*)
                   10323:       if test -d /usr/nec; then
                   10324:        lt_prog_compiler_pic=-Kconform_pic
                   10325:       fi
                   10326:       ;;
                   10327: 
                   10328:     *)
                   10329:       lt_prog_compiler_pic='-fPIC'
                   10330:       ;;
                   10331:     esac
                   10332: 
                   10333:     case $cc_basename in
                   10334:     nvcc*) # Cuda Compiler Driver 2.2
                   10335:       lt_prog_compiler_wl='-Xlinker '
1.1.1.4   misho    10336:       if test -n "$lt_prog_compiler_pic"; then
                   10337:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   10338:       fi
1.1       misho    10339:       ;;
                   10340:     esac
                   10341:   else
                   10342:     # PORTME Check for flag to pass linker flags through the system compiler.
                   10343:     case $host_os in
                   10344:     aix*)
                   10345:       lt_prog_compiler_wl='-Wl,'
                   10346:       if test "$host_cpu" = ia64; then
                   10347:        # AIX 5 now supports IA64 processor
                   10348:        lt_prog_compiler_static='-Bstatic'
                   10349:       else
                   10350:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   10351:       fi
                   10352:       ;;
                   10353: 
                   10354:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   10355:       # This hack is so that the source file can tell whether it is being
                   10356:       # built for inclusion in a dll (and should export symbols for example).
                   10357:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   10358:       ;;
                   10359: 
                   10360:     hpux9* | hpux10* | hpux11*)
                   10361:       lt_prog_compiler_wl='-Wl,'
                   10362:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   10363:       # not for PA HP-UX.
                   10364:       case $host_cpu in
                   10365:       hppa*64*|ia64*)
                   10366:        # +Z the default
                   10367:        ;;
                   10368:       *)
                   10369:        lt_prog_compiler_pic='+Z'
                   10370:        ;;
                   10371:       esac
                   10372:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   10373:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   10374:       ;;
                   10375: 
                   10376:     irix5* | irix6* | nonstopux*)
                   10377:       lt_prog_compiler_wl='-Wl,'
                   10378:       # PIC (with -KPIC) is the default.
                   10379:       lt_prog_compiler_static='-non_shared'
                   10380:       ;;
                   10381: 
                   10382:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10383:       case $cc_basename in
                   10384:       # old Intel for x86_64 which still supported -KPIC.
                   10385:       ecc*)
                   10386:        lt_prog_compiler_wl='-Wl,'
                   10387:        lt_prog_compiler_pic='-KPIC'
                   10388:        lt_prog_compiler_static='-static'
                   10389:         ;;
                   10390:       # icc used to be incompatible with GCC.
                   10391:       # ICC 10 doesn't accept -KPIC any more.
                   10392:       icc* | ifort*)
                   10393:        lt_prog_compiler_wl='-Wl,'
                   10394:        lt_prog_compiler_pic='-fPIC'
                   10395:        lt_prog_compiler_static='-static'
                   10396:         ;;
                   10397:       # Lahey Fortran 8.1.
                   10398:       lf95*)
                   10399:        lt_prog_compiler_wl='-Wl,'
                   10400:        lt_prog_compiler_pic='--shared'
                   10401:        lt_prog_compiler_static='--static'
                   10402:        ;;
                   10403:       nagfor*)
                   10404:        # NAG Fortran compiler
                   10405:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   10406:        lt_prog_compiler_pic='-PIC'
                   10407:        lt_prog_compiler_static='-Bstatic'
                   10408:        ;;
                   10409:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   10410:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   10411:        # which looks to be a dead project)
                   10412:        lt_prog_compiler_wl='-Wl,'
                   10413:        lt_prog_compiler_pic='-fpic'
                   10414:        lt_prog_compiler_static='-Bstatic'
                   10415:         ;;
                   10416:       ccc*)
                   10417:         lt_prog_compiler_wl='-Wl,'
                   10418:         # All Alpha code is PIC.
                   10419:         lt_prog_compiler_static='-non_shared'
                   10420:         ;;
                   10421:       xl* | bgxl* | bgf* | mpixl*)
                   10422:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   10423:        lt_prog_compiler_wl='-Wl,'
                   10424:        lt_prog_compiler_pic='-qpic'
                   10425:        lt_prog_compiler_static='-qstaticlink'
                   10426:        ;;
                   10427:       *)
                   10428:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.4   misho    10429:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
1.1       misho    10430:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   10431:          lt_prog_compiler_pic='-KPIC'
                   10432:          lt_prog_compiler_static='-Bstatic'
                   10433:          lt_prog_compiler_wl=''
                   10434:          ;;
1.1.1.4   misho    10435:        *Sun\ F* | *Sun*Fortran*)
                   10436:          lt_prog_compiler_pic='-KPIC'
                   10437:          lt_prog_compiler_static='-Bstatic'
                   10438:          lt_prog_compiler_wl='-Qoption ld '
                   10439:          ;;
1.1       misho    10440:        *Sun\ C*)
                   10441:          # Sun C 5.9
                   10442:          lt_prog_compiler_pic='-KPIC'
                   10443:          lt_prog_compiler_static='-Bstatic'
                   10444:          lt_prog_compiler_wl='-Wl,'
                   10445:          ;;
1.1.1.4   misho    10446:         *Intel*\ [CF]*Compiler*)
                   10447:          lt_prog_compiler_wl='-Wl,'
                   10448:          lt_prog_compiler_pic='-fPIC'
                   10449:          lt_prog_compiler_static='-static'
                   10450:          ;;
                   10451:        *Portland\ Group*)
                   10452:          lt_prog_compiler_wl='-Wl,'
                   10453:          lt_prog_compiler_pic='-fpic'
                   10454:          lt_prog_compiler_static='-Bstatic'
                   10455:          ;;
1.1       misho    10456:        esac
                   10457:        ;;
                   10458:       esac
                   10459:       ;;
                   10460: 
                   10461:     newsos6)
                   10462:       lt_prog_compiler_pic='-KPIC'
                   10463:       lt_prog_compiler_static='-Bstatic'
                   10464:       ;;
                   10465: 
                   10466:     *nto* | *qnx*)
                   10467:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   10468:       # it will coredump.
                   10469:       lt_prog_compiler_pic='-fPIC -shared'
                   10470:       ;;
                   10471: 
                   10472:     osf3* | osf4* | osf5*)
                   10473:       lt_prog_compiler_wl='-Wl,'
                   10474:       # All OSF/1 code is PIC.
                   10475:       lt_prog_compiler_static='-non_shared'
                   10476:       ;;
                   10477: 
                   10478:     rdos*)
                   10479:       lt_prog_compiler_static='-non_shared'
                   10480:       ;;
                   10481: 
                   10482:     solaris*)
                   10483:       lt_prog_compiler_pic='-KPIC'
                   10484:       lt_prog_compiler_static='-Bstatic'
                   10485:       case $cc_basename in
                   10486:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   10487:        lt_prog_compiler_wl='-Qoption ld ';;
                   10488:       *)
                   10489:        lt_prog_compiler_wl='-Wl,';;
                   10490:       esac
                   10491:       ;;
                   10492: 
                   10493:     sunos4*)
                   10494:       lt_prog_compiler_wl='-Qoption ld '
                   10495:       lt_prog_compiler_pic='-PIC'
                   10496:       lt_prog_compiler_static='-Bstatic'
                   10497:       ;;
                   10498: 
                   10499:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   10500:       lt_prog_compiler_wl='-Wl,'
                   10501:       lt_prog_compiler_pic='-KPIC'
                   10502:       lt_prog_compiler_static='-Bstatic'
                   10503:       ;;
                   10504: 
                   10505:     sysv4*MP*)
                   10506:       if test -d /usr/nec ;then
                   10507:        lt_prog_compiler_pic='-Kconform_pic'
                   10508:        lt_prog_compiler_static='-Bstatic'
                   10509:       fi
                   10510:       ;;
                   10511: 
                   10512:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   10513:       lt_prog_compiler_wl='-Wl,'
                   10514:       lt_prog_compiler_pic='-KPIC'
                   10515:       lt_prog_compiler_static='-Bstatic'
                   10516:       ;;
                   10517: 
                   10518:     unicos*)
                   10519:       lt_prog_compiler_wl='-Wl,'
                   10520:       lt_prog_compiler_can_build_shared=no
                   10521:       ;;
                   10522: 
                   10523:     uts4*)
                   10524:       lt_prog_compiler_pic='-pic'
                   10525:       lt_prog_compiler_static='-Bstatic'
                   10526:       ;;
                   10527: 
                   10528:     *)
                   10529:       lt_prog_compiler_can_build_shared=no
                   10530:       ;;
                   10531:     esac
                   10532:   fi
                   10533: 
                   10534: case $host_os in
                   10535:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10536:   *djgpp*)
                   10537:     lt_prog_compiler_pic=
                   10538:     ;;
                   10539:   *)
                   10540:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10541:     ;;
                   10542: esac
                   10543: 
                   10544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10545: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10546: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10547:   $as_echo_n "(cached) " >&6
                   10548: else
                   10549:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10550: fi
                   10551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10552: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   10553: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10554: 
                   10555: #
                   10556: # Check to make sure the PIC flag actually works.
                   10557: #
                   10558: if test -n "$lt_prog_compiler_pic"; then
                   10559:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10560: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10561: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10562:   $as_echo_n "(cached) " >&6
                   10563: else
                   10564:   lt_cv_prog_compiler_pic_works=no
                   10565:    ac_outfile=conftest.$ac_objext
                   10566:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10567:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10568:    # Insert the option either (1) after the last *FLAGS variable, or
                   10569:    # (2) before a word containing "conftest.", or (3) at the end.
                   10570:    # Note that $ac_compile itself does not contain backslashes and begins
                   10571:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10572:    # The option is referenced via a variable to avoid confusing sed.
                   10573:    lt_compile=`echo "$ac_compile" | $SED \
                   10574:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10575:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10576:    -e 's:$: $lt_compiler_flag:'`
                   10577:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10578:    (eval "$lt_compile" 2>conftest.err)
                   10579:    ac_status=$?
                   10580:    cat conftest.err >&5
                   10581:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10582:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10583:      # The compiler can only warn and ignore the option if not recognized
                   10584:      # So say no if there are warnings other than the usual output.
                   10585:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10586:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10587:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10588:        lt_cv_prog_compiler_pic_works=yes
                   10589:      fi
                   10590:    fi
                   10591:    $RM conftest*
                   10592: 
                   10593: fi
                   10594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10595: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   10596: 
                   10597: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10598:     case $lt_prog_compiler_pic in
                   10599:      "" | " "*) ;;
                   10600:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10601:      esac
                   10602: else
                   10603:     lt_prog_compiler_pic=
                   10604:      lt_prog_compiler_can_build_shared=no
                   10605: fi
                   10606: 
                   10607: fi
                   10608: 
                   10609: 
                   10610: 
                   10611: 
                   10612: 
                   10613: 
                   10614: 
                   10615: 
                   10616: 
                   10617: 
                   10618: 
                   10619: #
                   10620: # Check to make sure the static flag actually works.
                   10621: #
                   10622: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   10623: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10624: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10625: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10626:   $as_echo_n "(cached) " >&6
                   10627: else
                   10628:   lt_cv_prog_compiler_static_works=no
                   10629:    save_LDFLAGS="$LDFLAGS"
                   10630:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10631:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10632:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10633:      # The linker can only warn and ignore the option if not recognized
                   10634:      # So say no if there are warnings
                   10635:      if test -s conftest.err; then
                   10636:        # Append any errors to the config.log.
                   10637:        cat conftest.err 1>&5
                   10638:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10639:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10640:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10641:          lt_cv_prog_compiler_static_works=yes
                   10642:        fi
                   10643:      else
                   10644:        lt_cv_prog_compiler_static_works=yes
                   10645:      fi
                   10646:    fi
                   10647:    $RM -r conftest*
                   10648:    LDFLAGS="$save_LDFLAGS"
                   10649: 
                   10650: fi
                   10651: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10652: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   10653: 
                   10654: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10655:     :
                   10656: else
                   10657:     lt_prog_compiler_static=
                   10658: fi
                   10659: 
                   10660: 
                   10661: 
                   10662: 
                   10663: 
                   10664: 
                   10665: 
                   10666:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10667: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10668: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10669:   $as_echo_n "(cached) " >&6
                   10670: else
                   10671:   lt_cv_prog_compiler_c_o=no
                   10672:    $RM -r conftest 2>/dev/null
                   10673:    mkdir conftest
                   10674:    cd conftest
                   10675:    mkdir out
                   10676:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10677: 
                   10678:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10679:    # Insert the option either (1) after the last *FLAGS variable, or
                   10680:    # (2) before a word containing "conftest.", or (3) at the end.
                   10681:    # Note that $ac_compile itself does not contain backslashes and begins
                   10682:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10683:    lt_compile=`echo "$ac_compile" | $SED \
                   10684:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10685:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10686:    -e 's:$: $lt_compiler_flag:'`
                   10687:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10688:    (eval "$lt_compile" 2>out/conftest.err)
                   10689:    ac_status=$?
                   10690:    cat out/conftest.err >&5
                   10691:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10692:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10693:    then
                   10694:      # The compiler can only warn and ignore the option if not recognized
                   10695:      # So say no if there are warnings
                   10696:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10697:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10698:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10699:        lt_cv_prog_compiler_c_o=yes
                   10700:      fi
                   10701:    fi
                   10702:    chmod u+w . 2>&5
                   10703:    $RM conftest*
                   10704:    # SGI C++ compiler will create directory out/ii_files/ for
                   10705:    # template instantiation
                   10706:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10707:    $RM out/* && rmdir out
                   10708:    cd ..
                   10709:    $RM -r conftest
                   10710:    $RM conftest*
                   10711: 
                   10712: fi
                   10713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10714: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   10715: 
                   10716: 
                   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10722: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10723: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10724:   $as_echo_n "(cached) " >&6
                   10725: else
                   10726:   lt_cv_prog_compiler_c_o=no
                   10727:    $RM -r conftest 2>/dev/null
                   10728:    mkdir conftest
                   10729:    cd conftest
                   10730:    mkdir out
                   10731:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10732: 
                   10733:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10734:    # Insert the option either (1) after the last *FLAGS variable, or
                   10735:    # (2) before a word containing "conftest.", or (3) at the end.
                   10736:    # Note that $ac_compile itself does not contain backslashes and begins
                   10737:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10738:    lt_compile=`echo "$ac_compile" | $SED \
                   10739:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10740:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10741:    -e 's:$: $lt_compiler_flag:'`
                   10742:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10743:    (eval "$lt_compile" 2>out/conftest.err)
                   10744:    ac_status=$?
                   10745:    cat out/conftest.err >&5
                   10746:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10747:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10748:    then
                   10749:      # The compiler can only warn and ignore the option if not recognized
                   10750:      # So say no if there are warnings
                   10751:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10752:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10753:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10754:        lt_cv_prog_compiler_c_o=yes
                   10755:      fi
                   10756:    fi
                   10757:    chmod u+w . 2>&5
                   10758:    $RM conftest*
                   10759:    # SGI C++ compiler will create directory out/ii_files/ for
                   10760:    # template instantiation
                   10761:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10762:    $RM out/* && rmdir out
                   10763:    cd ..
                   10764:    $RM -r conftest
                   10765:    $RM conftest*
                   10766: 
                   10767: fi
                   10768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10769: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   10770: 
                   10771: 
                   10772: 
                   10773: 
                   10774: hard_links="nottested"
                   10775: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10776:   # do not overwrite the value of need_locks provided by the user
                   10777:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10778: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   10779:   hard_links=yes
                   10780:   $RM conftest*
                   10781:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10782:   touch conftest.a
                   10783:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10784:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10786: $as_echo "$hard_links" >&6; }
                   10787:   if test "$hard_links" = no; then
                   10788:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10789: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   10790:     need_locks=warn
                   10791:   fi
                   10792: else
                   10793:   need_locks=no
                   10794: fi
                   10795: 
                   10796: 
                   10797: 
                   10798: 
                   10799: 
                   10800: 
                   10801:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10802: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   10803: 
                   10804:   runpath_var=
                   10805:   allow_undefined_flag=
                   10806:   always_export_symbols=no
                   10807:   archive_cmds=
                   10808:   archive_expsym_cmds=
                   10809:   compiler_needs_object=no
                   10810:   enable_shared_with_static_runtimes=no
                   10811:   export_dynamic_flag_spec=
                   10812:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10813:   hardcode_automatic=no
                   10814:   hardcode_direct=no
                   10815:   hardcode_direct_absolute=no
                   10816:   hardcode_libdir_flag_spec=
                   10817:   hardcode_libdir_separator=
                   10818:   hardcode_minus_L=no
                   10819:   hardcode_shlibpath_var=unsupported
                   10820:   inherit_rpath=no
                   10821:   link_all_deplibs=unknown
                   10822:   module_cmds=
                   10823:   module_expsym_cmds=
                   10824:   old_archive_from_new_cmds=
                   10825:   old_archive_from_expsyms_cmds=
                   10826:   thread_safe_flag_spec=
                   10827:   whole_archive_flag_spec=
                   10828:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10829:   # included in the symbol list
                   10830:   include_expsyms=
                   10831:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10832:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10833:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10834:   # as well as any symbol that contains `d'.
                   10835:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10836:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10837:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10838:   # the symbol is explicitly referenced.  Since portable code cannot
                   10839:   # rely on this symbol name, it's probably fine to never include it in
                   10840:   # preloaded symbol tables.
                   10841:   # Exclude shared library initialization/finalization symbols.
                   10842:   extract_expsyms_cmds=
                   10843: 
                   10844:   case $host_os in
                   10845:   cygwin* | mingw* | pw32* | cegcc*)
                   10846:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10847:     # When not using gcc, we currently assume that we are using
                   10848:     # Microsoft Visual C++.
                   10849:     if test "$GCC" != yes; then
                   10850:       with_gnu_ld=no
                   10851:     fi
                   10852:     ;;
                   10853:   interix*)
                   10854:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10855:     with_gnu_ld=yes
                   10856:     ;;
                   10857:   openbsd*)
                   10858:     with_gnu_ld=no
                   10859:     ;;
                   10860:   esac
                   10861: 
                   10862:   ld_shlibs=yes
                   10863: 
                   10864:   # On some targets, GNU ld is compatible enough with the native linker
                   10865:   # that we're better off using the native interface for both.
                   10866:   lt_use_gnu_ld_interface=no
                   10867:   if test "$with_gnu_ld" = yes; then
                   10868:     case $host_os in
                   10869:       aix*)
                   10870:        # The AIX port of GNU ld has always aspired to compatibility
                   10871:        # with the native linker.  However, as the warning in the GNU ld
                   10872:        # block says, versions before 2.19.5* couldn't really create working
                   10873:        # shared libraries, regardless of the interface used.
                   10874:        case `$LD -v 2>&1` in
                   10875:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10876:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10877:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10878:          *)
                   10879:            lt_use_gnu_ld_interface=yes
                   10880:            ;;
                   10881:        esac
                   10882:        ;;
                   10883:       *)
                   10884:        lt_use_gnu_ld_interface=yes
                   10885:        ;;
                   10886:     esac
                   10887:   fi
                   10888: 
                   10889:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10890:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10891:     wlarc='${wl}'
                   10892: 
                   10893:     # Set some defaults for GNU ld with shared library support. These
                   10894:     # are reset later if shared libraries are not supported. Putting them
                   10895:     # here allows them to be overridden if necessary.
                   10896:     runpath_var=LD_RUN_PATH
                   10897:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10898:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10899:     # ancient GNU ld didn't support --whole-archive et. al.
                   10900:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10901:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10902:     else
                   10903:       whole_archive_flag_spec=
                   10904:     fi
                   10905:     supports_anon_versioning=no
                   10906:     case `$LD -v 2>&1` in
                   10907:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10908:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10909:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10910:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10911:       *\ 2.11.*) ;; # other 2.11 versions
                   10912:       *) supports_anon_versioning=yes ;;
                   10913:     esac
                   10914: 
                   10915:     # See if GNU ld supports shared libraries.
                   10916:     case $host_os in
                   10917:     aix[3-9]*)
                   10918:       # On AIX/PPC, the GNU linker is very broken
                   10919:       if test "$host_cpu" != ia64; then
                   10920:        ld_shlibs=no
                   10921:        cat <<_LT_EOF 1>&2
                   10922: 
                   10923: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10924: *** to be unable to reliably create shared libraries on AIX.
                   10925: *** Therefore, libtool is disabling shared libraries support.  If you
                   10926: *** really care for shared libraries, you may want to install binutils
                   10927: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10928: *** You will then need to restart the configuration process.
                   10929: 
                   10930: _LT_EOF
                   10931:       fi
                   10932:       ;;
                   10933: 
                   10934:     amigaos*)
                   10935:       case $host_cpu in
                   10936:       powerpc)
                   10937:             # see comment about AmigaOS4 .so support
                   10938:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10939:             archive_expsym_cmds=''
                   10940:         ;;
                   10941:       m68k)
                   10942:             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)'
                   10943:             hardcode_libdir_flag_spec='-L$libdir'
                   10944:             hardcode_minus_L=yes
                   10945:         ;;
                   10946:       esac
                   10947:       ;;
                   10948: 
                   10949:     beos*)
                   10950:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10951:        allow_undefined_flag=unsupported
                   10952:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10953:        # support --undefined.  This deserves some investigation.  FIXME
                   10954:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10955:       else
                   10956:        ld_shlibs=no
                   10957:       fi
                   10958:       ;;
                   10959: 
                   10960:     cygwin* | mingw* | pw32* | cegcc*)
                   10961:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10962:       # as there is no search path for DLLs.
                   10963:       hardcode_libdir_flag_spec='-L$libdir'
                   10964:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10965:       allow_undefined_flag=unsupported
                   10966:       always_export_symbols=no
                   10967:       enable_shared_with_static_runtimes=yes
                   10968:       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'
                   10969:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10970: 
                   10971:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10972:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10973:        # If the export-symbols file already is a .def file (1st line
                   10974:        # is EXPORTS), use it as is; otherwise, prepend...
                   10975:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10976:          cp $export_symbols $output_objdir/$soname.def;
                   10977:        else
                   10978:          echo EXPORTS > $output_objdir/$soname.def;
                   10979:          cat $export_symbols >> $output_objdir/$soname.def;
                   10980:        fi~
                   10981:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10982:       else
                   10983:        ld_shlibs=no
                   10984:       fi
                   10985:       ;;
                   10986: 
                   10987:     haiku*)
                   10988:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10989:       link_all_deplibs=yes
                   10990:       ;;
                   10991: 
                   10992:     interix[3-9]*)
                   10993:       hardcode_direct=no
                   10994:       hardcode_shlibpath_var=no
                   10995:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10996:       export_dynamic_flag_spec='${wl}-E'
                   10997:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10998:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10999:       # default) and relocated if they conflict, which is a slow very memory
                   11000:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   11001:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   11002:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   11003:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   11004:       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'
                   11005:       ;;
                   11006: 
                   11007:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   11008:       tmp_diet=no
                   11009:       if test "$host_os" = linux-dietlibc; then
                   11010:        case $cc_basename in
                   11011:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   11012:        esac
                   11013:       fi
                   11014:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   11015:         && test "$tmp_diet" = no
                   11016:       then
                   11017:        tmp_addflag=' $pic_flag'
                   11018:        tmp_sharedflag='-shared'
                   11019:        case $cc_basename,$host_cpu in
                   11020:         pgcc*)                         # Portland Group C compiler
                   11021:          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'
                   11022:          tmp_addflag=' $pic_flag'
                   11023:          ;;
                   11024:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   11025:                                        # Portland Group f77 and f90 compilers
                   11026:          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'
                   11027:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   11028:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   11029:          tmp_addflag=' -i_dynamic' ;;
                   11030:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   11031:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   11032:        ifc* | ifort*)                  # Intel Fortran compiler
                   11033:          tmp_addflag=' -nofor_main' ;;
                   11034:        lf95*)                          # Lahey Fortran 8.1
                   11035:          whole_archive_flag_spec=
                   11036:          tmp_sharedflag='--shared' ;;
                   11037:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   11038:          tmp_sharedflag='-qmkshrobj'
                   11039:          tmp_addflag= ;;
                   11040:        nvcc*)  # Cuda Compiler Driver 2.2
                   11041:          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'
                   11042:          compiler_needs_object=yes
                   11043:          ;;
                   11044:        esac
                   11045:        case `$CC -V 2>&1 | sed 5q` in
                   11046:        *Sun\ C*)                       # Sun C 5.9
                   11047:          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'
                   11048:          compiler_needs_object=yes
                   11049:          tmp_sharedflag='-G' ;;
                   11050:        *Sun\ F*)                       # Sun Fortran 8.3
                   11051:          tmp_sharedflag='-G' ;;
                   11052:        esac
                   11053:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11054: 
                   11055:         if test "x$supports_anon_versioning" = xyes; then
                   11056:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   11057:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   11058:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   11059:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   11060:         fi
                   11061: 
                   11062:        case $cc_basename in
                   11063:        xlf* | bgf* | bgxlf* | mpixlf*)
                   11064:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   11065:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.1.1.4   misho    11066:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.1       misho    11067:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   11068:          if test "x$supports_anon_versioning" = xyes; then
                   11069:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   11070:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   11071:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   11072:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   11073:          fi
                   11074:          ;;
                   11075:        esac
                   11076:       else
                   11077:         ld_shlibs=no
                   11078:       fi
                   11079:       ;;
                   11080: 
                   11081:     netbsd*)
                   11082:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11083:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   11084:        wlarc=
                   11085:       else
                   11086:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11087:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   11088:       fi
                   11089:       ;;
                   11090: 
                   11091:     solaris*)
                   11092:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   11093:        ld_shlibs=no
                   11094:        cat <<_LT_EOF 1>&2
                   11095: 
                   11096: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   11097: *** create shared libraries on Solaris systems.  Therefore, libtool
                   11098: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   11099: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   11100: *** your PATH or compiler configuration so that the native linker is
                   11101: *** used, and then restart.
                   11102: 
                   11103: _LT_EOF
                   11104:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   11105:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11106:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   11107:       else
                   11108:        ld_shlibs=no
                   11109:       fi
                   11110:       ;;
                   11111: 
                   11112:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   11113:       case `$LD -v 2>&1` in
                   11114:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   11115:        ld_shlibs=no
                   11116:        cat <<_LT_EOF 1>&2
                   11117: 
                   11118: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   11119: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   11120: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   11121: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   11122: *** your PATH or compiler configuration so that the native linker is
                   11123: *** used, and then restart.
                   11124: 
                   11125: _LT_EOF
                   11126:        ;;
                   11127:        *)
                   11128:          # For security reasons, it is highly recommended that you always
                   11129:          # use absolute paths for naming shared libraries, and exclude the
                   11130:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   11131:          # requires that you compile everything twice, which is a pain.
                   11132:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   11133:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11134:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11135:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   11136:          else
                   11137:            ld_shlibs=no
                   11138:          fi
                   11139:        ;;
                   11140:       esac
                   11141:       ;;
                   11142: 
                   11143:     sunos4*)
                   11144:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11145:       wlarc=
                   11146:       hardcode_direct=yes
                   11147:       hardcode_shlibpath_var=no
                   11148:       ;;
                   11149: 
                   11150:     *)
                   11151:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   11152:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11153:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   11154:       else
                   11155:        ld_shlibs=no
                   11156:       fi
                   11157:       ;;
                   11158:     esac
                   11159: 
                   11160:     if test "$ld_shlibs" = no; then
                   11161:       runpath_var=
                   11162:       hardcode_libdir_flag_spec=
                   11163:       export_dynamic_flag_spec=
                   11164:       whole_archive_flag_spec=
                   11165:     fi
                   11166:   else
                   11167:     # PORTME fill in a description of your system's linker (not GNU ld)
                   11168:     case $host_os in
                   11169:     aix3*)
                   11170:       allow_undefined_flag=unsupported
                   11171:       always_export_symbols=yes
                   11172:       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'
                   11173:       # Note: this linker hardcodes the directories in LIBPATH if there
                   11174:       # are no directories specified by -L.
                   11175:       hardcode_minus_L=yes
                   11176:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   11177:        # Neither direct hardcoding nor static linking is supported with a
                   11178:        # broken collect2.
                   11179:        hardcode_direct=unsupported
                   11180:       fi
                   11181:       ;;
                   11182: 
                   11183:     aix[4-9]*)
                   11184:       if test "$host_cpu" = ia64; then
                   11185:        # On IA64, the linker does run time linking by default, so we don't
                   11186:        # have to do anything special.
                   11187:        aix_use_runtimelinking=no
                   11188:        exp_sym_flag='-Bexport'
                   11189:        no_entry_flag=""
                   11190:       else
                   11191:        # If we're using GNU nm, then we don't want the "-C" option.
                   11192:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   11193:        # Also, AIX nm treats weak defined symbols like other global
                   11194:        # defined symbols, whereas GNU nm marks them as "W".
                   11195:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   11196:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   11197:        else
                   11198:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   11199:        fi
                   11200:        aix_use_runtimelinking=no
                   11201: 
                   11202:        # Test if we are trying to use run time linking or normal
                   11203:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   11204:        # need to do runtime linking.
                   11205:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   11206:          for ld_flag in $LDFLAGS; do
                   11207:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   11208:            aix_use_runtimelinking=yes
                   11209:            break
                   11210:          fi
                   11211:          done
                   11212:          ;;
                   11213:        esac
                   11214: 
                   11215:        exp_sym_flag='-bexport'
                   11216:        no_entry_flag='-bnoentry'
                   11217:       fi
                   11218: 
                   11219:       # When large executables or shared objects are built, AIX ld can
                   11220:       # have problems creating the table of contents.  If linking a library
                   11221:       # or program results in "error TOC overflow" add -mminimal-toc to
                   11222:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   11223:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   11224: 
                   11225:       archive_cmds=''
                   11226:       hardcode_direct=yes
                   11227:       hardcode_direct_absolute=yes
                   11228:       hardcode_libdir_separator=':'
                   11229:       link_all_deplibs=yes
                   11230:       file_list_spec='${wl}-f,'
                   11231: 
                   11232:       if test "$GCC" = yes; then
                   11233:        case $host_os in aix4.[012]|aix4.[012].*)
                   11234:        # We only want to do this on AIX 4.2 and lower, the check
                   11235:        # below for broken collect2 doesn't work under 4.3+
                   11236:          collect2name=`${CC} -print-prog-name=collect2`
                   11237:          if test -f "$collect2name" &&
                   11238:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   11239:          then
                   11240:          # We have reworked collect2
                   11241:          :
                   11242:          else
                   11243:          # We have old collect2
                   11244:          hardcode_direct=unsupported
                   11245:          # It fails to find uninstalled libraries when the uninstalled
                   11246:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   11247:          # to unsupported forces relinking
                   11248:          hardcode_minus_L=yes
                   11249:          hardcode_libdir_flag_spec='-L$libdir'
                   11250:          hardcode_libdir_separator=
                   11251:          fi
                   11252:          ;;
                   11253:        esac
                   11254:        shared_flag='-shared'
                   11255:        if test "$aix_use_runtimelinking" = yes; then
                   11256:          shared_flag="$shared_flag "'${wl}-G'
                   11257:        fi
                   11258:       else
                   11259:        # not using gcc
                   11260:        if test "$host_cpu" = ia64; then
                   11261:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   11262:        # chokes on -Wl,-G. The following line is correct:
                   11263:          shared_flag='-G'
                   11264:        else
                   11265:          if test "$aix_use_runtimelinking" = yes; then
                   11266:            shared_flag='${wl}-G'
                   11267:          else
                   11268:            shared_flag='${wl}-bM:SRE'
                   11269:          fi
                   11270:        fi
                   11271:       fi
                   11272: 
                   11273:       export_dynamic_flag_spec='${wl}-bexpall'
                   11274:       # It seems that -bexpall does not export symbols beginning with
                   11275:       # underscore (_), so it is better to generate a list of symbols to export.
                   11276:       always_export_symbols=yes
                   11277:       if test "$aix_use_runtimelinking" = yes; then
                   11278:        # Warning - without using the other runtime loading flags (-brtl),
                   11279:        # -berok will link without error, but may produce a broken library.
                   11280:        allow_undefined_flag='-berok'
                   11281:         # Determine the default libpath from the value encoded in an
                   11282:         # empty executable.
                   11283:         if test "${lt_cv_aix_libpath+set}" = set; then
                   11284:   aix_libpath=$lt_cv_aix_libpath
                   11285: else
                   11286:   if ${lt_cv_aix_libpath_+:} false; then :
                   11287:   $as_echo_n "(cached) " >&6
                   11288: else
                   11289:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11290: /* end confdefs.h.  */
                   11291: 
                   11292: int
                   11293: main ()
                   11294: {
                   11295: 
                   11296:   ;
                   11297:   return 0;
                   11298: }
                   11299: _ACEOF
                   11300: if ac_fn_c_try_link "$LINENO"; then :
                   11301: 
                   11302:   lt_aix_libpath_sed='
                   11303:       /Import File Strings/,/^$/ {
                   11304:          /^0/ {
                   11305:              s/^0  *\([^ ]*\) *$/\1/
                   11306:              p
                   11307:          }
                   11308:       }'
                   11309:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11310:   # Check for a 64-bit object if we didn't find anything.
                   11311:   if test -z "$lt_cv_aix_libpath_"; then
                   11312:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11313:   fi
                   11314: fi
                   11315: rm -f core conftest.err conftest.$ac_objext \
                   11316:     conftest$ac_exeext conftest.$ac_ext
                   11317:   if test -z "$lt_cv_aix_libpath_"; then
                   11318:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   11319:   fi
                   11320: 
                   11321: fi
                   11322: 
                   11323:   aix_libpath=$lt_cv_aix_libpath_
                   11324: fi
                   11325: 
                   11326:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   11327:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   11328:       else
                   11329:        if test "$host_cpu" = ia64; then
                   11330:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   11331:          allow_undefined_flag="-z nodefs"
                   11332:          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"
                   11333:        else
                   11334:         # Determine the default libpath from the value encoded in an
                   11335:         # empty executable.
                   11336:         if test "${lt_cv_aix_libpath+set}" = set; then
                   11337:   aix_libpath=$lt_cv_aix_libpath
                   11338: else
                   11339:   if ${lt_cv_aix_libpath_+:} false; then :
                   11340:   $as_echo_n "(cached) " >&6
                   11341: else
                   11342:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11343: /* end confdefs.h.  */
                   11344: 
                   11345: int
                   11346: main ()
                   11347: {
                   11348: 
                   11349:   ;
                   11350:   return 0;
                   11351: }
                   11352: _ACEOF
                   11353: if ac_fn_c_try_link "$LINENO"; then :
                   11354: 
                   11355:   lt_aix_libpath_sed='
                   11356:       /Import File Strings/,/^$/ {
                   11357:          /^0/ {
                   11358:              s/^0  *\([^ ]*\) *$/\1/
                   11359:              p
                   11360:          }
                   11361:       }'
                   11362:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11363:   # Check for a 64-bit object if we didn't find anything.
                   11364:   if test -z "$lt_cv_aix_libpath_"; then
                   11365:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11366:   fi
                   11367: fi
                   11368: rm -f core conftest.err conftest.$ac_objext \
                   11369:     conftest$ac_exeext conftest.$ac_ext
                   11370:   if test -z "$lt_cv_aix_libpath_"; then
                   11371:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   11372:   fi
                   11373: 
                   11374: fi
                   11375: 
                   11376:   aix_libpath=$lt_cv_aix_libpath_
                   11377: fi
                   11378: 
                   11379:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   11380:          # Warning - without using the other run time loading flags,
                   11381:          # -berok will link without error, but may produce a broken library.
                   11382:          no_undefined_flag=' ${wl}-bernotok'
                   11383:          allow_undefined_flag=' ${wl}-berok'
                   11384:          if test "$with_gnu_ld" = yes; then
                   11385:            # We only use this code for GNU lds that support --whole-archive.
                   11386:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   11387:          else
                   11388:            # Exported symbols can be pulled into shared objects from archives
                   11389:            whole_archive_flag_spec='$convenience'
                   11390:          fi
                   11391:          archive_cmds_need_lc=yes
                   11392:          # This is similar to how AIX traditionally builds its shared libraries.
                   11393:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   11394:        fi
                   11395:       fi
                   11396:       ;;
                   11397: 
                   11398:     amigaos*)
                   11399:       case $host_cpu in
                   11400:       powerpc)
                   11401:             # see comment about AmigaOS4 .so support
                   11402:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11403:             archive_expsym_cmds=''
                   11404:         ;;
                   11405:       m68k)
                   11406:             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)'
                   11407:             hardcode_libdir_flag_spec='-L$libdir'
                   11408:             hardcode_minus_L=yes
                   11409:         ;;
                   11410:       esac
                   11411:       ;;
                   11412: 
                   11413:     bsdi[45]*)
                   11414:       export_dynamic_flag_spec=-rdynamic
                   11415:       ;;
                   11416: 
                   11417:     cygwin* | mingw* | pw32* | cegcc*)
                   11418:       # When not using gcc, we currently assume that we are using
                   11419:       # Microsoft Visual C++.
                   11420:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   11421:       # no search path for DLLs.
                   11422:       case $cc_basename in
                   11423:       cl*)
                   11424:        # Native MSVC
                   11425:        hardcode_libdir_flag_spec=' '
                   11426:        allow_undefined_flag=unsupported
                   11427:        always_export_symbols=yes
                   11428:        file_list_spec='@'
                   11429:        # Tell ltmain to make .lib files, not .a files.
                   11430:        libext=lib
                   11431:        # Tell ltmain to make .dll files, not .so files.
                   11432:        shrext_cmds=".dll"
                   11433:        # FIXME: Setting linknames here is a bad hack.
                   11434:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   11435:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   11436:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   11437:          else
                   11438:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   11439:          fi~
                   11440:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   11441:          linknames='
                   11442:        # The linker will not automatically build a static lib if we build a DLL.
                   11443:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   11444:        enable_shared_with_static_runtimes=yes
1.1.1.4   misho    11445:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1.1       misho    11446:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   11447:        # Don't use ranlib
                   11448:        old_postinstall_cmds='chmod 644 $oldlib'
                   11449:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   11450:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   11451:          case $lt_outputfile in
                   11452:            *.exe|*.EXE) ;;
                   11453:            *)
                   11454:              lt_outputfile="$lt_outputfile.exe"
                   11455:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   11456:              ;;
                   11457:          esac~
                   11458:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   11459:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   11460:            $RM "$lt_outputfile.manifest";
                   11461:          fi'
                   11462:        ;;
                   11463:       *)
                   11464:        # Assume MSVC wrapper
                   11465:        hardcode_libdir_flag_spec=' '
                   11466:        allow_undefined_flag=unsupported
                   11467:        # Tell ltmain to make .lib files, not .a files.
                   11468:        libext=lib
                   11469:        # Tell ltmain to make .dll files, not .so files.
                   11470:        shrext_cmds=".dll"
                   11471:        # FIXME: Setting linknames here is a bad hack.
                   11472:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   11473:        # The linker will automatically build a .lib file if we build a DLL.
                   11474:        old_archive_from_new_cmds='true'
                   11475:        # FIXME: Should let the user specify the lib program.
                   11476:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   11477:        enable_shared_with_static_runtimes=yes
                   11478:        ;;
                   11479:       esac
                   11480:       ;;
                   11481: 
                   11482:     darwin* | rhapsody*)
                   11483: 
                   11484: 
                   11485:   archive_cmds_need_lc=no
                   11486:   hardcode_direct=no
                   11487:   hardcode_automatic=yes
                   11488:   hardcode_shlibpath_var=unsupported
                   11489:   if test "$lt_cv_ld_force_load" = "yes"; then
                   11490:     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\"`'
1.1.1.4   misho    11491: 
1.1       misho    11492:   else
                   11493:     whole_archive_flag_spec=''
                   11494:   fi
                   11495:   link_all_deplibs=yes
                   11496:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   11497:   case $cc_basename in
                   11498:      ifort*) _lt_dar_can_shared=yes ;;
                   11499:      *) _lt_dar_can_shared=$GCC ;;
                   11500:   esac
                   11501:   if test "$_lt_dar_can_shared" = "yes"; then
                   11502:     output_verbose_link_cmd=func_echo_all
                   11503:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   11504:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   11505:     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}"
                   11506:     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}"
                   11507: 
                   11508:   else
                   11509:   ld_shlibs=no
                   11510:   fi
                   11511: 
                   11512:       ;;
                   11513: 
                   11514:     dgux*)
                   11515:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11516:       hardcode_libdir_flag_spec='-L$libdir'
                   11517:       hardcode_shlibpath_var=no
                   11518:       ;;
                   11519: 
                   11520:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11521:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11522:     # does not break anything, and helps significantly (at the cost of a little
                   11523:     # extra space).
                   11524:     freebsd2.2*)
                   11525:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11526:       hardcode_libdir_flag_spec='-R$libdir'
                   11527:       hardcode_direct=yes
                   11528:       hardcode_shlibpath_var=no
                   11529:       ;;
                   11530: 
                   11531:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.1.1.4   misho    11532:     freebsd2.*)
1.1       misho    11533:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11534:       hardcode_direct=yes
                   11535:       hardcode_minus_L=yes
                   11536:       hardcode_shlibpath_var=no
                   11537:       ;;
                   11538: 
                   11539:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11540:     freebsd* | dragonfly*)
                   11541:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11542:       hardcode_libdir_flag_spec='-R$libdir'
                   11543:       hardcode_direct=yes
                   11544:       hardcode_shlibpath_var=no
                   11545:       ;;
                   11546: 
                   11547:     hpux9*)
                   11548:       if test "$GCC" = yes; then
                   11549:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   11550:       else
                   11551:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   11552:       fi
                   11553:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11554:       hardcode_libdir_separator=:
                   11555:       hardcode_direct=yes
                   11556: 
                   11557:       # hardcode_minus_L: Not really in the search PATH,
                   11558:       # but as the default location of the library.
                   11559:       hardcode_minus_L=yes
                   11560:       export_dynamic_flag_spec='${wl}-E'
                   11561:       ;;
                   11562: 
                   11563:     hpux10*)
                   11564:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11565:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11566:       else
                   11567:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11568:       fi
                   11569:       if test "$with_gnu_ld" = no; then
                   11570:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11571:        hardcode_libdir_separator=:
                   11572:        hardcode_direct=yes
                   11573:        hardcode_direct_absolute=yes
                   11574:        export_dynamic_flag_spec='${wl}-E'
                   11575:        # hardcode_minus_L: Not really in the search PATH,
                   11576:        # but as the default location of the library.
                   11577:        hardcode_minus_L=yes
                   11578:       fi
                   11579:       ;;
                   11580: 
                   11581:     hpux11*)
                   11582:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11583:        case $host_cpu in
                   11584:        hppa*64*)
                   11585:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11586:          ;;
                   11587:        ia64*)
                   11588:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11589:          ;;
                   11590:        *)
                   11591:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11592:          ;;
                   11593:        esac
                   11594:       else
                   11595:        case $host_cpu in
                   11596:        hppa*64*)
                   11597:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11598:          ;;
                   11599:        ia64*)
                   11600:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11601:          ;;
                   11602:        *)
                   11603: 
                   11604:          # Older versions of the 11.00 compiler do not understand -b yet
                   11605:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   11606:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11607: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11608: if ${lt_cv_prog_compiler__b+:} false; then :
                   11609:   $as_echo_n "(cached) " >&6
                   11610: else
                   11611:   lt_cv_prog_compiler__b=no
                   11612:    save_LDFLAGS="$LDFLAGS"
                   11613:    LDFLAGS="$LDFLAGS -b"
                   11614:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11615:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11616:      # The linker can only warn and ignore the option if not recognized
                   11617:      # So say no if there are warnings
                   11618:      if test -s conftest.err; then
                   11619:        # Append any errors to the config.log.
                   11620:        cat conftest.err 1>&5
                   11621:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11622:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11623:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11624:          lt_cv_prog_compiler__b=yes
                   11625:        fi
                   11626:      else
                   11627:        lt_cv_prog_compiler__b=yes
                   11628:      fi
                   11629:    fi
                   11630:    $RM -r conftest*
                   11631:    LDFLAGS="$save_LDFLAGS"
                   11632: 
                   11633: fi
                   11634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11635: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   11636: 
                   11637: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11638:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11639: else
                   11640:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11641: fi
                   11642: 
                   11643:          ;;
                   11644:        esac
                   11645:       fi
                   11646:       if test "$with_gnu_ld" = no; then
                   11647:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11648:        hardcode_libdir_separator=:
                   11649: 
                   11650:        case $host_cpu in
                   11651:        hppa*64*|ia64*)
                   11652:          hardcode_direct=no
                   11653:          hardcode_shlibpath_var=no
                   11654:          ;;
                   11655:        *)
                   11656:          hardcode_direct=yes
                   11657:          hardcode_direct_absolute=yes
                   11658:          export_dynamic_flag_spec='${wl}-E'
                   11659: 
                   11660:          # hardcode_minus_L: Not really in the search PATH,
                   11661:          # but as the default location of the library.
                   11662:          hardcode_minus_L=yes
                   11663:          ;;
                   11664:        esac
                   11665:       fi
                   11666:       ;;
                   11667: 
                   11668:     irix5* | irix6* | nonstopux*)
                   11669:       if test "$GCC" = yes; then
                   11670:        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'
                   11671:        # Try to use the -exported_symbol ld option, if it does not
                   11672:        # work, assume that -exports_file does not work either and
                   11673:        # implicitly export all symbols.
                   11674:        # This should be the same for all languages, so no per-tag cache variable.
                   11675:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11676: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11677: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11678:   $as_echo_n "(cached) " >&6
                   11679: else
                   11680:   save_LDFLAGS="$LDFLAGS"
                   11681:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   11682:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11683: /* end confdefs.h.  */
                   11684: int foo (void) { return 0; }
                   11685: _ACEOF
                   11686: if ac_fn_c_try_link "$LINENO"; then :
                   11687:   lt_cv_irix_exported_symbol=yes
                   11688: else
                   11689:   lt_cv_irix_exported_symbol=no
                   11690: fi
                   11691: rm -f core conftest.err conftest.$ac_objext \
                   11692:     conftest$ac_exeext conftest.$ac_ext
                   11693:            LDFLAGS="$save_LDFLAGS"
                   11694: fi
                   11695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11696: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   11697:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11698:           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'
                   11699:        fi
                   11700:       else
                   11701:        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'
                   11702:        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'
                   11703:       fi
                   11704:       archive_cmds_need_lc='no'
                   11705:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11706:       hardcode_libdir_separator=:
                   11707:       inherit_rpath=yes
                   11708:       link_all_deplibs=yes
                   11709:       ;;
                   11710: 
                   11711:     netbsd*)
                   11712:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11713:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11714:       else
                   11715:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11716:       fi
                   11717:       hardcode_libdir_flag_spec='-R$libdir'
                   11718:       hardcode_direct=yes
                   11719:       hardcode_shlibpath_var=no
                   11720:       ;;
                   11721: 
                   11722:     newsos6)
                   11723:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11724:       hardcode_direct=yes
                   11725:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11726:       hardcode_libdir_separator=:
                   11727:       hardcode_shlibpath_var=no
                   11728:       ;;
                   11729: 
                   11730:     *nto* | *qnx*)
                   11731:       ;;
                   11732: 
                   11733:     openbsd*)
                   11734:       if test -f /usr/libexec/ld.so; then
                   11735:        hardcode_direct=yes
                   11736:        hardcode_shlibpath_var=no
                   11737:        hardcode_direct_absolute=yes
                   11738:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11739:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11740:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11741:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11742:          export_dynamic_flag_spec='${wl}-E'
                   11743:        else
                   11744:          case $host_os in
                   11745:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11746:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11747:             hardcode_libdir_flag_spec='-R$libdir'
                   11748:             ;;
                   11749:           *)
                   11750:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11751:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11752:             ;;
                   11753:          esac
                   11754:        fi
                   11755:       else
                   11756:        ld_shlibs=no
                   11757:       fi
                   11758:       ;;
                   11759: 
                   11760:     os2*)
                   11761:       hardcode_libdir_flag_spec='-L$libdir'
                   11762:       hardcode_minus_L=yes
                   11763:       allow_undefined_flag=unsupported
                   11764:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
                   11765:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11766:       ;;
                   11767: 
                   11768:     osf3*)
                   11769:       if test "$GCC" = yes; then
                   11770:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11771:        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'
                   11772:       else
                   11773:        allow_undefined_flag=' -expect_unresolved \*'
                   11774:        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'
                   11775:       fi
                   11776:       archive_cmds_need_lc='no'
                   11777:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11778:       hardcode_libdir_separator=:
                   11779:       ;;
                   11780: 
                   11781:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11782:       if test "$GCC" = yes; then
                   11783:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11784:        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'
                   11785:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11786:       else
                   11787:        allow_undefined_flag=' -expect_unresolved \*'
                   11788:        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'
                   11789:        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~
                   11790:        $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'
                   11791: 
                   11792:        # Both c and cxx compiler support -rpath directly
                   11793:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11794:       fi
                   11795:       archive_cmds_need_lc='no'
                   11796:       hardcode_libdir_separator=:
                   11797:       ;;
                   11798: 
                   11799:     solaris*)
                   11800:       no_undefined_flag=' -z defs'
                   11801:       if test "$GCC" = yes; then
                   11802:        wlarc='${wl}'
                   11803:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11804:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11805:          $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'
                   11806:       else
                   11807:        case `$CC -V 2>&1` in
                   11808:        *"Compilers 5.0"*)
                   11809:          wlarc=''
                   11810:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11811:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11812:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11813:          ;;
                   11814:        *)
                   11815:          wlarc='${wl}'
                   11816:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11817:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11818:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11819:          ;;
                   11820:        esac
                   11821:       fi
                   11822:       hardcode_libdir_flag_spec='-R$libdir'
                   11823:       hardcode_shlibpath_var=no
                   11824:       case $host_os in
                   11825:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11826:       *)
                   11827:        # The compiler driver will combine and reorder linker options,
                   11828:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11829:        # but is careful enough not to reorder.
                   11830:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11831:        if test "$GCC" = yes; then
                   11832:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11833:        else
                   11834:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11835:        fi
                   11836:        ;;
                   11837:       esac
                   11838:       link_all_deplibs=yes
                   11839:       ;;
                   11840: 
                   11841:     sunos4*)
                   11842:       if test "x$host_vendor" = xsequent; then
                   11843:        # Use $CC to link under sequent, because it throws in some extra .o
                   11844:        # files that make .init and .fini sections work.
                   11845:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11846:       else
                   11847:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11848:       fi
                   11849:       hardcode_libdir_flag_spec='-L$libdir'
                   11850:       hardcode_direct=yes
                   11851:       hardcode_minus_L=yes
                   11852:       hardcode_shlibpath_var=no
                   11853:       ;;
                   11854: 
                   11855:     sysv4)
                   11856:       case $host_vendor in
                   11857:        sni)
                   11858:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11859:          hardcode_direct=yes # is this really true???
                   11860:        ;;
                   11861:        siemens)
                   11862:          ## LD is ld it makes a PLAMLIB
                   11863:          ## CC just makes a GrossModule.
                   11864:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11865:          reload_cmds='$CC -r -o $output$reload_objs'
                   11866:          hardcode_direct=no
                   11867:         ;;
                   11868:        motorola)
                   11869:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11870:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11871:        ;;
                   11872:       esac
                   11873:       runpath_var='LD_RUN_PATH'
                   11874:       hardcode_shlibpath_var=no
                   11875:       ;;
                   11876: 
                   11877:     sysv4.3*)
                   11878:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11879:       hardcode_shlibpath_var=no
                   11880:       export_dynamic_flag_spec='-Bexport'
                   11881:       ;;
                   11882: 
                   11883:     sysv4*MP*)
                   11884:       if test -d /usr/nec; then
                   11885:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11886:        hardcode_shlibpath_var=no
                   11887:        runpath_var=LD_RUN_PATH
                   11888:        hardcode_runpath_var=yes
                   11889:        ld_shlibs=yes
                   11890:       fi
                   11891:       ;;
                   11892: 
                   11893:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11894:       no_undefined_flag='${wl}-z,text'
                   11895:       archive_cmds_need_lc=no
                   11896:       hardcode_shlibpath_var=no
                   11897:       runpath_var='LD_RUN_PATH'
                   11898: 
                   11899:       if test "$GCC" = yes; then
                   11900:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11901:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11902:       else
                   11903:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11904:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11905:       fi
                   11906:       ;;
                   11907: 
                   11908:     sysv5* | sco3.2v5* | sco5v6*)
                   11909:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11910:       # link with -lc, and that would cause any symbols used from libc to
                   11911:       # always be unresolved, which means just about no library would
                   11912:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11913:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11914:       # as -z defs.
                   11915:       no_undefined_flag='${wl}-z,text'
                   11916:       allow_undefined_flag='${wl}-z,nodefs'
                   11917:       archive_cmds_need_lc=no
                   11918:       hardcode_shlibpath_var=no
                   11919:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11920:       hardcode_libdir_separator=':'
                   11921:       link_all_deplibs=yes
                   11922:       export_dynamic_flag_spec='${wl}-Bexport'
                   11923:       runpath_var='LD_RUN_PATH'
                   11924: 
                   11925:       if test "$GCC" = yes; then
                   11926:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11927:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11928:       else
                   11929:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11930:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11931:       fi
                   11932:       ;;
                   11933: 
                   11934:     uts4*)
                   11935:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11936:       hardcode_libdir_flag_spec='-L$libdir'
                   11937:       hardcode_shlibpath_var=no
                   11938:       ;;
                   11939: 
                   11940:     *)
                   11941:       ld_shlibs=no
                   11942:       ;;
                   11943:     esac
                   11944: 
                   11945:     if test x$host_vendor = xsni; then
                   11946:       case $host in
                   11947:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11948:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11949:        ;;
                   11950:       esac
                   11951:     fi
                   11952:   fi
                   11953: 
                   11954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11955: $as_echo "$ld_shlibs" >&6; }
                   11956: test "$ld_shlibs" = no && can_build_shared=no
                   11957: 
                   11958: with_gnu_ld=$with_gnu_ld
                   11959: 
                   11960: 
                   11961: 
                   11962: 
                   11963: 
                   11964: 
                   11965: 
                   11966: 
                   11967: 
                   11968: 
                   11969: 
                   11970: 
                   11971: 
                   11972: 
                   11973: 
                   11974: #
                   11975: # Do we need to explicitly link libc?
                   11976: #
                   11977: case "x$archive_cmds_need_lc" in
                   11978: x|xyes)
                   11979:   # Assume -lc should be added
                   11980:   archive_cmds_need_lc=yes
                   11981: 
                   11982:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11983:     case $archive_cmds in
                   11984:     *'~'*)
                   11985:       # FIXME: we may have to deal with multi-command sequences.
                   11986:       ;;
                   11987:     '$CC '*)
                   11988:       # Test whether the compiler implicitly links with -lc since on some
                   11989:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11990:       # to ld, don't add -lc before -lgcc.
                   11991:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11992: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11993: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11994:   $as_echo_n "(cached) " >&6
                   11995: else
                   11996:   $RM conftest*
                   11997:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11998: 
                   11999:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   12000:   (eval $ac_compile) 2>&5
                   12001:   ac_status=$?
                   12002:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12003:   test $ac_status = 0; } 2>conftest.err; then
                   12004:          soname=conftest
                   12005:          lib=conftest
                   12006:          libobjs=conftest.$ac_objext
                   12007:          deplibs=
                   12008:          wl=$lt_prog_compiler_wl
                   12009:          pic_flag=$lt_prog_compiler_pic
                   12010:          compiler_flags=-v
                   12011:          linker_flags=-v
                   12012:          verstring=
                   12013:          output_objdir=.
                   12014:          libname=conftest
                   12015:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   12016:          allow_undefined_flag=
                   12017:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   12018:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   12019:   ac_status=$?
                   12020:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12021:   test $ac_status = 0; }
                   12022:          then
                   12023:            lt_cv_archive_cmds_need_lc=no
                   12024:          else
                   12025:            lt_cv_archive_cmds_need_lc=yes
                   12026:          fi
                   12027:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   12028:        else
                   12029:          cat conftest.err 1>&5
                   12030:        fi
                   12031:        $RM conftest*
                   12032: 
                   12033: fi
                   12034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   12035: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   12036:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   12037:       ;;
                   12038:     esac
                   12039:   fi
                   12040:   ;;
                   12041: esac
                   12042: 
                   12043: 
                   12044: 
                   12045: 
                   12046: 
                   12047: 
                   12048: 
                   12049: 
                   12050: 
                   12051: 
                   12052: 
                   12053: 
                   12054: 
                   12055: 
                   12056: 
                   12057: 
                   12058: 
                   12059: 
                   12060: 
                   12061: 
                   12062: 
                   12063: 
                   12064: 
                   12065: 
                   12066: 
                   12067: 
                   12068: 
                   12069: 
                   12070: 
                   12071: 
                   12072: 
                   12073: 
                   12074: 
                   12075: 
                   12076: 
                   12077: 
                   12078: 
                   12079: 
                   12080: 
                   12081: 
                   12082: 
                   12083: 
                   12084: 
                   12085: 
                   12086: 
                   12087: 
                   12088: 
                   12089: 
                   12090: 
                   12091: 
                   12092: 
                   12093: 
                   12094: 
                   12095: 
                   12096: 
                   12097: 
                   12098: 
                   12099: 
                   12100: 
                   12101: 
                   12102: 
                   12103: 
                   12104: 
                   12105: 
                   12106: 
                   12107: 
                   12108: 
                   12109: 
                   12110: 
                   12111: 
                   12112: 
                   12113: 
                   12114: 
                   12115: 
                   12116: 
                   12117: 
                   12118: 
                   12119: 
                   12120: 
                   12121: 
                   12122: 
                   12123: 
                   12124: 
                   12125: 
                   12126: 
                   12127: 
                   12128: 
                   12129: 
                   12130: 
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135: 
                   12136: 
                   12137: 
                   12138: 
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: 
                   12156: 
                   12157: 
                   12158: 
                   12159: 
                   12160: 
                   12161: 
                   12162: 
                   12163: 
                   12164: 
                   12165: 
                   12166: 
                   12167: 
                   12168: 
                   12169: 
                   12170: 
                   12171: 
                   12172: 
                   12173: 
                   12174: 
                   12175: 
                   12176: 
                   12177: 
                   12178: 
                   12179: 
                   12180: 
                   12181: 
                   12182: 
                   12183: 
                   12184: 
                   12185: 
                   12186: 
                   12187: 
                   12188: 
                   12189: 
                   12190: 
                   12191: 
                   12192: 
                   12193: 
                   12194:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   12195: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   12196: 
                   12197: if test "$GCC" = yes; then
                   12198:   case $host_os in
                   12199:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   12200:     *) lt_awk_arg="/^libraries:/" ;;
                   12201:   esac
                   12202:   case $host_os in
                   12203:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   12204:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   12205:   esac
                   12206:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   12207:   case $lt_search_path_spec in
                   12208:   *\;*)
                   12209:     # if the path contains ";" then we assume it to be the separator
                   12210:     # otherwise default to the standard path separator (i.e. ":") - it is
                   12211:     # assumed that no part of a normal pathname contains ";" but that should
                   12212:     # okay in the real world where ";" in dirpaths is itself problematic.
                   12213:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   12214:     ;;
                   12215:   *)
                   12216:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   12217:     ;;
                   12218:   esac
                   12219:   # Ok, now we have the path, separated by spaces, we can step through it
                   12220:   # and add multilib dir if necessary.
                   12221:   lt_tmp_lt_search_path_spec=
                   12222:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   12223:   for lt_sys_path in $lt_search_path_spec; do
                   12224:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   12225:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   12226:     else
                   12227:       test -d "$lt_sys_path" && \
                   12228:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   12229:     fi
                   12230:   done
                   12231:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   12232: BEGIN {RS=" "; FS="/|\n";} {
                   12233:   lt_foo="";
                   12234:   lt_count=0;
                   12235:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   12236:     if ($lt_i != "" && $lt_i != ".") {
                   12237:       if ($lt_i == "..") {
                   12238:         lt_count++;
                   12239:       } else {
                   12240:         if (lt_count == 0) {
                   12241:           lt_foo="/" $lt_i lt_foo;
                   12242:         } else {
                   12243:           lt_count--;
                   12244:         }
                   12245:       }
                   12246:     }
                   12247:   }
                   12248:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   12249:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   12250: }'`
                   12251:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   12252:   # for these hosts.
                   12253:   case $host_os in
                   12254:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   12255:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   12256:   esac
                   12257:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   12258: else
                   12259:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   12260: fi
                   12261: library_names_spec=
                   12262: libname_spec='lib$name'
                   12263: soname_spec=
                   12264: shrext_cmds=".so"
                   12265: postinstall_cmds=
                   12266: postuninstall_cmds=
                   12267: finish_cmds=
                   12268: finish_eval=
                   12269: shlibpath_var=
                   12270: shlibpath_overrides_runpath=unknown
                   12271: version_type=none
                   12272: dynamic_linker="$host_os ld.so"
                   12273: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   12274: need_lib_prefix=unknown
                   12275: hardcode_into_libs=no
                   12276: 
                   12277: # when you set need_version to no, make sure it does not cause -set_version
                   12278: # flags to be left without arguments
                   12279: need_version=unknown
                   12280: 
                   12281: case $host_os in
                   12282: aix3*)
1.1.1.4   misho    12283:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12284:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   12285:   shlibpath_var=LIBPATH
                   12286: 
                   12287:   # AIX 3 has no versioning support, so we append a major version to the name.
                   12288:   soname_spec='${libname}${release}${shared_ext}$major'
                   12289:   ;;
                   12290: 
                   12291: aix[4-9]*)
1.1.1.4   misho    12292:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12293:   need_lib_prefix=no
                   12294:   need_version=no
                   12295:   hardcode_into_libs=yes
                   12296:   if test "$host_cpu" = ia64; then
                   12297:     # AIX 5 supports IA64
                   12298:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   12299:     shlibpath_var=LD_LIBRARY_PATH
                   12300:   else
                   12301:     # With GCC up to 2.95.x, collect2 would create an import file
                   12302:     # for dependence libraries.  The import file would start with
                   12303:     # the line `#! .'.  This would cause the generated library to
                   12304:     # depend on `.', always an invalid library.  This was fixed in
                   12305:     # development snapshots of GCC prior to 3.0.
                   12306:     case $host_os in
                   12307:       aix4 | aix4.[01] | aix4.[01].*)
                   12308:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   12309:           echo ' yes '
                   12310:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   12311:        :
                   12312:       else
                   12313:        can_build_shared=no
                   12314:       fi
                   12315:       ;;
                   12316:     esac
                   12317:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   12318:     # soname into executable. Probably we can add versioning support to
                   12319:     # collect2, so additional links can be useful in future.
                   12320:     if test "$aix_use_runtimelinking" = yes; then
                   12321:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   12322:       # instead of lib<name>.a to let people know that these are not
                   12323:       # typical AIX shared libraries.
                   12324:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12325:     else
                   12326:       # We preserve .a as extension for shared libraries through AIX4.2
                   12327:       # and later when we are not doing run time linking.
                   12328:       library_names_spec='${libname}${release}.a $libname.a'
                   12329:       soname_spec='${libname}${release}${shared_ext}$major'
                   12330:     fi
                   12331:     shlibpath_var=LIBPATH
                   12332:   fi
                   12333:   ;;
                   12334: 
                   12335: amigaos*)
                   12336:   case $host_cpu in
                   12337:   powerpc)
                   12338:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   12339:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   12340:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12341:     ;;
                   12342:   m68k)
                   12343:     library_names_spec='$libname.ixlibrary $libname.a'
                   12344:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   12345:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
                   12346:     ;;
                   12347:   esac
                   12348:   ;;
                   12349: 
                   12350: beos*)
                   12351:   library_names_spec='${libname}${shared_ext}'
                   12352:   dynamic_linker="$host_os ld.so"
                   12353:   shlibpath_var=LIBRARY_PATH
                   12354:   ;;
                   12355: 
                   12356: bsdi[45]*)
1.1.1.4   misho    12357:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12358:   need_version=no
                   12359:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12360:   soname_spec='${libname}${release}${shared_ext}$major'
                   12361:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   12362:   shlibpath_var=LD_LIBRARY_PATH
                   12363:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   12364:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   12365:   # the default ld.so.conf also contains /usr/contrib/lib and
                   12366:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   12367:   # libtool to hard-code these into programs
                   12368:   ;;
                   12369: 
                   12370: cygwin* | mingw* | pw32* | cegcc*)
                   12371:   version_type=windows
                   12372:   shrext_cmds=".dll"
                   12373:   need_version=no
                   12374:   need_lib_prefix=no
                   12375: 
                   12376:   case $GCC,$cc_basename in
                   12377:   yes,*)
                   12378:     # gcc
                   12379:     library_names_spec='$libname.dll.a'
                   12380:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12381:     postinstall_cmds='base_file=`basename \${file}`~
                   12382:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12383:       dldir=$destdir/`dirname \$dlpath`~
                   12384:       test -d \$dldir || mkdir -p \$dldir~
                   12385:       $install_prog $dir/$dlname \$dldir/$dlname~
                   12386:       chmod a+x \$dldir/$dlname~
                   12387:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   12388:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   12389:       fi'
                   12390:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12391:       dlpath=$dir/\$dldll~
                   12392:        $RM \$dlpath'
                   12393:     shlibpath_overrides_runpath=yes
                   12394: 
                   12395:     case $host_os in
                   12396:     cygwin*)
                   12397:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   12398:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12399: 
                   12400:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   12401:       ;;
                   12402:     mingw* | cegcc*)
                   12403:       # MinGW DLLs use traditional 'lib' prefix
                   12404:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12405:       ;;
                   12406:     pw32*)
                   12407:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   12408:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12409:       ;;
                   12410:     esac
                   12411:     dynamic_linker='Win32 ld.exe'
                   12412:     ;;
                   12413: 
                   12414:   *,cl*)
                   12415:     # Native MSVC
                   12416:     libname_spec='$name'
                   12417:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12418:     library_names_spec='${libname}.dll.lib'
                   12419: 
                   12420:     case $build_os in
                   12421:     mingw*)
                   12422:       sys_lib_search_path_spec=
                   12423:       lt_save_ifs=$IFS
                   12424:       IFS=';'
                   12425:       for lt_path in $LIB
                   12426:       do
                   12427:         IFS=$lt_save_ifs
                   12428:         # Let DOS variable expansion print the short 8.3 style file name.
                   12429:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   12430:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   12431:       done
                   12432:       IFS=$lt_save_ifs
                   12433:       # Convert to MSYS style.
                   12434:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   12435:       ;;
                   12436:     cygwin*)
                   12437:       # Convert to unix form, then to dos form, then back to unix form
                   12438:       # but this time dos style (no spaces!) so that the unix form looks
                   12439:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   12440:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   12441:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   12442:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12443:       ;;
                   12444:     *)
                   12445:       sys_lib_search_path_spec="$LIB"
                   12446:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   12447:         # It is most probably a Windows format PATH.
                   12448:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   12449:       else
                   12450:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12451:       fi
                   12452:       # FIXME: find the short name or the path components, as spaces are
                   12453:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   12454:       ;;
                   12455:     esac
                   12456: 
                   12457:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12458:     postinstall_cmds='base_file=`basename \${file}`~
                   12459:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12460:       dldir=$destdir/`dirname \$dlpath`~
                   12461:       test -d \$dldir || mkdir -p \$dldir~
                   12462:       $install_prog $dir/$dlname \$dldir/$dlname'
                   12463:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12464:       dlpath=$dir/\$dldll~
                   12465:        $RM \$dlpath'
                   12466:     shlibpath_overrides_runpath=yes
                   12467:     dynamic_linker='Win32 link.exe'
                   12468:     ;;
                   12469: 
                   12470:   *)
                   12471:     # Assume MSVC wrapper
                   12472:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   12473:     dynamic_linker='Win32 ld.exe'
                   12474:     ;;
                   12475:   esac
                   12476:   # FIXME: first we should search . and the directory the executable is in
                   12477:   shlibpath_var=PATH
                   12478:   ;;
                   12479: 
                   12480: darwin* | rhapsody*)
                   12481:   dynamic_linker="$host_os dyld"
                   12482:   version_type=darwin
                   12483:   need_lib_prefix=no
                   12484:   need_version=no
                   12485:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   12486:   soname_spec='${libname}${release}${major}$shared_ext'
                   12487:   shlibpath_overrides_runpath=yes
                   12488:   shlibpath_var=DYLD_LIBRARY_PATH
                   12489:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   12490: 
                   12491:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   12492:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   12493:   ;;
                   12494: 
                   12495: dgux*)
1.1.1.4   misho    12496:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12497:   need_lib_prefix=no
                   12498:   need_version=no
                   12499:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   12500:   soname_spec='${libname}${release}${shared_ext}$major'
                   12501:   shlibpath_var=LD_LIBRARY_PATH
                   12502:   ;;
                   12503: 
                   12504: freebsd* | dragonfly*)
                   12505:   # DragonFly does not have aout.  When/if they implement a new
                   12506:   # versioning mechanism, adjust this.
                   12507:   if test -x /usr/bin/objformat; then
                   12508:     objformat=`/usr/bin/objformat`
                   12509:   else
                   12510:     case $host_os in
1.1.1.4   misho    12511:     freebsd[23].*) objformat=aout ;;
1.1       misho    12512:     *) objformat=elf ;;
                   12513:     esac
                   12514:   fi
1.1.1.4   misho    12515:   version_type=freebsd-$objformat
1.1       misho    12516:   case $version_type in
                   12517:     freebsd-elf*)
                   12518:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12519:       need_version=no
                   12520:       need_lib_prefix=no
                   12521:       ;;
                   12522:     freebsd-*)
                   12523:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12524:       need_version=yes
                   12525:       ;;
                   12526:   esac
                   12527:   shlibpath_var=LD_LIBRARY_PATH
                   12528:   case $host_os in
1.1.1.4   misho    12529:   freebsd2.*)
1.1       misho    12530:     shlibpath_overrides_runpath=yes
                   12531:     ;;
                   12532:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12533:     shlibpath_overrides_runpath=yes
                   12534:     hardcode_into_libs=yes
                   12535:     ;;
                   12536:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12537:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12538:     shlibpath_overrides_runpath=no
                   12539:     hardcode_into_libs=yes
                   12540:     ;;
                   12541:   *) # from 4.6 on, and DragonFly
                   12542:     shlibpath_overrides_runpath=yes
                   12543:     hardcode_into_libs=yes
                   12544:     ;;
                   12545:   esac
                   12546:   ;;
                   12547: 
                   12548: gnu*)
1.1.1.4   misho    12549:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12550:   need_lib_prefix=no
                   12551:   need_version=no
                   12552:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12553:   soname_spec='${libname}${release}${shared_ext}$major'
                   12554:   shlibpath_var=LD_LIBRARY_PATH
1.1.1.4   misho    12555:   shlibpath_overrides_runpath=no
1.1       misho    12556:   hardcode_into_libs=yes
                   12557:   ;;
                   12558: 
                   12559: haiku*)
1.1.1.4   misho    12560:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12561:   need_lib_prefix=no
                   12562:   need_version=no
                   12563:   dynamic_linker="$host_os runtime_loader"
                   12564:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12565:   soname_spec='${libname}${release}${shared_ext}$major'
                   12566:   shlibpath_var=LIBRARY_PATH
                   12567:   shlibpath_overrides_runpath=yes
                   12568:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12569:   hardcode_into_libs=yes
                   12570:   ;;
                   12571: 
                   12572: hpux9* | hpux10* | hpux11*)
                   12573:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12574:   # link against other versions.
                   12575:   version_type=sunos
                   12576:   need_lib_prefix=no
                   12577:   need_version=no
                   12578:   case $host_cpu in
                   12579:   ia64*)
                   12580:     shrext_cmds='.so'
                   12581:     hardcode_into_libs=yes
                   12582:     dynamic_linker="$host_os dld.so"
                   12583:     shlibpath_var=LD_LIBRARY_PATH
                   12584:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12585:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12586:     soname_spec='${libname}${release}${shared_ext}$major'
                   12587:     if test "X$HPUX_IA64_MODE" = X32; then
                   12588:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12589:     else
                   12590:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12591:     fi
                   12592:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12593:     ;;
                   12594:   hppa*64*)
                   12595:     shrext_cmds='.sl'
                   12596:     hardcode_into_libs=yes
                   12597:     dynamic_linker="$host_os dld.sl"
                   12598:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12599:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12600:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12601:     soname_spec='${libname}${release}${shared_ext}$major'
                   12602:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12603:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12604:     ;;
                   12605:   *)
                   12606:     shrext_cmds='.sl'
                   12607:     dynamic_linker="$host_os dld.sl"
                   12608:     shlibpath_var=SHLIB_PATH
                   12609:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12610:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12611:     soname_spec='${libname}${release}${shared_ext}$major'
                   12612:     ;;
                   12613:   esac
                   12614:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12615:   postinstall_cmds='chmod 555 $lib'
                   12616:   # or fails outright, so override atomically:
                   12617:   install_override_mode=555
                   12618:   ;;
                   12619: 
                   12620: interix[3-9]*)
1.1.1.4   misho    12621:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12622:   need_lib_prefix=no
                   12623:   need_version=no
                   12624:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12625:   soname_spec='${libname}${release}${shared_ext}$major'
                   12626:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12627:   shlibpath_var=LD_LIBRARY_PATH
                   12628:   shlibpath_overrides_runpath=no
                   12629:   hardcode_into_libs=yes
                   12630:   ;;
                   12631: 
                   12632: irix5* | irix6* | nonstopux*)
                   12633:   case $host_os in
                   12634:     nonstopux*) version_type=nonstopux ;;
                   12635:     *)
                   12636:        if test "$lt_cv_prog_gnu_ld" = yes; then
1.1.1.4   misho    12637:                version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12638:        else
                   12639:                version_type=irix
                   12640:        fi ;;
                   12641:   esac
                   12642:   need_lib_prefix=no
                   12643:   need_version=no
                   12644:   soname_spec='${libname}${release}${shared_ext}$major'
                   12645:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12646:   case $host_os in
                   12647:   irix5* | nonstopux*)
                   12648:     libsuff= shlibsuff=
                   12649:     ;;
                   12650:   *)
                   12651:     case $LD in # libtool.m4 will add one of these switches to LD
                   12652:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12653:       libsuff= shlibsuff= libmagic=32-bit;;
                   12654:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12655:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12656:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12657:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12658:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12659:     esac
                   12660:     ;;
                   12661:   esac
                   12662:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12663:   shlibpath_overrides_runpath=no
                   12664:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12665:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12666:   hardcode_into_libs=yes
                   12667:   ;;
                   12668: 
                   12669: # No shared lib support for Linux oldld, aout, or coff.
                   12670: linux*oldld* | linux*aout* | linux*coff*)
                   12671:   dynamic_linker=no
                   12672:   ;;
                   12673: 
1.1.1.4   misho    12674: # This must be glibc/ELF.
1.1       misho    12675: linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1.4   misho    12676:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12677:   need_lib_prefix=no
                   12678:   need_version=no
                   12679:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12680:   soname_spec='${libname}${release}${shared_ext}$major'
                   12681:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12682:   shlibpath_var=LD_LIBRARY_PATH
                   12683:   shlibpath_overrides_runpath=no
                   12684: 
                   12685:   # Some binutils ld are patched to set DT_RUNPATH
                   12686:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12687:   $as_echo_n "(cached) " >&6
                   12688: else
                   12689:   lt_cv_shlibpath_overrides_runpath=no
                   12690:     save_LDFLAGS=$LDFLAGS
                   12691:     save_libdir=$libdir
                   12692:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12693:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   12694:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12695: /* end confdefs.h.  */
                   12696: 
                   12697: int
                   12698: main ()
                   12699: {
                   12700: 
                   12701:   ;
                   12702:   return 0;
                   12703: }
                   12704: _ACEOF
                   12705: if ac_fn_c_try_link "$LINENO"; then :
                   12706:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   12707:   lt_cv_shlibpath_overrides_runpath=yes
                   12708: fi
                   12709: fi
                   12710: rm -f core conftest.err conftest.$ac_objext \
                   12711:     conftest$ac_exeext conftest.$ac_ext
                   12712:     LDFLAGS=$save_LDFLAGS
                   12713:     libdir=$save_libdir
                   12714: 
                   12715: fi
                   12716: 
                   12717:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12718: 
                   12719:   # This implies no fast_install, which is unacceptable.
                   12720:   # Some rework will be needed to allow for fast_install
                   12721:   # before this can be enabled.
                   12722:   hardcode_into_libs=yes
                   12723: 
                   12724:   # Append ld.so.conf contents to the search path
                   12725:   if test -f /etc/ld.so.conf; then
                   12726:     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' ' '`
                   12727:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12728:   fi
                   12729: 
                   12730:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12731:   # powerpc, because MkLinux only supported shared libraries with the
                   12732:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12733:   # most powerpc-linux boxes support dynamic linking these days and
                   12734:   # people can always --disable-shared, the test was removed, and we
                   12735:   # assume the GNU/Linux dynamic linker is in use.
                   12736:   dynamic_linker='GNU/Linux ld.so'
                   12737:   ;;
                   12738: 
                   12739: netbsd*)
                   12740:   version_type=sunos
                   12741:   need_lib_prefix=no
                   12742:   need_version=no
                   12743:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12744:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12745:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12746:     dynamic_linker='NetBSD (a.out) ld.so'
                   12747:   else
                   12748:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12749:     soname_spec='${libname}${release}${shared_ext}$major'
                   12750:     dynamic_linker='NetBSD ld.elf_so'
                   12751:   fi
                   12752:   shlibpath_var=LD_LIBRARY_PATH
                   12753:   shlibpath_overrides_runpath=yes
                   12754:   hardcode_into_libs=yes
                   12755:   ;;
                   12756: 
                   12757: newsos6)
1.1.1.4   misho    12758:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12759:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12760:   shlibpath_var=LD_LIBRARY_PATH
                   12761:   shlibpath_overrides_runpath=yes
                   12762:   ;;
                   12763: 
                   12764: *nto* | *qnx*)
                   12765:   version_type=qnx
                   12766:   need_lib_prefix=no
                   12767:   need_version=no
                   12768:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12769:   soname_spec='${libname}${release}${shared_ext}$major'
                   12770:   shlibpath_var=LD_LIBRARY_PATH
                   12771:   shlibpath_overrides_runpath=no
                   12772:   hardcode_into_libs=yes
                   12773:   dynamic_linker='ldqnx.so'
                   12774:   ;;
                   12775: 
                   12776: openbsd*)
                   12777:   version_type=sunos
                   12778:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12779:   need_lib_prefix=no
                   12780:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12781:   case $host_os in
                   12782:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12783:     *)                         need_version=no  ;;
                   12784:   esac
                   12785:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12786:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12787:   shlibpath_var=LD_LIBRARY_PATH
                   12788:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12789:     case $host_os in
                   12790:       openbsd2.[89] | openbsd2.[89].*)
                   12791:        shlibpath_overrides_runpath=no
                   12792:        ;;
                   12793:       *)
                   12794:        shlibpath_overrides_runpath=yes
                   12795:        ;;
                   12796:       esac
                   12797:   else
                   12798:     shlibpath_overrides_runpath=yes
                   12799:   fi
                   12800:   ;;
                   12801: 
                   12802: os2*)
                   12803:   libname_spec='$name'
                   12804:   shrext_cmds=".dll"
                   12805:   need_lib_prefix=no
                   12806:   library_names_spec='$libname${shared_ext} $libname.a'
                   12807:   dynamic_linker='OS/2 ld.exe'
                   12808:   shlibpath_var=LIBPATH
                   12809:   ;;
                   12810: 
                   12811: osf3* | osf4* | osf5*)
                   12812:   version_type=osf
                   12813:   need_lib_prefix=no
                   12814:   need_version=no
                   12815:   soname_spec='${libname}${release}${shared_ext}$major'
                   12816:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12817:   shlibpath_var=LD_LIBRARY_PATH
                   12818:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12819:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12820:   ;;
                   12821: 
                   12822: rdos*)
                   12823:   dynamic_linker=no
                   12824:   ;;
                   12825: 
                   12826: solaris*)
1.1.1.4   misho    12827:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12828:   need_lib_prefix=no
                   12829:   need_version=no
                   12830:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12831:   soname_spec='${libname}${release}${shared_ext}$major'
                   12832:   shlibpath_var=LD_LIBRARY_PATH
                   12833:   shlibpath_overrides_runpath=yes
                   12834:   hardcode_into_libs=yes
                   12835:   # ldd complains unless libraries are executable
                   12836:   postinstall_cmds='chmod +x $lib'
                   12837:   ;;
                   12838: 
                   12839: sunos4*)
                   12840:   version_type=sunos
                   12841:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12842:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12843:   shlibpath_var=LD_LIBRARY_PATH
                   12844:   shlibpath_overrides_runpath=yes
                   12845:   if test "$with_gnu_ld" = yes; then
                   12846:     need_lib_prefix=no
                   12847:   fi
                   12848:   need_version=yes
                   12849:   ;;
                   12850: 
                   12851: sysv4 | sysv4.3*)
1.1.1.4   misho    12852:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12853:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12854:   soname_spec='${libname}${release}${shared_ext}$major'
                   12855:   shlibpath_var=LD_LIBRARY_PATH
                   12856:   case $host_vendor in
                   12857:     sni)
                   12858:       shlibpath_overrides_runpath=no
                   12859:       need_lib_prefix=no
                   12860:       runpath_var=LD_RUN_PATH
                   12861:       ;;
                   12862:     siemens)
                   12863:       need_lib_prefix=no
                   12864:       ;;
                   12865:     motorola)
                   12866:       need_lib_prefix=no
                   12867:       need_version=no
                   12868:       shlibpath_overrides_runpath=no
                   12869:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12870:       ;;
                   12871:   esac
                   12872:   ;;
                   12873: 
                   12874: sysv4*MP*)
                   12875:   if test -d /usr/nec ;then
1.1.1.4   misho    12876:     version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12877:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12878:     soname_spec='$libname${shared_ext}.$major'
                   12879:     shlibpath_var=LD_LIBRARY_PATH
                   12880:   fi
                   12881:   ;;
                   12882: 
                   12883: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12884:   version_type=freebsd-elf
                   12885:   need_lib_prefix=no
                   12886:   need_version=no
                   12887:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12888:   soname_spec='${libname}${release}${shared_ext}$major'
                   12889:   shlibpath_var=LD_LIBRARY_PATH
                   12890:   shlibpath_overrides_runpath=yes
                   12891:   hardcode_into_libs=yes
                   12892:   if test "$with_gnu_ld" = yes; then
                   12893:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12894:   else
                   12895:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12896:     case $host_os in
                   12897:       sco3.2v5*)
                   12898:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12899:        ;;
                   12900:     esac
                   12901:   fi
                   12902:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12903:   ;;
                   12904: 
                   12905: tpf*)
                   12906:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.4   misho    12907:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12908:   need_lib_prefix=no
                   12909:   need_version=no
                   12910:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12911:   shlibpath_var=LD_LIBRARY_PATH
                   12912:   shlibpath_overrides_runpath=no
                   12913:   hardcode_into_libs=yes
                   12914:   ;;
                   12915: 
                   12916: uts4*)
1.1.1.4   misho    12917:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12918:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12919:   soname_spec='${libname}${release}${shared_ext}$major'
                   12920:   shlibpath_var=LD_LIBRARY_PATH
                   12921:   ;;
                   12922: 
                   12923: *)
                   12924:   dynamic_linker=no
                   12925:   ;;
                   12926: esac
                   12927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12928: $as_echo "$dynamic_linker" >&6; }
                   12929: test "$dynamic_linker" = no && can_build_shared=no
                   12930: 
                   12931: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12932: if test "$GCC" = yes; then
                   12933:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12934: fi
                   12935: 
                   12936: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12937:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12938: fi
                   12939: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12940:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12941: fi
                   12942: 
                   12943: 
                   12944: 
                   12945: 
                   12946: 
                   12947: 
                   12948: 
                   12949: 
                   12950: 
                   12951: 
                   12952: 
                   12953: 
                   12954: 
                   12955: 
                   12956: 
                   12957: 
                   12958: 
                   12959: 
                   12960: 
                   12961: 
                   12962: 
                   12963: 
                   12964: 
                   12965: 
                   12966: 
                   12967: 
                   12968: 
                   12969: 
                   12970: 
                   12971: 
                   12972: 
                   12973: 
                   12974: 
                   12975: 
                   12976: 
                   12977: 
                   12978: 
                   12979: 
                   12980: 
                   12981: 
                   12982: 
                   12983: 
                   12984: 
                   12985: 
                   12986: 
                   12987: 
                   12988: 
                   12989: 
                   12990: 
                   12991: 
                   12992: 
                   12993: 
                   12994: 
                   12995: 
                   12996: 
                   12997: 
                   12998: 
                   12999: 
                   13000: 
                   13001: 
                   13002: 
                   13003: 
                   13004: 
                   13005: 
                   13006: 
                   13007: 
                   13008: 
                   13009: 
                   13010: 
                   13011: 
                   13012: 
                   13013: 
                   13014: 
                   13015: 
                   13016: 
                   13017: 
                   13018: 
                   13019: 
                   13020: 
                   13021: 
                   13022: 
                   13023: 
                   13024: 
                   13025: 
                   13026: 
                   13027: 
                   13028: 
                   13029: 
                   13030: 
                   13031: 
                   13032: 
                   13033: 
                   13034:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   13035: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   13036: hardcode_action=
                   13037: if test -n "$hardcode_libdir_flag_spec" ||
                   13038:    test -n "$runpath_var" ||
                   13039:    test "X$hardcode_automatic" = "Xyes" ; then
                   13040: 
                   13041:   # We can hardcode non-existent directories.
                   13042:   if test "$hardcode_direct" != no &&
                   13043:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   13044:      # have to relink, otherwise we might link with an installed library
                   13045:      # when we should be linking with a yet-to-be-installed one
                   13046:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   13047:      test "$hardcode_minus_L" != no; then
                   13048:     # Linking always hardcodes the temporary library directory.
                   13049:     hardcode_action=relink
                   13050:   else
                   13051:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   13052:     hardcode_action=immediate
                   13053:   fi
                   13054: else
                   13055:   # We cannot hardcode anything, or else we can only hardcode existing
                   13056:   # directories.
                   13057:   hardcode_action=unsupported
                   13058: fi
                   13059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   13060: $as_echo "$hardcode_action" >&6; }
                   13061: 
                   13062: if test "$hardcode_action" = relink ||
                   13063:    test "$inherit_rpath" = yes; then
                   13064:   # Fast installation is not supported
                   13065:   enable_fast_install=no
                   13066: elif test "$shlibpath_overrides_runpath" = yes ||
                   13067:      test "$enable_shared" = no; then
                   13068:   # Fast installation is not necessary
                   13069:   enable_fast_install=needless
                   13070: fi
                   13071: 
                   13072: 
                   13073: 
                   13074: 
                   13075: 
                   13076: 
                   13077:   if test "x$enable_dlopen" != xyes; then
                   13078:   enable_dlopen=unknown
                   13079:   enable_dlopen_self=unknown
                   13080:   enable_dlopen_self_static=unknown
                   13081: else
                   13082:   lt_cv_dlopen=no
                   13083:   lt_cv_dlopen_libs=
                   13084: 
                   13085:   case $host_os in
                   13086:   beos*)
                   13087:     lt_cv_dlopen="load_add_on"
                   13088:     lt_cv_dlopen_libs=
                   13089:     lt_cv_dlopen_self=yes
                   13090:     ;;
                   13091: 
                   13092:   mingw* | pw32* | cegcc*)
                   13093:     lt_cv_dlopen="LoadLibrary"
                   13094:     lt_cv_dlopen_libs=
                   13095:     ;;
                   13096: 
                   13097:   cygwin*)
                   13098:     lt_cv_dlopen="dlopen"
                   13099:     lt_cv_dlopen_libs=
                   13100:     ;;
                   13101: 
                   13102:   darwin*)
                   13103:   # if libdl is installed we need to link against it
                   13104:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   13105: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   13106: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   13107:   $as_echo_n "(cached) " >&6
                   13108: else
                   13109:   ac_check_lib_save_LIBS=$LIBS
                   13110: LIBS="-ldl  $LIBS"
                   13111: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13112: /* end confdefs.h.  */
                   13113: 
                   13114: /* Override any GCC internal prototype to avoid an error.
                   13115:    Use char because int might match the return type of a GCC
                   13116:    builtin and then its argument prototype would still apply.  */
                   13117: #ifdef __cplusplus
                   13118: extern "C"
                   13119: #endif
                   13120: char dlopen ();
                   13121: int
                   13122: main ()
                   13123: {
                   13124: return dlopen ();
                   13125:   ;
                   13126:   return 0;
                   13127: }
                   13128: _ACEOF
                   13129: if ac_fn_c_try_link "$LINENO"; then :
                   13130:   ac_cv_lib_dl_dlopen=yes
                   13131: else
                   13132:   ac_cv_lib_dl_dlopen=no
                   13133: fi
                   13134: rm -f core conftest.err conftest.$ac_objext \
                   13135:     conftest$ac_exeext conftest.$ac_ext
                   13136: LIBS=$ac_check_lib_save_LIBS
                   13137: fi
                   13138: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   13139: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   13140: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   13141:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   13142: else
                   13143: 
                   13144:     lt_cv_dlopen="dyld"
                   13145:     lt_cv_dlopen_libs=
                   13146:     lt_cv_dlopen_self=yes
                   13147: 
                   13148: fi
                   13149: 
                   13150:     ;;
                   13151: 
                   13152:   *)
                   13153:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   13154: if test "x$ac_cv_func_shl_load" = xyes; then :
                   13155:   lt_cv_dlopen="shl_load"
                   13156: else
                   13157:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   13158: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   13159: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   13160:   $as_echo_n "(cached) " >&6
                   13161: else
                   13162:   ac_check_lib_save_LIBS=$LIBS
                   13163: LIBS="-ldld  $LIBS"
                   13164: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13165: /* end confdefs.h.  */
                   13166: 
                   13167: /* Override any GCC internal prototype to avoid an error.
                   13168:    Use char because int might match the return type of a GCC
                   13169:    builtin and then its argument prototype would still apply.  */
                   13170: #ifdef __cplusplus
                   13171: extern "C"
                   13172: #endif
                   13173: char shl_load ();
                   13174: int
                   13175: main ()
                   13176: {
                   13177: return shl_load ();
                   13178:   ;
                   13179:   return 0;
                   13180: }
                   13181: _ACEOF
                   13182: if ac_fn_c_try_link "$LINENO"; then :
                   13183:   ac_cv_lib_dld_shl_load=yes
                   13184: else
                   13185:   ac_cv_lib_dld_shl_load=no
                   13186: fi
                   13187: rm -f core conftest.err conftest.$ac_objext \
                   13188:     conftest$ac_exeext conftest.$ac_ext
                   13189: LIBS=$ac_check_lib_save_LIBS
                   13190: fi
                   13191: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   13192: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   13193: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   13194:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   13195: else
                   13196:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   13197: if test "x$ac_cv_func_dlopen" = xyes; then :
                   13198:   lt_cv_dlopen="dlopen"
                   13199: else
                   13200:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   13201: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   13202: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   13203:   $as_echo_n "(cached) " >&6
                   13204: else
                   13205:   ac_check_lib_save_LIBS=$LIBS
                   13206: LIBS="-ldl  $LIBS"
                   13207: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13208: /* end confdefs.h.  */
                   13209: 
                   13210: /* Override any GCC internal prototype to avoid an error.
                   13211:    Use char because int might match the return type of a GCC
                   13212:    builtin and then its argument prototype would still apply.  */
                   13213: #ifdef __cplusplus
                   13214: extern "C"
                   13215: #endif
                   13216: char dlopen ();
                   13217: int
                   13218: main ()
                   13219: {
                   13220: return dlopen ();
                   13221:   ;
                   13222:   return 0;
                   13223: }
                   13224: _ACEOF
                   13225: if ac_fn_c_try_link "$LINENO"; then :
                   13226:   ac_cv_lib_dl_dlopen=yes
                   13227: else
                   13228:   ac_cv_lib_dl_dlopen=no
                   13229: fi
                   13230: rm -f core conftest.err conftest.$ac_objext \
                   13231:     conftest$ac_exeext conftest.$ac_ext
                   13232: LIBS=$ac_check_lib_save_LIBS
                   13233: fi
                   13234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   13235: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   13236: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   13237:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   13238: else
                   13239:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   13240: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   13241: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   13242:   $as_echo_n "(cached) " >&6
                   13243: else
                   13244:   ac_check_lib_save_LIBS=$LIBS
                   13245: LIBS="-lsvld  $LIBS"
                   13246: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13247: /* end confdefs.h.  */
                   13248: 
                   13249: /* Override any GCC internal prototype to avoid an error.
                   13250:    Use char because int might match the return type of a GCC
                   13251:    builtin and then its argument prototype would still apply.  */
                   13252: #ifdef __cplusplus
                   13253: extern "C"
                   13254: #endif
                   13255: char dlopen ();
                   13256: int
                   13257: main ()
                   13258: {
                   13259: return dlopen ();
                   13260:   ;
                   13261:   return 0;
                   13262: }
                   13263: _ACEOF
                   13264: if ac_fn_c_try_link "$LINENO"; then :
                   13265:   ac_cv_lib_svld_dlopen=yes
                   13266: else
                   13267:   ac_cv_lib_svld_dlopen=no
                   13268: fi
                   13269: rm -f core conftest.err conftest.$ac_objext \
                   13270:     conftest$ac_exeext conftest.$ac_ext
                   13271: LIBS=$ac_check_lib_save_LIBS
                   13272: fi
                   13273: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   13274: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   13275: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   13276:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   13277: else
                   13278:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   13279: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   13280: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   13281:   $as_echo_n "(cached) " >&6
                   13282: else
                   13283:   ac_check_lib_save_LIBS=$LIBS
                   13284: LIBS="-ldld  $LIBS"
                   13285: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13286: /* end confdefs.h.  */
                   13287: 
                   13288: /* Override any GCC internal prototype to avoid an error.
                   13289:    Use char because int might match the return type of a GCC
                   13290:    builtin and then its argument prototype would still apply.  */
                   13291: #ifdef __cplusplus
                   13292: extern "C"
                   13293: #endif
                   13294: char dld_link ();
                   13295: int
                   13296: main ()
                   13297: {
                   13298: return dld_link ();
                   13299:   ;
                   13300:   return 0;
                   13301: }
                   13302: _ACEOF
                   13303: if ac_fn_c_try_link "$LINENO"; then :
                   13304:   ac_cv_lib_dld_dld_link=yes
                   13305: else
                   13306:   ac_cv_lib_dld_dld_link=no
                   13307: fi
                   13308: rm -f core conftest.err conftest.$ac_objext \
                   13309:     conftest$ac_exeext conftest.$ac_ext
                   13310: LIBS=$ac_check_lib_save_LIBS
                   13311: fi
                   13312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   13313: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   13314: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   13315:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   13316: fi
                   13317: 
                   13318: 
                   13319: fi
                   13320: 
                   13321: 
                   13322: fi
                   13323: 
                   13324: 
                   13325: fi
                   13326: 
                   13327: 
                   13328: fi
                   13329: 
                   13330: 
                   13331: fi
                   13332: 
                   13333:     ;;
                   13334:   esac
                   13335: 
                   13336:   if test "x$lt_cv_dlopen" != xno; then
                   13337:     enable_dlopen=yes
                   13338:   else
                   13339:     enable_dlopen=no
                   13340:   fi
                   13341: 
                   13342:   case $lt_cv_dlopen in
                   13343:   dlopen)
                   13344:     save_CPPFLAGS="$CPPFLAGS"
                   13345:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   13346: 
                   13347:     save_LDFLAGS="$LDFLAGS"
                   13348:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   13349: 
                   13350:     save_LIBS="$LIBS"
                   13351:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   13352: 
                   13353:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   13354: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   13355: if ${lt_cv_dlopen_self+:} false; then :
                   13356:   $as_echo_n "(cached) " >&6
                   13357: else
                   13358:          if test "$cross_compiling" = yes; then :
                   13359:   lt_cv_dlopen_self=cross
                   13360: else
                   13361:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13362:   lt_status=$lt_dlunknown
                   13363:   cat > conftest.$ac_ext <<_LT_EOF
                   13364: #line $LINENO "configure"
                   13365: #include "confdefs.h"
                   13366: 
                   13367: #if HAVE_DLFCN_H
                   13368: #include <dlfcn.h>
                   13369: #endif
                   13370: 
                   13371: #include <stdio.h>
                   13372: 
                   13373: #ifdef RTLD_GLOBAL
                   13374: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13375: #else
                   13376: #  ifdef DL_GLOBAL
                   13377: #    define LT_DLGLOBAL                DL_GLOBAL
                   13378: #  else
                   13379: #    define LT_DLGLOBAL                0
                   13380: #  endif
                   13381: #endif
                   13382: 
                   13383: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13384:    find out it does not work in some platform. */
                   13385: #ifndef LT_DLLAZY_OR_NOW
                   13386: #  ifdef RTLD_LAZY
                   13387: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13388: #  else
                   13389: #    ifdef DL_LAZY
                   13390: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13391: #    else
                   13392: #      ifdef RTLD_NOW
                   13393: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13394: #      else
                   13395: #        ifdef DL_NOW
                   13396: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13397: #        else
                   13398: #          define LT_DLLAZY_OR_NOW     0
                   13399: #        endif
                   13400: #      endif
                   13401: #    endif
                   13402: #  endif
                   13403: #endif
                   13404: 
                   13405: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13406:    correspondingly for the symbols needed.  */
                   13407: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13408: int fnord () __attribute__((visibility("default")));
                   13409: #endif
                   13410: 
                   13411: int fnord () { return 42; }
                   13412: int main ()
                   13413: {
                   13414:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13415:   int status = $lt_dlunknown;
                   13416: 
                   13417:   if (self)
                   13418:     {
                   13419:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13420:       else
                   13421:         {
                   13422:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13423:           else puts (dlerror ());
                   13424:        }
                   13425:       /* dlclose (self); */
                   13426:     }
                   13427:   else
                   13428:     puts (dlerror ());
                   13429: 
                   13430:   return status;
                   13431: }
                   13432: _LT_EOF
                   13433:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   13434:   (eval $ac_link) 2>&5
                   13435:   ac_status=$?
                   13436:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13437:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   13438:     (./conftest; exit; ) >&5 2>/dev/null
                   13439:     lt_status=$?
                   13440:     case x$lt_status in
                   13441:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   13442:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   13443:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   13444:     esac
                   13445:   else :
                   13446:     # compilation failed
                   13447:     lt_cv_dlopen_self=no
                   13448:   fi
                   13449: fi
                   13450: rm -fr conftest*
                   13451: 
                   13452: 
                   13453: fi
                   13454: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   13455: $as_echo "$lt_cv_dlopen_self" >&6; }
                   13456: 
                   13457:     if test "x$lt_cv_dlopen_self" = xyes; then
                   13458:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   13459:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   13460: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   13461: if ${lt_cv_dlopen_self_static+:} false; then :
                   13462:   $as_echo_n "(cached) " >&6
                   13463: else
                   13464:          if test "$cross_compiling" = yes; then :
                   13465:   lt_cv_dlopen_self_static=cross
                   13466: else
                   13467:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13468:   lt_status=$lt_dlunknown
                   13469:   cat > conftest.$ac_ext <<_LT_EOF
                   13470: #line $LINENO "configure"
                   13471: #include "confdefs.h"
                   13472: 
                   13473: #if HAVE_DLFCN_H
                   13474: #include <dlfcn.h>
                   13475: #endif
                   13476: 
                   13477: #include <stdio.h>
                   13478: 
                   13479: #ifdef RTLD_GLOBAL
                   13480: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13481: #else
                   13482: #  ifdef DL_GLOBAL
                   13483: #    define LT_DLGLOBAL                DL_GLOBAL
                   13484: #  else
                   13485: #    define LT_DLGLOBAL                0
                   13486: #  endif
                   13487: #endif
                   13488: 
                   13489: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13490:    find out it does not work in some platform. */
                   13491: #ifndef LT_DLLAZY_OR_NOW
                   13492: #  ifdef RTLD_LAZY
                   13493: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13494: #  else
                   13495: #    ifdef DL_LAZY
                   13496: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13497: #    else
                   13498: #      ifdef RTLD_NOW
                   13499: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13500: #      else
                   13501: #        ifdef DL_NOW
                   13502: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13503: #        else
                   13504: #          define LT_DLLAZY_OR_NOW     0
                   13505: #        endif
                   13506: #      endif
                   13507: #    endif
                   13508: #  endif
                   13509: #endif
                   13510: 
                   13511: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13512:    correspondingly for the symbols needed.  */
                   13513: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13514: int fnord () __attribute__((visibility("default")));
                   13515: #endif
                   13516: 
                   13517: int fnord () { return 42; }
                   13518: int main ()
                   13519: {
                   13520:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13521:   int status = $lt_dlunknown;
                   13522: 
                   13523:   if (self)
                   13524:     {
                   13525:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13526:       else
                   13527:         {
                   13528:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13529:           else puts (dlerror ());
                   13530:        }
                   13531:       /* dlclose (self); */
                   13532:     }
                   13533:   else
                   13534:     puts (dlerror ());
                   13535: 
                   13536:   return status;
                   13537: }
                   13538: _LT_EOF
                   13539:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   13540:   (eval $ac_link) 2>&5
                   13541:   ac_status=$?
                   13542:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13543:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   13544:     (./conftest; exit; ) >&5 2>/dev/null
                   13545:     lt_status=$?
                   13546:     case x$lt_status in
                   13547:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13548:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13549:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13550:     esac
                   13551:   else :
                   13552:     # compilation failed
                   13553:     lt_cv_dlopen_self_static=no
                   13554:   fi
                   13555: fi
                   13556: rm -fr conftest*
                   13557: 
                   13558: 
                   13559: fi
                   13560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13561: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   13562:     fi
                   13563: 
                   13564:     CPPFLAGS="$save_CPPFLAGS"
                   13565:     LDFLAGS="$save_LDFLAGS"
                   13566:     LIBS="$save_LIBS"
                   13567:     ;;
                   13568:   esac
                   13569: 
                   13570:   case $lt_cv_dlopen_self in
                   13571:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13572:   *) enable_dlopen_self=unknown ;;
                   13573:   esac
                   13574: 
                   13575:   case $lt_cv_dlopen_self_static in
                   13576:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13577:   *) enable_dlopen_self_static=unknown ;;
                   13578:   esac
                   13579: fi
                   13580: 
                   13581: 
                   13582: 
                   13583: 
                   13584: 
                   13585: 
                   13586: 
                   13587: 
                   13588: 
                   13589: 
                   13590: 
                   13591: 
                   13592: 
                   13593: 
                   13594: 
                   13595: 
                   13596: 
                   13597: striplib=
                   13598: old_striplib=
                   13599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13600: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   13601: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13602:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13603:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   13604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13605: $as_echo "yes" >&6; }
                   13606: else
                   13607: # FIXME - insert some real tests, host_os isn't really good enough
                   13608:   case $host_os in
                   13609:   darwin*)
                   13610:     if test -n "$STRIP" ; then
                   13611:       striplib="$STRIP -x"
                   13612:       old_striplib="$STRIP -S"
                   13613:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13614: $as_echo "yes" >&6; }
                   13615:     else
                   13616:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13617: $as_echo "no" >&6; }
                   13618:     fi
                   13619:     ;;
                   13620:   *)
                   13621:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13622: $as_echo "no" >&6; }
                   13623:     ;;
                   13624:   esac
                   13625: fi
                   13626: 
                   13627: 
                   13628: 
                   13629: 
                   13630: 
                   13631: 
                   13632: 
                   13633: 
                   13634: 
                   13635: 
                   13636: 
                   13637: 
                   13638:   # Report which library types will actually be built
                   13639:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13640: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13642: $as_echo "$can_build_shared" >&6; }
                   13643: 
                   13644:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13645: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   13646:   test "$can_build_shared" = "no" && enable_shared=no
                   13647: 
                   13648:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13649:   # are all built from PIC.
                   13650:   case $host_os in
                   13651:   aix3*)
                   13652:     test "$enable_shared" = yes && enable_static=no
                   13653:     if test -n "$RANLIB"; then
                   13654:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13655:       postinstall_cmds='$RANLIB $lib'
                   13656:     fi
                   13657:     ;;
                   13658: 
                   13659:   aix[4-9]*)
                   13660:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13661:       test "$enable_shared" = yes && enable_static=no
                   13662:     fi
                   13663:     ;;
                   13664:   esac
                   13665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13666: $as_echo "$enable_shared" >&6; }
                   13667: 
                   13668:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13669: $as_echo_n "checking whether to build static libraries... " >&6; }
                   13670:   # Make sure either enable_shared or enable_static is yes.
                   13671:   test "$enable_shared" = yes || enable_static=yes
                   13672:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13673: $as_echo "$enable_static" >&6; }
                   13674: 
                   13675: 
                   13676: 
                   13677: 
                   13678: fi
                   13679: ac_ext=c
                   13680: ac_cpp='$CPP $CPPFLAGS'
                   13681: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13682: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13683: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13684: 
                   13685: CC="$lt_save_CC"
                   13686: 
                   13687:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   13688:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   13689:     (test "X$CXX" != "Xg++"))) ; then
                   13690:   ac_ext=cpp
                   13691: ac_cpp='$CXXCPP $CPPFLAGS'
                   13692: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13693: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13694: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   13696: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
                   13697: if test -z "$CXXCPP"; then
                   13698:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   13699:   $as_echo_n "(cached) " >&6
                   13700: else
                   13701:       # Double quotes because CXXCPP needs to be expanded
                   13702:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   13703:     do
                   13704:       ac_preproc_ok=false
                   13705: for ac_cxx_preproc_warn_flag in '' yes
                   13706: do
                   13707:   # Use a header file that comes with gcc, so configuring glibc
                   13708:   # with a fresh cross-compiler works.
                   13709:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13710:   # <limits.h> exists even on freestanding compilers.
                   13711:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13712:   # not just through cpp. "Syntax error" is here to catch this case.
                   13713:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13714: /* end confdefs.h.  */
                   13715: #ifdef __STDC__
                   13716: # include <limits.h>
                   13717: #else
                   13718: # include <assert.h>
                   13719: #endif
                   13720:                     Syntax error
                   13721: _ACEOF
                   13722: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13723: 
                   13724: else
                   13725:   # Broken: fails on valid input.
                   13726: continue
                   13727: fi
                   13728: rm -f conftest.err conftest.i conftest.$ac_ext
                   13729: 
                   13730:   # OK, works on sane cases.  Now check whether nonexistent headers
                   13731:   # can be detected and how.
                   13732:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13733: /* end confdefs.h.  */
                   13734: #include <ac_nonexistent.h>
                   13735: _ACEOF
                   13736: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13737:   # Broken: success on invalid input.
                   13738: continue
                   13739: else
                   13740:   # Passes both tests.
                   13741: ac_preproc_ok=:
                   13742: break
                   13743: fi
                   13744: rm -f conftest.err conftest.i conftest.$ac_ext
                   13745: 
                   13746: done
                   13747: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   13748: rm -f conftest.i conftest.err conftest.$ac_ext
                   13749: if $ac_preproc_ok; then :
                   13750:   break
                   13751: fi
                   13752: 
                   13753:     done
                   13754:     ac_cv_prog_CXXCPP=$CXXCPP
                   13755: 
                   13756: fi
                   13757:   CXXCPP=$ac_cv_prog_CXXCPP
                   13758: else
                   13759:   ac_cv_prog_CXXCPP=$CXXCPP
                   13760: fi
                   13761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13762: $as_echo "$CXXCPP" >&6; }
                   13763: ac_preproc_ok=false
                   13764: for ac_cxx_preproc_warn_flag in '' yes
                   13765: do
                   13766:   # Use a header file that comes with gcc, so configuring glibc
                   13767:   # with a fresh cross-compiler works.
                   13768:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13769:   # <limits.h> exists even on freestanding compilers.
                   13770:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13771:   # not just through cpp. "Syntax error" is here to catch this case.
                   13772:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13773: /* end confdefs.h.  */
                   13774: #ifdef __STDC__
                   13775: # include <limits.h>
                   13776: #else
                   13777: # include <assert.h>
                   13778: #endif
                   13779:                     Syntax error
                   13780: _ACEOF
                   13781: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13782: 
                   13783: else
                   13784:   # Broken: fails on valid input.
                   13785: continue
                   13786: fi
                   13787: rm -f conftest.err conftest.i conftest.$ac_ext
                   13788: 
                   13789:   # OK, works on sane cases.  Now check whether nonexistent headers
                   13790:   # can be detected and how.
                   13791:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13792: /* end confdefs.h.  */
                   13793: #include <ac_nonexistent.h>
                   13794: _ACEOF
                   13795: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13796:   # Broken: success on invalid input.
                   13797: continue
                   13798: else
                   13799:   # Passes both tests.
                   13800: ac_preproc_ok=:
                   13801: break
                   13802: fi
                   13803: rm -f conftest.err conftest.i conftest.$ac_ext
                   13804: 
                   13805: done
                   13806: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   13807: rm -f conftest.i conftest.err conftest.$ac_ext
                   13808: if $ac_preproc_ok; then :
                   13809: 
                   13810: else
                   13811:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13812: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13813: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13814: See \`config.log' for more details" "$LINENO" 5; }
                   13815: fi
                   13816: 
                   13817: ac_ext=c
                   13818: ac_cpp='$CPP $CPPFLAGS'
                   13819: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13820: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13821: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13822: 
                   13823: else
                   13824:   _lt_caught_CXX_error=yes
                   13825: fi
                   13826: 
                   13827: ac_ext=cpp
                   13828: ac_cpp='$CXXCPP $CPPFLAGS'
                   13829: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13830: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13831: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13832: 
                   13833: archive_cmds_need_lc_CXX=no
                   13834: allow_undefined_flag_CXX=
                   13835: always_export_symbols_CXX=no
                   13836: archive_expsym_cmds_CXX=
                   13837: compiler_needs_object_CXX=no
                   13838: export_dynamic_flag_spec_CXX=
                   13839: hardcode_direct_CXX=no
                   13840: hardcode_direct_absolute_CXX=no
                   13841: hardcode_libdir_flag_spec_CXX=
                   13842: hardcode_libdir_separator_CXX=
                   13843: hardcode_minus_L_CXX=no
                   13844: hardcode_shlibpath_var_CXX=unsupported
                   13845: hardcode_automatic_CXX=no
                   13846: inherit_rpath_CXX=no
                   13847: module_cmds_CXX=
                   13848: module_expsym_cmds_CXX=
                   13849: link_all_deplibs_CXX=unknown
                   13850: old_archive_cmds_CXX=$old_archive_cmds
                   13851: reload_flag_CXX=$reload_flag
                   13852: reload_cmds_CXX=$reload_cmds
                   13853: no_undefined_flag_CXX=
                   13854: whole_archive_flag_spec_CXX=
                   13855: enable_shared_with_static_runtimes_CXX=no
                   13856: 
                   13857: # Source file extension for C++ test sources.
                   13858: ac_ext=cpp
                   13859: 
                   13860: # Object file extension for compiled C++ test sources.
                   13861: objext=o
                   13862: objext_CXX=$objext
                   13863: 
                   13864: # No sense in running all these tests if we already determined that
                   13865: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13866: # are currently assumed to apply to all compilers on this platform,
                   13867: # and will be corrupted by setting them based on a non-working compiler.
                   13868: if test "$_lt_caught_CXX_error" != yes; then
                   13869:   # Code to be used in simple compile tests
                   13870:   lt_simple_compile_test_code="int some_variable = 0;"
                   13871: 
                   13872:   # Code to be used in simple link tests
                   13873:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13874: 
                   13875:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13876: 
                   13877: 
                   13878: 
                   13879: 
                   13880: 
                   13881: 
                   13882: # If no C compiler was specified, use CC.
                   13883: LTCC=${LTCC-"$CC"}
                   13884: 
                   13885: # If no C compiler flags were specified, use CFLAGS.
                   13886: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13887: 
                   13888: # Allow CC to be a program name with arguments.
                   13889: compiler=$CC
                   13890: 
                   13891: 
                   13892:   # save warnings/boilerplate of simple test code
                   13893:   ac_outfile=conftest.$ac_objext
                   13894: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13895: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13896: _lt_compiler_boilerplate=`cat conftest.err`
                   13897: $RM conftest*
                   13898: 
                   13899:   ac_outfile=conftest.$ac_objext
                   13900: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13901: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13902: _lt_linker_boilerplate=`cat conftest.err`
                   13903: $RM -r conftest*
                   13904: 
                   13905: 
                   13906:   # Allow CC to be a program name with arguments.
                   13907:   lt_save_CC=$CC
                   13908:   lt_save_CFLAGS=$CFLAGS
                   13909:   lt_save_LD=$LD
                   13910:   lt_save_GCC=$GCC
                   13911:   GCC=$GXX
                   13912:   lt_save_with_gnu_ld=$with_gnu_ld
                   13913:   lt_save_path_LD=$lt_cv_path_LD
                   13914:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13915:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13916:   else
                   13917:     $as_unset lt_cv_prog_gnu_ld
                   13918:   fi
                   13919:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13920:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13921:   else
                   13922:     $as_unset lt_cv_path_LD
                   13923:   fi
                   13924:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13925:   CC=${CXX-"c++"}
                   13926:   CFLAGS=$CXXFLAGS
                   13927:   compiler=$CC
                   13928:   compiler_CXX=$CC
                   13929:   for cc_temp in $compiler""; do
                   13930:   case $cc_temp in
                   13931:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13932:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13933:     \-*) ;;
                   13934:     *) break;;
                   13935:   esac
                   13936: done
                   13937: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13938: 
                   13939: 
                   13940:   if test -n "$compiler"; then
                   13941:     # We don't want -fno-exception when compiling C++ code, so set the
                   13942:     # no_builtin_flag separately
                   13943:     if test "$GXX" = yes; then
                   13944:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13945:     else
                   13946:       lt_prog_compiler_no_builtin_flag_CXX=
                   13947:     fi
                   13948: 
                   13949:     if test "$GXX" = yes; then
                   13950:       # Set up default GNU C++ configuration
                   13951: 
                   13952: 
                   13953: 
                   13954: # Check whether --with-gnu-ld was given.
                   13955: if test "${with_gnu_ld+set}" = set; then :
                   13956:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   13957: else
                   13958:   with_gnu_ld=no
                   13959: fi
                   13960: 
                   13961: ac_prog=ld
                   13962: if test "$GCC" = yes; then
                   13963:   # Check if gcc -print-prog-name=ld gives a path.
                   13964:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13965: $as_echo_n "checking for ld used by $CC... " >&6; }
                   13966:   case $host in
                   13967:   *-*-mingw*)
                   13968:     # gcc leaves a trailing carriage return which upsets mingw
                   13969:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13970:   *)
                   13971:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13972:   esac
                   13973:   case $ac_prog in
                   13974:     # Accept absolute paths.
                   13975:     [\\/]* | ?:[\\/]*)
                   13976:       re_direlt='/[^/][^/]*/\.\./'
                   13977:       # Canonicalize the pathname of ld
                   13978:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13979:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13980:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13981:       done
                   13982:       test -z "$LD" && LD="$ac_prog"
                   13983:       ;;
                   13984:   "")
                   13985:     # If it fails, then pretend we aren't using GCC.
                   13986:     ac_prog=ld
                   13987:     ;;
                   13988:   *)
                   13989:     # If it is relative, then search for the first ld in PATH.
                   13990:     with_gnu_ld=unknown
                   13991:     ;;
                   13992:   esac
                   13993: elif test "$with_gnu_ld" = yes; then
                   13994:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13995: $as_echo_n "checking for GNU ld... " >&6; }
                   13996: else
                   13997:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13998: $as_echo_n "checking for non-GNU ld... " >&6; }
                   13999: fi
                   14000: if ${lt_cv_path_LD+:} false; then :
                   14001:   $as_echo_n "(cached) " >&6
                   14002: else
                   14003:   if test -z "$LD"; then
                   14004:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   14005:   for ac_dir in $PATH; do
                   14006:     IFS="$lt_save_ifs"
                   14007:     test -z "$ac_dir" && ac_dir=.
                   14008:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   14009:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   14010:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   14011:       # but apparently some variants of GNU ld only accept -v.
                   14012:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   14013:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   14014:       *GNU* | *'with BFD'*)
                   14015:        test "$with_gnu_ld" != no && break
                   14016:        ;;
                   14017:       *)
                   14018:        test "$with_gnu_ld" != yes && break
                   14019:        ;;
                   14020:       esac
                   14021:     fi
                   14022:   done
                   14023:   IFS="$lt_save_ifs"
                   14024: else
                   14025:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   14026: fi
                   14027: fi
                   14028: 
                   14029: LD="$lt_cv_path_LD"
                   14030: if test -n "$LD"; then
                   14031:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   14032: $as_echo "$LD" >&6; }
                   14033: else
                   14034:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14035: $as_echo "no" >&6; }
                   14036: fi
                   14037: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   14038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   14039: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   14040: if ${lt_cv_prog_gnu_ld+:} false; then :
                   14041:   $as_echo_n "(cached) " >&6
                   14042: else
                   14043:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   14044: case `$LD -v 2>&1 </dev/null` in
                   14045: *GNU* | *'with BFD'*)
                   14046:   lt_cv_prog_gnu_ld=yes
                   14047:   ;;
                   14048: *)
                   14049:   lt_cv_prog_gnu_ld=no
                   14050:   ;;
                   14051: esac
                   14052: fi
                   14053: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   14054: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   14055: with_gnu_ld=$lt_cv_prog_gnu_ld
                   14056: 
                   14057: 
                   14058: 
                   14059: 
                   14060: 
                   14061: 
                   14062: 
                   14063:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   14064:       # archiving commands below assume that GNU ld is being used.
                   14065:       if test "$with_gnu_ld" = yes; then
                   14066:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14067:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   14068: 
                   14069:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14070:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14071: 
                   14072:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   14073:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   14074:         #     investigate it a little bit more. (MM)
                   14075:         wlarc='${wl}'
                   14076: 
                   14077:         # ancient GNU ld didn't support --whole-archive et. al.
                   14078:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   14079:          $GREP 'no-whole-archive' > /dev/null; then
                   14080:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14081:         else
                   14082:           whole_archive_flag_spec_CXX=
                   14083:         fi
                   14084:       else
                   14085:         with_gnu_ld=no
                   14086:         wlarc=
                   14087: 
                   14088:         # A generic and very simple default shared library creation
                   14089:         # command for GNU C++ for the case where it uses the native
                   14090:         # linker, instead of GNU ld.  If possible, this setting should
                   14091:         # overridden to take advantage of the native linker features on
                   14092:         # the platform it is being used on.
                   14093:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14094:       fi
                   14095: 
                   14096:       # Commands to make compiler produce verbose output that lists
                   14097:       # what "hidden" libraries, object files and flags are used when
                   14098:       # linking a shared library.
                   14099:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14100: 
                   14101:     else
                   14102:       GXX=no
                   14103:       with_gnu_ld=no
                   14104:       wlarc=
                   14105:     fi
                   14106: 
                   14107:     # PORTME: fill in a description of your system's C++ link characteristics
                   14108:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14109: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   14110:     ld_shlibs_CXX=yes
                   14111:     case $host_os in
                   14112:       aix3*)
                   14113:         # FIXME: insert proper C++ library support
                   14114:         ld_shlibs_CXX=no
                   14115:         ;;
                   14116:       aix[4-9]*)
                   14117:         if test "$host_cpu" = ia64; then
                   14118:           # On IA64, the linker does run time linking by default, so we don't
                   14119:           # have to do anything special.
                   14120:           aix_use_runtimelinking=no
                   14121:           exp_sym_flag='-Bexport'
                   14122:           no_entry_flag=""
                   14123:         else
                   14124:           aix_use_runtimelinking=no
                   14125: 
                   14126:           # Test if we are trying to use run time linking or normal
                   14127:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   14128:           # need to do runtime linking.
                   14129:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   14130:            for ld_flag in $LDFLAGS; do
                   14131:              case $ld_flag in
                   14132:              *-brtl*)
                   14133:                aix_use_runtimelinking=yes
                   14134:                break
                   14135:                ;;
                   14136:              esac
                   14137:            done
                   14138:            ;;
                   14139:           esac
                   14140: 
                   14141:           exp_sym_flag='-bexport'
                   14142:           no_entry_flag='-bnoentry'
                   14143:         fi
                   14144: 
                   14145:         # When large executables or shared objects are built, AIX ld can
                   14146:         # have problems creating the table of contents.  If linking a library
                   14147:         # or program results in "error TOC overflow" add -mminimal-toc to
                   14148:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   14149:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   14150: 
                   14151:         archive_cmds_CXX=''
                   14152:         hardcode_direct_CXX=yes
                   14153:         hardcode_direct_absolute_CXX=yes
                   14154:         hardcode_libdir_separator_CXX=':'
                   14155:         link_all_deplibs_CXX=yes
                   14156:         file_list_spec_CXX='${wl}-f,'
                   14157: 
                   14158:         if test "$GXX" = yes; then
                   14159:           case $host_os in aix4.[012]|aix4.[012].*)
                   14160:           # We only want to do this on AIX 4.2 and lower, the check
                   14161:           # below for broken collect2 doesn't work under 4.3+
                   14162:          collect2name=`${CC} -print-prog-name=collect2`
                   14163:          if test -f "$collect2name" &&
                   14164:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   14165:          then
                   14166:            # We have reworked collect2
                   14167:            :
                   14168:          else
                   14169:            # We have old collect2
                   14170:            hardcode_direct_CXX=unsupported
                   14171:            # It fails to find uninstalled libraries when the uninstalled
                   14172:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   14173:            # to unsupported forces relinking
                   14174:            hardcode_minus_L_CXX=yes
                   14175:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   14176:            hardcode_libdir_separator_CXX=
                   14177:          fi
                   14178:           esac
                   14179:           shared_flag='-shared'
                   14180:          if test "$aix_use_runtimelinking" = yes; then
                   14181:            shared_flag="$shared_flag "'${wl}-G'
                   14182:          fi
                   14183:         else
                   14184:           # not using gcc
                   14185:           if test "$host_cpu" = ia64; then
                   14186:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   14187:          # chokes on -Wl,-G. The following line is correct:
                   14188:          shared_flag='-G'
                   14189:           else
                   14190:            if test "$aix_use_runtimelinking" = yes; then
                   14191:              shared_flag='${wl}-G'
                   14192:            else
                   14193:              shared_flag='${wl}-bM:SRE'
                   14194:            fi
                   14195:           fi
                   14196:         fi
                   14197: 
                   14198:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   14199:         # It seems that -bexpall does not export symbols beginning with
                   14200:         # underscore (_), so it is better to generate a list of symbols to
                   14201:        # export.
                   14202:         always_export_symbols_CXX=yes
                   14203:         if test "$aix_use_runtimelinking" = yes; then
                   14204:           # Warning - without using the other runtime loading flags (-brtl),
                   14205:           # -berok will link without error, but may produce a broken library.
                   14206:           allow_undefined_flag_CXX='-berok'
                   14207:           # Determine the default libpath from the value encoded in an empty
                   14208:           # executable.
                   14209:           if test "${lt_cv_aix_libpath+set}" = set; then
                   14210:   aix_libpath=$lt_cv_aix_libpath
                   14211: else
                   14212:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   14213:   $as_echo_n "(cached) " >&6
                   14214: else
                   14215:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14216: /* end confdefs.h.  */
                   14217: 
                   14218: int
                   14219: main ()
                   14220: {
                   14221: 
                   14222:   ;
                   14223:   return 0;
                   14224: }
                   14225: _ACEOF
                   14226: if ac_fn_cxx_try_link "$LINENO"; then :
                   14227: 
                   14228:   lt_aix_libpath_sed='
                   14229:       /Import File Strings/,/^$/ {
                   14230:          /^0/ {
                   14231:              s/^0  *\([^ ]*\) *$/\1/
                   14232:              p
                   14233:          }
                   14234:       }'
                   14235:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   14236:   # Check for a 64-bit object if we didn't find anything.
                   14237:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   14238:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   14239:   fi
                   14240: fi
                   14241: rm -f core conftest.err conftest.$ac_objext \
                   14242:     conftest$ac_exeext conftest.$ac_ext
                   14243:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   14244:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   14245:   fi
                   14246: 
                   14247: fi
                   14248: 
                   14249:   aix_libpath=$lt_cv_aix_libpath__CXX
                   14250: fi
                   14251: 
                   14252:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   14253: 
                   14254:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   14255:         else
                   14256:           if test "$host_cpu" = ia64; then
                   14257:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   14258:            allow_undefined_flag_CXX="-z nodefs"
                   14259:            archive_expsym_cmds_CXX="\$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"
                   14260:           else
                   14261:            # Determine the default libpath from the value encoded in an
                   14262:            # empty executable.
                   14263:            if test "${lt_cv_aix_libpath+set}" = set; then
                   14264:   aix_libpath=$lt_cv_aix_libpath
                   14265: else
                   14266:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   14267:   $as_echo_n "(cached) " >&6
                   14268: else
                   14269:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14270: /* end confdefs.h.  */
                   14271: 
                   14272: int
                   14273: main ()
                   14274: {
                   14275: 
                   14276:   ;
                   14277:   return 0;
                   14278: }
                   14279: _ACEOF
                   14280: if ac_fn_cxx_try_link "$LINENO"; then :
                   14281: 
                   14282:   lt_aix_libpath_sed='
                   14283:       /Import File Strings/,/^$/ {
                   14284:          /^0/ {
                   14285:              s/^0  *\([^ ]*\) *$/\1/
                   14286:              p
                   14287:          }
                   14288:       }'
                   14289:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   14290:   # Check for a 64-bit object if we didn't find anything.
                   14291:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   14292:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   14293:   fi
                   14294: fi
                   14295: rm -f core conftest.err conftest.$ac_objext \
                   14296:     conftest$ac_exeext conftest.$ac_ext
                   14297:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   14298:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   14299:   fi
                   14300: 
                   14301: fi
                   14302: 
                   14303:   aix_libpath=$lt_cv_aix_libpath__CXX
                   14304: fi
                   14305: 
                   14306:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   14307:            # Warning - without using the other run time loading flags,
                   14308:            # -berok will link without error, but may produce a broken library.
                   14309:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   14310:            allow_undefined_flag_CXX=' ${wl}-berok'
                   14311:            if test "$with_gnu_ld" = yes; then
                   14312:              # We only use this code for GNU lds that support --whole-archive.
                   14313:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14314:            else
                   14315:              # Exported symbols can be pulled into shared objects from archives
                   14316:              whole_archive_flag_spec_CXX='$convenience'
                   14317:            fi
                   14318:            archive_cmds_need_lc_CXX=yes
                   14319:            # This is similar to how AIX traditionally builds its shared
                   14320:            # libraries.
                   14321:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   14322:           fi
                   14323:         fi
                   14324:         ;;
                   14325: 
                   14326:       beos*)
                   14327:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   14328:          allow_undefined_flag_CXX=unsupported
                   14329:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   14330:          # support --undefined.  This deserves some investigation.  FIXME
                   14331:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14332:        else
                   14333:          ld_shlibs_CXX=no
                   14334:        fi
                   14335:        ;;
                   14336: 
                   14337:       chorus*)
                   14338:         case $cc_basename in
                   14339:           *)
                   14340:          # FIXME: insert proper C++ library support
                   14341:          ld_shlibs_CXX=no
                   14342:          ;;
                   14343:         esac
                   14344:         ;;
                   14345: 
                   14346:       cygwin* | mingw* | pw32* | cegcc*)
                   14347:        case $GXX,$cc_basename in
                   14348:        ,cl* | no,cl*)
                   14349:          # Native MSVC
                   14350:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   14351:          # no search path for DLLs.
                   14352:          hardcode_libdir_flag_spec_CXX=' '
                   14353:          allow_undefined_flag_CXX=unsupported
                   14354:          always_export_symbols_CXX=yes
                   14355:          file_list_spec_CXX='@'
                   14356:          # Tell ltmain to make .lib files, not .a files.
                   14357:          libext=lib
                   14358:          # Tell ltmain to make .dll files, not .so files.
                   14359:          shrext_cmds=".dll"
                   14360:          # FIXME: Setting linknames here is a bad hack.
                   14361:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   14362:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   14363:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   14364:            else
                   14365:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   14366:            fi~
                   14367:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   14368:            linknames='
                   14369:          # The linker will not automatically build a static lib if we build a DLL.
                   14370:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   14371:          enable_shared_with_static_runtimes_CXX=yes
                   14372:          # Don't use ranlib
                   14373:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   14374:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   14375:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   14376:            case $lt_outputfile in
                   14377:              *.exe|*.EXE) ;;
                   14378:              *)
                   14379:                lt_outputfile="$lt_outputfile.exe"
                   14380:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   14381:                ;;
                   14382:            esac~
                   14383:            func_to_tool_file "$lt_outputfile"~
                   14384:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   14385:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   14386:              $RM "$lt_outputfile.manifest";
                   14387:            fi'
                   14388:          ;;
                   14389:        *)
                   14390:          # g++
                   14391:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   14392:          # as there is no search path for DLLs.
                   14393:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   14394:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   14395:          allow_undefined_flag_CXX=unsupported
                   14396:          always_export_symbols_CXX=no
                   14397:          enable_shared_with_static_runtimes_CXX=yes
                   14398: 
                   14399:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   14400:            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   14401:            # If the export-symbols file already is a .def file (1st line
                   14402:            # is EXPORTS), use it as is; otherwise, prepend...
                   14403:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   14404:              cp $export_symbols $output_objdir/$soname.def;
                   14405:            else
                   14406:              echo EXPORTS > $output_objdir/$soname.def;
                   14407:              cat $export_symbols >> $output_objdir/$soname.def;
                   14408:            fi~
                   14409:            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   14410:          else
                   14411:            ld_shlibs_CXX=no
                   14412:          fi
                   14413:          ;;
                   14414:        esac
                   14415:        ;;
                   14416:       darwin* | rhapsody*)
                   14417: 
                   14418: 
                   14419:   archive_cmds_need_lc_CXX=no
                   14420:   hardcode_direct_CXX=no
                   14421:   hardcode_automatic_CXX=yes
                   14422:   hardcode_shlibpath_var_CXX=unsupported
                   14423:   if test "$lt_cv_ld_force_load" = "yes"; then
                   14424:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1.1.1.4   misho    14425: 
1.1       misho    14426:   else
                   14427:     whole_archive_flag_spec_CXX=''
                   14428:   fi
                   14429:   link_all_deplibs_CXX=yes
                   14430:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   14431:   case $cc_basename in
                   14432:      ifort*) _lt_dar_can_shared=yes ;;
                   14433:      *) _lt_dar_can_shared=$GCC ;;
                   14434:   esac
                   14435:   if test "$_lt_dar_can_shared" = "yes"; then
                   14436:     output_verbose_link_cmd=func_echo_all
                   14437:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   14438:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   14439:     archive_expsym_cmds_CXX="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}"
                   14440:     module_expsym_cmds_CXX="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}"
                   14441:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   14442:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
                   14443:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
                   14444:     fi
                   14445: 
                   14446:   else
                   14447:   ld_shlibs_CXX=no
                   14448:   fi
                   14449: 
                   14450:        ;;
                   14451: 
                   14452:       dgux*)
                   14453:         case $cc_basename in
                   14454:           ec++*)
                   14455:            # FIXME: insert proper C++ library support
                   14456:            ld_shlibs_CXX=no
                   14457:            ;;
                   14458:           ghcx*)
                   14459:            # Green Hills C++ Compiler
                   14460:            # FIXME: insert proper C++ library support
                   14461:            ld_shlibs_CXX=no
                   14462:            ;;
                   14463:           *)
                   14464:            # FIXME: insert proper C++ library support
                   14465:            ld_shlibs_CXX=no
                   14466:            ;;
                   14467:         esac
                   14468:         ;;
                   14469: 
1.1.1.4   misho    14470:       freebsd2.*)
1.1       misho    14471:         # C++ shared libraries reported to be fairly broken before
                   14472:        # switch to ELF
                   14473:         ld_shlibs_CXX=no
                   14474:         ;;
                   14475: 
                   14476:       freebsd-elf*)
                   14477:         archive_cmds_need_lc_CXX=no
                   14478:         ;;
                   14479: 
                   14480:       freebsd* | dragonfly*)
                   14481:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   14482:         # conventions
                   14483:         ld_shlibs_CXX=yes
                   14484:         ;;
                   14485: 
                   14486:       gnu*)
                   14487:         ;;
                   14488: 
                   14489:       haiku*)
                   14490:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14491:         link_all_deplibs_CXX=yes
                   14492:         ;;
                   14493: 
                   14494:       hpux9*)
                   14495:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14496:         hardcode_libdir_separator_CXX=:
                   14497:         export_dynamic_flag_spec_CXX='${wl}-E'
                   14498:         hardcode_direct_CXX=yes
                   14499:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14500:                                             # but as the default
                   14501:                                             # location of the library.
                   14502: 
                   14503:         case $cc_basename in
                   14504:           CC*)
                   14505:             # FIXME: insert proper C++ library support
                   14506:             ld_shlibs_CXX=no
                   14507:             ;;
                   14508:           aCC*)
                   14509:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   14510:             # Commands to make compiler produce verbose output that lists
                   14511:             # what "hidden" libraries, object files and flags are used when
                   14512:             # linking a shared library.
                   14513:             #
                   14514:             # There doesn't appear to be a way to prevent this compiler from
                   14515:             # explicitly linking system object files so we need to strip them
                   14516:             # from the output so that they don't get included in the library
                   14517:             # dependencies.
                   14518:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14519:             ;;
                   14520:           *)
                   14521:             if test "$GXX" = yes; then
                   14522:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   14523:             else
                   14524:               # FIXME: insert proper C++ library support
                   14525:               ld_shlibs_CXX=no
                   14526:             fi
                   14527:             ;;
                   14528:         esac
                   14529:         ;;
                   14530: 
                   14531:       hpux10*|hpux11*)
                   14532:         if test $with_gnu_ld = no; then
                   14533:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14534:          hardcode_libdir_separator_CXX=:
                   14535: 
                   14536:           case $host_cpu in
                   14537:             hppa*64*|ia64*)
                   14538:               ;;
                   14539:             *)
                   14540:              export_dynamic_flag_spec_CXX='${wl}-E'
                   14541:               ;;
                   14542:           esac
                   14543:         fi
                   14544:         case $host_cpu in
                   14545:           hppa*64*|ia64*)
                   14546:             hardcode_direct_CXX=no
                   14547:             hardcode_shlibpath_var_CXX=no
                   14548:             ;;
                   14549:           *)
                   14550:             hardcode_direct_CXX=yes
                   14551:             hardcode_direct_absolute_CXX=yes
                   14552:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14553:                                                 # but as the default
                   14554:                                                 # location of the library.
                   14555:             ;;
                   14556:         esac
                   14557: 
                   14558:         case $cc_basename in
                   14559:           CC*)
                   14560:            # FIXME: insert proper C++ library support
                   14561:            ld_shlibs_CXX=no
                   14562:            ;;
                   14563:           aCC*)
                   14564:            case $host_cpu in
                   14565:              hppa*64*)
                   14566:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14567:                ;;
                   14568:              ia64*)
                   14569:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14570:                ;;
                   14571:              *)
                   14572:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14573:                ;;
                   14574:            esac
                   14575:            # Commands to make compiler produce verbose output that lists
                   14576:            # what "hidden" libraries, object files and flags are used when
                   14577:            # linking a shared library.
                   14578:            #
                   14579:            # There doesn't appear to be a way to prevent this compiler from
                   14580:            # explicitly linking system object files so we need to strip them
                   14581:            # from the output so that they don't get included in the library
                   14582:            # dependencies.
                   14583:            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14584:            ;;
                   14585:           *)
                   14586:            if test "$GXX" = yes; then
                   14587:              if test $with_gnu_ld = no; then
                   14588:                case $host_cpu in
                   14589:                  hppa*64*)
                   14590:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14591:                    ;;
                   14592:                  ia64*)
                   14593:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14594:                    ;;
                   14595:                  *)
                   14596:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14597:                    ;;
                   14598:                esac
                   14599:              fi
                   14600:            else
                   14601:              # FIXME: insert proper C++ library support
                   14602:              ld_shlibs_CXX=no
                   14603:            fi
                   14604:            ;;
                   14605:         esac
                   14606:         ;;
                   14607: 
                   14608:       interix[3-9]*)
                   14609:        hardcode_direct_CXX=no
                   14610:        hardcode_shlibpath_var_CXX=no
                   14611:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14612:        export_dynamic_flag_spec_CXX='${wl}-E'
                   14613:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   14614:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   14615:        # default) and relocated if they conflict, which is a slow very memory
                   14616:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   14617:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   14618:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   14619:        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   14620:        archive_expsym_cmds_CXX='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'
                   14621:        ;;
                   14622:       irix5* | irix6*)
                   14623:         case $cc_basename in
                   14624:           CC*)
                   14625:            # SGI C++
                   14626:            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14627: 
                   14628:            # Archives containing C++ object files must be created using
                   14629:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   14630:            # necessary to make sure instantiated templates are included
                   14631:            # in the archive.
                   14632:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   14633:            ;;
                   14634:           *)
                   14635:            if test "$GXX" = yes; then
                   14636:              if test "$with_gnu_ld" = no; then
                   14637:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
                   14638:              else
                   14639:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
                   14640:              fi
                   14641:            fi
                   14642:            link_all_deplibs_CXX=yes
                   14643:            ;;
                   14644:         esac
                   14645:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14646:         hardcode_libdir_separator_CXX=:
                   14647:         inherit_rpath_CXX=yes
                   14648:         ;;
                   14649: 
                   14650:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14651:         case $cc_basename in
                   14652:           KCC*)
                   14653:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14654: 
                   14655:            # KCC will only create a shared library if the output file
                   14656:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14657:            # to its proper name (with version) after linking.
                   14658:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   14659:            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
                   14660:            # Commands to make compiler produce verbose output that lists
                   14661:            # what "hidden" libraries, object files and flags are used when
                   14662:            # linking a shared library.
                   14663:            #
                   14664:            # There doesn't appear to be a way to prevent this compiler from
                   14665:            # explicitly linking system object files so we need to strip them
                   14666:            # from the output so that they don't get included in the library
                   14667:            # dependencies.
                   14668:            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14669: 
                   14670:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14671:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14672: 
                   14673:            # Archives containing C++ object files must be created using
                   14674:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   14675:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   14676:            ;;
                   14677:          icpc* | ecpc* )
                   14678:            # Intel C++
                   14679:            with_gnu_ld=yes
                   14680:            # version 8.0 and above of icpc choke on multiply defined symbols
                   14681:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   14682:            # earlier do not add the objects themselves.
                   14683:            case `$CC -V 2>&1` in
                   14684:              *"Version 7."*)
                   14685:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14686:                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   14687:                ;;
                   14688:              *)  # Version 8.0 or newer
                   14689:                tmp_idyn=
                   14690:                case $host_cpu in
                   14691:                  ia64*) tmp_idyn=' -i_dynamic';;
                   14692:                esac
                   14693:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14694:                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   14695:                ;;
                   14696:            esac
                   14697:            archive_cmds_need_lc_CXX=no
                   14698:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14699:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14700:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14701:            ;;
                   14702:           pgCC* | pgcpp*)
                   14703:             # Portland Group C++ compiler
                   14704:            case `$CC -V` in
                   14705:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   14706:              prelink_cmds_CXX='tpldir=Template.dir~
                   14707:                rm -rf $tpldir~
                   14708:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   14709:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   14710:              old_archive_cmds_CXX='tpldir=Template.dir~
                   14711:                rm -rf $tpldir~
                   14712:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   14713:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   14714:                $RANLIB $oldlib'
                   14715:              archive_cmds_CXX='tpldir=Template.dir~
                   14716:                rm -rf $tpldir~
                   14717:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14718:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14719:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   14720:                rm -rf $tpldir~
                   14721:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14722:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   14723:              ;;
                   14724:            *) # Version 6 and above use weak symbols
                   14725:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14726:              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   14727:              ;;
                   14728:            esac
                   14729: 
                   14730:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14731:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14732:            whole_archive_flag_spec_CXX='${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'
                   14733:             ;;
                   14734:          cxx*)
                   14735:            # Compaq C++
                   14736:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14737:            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
                   14738: 
                   14739:            runpath_var=LD_RUN_PATH
                   14740:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14741:            hardcode_libdir_separator_CXX=:
                   14742: 
                   14743:            # Commands to make compiler produce verbose output that lists
                   14744:            # what "hidden" libraries, object files and flags are used when
                   14745:            # linking a shared library.
                   14746:            #
                   14747:            # There doesn't appear to be a way to prevent this compiler from
                   14748:            # explicitly linking system object files so we need to strip them
                   14749:            # from the output so that they don't get included in the library
                   14750:            # dependencies.
                   14751:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
                   14752:            ;;
                   14753:          xl* | mpixl* | bgxl*)
                   14754:            # IBM XL 8.0 on PPC, with GNU ld
                   14755:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14756:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14757:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14758:            if test "x$supports_anon_versioning" = xyes; then
                   14759:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14760:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14761:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14762:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14763:            fi
                   14764:            ;;
                   14765:          *)
                   14766:            case `$CC -V 2>&1 | sed 5q` in
                   14767:            *Sun\ C*)
                   14768:              # Sun C++ 5.9
                   14769:              no_undefined_flag_CXX=' -zdefs'
                   14770:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14771:              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
                   14772:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14773:              whole_archive_flag_spec_CXX='${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'
                   14774:              compiler_needs_object_CXX=yes
                   14775: 
                   14776:              # Not sure whether something based on
                   14777:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14778:              # would be better.
                   14779:              output_verbose_link_cmd='func_echo_all'
                   14780: 
                   14781:              # Archives containing C++ object files must be created using
                   14782:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14783:              # necessary to make sure instantiated templates are included
                   14784:              # in the archive.
                   14785:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14786:              ;;
                   14787:            esac
                   14788:            ;;
                   14789:        esac
                   14790:        ;;
                   14791: 
                   14792:       lynxos*)
                   14793:         # FIXME: insert proper C++ library support
                   14794:        ld_shlibs_CXX=no
                   14795:        ;;
                   14796: 
                   14797:       m88k*)
                   14798:         # FIXME: insert proper C++ library support
                   14799:         ld_shlibs_CXX=no
                   14800:        ;;
                   14801: 
                   14802:       mvs*)
                   14803:         case $cc_basename in
                   14804:           cxx*)
                   14805:            # FIXME: insert proper C++ library support
                   14806:            ld_shlibs_CXX=no
                   14807:            ;;
                   14808:          *)
                   14809:            # FIXME: insert proper C++ library support
                   14810:            ld_shlibs_CXX=no
                   14811:            ;;
                   14812:        esac
                   14813:        ;;
                   14814: 
                   14815:       netbsd*)
                   14816:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14817:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14818:          wlarc=
                   14819:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14820:          hardcode_direct_CXX=yes
                   14821:          hardcode_shlibpath_var_CXX=no
                   14822:        fi
                   14823:        # Workaround some broken pre-1.5 toolchains
                   14824:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14825:        ;;
                   14826: 
                   14827:       *nto* | *qnx*)
                   14828:         ld_shlibs_CXX=yes
                   14829:        ;;
                   14830: 
                   14831:       openbsd2*)
                   14832:         # C++ shared libraries are fairly broken
                   14833:        ld_shlibs_CXX=no
                   14834:        ;;
                   14835: 
                   14836:       openbsd*)
                   14837:        if test -f /usr/libexec/ld.so; then
                   14838:          hardcode_direct_CXX=yes
                   14839:          hardcode_shlibpath_var_CXX=no
                   14840:          hardcode_direct_absolute_CXX=yes
                   14841:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14842:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14843:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14844:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14845:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14846:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14847:          fi
                   14848:          output_verbose_link_cmd=func_echo_all
                   14849:        else
                   14850:          ld_shlibs_CXX=no
                   14851:        fi
                   14852:        ;;
                   14853: 
                   14854:       osf3* | osf4* | osf5*)
                   14855:         case $cc_basename in
                   14856:           KCC*)
                   14857:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14858: 
                   14859:            # KCC will only create a shared library if the output file
                   14860:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14861:            # to its proper name (with version) after linking.
                   14862:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   14863: 
                   14864:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14865:            hardcode_libdir_separator_CXX=:
                   14866: 
                   14867:            # Archives containing C++ object files must be created using
                   14868:            # the KAI C++ compiler.
                   14869:            case $host in
                   14870:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14871:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14872:            esac
                   14873:            ;;
                   14874:           RCC*)
                   14875:            # Rational C++ 2.4.1
                   14876:            # FIXME: insert proper C++ library support
                   14877:            ld_shlibs_CXX=no
                   14878:            ;;
                   14879:           cxx*)
                   14880:            case $host in
                   14881:              osf3*)
                   14882:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14883:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14884:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14885:                ;;
                   14886:              *)
                   14887:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14888:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14889:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14890:                  echo "-hidden">> $lib.exp~
                   14891:                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                   14892:                  $RM $lib.exp'
                   14893:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14894:                ;;
                   14895:            esac
                   14896: 
                   14897:            hardcode_libdir_separator_CXX=:
                   14898: 
                   14899:            # Commands to make compiler produce verbose output that lists
                   14900:            # what "hidden" libraries, object files and flags are used when
                   14901:            # linking a shared library.
                   14902:            #
                   14903:            # There doesn't appear to be a way to prevent this compiler from
                   14904:            # explicitly linking system object files so we need to strip them
                   14905:            # from the output so that they don't get included in the library
                   14906:            # dependencies.
                   14907:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14908:            ;;
                   14909:          *)
                   14910:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14911:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14912:              case $host in
                   14913:                osf3*)
                   14914:                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
                   14915:                  ;;
                   14916:                *)
                   14917:                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
                   14918:                  ;;
                   14919:              esac
                   14920: 
                   14921:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14922:              hardcode_libdir_separator_CXX=:
                   14923: 
                   14924:              # Commands to make compiler produce verbose output that lists
                   14925:              # what "hidden" libraries, object files and flags are used when
                   14926:              # linking a shared library.
                   14927:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14928: 
                   14929:            else
                   14930:              # FIXME: insert proper C++ library support
                   14931:              ld_shlibs_CXX=no
                   14932:            fi
                   14933:            ;;
                   14934:         esac
                   14935:         ;;
                   14936: 
                   14937:       psos*)
                   14938:         # FIXME: insert proper C++ library support
                   14939:         ld_shlibs_CXX=no
                   14940:         ;;
                   14941: 
                   14942:       sunos4*)
                   14943:         case $cc_basename in
                   14944:           CC*)
                   14945:            # Sun C++ 4.x
                   14946:            # FIXME: insert proper C++ library support
                   14947:            ld_shlibs_CXX=no
                   14948:            ;;
                   14949:           lcc*)
                   14950:            # Lucid
                   14951:            # FIXME: insert proper C++ library support
                   14952:            ld_shlibs_CXX=no
                   14953:            ;;
                   14954:           *)
                   14955:            # FIXME: insert proper C++ library support
                   14956:            ld_shlibs_CXX=no
                   14957:            ;;
                   14958:         esac
                   14959:         ;;
                   14960: 
                   14961:       solaris*)
                   14962:         case $cc_basename in
                   14963:           CC* | sunCC*)
                   14964:            # Sun C++ 4.2, 5.x and Centerline C++
                   14965:             archive_cmds_need_lc_CXX=yes
                   14966:            no_undefined_flag_CXX=' -zdefs'
                   14967:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14968:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14969:              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14970: 
                   14971:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14972:            hardcode_shlibpath_var_CXX=no
                   14973:            case $host_os in
                   14974:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14975:              *)
                   14976:                # The compiler driver will combine and reorder linker options,
                   14977:                # but understands `-z linker_flag'.
                   14978:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14979:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14980:                ;;
                   14981:            esac
                   14982:            link_all_deplibs_CXX=yes
                   14983: 
                   14984:            output_verbose_link_cmd='func_echo_all'
                   14985: 
                   14986:            # Archives containing C++ object files must be created using
                   14987:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14988:            # necessary to make sure instantiated templates are included
                   14989:            # in the archive.
                   14990:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14991:            ;;
                   14992:           gcx*)
                   14993:            # Green Hills C++ Compiler
                   14994:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14995: 
                   14996:            # The C++ compiler must be used to create the archive.
                   14997:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14998:            ;;
                   14999:           *)
                   15000:            # GNU C++ compiler with Solaris linker
                   15001:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   15002:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   15003:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   15004:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   15005:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   15006:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   15007: 
                   15008:                # Commands to make compiler produce verbose output that lists
                   15009:                # what "hidden" libraries, object files and flags are used when
                   15010:                # linking a shared library.
                   15011:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   15012:              else
                   15013:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   15014:                # platform.
                   15015:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   15016:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   15017:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   15018: 
                   15019:                # Commands to make compiler produce verbose output that lists
                   15020:                # what "hidden" libraries, object files and flags are used when
                   15021:                # linking a shared library.
                   15022:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   15023:              fi
                   15024: 
                   15025:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   15026:              case $host_os in
                   15027:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   15028:                *)
                   15029:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   15030:                  ;;
                   15031:              esac
                   15032:            fi
                   15033:            ;;
                   15034:         esac
                   15035:         ;;
                   15036: 
                   15037:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   15038:       no_undefined_flag_CXX='${wl}-z,text'
                   15039:       archive_cmds_need_lc_CXX=no
                   15040:       hardcode_shlibpath_var_CXX=no
                   15041:       runpath_var='LD_RUN_PATH'
                   15042: 
                   15043:       case $cc_basename in
                   15044:         CC*)
                   15045:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15046:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15047:          ;;
                   15048:        *)
                   15049:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15050:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15051:          ;;
                   15052:       esac
                   15053:       ;;
                   15054: 
                   15055:       sysv5* | sco3.2v5* | sco5v6*)
                   15056:        # Note: We can NOT use -z defs as we might desire, because we do not
                   15057:        # link with -lc, and that would cause any symbols used from libc to
                   15058:        # always be unresolved, which means just about no library would
                   15059:        # ever link correctly.  If we're not using GNU ld we use -z text
                   15060:        # though, which does catch some bad symbols but isn't as heavy-handed
                   15061:        # as -z defs.
                   15062:        no_undefined_flag_CXX='${wl}-z,text'
                   15063:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   15064:        archive_cmds_need_lc_CXX=no
                   15065:        hardcode_shlibpath_var_CXX=no
                   15066:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   15067:        hardcode_libdir_separator_CXX=':'
                   15068:        link_all_deplibs_CXX=yes
                   15069:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   15070:        runpath_var='LD_RUN_PATH'
                   15071: 
                   15072:        case $cc_basename in
                   15073:           CC*)
                   15074:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15075:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15076:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   15077:              '"$old_archive_cmds_CXX"
                   15078:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   15079:              '"$reload_cmds_CXX"
                   15080:            ;;
                   15081:          *)
                   15082:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15083:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   15084:            ;;
                   15085:        esac
                   15086:       ;;
                   15087: 
                   15088:       tandem*)
                   15089:         case $cc_basename in
                   15090:           NCC*)
                   15091:            # NonStop-UX NCC 3.20
                   15092:            # FIXME: insert proper C++ library support
                   15093:            ld_shlibs_CXX=no
                   15094:            ;;
                   15095:           *)
                   15096:            # FIXME: insert proper C++ library support
                   15097:            ld_shlibs_CXX=no
                   15098:            ;;
                   15099:         esac
                   15100:         ;;
                   15101: 
                   15102:       vxworks*)
                   15103:         # FIXME: insert proper C++ library support
                   15104:         ld_shlibs_CXX=no
                   15105:         ;;
                   15106: 
                   15107:       *)
                   15108:         # FIXME: insert proper C++ library support
                   15109:         ld_shlibs_CXX=no
                   15110:         ;;
                   15111:     esac
                   15112: 
                   15113:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15114: $as_echo "$ld_shlibs_CXX" >&6; }
                   15115:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15116: 
                   15117:     GCC_CXX="$GXX"
                   15118:     LD_CXX="$LD"
                   15119: 
                   15120:     ## CAVEAT EMPTOR:
                   15121:     ## There is no encapsulation within the following macros, do not change
                   15122:     ## the running order or otherwise move them around unless you know exactly
                   15123:     ## what you are doing...
                   15124:     # Dependencies to place before and after the object being linked:
                   15125: predep_objects_CXX=
                   15126: postdep_objects_CXX=
                   15127: predeps_CXX=
                   15128: postdeps_CXX=
                   15129: compiler_lib_search_path_CXX=
                   15130: 
                   15131: cat > conftest.$ac_ext <<_LT_EOF
                   15132: class Foo
                   15133: {
                   15134: public:
                   15135:   Foo (void) { a = 0; }
                   15136: private:
                   15137:   int a;
                   15138: };
                   15139: _LT_EOF
                   15140: 
                   15141: 
                   15142: _lt_libdeps_save_CFLAGS=$CFLAGS
                   15143: case "$CC $CFLAGS " in #(
                   15144: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   15145: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
1.1.1.4   misho    15146: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
1.1       misho    15147: esac
                   15148: 
                   15149: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   15150:   (eval $ac_compile) 2>&5
                   15151:   ac_status=$?
                   15152:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15153:   test $ac_status = 0; }; then
                   15154:   # Parse the compiler output and extract the necessary
                   15155:   # objects, libraries and library flags.
                   15156: 
                   15157:   # Sentinel used to keep track of whether or not we are before
                   15158:   # the conftest object file.
                   15159:   pre_test_object_deps_done=no
                   15160: 
                   15161:   for p in `eval "$output_verbose_link_cmd"`; do
                   15162:     case ${prev}${p} in
                   15163: 
                   15164:     -L* | -R* | -l*)
                   15165:        # Some compilers place space between "-{L,R}" and the path.
                   15166:        # Remove the space.
                   15167:        if test $p = "-L" ||
                   15168:           test $p = "-R"; then
                   15169:         prev=$p
                   15170:         continue
                   15171:        fi
                   15172: 
                   15173:        # Expand the sysroot to ease extracting the directories later.
                   15174:        if test -z "$prev"; then
                   15175:          case $p in
                   15176:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   15177:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   15178:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   15179:          esac
                   15180:        fi
                   15181:        case $p in
                   15182:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   15183:        esac
                   15184:        if test "$pre_test_object_deps_done" = no; then
                   15185:         case ${prev} in
                   15186:         -L | -R)
                   15187:           # Internal compiler library paths should come after those
                   15188:           # provided the user.  The postdeps already come after the
                   15189:           # user supplied libs so there is no need to process them.
                   15190:           if test -z "$compiler_lib_search_path_CXX"; then
                   15191:             compiler_lib_search_path_CXX="${prev}${p}"
                   15192:           else
                   15193:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   15194:           fi
                   15195:           ;;
                   15196:         # The "-l" case would never come before the object being
                   15197:         # linked, so don't bother handling this case.
                   15198:         esac
                   15199:        else
                   15200:         if test -z "$postdeps_CXX"; then
                   15201:           postdeps_CXX="${prev}${p}"
                   15202:         else
                   15203:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   15204:         fi
                   15205:        fi
                   15206:        prev=
                   15207:        ;;
                   15208: 
                   15209:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   15210:     *.$objext)
                   15211:        # This assumes that the test object file only shows up
                   15212:        # once in the compiler output.
                   15213:        if test "$p" = "conftest.$objext"; then
                   15214:         pre_test_object_deps_done=yes
                   15215:         continue
                   15216:        fi
                   15217: 
                   15218:        if test "$pre_test_object_deps_done" = no; then
                   15219:         if test -z "$predep_objects_CXX"; then
                   15220:           predep_objects_CXX="$p"
                   15221:         else
                   15222:           predep_objects_CXX="$predep_objects_CXX $p"
                   15223:         fi
                   15224:        else
                   15225:         if test -z "$postdep_objects_CXX"; then
                   15226:           postdep_objects_CXX="$p"
                   15227:         else
                   15228:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   15229:         fi
                   15230:        fi
                   15231:        ;;
                   15232: 
                   15233:     *) ;; # Ignore the rest.
                   15234: 
                   15235:     esac
                   15236:   done
                   15237: 
                   15238:   # Clean up.
                   15239:   rm -f a.out a.exe
                   15240: else
                   15241:   echo "libtool.m4: error: problem compiling CXX test program"
                   15242: fi
                   15243: 
                   15244: $RM -f confest.$objext
                   15245: CFLAGS=$_lt_libdeps_save_CFLAGS
                   15246: 
                   15247: # PORTME: override above test on systems where it is broken
                   15248: case $host_os in
                   15249: interix[3-9]*)
                   15250:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   15251:   # hack all around it, let's just trust "g++" to DTRT.
                   15252:   predep_objects_CXX=
                   15253:   postdep_objects_CXX=
                   15254:   postdeps_CXX=
                   15255:   ;;
                   15256: 
                   15257: linux*)
                   15258:   case `$CC -V 2>&1 | sed 5q` in
                   15259:   *Sun\ C*)
                   15260:     # Sun C++ 5.9
                   15261: 
                   15262:     # The more standards-conforming stlport4 library is
                   15263:     # incompatible with the Cstd library. Avoid specifying
                   15264:     # it if it's in CXXFLAGS. Ignore libCrun as
                   15265:     # -library=stlport4 depends on it.
                   15266:     case " $CXX $CXXFLAGS " in
                   15267:     *" -library=stlport4 "*)
                   15268:       solaris_use_stlport4=yes
                   15269:       ;;
                   15270:     esac
                   15271: 
                   15272:     if test "$solaris_use_stlport4" != yes; then
                   15273:       postdeps_CXX='-library=Cstd -library=Crun'
                   15274:     fi
                   15275:     ;;
                   15276:   esac
                   15277:   ;;
                   15278: 
                   15279: solaris*)
                   15280:   case $cc_basename in
                   15281:   CC* | sunCC*)
                   15282:     # The more standards-conforming stlport4 library is
                   15283:     # incompatible with the Cstd library. Avoid specifying
                   15284:     # it if it's in CXXFLAGS. Ignore libCrun as
                   15285:     # -library=stlport4 depends on it.
                   15286:     case " $CXX $CXXFLAGS " in
                   15287:     *" -library=stlport4 "*)
                   15288:       solaris_use_stlport4=yes
                   15289:       ;;
                   15290:     esac
                   15291: 
                   15292:     # Adding this requires a known-good setup of shared libraries for
                   15293:     # Sun compiler versions before 5.6, else PIC objects from an old
                   15294:     # archive will be linked into the output, leading to subtle bugs.
                   15295:     if test "$solaris_use_stlport4" != yes; then
                   15296:       postdeps_CXX='-library=Cstd -library=Crun'
                   15297:     fi
                   15298:     ;;
                   15299:   esac
                   15300:   ;;
                   15301: esac
                   15302: 
                   15303: 
                   15304: case " $postdeps_CXX " in
                   15305: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   15306: esac
                   15307:  compiler_lib_search_dirs_CXX=
                   15308: if test -n "${compiler_lib_search_path_CXX}"; then
                   15309:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   15310: fi
                   15311: 
                   15312: 
                   15313: 
                   15314: 
                   15315: 
                   15316: 
                   15317: 
                   15318: 
                   15319: 
                   15320: 
                   15321: 
                   15322: 
                   15323: 
                   15324: 
                   15325: 
                   15326: 
                   15327: 
                   15328: 
                   15329: 
                   15330: 
                   15331: 
                   15332: 
                   15333: 
                   15334: 
                   15335: 
                   15336: 
                   15337: 
                   15338: 
                   15339: 
                   15340: 
                   15341: 
                   15342:     lt_prog_compiler_wl_CXX=
                   15343: lt_prog_compiler_pic_CXX=
                   15344: lt_prog_compiler_static_CXX=
                   15345: 
                   15346: 
                   15347:   # C++ specific cases for pic, static, wl, etc.
                   15348:   if test "$GXX" = yes; then
                   15349:     lt_prog_compiler_wl_CXX='-Wl,'
                   15350:     lt_prog_compiler_static_CXX='-static'
                   15351: 
                   15352:     case $host_os in
                   15353:     aix*)
                   15354:       # All AIX code is PIC.
                   15355:       if test "$host_cpu" = ia64; then
                   15356:        # AIX 5 now supports IA64 processor
                   15357:        lt_prog_compiler_static_CXX='-Bstatic'
                   15358:       fi
                   15359:       ;;
                   15360: 
                   15361:     amigaos*)
                   15362:       case $host_cpu in
                   15363:       powerpc)
                   15364:             # see comment about AmigaOS4 .so support
                   15365:             lt_prog_compiler_pic_CXX='-fPIC'
                   15366:         ;;
                   15367:       m68k)
                   15368:             # FIXME: we need at least 68020 code to build shared libraries, but
                   15369:             # adding the `-m68020' flag to GCC prevents building anything better,
                   15370:             # like `-m68040'.
                   15371:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   15372:         ;;
                   15373:       esac
                   15374:       ;;
                   15375: 
                   15376:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   15377:       # PIC is the default for these OSes.
                   15378:       ;;
                   15379:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   15380:       # This hack is so that the source file can tell whether it is being
                   15381:       # built for inclusion in a dll (and should export symbols for example).
                   15382:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   15383:       # (--disable-auto-import) libraries
                   15384:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   15385:       ;;
                   15386:     darwin* | rhapsody*)
                   15387:       # PIC is the default on this platform
                   15388:       # Common symbols not allowed in MH_DYLIB files
                   15389:       lt_prog_compiler_pic_CXX='-fno-common'
                   15390:       ;;
                   15391:     *djgpp*)
                   15392:       # DJGPP does not support shared libraries at all
                   15393:       lt_prog_compiler_pic_CXX=
                   15394:       ;;
                   15395:     haiku*)
                   15396:       # PIC is the default for Haiku.
                   15397:       # The "-static" flag exists, but is broken.
                   15398:       lt_prog_compiler_static_CXX=
                   15399:       ;;
                   15400:     interix[3-9]*)
                   15401:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   15402:       # Instead, we relocate shared libraries at runtime.
                   15403:       ;;
                   15404:     sysv4*MP*)
                   15405:       if test -d /usr/nec; then
                   15406:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   15407:       fi
                   15408:       ;;
                   15409:     hpux*)
                   15410:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   15411:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   15412:       # sets the default TLS model and affects inlining.
                   15413:       case $host_cpu in
                   15414:       hppa*64*)
                   15415:        ;;
                   15416:       *)
                   15417:        lt_prog_compiler_pic_CXX='-fPIC'
                   15418:        ;;
                   15419:       esac
                   15420:       ;;
                   15421:     *qnx* | *nto*)
                   15422:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15423:       # it will coredump.
                   15424:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15425:       ;;
                   15426:     *)
                   15427:       lt_prog_compiler_pic_CXX='-fPIC'
                   15428:       ;;
                   15429:     esac
                   15430:   else
                   15431:     case $host_os in
                   15432:       aix[4-9]*)
                   15433:        # All AIX code is PIC.
                   15434:        if test "$host_cpu" = ia64; then
                   15435:          # AIX 5 now supports IA64 processor
                   15436:          lt_prog_compiler_static_CXX='-Bstatic'
                   15437:        else
                   15438:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   15439:        fi
                   15440:        ;;
                   15441:       chorus*)
                   15442:        case $cc_basename in
                   15443:        cxch68*)
                   15444:          # Green Hills C++ Compiler
                   15445:          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
                   15446:          ;;
                   15447:        esac
                   15448:        ;;
                   15449:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   15450:        # This hack is so that the source file can tell whether it is being
                   15451:        # built for inclusion in a dll (and should export symbols for example).
                   15452:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   15453:        ;;
                   15454:       dgux*)
                   15455:        case $cc_basename in
                   15456:          ec++*)
                   15457:            lt_prog_compiler_pic_CXX='-KPIC'
                   15458:            ;;
                   15459:          ghcx*)
                   15460:            # Green Hills C++ Compiler
                   15461:            lt_prog_compiler_pic_CXX='-pic'
                   15462:            ;;
                   15463:          *)
                   15464:            ;;
                   15465:        esac
                   15466:        ;;
                   15467:       freebsd* | dragonfly*)
                   15468:        # FreeBSD uses GNU C++
                   15469:        ;;
                   15470:       hpux9* | hpux10* | hpux11*)
                   15471:        case $cc_basename in
                   15472:          CC*)
                   15473:            lt_prog_compiler_wl_CXX='-Wl,'
                   15474:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   15475:            if test "$host_cpu" != ia64; then
                   15476:              lt_prog_compiler_pic_CXX='+Z'
                   15477:            fi
                   15478:            ;;
                   15479:          aCC*)
                   15480:            lt_prog_compiler_wl_CXX='-Wl,'
                   15481:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   15482:            case $host_cpu in
                   15483:            hppa*64*|ia64*)
                   15484:              # +Z the default
                   15485:              ;;
                   15486:            *)
                   15487:              lt_prog_compiler_pic_CXX='+Z'
                   15488:              ;;
                   15489:            esac
                   15490:            ;;
                   15491:          *)
                   15492:            ;;
                   15493:        esac
                   15494:        ;;
                   15495:       interix*)
                   15496:        # This is c89, which is MS Visual C++ (no shared libs)
                   15497:        # Anyone wants to do a port?
                   15498:        ;;
                   15499:       irix5* | irix6* | nonstopux*)
                   15500:        case $cc_basename in
                   15501:          CC*)
                   15502:            lt_prog_compiler_wl_CXX='-Wl,'
                   15503:            lt_prog_compiler_static_CXX='-non_shared'
                   15504:            # CC pic flag -KPIC is the default.
                   15505:            ;;
                   15506:          *)
                   15507:            ;;
                   15508:        esac
                   15509:        ;;
                   15510:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15511:        case $cc_basename in
                   15512:          KCC*)
                   15513:            # KAI C++ Compiler
                   15514:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15515:            lt_prog_compiler_pic_CXX='-fPIC'
                   15516:            ;;
                   15517:          ecpc* )
                   15518:            # old Intel C++ for x86_64 which still supported -KPIC.
                   15519:            lt_prog_compiler_wl_CXX='-Wl,'
                   15520:            lt_prog_compiler_pic_CXX='-KPIC'
                   15521:            lt_prog_compiler_static_CXX='-static'
                   15522:            ;;
                   15523:          icpc* )
                   15524:            # Intel C++, used to be incompatible with GCC.
                   15525:            # ICC 10 doesn't accept -KPIC any more.
                   15526:            lt_prog_compiler_wl_CXX='-Wl,'
                   15527:            lt_prog_compiler_pic_CXX='-fPIC'
                   15528:            lt_prog_compiler_static_CXX='-static'
                   15529:            ;;
                   15530:          pgCC* | pgcpp*)
                   15531:            # Portland Group C++ compiler
                   15532:            lt_prog_compiler_wl_CXX='-Wl,'
                   15533:            lt_prog_compiler_pic_CXX='-fpic'
                   15534:            lt_prog_compiler_static_CXX='-Bstatic'
                   15535:            ;;
                   15536:          cxx*)
                   15537:            # Compaq C++
                   15538:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15539:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15540:            lt_prog_compiler_pic_CXX=
                   15541:            lt_prog_compiler_static_CXX='-non_shared'
                   15542:            ;;
                   15543:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   15544:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   15545:            lt_prog_compiler_wl_CXX='-Wl,'
                   15546:            lt_prog_compiler_pic_CXX='-qpic'
                   15547:            lt_prog_compiler_static_CXX='-qstaticlink'
                   15548:            ;;
                   15549:          *)
                   15550:            case `$CC -V 2>&1 | sed 5q` in
                   15551:            *Sun\ C*)
                   15552:              # Sun C++ 5.9
                   15553:              lt_prog_compiler_pic_CXX='-KPIC'
                   15554:              lt_prog_compiler_static_CXX='-Bstatic'
                   15555:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   15556:              ;;
                   15557:            esac
                   15558:            ;;
                   15559:        esac
                   15560:        ;;
                   15561:       lynxos*)
                   15562:        ;;
                   15563:       m88k*)
                   15564:        ;;
                   15565:       mvs*)
                   15566:        case $cc_basename in
                   15567:          cxx*)
                   15568:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   15569:            ;;
                   15570:          *)
                   15571:            ;;
                   15572:        esac
                   15573:        ;;
                   15574:       netbsd*)
                   15575:        ;;
                   15576:       *qnx* | *nto*)
                   15577:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15578:         # it will coredump.
                   15579:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15580:         ;;
                   15581:       osf3* | osf4* | osf5*)
                   15582:        case $cc_basename in
                   15583:          KCC*)
                   15584:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15585:            ;;
                   15586:          RCC*)
                   15587:            # Rational C++ 2.4.1
                   15588:            lt_prog_compiler_pic_CXX='-pic'
                   15589:            ;;
                   15590:          cxx*)
                   15591:            # Digital/Compaq C++
                   15592:            lt_prog_compiler_wl_CXX='-Wl,'
                   15593:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15594:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15595:            lt_prog_compiler_pic_CXX=
                   15596:            lt_prog_compiler_static_CXX='-non_shared'
                   15597:            ;;
                   15598:          *)
                   15599:            ;;
                   15600:        esac
                   15601:        ;;
                   15602:       psos*)
                   15603:        ;;
                   15604:       solaris*)
                   15605:        case $cc_basename in
                   15606:          CC* | sunCC*)
                   15607:            # Sun C++ 4.2, 5.x and Centerline C++
                   15608:            lt_prog_compiler_pic_CXX='-KPIC'
                   15609:            lt_prog_compiler_static_CXX='-Bstatic'
                   15610:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   15611:            ;;
                   15612:          gcx*)
                   15613:            # Green Hills C++ Compiler
                   15614:            lt_prog_compiler_pic_CXX='-PIC'
                   15615:            ;;
                   15616:          *)
                   15617:            ;;
                   15618:        esac
                   15619:        ;;
                   15620:       sunos4*)
                   15621:        case $cc_basename in
                   15622:          CC*)
                   15623:            # Sun C++ 4.x
                   15624:            lt_prog_compiler_pic_CXX='-pic'
                   15625:            lt_prog_compiler_static_CXX='-Bstatic'
                   15626:            ;;
                   15627:          lcc*)
                   15628:            # Lucid
                   15629:            lt_prog_compiler_pic_CXX='-pic'
                   15630:            ;;
                   15631:          *)
                   15632:            ;;
                   15633:        esac
                   15634:        ;;
                   15635:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15636:        case $cc_basename in
                   15637:          CC*)
                   15638:            lt_prog_compiler_wl_CXX='-Wl,'
                   15639:            lt_prog_compiler_pic_CXX='-KPIC'
                   15640:            lt_prog_compiler_static_CXX='-Bstatic'
                   15641:            ;;
                   15642:        esac
                   15643:        ;;
                   15644:       tandem*)
                   15645:        case $cc_basename in
                   15646:          NCC*)
                   15647:            # NonStop-UX NCC 3.20
                   15648:            lt_prog_compiler_pic_CXX='-KPIC'
                   15649:            ;;
                   15650:          *)
                   15651:            ;;
                   15652:        esac
                   15653:        ;;
                   15654:       vxworks*)
                   15655:        ;;
                   15656:       *)
                   15657:        lt_prog_compiler_can_build_shared_CXX=no
                   15658:        ;;
                   15659:     esac
                   15660:   fi
                   15661: 
                   15662: case $host_os in
                   15663:   # For platforms which do not support PIC, -DPIC is meaningless:
                   15664:   *djgpp*)
                   15665:     lt_prog_compiler_pic_CXX=
                   15666:     ;;
                   15667:   *)
                   15668:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   15669:     ;;
                   15670: esac
                   15671: 
                   15672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15673: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   15674: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   15675:   $as_echo_n "(cached) " >&6
                   15676: else
                   15677:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   15678: fi
                   15679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   15680: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
                   15681: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   15682: 
                   15683: #
                   15684: # Check to make sure the PIC flag actually works.
                   15685: #
                   15686: if test -n "$lt_prog_compiler_pic_CXX"; then
                   15687:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   15688: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   15689: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   15690:   $as_echo_n "(cached) " >&6
                   15691: else
                   15692:   lt_cv_prog_compiler_pic_works_CXX=no
                   15693:    ac_outfile=conftest.$ac_objext
                   15694:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15695:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   15696:    # Insert the option either (1) after the last *FLAGS variable, or
                   15697:    # (2) before a word containing "conftest.", or (3) at the end.
                   15698:    # Note that $ac_compile itself does not contain backslashes and begins
                   15699:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15700:    # The option is referenced via a variable to avoid confusing sed.
                   15701:    lt_compile=`echo "$ac_compile" | $SED \
                   15702:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15703:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15704:    -e 's:$: $lt_compiler_flag:'`
                   15705:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15706:    (eval "$lt_compile" 2>conftest.err)
                   15707:    ac_status=$?
                   15708:    cat conftest.err >&5
                   15709:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15710:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15711:      # The compiler can only warn and ignore the option if not recognized
                   15712:      # So say no if there are warnings other than the usual output.
                   15713:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15714:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15715:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15716:        lt_cv_prog_compiler_pic_works_CXX=yes
                   15717:      fi
                   15718:    fi
                   15719:    $RM conftest*
                   15720: 
                   15721: fi
                   15722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   15723: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
                   15724: 
                   15725: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15726:     case $lt_prog_compiler_pic_CXX in
                   15727:      "" | " "*) ;;
                   15728:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15729:      esac
                   15730: else
                   15731:     lt_prog_compiler_pic_CXX=
                   15732:      lt_prog_compiler_can_build_shared_CXX=no
                   15733: fi
                   15734: 
                   15735: fi
                   15736: 
                   15737: 
                   15738: 
                   15739: 
                   15740: 
                   15741: #
                   15742: # Check to make sure the static flag actually works.
                   15743: #
                   15744: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   15745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15746: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15747: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15748:   $as_echo_n "(cached) " >&6
                   15749: else
                   15750:   lt_cv_prog_compiler_static_works_CXX=no
                   15751:    save_LDFLAGS="$LDFLAGS"
                   15752:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15753:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15754:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15755:      # The linker can only warn and ignore the option if not recognized
                   15756:      # So say no if there are warnings
                   15757:      if test -s conftest.err; then
                   15758:        # Append any errors to the config.log.
                   15759:        cat conftest.err 1>&5
                   15760:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15761:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15762:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15763:          lt_cv_prog_compiler_static_works_CXX=yes
                   15764:        fi
                   15765:      else
                   15766:        lt_cv_prog_compiler_static_works_CXX=yes
                   15767:      fi
                   15768:    fi
                   15769:    $RM -r conftest*
                   15770:    LDFLAGS="$save_LDFLAGS"
                   15771: 
                   15772: fi
                   15773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15774: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
                   15775: 
                   15776: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15777:     :
                   15778: else
                   15779:     lt_prog_compiler_static_CXX=
                   15780: fi
                   15781: 
                   15782: 
                   15783: 
                   15784: 
                   15785:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15786: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15787: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15788:   $as_echo_n "(cached) " >&6
                   15789: else
                   15790:   lt_cv_prog_compiler_c_o_CXX=no
                   15791:    $RM -r conftest 2>/dev/null
                   15792:    mkdir conftest
                   15793:    cd conftest
                   15794:    mkdir out
                   15795:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15796: 
                   15797:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15798:    # Insert the option either (1) after the last *FLAGS variable, or
                   15799:    # (2) before a word containing "conftest.", or (3) at the end.
                   15800:    # Note that $ac_compile itself does not contain backslashes and begins
                   15801:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15802:    lt_compile=`echo "$ac_compile" | $SED \
                   15803:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15804:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15805:    -e 's:$: $lt_compiler_flag:'`
                   15806:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15807:    (eval "$lt_compile" 2>out/conftest.err)
                   15808:    ac_status=$?
                   15809:    cat out/conftest.err >&5
                   15810:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15811:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15812:    then
                   15813:      # The compiler can only warn and ignore the option if not recognized
                   15814:      # So say no if there are warnings
                   15815:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15816:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15817:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15818:        lt_cv_prog_compiler_c_o_CXX=yes
                   15819:      fi
                   15820:    fi
                   15821:    chmod u+w . 2>&5
                   15822:    $RM conftest*
                   15823:    # SGI C++ compiler will create directory out/ii_files/ for
                   15824:    # template instantiation
                   15825:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15826:    $RM out/* && rmdir out
                   15827:    cd ..
                   15828:    $RM -r conftest
                   15829:    $RM conftest*
                   15830: 
                   15831: fi
                   15832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15833: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
                   15834: 
                   15835: 
                   15836: 
                   15837:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15838: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15839: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15840:   $as_echo_n "(cached) " >&6
                   15841: else
                   15842:   lt_cv_prog_compiler_c_o_CXX=no
                   15843:    $RM -r conftest 2>/dev/null
                   15844:    mkdir conftest
                   15845:    cd conftest
                   15846:    mkdir out
                   15847:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15848: 
                   15849:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15850:    # Insert the option either (1) after the last *FLAGS variable, or
                   15851:    # (2) before a word containing "conftest.", or (3) at the end.
                   15852:    # Note that $ac_compile itself does not contain backslashes and begins
                   15853:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15854:    lt_compile=`echo "$ac_compile" | $SED \
                   15855:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15856:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15857:    -e 's:$: $lt_compiler_flag:'`
                   15858:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15859:    (eval "$lt_compile" 2>out/conftest.err)
                   15860:    ac_status=$?
                   15861:    cat out/conftest.err >&5
                   15862:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15863:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15864:    then
                   15865:      # The compiler can only warn and ignore the option if not recognized
                   15866:      # So say no if there are warnings
                   15867:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15868:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15869:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15870:        lt_cv_prog_compiler_c_o_CXX=yes
                   15871:      fi
                   15872:    fi
                   15873:    chmod u+w . 2>&5
                   15874:    $RM conftest*
                   15875:    # SGI C++ compiler will create directory out/ii_files/ for
                   15876:    # template instantiation
                   15877:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15878:    $RM out/* && rmdir out
                   15879:    cd ..
                   15880:    $RM -r conftest
                   15881:    $RM conftest*
                   15882: 
                   15883: fi
                   15884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15885: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
                   15886: 
                   15887: 
                   15888: 
                   15889: 
                   15890: hard_links="nottested"
                   15891: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15892:   # do not overwrite the value of need_locks provided by the user
                   15893:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15894: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   15895:   hard_links=yes
                   15896:   $RM conftest*
                   15897:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15898:   touch conftest.a
                   15899:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15900:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15901:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15902: $as_echo "$hard_links" >&6; }
                   15903:   if test "$hard_links" = no; then
                   15904:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15905: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   15906:     need_locks=warn
                   15907:   fi
                   15908: else
                   15909:   need_locks=no
                   15910: fi
                   15911: 
                   15912: 
                   15913: 
                   15914:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15915: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   15916: 
                   15917:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15918:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15919:   case $host_os in
                   15920:   aix[4-9]*)
                   15921:     # If we're using GNU nm, then we don't want the "-C" option.
                   15922:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15923:     # Also, AIX nm treats weak defined symbols like other global defined
                   15924:     # symbols, whereas GNU nm marks them as "W".
                   15925:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15926:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   15927:     else
                   15928:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   15929:     fi
                   15930:     ;;
                   15931:   pw32*)
                   15932:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15933:     ;;
                   15934:   cygwin* | mingw* | cegcc*)
                   15935:     case $cc_basename in
1.1.1.4   misho    15936:     cl*)
                   15937:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15938:       ;;
1.1       misho    15939:     *)
                   15940:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   15941:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15942:       ;;
                   15943:     esac
                   15944:     ;;
                   15945:   *)
                   15946:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15947:     ;;
                   15948:   esac
                   15949: 
                   15950: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15951: $as_echo "$ld_shlibs_CXX" >&6; }
                   15952: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15953: 
                   15954: with_gnu_ld_CXX=$with_gnu_ld
                   15955: 
                   15956: 
                   15957: 
                   15958: 
                   15959: 
                   15960: 
                   15961: #
                   15962: # Do we need to explicitly link libc?
                   15963: #
                   15964: case "x$archive_cmds_need_lc_CXX" in
                   15965: x|xyes)
                   15966:   # Assume -lc should be added
                   15967:   archive_cmds_need_lc_CXX=yes
                   15968: 
                   15969:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15970:     case $archive_cmds_CXX in
                   15971:     *'~'*)
                   15972:       # FIXME: we may have to deal with multi-command sequences.
                   15973:       ;;
                   15974:     '$CC '*)
                   15975:       # Test whether the compiler implicitly links with -lc since on some
                   15976:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15977:       # to ld, don't add -lc before -lgcc.
                   15978:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15979: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15980: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15981:   $as_echo_n "(cached) " >&6
                   15982: else
                   15983:   $RM conftest*
                   15984:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15985: 
                   15986:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   15987:   (eval $ac_compile) 2>&5
                   15988:   ac_status=$?
                   15989:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15990:   test $ac_status = 0; } 2>conftest.err; then
                   15991:          soname=conftest
                   15992:          lib=conftest
                   15993:          libobjs=conftest.$ac_objext
                   15994:          deplibs=
                   15995:          wl=$lt_prog_compiler_wl_CXX
                   15996:          pic_flag=$lt_prog_compiler_pic_CXX
                   15997:          compiler_flags=-v
                   15998:          linker_flags=-v
                   15999:          verstring=
                   16000:          output_objdir=.
                   16001:          libname=conftest
                   16002:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   16003:          allow_undefined_flag_CXX=
                   16004:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   16005:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   16006:   ac_status=$?
                   16007:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16008:   test $ac_status = 0; }
                   16009:          then
                   16010:            lt_cv_archive_cmds_need_lc_CXX=no
                   16011:          else
                   16012:            lt_cv_archive_cmds_need_lc_CXX=yes
                   16013:          fi
                   16014:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   16015:        else
                   16016:          cat conftest.err 1>&5
                   16017:        fi
                   16018:        $RM conftest*
                   16019: 
                   16020: fi
                   16021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   16022: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
                   16023:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   16024:       ;;
                   16025:     esac
                   16026:   fi
                   16027:   ;;
                   16028: esac
                   16029: 
                   16030: 
                   16031: 
                   16032: 
                   16033: 
                   16034: 
                   16035: 
                   16036: 
                   16037: 
                   16038: 
                   16039: 
                   16040: 
                   16041: 
                   16042: 
                   16043: 
                   16044: 
                   16045: 
                   16046: 
                   16047: 
                   16048: 
                   16049: 
                   16050: 
                   16051: 
                   16052: 
                   16053: 
                   16054: 
                   16055: 
                   16056: 
                   16057: 
                   16058: 
                   16059: 
                   16060: 
                   16061: 
                   16062: 
                   16063: 
                   16064: 
                   16065: 
                   16066: 
                   16067: 
                   16068: 
                   16069: 
                   16070: 
                   16071: 
                   16072: 
                   16073: 
                   16074: 
                   16075: 
                   16076: 
                   16077: 
                   16078: 
                   16079: 
                   16080: 
                   16081: 
                   16082: 
                   16083: 
                   16084: 
                   16085: 
                   16086: 
                   16087: 
                   16088: 
                   16089: 
                   16090: 
                   16091:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   16092: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   16093: 
                   16094: library_names_spec=
                   16095: libname_spec='lib$name'
                   16096: soname_spec=
                   16097: shrext_cmds=".so"
                   16098: postinstall_cmds=
                   16099: postuninstall_cmds=
                   16100: finish_cmds=
                   16101: finish_eval=
                   16102: shlibpath_var=
                   16103: shlibpath_overrides_runpath=unknown
                   16104: version_type=none
                   16105: dynamic_linker="$host_os ld.so"
                   16106: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   16107: need_lib_prefix=unknown
                   16108: hardcode_into_libs=no
                   16109: 
                   16110: # when you set need_version to no, make sure it does not cause -set_version
                   16111: # flags to be left without arguments
                   16112: need_version=unknown
                   16113: 
                   16114: case $host_os in
                   16115: aix3*)
1.1.1.4   misho    16116:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16117:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   16118:   shlibpath_var=LIBPATH
                   16119: 
                   16120:   # AIX 3 has no versioning support, so we append a major version to the name.
                   16121:   soname_spec='${libname}${release}${shared_ext}$major'
                   16122:   ;;
                   16123: 
                   16124: aix[4-9]*)
1.1.1.4   misho    16125:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16126:   need_lib_prefix=no
                   16127:   need_version=no
                   16128:   hardcode_into_libs=yes
                   16129:   if test "$host_cpu" = ia64; then
                   16130:     # AIX 5 supports IA64
                   16131:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   16132:     shlibpath_var=LD_LIBRARY_PATH
                   16133:   else
                   16134:     # With GCC up to 2.95.x, collect2 would create an import file
                   16135:     # for dependence libraries.  The import file would start with
                   16136:     # the line `#! .'.  This would cause the generated library to
                   16137:     # depend on `.', always an invalid library.  This was fixed in
                   16138:     # development snapshots of GCC prior to 3.0.
                   16139:     case $host_os in
                   16140:       aix4 | aix4.[01] | aix4.[01].*)
                   16141:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   16142:           echo ' yes '
                   16143:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   16144:        :
                   16145:       else
                   16146:        can_build_shared=no
                   16147:       fi
                   16148:       ;;
                   16149:     esac
                   16150:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   16151:     # soname into executable. Probably we can add versioning support to
                   16152:     # collect2, so additional links can be useful in future.
                   16153:     if test "$aix_use_runtimelinking" = yes; then
                   16154:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   16155:       # instead of lib<name>.a to let people know that these are not
                   16156:       # typical AIX shared libraries.
                   16157:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16158:     else
                   16159:       # We preserve .a as extension for shared libraries through AIX4.2
                   16160:       # and later when we are not doing run time linking.
                   16161:       library_names_spec='${libname}${release}.a $libname.a'
                   16162:       soname_spec='${libname}${release}${shared_ext}$major'
                   16163:     fi
                   16164:     shlibpath_var=LIBPATH
                   16165:   fi
                   16166:   ;;
                   16167: 
                   16168: amigaos*)
                   16169:   case $host_cpu in
                   16170:   powerpc)
                   16171:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   16172:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   16173:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16174:     ;;
                   16175:   m68k)
                   16176:     library_names_spec='$libname.ixlibrary $libname.a'
                   16177:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   16178:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
                   16179:     ;;
                   16180:   esac
                   16181:   ;;
                   16182: 
                   16183: beos*)
                   16184:   library_names_spec='${libname}${shared_ext}'
                   16185:   dynamic_linker="$host_os ld.so"
                   16186:   shlibpath_var=LIBRARY_PATH
                   16187:   ;;
                   16188: 
                   16189: bsdi[45]*)
1.1.1.4   misho    16190:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16191:   need_version=no
                   16192:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16193:   soname_spec='${libname}${release}${shared_ext}$major'
                   16194:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   16195:   shlibpath_var=LD_LIBRARY_PATH
                   16196:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   16197:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   16198:   # the default ld.so.conf also contains /usr/contrib/lib and
                   16199:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   16200:   # libtool to hard-code these into programs
                   16201:   ;;
                   16202: 
                   16203: cygwin* | mingw* | pw32* | cegcc*)
                   16204:   version_type=windows
                   16205:   shrext_cmds=".dll"
                   16206:   need_version=no
                   16207:   need_lib_prefix=no
                   16208: 
                   16209:   case $GCC,$cc_basename in
                   16210:   yes,*)
                   16211:     # gcc
                   16212:     library_names_spec='$libname.dll.a'
                   16213:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   16214:     postinstall_cmds='base_file=`basename \${file}`~
                   16215:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   16216:       dldir=$destdir/`dirname \$dlpath`~
                   16217:       test -d \$dldir || mkdir -p \$dldir~
                   16218:       $install_prog $dir/$dlname \$dldir/$dlname~
                   16219:       chmod a+x \$dldir/$dlname~
                   16220:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   16221:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   16222:       fi'
                   16223:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   16224:       dlpath=$dir/\$dldll~
                   16225:        $RM \$dlpath'
                   16226:     shlibpath_overrides_runpath=yes
                   16227: 
                   16228:     case $host_os in
                   16229:     cygwin*)
                   16230:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   16231:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   16232: 
                   16233:       ;;
                   16234:     mingw* | cegcc*)
                   16235:       # MinGW DLLs use traditional 'lib' prefix
                   16236:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   16237:       ;;
                   16238:     pw32*)
                   16239:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   16240:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   16241:       ;;
                   16242:     esac
                   16243:     dynamic_linker='Win32 ld.exe'
                   16244:     ;;
                   16245: 
                   16246:   *,cl*)
                   16247:     # Native MSVC
                   16248:     libname_spec='$name'
                   16249:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   16250:     library_names_spec='${libname}.dll.lib'
                   16251: 
                   16252:     case $build_os in
                   16253:     mingw*)
                   16254:       sys_lib_search_path_spec=
                   16255:       lt_save_ifs=$IFS
                   16256:       IFS=';'
                   16257:       for lt_path in $LIB
                   16258:       do
                   16259:         IFS=$lt_save_ifs
                   16260:         # Let DOS variable expansion print the short 8.3 style file name.
                   16261:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   16262:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   16263:       done
                   16264:       IFS=$lt_save_ifs
                   16265:       # Convert to MSYS style.
                   16266:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   16267:       ;;
                   16268:     cygwin*)
                   16269:       # Convert to unix form, then to dos form, then back to unix form
                   16270:       # but this time dos style (no spaces!) so that the unix form looks
                   16271:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   16272:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   16273:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   16274:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   16275:       ;;
                   16276:     *)
                   16277:       sys_lib_search_path_spec="$LIB"
                   16278:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   16279:         # It is most probably a Windows format PATH.
                   16280:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   16281:       else
                   16282:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   16283:       fi
                   16284:       # FIXME: find the short name or the path components, as spaces are
                   16285:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   16286:       ;;
                   16287:     esac
                   16288: 
                   16289:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   16290:     postinstall_cmds='base_file=`basename \${file}`~
                   16291:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   16292:       dldir=$destdir/`dirname \$dlpath`~
                   16293:       test -d \$dldir || mkdir -p \$dldir~
                   16294:       $install_prog $dir/$dlname \$dldir/$dlname'
                   16295:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   16296:       dlpath=$dir/\$dldll~
                   16297:        $RM \$dlpath'
                   16298:     shlibpath_overrides_runpath=yes
                   16299:     dynamic_linker='Win32 link.exe'
                   16300:     ;;
                   16301: 
                   16302:   *)
                   16303:     # Assume MSVC wrapper
                   16304:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   16305:     dynamic_linker='Win32 ld.exe'
                   16306:     ;;
                   16307:   esac
                   16308:   # FIXME: first we should search . and the directory the executable is in
                   16309:   shlibpath_var=PATH
                   16310:   ;;
                   16311: 
                   16312: darwin* | rhapsody*)
                   16313:   dynamic_linker="$host_os dyld"
                   16314:   version_type=darwin
                   16315:   need_lib_prefix=no
                   16316:   need_version=no
                   16317:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   16318:   soname_spec='${libname}${release}${major}$shared_ext'
                   16319:   shlibpath_overrides_runpath=yes
                   16320:   shlibpath_var=DYLD_LIBRARY_PATH
                   16321:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   16322: 
                   16323:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   16324:   ;;
                   16325: 
                   16326: dgux*)
1.1.1.4   misho    16327:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16328:   need_lib_prefix=no
                   16329:   need_version=no
                   16330:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   16331:   soname_spec='${libname}${release}${shared_ext}$major'
                   16332:   shlibpath_var=LD_LIBRARY_PATH
                   16333:   ;;
                   16334: 
                   16335: freebsd* | dragonfly*)
                   16336:   # DragonFly does not have aout.  When/if they implement a new
                   16337:   # versioning mechanism, adjust this.
                   16338:   if test -x /usr/bin/objformat; then
                   16339:     objformat=`/usr/bin/objformat`
                   16340:   else
                   16341:     case $host_os in
1.1.1.4   misho    16342:     freebsd[23].*) objformat=aout ;;
1.1       misho    16343:     *) objformat=elf ;;
                   16344:     esac
                   16345:   fi
1.1.1.4   misho    16346:   version_type=freebsd-$objformat
1.1       misho    16347:   case $version_type in
                   16348:     freebsd-elf*)
                   16349:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16350:       need_version=no
                   16351:       need_lib_prefix=no
                   16352:       ;;
                   16353:     freebsd-*)
                   16354:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   16355:       need_version=yes
                   16356:       ;;
                   16357:   esac
                   16358:   shlibpath_var=LD_LIBRARY_PATH
                   16359:   case $host_os in
1.1.1.4   misho    16360:   freebsd2.*)
1.1       misho    16361:     shlibpath_overrides_runpath=yes
                   16362:     ;;
                   16363:   freebsd3.[01]* | freebsdelf3.[01]*)
                   16364:     shlibpath_overrides_runpath=yes
                   16365:     hardcode_into_libs=yes
                   16366:     ;;
                   16367:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   16368:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   16369:     shlibpath_overrides_runpath=no
                   16370:     hardcode_into_libs=yes
                   16371:     ;;
                   16372:   *) # from 4.6 on, and DragonFly
                   16373:     shlibpath_overrides_runpath=yes
                   16374:     hardcode_into_libs=yes
                   16375:     ;;
                   16376:   esac
                   16377:   ;;
                   16378: 
                   16379: gnu*)
1.1.1.4   misho    16380:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16381:   need_lib_prefix=no
                   16382:   need_version=no
                   16383:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   16384:   soname_spec='${libname}${release}${shared_ext}$major'
                   16385:   shlibpath_var=LD_LIBRARY_PATH
1.1.1.4   misho    16386:   shlibpath_overrides_runpath=no
1.1       misho    16387:   hardcode_into_libs=yes
                   16388:   ;;
                   16389: 
                   16390: haiku*)
1.1.1.4   misho    16391:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16392:   need_lib_prefix=no
                   16393:   need_version=no
                   16394:   dynamic_linker="$host_os runtime_loader"
                   16395:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   16396:   soname_spec='${libname}${release}${shared_ext}$major'
                   16397:   shlibpath_var=LIBRARY_PATH
                   16398:   shlibpath_overrides_runpath=yes
                   16399:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   16400:   hardcode_into_libs=yes
                   16401:   ;;
                   16402: 
                   16403: hpux9* | hpux10* | hpux11*)
                   16404:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   16405:   # link against other versions.
                   16406:   version_type=sunos
                   16407:   need_lib_prefix=no
                   16408:   need_version=no
                   16409:   case $host_cpu in
                   16410:   ia64*)
                   16411:     shrext_cmds='.so'
                   16412:     hardcode_into_libs=yes
                   16413:     dynamic_linker="$host_os dld.so"
                   16414:     shlibpath_var=LD_LIBRARY_PATH
                   16415:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   16416:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16417:     soname_spec='${libname}${release}${shared_ext}$major'
                   16418:     if test "X$HPUX_IA64_MODE" = X32; then
                   16419:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   16420:     else
                   16421:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   16422:     fi
                   16423:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   16424:     ;;
                   16425:   hppa*64*)
                   16426:     shrext_cmds='.sl'
                   16427:     hardcode_into_libs=yes
                   16428:     dynamic_linker="$host_os dld.sl"
                   16429:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   16430:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   16431:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16432:     soname_spec='${libname}${release}${shared_ext}$major'
                   16433:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   16434:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   16435:     ;;
                   16436:   *)
                   16437:     shrext_cmds='.sl'
                   16438:     dynamic_linker="$host_os dld.sl"
                   16439:     shlibpath_var=SHLIB_PATH
                   16440:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   16441:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16442:     soname_spec='${libname}${release}${shared_ext}$major'
                   16443:     ;;
                   16444:   esac
                   16445:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   16446:   postinstall_cmds='chmod 555 $lib'
                   16447:   # or fails outright, so override atomically:
                   16448:   install_override_mode=555
                   16449:   ;;
                   16450: 
                   16451: interix[3-9]*)
1.1.1.4   misho    16452:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16453:   need_lib_prefix=no
                   16454:   need_version=no
                   16455:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16456:   soname_spec='${libname}${release}${shared_ext}$major'
                   16457:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   16458:   shlibpath_var=LD_LIBRARY_PATH
                   16459:   shlibpath_overrides_runpath=no
                   16460:   hardcode_into_libs=yes
                   16461:   ;;
                   16462: 
                   16463: irix5* | irix6* | nonstopux*)
                   16464:   case $host_os in
                   16465:     nonstopux*) version_type=nonstopux ;;
                   16466:     *)
                   16467:        if test "$lt_cv_prog_gnu_ld" = yes; then
1.1.1.4   misho    16468:                version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16469:        else
                   16470:                version_type=irix
                   16471:        fi ;;
                   16472:   esac
                   16473:   need_lib_prefix=no
                   16474:   need_version=no
                   16475:   soname_spec='${libname}${release}${shared_ext}$major'
                   16476:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16477:   case $host_os in
                   16478:   irix5* | nonstopux*)
                   16479:     libsuff= shlibsuff=
                   16480:     ;;
                   16481:   *)
                   16482:     case $LD in # libtool.m4 will add one of these switches to LD
                   16483:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   16484:       libsuff= shlibsuff= libmagic=32-bit;;
                   16485:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   16486:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   16487:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   16488:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   16489:     *) libsuff= shlibsuff= libmagic=never-match;;
                   16490:     esac
                   16491:     ;;
                   16492:   esac
                   16493:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   16494:   shlibpath_overrides_runpath=no
                   16495:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   16496:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   16497:   hardcode_into_libs=yes
                   16498:   ;;
                   16499: 
                   16500: # No shared lib support for Linux oldld, aout, or coff.
                   16501: linux*oldld* | linux*aout* | linux*coff*)
                   16502:   dynamic_linker=no
                   16503:   ;;
                   16504: 
1.1.1.4   misho    16505: # This must be glibc/ELF.
1.1       misho    16506: linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1.4   misho    16507:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16508:   need_lib_prefix=no
                   16509:   need_version=no
                   16510:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16511:   soname_spec='${libname}${release}${shared_ext}$major'
                   16512:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   16513:   shlibpath_var=LD_LIBRARY_PATH
                   16514:   shlibpath_overrides_runpath=no
                   16515: 
                   16516:   # Some binutils ld are patched to set DT_RUNPATH
                   16517:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   16518:   $as_echo_n "(cached) " >&6
                   16519: else
                   16520:   lt_cv_shlibpath_overrides_runpath=no
                   16521:     save_LDFLAGS=$LDFLAGS
                   16522:     save_libdir=$libdir
                   16523:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   16524:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   16525:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16526: /* end confdefs.h.  */
                   16527: 
                   16528: int
                   16529: main ()
                   16530: {
                   16531: 
                   16532:   ;
                   16533:   return 0;
                   16534: }
                   16535: _ACEOF
                   16536: if ac_fn_cxx_try_link "$LINENO"; then :
                   16537:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   16538:   lt_cv_shlibpath_overrides_runpath=yes
                   16539: fi
                   16540: fi
                   16541: rm -f core conftest.err conftest.$ac_objext \
                   16542:     conftest$ac_exeext conftest.$ac_ext
                   16543:     LDFLAGS=$save_LDFLAGS
                   16544:     libdir=$save_libdir
                   16545: 
                   16546: fi
                   16547: 
                   16548:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   16549: 
                   16550:   # This implies no fast_install, which is unacceptable.
                   16551:   # Some rework will be needed to allow for fast_install
                   16552:   # before this can be enabled.
                   16553:   hardcode_into_libs=yes
                   16554: 
                   16555:   # Append ld.so.conf contents to the search path
                   16556:   if test -f /etc/ld.so.conf; then
                   16557:     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' ' '`
                   16558:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   16559:   fi
                   16560: 
                   16561:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   16562:   # powerpc, because MkLinux only supported shared libraries with the
                   16563:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   16564:   # most powerpc-linux boxes support dynamic linking these days and
                   16565:   # people can always --disable-shared, the test was removed, and we
                   16566:   # assume the GNU/Linux dynamic linker is in use.
                   16567:   dynamic_linker='GNU/Linux ld.so'
                   16568:   ;;
                   16569: 
                   16570: netbsd*)
                   16571:   version_type=sunos
                   16572:   need_lib_prefix=no
                   16573:   need_version=no
                   16574:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   16575:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16576:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16577:     dynamic_linker='NetBSD (a.out) ld.so'
                   16578:   else
                   16579:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16580:     soname_spec='${libname}${release}${shared_ext}$major'
                   16581:     dynamic_linker='NetBSD ld.elf_so'
                   16582:   fi
                   16583:   shlibpath_var=LD_LIBRARY_PATH
                   16584:   shlibpath_overrides_runpath=yes
                   16585:   hardcode_into_libs=yes
                   16586:   ;;
                   16587: 
                   16588: newsos6)
1.1.1.4   misho    16589:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16590:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16591:   shlibpath_var=LD_LIBRARY_PATH
                   16592:   shlibpath_overrides_runpath=yes
                   16593:   ;;
                   16594: 
                   16595: *nto* | *qnx*)
                   16596:   version_type=qnx
                   16597:   need_lib_prefix=no
                   16598:   need_version=no
                   16599:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16600:   soname_spec='${libname}${release}${shared_ext}$major'
                   16601:   shlibpath_var=LD_LIBRARY_PATH
                   16602:   shlibpath_overrides_runpath=no
                   16603:   hardcode_into_libs=yes
                   16604:   dynamic_linker='ldqnx.so'
                   16605:   ;;
                   16606: 
                   16607: openbsd*)
                   16608:   version_type=sunos
                   16609:   sys_lib_dlsearch_path_spec="/usr/lib"
                   16610:   need_lib_prefix=no
                   16611:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   16612:   case $host_os in
                   16613:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   16614:     *)                         need_version=no  ;;
                   16615:   esac
                   16616:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16617:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16618:   shlibpath_var=LD_LIBRARY_PATH
                   16619:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   16620:     case $host_os in
                   16621:       openbsd2.[89] | openbsd2.[89].*)
                   16622:        shlibpath_overrides_runpath=no
                   16623:        ;;
                   16624:       *)
                   16625:        shlibpath_overrides_runpath=yes
                   16626:        ;;
                   16627:       esac
                   16628:   else
                   16629:     shlibpath_overrides_runpath=yes
                   16630:   fi
                   16631:   ;;
                   16632: 
                   16633: os2*)
                   16634:   libname_spec='$name'
                   16635:   shrext_cmds=".dll"
                   16636:   need_lib_prefix=no
                   16637:   library_names_spec='$libname${shared_ext} $libname.a'
                   16638:   dynamic_linker='OS/2 ld.exe'
                   16639:   shlibpath_var=LIBPATH
                   16640:   ;;
                   16641: 
                   16642: osf3* | osf4* | osf5*)
                   16643:   version_type=osf
                   16644:   need_lib_prefix=no
                   16645:   need_version=no
                   16646:   soname_spec='${libname}${release}${shared_ext}$major'
                   16647:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16648:   shlibpath_var=LD_LIBRARY_PATH
                   16649:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   16650:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   16651:   ;;
                   16652: 
                   16653: rdos*)
                   16654:   dynamic_linker=no
                   16655:   ;;
                   16656: 
                   16657: solaris*)
1.1.1.4   misho    16658:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16659:   need_lib_prefix=no
                   16660:   need_version=no
                   16661:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16662:   soname_spec='${libname}${release}${shared_ext}$major'
                   16663:   shlibpath_var=LD_LIBRARY_PATH
                   16664:   shlibpath_overrides_runpath=yes
                   16665:   hardcode_into_libs=yes
                   16666:   # ldd complains unless libraries are executable
                   16667:   postinstall_cmds='chmod +x $lib'
                   16668:   ;;
                   16669: 
                   16670: sunos4*)
                   16671:   version_type=sunos
                   16672:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16673:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   16674:   shlibpath_var=LD_LIBRARY_PATH
                   16675:   shlibpath_overrides_runpath=yes
                   16676:   if test "$with_gnu_ld" = yes; then
                   16677:     need_lib_prefix=no
                   16678:   fi
                   16679:   need_version=yes
                   16680:   ;;
                   16681: 
                   16682: sysv4 | sysv4.3*)
1.1.1.4   misho    16683:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16684:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16685:   soname_spec='${libname}${release}${shared_ext}$major'
                   16686:   shlibpath_var=LD_LIBRARY_PATH
                   16687:   case $host_vendor in
                   16688:     sni)
                   16689:       shlibpath_overrides_runpath=no
                   16690:       need_lib_prefix=no
                   16691:       runpath_var=LD_RUN_PATH
                   16692:       ;;
                   16693:     siemens)
                   16694:       need_lib_prefix=no
                   16695:       ;;
                   16696:     motorola)
                   16697:       need_lib_prefix=no
                   16698:       need_version=no
                   16699:       shlibpath_overrides_runpath=no
                   16700:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   16701:       ;;
                   16702:   esac
                   16703:   ;;
                   16704: 
                   16705: sysv4*MP*)
                   16706:   if test -d /usr/nec ;then
1.1.1.4   misho    16707:     version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16708:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   16709:     soname_spec='$libname${shared_ext}.$major'
                   16710:     shlibpath_var=LD_LIBRARY_PATH
                   16711:   fi
                   16712:   ;;
                   16713: 
                   16714: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16715:   version_type=freebsd-elf
                   16716:   need_lib_prefix=no
                   16717:   need_version=no
                   16718:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16719:   soname_spec='${libname}${release}${shared_ext}$major'
                   16720:   shlibpath_var=LD_LIBRARY_PATH
                   16721:   shlibpath_overrides_runpath=yes
                   16722:   hardcode_into_libs=yes
                   16723:   if test "$with_gnu_ld" = yes; then
                   16724:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   16725:   else
                   16726:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16727:     case $host_os in
                   16728:       sco3.2v5*)
                   16729:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16730:        ;;
                   16731:     esac
                   16732:   fi
                   16733:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16734:   ;;
                   16735: 
                   16736: tpf*)
                   16737:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.4   misho    16738:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16739:   need_lib_prefix=no
                   16740:   need_version=no
                   16741:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16742:   shlibpath_var=LD_LIBRARY_PATH
                   16743:   shlibpath_overrides_runpath=no
                   16744:   hardcode_into_libs=yes
                   16745:   ;;
                   16746: 
                   16747: uts4*)
1.1.1.4   misho    16748:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    16749:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16750:   soname_spec='${libname}${release}${shared_ext}$major'
                   16751:   shlibpath_var=LD_LIBRARY_PATH
                   16752:   ;;
                   16753: 
                   16754: *)
                   16755:   dynamic_linker=no
                   16756:   ;;
                   16757: esac
                   16758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16759: $as_echo "$dynamic_linker" >&6; }
                   16760: test "$dynamic_linker" = no && can_build_shared=no
                   16761: 
                   16762: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16763: if test "$GCC" = yes; then
                   16764:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16765: fi
                   16766: 
                   16767: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16768:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16769: fi
                   16770: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16771:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16772: fi
                   16773: 
                   16774: 
                   16775: 
                   16776: 
                   16777: 
                   16778: 
                   16779: 
                   16780: 
                   16781: 
                   16782: 
                   16783: 
                   16784: 
                   16785: 
                   16786: 
                   16787: 
                   16788: 
                   16789: 
                   16790: 
                   16791: 
                   16792: 
                   16793: 
                   16794: 
                   16795: 
                   16796: 
                   16797: 
                   16798: 
                   16799: 
                   16800: 
                   16801: 
                   16802: 
                   16803: 
                   16804: 
                   16805: 
                   16806: 
                   16807: 
                   16808: 
                   16809: 
                   16810: 
                   16811:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16812: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   16813: hardcode_action_CXX=
                   16814: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16815:    test -n "$runpath_var_CXX" ||
                   16816:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16817: 
                   16818:   # We can hardcode non-existent directories.
                   16819:   if test "$hardcode_direct_CXX" != no &&
                   16820:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16821:      # have to relink, otherwise we might link with an installed library
                   16822:      # when we should be linking with a yet-to-be-installed one
                   16823:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16824:      test "$hardcode_minus_L_CXX" != no; then
                   16825:     # Linking always hardcodes the temporary library directory.
                   16826:     hardcode_action_CXX=relink
                   16827:   else
                   16828:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16829:     hardcode_action_CXX=immediate
                   16830:   fi
                   16831: else
                   16832:   # We cannot hardcode anything, or else we can only hardcode existing
                   16833:   # directories.
                   16834:   hardcode_action_CXX=unsupported
                   16835: fi
                   16836: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16837: $as_echo "$hardcode_action_CXX" >&6; }
                   16838: 
                   16839: if test "$hardcode_action_CXX" = relink ||
                   16840:    test "$inherit_rpath_CXX" = yes; then
                   16841:   # Fast installation is not supported
                   16842:   enable_fast_install=no
                   16843: elif test "$shlibpath_overrides_runpath" = yes ||
                   16844:      test "$enable_shared" = no; then
                   16845:   # Fast installation is not necessary
                   16846:   enable_fast_install=needless
                   16847: fi
                   16848: 
                   16849: 
                   16850: 
                   16851: 
                   16852: 
                   16853: 
                   16854: 
                   16855:   fi # test -n "$compiler"
                   16856: 
                   16857:   CC=$lt_save_CC
                   16858:   CFLAGS=$lt_save_CFLAGS
                   16859:   LDCXX=$LD
                   16860:   LD=$lt_save_LD
                   16861:   GCC=$lt_save_GCC
                   16862:   with_gnu_ld=$lt_save_with_gnu_ld
                   16863:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16864:   lt_cv_path_LD=$lt_save_path_LD
                   16865:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16866:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16867: fi # test "$_lt_caught_CXX_error" != yes
                   16868: 
                   16869: ac_ext=c
                   16870: ac_cpp='$CPP $CPPFLAGS'
                   16871: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16872: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16873: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16874: 
                   16875: 
                   16876: 
                   16877: 
                   16878: 
                   16879: 
                   16880: 
                   16881: 
                   16882: 
                   16883: 
                   16884: 
                   16885: 
                   16886: 
1.1.1.4   misho    16887: 
                   16888: 
1.1       misho    16889:         ac_config_commands="$ac_config_commands libtool"
                   16890: 
                   16891: 
                   16892: 
                   16893: 
                   16894: # Only expand once:
                   16895: 
                   16896: 
                   16897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   16898: $as_echo_n "checking whether ln -s works... " >&6; }
                   16899: LN_S=$as_ln_s
                   16900: if test "$LN_S" = "ln -s"; then
                   16901:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16902: $as_echo "yes" >&6; }
                   16903: else
                   16904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   16905: $as_echo "no, using $LN_S" >&6; }
                   16906: fi
                   16907: 
                   16908: 
1.1.1.4   misho    16909: # Check for GCC visibility feature
                   16910: 
                   16911: 
                   16912: 
                   16913:   VISIBILITY_CFLAGS=
                   16914:   VISIBILITY_CXXFLAGS=
                   16915:   HAVE_VISIBILITY=0
                   16916:   if test -n "$GCC"; then
                   16917:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
                   16918: $as_echo_n "checking whether the -Werror option is usable... " >&6; }
                   16919:     if ${pcre_cv_cc_vis_werror+:} false; then :
                   16920:   $as_echo_n "(cached) " >&6
                   16921: else
                   16922: 
                   16923:       pcre_save_CFLAGS="$CFLAGS"
                   16924:       CFLAGS="$CFLAGS -Werror"
                   16925:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16926: /* end confdefs.h.  */
                   16927: 
                   16928: int
                   16929: main ()
                   16930: {
                   16931: 
                   16932:   ;
                   16933:   return 0;
                   16934: }
                   16935: _ACEOF
                   16936: if ac_fn_c_try_compile "$LINENO"; then :
                   16937:   pcre_cv_cc_vis_werror=yes
                   16938: else
                   16939:   pcre_cv_cc_vis_werror=no
                   16940: fi
                   16941: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16942:       CFLAGS="$pcre_save_CFLAGS"
                   16943: fi
                   16944: 
                   16945:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_vis_werror" >&5
                   16946: $as_echo "$pcre_cv_cc_vis_werror" >&6; }
                   16947:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
                   16948: $as_echo_n "checking for simple visibility declarations... " >&6; }
                   16949:     if ${pcre_cv_cc_visibility+:} false; then :
                   16950:   $as_echo_n "(cached) " >&6
                   16951: else
                   16952: 
                   16953:       pcre_save_CFLAGS="$CFLAGS"
                   16954:       CFLAGS="$CFLAGS -fvisibility=hidden"
                   16955:                                     if test $pcre_cv_cc_vis_werror = yes; then
                   16956:         CFLAGS="$CFLAGS -Werror"
                   16957:       fi
                   16958:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16959: /* end confdefs.h.  */
                   16960: extern __attribute__((__visibility__("hidden"))) int hiddenvar;
                   16961:              extern __attribute__((__visibility__("default"))) int exportedvar;
                   16962:              extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
                   16963:              extern __attribute__((__visibility__("default"))) int exportedfunc (void);
                   16964:              void dummyfunc (void) {}
                   16965: 
                   16966: int
                   16967: main ()
                   16968: {
                   16969: 
                   16970:   ;
                   16971:   return 0;
                   16972: }
                   16973: _ACEOF
                   16974: if ac_fn_c_try_compile "$LINENO"; then :
                   16975:   pcre_cv_cc_visibility=yes
                   16976: else
                   16977:   pcre_cv_cc_visibility=no
                   16978: fi
                   16979: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16980:       CFLAGS="$pcre_save_CFLAGS"
                   16981: fi
                   16982: 
                   16983:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_visibility" >&5
                   16984: $as_echo "$pcre_cv_cc_visibility" >&6; }
                   16985:     if test $pcre_cv_cc_visibility = yes; then
                   16986:       VISIBILITY_CFLAGS="-fvisibility=hidden"
                   16987:       VISIBILITY_CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden"
                   16988:       HAVE_VISIBILITY=1
                   16989: 
                   16990: $as_echo "#define PCRE_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   16991: 
                   16992: 
                   16993: $as_echo "#define PCRE_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   16994: 
                   16995: 
                   16996: $as_echo "#define PCRE_EXP_DATA_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   16997: 
                   16998: 
                   16999: $as_echo "#define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   17000: 
                   17001: 
                   17002: $as_echo "#define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   17003: 
                   17004: 
                   17005: $as_echo "#define PCRECPP_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   17006: 
                   17007: 
                   17008: $as_echo "#define PCRECPP_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
                   17009: 
                   17010:     fi
                   17011:   fi
                   17012: 
                   17013: 
                   17014: 
                   17015: 
                   17016: cat >>confdefs.h <<_ACEOF
                   17017: #define HAVE_VISIBILITY $HAVE_VISIBILITY
                   17018: _ACEOF
                   17019: 
                   17020: 
                   17021: 
                   17022: # Versioning
                   17023: 
1.1       misho    17024: PCRE_MAJOR="8"
1.1.1.5 ! misho    17025: PCRE_MINOR="34"
1.1       misho    17026: PCRE_PRERELEASE=""
1.1.1.5 ! misho    17027: PCRE_DATE="2013-12-15"
1.1       misho    17028: 
                   17029: if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
                   17030: then
                   17031:   echo "***"
                   17032:   echo "*** Minor version number $PCRE_MINOR must not be used. ***"
                   17033:   echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
                   17034:   echo "***"
                   17035:   exit 1
                   17036: fi
                   17037: 
                   17038: 
                   17039: 
                   17040: 
                   17041: 
                   17042: 
                   17043: # Set a more sensible default value for $(htmldir).
                   17044: if test "x$htmldir" = 'x${docdir}'
                   17045: then
                   17046:   htmldir='${docdir}/html'
                   17047: fi
                   17048: 
1.1.1.2   misho    17049: # Handle --disable-pcre8 (enabled by default)
                   17050: # Check whether --enable-pcre8 was given.
                   17051: if test "${enable_pcre8+set}" = set; then :
                   17052:   enableval=$enable_pcre8;
                   17053: else
                   17054:   enable_pcre8=unset
                   17055: fi
                   17056: 
                   17057: 
                   17058: 
                   17059: # Handle --enable-pcre16 (disabled by default)
                   17060: # Check whether --enable-pcre16 was given.
                   17061: if test "${enable_pcre16+set}" = set; then :
                   17062:   enableval=$enable_pcre16;
                   17063: else
                   17064:   enable_pcre16=unset
                   17065: fi
                   17066: 
                   17067: 
                   17068: 
1.1.1.4   misho    17069: # Handle --enable-pcre32 (disabled by default)
                   17070: # Check whether --enable-pcre32 was given.
                   17071: if test "${enable_pcre32+set}" = set; then :
                   17072:   enableval=$enable_pcre32;
                   17073: else
                   17074:   enable_pcre32=unset
                   17075: fi
                   17076: 
                   17077: 
                   17078: 
1.1       misho    17079: # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
                   17080: # pcre-config.
                   17081: # Check whether --enable-cpp was given.
                   17082: if test "${enable_cpp+set}" = set; then :
                   17083:   enableval=$enable_cpp;
                   17084: else
1.1.1.2   misho    17085:   enable_cpp=unset
1.1       misho    17086: fi
                   17087: 
                   17088: 
                   17089: 
                   17090: # Handle --enable-jit (disabled by default)
                   17091: # Check whether --enable-jit was given.
                   17092: if test "${enable_jit+set}" = set; then :
                   17093:   enableval=$enable_jit;
                   17094: else
                   17095:   enable_jit=no
                   17096: fi
                   17097: 
                   17098: 
                   17099: # Handle --disable-pcregrep-jit (enabled by default)
                   17100: # Check whether --enable-pcregrep-jit was given.
                   17101: if test "${enable_pcregrep_jit+set}" = set; then :
                   17102:   enableval=$enable_pcregrep_jit;
                   17103: else
                   17104:   enable_pcregrep_jit=yes
                   17105: fi
                   17106: 
                   17107: 
                   17108: # Handle --enable-rebuild-chartables
                   17109: # Check whether --enable-rebuild-chartables was given.
                   17110: if test "${enable_rebuild_chartables+set}" = set; then :
                   17111:   enableval=$enable_rebuild_chartables;
                   17112: else
                   17113:   enable_rebuild_chartables=no
                   17114: fi
                   17115: 
                   17116: 
                   17117: # Handle --enable-utf8 (disabled by default)
                   17118: # Check whether --enable-utf8 was given.
                   17119: if test "${enable_utf8+set}" = set; then :
                   17120:   enableval=$enable_utf8;
                   17121: else
                   17122:   enable_utf8=unset
                   17123: fi
                   17124: 
                   17125: 
1.1.1.2   misho    17126: # Handle --enable-utf (disabled by default)
                   17127: # Check whether --enable-utf was given.
                   17128: if test "${enable_utf+set}" = set; then :
                   17129:   enableval=$enable_utf;
                   17130: else
                   17131:   enable_utf=unset
                   17132: fi
                   17133: 
                   17134: 
1.1       misho    17135: # Handle --enable-unicode-properties
                   17136: # Check whether --enable-unicode-properties was given.
                   17137: if test "${enable_unicode_properties+set}" = set; then :
                   17138:   enableval=$enable_unicode_properties;
                   17139: else
                   17140:   enable_unicode_properties=no
                   17141: fi
                   17142: 
                   17143: 
1.1.1.4   misho    17144: # Handle newline options
1.1       misho    17145: ac_pcre_newline=lf
                   17146: # Check whether --enable-newline-is-cr was given.
                   17147: if test "${enable_newline_is_cr+set}" = set; then :
                   17148:   enableval=$enable_newline_is_cr; ac_pcre_newline=cr
                   17149: fi
                   17150: 
                   17151: # Check whether --enable-newline-is-lf was given.
                   17152: if test "${enable_newline_is_lf+set}" = set; then :
                   17153:   enableval=$enable_newline_is_lf; ac_pcre_newline=lf
                   17154: fi
                   17155: 
                   17156: # Check whether --enable-newline-is-crlf was given.
                   17157: if test "${enable_newline_is_crlf+set}" = set; then :
                   17158:   enableval=$enable_newline_is_crlf; ac_pcre_newline=crlf
                   17159: fi
                   17160: 
                   17161: # Check whether --enable-newline-is-anycrlf was given.
                   17162: if test "${enable_newline_is_anycrlf+set}" = set; then :
                   17163:   enableval=$enable_newline_is_anycrlf; ac_pcre_newline=anycrlf
                   17164: fi
                   17165: 
                   17166: # Check whether --enable-newline-is-any was given.
                   17167: if test "${enable_newline_is_any+set}" = set; then :
                   17168:   enableval=$enable_newline_is_any; ac_pcre_newline=any
                   17169: fi
                   17170: 
                   17171: enable_newline="$ac_pcre_newline"
                   17172: 
                   17173: # Handle --enable-bsr-anycrlf
                   17174: # Check whether --enable-bsr-anycrlf was given.
                   17175: if test "${enable_bsr_anycrlf+set}" = set; then :
                   17176:   enableval=$enable_bsr_anycrlf;
                   17177: else
                   17178:   enable_bsr_anycrlf=no
                   17179: fi
                   17180: 
                   17181: 
                   17182: # Handle --enable-ebcdic
                   17183: # Check whether --enable-ebcdic was given.
                   17184: if test "${enable_ebcdic+set}" = set; then :
                   17185:   enableval=$enable_ebcdic;
                   17186: else
                   17187:   enable_ebcdic=no
                   17188: fi
                   17189: 
                   17190: 
1.1.1.4   misho    17191: # Handle --enable-ebcdic-nl25
                   17192: # Check whether --enable-ebcdic-nl25 was given.
                   17193: if test "${enable_ebcdic_nl25+set}" = set; then :
                   17194:   enableval=$enable_ebcdic_nl25;
                   17195: else
                   17196:   enable_ebcdic_nl25=no
                   17197: fi
                   17198: 
                   17199: 
1.1       misho    17200: # Handle --disable-stack-for-recursion
                   17201: # Check whether --enable-stack-for-recursion was given.
                   17202: if test "${enable_stack_for_recursion+set}" = set; then :
                   17203:   enableval=$enable_stack_for_recursion;
                   17204: else
                   17205:   enable_stack_for_recursion=yes
                   17206: fi
                   17207: 
                   17208: 
                   17209: # Handle --enable-pcregrep-libz
                   17210: # Check whether --enable-pcregrep-libz was given.
                   17211: if test "${enable_pcregrep_libz+set}" = set; then :
                   17212:   enableval=$enable_pcregrep_libz;
                   17213: else
                   17214:   enable_pcregrep_libz=no
                   17215: fi
                   17216: 
                   17217: 
                   17218: # Handle --enable-pcregrep-libbz2
                   17219: # Check whether --enable-pcregrep-libbz2 was given.
                   17220: if test "${enable_pcregrep_libbz2+set}" = set; then :
                   17221:   enableval=$enable_pcregrep_libbz2;
                   17222: else
                   17223:   enable_pcregrep_libbz2=no
                   17224: fi
                   17225: 
                   17226: 
                   17227: # Handle --with-pcregrep-bufsize=N
                   17228: 
                   17229: # Check whether --with-pcregrep-bufsize was given.
                   17230: if test "${with_pcregrep_bufsize+set}" = set; then :
                   17231:   withval=$with_pcregrep_bufsize;
                   17232: else
                   17233:   with_pcregrep_bufsize=20480
                   17234: fi
                   17235: 
                   17236: 
1.1.1.3   misho    17237: # Handle --enable-pcretest-libedit
                   17238: # Check whether --enable-pcretest-libedit was given.
                   17239: if test "${enable_pcretest_libedit+set}" = set; then :
                   17240:   enableval=$enable_pcretest_libedit;
                   17241: else
                   17242:   enable_pcretest_libedit=no
                   17243: fi
                   17244: 
                   17245: 
1.1       misho    17246: # Handle --enable-pcretest-libreadline
                   17247: # Check whether --enable-pcretest-libreadline was given.
                   17248: if test "${enable_pcretest_libreadline+set}" = set; then :
                   17249:   enableval=$enable_pcretest_libreadline;
                   17250: else
                   17251:   enable_pcretest_libreadline=no
                   17252: fi
                   17253: 
                   17254: 
                   17255: # Handle --with-posix-malloc-threshold=NBYTES
                   17256: 
                   17257: # Check whether --with-posix-malloc-threshold was given.
                   17258: if test "${with_posix_malloc_threshold+set}" = set; then :
                   17259:   withval=$with_posix_malloc_threshold;
                   17260: else
                   17261:   with_posix_malloc_threshold=10
                   17262: fi
                   17263: 
                   17264: 
                   17265: # Handle --with-link-size=N
                   17266: 
                   17267: # Check whether --with-link-size was given.
                   17268: if test "${with_link_size+set}" = set; then :
                   17269:   withval=$with_link_size;
                   17270: else
                   17271:   with_link_size=2
                   17272: fi
                   17273: 
                   17274: 
1.1.1.5 ! misho    17275: # Handle --with-parens-nest-limit=N
        !          17276: 
        !          17277: # Check whether --with-parens-nest-limit was given.
        !          17278: if test "${with_parens_nest_limit+set}" = set; then :
        !          17279:   withval=$with_parens_nest_limit;
        !          17280: else
        !          17281:   with_parens_nest_limit=250
        !          17282: fi
        !          17283: 
        !          17284: 
1.1       misho    17285: # Handle --with-match-limit=N
                   17286: 
                   17287: # Check whether --with-match-limit was given.
                   17288: if test "${with_match_limit+set}" = set; then :
                   17289:   withval=$with_match_limit;
                   17290: else
                   17291:   with_match_limit=10000000
                   17292: fi
                   17293: 
                   17294: 
                   17295: # Handle --with-match-limit_recursion=N
                   17296: #
                   17297: # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
                   17298: # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
                   17299: # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
                   17300: # different numeric value (or even the same numeric value as MATCH_LIMIT,
                   17301: # though no longer defined in terms of the latter).
                   17302: #
                   17303: 
                   17304: # Check whether --with-match-limit-recursion was given.
                   17305: if test "${with_match_limit_recursion+set}" = set; then :
                   17306:   withval=$with_match_limit_recursion;
                   17307: else
                   17308:   with_match_limit_recursion=MATCH_LIMIT
                   17309: fi
                   17310: 
                   17311: 
1.1.1.4   misho    17312: # Handle --enable-valgrind
                   17313: # Check whether --enable-valgrind was given.
                   17314: if test "${enable_valgrind+set}" = set; then :
                   17315:   enableval=$enable_valgrind;
                   17316: else
                   17317:   enable_valgrind=no
                   17318: fi
                   17319: 
                   17320: 
                   17321: # Enable code coverage reports using gcov
                   17322: # Check whether --enable-coverage was given.
                   17323: if test "${enable_coverage+set}" = set; then :
                   17324:   enableval=$enable_coverage;
                   17325: else
                   17326:   enable_coverage=no
                   17327: fi
                   17328: 
                   17329: 
1.1.1.2   misho    17330: # Copy enable_utf8 value to enable_utf for compatibility reasons
                   17331: if test "x$enable_utf8" != "xunset"
                   17332: then
                   17333:   if test "x$enable_utf" != "xunset"
                   17334:   then
                   17335:     as_fn_error $? "--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone." "$LINENO" 5
                   17336:   fi
                   17337:   enable_utf=$enable_utf8
                   17338: fi
                   17339: 
                   17340: # Set the default value for pcre8
                   17341: if test "x$enable_pcre8" = "xunset"
                   17342: then
                   17343:   enable_pcre8=yes
                   17344: fi
                   17345: 
                   17346: # Set the default value for pcre16
                   17347: if test "x$enable_pcre16" = "xunset"
                   17348: then
                   17349:   enable_pcre16=no
                   17350: fi
                   17351: 
1.1.1.4   misho    17352: # Set the default value for pcre32
                   17353: if test "x$enable_pcre32" = "xunset"
                   17354: then
                   17355:   enable_pcre32=no
                   17356: fi
                   17357: 
1.1.1.2   misho    17358: # Make sure enable_pcre8 or enable_pcre16 was set
1.1.1.4   misho    17359: if test "x$enable_pcre8$enable_pcre16$enable_pcre32" = "xnonono"
1.1.1.2   misho    17360: then
1.1.1.4   misho    17361:   as_fn_error $? "At least one of 8, 16 or 32 bit pcre library must be enabled" "$LINENO" 5
1.1.1.2   misho    17362: fi
                   17363: 
                   17364: # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
1.1       misho    17365: if test "x$enable_unicode_properties" = "xyes"
                   17366: then
1.1.1.2   misho    17367:   if test "x$enable_utf" = "xno"
1.1       misho    17368:   then
1.1.1.4   misho    17369:     as_fn_error $? "support for Unicode properties requires UTF-8/16/32 support" "$LINENO" 5
1.1       misho    17370:   fi
1.1.1.2   misho    17371:   enable_utf=yes
                   17372: fi
                   17373: 
                   17374: # enable_utf is disabled by default.
                   17375: if test "x$enable_utf" = "xunset"
                   17376: then
                   17377:   enable_utf=no
1.1       misho    17378: fi
                   17379: 
1.1.1.2   misho    17380: # enable_cpp copies the value of enable_pcre8 by default
                   17381: if test "x$enable_cpp" = "xunset"
1.1       misho    17382: then
1.1.1.2   misho    17383:   enable_cpp=$enable_pcre8
                   17384: fi
                   17385: 
                   17386: # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
                   17387: if test "x$enable_cpp" = "xyes"
                   17388: then
                   17389:   if test "x$enable_pcre8" = "xno"
                   17390:   then
                   17391:     as_fn_error $? "C++ library requires pcre library with 8 bit characters" "$LINENO" 5
                   17392:   fi
1.1       misho    17393: fi
                   17394: 
1.1.1.4   misho    17395: # Convert the newline identifier into the appropriate integer value. The first
                   17396: # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they
                   17397: # are changed below.
1.1       misho    17398: 
                   17399: case "$enable_newline" in
                   17400:   lf)      ac_pcre_newline_value=10   ;;
                   17401:   cr)      ac_pcre_newline_value=13   ;;
                   17402:   crlf)    ac_pcre_newline_value=3338 ;;
                   17403:   anycrlf) ac_pcre_newline_value=-2   ;;
                   17404:   any)     ac_pcre_newline_value=-1   ;;
                   17405:   *)
                   17406:   as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
                   17407:   ;;
                   17408: esac
                   17409: 
1.1.1.4   misho    17410: # --enable-ebcdic-nl25 implies --enable-ebcdic
                   17411: if test "x$enable_ebcdic_nl25" = "xyes"; then
                   17412:   enable_ebcdic=yes
                   17413: fi
                   17414: 
                   17415: # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled,
                   17416: # and the newline value is adjusted appropriately (CR is still 13, but LF is
                   17417: # 21 or 37). Also check that UTF support is not requested, because PCRE cannot
                   17418: # handle EBCDIC and UTF in the same build. To do so it would need to use
                   17419: # different character constants depending on the mode.
                   17420: #
                   17421: if test "x$enable_ebcdic" = "xyes"; then
                   17422:   enable_rebuild_chartables=yes
                   17423: 
                   17424:   if test "x$enable_utf" = "xyes"; then
                   17425:     as_fn_error $? "support for EBCDIC and UTF-8/16/32 cannot be enabled at the same time" "$LINENO" 5
                   17426:   fi
                   17427: 
                   17428:   if test "x$enable_ebcdic_nl25" = "xno"; then
                   17429:     case "$ac_pcre_newline_value" in
                   17430:       10)   ac_pcre_newline_value=21 ;;
                   17431:       3338) ac_pcre_newline_value=3349 ;;
                   17432:     esac
                   17433:   else
                   17434:     case "$ac_pcre_newline_value" in
                   17435:       10)   ac_pcre_newline_value=37 ;;
                   17436:       3338) ac_pcre_newline_value=3365 ;;
                   17437:     esac
                   17438:   fi
                   17439: fi
                   17440: 
1.1       misho    17441: # Check argument to --with-link-size
                   17442: case "$with_link_size" in
                   17443:   2|3|4) ;;
                   17444:   *)
                   17445:   as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
                   17446:   ;;
                   17447: esac
                   17448: 
                   17449: 
                   17450: 
                   17451: # Checks for header files.
                   17452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   17453: $as_echo_n "checking for ANSI C header files... " >&6; }
                   17454: if ${ac_cv_header_stdc+:} false; then :
                   17455:   $as_echo_n "(cached) " >&6
                   17456: else
                   17457:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17458: /* end confdefs.h.  */
                   17459: #include <stdlib.h>
                   17460: #include <stdarg.h>
                   17461: #include <string.h>
                   17462: #include <float.h>
                   17463: 
                   17464: int
                   17465: main ()
                   17466: {
                   17467: 
                   17468:   ;
                   17469:   return 0;
                   17470: }
                   17471: _ACEOF
                   17472: if ac_fn_c_try_compile "$LINENO"; then :
                   17473:   ac_cv_header_stdc=yes
                   17474: else
                   17475:   ac_cv_header_stdc=no
                   17476: fi
                   17477: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17478: 
                   17479: if test $ac_cv_header_stdc = yes; then
                   17480:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   17481:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17482: /* end confdefs.h.  */
                   17483: #include <string.h>
                   17484: 
                   17485: _ACEOF
                   17486: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17487:   $EGREP "memchr" >/dev/null 2>&1; then :
                   17488: 
                   17489: else
                   17490:   ac_cv_header_stdc=no
                   17491: fi
                   17492: rm -f conftest*
                   17493: 
                   17494: fi
                   17495: 
                   17496: if test $ac_cv_header_stdc = yes; then
                   17497:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   17498:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17499: /* end confdefs.h.  */
                   17500: #include <stdlib.h>
                   17501: 
                   17502: _ACEOF
                   17503: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17504:   $EGREP "free" >/dev/null 2>&1; then :
                   17505: 
                   17506: else
                   17507:   ac_cv_header_stdc=no
                   17508: fi
                   17509: rm -f conftest*
                   17510: 
                   17511: fi
                   17512: 
                   17513: if test $ac_cv_header_stdc = yes; then
                   17514:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   17515:   if test "$cross_compiling" = yes; then :
                   17516:   :
                   17517: else
                   17518:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17519: /* end confdefs.h.  */
                   17520: #include <ctype.h>
                   17521: #include <stdlib.h>
                   17522: #if ((' ' & 0x0FF) == 0x020)
                   17523: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   17524: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   17525: #else
                   17526: # define ISLOWER(c) \
                   17527:                   (('a' <= (c) && (c) <= 'i') \
                   17528:                     || ('j' <= (c) && (c) <= 'r') \
                   17529:                     || ('s' <= (c) && (c) <= 'z'))
                   17530: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   17531: #endif
                   17532: 
                   17533: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   17534: int
                   17535: main ()
                   17536: {
                   17537:   int i;
                   17538:   for (i = 0; i < 256; i++)
                   17539:     if (XOR (islower (i), ISLOWER (i))
                   17540:        || toupper (i) != TOUPPER (i))
                   17541:       return 2;
                   17542:   return 0;
                   17543: }
                   17544: _ACEOF
                   17545: if ac_fn_c_try_run "$LINENO"; then :
                   17546: 
                   17547: else
                   17548:   ac_cv_header_stdc=no
                   17549: fi
                   17550: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17551:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   17552: fi
                   17553: 
                   17554: fi
                   17555: fi
                   17556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   17557: $as_echo "$ac_cv_header_stdc" >&6; }
                   17558: if test $ac_cv_header_stdc = yes; then
                   17559: 
                   17560: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   17561: 
                   17562: fi
                   17563: 
                   17564: for ac_header in limits.h sys/types.h sys/stat.h dirent.h windows.h
                   17565: do :
                   17566:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17567: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17568: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17569:   cat >>confdefs.h <<_ACEOF
                   17570: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17571: _ACEOF
                   17572: 
                   17573: fi
                   17574: 
                   17575: done
                   17576: 
                   17577: 
                   17578: # The files below are C++ header files.
                   17579: pcre_have_type_traits="0"
                   17580: pcre_have_bits_type_traits="0"
1.1.1.4   misho    17581: 
                   17582: if test "x$enable_cpp" = "xyes" -a -z "$CXX"; then
                   17583:    as_fn_error $? "You need a C++ compiler for C++ support." "$LINENO" 5
                   17584: fi
                   17585: 
1.1       misho    17586: if test "x$enable_cpp" = "xyes" -a -n "$CXX"
                   17587: then
                   17588: ac_ext=cpp
                   17589: ac_cpp='$CXXCPP $CPPFLAGS'
                   17590: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17591: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17592: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   17593: 
                   17594: 
                   17595: # Older versions of pcre defined pcrecpp::no_arg, but in new versions
                   17596: # it's called pcrecpp::RE::no_arg.  For backwards ABI compatibility,
                   17597: # we want to make one an alias for the other.  Different systems do
                   17598: # this in different ways.  Some systems, for instance, can do it via
                   17599: # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
                   17600: OLD_LDFLAGS="$LDFLAGS"
                   17601: for flag in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
                   17602:             "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
                   17603:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
                   17604: $as_echo_n "checking for alias support in the linker... " >&6; }
                   17605:   LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
                   17606:   # We try to run the linker with this new ld flag.  If the link fails,
                   17607:   # we give up and remove the new flag from LDFLAGS.
                   17608:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17609: /* end confdefs.h.  */
                   17610: namespace pcrecpp {
                   17611:                                     class RE { static int no_arg; };
                   17612:                                     int RE::no_arg;
                   17613:                                   }
                   17614: int
                   17615: main ()
                   17616: {
                   17617: 
                   17618:   ;
                   17619:   return 0;
                   17620: }
                   17621: _ACEOF
                   17622: if ac_fn_cxx_try_link "$LINENO"; then :
                   17623:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17624: $as_echo "yes" >&6; };
                   17625:                   EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
                   17626:                   break;
                   17627: else
                   17628:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17629: $as_echo "no" >&6; }
                   17630: fi
                   17631: rm -f core conftest.err conftest.$ac_objext \
                   17632:     conftest$ac_exeext conftest.$ac_ext
                   17633: done
                   17634: LDFLAGS="$OLD_LDFLAGS"
                   17635: 
                   17636: # We could be more clever here, given we're doing AC_SUBST with this
                   17637: # (eg set a var to be the name of the include file we want). But we're not
                   17638: # so it's easy to change back to 'regular' autoconf vars if we needed to.
                   17639: 
                   17640: for ac_header in string
                   17641: do :
                   17642:   ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
                   17643: if test "x$ac_cv_header_string" = xyes; then :
                   17644:   cat >>confdefs.h <<_ACEOF
                   17645: #define HAVE_STRING 1
                   17646: _ACEOF
                   17647:  pcre_have_cpp_headers="1"
                   17648: else
                   17649:   pcre_have_cpp_headers="0"
                   17650: fi
                   17651: 
                   17652: done
                   17653: 
                   17654: for ac_header in bits/type_traits.h
                   17655: do :
                   17656:   ac_fn_cxx_check_header_mongrel "$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
                   17657: if test "x$ac_cv_header_bits_type_traits_h" = xyes; then :
                   17658:   cat >>confdefs.h <<_ACEOF
                   17659: #define HAVE_BITS_TYPE_TRAITS_H 1
                   17660: _ACEOF
                   17661:  pcre_have_bits_type_traits="1"
                   17662: else
                   17663:   pcre_have_bits_type_traits="0"
                   17664: fi
                   17665: 
                   17666: done
                   17667: 
                   17668: for ac_header in type_traits.h
                   17669: do :
                   17670:   ac_fn_cxx_check_header_mongrel "$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
                   17671: if test "x$ac_cv_header_type_traits_h" = xyes; then :
                   17672:   cat >>confdefs.h <<_ACEOF
                   17673: #define HAVE_TYPE_TRAITS_H 1
                   17674: _ACEOF
                   17675:  pcre_have_type_traits="1"
                   17676: else
                   17677:   pcre_have_type_traits="0"
                   17678: fi
                   17679: 
                   17680: done
                   17681: 
                   17682: 
                   17683: # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
                   17684: # in a c++ context.  This matters becuase strtoimax is C99 and may not
                   17685: # be supported by the C++ compiler.)
                   17686: # Figure out how to create a longlong from a string: strtoll and
                   17687: # equiv.  It's not enough to call AC_CHECK_FUNCS: hpux has a
                   17688: # strtoll, for instance, but it only takes 2 args instead of 3!
                   17689: # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
                   17690: 
                   17691: 
                   17692: 
                   17693: 
                   17694: have_strto_fn=0
                   17695: for fn in strtoq strtoll _strtoi64 strtoimax; do
                   17696:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
                   17697: $as_echo_n "checking for $fn... " >&6; }
                   17698:   if test "$fn" = strtoimax; then
                   17699:     include=stdint.h
                   17700:   else
                   17701:     include=stdlib.h
                   17702:   fi
                   17703:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17704: /* end confdefs.h.  */
                   17705: #include <$include>
                   17706: int
                   17707: main ()
                   17708: {
                   17709: char* e; return $fn("100", &e, 10)
                   17710:   ;
                   17711:   return 0;
                   17712: }
                   17713: _ACEOF
                   17714: if ac_fn_cxx_try_compile "$LINENO"; then :
                   17715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17716: $as_echo "yes" >&6; }
                   17717: 
                   17718: cat >>confdefs.h <<_ACEOF
                   17719: #define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
                   17720: _ACEOF
                   17721: 
                   17722:                      have_strto_fn=1
                   17723:                      break
                   17724: else
                   17725:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17726: $as_echo "no" >&6; }
                   17727: fi
                   17728: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17729: done
                   17730: 
                   17731: if test "$have_strto_fn" = 1; then
                   17732:   ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
                   17733: if test "x$ac_cv_type_long_long" = xyes; then :
                   17734: 
                   17735: cat >>confdefs.h <<_ACEOF
                   17736: #define HAVE_LONG_LONG 1
                   17737: _ACEOF
                   17738: 
                   17739: pcre_have_long_long="1"
                   17740: else
                   17741:   pcre_have_long_long="0"
                   17742: fi
                   17743: 
                   17744:   ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
                   17745: if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
                   17746: 
                   17747: cat >>confdefs.h <<_ACEOF
                   17748: #define HAVE_UNSIGNED_LONG_LONG 1
                   17749: _ACEOF
                   17750: 
                   17751: pcre_have_ulong_long="1"
                   17752: else
                   17753:   pcre_have_ulong_long="0"
                   17754: fi
                   17755: 
                   17756: else
                   17757:   pcre_have_long_long="0"
                   17758:   pcre_have_ulong_long="0"
                   17759: fi
                   17760: 
                   17761: 
                   17762: 
                   17763: ac_ext=c
                   17764: ac_cpp='$CPP $CPPFLAGS'
                   17765: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17766: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17767: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   17768: 
                   17769: fi
                   17770: # Using AC_SUBST eliminates the need to include config.h in a public .h file
                   17771: 
                   17772: 
                   17773: 
                   17774: # Conditional compilation
1.1.1.2   misho    17775:  if test "x$enable_pcre8" = "xyes"; then
                   17776:   WITH_PCRE8_TRUE=
                   17777:   WITH_PCRE8_FALSE='#'
                   17778: else
                   17779:   WITH_PCRE8_TRUE='#'
                   17780:   WITH_PCRE8_FALSE=
                   17781: fi
                   17782: 
                   17783:  if test "x$enable_pcre16" = "xyes"; then
                   17784:   WITH_PCRE16_TRUE=
                   17785:   WITH_PCRE16_FALSE='#'
                   17786: else
                   17787:   WITH_PCRE16_TRUE='#'
                   17788:   WITH_PCRE16_FALSE=
                   17789: fi
                   17790: 
1.1.1.4   misho    17791:  if test "x$enable_pcre32" = "xyes"; then
                   17792:   WITH_PCRE32_TRUE=
                   17793:   WITH_PCRE32_FALSE='#'
                   17794: else
                   17795:   WITH_PCRE32_TRUE='#'
                   17796:   WITH_PCRE32_FALSE=
                   17797: fi
                   17798: 
1.1       misho    17799:  if test "x$enable_cpp" = "xyes"; then
                   17800:   WITH_PCRE_CPP_TRUE=
                   17801:   WITH_PCRE_CPP_FALSE='#'
                   17802: else
                   17803:   WITH_PCRE_CPP_TRUE='#'
                   17804:   WITH_PCRE_CPP_FALSE=
                   17805: fi
                   17806: 
                   17807:  if test "x$enable_rebuild_chartables" = "xyes"; then
                   17808:   WITH_REBUILD_CHARTABLES_TRUE=
                   17809:   WITH_REBUILD_CHARTABLES_FALSE='#'
                   17810: else
                   17811:   WITH_REBUILD_CHARTABLES_TRUE='#'
                   17812:   WITH_REBUILD_CHARTABLES_FALSE=
                   17813: fi
                   17814: 
                   17815:  if test "x$enable_jit" = "xyes"; then
                   17816:   WITH_JIT_TRUE=
                   17817:   WITH_JIT_FALSE='#'
                   17818: else
                   17819:   WITH_JIT_TRUE='#'
                   17820:   WITH_JIT_FALSE=
                   17821: fi
                   17822: 
1.1.1.2   misho    17823:  if test "x$enable_utf" = "xyes"; then
                   17824:   WITH_UTF_TRUE=
                   17825:   WITH_UTF_FALSE='#'
1.1       misho    17826: else
1.1.1.2   misho    17827:   WITH_UTF_TRUE='#'
                   17828:   WITH_UTF_FALSE=
1.1       misho    17829: fi
                   17830: 
1.1.1.4   misho    17831:  if test "x$enable_valgrind" = "xyes"; then
                   17832:   WITH_VALGRIND_TRUE=
                   17833:   WITH_VALGRIND_FALSE='#'
                   17834: else
                   17835:   WITH_VALGRIND_TRUE='#'
                   17836:   WITH_VALGRIND_FALSE=
                   17837: fi
                   17838: 
1.1       misho    17839: 
                   17840: # Checks for typedefs, structures, and compiler characteristics.
                   17841: 
                   17842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   17843: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
                   17844: if ${ac_cv_c_const+:} false; then :
                   17845:   $as_echo_n "(cached) " >&6
                   17846: else
                   17847:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17848: /* end confdefs.h.  */
                   17849: 
                   17850: int
                   17851: main ()
                   17852: {
1.1.1.4   misho    17853: 
1.1       misho    17854: #ifndef __cplusplus
1.1.1.4   misho    17855:   /* Ultrix mips cc rejects this sort of thing.  */
1.1       misho    17856:   typedef int charset[2];
1.1.1.4   misho    17857:   const charset cs = { 0, 0 };
1.1       misho    17858:   /* SunOS 4.1.1 cc rejects this.  */
                   17859:   char const *const *pcpcc;
                   17860:   char **ppc;
                   17861:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   17862:   struct point {int x, y;};
                   17863:   static struct point const zero = {0,0};
                   17864:   /* AIX XL C 1.02.0.0 rejects this.
                   17865:      It does not let you subtract one const X* pointer from another in
                   17866:      an arm of an if-expression whose if-part is not a constant
                   17867:      expression */
                   17868:   const char *g = "string";
                   17869:   pcpcc = &g + (g ? g-g : 0);
                   17870:   /* HPUX 7.0 cc rejects these. */
                   17871:   ++pcpcc;
                   17872:   ppc = (char**) pcpcc;
                   17873:   pcpcc = (char const *const *) ppc;
1.1.1.4   misho    17874:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
                   17875:     char tx;
                   17876:     char *t = &tx;
1.1       misho    17877:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   17878: 
                   17879:     *t++ = 0;
                   17880:     if (s) return 0;
                   17881:   }
                   17882:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   17883:     int x[] = {25, 17};
                   17884:     const int *foo = &x[0];
                   17885:     ++foo;
                   17886:   }
                   17887:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   17888:     typedef const int *iptr;
                   17889:     iptr p = 0;
                   17890:     ++p;
                   17891:   }
1.1.1.4   misho    17892:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1.1       misho    17893:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1.1.1.4   misho    17894:     struct s { int j; const int *ap[3]; } bx;
                   17895:     struct s *b = &bx; b->j = 5;
1.1       misho    17896:   }
                   17897:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   17898:     const int foo = 10;
                   17899:     if (!foo) return 0;
                   17900:   }
                   17901:   return !cs[0] && !zero.x;
                   17902: #endif
                   17903: 
                   17904:   ;
                   17905:   return 0;
                   17906: }
                   17907: _ACEOF
                   17908: if ac_fn_c_try_compile "$LINENO"; then :
                   17909:   ac_cv_c_const=yes
                   17910: else
                   17911:   ac_cv_c_const=no
                   17912: fi
                   17913: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17914: fi
                   17915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   17916: $as_echo "$ac_cv_c_const" >&6; }
                   17917: if test $ac_cv_c_const = no; then
                   17918: 
                   17919: $as_echo "#define const /**/" >>confdefs.h
                   17920: 
                   17921: fi
                   17922: 
                   17923: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17924: if test "x$ac_cv_type_size_t" = xyes; then :
                   17925: 
                   17926: else
                   17927: 
                   17928: cat >>confdefs.h <<_ACEOF
                   17929: #define size_t unsigned int
                   17930: _ACEOF
                   17931: 
                   17932: fi
                   17933: 
                   17934: 
                   17935: # Checks for library functions.
                   17936: 
                   17937: for ac_func in bcopy memmove strerror
                   17938: do :
                   17939:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17940: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17941: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17942:   cat >>confdefs.h <<_ACEOF
                   17943: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17944: _ACEOF
                   17945: 
                   17946: fi
                   17947: done
                   17948: 
                   17949: 
                   17950: # Check for the availability of libz (aka zlib)
                   17951: 
                   17952: for ac_header in zlib.h
                   17953: do :
                   17954:   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
                   17955: if test "x$ac_cv_header_zlib_h" = xyes; then :
                   17956:   cat >>confdefs.h <<_ACEOF
                   17957: #define HAVE_ZLIB_H 1
                   17958: _ACEOF
                   17959:  HAVE_ZLIB_H=1
                   17960: fi
                   17961: 
                   17962: done
                   17963: 
                   17964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
                   17965: $as_echo_n "checking for gzopen in -lz... " >&6; }
                   17966: if ${ac_cv_lib_z_gzopen+:} false; then :
                   17967:   $as_echo_n "(cached) " >&6
                   17968: else
                   17969:   ac_check_lib_save_LIBS=$LIBS
                   17970: LIBS="-lz  $LIBS"
                   17971: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17972: /* end confdefs.h.  */
                   17973: 
                   17974: /* Override any GCC internal prototype to avoid an error.
                   17975:    Use char because int might match the return type of a GCC
                   17976:    builtin and then its argument prototype would still apply.  */
                   17977: #ifdef __cplusplus
                   17978: extern "C"
                   17979: #endif
                   17980: char gzopen ();
                   17981: int
                   17982: main ()
                   17983: {
                   17984: return gzopen ();
                   17985:   ;
                   17986:   return 0;
                   17987: }
                   17988: _ACEOF
                   17989: if ac_fn_c_try_link "$LINENO"; then :
                   17990:   ac_cv_lib_z_gzopen=yes
                   17991: else
                   17992:   ac_cv_lib_z_gzopen=no
                   17993: fi
                   17994: rm -f core conftest.err conftest.$ac_objext \
                   17995:     conftest$ac_exeext conftest.$ac_ext
                   17996: LIBS=$ac_check_lib_save_LIBS
                   17997: fi
                   17998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
                   17999: $as_echo "$ac_cv_lib_z_gzopen" >&6; }
                   18000: if test "x$ac_cv_lib_z_gzopen" = xyes; then :
                   18001:   HAVE_LIBZ=1
                   18002: fi
                   18003: 
                   18004: 
                   18005: # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
                   18006: # as for libz. However, this had the following problem, diagnosed and fixed by
                   18007: # a user:
                   18008: #
                   18009: #   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
                   18010: #     under Win32.
                   18011: #   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
                   18012: #     therefore missing the function definition.
                   18013: #   - The compiler thus generates a "C" signature for the test function.
                   18014: #   - The linker fails to find the "C" function.
                   18015: #   - PCRE fails to configure if asked to do so against libbz2.
                   18016: #
                   18017: # Solution:
                   18018: #
                   18019: #   - Replace the AC_CHECK_LIB test with a custom test.
                   18020: 
                   18021: for ac_header in bzlib.h
                   18022: do :
                   18023:   ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
                   18024: if test "x$ac_cv_header_bzlib_h" = xyes; then :
                   18025:   cat >>confdefs.h <<_ACEOF
                   18026: #define HAVE_BZLIB_H 1
                   18027: _ACEOF
                   18028:  HAVE_BZLIB_H=1
                   18029: fi
                   18030: 
                   18031: done
                   18032: 
                   18033: # Original test
                   18034: # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
                   18035: #
                   18036: # Custom test follows
                   18037: 
                   18038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
                   18039: $as_echo_n "checking for libbz2... " >&6; }
                   18040: OLD_LIBS="$LIBS"
                   18041: LIBS="$LIBS -lbz2"
                   18042: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18043: /* end confdefs.h.  */
                   18044: 
                   18045: #ifdef HAVE_BZLIB_H
                   18046: #include <bzlib.h>
                   18047: #endif
                   18048: int
                   18049: main ()
                   18050: {
                   18051: return (int)BZ2_bzopen("conftest", "rb");
                   18052:   ;
                   18053:   return 0;
                   18054: }
                   18055: _ACEOF
                   18056: if ac_fn_c_try_link "$LINENO"; then :
                   18057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18058: $as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
                   18059: else
                   18060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18061: $as_echo "no" >&6; }
                   18062: fi
                   18063: rm -f core conftest.err conftest.$ac_objext \
                   18064:     conftest$ac_exeext conftest.$ac_ext
                   18065: LIBS="$OLD_LIBS"
                   18066: 
                   18067: # Check for the availabiity of libreadline
                   18068: 
1.1.1.3   misho    18069: if test "$enable_pcretest_libreadline" = "yes"; then
                   18070:  for ac_header in readline/readline.h
1.1       misho    18071: do :
                   18072:   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
                   18073: if test "x$ac_cv_header_readline_readline_h" = xyes; then :
                   18074:   cat >>confdefs.h <<_ACEOF
                   18075: #define HAVE_READLINE_READLINE_H 1
                   18076: _ACEOF
                   18077:  HAVE_READLINE_H=1
                   18078: fi
                   18079: 
                   18080: done
                   18081: 
1.1.1.3   misho    18082:  for ac_header in readline/history.h
1.1       misho    18083: do :
                   18084:   ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
                   18085: if test "x$ac_cv_header_readline_history_h" = xyes; then :
                   18086:   cat >>confdefs.h <<_ACEOF
                   18087: #define HAVE_READLINE_HISTORY_H 1
                   18088: _ACEOF
                   18089:  HAVE_HISTORY_H=1
                   18090: fi
                   18091: 
                   18092: done
                   18093: 
1.1.1.3   misho    18094:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
1.1       misho    18095: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   18096: if ${ac_cv_lib_readline_readline+:} false; then :
                   18097:   $as_echo_n "(cached) " >&6
                   18098: else
                   18099:   ac_check_lib_save_LIBS=$LIBS
                   18100: LIBS="-lreadline  $LIBS"
                   18101: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18102: /* end confdefs.h.  */
                   18103: 
                   18104: /* Override any GCC internal prototype to avoid an error.
                   18105:    Use char because int might match the return type of a GCC
                   18106:    builtin and then its argument prototype would still apply.  */
                   18107: #ifdef __cplusplus
                   18108: extern "C"
                   18109: #endif
                   18110: char readline ();
                   18111: int
                   18112: main ()
                   18113: {
                   18114: return readline ();
                   18115:   ;
                   18116:   return 0;
                   18117: }
                   18118: _ACEOF
                   18119: if ac_fn_c_try_link "$LINENO"; then :
                   18120:   ac_cv_lib_readline_readline=yes
                   18121: else
                   18122:   ac_cv_lib_readline_readline=no
                   18123: fi
                   18124: rm -f core conftest.err conftest.$ac_objext \
                   18125:     conftest$ac_exeext conftest.$ac_ext
                   18126: LIBS=$ac_check_lib_save_LIBS
                   18127: fi
                   18128: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   18129: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   18130: if test "x$ac_cv_lib_readline_readline" = xyes; then :
1.1.1.2   misho    18131:   LIBREADLINE="-lreadline"
                   18132: else
                   18133:   unset ac_cv_lib_readline_readline;
1.1.1.3   misho    18134:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
1.1.1.2   misho    18135: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   18136: if ${ac_cv_lib_readline_readline+:} false; then :
                   18137:   $as_echo_n "(cached) " >&6
                   18138: else
                   18139:   ac_check_lib_save_LIBS=$LIBS
                   18140: LIBS="-lreadline -ltinfo $LIBS"
                   18141: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18142: /* end confdefs.h.  */
                   18143: 
                   18144: /* Override any GCC internal prototype to avoid an error.
                   18145:    Use char because int might match the return type of a GCC
                   18146:    builtin and then its argument prototype would still apply.  */
                   18147: #ifdef __cplusplus
                   18148: extern "C"
                   18149: #endif
                   18150: char readline ();
                   18151: int
                   18152: main ()
                   18153: {
                   18154: return readline ();
                   18155:   ;
                   18156:   return 0;
                   18157: }
                   18158: _ACEOF
                   18159: if ac_fn_c_try_link "$LINENO"; then :
                   18160:   ac_cv_lib_readline_readline=yes
                   18161: else
                   18162:   ac_cv_lib_readline_readline=no
                   18163: fi
                   18164: rm -f core conftest.err conftest.$ac_objext \
                   18165:     conftest$ac_exeext conftest.$ac_ext
                   18166: LIBS=$ac_check_lib_save_LIBS
                   18167: fi
                   18168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   18169: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   18170: if test "x$ac_cv_lib_readline_readline" = xyes; then :
                   18171:   LIBREADLINE="-ltinfo"
                   18172: else
                   18173:   unset ac_cv_lib_readline_readline;
1.1.1.3   misho    18174:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
1.1.1.2   misho    18175: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   18176: if ${ac_cv_lib_readline_readline+:} false; then :
                   18177:   $as_echo_n "(cached) " >&6
                   18178: else
                   18179:   ac_check_lib_save_LIBS=$LIBS
                   18180: LIBS="-lreadline -lcurses $LIBS"
                   18181: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18182: /* end confdefs.h.  */
                   18183: 
                   18184: /* Override any GCC internal prototype to avoid an error.
                   18185:    Use char because int might match the return type of a GCC
                   18186:    builtin and then its argument prototype would still apply.  */
                   18187: #ifdef __cplusplus
                   18188: extern "C"
                   18189: #endif
                   18190: char readline ();
                   18191: int
                   18192: main ()
                   18193: {
                   18194: return readline ();
                   18195:   ;
                   18196:   return 0;
                   18197: }
                   18198: _ACEOF
                   18199: if ac_fn_c_try_link "$LINENO"; then :
                   18200:   ac_cv_lib_readline_readline=yes
                   18201: else
                   18202:   ac_cv_lib_readline_readline=no
                   18203: fi
                   18204: rm -f core conftest.err conftest.$ac_objext \
                   18205:     conftest$ac_exeext conftest.$ac_ext
                   18206: LIBS=$ac_check_lib_save_LIBS
                   18207: fi
                   18208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   18209: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   18210: if test "x$ac_cv_lib_readline_readline" = xyes; then :
                   18211:   LIBREADLINE="-lcurses"
                   18212: else
                   18213:   unset ac_cv_lib_readline_readline;
1.1.1.3   misho    18214:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
1.1.1.2   misho    18215: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   18216: if ${ac_cv_lib_readline_readline+:} false; then :
                   18217:   $as_echo_n "(cached) " >&6
                   18218: else
                   18219:   ac_check_lib_save_LIBS=$LIBS
                   18220: LIBS="-lreadline -lncurses $LIBS"
                   18221: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18222: /* end confdefs.h.  */
                   18223: 
                   18224: /* Override any GCC internal prototype to avoid an error.
                   18225:    Use char because int might match the return type of a GCC
                   18226:    builtin and then its argument prototype would still apply.  */
                   18227: #ifdef __cplusplus
                   18228: extern "C"
                   18229: #endif
                   18230: char readline ();
                   18231: int
                   18232: main ()
                   18233: {
                   18234: return readline ();
                   18235:   ;
                   18236:   return 0;
                   18237: }
                   18238: _ACEOF
                   18239: if ac_fn_c_try_link "$LINENO"; then :
                   18240:   ac_cv_lib_readline_readline=yes
                   18241: else
                   18242:   ac_cv_lib_readline_readline=no
                   18243: fi
                   18244: rm -f core conftest.err conftest.$ac_objext \
                   18245:     conftest$ac_exeext conftest.$ac_ext
                   18246: LIBS=$ac_check_lib_save_LIBS
                   18247: fi
                   18248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   18249: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   18250: if test "x$ac_cv_lib_readline_readline" = xyes; then :
                   18251:   LIBREADLINE="-lncurses"
                   18252: else
                   18253:   unset ac_cv_lib_readline_readline;
1.1.1.3   misho    18254:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
1.1.1.2   misho    18255: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   18256: if ${ac_cv_lib_readline_readline+:} false; then :
                   18257:   $as_echo_n "(cached) " >&6
                   18258: else
                   18259:   ac_check_lib_save_LIBS=$LIBS
                   18260: LIBS="-lreadline -lncursesw $LIBS"
                   18261: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18262: /* end confdefs.h.  */
                   18263: 
                   18264: /* Override any GCC internal prototype to avoid an error.
                   18265:    Use char because int might match the return type of a GCC
                   18266:    builtin and then its argument prototype would still apply.  */
                   18267: #ifdef __cplusplus
                   18268: extern "C"
                   18269: #endif
                   18270: char readline ();
                   18271: int
                   18272: main ()
                   18273: {
                   18274: return readline ();
                   18275:   ;
                   18276:   return 0;
                   18277: }
                   18278: _ACEOF
                   18279: if ac_fn_c_try_link "$LINENO"; then :
                   18280:   ac_cv_lib_readline_readline=yes
                   18281: else
                   18282:   ac_cv_lib_readline_readline=no
                   18283: fi
                   18284: rm -f core conftest.err conftest.$ac_objext \
                   18285:     conftest$ac_exeext conftest.$ac_ext
                   18286: LIBS=$ac_check_lib_save_LIBS
1.1       misho    18287: fi
1.1.1.2   misho    18288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   18289: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   18290: if test "x$ac_cv_lib_readline_readline" = xyes; then :
                   18291:   LIBREADLINE="-lncursesw"
                   18292: else
                   18293:   unset ac_cv_lib_readline_readline;
1.1.1.3   misho    18294:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
1.1.1.2   misho    18295: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   18296: if ${ac_cv_lib_readline_readline+:} false; then :
                   18297:   $as_echo_n "(cached) " >&6
                   18298: else
                   18299:   ac_check_lib_save_LIBS=$LIBS
                   18300: LIBS="-lreadline -ltermcap $LIBS"
                   18301: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18302: /* end confdefs.h.  */
1.1       misho    18303: 
1.1.1.2   misho    18304: /* Override any GCC internal prototype to avoid an error.
                   18305:    Use char because int might match the return type of a GCC
                   18306:    builtin and then its argument prototype would still apply.  */
                   18307: #ifdef __cplusplus
                   18308: extern "C"
                   18309: #endif
                   18310: char readline ();
                   18311: int
                   18312: main ()
                   18313: {
                   18314: return readline ();
                   18315:   ;
                   18316:   return 0;
                   18317: }
                   18318: _ACEOF
                   18319: if ac_fn_c_try_link "$LINENO"; then :
                   18320:   ac_cv_lib_readline_readline=yes
                   18321: else
                   18322:   ac_cv_lib_readline_readline=no
                   18323: fi
                   18324: rm -f core conftest.err conftest.$ac_objext \
                   18325:     conftest$ac_exeext conftest.$ac_ext
                   18326: LIBS=$ac_check_lib_save_LIBS
                   18327: fi
                   18328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   18329: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   18330: if test "x$ac_cv_lib_readline_readline" = xyes; then :
                   18331:   LIBREADLINE="-ltermcap"
                   18332: else
                   18333:   LIBREADLINE=""
                   18334: fi
                   18335: 
                   18336: fi
                   18337: 
                   18338: fi
                   18339: 
                   18340: fi
                   18341: 
                   18342: fi
                   18343: 
                   18344: fi
                   18345: 
                   18346: 
1.1.1.3   misho    18347:  if test -n "$LIBREADLINE"; then
                   18348:    if test "$LIBREADLINE" != "-lreadline"; then
                   18349:      echo "-lreadline needs $LIBREADLINE"
                   18350:      LIBREADLINE="-lreadline $LIBREADLINE"
                   18351:    fi
                   18352:  fi
                   18353: fi
                   18354: 
                   18355: 
                   18356: # Check for the availability of libedit. Different distributions put its
                   18357: # headers in different places. Try to cover the most common ones.
                   18358: 
                   18359: if test "$enable_pcretest_libedit" = "yes"; then
                   18360:   for ac_header in editline/readline.h
                   18361: do :
                   18362:   ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
                   18363: if test "x$ac_cv_header_editline_readline_h" = xyes; then :
                   18364:   cat >>confdefs.h <<_ACEOF
                   18365: #define HAVE_EDITLINE_READLINE_H 1
                   18366: _ACEOF
                   18367:  HAVE_EDITLINE_READLINE_H=1
                   18368: else
                   18369:   for ac_header in edit/readline/readline.h
                   18370: do :
                   18371:   ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
                   18372: if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then :
                   18373:   cat >>confdefs.h <<_ACEOF
                   18374: #define HAVE_EDIT_READLINE_READLINE_H 1
                   18375: _ACEOF
                   18376:  HAVE_READLINE_READLINE_H=1
                   18377: else
                   18378:   for ac_header in readline/readline.h
                   18379: do :
                   18380:   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
                   18381: if test "x$ac_cv_header_readline_readline_h" = xyes; then :
                   18382:   cat >>confdefs.h <<_ACEOF
                   18383: #define HAVE_READLINE_READLINE_H 1
                   18384: _ACEOF
                   18385:  HAVE_READLINE_READLINE_H=1
                   18386: fi
                   18387: 
                   18388: done
                   18389: 
                   18390: fi
                   18391: 
                   18392: done
                   18393: 
                   18394: fi
                   18395: 
                   18396: done
                   18397: 
                   18398:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
                   18399: $as_echo_n "checking for readline in -ledit... " >&6; }
                   18400: if ${ac_cv_lib_edit_readline+:} false; then :
                   18401:   $as_echo_n "(cached) " >&6
                   18402: else
                   18403:   ac_check_lib_save_LIBS=$LIBS
                   18404: LIBS="-ledit  $LIBS"
                   18405: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18406: /* end confdefs.h.  */
                   18407: 
                   18408: /* Override any GCC internal prototype to avoid an error.
                   18409:    Use char because int might match the return type of a GCC
                   18410:    builtin and then its argument prototype would still apply.  */
                   18411: #ifdef __cplusplus
                   18412: extern "C"
                   18413: #endif
                   18414: char readline ();
                   18415: int
                   18416: main ()
                   18417: {
                   18418: return readline ();
                   18419:   ;
                   18420:   return 0;
                   18421: }
                   18422: _ACEOF
                   18423: if ac_fn_c_try_link "$LINENO"; then :
                   18424:   ac_cv_lib_edit_readline=yes
                   18425: else
                   18426:   ac_cv_lib_edit_readline=no
                   18427: fi
                   18428: rm -f core conftest.err conftest.$ac_objext \
                   18429:     conftest$ac_exeext conftest.$ac_ext
                   18430: LIBS=$ac_check_lib_save_LIBS
                   18431: fi
                   18432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
                   18433: $as_echo "$ac_cv_lib_edit_readline" >&6; }
                   18434: if test "x$ac_cv_lib_edit_readline" = xyes; then :
                   18435:   LIBEDIT="-ledit"
                   18436: fi
                   18437: 
1.1.1.2   misho    18438: fi
1.1       misho    18439: 
                   18440: # This facilitates -ansi builds under Linux
                   18441: 
                   18442: PCRE_STATIC_CFLAG=""
                   18443: if test "x$enable_shared" = "xno" ; then
                   18444: 
                   18445: $as_echo "#define PCRE_STATIC 1" >>confdefs.h
                   18446: 
                   18447:   PCRE_STATIC_CFLAG="-DPCRE_STATIC"
                   18448: fi
                   18449: 
                   18450: 
                   18451: # Here is where pcre specific defines are handled
                   18452: 
1.1.1.2   misho    18453: if test "$enable_pcre8" = "yes"; then
                   18454: 
                   18455: $as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h
                   18456: 
                   18457: fi
                   18458: 
                   18459: if test "$enable_pcre16" = "yes"; then
                   18460: 
                   18461: $as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h
                   18462: 
                   18463: fi
                   18464: 
1.1.1.4   misho    18465: if test "$enable_pcre32" = "yes"; then
                   18466: 
                   18467: $as_echo "#define SUPPORT_PCRE32 /**/" >>confdefs.h
                   18468: 
                   18469: fi
                   18470: 
1.1       misho    18471: if test "$enable_jit" = "yes"; then
                   18472: 
1.1.1.4   misho    18473: 
                   18474: ac_ext=c
                   18475: ac_cpp='$CPP $CPPFLAGS'
                   18476: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18477: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18478: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18479: 
                   18480: ax_pthread_ok=no
                   18481: 
                   18482: # We used to check for pthread.h first, but this fails if pthread.h
                   18483: # requires special compiler flags (e.g. on True64 or Sequent).
                   18484: # It gets checked for in the link test anyway.
                   18485: 
                   18486: # First of all, check if the user has set any of the PTHREAD_LIBS,
                   18487: # etcetera environment variables, and if threads linking works using
                   18488: # them:
                   18489: if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
                   18490:         save_CFLAGS="$CFLAGS"
                   18491:         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
                   18492:         save_LIBS="$LIBS"
                   18493:         LIBS="$PTHREAD_LIBS $LIBS"
                   18494:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
                   18495: $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
                   18496:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18497: /* end confdefs.h.  */
                   18498: 
                   18499: /* Override any GCC internal prototype to avoid an error.
                   18500:    Use char because int might match the return type of a GCC
                   18501:    builtin and then its argument prototype would still apply.  */
                   18502: #ifdef __cplusplus
                   18503: extern "C"
                   18504: #endif
                   18505: char pthread_join ();
                   18506: int
                   18507: main ()
                   18508: {
                   18509: return pthread_join ();
                   18510:   ;
                   18511:   return 0;
                   18512: }
                   18513: _ACEOF
                   18514: if ac_fn_c_try_link "$LINENO"; then :
                   18515:   ax_pthread_ok=yes
                   18516: fi
                   18517: rm -f core conftest.err conftest.$ac_objext \
                   18518:     conftest$ac_exeext conftest.$ac_ext
                   18519:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
                   18520: $as_echo "$ax_pthread_ok" >&6; }
                   18521:         if test x"$ax_pthread_ok" = xno; then
                   18522:                 PTHREAD_LIBS=""
                   18523:                 PTHREAD_CFLAGS=""
                   18524:         fi
                   18525:         LIBS="$save_LIBS"
                   18526:         CFLAGS="$save_CFLAGS"
                   18527: fi
                   18528: 
                   18529: # We must check for the threads library under a number of different
                   18530: # names; the ordering is very important because some systems
                   18531: # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
                   18532: # libraries is broken (non-POSIX).
                   18533: 
                   18534: # Create a list of thread flags to try.  Items starting with a "-" are
                   18535: # C compiler flags, and other items are library names, except for "none"
                   18536: # which indicates that we try without any flags at all, and "pthread-config"
                   18537: # which is a program returning the flags for the Pth emulation library.
                   18538: 
                   18539: ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
                   18540: 
                   18541: # The ordering *is* (sometimes) important.  Some notes on the
                   18542: # individual items follow:
                   18543: 
                   18544: # pthreads: AIX (must check this before -lpthread)
                   18545: # none: in case threads are in libc; should be tried before -Kthread and
                   18546: #       other compiler flags to prevent continual compiler warnings
                   18547: # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
                   18548: # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
                   18549: # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
                   18550: # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
                   18551: # -pthreads: Solaris/gcc
                   18552: # -mthreads: Mingw32/gcc, Lynx/gcc
                   18553: # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
                   18554: #      doesn't hurt to check since this sometimes defines pthreads too;
                   18555: #      also defines -D_REENTRANT)
                   18556: #      ... -mt is also the pthreads flag for HP/aCC
                   18557: # pthread: Linux, etcetera
                   18558: # --thread-safe: KAI C++
                   18559: # pthread-config: use pthread-config program (for GNU Pth library)
                   18560: 
                   18561: case ${host_os} in
                   18562:         solaris*)
                   18563: 
                   18564:         # On Solaris (at least, for some versions), libc contains stubbed
                   18565:         # (non-functional) versions of the pthreads routines, so link-based
                   18566:         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
                   18567:         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
                   18568:         # a function called by this macro, so we could check for that, but
                   18569:         # who knows whether they'll stub that too in a future libc.)  So,
                   18570:         # we'll just look for -pthreads and -lpthread first:
                   18571: 
                   18572:         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
                   18573:         ;;
                   18574: 
                   18575:         darwin*)
                   18576:         ax_pthread_flags="-pthread $ax_pthread_flags"
                   18577:         ;;
                   18578: esac
                   18579: 
                   18580: if test x"$ax_pthread_ok" = xno; then
                   18581: for flag in $ax_pthread_flags; do
                   18582: 
                   18583:         case $flag in
                   18584:                 none)
                   18585:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
                   18586: $as_echo_n "checking whether pthreads work without any flags... " >&6; }
                   18587:                 ;;
                   18588: 
                   18589:                 -*)
                   18590:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
                   18591: $as_echo_n "checking whether pthreads work with $flag... " >&6; }
                   18592:                 PTHREAD_CFLAGS="$flag"
                   18593:                 ;;
                   18594: 
                   18595:                 pthread-config)
                   18596:                 # Extract the first word of "pthread-config", so it can be a program name with args.
                   18597: set dummy pthread-config; ac_word=$2
                   18598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   18599: $as_echo_n "checking for $ac_word... " >&6; }
                   18600: if ${ac_cv_prog_ax_pthread_config+:} false; then :
                   18601:   $as_echo_n "(cached) " >&6
                   18602: else
                   18603:   if test -n "$ax_pthread_config"; then
                   18604:   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
                   18605: else
                   18606: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18607: for as_dir in $PATH
                   18608: do
                   18609:   IFS=$as_save_IFS
                   18610:   test -z "$as_dir" && as_dir=.
                   18611:     for ac_exec_ext in '' $ac_executable_extensions; do
                   18612:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   18613:     ac_cv_prog_ax_pthread_config="yes"
                   18614:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   18615:     break 2
                   18616:   fi
                   18617: done
                   18618:   done
                   18619: IFS=$as_save_IFS
                   18620: 
                   18621:   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
                   18622: fi
                   18623: fi
                   18624: ax_pthread_config=$ac_cv_prog_ax_pthread_config
                   18625: if test -n "$ax_pthread_config"; then
                   18626:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
                   18627: $as_echo "$ax_pthread_config" >&6; }
                   18628: else
                   18629:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18630: $as_echo "no" >&6; }
                   18631: fi
                   18632: 
                   18633: 
                   18634:                 if test x"$ax_pthread_config" = xno; then continue; fi
                   18635:                 PTHREAD_CFLAGS="`pthread-config --cflags`"
                   18636:                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
                   18637:                 ;;
                   18638: 
                   18639:                 *)
                   18640:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
                   18641: $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
                   18642:                 PTHREAD_LIBS="-l$flag"
                   18643:                 ;;
                   18644:         esac
                   18645: 
                   18646:         save_LIBS="$LIBS"
                   18647:         save_CFLAGS="$CFLAGS"
                   18648:         LIBS="$PTHREAD_LIBS $LIBS"
                   18649:         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
                   18650: 
                   18651:         # Check for various functions.  We must include pthread.h,
                   18652:         # since some functions may be macros.  (On the Sequent, we
                   18653:         # need a special flag -Kthread to make this header compile.)
                   18654:         # We check for pthread_join because it is in -lpthread on IRIX
                   18655:         # while pthread_create is in libc.  We check for pthread_attr_init
                   18656:         # due to DEC craziness with -lpthreads.  We check for
                   18657:         # pthread_cleanup_push because it is one of the few pthread
                   18658:         # functions on Solaris that doesn't have a non-functional libc stub.
                   18659:         # We try pthread_create on general principles.
                   18660:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18661: /* end confdefs.h.  */
                   18662: #include <pthread.h>
                   18663:                         static void routine(void *a) { a = 0; }
                   18664:                         static void *start_routine(void *a) { return a; }
                   18665: int
                   18666: main ()
                   18667: {
                   18668: pthread_t th; pthread_attr_t attr;
                   18669:                         pthread_create(&th, 0, start_routine, 0);
                   18670:                         pthread_join(th, 0);
                   18671:                         pthread_attr_init(&attr);
                   18672:                         pthread_cleanup_push(routine, 0);
                   18673:                         pthread_cleanup_pop(0) /* ; */
                   18674:   ;
                   18675:   return 0;
                   18676: }
                   18677: _ACEOF
                   18678: if ac_fn_c_try_link "$LINENO"; then :
                   18679:   ax_pthread_ok=yes
                   18680: fi
                   18681: rm -f core conftest.err conftest.$ac_objext \
                   18682:     conftest$ac_exeext conftest.$ac_ext
                   18683: 
                   18684:         LIBS="$save_LIBS"
                   18685:         CFLAGS="$save_CFLAGS"
                   18686: 
                   18687:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
                   18688: $as_echo "$ax_pthread_ok" >&6; }
                   18689:         if test "x$ax_pthread_ok" = xyes; then
                   18690:                 break;
                   18691:         fi
                   18692: 
                   18693:         PTHREAD_LIBS=""
                   18694:         PTHREAD_CFLAGS=""
                   18695: done
                   18696: fi
                   18697: 
                   18698: # Various other checks:
                   18699: if test "x$ax_pthread_ok" = xyes; then
                   18700:         save_LIBS="$LIBS"
                   18701:         LIBS="$PTHREAD_LIBS $LIBS"
                   18702:         save_CFLAGS="$CFLAGS"
                   18703:         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
                   18704: 
                   18705:         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
                   18706:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
                   18707: $as_echo_n "checking for joinable pthread attribute... " >&6; }
                   18708:         attr_name=unknown
                   18709:         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
                   18710:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18711: /* end confdefs.h.  */
                   18712: #include <pthread.h>
                   18713: int
                   18714: main ()
                   18715: {
                   18716: int attr = $attr; return attr /* ; */
                   18717:   ;
                   18718:   return 0;
                   18719: }
                   18720: _ACEOF
                   18721: if ac_fn_c_try_link "$LINENO"; then :
                   18722:   attr_name=$attr; break
                   18723: fi
                   18724: rm -f core conftest.err conftest.$ac_objext \
                   18725:     conftest$ac_exeext conftest.$ac_ext
                   18726:         done
                   18727:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
                   18728: $as_echo "$attr_name" >&6; }
                   18729:         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
                   18730: 
                   18731: cat >>confdefs.h <<_ACEOF
                   18732: #define PTHREAD_CREATE_JOINABLE $attr_name
                   18733: _ACEOF
                   18734: 
                   18735:         fi
                   18736: 
                   18737:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
                   18738: $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
                   18739:         flag=no
                   18740:         case ${host_os} in
                   18741:             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
                   18742:             osf* | hpux*) flag="-D_REENTRANT";;
                   18743:             solaris*)
                   18744:             if test "$GCC" = "yes"; then
                   18745:                 flag="-D_REENTRANT"
                   18746:             else
                   18747:                 flag="-mt -D_REENTRANT"
                   18748:             fi
                   18749:             ;;
                   18750:         esac
                   18751:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
                   18752: $as_echo "${flag}" >&6; }
                   18753:         if test "x$flag" != xno; then
                   18754:             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
                   18755:         fi
                   18756: 
                   18757:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
                   18758: $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
                   18759: if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
                   18760:   $as_echo_n "(cached) " >&6
                   18761: else
                   18762: 
                   18763:                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18764: /* end confdefs.h.  */
                   18765: 
                   18766:                     #include <pthread.h>
                   18767: int
                   18768: main ()
                   18769: {
                   18770: int i = PTHREAD_PRIO_INHERIT;
                   18771:   ;
                   18772:   return 0;
                   18773: }
                   18774: _ACEOF
                   18775: if ac_fn_c_try_link "$LINENO"; then :
                   18776:   ax_cv_PTHREAD_PRIO_INHERIT=yes
                   18777: else
                   18778:   ax_cv_PTHREAD_PRIO_INHERIT=no
                   18779: fi
                   18780: rm -f core conftest.err conftest.$ac_objext \
                   18781:     conftest$ac_exeext conftest.$ac_ext
                   18782: 
                   18783: fi
                   18784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
                   18785: $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
                   18786:         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
                   18787: 
                   18788: $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
                   18789: 
                   18790: fi
                   18791: 
                   18792:         LIBS="$save_LIBS"
                   18793:         CFLAGS="$save_CFLAGS"
                   18794: 
                   18795:         # More AIX lossage: must compile with xlc_r or cc_r
                   18796:         if test x"$GCC" != xyes; then
                   18797:           for ac_prog in xlc_r cc_r
                   18798: do
                   18799:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   18800: set dummy $ac_prog; ac_word=$2
                   18801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   18802: $as_echo_n "checking for $ac_word... " >&6; }
                   18803: if ${ac_cv_prog_PTHREAD_CC+:} false; then :
                   18804:   $as_echo_n "(cached) " >&6
                   18805: else
                   18806:   if test -n "$PTHREAD_CC"; then
                   18807:   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
                   18808: else
                   18809: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18810: for as_dir in $PATH
                   18811: do
                   18812:   IFS=$as_save_IFS
                   18813:   test -z "$as_dir" && as_dir=.
                   18814:     for ac_exec_ext in '' $ac_executable_extensions; do
                   18815:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   18816:     ac_cv_prog_PTHREAD_CC="$ac_prog"
                   18817:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   18818:     break 2
                   18819:   fi
                   18820: done
                   18821:   done
                   18822: IFS=$as_save_IFS
                   18823: 
                   18824: fi
                   18825: fi
                   18826: PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
                   18827: if test -n "$PTHREAD_CC"; then
                   18828:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
                   18829: $as_echo "$PTHREAD_CC" >&6; }
                   18830: else
                   18831:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18832: $as_echo "no" >&6; }
                   18833: fi
                   18834: 
                   18835: 
                   18836:   test -n "$PTHREAD_CC" && break
                   18837: done
                   18838: test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
                   18839: 
                   18840:         else
                   18841:           PTHREAD_CC=$CC
                   18842:         fi
                   18843: else
                   18844:         PTHREAD_CC="$CC"
                   18845: fi
                   18846: 
                   18847: 
                   18848: 
                   18849: 
                   18850: 
                   18851: # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
                   18852: if test x"$ax_pthread_ok" = xyes; then
                   18853: 
                   18854: $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
                   18855: 
                   18856:         :
                   18857: else
                   18858:         ax_pthread_ok=no
                   18859:         as_fn_error $? "JIT support requires pthreads" "$LINENO" 5
                   18860: fi
                   18861: ac_ext=c
                   18862: ac_cpp='$CPP $CPPFLAGS'
                   18863: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18864: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18865: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18866: 
                   18867: 
                   18868:   CC="$PTHREAD_CC"
                   18869:   CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
                   18870:   LIBS="$PTHREAD_LIBS $LIBS"
                   18871: 
1.1       misho    18872: $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
                   18873: 
                   18874: else
                   18875:   enable_pcregrep_jit="no"
                   18876: fi
                   18877: 
                   18878: if test "$enable_pcregrep_jit" = "yes"; then
                   18879: 
                   18880: $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
                   18881: 
                   18882: fi
                   18883: 
1.1.1.2   misho    18884: if test "$enable_utf" = "yes"; then
1.1       misho    18885: 
1.1.1.2   misho    18886: $as_echo "#define SUPPORT_UTF /**/" >>confdefs.h
1.1       misho    18887: 
                   18888: fi
                   18889: 
                   18890: if test "$enable_unicode_properties" = "yes"; then
                   18891: 
                   18892: $as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
                   18893: 
                   18894: fi
                   18895: 
                   18896: if test "$enable_stack_for_recursion" = "no"; then
                   18897: 
                   18898: $as_echo "#define NO_RECURSE /**/" >>confdefs.h
                   18899: 
                   18900: fi
                   18901: 
                   18902: if test "$enable_pcregrep_libz" = "yes"; then
                   18903: 
                   18904: $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
                   18905: 
                   18906: fi
                   18907: 
                   18908: if test "$enable_pcregrep_libbz2" = "yes"; then
                   18909: 
                   18910: $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
                   18911: 
                   18912: fi
                   18913: 
                   18914: if test $with_pcregrep_bufsize -lt 8192 ; then
                   18915:   with_pcregrep_bufsize="8192"
                   18916: fi
                   18917: 
                   18918: 
                   18919: cat >>confdefs.h <<_ACEOF
                   18920: #define PCREGREP_BUFSIZE $with_pcregrep_bufsize
                   18921: _ACEOF
                   18922: 
                   18923: 
1.1.1.3   misho    18924: if test "$enable_pcretest_libedit" = "yes"; then
                   18925: 
                   18926: $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
                   18927: 
                   18928:   LIBREADLINE="$LIBEDIT"
                   18929: elif test "$enable_pcretest_libreadline" = "yes"; then
1.1       misho    18930: 
                   18931: $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
                   18932: 
                   18933: fi
                   18934: 
                   18935: 
                   18936: cat >>confdefs.h <<_ACEOF
                   18937: #define NEWLINE $ac_pcre_newline_value
                   18938: _ACEOF
                   18939: 
                   18940: 
                   18941: if test "$enable_bsr_anycrlf" = "yes"; then
                   18942: 
                   18943: $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
                   18944: 
                   18945: fi
                   18946: 
                   18947: 
                   18948: cat >>confdefs.h <<_ACEOF
                   18949: #define LINK_SIZE $with_link_size
                   18950: _ACEOF
                   18951: 
                   18952: 
                   18953: 
                   18954: cat >>confdefs.h <<_ACEOF
                   18955: #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
                   18956: _ACEOF
                   18957: 
                   18958: 
                   18959: 
                   18960: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    18961: #define PARENS_NEST_LIMIT $with_parens_nest_limit
        !          18962: _ACEOF
        !          18963: 
        !          18964: 
        !          18965: 
        !          18966: cat >>confdefs.h <<_ACEOF
1.1       misho    18967: #define MATCH_LIMIT $with_match_limit
                   18968: _ACEOF
                   18969: 
                   18970: 
                   18971: 
                   18972: cat >>confdefs.h <<_ACEOF
                   18973: #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
                   18974: _ACEOF
                   18975: 
                   18976: 
                   18977: 
                   18978: $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
                   18979: 
                   18980: 
                   18981: 
                   18982: $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
                   18983: 
                   18984: 
                   18985: 
                   18986: 
1.1.1.4   misho    18987: if test "$enable_ebcdic" = "yes"; then
                   18988: 
                   18989: cat >>confdefs.h <<_ACEOF
                   18990: #define EBCDIC /**/
                   18991: _ACEOF
                   18992: 
                   18993: fi
                   18994: 
                   18995: if test "$enable_ebcdic_nl25" = "yes"; then
                   18996: 
                   18997: cat >>confdefs.h <<_ACEOF
                   18998: #define EBCDIC_NL25 /**/
                   18999: _ACEOF
                   19000: 
                   19001: fi
                   19002: 
                   19003: if test "$enable_valgrind" = "yes"; then
1.1       misho    19004: 
                   19005: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    19006: #define SUPPORT_VALGRIND /**/
1.1       misho    19007: _ACEOF
                   19008: 
                   19009: fi
                   19010: 
                   19011: # Platform specific issues
                   19012: NO_UNDEFINED=
                   19013: EXPORT_ALL_SYMBOLS=
                   19014: case $host_os in
                   19015:   cygwin* | mingw* )
                   19016:     if test X"$enable_shared" = Xyes; then
                   19017:       NO_UNDEFINED="-no-undefined"
                   19018:       EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
                   19019:     fi
                   19020:     ;;
                   19021: esac
                   19022: 
                   19023: # The extra LDFLAGS for each particular library
                   19024: # (Note: The libpcre*_version bits are m4 variables, assigned above)
                   19025: 
                   19026: EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
1.1.1.5 ! misho    19027:                        $NO_UNDEFINED -version-info 3:2:2"
1.1.1.2   misho    19028: 
                   19029: EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
1.1.1.5 ! misho    19030:                        $NO_UNDEFINED -version-info 2:2:2"
1.1.1.4   misho    19031: 
                   19032: EXTRA_LIBPCRE32_LDFLAGS="$EXTRA_LIBPCRE32_LDFLAGS \
1.1.1.5 ! misho    19033:                        $NO_UNDEFINED -version-info 0:2:0"
1.1       misho    19034: 
                   19035: EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
1.1.1.4   misho    19036:                             $NO_UNDEFINED -version-info 0:2:0"
1.1       misho    19037: 
                   19038: EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
                   19039:                           $NO_UNDEFINED -version-info 0:0:0 \
                   19040:                           $EXPORT_ALL_SYMBOLS"
                   19041: 
                   19042: 
                   19043: 
                   19044: 
                   19045: 
1.1.1.2   misho    19046: 
1.1.1.4   misho    19047: 
1.1.1.2   misho    19048: # When we run 'make distcheck', use these arguments. Turning off compiler
                   19049: # optimization makes it run faster.
1.1.1.4   misho    19050: DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-pcre32 --enable-jit --enable-cpp --enable-unicode-properties"
1.1       misho    19051: 
                   19052: 
                   19053: # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
                   19054: # specified, the relevant library is available.
                   19055: 
                   19056: if test "$enable_pcregrep_libz" = "yes"; then
                   19057:   if test "$HAVE_ZLIB_H" != "1"; then
                   19058:     echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
                   19059:     exit 1
                   19060:   fi
                   19061:   if test "$HAVE_LIBZ" != "1"; then
                   19062:     echo "** Cannot --enable-pcregrep-libz because libz was not found"
                   19063:     exit 1
                   19064:   fi
                   19065:   LIBZ="-lz"
                   19066: fi
                   19067: 
                   19068: 
                   19069: if test "$enable_pcregrep_libbz2" = "yes"; then
                   19070:   if test "$HAVE_BZLIB_H" != "1"; then
                   19071:     echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
                   19072:     exit 1
                   19073:   fi
                   19074:   if test "$HAVE_LIBBZ2" != "1"; then
                   19075:     echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
                   19076:     exit 1
                   19077:   fi
                   19078:   LIBBZ2="-lbz2"
                   19079: fi
                   19080: 
                   19081: 
                   19082: # Similarly for --enable-pcretest-readline
                   19083: 
1.1.1.3   misho    19084: if test "$enable_pcretest_libedit" = "yes"; then
                   19085:   if test "$enable_pcretest_libreadline" = "yes"; then
                   19086:     echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
                   19087:     exit 1
                   19088:   fi
                   19089:   if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
                   19090:           "$HAVE_READLINE_READLINE_H" != "1"; then
                   19091:     echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
                   19092:     echo "** nor readline/readline.h was found."
                   19093:     exit 1
                   19094:   fi
                   19095:   if test -z "$LIBEDIT"; then
                   19096:     echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
                   19097:     exit 1
                   19098:   fi
                   19099: fi
                   19100: 
1.1       misho    19101: if test "$enable_pcretest_libreadline" = "yes"; then
                   19102:   if test "$HAVE_READLINE_H" != "1"; then
                   19103:     echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
                   19104:     exit 1
                   19105:   fi
                   19106:   if test "$HAVE_HISTORY_H" != "1"; then
                   19107:     echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
                   19108:     exit 1
                   19109:   fi
1.1.1.2   misho    19110:   if test -z "$LIBREADLINE"; then
                   19111:     echo "** Cannot --enable-pcretest-readline because readline library was not found."
                   19112:     exit 1
                   19113:   fi
1.1       misho    19114: fi
                   19115: 
1.1.1.5 ! misho    19116: # Handle valgrind support
1.1.1.4   misho    19117: 
                   19118: if test "$enable_valgrind" = "yes"; then
                   19119: 
                   19120: 
                   19121: 
                   19122: 
                   19123: 
                   19124: 
                   19125: 
                   19126: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
                   19127:        if test -n "$ac_tool_prefix"; then
                   19128:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
                   19129: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
                   19130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   19131: $as_echo_n "checking for $ac_word... " >&6; }
                   19132: if ${ac_cv_path_PKG_CONFIG+:} false; then :
                   19133:   $as_echo_n "(cached) " >&6
                   19134: else
                   19135:   case $PKG_CONFIG in
                   19136:   [\\/]* | ?:[\\/]*)
                   19137:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
                   19138:   ;;
                   19139:   *)
                   19140:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19141: for as_dir in $PATH
                   19142: do
                   19143:   IFS=$as_save_IFS
                   19144:   test -z "$as_dir" && as_dir=.
                   19145:     for ac_exec_ext in '' $ac_executable_extensions; do
                   19146:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   19147:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   19148:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   19149:     break 2
                   19150:   fi
                   19151: done
                   19152:   done
                   19153: IFS=$as_save_IFS
                   19154: 
                   19155:   ;;
                   19156: esac
                   19157: fi
                   19158: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
                   19159: if test -n "$PKG_CONFIG"; then
                   19160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
                   19161: $as_echo "$PKG_CONFIG" >&6; }
                   19162: else
                   19163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19164: $as_echo "no" >&6; }
                   19165: fi
                   19166: 
                   19167: 
                   19168: fi
                   19169: if test -z "$ac_cv_path_PKG_CONFIG"; then
                   19170:   ac_pt_PKG_CONFIG=$PKG_CONFIG
                   19171:   # Extract the first word of "pkg-config", so it can be a program name with args.
                   19172: set dummy pkg-config; ac_word=$2
                   19173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   19174: $as_echo_n "checking for $ac_word... " >&6; }
                   19175: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
                   19176:   $as_echo_n "(cached) " >&6
                   19177: else
                   19178:   case $ac_pt_PKG_CONFIG in
                   19179:   [\\/]* | ?:[\\/]*)
                   19180:   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
                   19181:   ;;
                   19182:   *)
                   19183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19184: for as_dir in $PATH
                   19185: do
                   19186:   IFS=$as_save_IFS
                   19187:   test -z "$as_dir" && as_dir=.
                   19188:     for ac_exec_ext in '' $ac_executable_extensions; do
                   19189:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   19190:     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   19191:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   19192:     break 2
                   19193:   fi
                   19194: done
                   19195:   done
                   19196: IFS=$as_save_IFS
                   19197: 
                   19198:   ;;
                   19199: esac
                   19200: fi
                   19201: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
                   19202: if test -n "$ac_pt_PKG_CONFIG"; then
                   19203:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
                   19204: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
                   19205: else
                   19206:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19207: $as_echo "no" >&6; }
                   19208: fi
                   19209: 
                   19210:   if test "x$ac_pt_PKG_CONFIG" = x; then
                   19211:     PKG_CONFIG=""
                   19212:   else
                   19213:     case $cross_compiling:$ac_tool_warned in
                   19214: yes:)
                   19215: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   19216: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   19217: ac_tool_warned=yes ;;
                   19218: esac
                   19219:     PKG_CONFIG=$ac_pt_PKG_CONFIG
                   19220:   fi
                   19221: else
                   19222:   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
                   19223: fi
                   19224: 
                   19225: fi
                   19226: if test -n "$PKG_CONFIG"; then
                   19227:        _pkg_min_version=0.9.0
                   19228:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
                   19229: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
                   19230:        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
                   19231:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   19232: $as_echo "yes" >&6; }
                   19233:        else
                   19234:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19235: $as_echo "no" >&6; }
                   19236:                PKG_CONFIG=""
                   19237:        fi
                   19238: fi
                   19239: 
                   19240: pkg_failed=no
                   19241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
                   19242: $as_echo_n "checking for VALGRIND... " >&6; }
                   19243: 
                   19244: if test -n "$VALGRIND_CFLAGS"; then
                   19245:     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
                   19246:  elif test -n "$PKG_CONFIG"; then
                   19247:     if test -n "$PKG_CONFIG" && \
                   19248:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
                   19249:   ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
                   19250:   ac_status=$?
                   19251:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   19252:   test $ac_status = 0; }; then
                   19253:   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
                   19254:                      test "x$?" != "x0" && pkg_failed=yes
                   19255: else
                   19256:   pkg_failed=yes
                   19257: fi
                   19258:  else
                   19259:     pkg_failed=untried
                   19260: fi
                   19261: if test -n "$VALGRIND_LIBS"; then
                   19262:     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
                   19263:  elif test -n "$PKG_CONFIG"; then
                   19264:     if test -n "$PKG_CONFIG" && \
                   19265:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
                   19266:   ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
                   19267:   ac_status=$?
                   19268:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   19269:   test $ac_status = 0; }; then
                   19270:   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
                   19271:                      test "x$?" != "x0" && pkg_failed=yes
                   19272: else
                   19273:   pkg_failed=yes
                   19274: fi
                   19275:  else
                   19276:     pkg_failed=untried
                   19277: fi
                   19278: 
                   19279: 
                   19280: 
                   19281: if test $pkg_failed = yes; then
                   19282:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19283: $as_echo "no" >&6; }
                   19284: 
                   19285: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
                   19286:         _pkg_short_errors_supported=yes
                   19287: else
                   19288:         _pkg_short_errors_supported=no
                   19289: fi
                   19290:         if test $_pkg_short_errors_supported = yes; then
                   19291:                VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
                   19292:         else
                   19293:                VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
                   19294:         fi
                   19295:        # Put the nasty error message in config.log where it belongs
                   19296:        echo "$VALGRIND_PKG_ERRORS" >&5
                   19297: 
                   19298:        as_fn_error $? "Package requirements (valgrind) were not met:
                   19299: 
                   19300: $VALGRIND_PKG_ERRORS
                   19301: 
                   19302: Consider adjusting the PKG_CONFIG_PATH environment variable if you
                   19303: installed software in a non-standard prefix.
                   19304: 
                   19305: Alternatively, you may set the environment variables VALGRIND_CFLAGS
                   19306: and VALGRIND_LIBS to avoid the need to call pkg-config.
                   19307: See the pkg-config man page for more details." "$LINENO" 5
                   19308: elif test $pkg_failed = untried; then
                   19309:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19310: $as_echo "no" >&6; }
                   19311:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   19312: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   19313: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
                   19314: is in your PATH or set the PKG_CONFIG environment variable to the full
                   19315: path to pkg-config.
                   19316: 
                   19317: Alternatively, you may set the environment variables VALGRIND_CFLAGS
                   19318: and VALGRIND_LIBS to avoid the need to call pkg-config.
                   19319: See the pkg-config man page for more details.
                   19320: 
                   19321: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
                   19322: See \`config.log' for more details" "$LINENO" 5; }
                   19323: else
                   19324:        VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
                   19325:        VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
                   19326:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   19327: $as_echo "yes" >&6; }
                   19328: 
                   19329: fi
                   19330: fi
                   19331: 
1.1.1.5 ! misho    19332: # Handle code coverage reporting support
1.1.1.4   misho    19333: if test "$enable_coverage" = "yes"; then
                   19334:   if test "x$GCC" != "xyes"; then
                   19335:     as_fn_error $? "Code coverage reports can only be generated when using GCC" "$LINENO" 5
                   19336:   fi
                   19337: 
                   19338:   # ccache is incompatible with gcov
                   19339:   # Extract the first word of "shtool", so it can be a program name with args.
                   19340: set dummy shtool; ac_word=$2
                   19341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   19342: $as_echo_n "checking for $ac_word... " >&6; }
                   19343: if ${ac_cv_path_SHTOOL+:} false; then :
                   19344:   $as_echo_n "(cached) " >&6
                   19345: else
                   19346:   case $SHTOOL in
                   19347:   [\\/]* | ?:[\\/]*)
                   19348:   ac_cv_path_SHTOOL="$SHTOOL" # Let the user override the test with a path.
                   19349:   ;;
                   19350:   *)
                   19351:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19352: for as_dir in $PATH
                   19353: do
                   19354:   IFS=$as_save_IFS
                   19355:   test -z "$as_dir" && as_dir=.
                   19356:     for ac_exec_ext in '' $ac_executable_extensions; do
                   19357:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   19358:     ac_cv_path_SHTOOL="$as_dir/$ac_word$ac_exec_ext"
                   19359:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   19360:     break 2
                   19361:   fi
                   19362: done
                   19363:   done
                   19364: IFS=$as_save_IFS
                   19365: 
                   19366:   test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL="false"
                   19367:   ;;
                   19368: esac
                   19369: fi
                   19370: SHTOOL=$ac_cv_path_SHTOOL
                   19371: if test -n "$SHTOOL"; then
                   19372:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
                   19373: $as_echo "$SHTOOL" >&6; }
                   19374: else
                   19375:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19376: $as_echo "no" >&6; }
                   19377: fi
                   19378: 
                   19379: 
                   19380:   case `$SHTOOL path $CC` in
                   19381:     *ccache*) cc_ccache=yes;;
                   19382:     *) cc_ccache=no;;
                   19383:   esac
                   19384: 
                   19385:   if test "$cc_ccache" = "yes"; then
                   19386:     if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then
                   19387:       as_fn_error $? "must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5
                   19388:     fi
                   19389:   fi
                   19390: 
                   19391: 
                   19392:   # Extract the first word of "lcov", so it can be a program name with args.
                   19393: set dummy lcov; ac_word=$2
                   19394: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   19395: $as_echo_n "checking for $ac_word... " >&6; }
                   19396: if ${ac_cv_path_LCOV+:} false; then :
                   19397:   $as_echo_n "(cached) " >&6
                   19398: else
                   19399:   case $LCOV in
                   19400:   [\\/]* | ?:[\\/]*)
                   19401:   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
                   19402:   ;;
                   19403:   *)
                   19404:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19405: for as_dir in $PATH
                   19406: do
                   19407:   IFS=$as_save_IFS
                   19408:   test -z "$as_dir" && as_dir=.
                   19409:     for ac_exec_ext in '' $ac_executable_extensions; do
                   19410:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   19411:     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
                   19412:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   19413:     break 2
                   19414:   fi
                   19415: done
                   19416:   done
                   19417: IFS=$as_save_IFS
                   19418: 
                   19419:   test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="false"
                   19420:   ;;
                   19421: esac
                   19422: fi
                   19423: LCOV=$ac_cv_path_LCOV
                   19424: if test -n "$LCOV"; then
                   19425:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
                   19426: $as_echo "$LCOV" >&6; }
                   19427: else
                   19428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19429: $as_echo "no" >&6; }
                   19430: fi
                   19431: 
                   19432: 
                   19433:   if test "x$LCOV" = "xfalse"; then
                   19434:     as_fn_error $? "lcov not found" "$LINENO" 5
                   19435:   fi
                   19436: 
                   19437: 
                   19438:   # Extract the first word of "genhtml", so it can be a program name with args.
                   19439: set dummy genhtml; ac_word=$2
                   19440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   19441: $as_echo_n "checking for $ac_word... " >&6; }
                   19442: if ${ac_cv_path_GENHTML+:} false; then :
                   19443:   $as_echo_n "(cached) " >&6
                   19444: else
                   19445:   case $GENHTML in
                   19446:   [\\/]* | ?:[\\/]*)
                   19447:   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
                   19448:   ;;
                   19449:   *)
                   19450:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19451: for as_dir in $PATH
                   19452: do
                   19453:   IFS=$as_save_IFS
                   19454:   test -z "$as_dir" && as_dir=.
                   19455:     for ac_exec_ext in '' $ac_executable_extensions; do
                   19456:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   19457:     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
                   19458:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   19459:     break 2
                   19460:   fi
                   19461: done
                   19462:   done
                   19463: IFS=$as_save_IFS
                   19464: 
                   19465:   test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="false"
                   19466:   ;;
                   19467: esac
                   19468: fi
                   19469: GENHTML=$ac_cv_path_GENHTML
                   19470: if test -n "$GENHTML"; then
                   19471:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
                   19472: $as_echo "$GENHTML" >&6; }
                   19473: else
                   19474:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19475: $as_echo "no" >&6; }
                   19476: fi
                   19477: 
                   19478: 
                   19479:   if test "x$GENHTML" = "xfalse"; then
                   19480:     as_fn_error $? "genhtml not found" "$LINENO" 5
                   19481:   fi
                   19482: 
1.1.1.5 ! misho    19483:   # Set flags needed for gcov
1.1.1.4   misho    19484:   GCOV_CFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
                   19485:   GCOV_CXXFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
                   19486:   GCOV_LIBS="-lgcov"
                   19487: 
                   19488: 
                   19489: 
                   19490: fi # enable_coverage
                   19491: 
                   19492:  if test "x$enable_coverage" = "xyes"; then
                   19493:   WITH_GCOV_TRUE=
                   19494:   WITH_GCOV_FALSE='#'
                   19495: else
                   19496:   WITH_GCOV_TRUE='#'
                   19497:   WITH_GCOV_FALSE=
                   19498: fi
                   19499: 
                   19500: 
1.1       misho    19501: # Produce these files, in addition to config.h.
1.1.1.4   misho    19502: ac_config_files="$ac_config_files Makefile libpcre.pc libpcre16.pc libpcre32.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
1.1       misho    19503: 
                   19504: 
                   19505: # Make the generated script files executable.
                   19506: ac_config_commands="$ac_config_commands script-chmod"
                   19507: 
                   19508: 
                   19509: # Make sure that pcre_chartables.c is removed in case the method for
                   19510: # creating it was changed by reconfiguration.
                   19511: ac_config_commands="$ac_config_commands delete-old-chartables"
                   19512: 
                   19513: 
                   19514: cat >confcache <<\_ACEOF
                   19515: # This file is a shell script that caches the results of configure
                   19516: # tests run on this system so they can be shared between configure
                   19517: # scripts and configure runs, see configure's option --config-cache.
                   19518: # It is not useful on other systems.  If it contains results you don't
                   19519: # want to keep, you may remove or edit it.
                   19520: #
                   19521: # config.status only pays attention to the cache file if you give it
                   19522: # the --recheck option to rerun configure.
                   19523: #
                   19524: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   19525: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   19526: # following values.
                   19527: 
                   19528: _ACEOF
                   19529: 
                   19530: # The following way of writing the cache mishandles newlines in values,
                   19531: # but we know of no workaround that is simple, portable, and efficient.
                   19532: # So, we kill variables containing newlines.
                   19533: # Ultrix sh set writes to stderr and can't be redirected directly,
                   19534: # and sets the high bit in the cache file unless we assign to the vars.
                   19535: (
                   19536:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   19537:     eval ac_val=\$$ac_var
                   19538:     case $ac_val in #(
                   19539:     *${as_nl}*)
                   19540:       case $ac_var in #(
                   19541:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   19542: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   19543:       esac
                   19544:       case $ac_var in #(
                   19545:       _ | IFS | as_nl) ;; #(
                   19546:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   19547:       *) { eval $ac_var=; unset $ac_var;} ;;
                   19548:       esac ;;
                   19549:     esac
                   19550:   done
                   19551: 
                   19552:   (set) 2>&1 |
                   19553:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   19554:     *${as_nl}ac_space=\ *)
                   19555:       # `set' does not quote correctly, so add quotes: double-quote
                   19556:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   19557:       sed -n \
                   19558:        "s/'/'\\\\''/g;
                   19559:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   19560:       ;; #(
                   19561:     *)
                   19562:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   19563:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   19564:       ;;
                   19565:     esac |
                   19566:     sort
                   19567: ) |
                   19568:   sed '
                   19569:      /^ac_cv_env_/b end
                   19570:      t clear
                   19571:      :clear
                   19572:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19573:      t end
                   19574:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19575:      :end' >>confcache
                   19576: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   19577:   if test -w "$cache_file"; then
                   19578:     if test "x$cache_file" != "x/dev/null"; then
                   19579:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   19580: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   19581:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   19582:        cat confcache >"$cache_file"
                   19583:       else
                   19584:         case $cache_file in #(
                   19585:         */* | ?:*)
                   19586:          mv -f confcache "$cache_file"$$ &&
                   19587:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   19588:         *)
                   19589:          mv -f confcache "$cache_file" ;;
                   19590:        esac
                   19591:       fi
                   19592:     fi
                   19593:   else
                   19594:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   19595: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   19596:   fi
                   19597: fi
                   19598: rm -f confcache
                   19599: 
                   19600: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19601: # Let make expand exec_prefix.
                   19602: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19603: 
                   19604: DEFS=-DHAVE_CONFIG_H
                   19605: 
                   19606: ac_libobjs=
                   19607: ac_ltlibobjs=
                   19608: U=
                   19609: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   19610:   # 1. Remove the extension, and $U if already installed.
                   19611:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   19612:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   19613:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   19614:   #    will be set to the directory where LIBOBJS objects are built.
                   19615:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   19616:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   19617: done
                   19618: LIBOBJS=$ac_libobjs
                   19619: 
                   19620: LTLIBOBJS=$ac_ltlibobjs
                   19621: 
                   19622: 
1.1.1.4   misho    19623: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   19624: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   19625:    if test -n "$am_sleep_pid"; then
                   19626:      # Hide warnings about reused PIDs.
                   19627:      wait $am_sleep_pid 2>/dev/null
                   19628:    fi
                   19629:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   19630: $as_echo "done" >&6; }
1.1       misho    19631:  if test -n "$EXEEXT"; then
                   19632:   am__EXEEXT_TRUE=
                   19633:   am__EXEEXT_FALSE='#'
                   19634: else
                   19635:   am__EXEEXT_TRUE='#'
                   19636:   am__EXEEXT_FALSE=
                   19637: fi
                   19638: 
                   19639: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   19640:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   19641: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19642: fi
                   19643: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   19644:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19645: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19646: fi
1.1.1.4   misho    19647: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   19648:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19649: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19650: fi
1.1       misho    19651: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   19652:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   19653: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19654: fi
1.1.1.2   misho    19655: if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then
                   19656:   as_fn_error $? "conditional \"WITH_PCRE8\" was never defined.
                   19657: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19658: fi
                   19659: if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then
                   19660:   as_fn_error $? "conditional \"WITH_PCRE16\" was never defined.
                   19661: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19662: fi
1.1.1.4   misho    19663: if test -z "${WITH_PCRE32_TRUE}" && test -z "${WITH_PCRE32_FALSE}"; then
                   19664:   as_fn_error $? "conditional \"WITH_PCRE32\" was never defined.
                   19665: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19666: fi
1.1       misho    19667: if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
                   19668:   as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined.
                   19669: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19670: fi
                   19671: if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
                   19672:   as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
                   19673: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19674: fi
                   19675: if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
                   19676:   as_fn_error $? "conditional \"WITH_JIT\" was never defined.
                   19677: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19678: fi
1.1.1.2   misho    19679: if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then
                   19680:   as_fn_error $? "conditional \"WITH_UTF\" was never defined.
1.1       misho    19681: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19682: fi
1.1.1.4   misho    19683: if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then
                   19684:   as_fn_error $? "conditional \"WITH_VALGRIND\" was never defined.
                   19685: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19686: fi
                   19687: if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then
                   19688:   as_fn_error $? "conditional \"WITH_GCOV\" was never defined.
                   19689: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   19690: fi
1.1       misho    19691: 
                   19692: : "${CONFIG_STATUS=./config.status}"
                   19693: ac_write_fail=0
                   19694: ac_clean_files_save=$ac_clean_files
                   19695: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   19696: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   19697: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   19698: as_write_fail=0
                   19699: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   19700: #! $SHELL
                   19701: # Generated by $as_me.
                   19702: # Run this file to recreate the current configuration.
                   19703: # Compiler output produced by configure, useful for debugging
                   19704: # configure, is in config.log if it exists.
                   19705: 
                   19706: debug=false
                   19707: ac_cs_recheck=false
                   19708: ac_cs_silent=false
                   19709: 
                   19710: SHELL=\${CONFIG_SHELL-$SHELL}
                   19711: export SHELL
                   19712: _ASEOF
                   19713: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   19714: ## -------------------- ##
                   19715: ## M4sh Initialization. ##
                   19716: ## -------------------- ##
                   19717: 
                   19718: # Be more Bourne compatible
                   19719: DUALCASE=1; export DUALCASE # for MKS sh
                   19720: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   19721:   emulate sh
                   19722:   NULLCMD=:
                   19723:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   19724:   # is contrary to our usage.  Disable this feature.
                   19725:   alias -g '${1+"$@"}'='"$@"'
                   19726:   setopt NO_GLOB_SUBST
                   19727: else
                   19728:   case `(set -o) 2>/dev/null` in #(
                   19729:   *posix*) :
                   19730:     set -o posix ;; #(
                   19731:   *) :
                   19732:      ;;
                   19733: esac
                   19734: fi
                   19735: 
                   19736: 
                   19737: as_nl='
                   19738: '
                   19739: export as_nl
                   19740: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   19741: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   19742: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   19743: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   19744: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   19745: # but without wasting forks for bash or zsh.
                   19746: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   19747:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19748:   as_echo='print -r --'
                   19749:   as_echo_n='print -rn --'
                   19750: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19751:   as_echo='printf %s\n'
                   19752:   as_echo_n='printf %s'
                   19753: else
                   19754:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   19755:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   19756:     as_echo_n='/usr/ucb/echo -n'
                   19757:   else
                   19758:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   19759:     as_echo_n_body='eval
                   19760:       arg=$1;
                   19761:       case $arg in #(
                   19762:       *"$as_nl"*)
                   19763:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   19764:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   19765:       esac;
                   19766:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   19767:     '
                   19768:     export as_echo_n_body
                   19769:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   19770:   fi
                   19771:   export as_echo_body
                   19772:   as_echo='sh -c $as_echo_body as_echo'
                   19773: fi
                   19774: 
                   19775: # The user is always right.
                   19776: if test "${PATH_SEPARATOR+set}" != set; then
                   19777:   PATH_SEPARATOR=:
                   19778:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   19779:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   19780:       PATH_SEPARATOR=';'
                   19781:   }
                   19782: fi
                   19783: 
                   19784: 
                   19785: # IFS
                   19786: # We need space, tab and new line, in precisely that order.  Quoting is
                   19787: # there to prevent editors from complaining about space-tab.
                   19788: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   19789: # splitting by setting IFS to empty value.)
                   19790: IFS=" ""       $as_nl"
                   19791: 
                   19792: # Find who we are.  Look in the path if we contain no directory separator.
                   19793: as_myself=
                   19794: case $0 in #((
                   19795:   *[\\/]* ) as_myself=$0 ;;
                   19796:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19797: for as_dir in $PATH
                   19798: do
                   19799:   IFS=$as_save_IFS
                   19800:   test -z "$as_dir" && as_dir=.
                   19801:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   19802:   done
                   19803: IFS=$as_save_IFS
                   19804: 
                   19805:      ;;
                   19806: esac
                   19807: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19808: # in which case we are not to be found in the path.
                   19809: if test "x$as_myself" = x; then
                   19810:   as_myself=$0
                   19811: fi
                   19812: if test ! -f "$as_myself"; then
                   19813:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19814:   exit 1
                   19815: fi
                   19816: 
                   19817: # Unset variables that we do not need and which cause bugs (e.g. in
                   19818: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19819: # suppresses any "Segmentation fault" message there.  '((' could
                   19820: # trigger a bug in pdksh 5.2.14.
                   19821: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19822: do eval test x\${$as_var+set} = xset \
                   19823:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19824: done
                   19825: PS1='$ '
                   19826: PS2='> '
                   19827: PS4='+ '
                   19828: 
                   19829: # NLS nuisances.
                   19830: LC_ALL=C
                   19831: export LC_ALL
                   19832: LANGUAGE=C
                   19833: export LANGUAGE
                   19834: 
                   19835: # CDPATH.
                   19836: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19837: 
                   19838: 
                   19839: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19840: # ----------------------------------------
                   19841: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19842: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19843: # script with STATUS, using 1 if that was 0.
                   19844: as_fn_error ()
                   19845: {
                   19846:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19847:   if test "$4"; then
                   19848:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19849:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19850:   fi
                   19851:   $as_echo "$as_me: error: $2" >&2
                   19852:   as_fn_exit $as_status
                   19853: } # as_fn_error
                   19854: 
                   19855: 
                   19856: # as_fn_set_status STATUS
                   19857: # -----------------------
                   19858: # Set $? to STATUS, without forking.
                   19859: as_fn_set_status ()
                   19860: {
                   19861:   return $1
                   19862: } # as_fn_set_status
                   19863: 
                   19864: # as_fn_exit STATUS
                   19865: # -----------------
                   19866: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19867: as_fn_exit ()
                   19868: {
                   19869:   set +e
                   19870:   as_fn_set_status $1
                   19871:   exit $1
                   19872: } # as_fn_exit
                   19873: 
                   19874: # as_fn_unset VAR
                   19875: # ---------------
                   19876: # Portably unset VAR.
                   19877: as_fn_unset ()
                   19878: {
                   19879:   { eval $1=; unset $1;}
                   19880: }
                   19881: as_unset=as_fn_unset
                   19882: # as_fn_append VAR VALUE
                   19883: # ----------------------
                   19884: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19885: # advantage of any shell optimizations that allow amortized linear growth over
                   19886: # repeated appends, instead of the typical quadratic growth present in naive
                   19887: # implementations.
                   19888: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19889:   eval 'as_fn_append ()
                   19890:   {
                   19891:     eval $1+=\$2
                   19892:   }'
                   19893: else
                   19894:   as_fn_append ()
                   19895:   {
                   19896:     eval $1=\$$1\$2
                   19897:   }
                   19898: fi # as_fn_append
                   19899: 
                   19900: # as_fn_arith ARG...
                   19901: # ------------------
                   19902: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19903: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19904: # must be portable across $(()) and expr.
                   19905: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19906:   eval 'as_fn_arith ()
                   19907:   {
                   19908:     as_val=$(( $* ))
                   19909:   }'
                   19910: else
                   19911:   as_fn_arith ()
                   19912:   {
                   19913:     as_val=`expr "$@" || test $? -eq 1`
                   19914:   }
                   19915: fi # as_fn_arith
                   19916: 
                   19917: 
                   19918: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19919:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   19920:   as_expr=expr
                   19921: else
                   19922:   as_expr=false
                   19923: fi
                   19924: 
                   19925: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   19926:   as_basename=basename
                   19927: else
                   19928:   as_basename=false
                   19929: fi
                   19930: 
                   19931: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19932:   as_dirname=dirname
                   19933: else
                   19934:   as_dirname=false
                   19935: fi
                   19936: 
                   19937: as_me=`$as_basename -- "$0" ||
                   19938: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19939:         X"$0" : 'X\(//\)$' \| \
                   19940:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19941: $as_echo X/"$0" |
                   19942:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19943:            s//\1/
                   19944:            q
                   19945:          }
                   19946:          /^X\/\(\/\/\)$/{
                   19947:            s//\1/
                   19948:            q
                   19949:          }
                   19950:          /^X\/\(\/\).*/{
                   19951:            s//\1/
                   19952:            q
                   19953:          }
                   19954:          s/.*/./; q'`
                   19955: 
                   19956: # Avoid depending upon Character Ranges.
                   19957: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19958: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19959: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19960: as_cr_digits='0123456789'
                   19961: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19962: 
                   19963: ECHO_C= ECHO_N= ECHO_T=
                   19964: case `echo -n x` in #(((((
                   19965: -n*)
                   19966:   case `echo 'xy\c'` in
                   19967:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19968:   xy)  ECHO_C='\c';;
                   19969:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19970:        ECHO_T='        ';;
                   19971:   esac;;
                   19972: *)
                   19973:   ECHO_N='-n';;
                   19974: esac
                   19975: 
                   19976: rm -f conf$$ conf$$.exe conf$$.file
                   19977: if test -d conf$$.dir; then
                   19978:   rm -f conf$$.dir/conf$$.file
                   19979: else
                   19980:   rm -f conf$$.dir
                   19981:   mkdir conf$$.dir 2>/dev/null
                   19982: fi
                   19983: if (echo >conf$$.file) 2>/dev/null; then
                   19984:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19985:     as_ln_s='ln -s'
                   19986:     # ... but there are two gotchas:
                   19987:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19988:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.4   misho    19989:     # In both cases, we have to default to `cp -pR'.
1.1       misho    19990:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.4   misho    19991:       as_ln_s='cp -pR'
1.1       misho    19992:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19993:     as_ln_s=ln
                   19994:   else
1.1.1.4   misho    19995:     as_ln_s='cp -pR'
1.1       misho    19996:   fi
                   19997: else
1.1.1.4   misho    19998:   as_ln_s='cp -pR'
1.1       misho    19999: fi
                   20000: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   20001: rmdir conf$$.dir 2>/dev/null
                   20002: 
                   20003: 
                   20004: # as_fn_mkdir_p
                   20005: # -------------
                   20006: # Create "$as_dir" as a directory, including parents if necessary.
                   20007: as_fn_mkdir_p ()
                   20008: {
                   20009: 
                   20010:   case $as_dir in #(
                   20011:   -*) as_dir=./$as_dir;;
                   20012:   esac
                   20013:   test -d "$as_dir" || eval $as_mkdir_p || {
                   20014:     as_dirs=
                   20015:     while :; do
                   20016:       case $as_dir in #(
                   20017:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   20018:       *) as_qdir=$as_dir;;
                   20019:       esac
                   20020:       as_dirs="'$as_qdir' $as_dirs"
                   20021:       as_dir=`$as_dirname -- "$as_dir" ||
                   20022: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20023:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   20024:         X"$as_dir" : 'X\(//\)$' \| \
                   20025:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   20026: $as_echo X"$as_dir" |
                   20027:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20028:            s//\1/
                   20029:            q
                   20030:          }
                   20031:          /^X\(\/\/\)[^/].*/{
                   20032:            s//\1/
                   20033:            q
                   20034:          }
                   20035:          /^X\(\/\/\)$/{
                   20036:            s//\1/
                   20037:            q
                   20038:          }
                   20039:          /^X\(\/\).*/{
                   20040:            s//\1/
                   20041:            q
                   20042:          }
                   20043:          s/.*/./; q'`
                   20044:       test -d "$as_dir" && break
                   20045:     done
                   20046:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   20047:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   20048: 
                   20049: 
                   20050: } # as_fn_mkdir_p
                   20051: if mkdir -p . 2>/dev/null; then
                   20052:   as_mkdir_p='mkdir -p "$as_dir"'
                   20053: else
                   20054:   test -d ./-p && rmdir ./-p
                   20055:   as_mkdir_p=false
                   20056: fi
                   20057: 
1.1.1.4   misho    20058: 
                   20059: # as_fn_executable_p FILE
                   20060: # -----------------------
                   20061: # Test if FILE is an executable regular file.
                   20062: as_fn_executable_p ()
                   20063: {
                   20064:   test -f "$1" && test -x "$1"
                   20065: } # as_fn_executable_p
                   20066: as_test_x='test -x'
                   20067: as_executable_p=as_fn_executable_p
1.1       misho    20068: 
                   20069: # Sed expression to map a string onto a valid CPP name.
                   20070: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   20071: 
                   20072: # Sed expression to map a string onto a valid variable name.
                   20073: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   20074: 
                   20075: 
                   20076: exec 6>&1
                   20077: ## ----------------------------------- ##
                   20078: ## Main body of $CONFIG_STATUS script. ##
                   20079: ## ----------------------------------- ##
                   20080: _ASEOF
                   20081: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   20082: 
                   20083: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20084: # Save the log message, to keep $0 and so on meaningful, and to
                   20085: # report actual input values of CONFIG_FILES etc. instead of their
                   20086: # values after options handling.
                   20087: ac_log="
1.1.1.5 ! misho    20088: This file was extended by PCRE $as_me 8.34, which was
1.1.1.4   misho    20089: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    20090: 
                   20091:   CONFIG_FILES    = $CONFIG_FILES
                   20092:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   20093:   CONFIG_LINKS    = $CONFIG_LINKS
                   20094:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   20095:   $ $0 $@
                   20096: 
                   20097: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   20098: "
                   20099: 
                   20100: _ACEOF
                   20101: 
                   20102: case $ac_config_files in *"
                   20103: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   20104: esac
                   20105: 
                   20106: case $ac_config_headers in *"
                   20107: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   20108: esac
                   20109: 
                   20110: 
                   20111: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20112: # Files that config.status was made for.
                   20113: config_files="$ac_config_files"
                   20114: config_headers="$ac_config_headers"
                   20115: config_commands="$ac_config_commands"
                   20116: 
                   20117: _ACEOF
                   20118: 
                   20119: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20120: ac_cs_usage="\
                   20121: \`$as_me' instantiates files and other configuration actions
                   20122: from templates according to the current configuration.  Unless the files
                   20123: and actions are specified as TAGs, all are instantiated by default.
                   20124: 
                   20125: Usage: $0 [OPTION]... [TAG]...
                   20126: 
                   20127:   -h, --help       print this help, then exit
                   20128:   -V, --version    print version number and configuration settings, then exit
                   20129:       --config     print configuration, then exit
                   20130:   -q, --quiet, --silent
                   20131:                    do not print progress messages
                   20132:   -d, --debug      don't remove temporary files
                   20133:       --recheck    update $as_me by reconfiguring in the same conditions
                   20134:       --file=FILE[:TEMPLATE]
                   20135:                    instantiate the configuration file FILE
                   20136:       --header=FILE[:TEMPLATE]
                   20137:                    instantiate the configuration header FILE
                   20138: 
                   20139: Configuration files:
                   20140: $config_files
                   20141: 
                   20142: Configuration headers:
                   20143: $config_headers
                   20144: 
                   20145: Configuration commands:
                   20146: $config_commands
                   20147: 
                   20148: Report bugs to the package provider."
                   20149: 
                   20150: _ACEOF
                   20151: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20152: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   20153: ac_cs_version="\\
1.1.1.5 ! misho    20154: PCRE config.status 8.34
1.1.1.4   misho    20155: configured by $0, generated by GNU Autoconf 2.69,
1.1       misho    20156:   with options \\"\$ac_cs_config\\"
                   20157: 
1.1.1.4   misho    20158: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    20159: This config.status script is free software; the Free Software Foundation
                   20160: gives unlimited permission to copy, distribute and modify it."
                   20161: 
                   20162: ac_pwd='$ac_pwd'
                   20163: srcdir='$srcdir'
                   20164: INSTALL='$INSTALL'
                   20165: MKDIR_P='$MKDIR_P'
                   20166: AWK='$AWK'
                   20167: test -n "\$AWK" || AWK=awk
                   20168: _ACEOF
                   20169: 
                   20170: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20171: # The default lists apply if the user does not specify any file.
                   20172: ac_need_defaults=:
                   20173: while test $# != 0
                   20174: do
                   20175:   case $1 in
                   20176:   --*=?*)
                   20177:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   20178:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   20179:     ac_shift=:
                   20180:     ;;
                   20181:   --*=)
                   20182:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   20183:     ac_optarg=
                   20184:     ac_shift=:
                   20185:     ;;
                   20186:   *)
                   20187:     ac_option=$1
                   20188:     ac_optarg=$2
                   20189:     ac_shift=shift
                   20190:     ;;
                   20191:   esac
                   20192: 
                   20193:   case $ac_option in
                   20194:   # Handling of the options.
                   20195:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   20196:     ac_cs_recheck=: ;;
                   20197:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   20198:     $as_echo "$ac_cs_version"; exit ;;
                   20199:   --config | --confi | --conf | --con | --co | --c )
                   20200:     $as_echo "$ac_cs_config"; exit ;;
                   20201:   --debug | --debu | --deb | --de | --d | -d )
                   20202:     debug=: ;;
                   20203:   --file | --fil | --fi | --f )
                   20204:     $ac_shift
                   20205:     case $ac_optarg in
                   20206:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20207:     '') as_fn_error $? "missing file argument" ;;
                   20208:     esac
                   20209:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   20210:     ac_need_defaults=false;;
                   20211:   --header | --heade | --head | --hea )
                   20212:     $ac_shift
                   20213:     case $ac_optarg in
                   20214:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20215:     esac
                   20216:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   20217:     ac_need_defaults=false;;
                   20218:   --he | --h)
                   20219:     # Conflict between --help and --header
                   20220:     as_fn_error $? "ambiguous option: \`$1'
                   20221: Try \`$0 --help' for more information.";;
                   20222:   --help | --hel | -h )
                   20223:     $as_echo "$ac_cs_usage"; exit ;;
                   20224:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   20225:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   20226:     ac_cs_silent=: ;;
                   20227: 
                   20228:   # This is an error.
                   20229:   -*) as_fn_error $? "unrecognized option: \`$1'
                   20230: Try \`$0 --help' for more information." ;;
                   20231: 
                   20232:   *) as_fn_append ac_config_targets " $1"
                   20233:      ac_need_defaults=false ;;
                   20234: 
                   20235:   esac
                   20236:   shift
                   20237: done
                   20238: 
                   20239: ac_configure_extra_args=
                   20240: 
                   20241: if $ac_cs_silent; then
                   20242:   exec 6>/dev/null
                   20243:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   20244: fi
                   20245: 
                   20246: _ACEOF
                   20247: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20248: if \$ac_cs_recheck; then
1.1.1.4   misho    20249:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    20250:   shift
                   20251:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   20252:   CONFIG_SHELL='$SHELL'
                   20253:   export CONFIG_SHELL
                   20254:   exec "\$@"
                   20255: fi
                   20256: 
                   20257: _ACEOF
                   20258: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20259: exec 5>>config.log
                   20260: {
                   20261:   echo
                   20262:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   20263: ## Running $as_me. ##
                   20264: _ASBOX
                   20265:   $as_echo "$ac_log"
                   20266: } >&5
                   20267: 
                   20268: _ACEOF
                   20269: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20270: #
                   20271: # INIT-COMMANDS
                   20272: #
                   20273: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   20274: 
                   20275: 
                   20276: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   20277: # if CDPATH is set.
                   20278: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   20279: 
                   20280: sed_quote_subst='$sed_quote_subst'
                   20281: double_quote_subst='$double_quote_subst'
                   20282: delay_variable_subst='$delay_variable_subst'
                   20283: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   20284: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   20285: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   20286: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   20287: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   20288: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   20289: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   20290: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   20291: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   20292: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   20293: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
1.1.1.4   misho    20294: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
1.1       misho    20295: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   20296: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   20297: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   20298: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   20299: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   20300: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   20301: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   20302: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   20303: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   20304: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   20305: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   20306: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   20307: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   20308: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   20309: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   20310: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   20311: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   20312: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   20313: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   20314: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   20315: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20316: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20317: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   20318: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   20319: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   20320: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   20321: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   20322: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   20323: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   20324: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   20325: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   20326: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   20327: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   20328: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   20329: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20330: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20331: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20332: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   20333: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   20334: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   20335: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   20336: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   20337: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   20338: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   20339: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   20340: 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"`'
                   20341: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20342: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   20343: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   20344: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   20345: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   20346: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   20347: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   20348: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   20349: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   20350: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   20351: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   20352: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   20353: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   20354: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   20355: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   20356: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   20357: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   20358: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   20359: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20360: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   20361: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   20362: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20363: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20364: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   20365: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   20366: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20367: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20368: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20369: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   20370: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20371: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   20372: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20373: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20374: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20375: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   20376: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   20377: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   20378: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   20379: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20380: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   20381: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   20382: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   20383: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   20384: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   20385: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   20386: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   20387: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   20388: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   20389: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20390: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   20391: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20392: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   20393: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   20394: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   20395: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20396: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   20397: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   20398: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   20399: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   20400: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   20401: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20402: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20403: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   20404: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   20405: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   20406: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   20407: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   20408: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   20409: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   20410: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   20411: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   20412: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   20413: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   20414: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   20415: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   20416: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   20417: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   20418: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   20419: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   20420: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   20421: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20422: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20423: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20424: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   20425: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   20426: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20427: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   20428: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   20429: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   20430: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   20431: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   20432: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   20433: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20434: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20435: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   20436: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20437: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20438: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20439: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20440: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20441: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20442: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   20443: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20444: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20445: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20446: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   20447: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   20448: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   20449: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20450: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20451: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20452: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20453: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20454: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20455: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20456: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20457: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20458: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20459: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20460: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20461: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20462: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20463: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20464: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20465: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20466: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20467: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20468: 
                   20469: LTCC='$LTCC'
                   20470: LTCFLAGS='$LTCFLAGS'
                   20471: compiler='$compiler_DEFAULT'
                   20472: 
                   20473: # A function that is used when there is no print builtin or printf.
                   20474: func_fallback_echo ()
                   20475: {
                   20476:   eval 'cat <<_LTECHO_EOF
                   20477: \$1
                   20478: _LTECHO_EOF'
                   20479: }
                   20480: 
                   20481: # Quote evaled strings.
                   20482: for var in AS \
                   20483: DLLTOOL \
                   20484: OBJDUMP \
                   20485: SHELL \
                   20486: ECHO \
1.1.1.4   misho    20487: PATH_SEPARATOR \
1.1       misho    20488: SED \
                   20489: GREP \
                   20490: EGREP \
                   20491: FGREP \
                   20492: LD \
                   20493: NM \
                   20494: LN_S \
                   20495: lt_SP2NL \
                   20496: lt_NL2SP \
                   20497: reload_flag \
                   20498: deplibs_check_method \
                   20499: file_magic_cmd \
                   20500: file_magic_glob \
                   20501: want_nocaseglob \
                   20502: sharedlib_from_linklib_cmd \
                   20503: AR \
                   20504: AR_FLAGS \
                   20505: archiver_list_spec \
                   20506: STRIP \
                   20507: RANLIB \
                   20508: CC \
                   20509: CFLAGS \
                   20510: compiler \
                   20511: lt_cv_sys_global_symbol_pipe \
                   20512: lt_cv_sys_global_symbol_to_cdecl \
                   20513: lt_cv_sys_global_symbol_to_c_name_address \
                   20514: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20515: nm_file_list_spec \
                   20516: lt_prog_compiler_no_builtin_flag \
                   20517: lt_prog_compiler_pic \
                   20518: lt_prog_compiler_wl \
                   20519: lt_prog_compiler_static \
                   20520: lt_cv_prog_compiler_c_o \
                   20521: need_locks \
                   20522: MANIFEST_TOOL \
                   20523: DSYMUTIL \
                   20524: NMEDIT \
                   20525: LIPO \
                   20526: OTOOL \
                   20527: OTOOL64 \
                   20528: shrext_cmds \
                   20529: export_dynamic_flag_spec \
                   20530: whole_archive_flag_spec \
                   20531: compiler_needs_object \
                   20532: with_gnu_ld \
                   20533: allow_undefined_flag \
                   20534: no_undefined_flag \
                   20535: hardcode_libdir_flag_spec \
                   20536: hardcode_libdir_separator \
                   20537: exclude_expsyms \
                   20538: include_expsyms \
                   20539: file_list_spec \
                   20540: variables_saved_for_relink \
                   20541: libname_spec \
                   20542: library_names_spec \
                   20543: soname_spec \
                   20544: install_override_mode \
                   20545: finish_eval \
                   20546: old_striplib \
                   20547: striplib \
                   20548: compiler_lib_search_dirs \
                   20549: predep_objects \
                   20550: postdep_objects \
                   20551: predeps \
                   20552: postdeps \
                   20553: compiler_lib_search_path \
                   20554: LD_CXX \
                   20555: reload_flag_CXX \
                   20556: compiler_CXX \
                   20557: lt_prog_compiler_no_builtin_flag_CXX \
                   20558: lt_prog_compiler_pic_CXX \
                   20559: lt_prog_compiler_wl_CXX \
                   20560: lt_prog_compiler_static_CXX \
                   20561: lt_cv_prog_compiler_c_o_CXX \
                   20562: export_dynamic_flag_spec_CXX \
                   20563: whole_archive_flag_spec_CXX \
                   20564: compiler_needs_object_CXX \
                   20565: with_gnu_ld_CXX \
                   20566: allow_undefined_flag_CXX \
                   20567: no_undefined_flag_CXX \
                   20568: hardcode_libdir_flag_spec_CXX \
                   20569: hardcode_libdir_separator_CXX \
                   20570: exclude_expsyms_CXX \
                   20571: include_expsyms_CXX \
                   20572: file_list_spec_CXX \
                   20573: compiler_lib_search_dirs_CXX \
                   20574: predep_objects_CXX \
                   20575: postdep_objects_CXX \
                   20576: predeps_CXX \
                   20577: postdeps_CXX \
                   20578: compiler_lib_search_path_CXX; do
                   20579:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20580:     *[\\\\\\\`\\"\\\$]*)
                   20581:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20582:       ;;
                   20583:     *)
                   20584:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20585:       ;;
                   20586:     esac
                   20587: done
                   20588: 
                   20589: # Double-quote double-evaled strings.
                   20590: for var in reload_cmds \
                   20591: old_postinstall_cmds \
                   20592: old_postuninstall_cmds \
                   20593: old_archive_cmds \
                   20594: extract_expsyms_cmds \
                   20595: old_archive_from_new_cmds \
                   20596: old_archive_from_expsyms_cmds \
                   20597: archive_cmds \
                   20598: archive_expsym_cmds \
                   20599: module_cmds \
                   20600: module_expsym_cmds \
                   20601: export_symbols_cmds \
                   20602: prelink_cmds \
                   20603: postlink_cmds \
                   20604: postinstall_cmds \
                   20605: postuninstall_cmds \
                   20606: finish_cmds \
                   20607: sys_lib_search_path_spec \
                   20608: sys_lib_dlsearch_path_spec \
                   20609: reload_cmds_CXX \
                   20610: old_archive_cmds_CXX \
                   20611: old_archive_from_new_cmds_CXX \
                   20612: old_archive_from_expsyms_cmds_CXX \
                   20613: archive_cmds_CXX \
                   20614: archive_expsym_cmds_CXX \
                   20615: module_cmds_CXX \
                   20616: module_expsym_cmds_CXX \
                   20617: export_symbols_cmds_CXX \
                   20618: prelink_cmds_CXX \
                   20619: postlink_cmds_CXX; do
                   20620:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20621:     *[\\\\\\\`\\"\\\$]*)
                   20622:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20623:       ;;
                   20624:     *)
                   20625:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20626:       ;;
                   20627:     esac
                   20628: done
                   20629: 
                   20630: ac_aux_dir='$ac_aux_dir'
                   20631: xsi_shell='$xsi_shell'
                   20632: lt_shell_append='$lt_shell_append'
                   20633: 
                   20634: # See if we are running on zsh, and set the options which allow our
                   20635: # commands through without removal of \ escapes INIT.
                   20636: if test -n "\${ZSH_VERSION+set}" ; then
                   20637:    setopt NO_GLOB_SUBST
                   20638: fi
                   20639: 
                   20640: 
                   20641:     PACKAGE='$PACKAGE'
                   20642:     VERSION='$VERSION'
                   20643:     TIMESTAMP='$TIMESTAMP'
                   20644:     RM='$RM'
                   20645:     ofile='$ofile'
                   20646: 
                   20647: 
                   20648: 
                   20649: 
                   20650: 
                   20651: 
                   20652: _ACEOF
                   20653: 
                   20654: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20655: 
                   20656: # Handling of arguments.
                   20657: for ac_config_target in $ac_config_targets
                   20658: do
                   20659:   case $ac_config_target in
                   20660:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   20661:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   20662:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   20663:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20664:     "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
1.1.1.2   misho    20665:     "libpcre16.pc") CONFIG_FILES="$CONFIG_FILES libpcre16.pc" ;;
1.1.1.4   misho    20666:     "libpcre32.pc") CONFIG_FILES="$CONFIG_FILES libpcre32.pc" ;;
1.1       misho    20667:     "libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;;
                   20668:     "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
                   20669:     "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
                   20670:     "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
                   20671:     "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
                   20672:     "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
                   20673:     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
                   20674:     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
                   20675: 
                   20676:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   20677:   esac
                   20678: done
                   20679: 
                   20680: 
                   20681: # If the user did not use the arguments to specify the items to instantiate,
                   20682: # then the envvar interface is used.  Set only those that are not.
                   20683: # We use the long form for the default assignment because of an extremely
                   20684: # bizarre bug on SunOS 4.1.3.
                   20685: if $ac_need_defaults; then
                   20686:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20687:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20688:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20689: fi
                   20690: 
                   20691: # Have a temporary directory for convenience.  Make it in the build tree
                   20692: # simply because there is no reason against having it here, and in addition,
                   20693: # creating and moving files from /tmp can sometimes cause problems.
                   20694: # Hook for its removal unless debugging.
                   20695: # Note that there is a small window in which the directory will not be cleaned:
                   20696: # after its creation but before its name has been assigned to `$tmp'.
                   20697: $debug ||
                   20698: {
                   20699:   tmp= ac_tmp=
                   20700:   trap 'exit_status=$?
                   20701:   : "${ac_tmp:=$tmp}"
                   20702:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   20703: ' 0
                   20704:   trap 'as_fn_exit 1' 1 2 13 15
                   20705: }
                   20706: # Create a (secure) tmp directory for tmp files.
                   20707: 
                   20708: {
                   20709:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   20710:   test -d "$tmp"
                   20711: }  ||
                   20712: {
                   20713:   tmp=./conf$$-$RANDOM
                   20714:   (umask 077 && mkdir "$tmp")
                   20715: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   20716: ac_tmp=$tmp
                   20717: 
                   20718: # Set up the scripts for CONFIG_FILES section.
                   20719: # No need to generate them if there are no CONFIG_FILES.
                   20720: # This happens for instance with `./config.status config.h'.
                   20721: if test -n "$CONFIG_FILES"; then
                   20722: 
                   20723: 
                   20724: ac_cr=`echo X | tr X '\015'`
                   20725: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   20726: # But we know of no other shell where ac_cr would be empty at this
                   20727: # point, so we can use a bashism as a fallback.
                   20728: if test "x$ac_cr" = x; then
                   20729:   eval ac_cr=\$\'\\r\'
                   20730: fi
                   20731: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   20732: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   20733:   ac_cs_awk_cr='\\r'
                   20734: else
                   20735:   ac_cs_awk_cr=$ac_cr
                   20736: fi
                   20737: 
                   20738: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   20739: _ACEOF
                   20740: 
                   20741: 
                   20742: {
                   20743:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   20744:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   20745:   echo "_ACEOF"
                   20746: } >conf$$subs.sh ||
                   20747:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20748: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   20749: ac_delim='%!_!# '
                   20750: for ac_last_try in false false false false false :; do
                   20751:   . ./conf$$subs.sh ||
                   20752:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20753: 
                   20754:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   20755:   if test $ac_delim_n = $ac_delim_num; then
                   20756:     break
                   20757:   elif $ac_last_try; then
                   20758:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20759:   else
                   20760:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20761:   fi
                   20762: done
                   20763: rm -f conf$$subs.sh
                   20764: 
                   20765: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20766: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   20767: _ACEOF
                   20768: sed -n '
                   20769: h
                   20770: s/^/S["/; s/!.*/"]=/
                   20771: p
                   20772: g
                   20773: s/^[^!]*!//
                   20774: :repl
                   20775: t repl
                   20776: s/'"$ac_delim"'$//
                   20777: t delim
                   20778: :nl
                   20779: h
                   20780: s/\(.\{148\}\)..*/\1/
                   20781: t more1
                   20782: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   20783: p
                   20784: n
                   20785: b repl
                   20786: :more1
                   20787: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20788: p
                   20789: g
                   20790: s/.\{148\}//
                   20791: t nl
                   20792: :delim
                   20793: h
                   20794: s/\(.\{148\}\)..*/\1/
                   20795: t more2
                   20796: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20797: p
                   20798: b
                   20799: :more2
                   20800: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20801: p
                   20802: g
                   20803: s/.\{148\}//
                   20804: t delim
                   20805: ' <conf$$subs.awk | sed '
                   20806: /^[^""]/{
                   20807:   N
                   20808:   s/\n//
                   20809: }
                   20810: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20811: rm -f conf$$subs.awk
                   20812: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20813: _ACAWK
                   20814: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20815:   for (key in S) S_is_set[key] = 1
                   20816:   FS = ""
                   20817: 
                   20818: }
                   20819: {
                   20820:   line = $ 0
                   20821:   nfields = split(line, field, "@")
                   20822:   substed = 0
                   20823:   len = length(field[1])
                   20824:   for (i = 2; i < nfields; i++) {
                   20825:     key = field[i]
                   20826:     keylen = length(key)
                   20827:     if (S_is_set[key]) {
                   20828:       value = S[key]
                   20829:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20830:       len += length(value) + length(field[++i])
                   20831:       substed = 1
                   20832:     } else
                   20833:       len += 1 + keylen
                   20834:   }
                   20835: 
                   20836:   print line
                   20837: }
                   20838: 
                   20839: _ACAWK
                   20840: _ACEOF
                   20841: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20842: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20843:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20844: else
                   20845:   cat
                   20846: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20847:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   20848: _ACEOF
                   20849: 
                   20850: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20851: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20852: # trailing colons and then remove the whole line if VPATH becomes empty
                   20853: # (actually we leave an empty line to preserve line numbers).
                   20854: if test "x$srcdir" = x.; then
                   20855:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20856: h
                   20857: s///
                   20858: s/^/:/
                   20859: s/[     ]*$/:/
                   20860: s/:\$(srcdir):/:/g
                   20861: s/:\${srcdir}:/:/g
                   20862: s/:@srcdir@:/:/g
                   20863: s/^:*//
                   20864: s/:*$//
                   20865: x
                   20866: s/\(=[  ]*\).*/\1/
                   20867: G
                   20868: s/\n//
                   20869: s/^[^=]*=[      ]*$//
                   20870: }'
                   20871: fi
                   20872: 
                   20873: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20874: fi # test -n "$CONFIG_FILES"
                   20875: 
                   20876: # Set up the scripts for CONFIG_HEADERS section.
                   20877: # No need to generate them if there are no CONFIG_HEADERS.
                   20878: # This happens for instance with `./config.status Makefile'.
                   20879: if test -n "$CONFIG_HEADERS"; then
                   20880: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20881: BEGIN {
                   20882: _ACEOF
                   20883: 
                   20884: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20885: # here-document in config.status, that substitutes the proper values into
                   20886: # config.h.in to produce config.h.
                   20887: 
                   20888: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20889: # handling of long lines.
                   20890: ac_delim='%!_!# '
                   20891: for ac_last_try in false false :; do
                   20892:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20893:   if test -z "$ac_tt"; then
                   20894:     break
                   20895:   elif $ac_last_try; then
                   20896:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20897:   else
                   20898:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20899:   fi
                   20900: done
                   20901: 
                   20902: # For the awk script, D is an array of macro values keyed by name,
                   20903: # likewise P contains macro parameters if any.  Preserve backslash
                   20904: # newline sequences.
                   20905: 
                   20906: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20907: sed -n '
                   20908: s/.\{148\}/&'"$ac_delim"'/g
                   20909: t rset
                   20910: :rset
                   20911: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20912: t def
                   20913: d
                   20914: :def
                   20915: s/\\$//
                   20916: t bsnl
                   20917: s/["\\]/\\&/g
                   20918: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20919: D["\1"]=" \3"/p
                   20920: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20921: d
                   20922: :bsnl
                   20923: s/["\\]/\\&/g
                   20924: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20925: D["\1"]=" \3\\\\\\n"\\/p
                   20926: t cont
                   20927: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20928: t cont
                   20929: d
                   20930: :cont
                   20931: n
                   20932: s/.\{148\}/&'"$ac_delim"'/g
                   20933: t clear
                   20934: :clear
                   20935: s/\\$//
                   20936: t bsnlc
                   20937: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20938: d
                   20939: :bsnlc
                   20940: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20941: b cont
                   20942: ' <confdefs.h | sed '
                   20943: s/'"$ac_delim"'/"\\\
                   20944: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20945: 
                   20946: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20947:   for (key in D) D_is_set[key] = 1
                   20948:   FS = ""
                   20949: }
                   20950: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20951:   line = \$ 0
                   20952:   split(line, arg, " ")
                   20953:   if (arg[1] == "#") {
                   20954:     defundef = arg[2]
                   20955:     mac1 = arg[3]
                   20956:   } else {
                   20957:     defundef = substr(arg[1], 2)
                   20958:     mac1 = arg[2]
                   20959:   }
                   20960:   split(mac1, mac2, "(") #)
                   20961:   macro = mac2[1]
                   20962:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20963:   if (D_is_set[macro]) {
                   20964:     # Preserve the white space surrounding the "#".
                   20965:     print prefix "define", macro P[macro] D[macro]
                   20966:     next
                   20967:   } else {
                   20968:     # Replace #undef with comments.  This is necessary, for example,
                   20969:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20970:     # on some systems where configure will not decide to define it.
                   20971:     if (defundef == "undef") {
                   20972:       print "/*", prefix defundef, macro, "*/"
                   20973:       next
                   20974:     }
                   20975:   }
                   20976: }
                   20977: { print }
                   20978: _ACAWK
                   20979: _ACEOF
                   20980: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20981:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20982: fi # test -n "$CONFIG_HEADERS"
                   20983: 
                   20984: 
                   20985: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20986: shift
                   20987: for ac_tag
                   20988: do
                   20989:   case $ac_tag in
                   20990:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20991:   esac
                   20992:   case $ac_mode$ac_tag in
                   20993:   :[FHL]*:*);;
                   20994:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20995:   :[FH]-) ac_tag=-:-;;
                   20996:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20997:   esac
                   20998:   ac_save_IFS=$IFS
                   20999:   IFS=:
                   21000:   set x $ac_tag
                   21001:   IFS=$ac_save_IFS
                   21002:   shift
                   21003:   ac_file=$1
                   21004:   shift
                   21005: 
                   21006:   case $ac_mode in
                   21007:   :L) ac_source=$1;;
                   21008:   :[FH])
                   21009:     ac_file_inputs=
                   21010:     for ac_f
                   21011:     do
                   21012:       case $ac_f in
                   21013:       -) ac_f="$ac_tmp/stdin";;
                   21014:       *) # Look for the file first in the build tree, then in the source tree
                   21015:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   21016:         # because $ac_f cannot contain `:'.
                   21017:         test -f "$ac_f" ||
                   21018:           case $ac_f in
                   21019:           [\\/$]*) false;;
                   21020:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   21021:           esac ||
                   21022:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   21023:       esac
                   21024:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   21025:       as_fn_append ac_file_inputs " '$ac_f'"
                   21026:     done
                   21027: 
                   21028:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21029:     # use $as_me), people would be surprised to read:
                   21030:     #    /* config.h.  Generated by config.status.  */
                   21031:     configure_input='Generated from '`
                   21032:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   21033:        `' by configure.'
                   21034:     if test x"$ac_file" != x-; then
                   21035:       configure_input="$ac_file.  $configure_input"
                   21036:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   21037: $as_echo "$as_me: creating $ac_file" >&6;}
                   21038:     fi
                   21039:     # Neutralize special characters interpreted by sed in replacement strings.
                   21040:     case $configure_input in #(
                   21041:     *\&* | *\|* | *\\* )
                   21042:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   21043:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   21044:     *) ac_sed_conf_input=$configure_input;;
                   21045:     esac
                   21046: 
                   21047:     case $ac_tag in
                   21048:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   21049:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   21050:     esac
                   21051:     ;;
                   21052:   esac
                   21053: 
                   21054:   ac_dir=`$as_dirname -- "$ac_file" ||
                   21055: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21056:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21057:         X"$ac_file" : 'X\(//\)$' \| \
                   21058:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   21059: $as_echo X"$ac_file" |
                   21060:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   21061:            s//\1/
                   21062:            q
                   21063:          }
                   21064:          /^X\(\/\/\)[^/].*/{
                   21065:            s//\1/
                   21066:            q
                   21067:          }
                   21068:          /^X\(\/\/\)$/{
                   21069:            s//\1/
                   21070:            q
                   21071:          }
                   21072:          /^X\(\/\).*/{
                   21073:            s//\1/
                   21074:            q
                   21075:          }
                   21076:          s/.*/./; q'`
                   21077:   as_dir="$ac_dir"; as_fn_mkdir_p
                   21078:   ac_builddir=.
                   21079: 
                   21080: case "$ac_dir" in
                   21081: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21082: *)
                   21083:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21084:   # A ".." for each directory in $ac_dir_suffix.
                   21085:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21086:   case $ac_top_builddir_sub in
                   21087:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21088:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21089:   esac ;;
                   21090: esac
                   21091: ac_abs_top_builddir=$ac_pwd
                   21092: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21093: # for backward compatibility:
                   21094: ac_top_builddir=$ac_top_build_prefix
                   21095: 
                   21096: case $srcdir in
                   21097:   .)  # We are building in place.
                   21098:     ac_srcdir=.
                   21099:     ac_top_srcdir=$ac_top_builddir_sub
                   21100:     ac_abs_top_srcdir=$ac_pwd ;;
                   21101:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   21102:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21103:     ac_top_srcdir=$srcdir
                   21104:     ac_abs_top_srcdir=$srcdir ;;
                   21105:   *) # Relative name.
                   21106:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21107:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21108:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   21109: esac
                   21110: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   21111: 
                   21112: 
                   21113:   case $ac_mode in
                   21114:   :F)
                   21115:   #
                   21116:   # CONFIG_FILE
                   21117:   #
                   21118: 
                   21119:   case $INSTALL in
                   21120:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   21121:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   21122:   esac
                   21123:   ac_MKDIR_P=$MKDIR_P
                   21124:   case $MKDIR_P in
                   21125:   [\\/$]* | ?:[\\/]* ) ;;
                   21126:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   21127:   esac
                   21128: _ACEOF
                   21129: 
                   21130: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21131: # If the template does not know about datarootdir, expand it.
                   21132: # FIXME: This hack should be removed a few years after 2.60.
                   21133: ac_datarootdir_hack=; ac_datarootdir_seen=
                   21134: ac_sed_dataroot='
                   21135: /datarootdir/ {
                   21136:   p
                   21137:   q
                   21138: }
                   21139: /@datadir@/p
                   21140: /@docdir@/p
                   21141: /@infodir@/p
                   21142: /@localedir@/p
                   21143: /@mandir@/p'
                   21144: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   21145: *datarootdir*) ac_datarootdir_seen=yes;;
                   21146: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   21147:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   21148: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   21149: _ACEOF
                   21150: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21151:   ac_datarootdir_hack='
                   21152:   s&@datadir@&$datadir&g
                   21153:   s&@docdir@&$docdir&g
                   21154:   s&@infodir@&$infodir&g
                   21155:   s&@localedir@&$localedir&g
                   21156:   s&@mandir@&$mandir&g
                   21157:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   21158: esac
                   21159: _ACEOF
                   21160: 
                   21161: # Neutralize VPATH when `$srcdir' = `.'.
                   21162: # Shell code in configure.ac might set extrasub.
                   21163: # FIXME: do we really want to maintain this feature?
                   21164: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21165: ac_sed_extra="$ac_vpsub
                   21166: $extrasub
                   21167: _ACEOF
                   21168: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21169: :t
                   21170: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   21171: s|@configure_input@|$ac_sed_conf_input|;t t
                   21172: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   21173: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   21174: s&@srcdir@&$ac_srcdir&;t t
                   21175: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   21176: s&@top_srcdir@&$ac_top_srcdir&;t t
                   21177: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   21178: s&@builddir@&$ac_builddir&;t t
                   21179: s&@abs_builddir@&$ac_abs_builddir&;t t
                   21180: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   21181: s&@INSTALL@&$ac_INSTALL&;t t
                   21182: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   21183: $ac_datarootdir_hack
                   21184: "
                   21185: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   21186:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   21187: 
                   21188: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   21189:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   21190:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   21191:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   21192:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   21193: which seems to be undefined.  Please make sure it is defined" >&5
                   21194: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   21195: which seems to be undefined.  Please make sure it is defined" >&2;}
                   21196: 
                   21197:   rm -f "$ac_tmp/stdin"
                   21198:   case $ac_file in
                   21199:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   21200:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   21201:   esac \
                   21202:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   21203:  ;;
                   21204:   :H)
                   21205:   #
                   21206:   # CONFIG_HEADER
                   21207:   #
                   21208:   if test x"$ac_file" != x-; then
                   21209:     {
                   21210:       $as_echo "/* $configure_input  */" \
                   21211:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   21212:     } >"$ac_tmp/config.h" \
                   21213:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   21214:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   21215:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   21216: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   21217:     else
                   21218:       rm -f "$ac_file"
                   21219:       mv "$ac_tmp/config.h" "$ac_file" \
                   21220:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   21221:     fi
                   21222:   else
                   21223:     $as_echo "/* $configure_input  */" \
                   21224:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   21225:       || as_fn_error $? "could not create -" "$LINENO" 5
                   21226:   fi
                   21227: # Compute "$ac_file"'s index in $config_headers.
                   21228: _am_arg="$ac_file"
                   21229: _am_stamp_count=1
                   21230: for _am_header in $config_headers :; do
                   21231:   case $_am_header in
                   21232:     $_am_arg | $_am_arg:* )
                   21233:       break ;;
                   21234:     * )
                   21235:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   21236:   esac
                   21237: done
                   21238: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   21239: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21240:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   21241:         X"$_am_arg" : 'X\(//\)$' \| \
                   21242:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   21243: $as_echo X"$_am_arg" |
                   21244:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   21245:            s//\1/
                   21246:            q
                   21247:          }
                   21248:          /^X\(\/\/\)[^/].*/{
                   21249:            s//\1/
                   21250:            q
                   21251:          }
                   21252:          /^X\(\/\/\)$/{
                   21253:            s//\1/
                   21254:            q
                   21255:          }
                   21256:          /^X\(\/\).*/{
                   21257:            s//\1/
                   21258:            q
                   21259:          }
                   21260:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   21261:  ;;
                   21262: 
                   21263:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   21264: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   21265:  ;;
                   21266:   esac
                   21267: 
                   21268: 
                   21269:   case $ac_file$ac_mode in
                   21270:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.1.1.4   misho    21271:   # Older Autoconf quotes --file arguments for eval, but not when files
1.1       misho    21272:   # are listed without --file.  Let's play safe and only enable the eval
                   21273:   # if we detect the quoting.
                   21274:   case $CONFIG_FILES in
                   21275:   *\'*) eval set x "$CONFIG_FILES" ;;
                   21276:   *)   set x $CONFIG_FILES ;;
                   21277:   esac
                   21278:   shift
                   21279:   for mf
                   21280:   do
                   21281:     # Strip MF so we end up with the name of the file.
                   21282:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   21283:     # Check whether this is an Automake generated Makefile or not.
1.1.1.4   misho    21284:     # We used to match only the files named 'Makefile.in', but
1.1       misho    21285:     # some people rename them; so instead we look at the file content.
                   21286:     # Grep'ing the first line is not enough: some people post-process
                   21287:     # each Makefile.in and add a new line on top of each file to say so.
                   21288:     # Grep'ing the whole file is not good either: AIX grep has a line
                   21289:     # limit of 2048, but all sed's we know have understand at least 4000.
                   21290:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   21291:       dirpart=`$as_dirname -- "$mf" ||
                   21292: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21293:         X"$mf" : 'X\(//\)[^/]' \| \
                   21294:         X"$mf" : 'X\(//\)$' \| \
                   21295:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   21296: $as_echo X"$mf" |
                   21297:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   21298:            s//\1/
                   21299:            q
                   21300:          }
                   21301:          /^X\(\/\/\)[^/].*/{
                   21302:            s//\1/
                   21303:            q
                   21304:          }
                   21305:          /^X\(\/\/\)$/{
                   21306:            s//\1/
                   21307:            q
                   21308:          }
                   21309:          /^X\(\/\).*/{
                   21310:            s//\1/
                   21311:            q
                   21312:          }
                   21313:          s/.*/./; q'`
                   21314:     else
                   21315:       continue
                   21316:     fi
                   21317:     # Extract the definition of DEPDIR, am__include, and am__quote
1.1.1.4   misho    21318:     # from the Makefile without running 'make'.
1.1       misho    21319:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   21320:     test -z "$DEPDIR" && continue
                   21321:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
1.1.1.4   misho    21322:     test -z "$am__include" && continue
1.1       misho    21323:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   21324:     # Find all dependency output files, they are included files with
                   21325:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   21326:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   21327:     # expansion.
                   21328:     for file in `sed -n "
                   21329:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.1.1.4   misho    21330:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1.1       misho    21331:       # Make sure the directory exists.
                   21332:       test -f "$dirpart/$file" && continue
                   21333:       fdir=`$as_dirname -- "$file" ||
                   21334: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21335:         X"$file" : 'X\(//\)[^/]' \| \
                   21336:         X"$file" : 'X\(//\)$' \| \
                   21337:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   21338: $as_echo X"$file" |
                   21339:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   21340:            s//\1/
                   21341:            q
                   21342:          }
                   21343:          /^X\(\/\/\)[^/].*/{
                   21344:            s//\1/
                   21345:            q
                   21346:          }
                   21347:          /^X\(\/\/\)$/{
                   21348:            s//\1/
                   21349:            q
                   21350:          }
                   21351:          /^X\(\/\).*/{
                   21352:            s//\1/
                   21353:            q
                   21354:          }
                   21355:          s/.*/./; q'`
                   21356:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   21357:       # echo "creating $dirpart/$file"
                   21358:       echo '# dummy' > "$dirpart/$file"
                   21359:     done
                   21360:   done
                   21361: }
                   21362:  ;;
                   21363:     "libtool":C)
                   21364: 
                   21365:     # See if we are running on zsh, and set the options which allow our
                   21366:     # commands through without removal of \ escapes.
                   21367:     if test -n "${ZSH_VERSION+set}" ; then
                   21368:       setopt NO_GLOB_SUBST
                   21369:     fi
                   21370: 
                   21371:     cfgfile="${ofile}T"
                   21372:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   21373:     $RM "$cfgfile"
                   21374: 
                   21375:     cat <<_LT_EOF >> "$cfgfile"
                   21376: #! $SHELL
                   21377: 
                   21378: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   21379: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   21380: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   21381: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   21382: #
                   21383: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.1.1.4   misho    21384: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   21385: #                 Foundation, Inc.
1.1       misho    21386: #   Written by Gordon Matzigkeit, 1996
                   21387: #
                   21388: #   This file is part of GNU Libtool.
                   21389: #
                   21390: # GNU Libtool is free software; you can redistribute it and/or
                   21391: # modify it under the terms of the GNU General Public License as
                   21392: # published by the Free Software Foundation; either version 2 of
                   21393: # the License, or (at your option) any later version.
                   21394: #
                   21395: # As a special exception to the GNU General Public License,
                   21396: # if you distribute this file as part of a program or library that
                   21397: # is built using GNU Libtool, you may include this file under the
                   21398: # same distribution terms that you use for the rest of that program.
                   21399: #
                   21400: # GNU Libtool is distributed in the hope that it will be useful,
                   21401: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   21402: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   21403: # GNU General Public License for more details.
                   21404: #
                   21405: # You should have received a copy of the GNU General Public License
                   21406: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   21407: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   21408: # obtained by writing to the Free Software Foundation, Inc.,
                   21409: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   21410: 
                   21411: 
                   21412: # The names of the tagged configurations supported by this script.
                   21413: available_tags="CXX "
                   21414: 
                   21415: # ### BEGIN LIBTOOL CONFIG
                   21416: 
                   21417: # Assembler program.
                   21418: AS=$lt_AS
                   21419: 
                   21420: # DLL creation program.
                   21421: DLLTOOL=$lt_DLLTOOL
                   21422: 
                   21423: # Object dumper program.
                   21424: OBJDUMP=$lt_OBJDUMP
                   21425: 
                   21426: # Which release of libtool.m4 was used?
                   21427: macro_version=$macro_version
                   21428: macro_revision=$macro_revision
                   21429: 
                   21430: # Whether or not to build shared libraries.
                   21431: build_libtool_libs=$enable_shared
                   21432: 
                   21433: # Whether or not to build static libraries.
                   21434: build_old_libs=$enable_static
                   21435: 
                   21436: # What type of objects to build.
                   21437: pic_mode=$pic_mode
                   21438: 
                   21439: # Whether or not to optimize for fast installation.
                   21440: fast_install=$enable_fast_install
                   21441: 
                   21442: # Shell to use when invoking shell scripts.
                   21443: SHELL=$lt_SHELL
                   21444: 
                   21445: # An echo program that protects backslashes.
                   21446: ECHO=$lt_ECHO
                   21447: 
1.1.1.4   misho    21448: # The PATH separator for the build system.
                   21449: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21450: 
1.1       misho    21451: # The host system.
                   21452: host_alias=$host_alias
                   21453: host=$host
                   21454: host_os=$host_os
                   21455: 
                   21456: # The build system.
                   21457: build_alias=$build_alias
                   21458: build=$build
                   21459: build_os=$build_os
                   21460: 
                   21461: # A sed program that does not truncate output.
                   21462: SED=$lt_SED
                   21463: 
                   21464: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   21465: Xsed="\$SED -e 1s/^X//"
                   21466: 
                   21467: # A grep program that handles long lines.
                   21468: GREP=$lt_GREP
                   21469: 
                   21470: # An ERE matcher.
                   21471: EGREP=$lt_EGREP
                   21472: 
                   21473: # A literal string matcher.
                   21474: FGREP=$lt_FGREP
                   21475: 
                   21476: # A BSD- or MS-compatible name lister.
                   21477: NM=$lt_NM
                   21478: 
                   21479: # Whether we need soft or hard links.
                   21480: LN_S=$lt_LN_S
                   21481: 
                   21482: # What is the maximum length of a command?
                   21483: max_cmd_len=$max_cmd_len
                   21484: 
                   21485: # Object file suffix (normally "o").
                   21486: objext=$ac_objext
                   21487: 
                   21488: # Executable file suffix (normally "").
                   21489: exeext=$exeext
                   21490: 
                   21491: # whether the shell understands "unset".
                   21492: lt_unset=$lt_unset
                   21493: 
                   21494: # turn spaces into newlines.
                   21495: SP2NL=$lt_lt_SP2NL
                   21496: 
                   21497: # turn newlines into spaces.
                   21498: NL2SP=$lt_lt_NL2SP
                   21499: 
                   21500: # convert \$build file names to \$host format.
                   21501: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   21502: 
                   21503: # convert \$build files to toolchain format.
                   21504: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   21505: 
                   21506: # Method to check whether dependent libraries are shared objects.
                   21507: deplibs_check_method=$lt_deplibs_check_method
                   21508: 
                   21509: # Command to use when deplibs_check_method = "file_magic".
                   21510: file_magic_cmd=$lt_file_magic_cmd
                   21511: 
                   21512: # How to find potential files when deplibs_check_method = "file_magic".
                   21513: file_magic_glob=$lt_file_magic_glob
                   21514: 
                   21515: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   21516: want_nocaseglob=$lt_want_nocaseglob
                   21517: 
                   21518: # Command to associate shared and link libraries.
                   21519: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   21520: 
                   21521: # The archiver.
                   21522: AR=$lt_AR
                   21523: 
                   21524: # Flags to create an archive.
                   21525: AR_FLAGS=$lt_AR_FLAGS
                   21526: 
                   21527: # How to feed a file listing to the archiver.
                   21528: archiver_list_spec=$lt_archiver_list_spec
                   21529: 
                   21530: # A symbol stripping program.
                   21531: STRIP=$lt_STRIP
                   21532: 
                   21533: # Commands used to install an old-style archive.
                   21534: RANLIB=$lt_RANLIB
                   21535: old_postinstall_cmds=$lt_old_postinstall_cmds
                   21536: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   21537: 
                   21538: # Whether to use a lock for old archive extraction.
                   21539: lock_old_archive_extraction=$lock_old_archive_extraction
                   21540: 
                   21541: # A C compiler.
                   21542: LTCC=$lt_CC
                   21543: 
                   21544: # LTCC compiler flags.
                   21545: LTCFLAGS=$lt_CFLAGS
                   21546: 
                   21547: # Take the output of nm and produce a listing of raw symbols and C names.
                   21548: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   21549: 
                   21550: # Transform the output of nm in a proper C declaration.
                   21551: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   21552: 
                   21553: # Transform the output of nm in a C name address pair.
                   21554: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   21555: 
                   21556: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   21557: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   21558: 
                   21559: # Specify filename containing input files for \$NM.
                   21560: nm_file_list_spec=$lt_nm_file_list_spec
                   21561: 
                   21562: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   21563: lt_sysroot=$lt_sysroot
                   21564: 
                   21565: # The name of the directory that contains temporary libtool files.
                   21566: objdir=$objdir
                   21567: 
                   21568: # Used to examine libraries when file_magic_cmd begins with "file".
                   21569: MAGIC_CMD=$MAGIC_CMD
                   21570: 
                   21571: # Must we lock files when doing compilation?
                   21572: need_locks=$lt_need_locks
                   21573: 
                   21574: # Manifest tool.
                   21575: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   21576: 
                   21577: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   21578: DSYMUTIL=$lt_DSYMUTIL
                   21579: 
                   21580: # Tool to change global to local symbols on Mac OS X.
                   21581: NMEDIT=$lt_NMEDIT
                   21582: 
                   21583: # Tool to manipulate fat objects and archives on Mac OS X.
                   21584: LIPO=$lt_LIPO
                   21585: 
                   21586: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   21587: OTOOL=$lt_OTOOL
                   21588: 
                   21589: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   21590: OTOOL64=$lt_OTOOL64
                   21591: 
                   21592: # Old archive suffix (normally "a").
                   21593: libext=$libext
                   21594: 
                   21595: # Shared library suffix (normally ".so").
                   21596: shrext_cmds=$lt_shrext_cmds
                   21597: 
                   21598: # The commands to extract the exported symbol list from a shared archive.
                   21599: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   21600: 
                   21601: # Variables whose values should be saved in libtool wrapper scripts and
                   21602: # restored at link time.
                   21603: variables_saved_for_relink=$lt_variables_saved_for_relink
                   21604: 
                   21605: # Do we need the "lib" prefix for modules?
                   21606: need_lib_prefix=$need_lib_prefix
                   21607: 
                   21608: # Do we need a version for libraries?
                   21609: need_version=$need_version
                   21610: 
                   21611: # Library versioning type.
                   21612: version_type=$version_type
                   21613: 
                   21614: # Shared library runtime path variable.
                   21615: runpath_var=$runpath_var
                   21616: 
                   21617: # Shared library path variable.
                   21618: shlibpath_var=$shlibpath_var
                   21619: 
                   21620: # Is shlibpath searched before the hard-coded library search path?
                   21621: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   21622: 
                   21623: # Format of library name prefix.
                   21624: libname_spec=$lt_libname_spec
                   21625: 
                   21626: # List of archive names.  First name is the real one, the rest are links.
                   21627: # The last name is the one that the linker finds with -lNAME
                   21628: library_names_spec=$lt_library_names_spec
                   21629: 
                   21630: # The coded name of the library, if different from the real name.
                   21631: soname_spec=$lt_soname_spec
                   21632: 
                   21633: # Permission mode override for installation of shared libraries.
                   21634: install_override_mode=$lt_install_override_mode
                   21635: 
                   21636: # Command to use after installation of a shared archive.
                   21637: postinstall_cmds=$lt_postinstall_cmds
                   21638: 
                   21639: # Command to use after uninstallation of a shared archive.
                   21640: postuninstall_cmds=$lt_postuninstall_cmds
                   21641: 
                   21642: # Commands used to finish a libtool library installation in a directory.
                   21643: finish_cmds=$lt_finish_cmds
                   21644: 
                   21645: # As "finish_cmds", except a single script fragment to be evaled but
                   21646: # not shown.
                   21647: finish_eval=$lt_finish_eval
                   21648: 
                   21649: # Whether we should hardcode library paths into libraries.
                   21650: hardcode_into_libs=$hardcode_into_libs
                   21651: 
                   21652: # Compile-time system search path for libraries.
                   21653: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   21654: 
                   21655: # Run-time system search path for libraries.
                   21656: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   21657: 
                   21658: # Whether dlopen is supported.
                   21659: dlopen_support=$enable_dlopen
                   21660: 
                   21661: # Whether dlopen of programs is supported.
                   21662: dlopen_self=$enable_dlopen_self
                   21663: 
                   21664: # Whether dlopen of statically linked programs is supported.
                   21665: dlopen_self_static=$enable_dlopen_self_static
                   21666: 
                   21667: # Commands to strip libraries.
                   21668: old_striplib=$lt_old_striplib
                   21669: striplib=$lt_striplib
                   21670: 
                   21671: 
                   21672: # The linker used to build libraries.
                   21673: LD=$lt_LD
                   21674: 
                   21675: # How to create reloadable object files.
                   21676: reload_flag=$lt_reload_flag
                   21677: reload_cmds=$lt_reload_cmds
                   21678: 
                   21679: # Commands used to build an old-style archive.
                   21680: old_archive_cmds=$lt_old_archive_cmds
                   21681: 
                   21682: # A language specific compiler.
                   21683: CC=$lt_compiler
                   21684: 
                   21685: # Is the compiler the GNU compiler?
                   21686: with_gcc=$GCC
                   21687: 
                   21688: # Compiler flag to turn off builtin functions.
                   21689: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   21690: 
                   21691: # Additional compiler flags for building library objects.
                   21692: pic_flag=$lt_lt_prog_compiler_pic
                   21693: 
                   21694: # How to pass a linker flag through the compiler.
                   21695: wl=$lt_lt_prog_compiler_wl
                   21696: 
                   21697: # Compiler flag to prevent dynamic linking.
                   21698: link_static_flag=$lt_lt_prog_compiler_static
                   21699: 
                   21700: # Does compiler simultaneously support -c and -o options?
                   21701: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   21702: 
                   21703: # Whether or not to add -lc for building shared libraries.
                   21704: build_libtool_need_lc=$archive_cmds_need_lc
                   21705: 
                   21706: # Whether or not to disallow shared libs when runtime libs are static.
                   21707: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   21708: 
                   21709: # Compiler flag to allow reflexive dlopens.
                   21710: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   21711: 
                   21712: # Compiler flag to generate shared objects directly from archives.
                   21713: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   21714: 
                   21715: # Whether the compiler copes with passing no objects directly.
                   21716: compiler_needs_object=$lt_compiler_needs_object
                   21717: 
                   21718: # Create an old-style archive from a shared archive.
                   21719: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   21720: 
                   21721: # Create a temporary old-style archive to link instead of a shared archive.
                   21722: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   21723: 
                   21724: # Commands used to build a shared archive.
                   21725: archive_cmds=$lt_archive_cmds
                   21726: archive_expsym_cmds=$lt_archive_expsym_cmds
                   21727: 
                   21728: # Commands used to build a loadable module if different from building
                   21729: # a shared archive.
                   21730: module_cmds=$lt_module_cmds
                   21731: module_expsym_cmds=$lt_module_expsym_cmds
                   21732: 
                   21733: # Whether we are building with GNU ld or not.
                   21734: with_gnu_ld=$lt_with_gnu_ld
                   21735: 
                   21736: # Flag that allows shared libraries with undefined symbols to be built.
                   21737: allow_undefined_flag=$lt_allow_undefined_flag
                   21738: 
                   21739: # Flag that enforces no undefined symbols.
                   21740: no_undefined_flag=$lt_no_undefined_flag
                   21741: 
                   21742: # Flag to hardcode \$libdir into a binary during linking.
                   21743: # This must work even if \$libdir does not exist
                   21744: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   21745: 
                   21746: # Whether we need a single "-rpath" flag with a separated argument.
                   21747: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   21748: 
                   21749: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21750: # DIR into the resulting binary.
                   21751: hardcode_direct=$hardcode_direct
                   21752: 
                   21753: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21754: # DIR into the resulting binary and the resulting library dependency is
                   21755: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21756: # library is relocated.
                   21757: hardcode_direct_absolute=$hardcode_direct_absolute
                   21758: 
                   21759: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21760: # into the resulting binary.
                   21761: hardcode_minus_L=$hardcode_minus_L
                   21762: 
                   21763: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21764: # into the resulting binary.
                   21765: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   21766: 
                   21767: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21768: # into the library and all subsequent libraries and executables linked
                   21769: # against it.
                   21770: hardcode_automatic=$hardcode_automatic
                   21771: 
                   21772: # Set to yes if linker adds runtime paths of dependent libraries
                   21773: # to runtime path list.
                   21774: inherit_rpath=$inherit_rpath
                   21775: 
                   21776: # Whether libtool must link a program against all its dependency libraries.
                   21777: link_all_deplibs=$link_all_deplibs
                   21778: 
                   21779: # Set to "yes" if exported symbols are required.
                   21780: always_export_symbols=$always_export_symbols
                   21781: 
                   21782: # The commands to list exported symbols.
                   21783: export_symbols_cmds=$lt_export_symbols_cmds
                   21784: 
                   21785: # Symbols that should not be listed in the preloaded symbols.
                   21786: exclude_expsyms=$lt_exclude_expsyms
                   21787: 
                   21788: # Symbols that must always be exported.
                   21789: include_expsyms=$lt_include_expsyms
                   21790: 
                   21791: # Commands necessary for linking programs (against libraries) with templates.
                   21792: prelink_cmds=$lt_prelink_cmds
                   21793: 
                   21794: # Commands necessary for finishing linking programs.
                   21795: postlink_cmds=$lt_postlink_cmds
                   21796: 
                   21797: # Specify filename containing input files.
                   21798: file_list_spec=$lt_file_list_spec
                   21799: 
                   21800: # How to hardcode a shared library path into an executable.
                   21801: hardcode_action=$hardcode_action
                   21802: 
                   21803: # The directories searched by this compiler when creating a shared library.
                   21804: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21805: 
                   21806: # Dependencies to place before and after the objects being linked to
                   21807: # create a shared library.
                   21808: predep_objects=$lt_predep_objects
                   21809: postdep_objects=$lt_postdep_objects
                   21810: predeps=$lt_predeps
                   21811: postdeps=$lt_postdeps
                   21812: 
                   21813: # The library search path used internally by the compiler when linking
                   21814: # a shared library.
                   21815: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21816: 
                   21817: # ### END LIBTOOL CONFIG
                   21818: 
                   21819: _LT_EOF
                   21820: 
                   21821:   case $host_os in
                   21822:   aix3*)
                   21823:     cat <<\_LT_EOF >> "$cfgfile"
                   21824: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21825: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21826: # vanish in a puff of smoke.
                   21827: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21828:   COLLECT_NAMES=
                   21829:   export COLLECT_NAMES
                   21830: fi
                   21831: _LT_EOF
                   21832:     ;;
                   21833:   esac
                   21834: 
                   21835: 
                   21836: ltmain="$ac_aux_dir/ltmain.sh"
                   21837: 
                   21838: 
                   21839:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21840:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21841:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21842:   # is reportedly fixed, but why not run on old versions too?
                   21843:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21844:      || (rm -f "$cfgfile"; exit 1)
                   21845: 
                   21846:   if test x"$xsi_shell" = xyes; then
                   21847:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21848: func_dirname ()\
                   21849: {\
                   21850: \    case ${1} in\
                   21851: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21852: \      *  ) func_dirname_result="${3}" ;;\
                   21853: \    esac\
                   21854: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21855:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21856:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21857: test 0 -eq $? || _lt_function_replace_fail=:
                   21858: 
                   21859: 
                   21860:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21861: func_basename ()\
                   21862: {\
                   21863: \    func_basename_result="${1##*/}"\
                   21864: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21865:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21866:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21867: test 0 -eq $? || _lt_function_replace_fail=:
                   21868: 
                   21869: 
                   21870:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21871: func_dirname_and_basename ()\
                   21872: {\
                   21873: \    case ${1} in\
                   21874: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21875: \      *  ) func_dirname_result="${3}" ;;\
                   21876: \    esac\
                   21877: \    func_basename_result="${1##*/}"\
                   21878: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21879:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21880:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21881: test 0 -eq $? || _lt_function_replace_fail=:
                   21882: 
                   21883: 
                   21884:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21885: func_stripname ()\
                   21886: {\
                   21887: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21888: \    # positional parameters, so assign one to ordinary parameter first.\
                   21889: \    func_stripname_result=${3}\
                   21890: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21891: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21892: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21893:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21894:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21895: test 0 -eq $? || _lt_function_replace_fail=:
                   21896: 
                   21897: 
                   21898:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21899: func_split_long_opt ()\
                   21900: {\
                   21901: \    func_split_long_opt_name=${1%%=*}\
                   21902: \    func_split_long_opt_arg=${1#*=}\
                   21903: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21904:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21905:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21906: test 0 -eq $? || _lt_function_replace_fail=:
                   21907: 
                   21908: 
                   21909:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21910: func_split_short_opt ()\
                   21911: {\
                   21912: \    func_split_short_opt_arg=${1#??}\
                   21913: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21914: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21915:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21916:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21917: test 0 -eq $? || _lt_function_replace_fail=:
                   21918: 
                   21919: 
                   21920:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   21921: func_lo2o ()\
                   21922: {\
                   21923: \    case ${1} in\
                   21924: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21925: \      *)    func_lo2o_result=${1} ;;\
                   21926: \    esac\
                   21927: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21928:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21929:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21930: test 0 -eq $? || _lt_function_replace_fail=:
                   21931: 
                   21932: 
                   21933:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21934: func_xform ()\
                   21935: {\
                   21936:     func_xform_result=${1%.*}.lo\
                   21937: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21938:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21939:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21940: test 0 -eq $? || _lt_function_replace_fail=:
                   21941: 
                   21942: 
                   21943:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21944: func_arith ()\
                   21945: {\
                   21946:     func_arith_result=$(( $* ))\
                   21947: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21948:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21949:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21950: test 0 -eq $? || _lt_function_replace_fail=:
                   21951: 
                   21952: 
                   21953:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21954: func_len ()\
                   21955: {\
                   21956:     func_len_result=${#1}\
                   21957: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   21958:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21959:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21960: test 0 -eq $? || _lt_function_replace_fail=:
                   21961: 
                   21962: fi
                   21963: 
                   21964: if test x"$lt_shell_append" = xyes; then
                   21965:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21966: func_append ()\
                   21967: {\
                   21968:     eval "${1}+=\\${2}"\
                   21969: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21970:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21971:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21972: test 0 -eq $? || _lt_function_replace_fail=:
                   21973: 
                   21974: 
                   21975:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21976: func_append_quoted ()\
                   21977: {\
                   21978: \    func_quote_for_eval "${2}"\
                   21979: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21980: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21981:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21982:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21983: test 0 -eq $? || _lt_function_replace_fail=:
                   21984: 
                   21985: 
                   21986:   # Save a `func_append' function call where possible by direct use of '+='
                   21987:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21988:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21989:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21990:   test 0 -eq $? || _lt_function_replace_fail=:
                   21991: else
                   21992:   # Save a `func_append' function call even when '+=' is not available
                   21993:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21994:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21995:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21996:   test 0 -eq $? || _lt_function_replace_fail=:
                   21997: fi
                   21998: 
                   21999: if test x"$_lt_function_replace_fail" = x":"; then
                   22000:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   22001: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   22002: fi
                   22003: 
                   22004: 
                   22005:    mv -f "$cfgfile" "$ofile" ||
                   22006:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   22007:   chmod +x "$ofile"
                   22008: 
                   22009: 
                   22010:     cat <<_LT_EOF >> "$ofile"
                   22011: 
                   22012: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   22013: 
                   22014: # The linker used to build libraries.
                   22015: LD=$lt_LD_CXX
                   22016: 
                   22017: # How to create reloadable object files.
                   22018: reload_flag=$lt_reload_flag_CXX
                   22019: reload_cmds=$lt_reload_cmds_CXX
                   22020: 
                   22021: # Commands used to build an old-style archive.
                   22022: old_archive_cmds=$lt_old_archive_cmds_CXX
                   22023: 
                   22024: # A language specific compiler.
                   22025: CC=$lt_compiler_CXX
                   22026: 
                   22027: # Is the compiler the GNU compiler?
                   22028: with_gcc=$GCC_CXX
                   22029: 
                   22030: # Compiler flag to turn off builtin functions.
                   22031: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   22032: 
                   22033: # Additional compiler flags for building library objects.
                   22034: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   22035: 
                   22036: # How to pass a linker flag through the compiler.
                   22037: wl=$lt_lt_prog_compiler_wl_CXX
                   22038: 
                   22039: # Compiler flag to prevent dynamic linking.
                   22040: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   22041: 
                   22042: # Does compiler simultaneously support -c and -o options?
                   22043: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   22044: 
                   22045: # Whether or not to add -lc for building shared libraries.
                   22046: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   22047: 
                   22048: # Whether or not to disallow shared libs when runtime libs are static.
                   22049: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   22050: 
                   22051: # Compiler flag to allow reflexive dlopens.
                   22052: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   22053: 
                   22054: # Compiler flag to generate shared objects directly from archives.
                   22055: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   22056: 
                   22057: # Whether the compiler copes with passing no objects directly.
                   22058: compiler_needs_object=$lt_compiler_needs_object_CXX
                   22059: 
                   22060: # Create an old-style archive from a shared archive.
                   22061: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   22062: 
                   22063: # Create a temporary old-style archive to link instead of a shared archive.
                   22064: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   22065: 
                   22066: # Commands used to build a shared archive.
                   22067: archive_cmds=$lt_archive_cmds_CXX
                   22068: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   22069: 
                   22070: # Commands used to build a loadable module if different from building
                   22071: # a shared archive.
                   22072: module_cmds=$lt_module_cmds_CXX
                   22073: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   22074: 
                   22075: # Whether we are building with GNU ld or not.
                   22076: with_gnu_ld=$lt_with_gnu_ld_CXX
                   22077: 
                   22078: # Flag that allows shared libraries with undefined symbols to be built.
                   22079: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   22080: 
                   22081: # Flag that enforces no undefined symbols.
                   22082: no_undefined_flag=$lt_no_undefined_flag_CXX
                   22083: 
                   22084: # Flag to hardcode \$libdir into a binary during linking.
                   22085: # This must work even if \$libdir does not exist
                   22086: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   22087: 
                   22088: # Whether we need a single "-rpath" flag with a separated argument.
                   22089: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   22090: 
                   22091: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22092: # DIR into the resulting binary.
                   22093: hardcode_direct=$hardcode_direct_CXX
                   22094: 
                   22095: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22096: # DIR into the resulting binary and the resulting library dependency is
                   22097: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22098: # library is relocated.
                   22099: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   22100: 
                   22101: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22102: # into the resulting binary.
                   22103: hardcode_minus_L=$hardcode_minus_L_CXX
                   22104: 
                   22105: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22106: # into the resulting binary.
                   22107: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   22108: 
                   22109: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22110: # into the library and all subsequent libraries and executables linked
                   22111: # against it.
                   22112: hardcode_automatic=$hardcode_automatic_CXX
                   22113: 
                   22114: # Set to yes if linker adds runtime paths of dependent libraries
                   22115: # to runtime path list.
                   22116: inherit_rpath=$inherit_rpath_CXX
                   22117: 
                   22118: # Whether libtool must link a program against all its dependency libraries.
                   22119: link_all_deplibs=$link_all_deplibs_CXX
                   22120: 
                   22121: # Set to "yes" if exported symbols are required.
                   22122: always_export_symbols=$always_export_symbols_CXX
                   22123: 
                   22124: # The commands to list exported symbols.
                   22125: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   22126: 
                   22127: # Symbols that should not be listed in the preloaded symbols.
                   22128: exclude_expsyms=$lt_exclude_expsyms_CXX
                   22129: 
                   22130: # Symbols that must always be exported.
                   22131: include_expsyms=$lt_include_expsyms_CXX
                   22132: 
                   22133: # Commands necessary for linking programs (against libraries) with templates.
                   22134: prelink_cmds=$lt_prelink_cmds_CXX
                   22135: 
                   22136: # Commands necessary for finishing linking programs.
                   22137: postlink_cmds=$lt_postlink_cmds_CXX
                   22138: 
                   22139: # Specify filename containing input files.
                   22140: file_list_spec=$lt_file_list_spec_CXX
                   22141: 
                   22142: # How to hardcode a shared library path into an executable.
                   22143: hardcode_action=$hardcode_action_CXX
                   22144: 
                   22145: # The directories searched by this compiler when creating a shared library.
                   22146: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   22147: 
                   22148: # Dependencies to place before and after the objects being linked to
                   22149: # create a shared library.
                   22150: predep_objects=$lt_predep_objects_CXX
                   22151: postdep_objects=$lt_postdep_objects_CXX
                   22152: predeps=$lt_predeps_CXX
                   22153: postdeps=$lt_postdeps_CXX
                   22154: 
                   22155: # The library search path used internally by the compiler when linking
                   22156: # a shared library.
                   22157: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   22158: 
                   22159: # ### END LIBTOOL TAG CONFIG: CXX
                   22160: _LT_EOF
                   22161: 
                   22162:  ;;
                   22163:     "script-chmod":C) chmod a+x pcre-config ;;
                   22164:     "delete-old-chartables":C) rm -f pcre_chartables.c ;;
                   22165: 
                   22166:   esac
                   22167: done # for ac_tag
                   22168: 
                   22169: 
                   22170: as_fn_exit 0
                   22171: _ACEOF
                   22172: ac_clean_files=$ac_clean_files_save
                   22173: 
                   22174: test $ac_write_fail = 0 ||
                   22175:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   22176: 
                   22177: 
                   22178: # configure is writing to config.log, and then calls config.status.
                   22179: # config.status does its own redirection, appending to config.log.
                   22180: # Unfortunately, on DOS this fails, as config.log is still kept open
                   22181: # by configure, so config.status won't be able to write to it; its
                   22182: # output is simply discarded.  So we exec the FD to /dev/null,
                   22183: # effectively closing config.log, so it can be properly (re)opened and
                   22184: # appended to by config.status.  When coming back to configure, we
                   22185: # need to make the FD available again.
                   22186: if test "$no_create" != yes; then
                   22187:   ac_cs_success=:
                   22188:   ac_config_status_args=
                   22189:   test "$silent" = yes &&
                   22190:     ac_config_status_args="$ac_config_status_args --quiet"
                   22191:   exec 5>/dev/null
                   22192:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   22193:   exec 5>>config.log
                   22194:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   22195:   # would make configure fail if this is the last instruction.
                   22196:   $ac_cs_success || as_fn_exit 1
                   22197: fi
                   22198: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   22199:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   22200: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   22201: fi
                   22202: 
                   22203: 
1.1.1.4   misho    22204: # Print out a nice little message after configure is run displaying the
1.1       misho    22205: # chosen options.
                   22206: 
1.1.1.4   misho    22207: ebcdic_nl_code=n/a
                   22208: if test "$enable_ebcdic_nl25" = "yes"; then
                   22209:   ebcdic_nl_code=0x25
                   22210: elif test "$enable_ebcdic" = "yes"; then
                   22211:   ebcdic_nl_code=0x15
                   22212: fi
                   22213: 
1.1       misho    22214: cat <<EOF
                   22215: 
                   22216: $PACKAGE-$VERSION configuration summary:
                   22217: 
                   22218:     Install prefix .................. : ${prefix}
                   22219:     C preprocessor .................. : ${CPP}
                   22220:     C compiler ...................... : ${CC}
                   22221:     C++ preprocessor ................ : ${CXXCPP}
                   22222:     C++ compiler .................... : ${CXX}
                   22223:     Linker .......................... : ${LD}
                   22224:     C preprocessor flags ............ : ${CPPFLAGS}
1.1.1.4   misho    22225:     C compiler flags ................ : ${CFLAGS} ${VISIBILITY_CFLAGS}
                   22226:     C++ compiler flags .............. : ${CXXFLAGS} ${VISIBILITY_CXXFLAGS}
1.1       misho    22227:     Linker flags .................... : ${LDFLAGS}
                   22228:     Extra libraries ................. : ${LIBS}
                   22229: 
1.1.1.2   misho    22230:     Build 8 bit pcre library ........ : ${enable_pcre8}
                   22231:     Build 16 bit pcre library ....... : ${enable_pcre16}
1.1.1.4   misho    22232:     Build 32 bit pcre library ....... : ${enable_pcre32}
1.1       misho    22233:     Build C++ library ............... : ${enable_cpp}
                   22234:     Enable JIT compiling support .... : ${enable_jit}
1.1.1.4   misho    22235:     Enable UTF-8/16/32 support ...... : ${enable_utf}
1.1       misho    22236:     Unicode properties .............. : ${enable_unicode_properties}
                   22237:     Newline char/sequence ........... : ${enable_newline}
                   22238:     \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
                   22239:     EBCDIC coding ................... : ${enable_ebcdic}
1.1.1.4   misho    22240:     EBCDIC code for NL .............. : ${ebcdic_nl_code}
1.1       misho    22241:     Rebuild char tables ............. : ${enable_rebuild_chartables}
                   22242:     Use stack recursion ............. : ${enable_stack_for_recursion}
                   22243:     POSIX mem threshold ............. : ${with_posix_malloc_threshold}
                   22244:     Internal link size .............. : ${with_link_size}
1.1.1.5 ! misho    22245:     Nested parentheses limit ........ : ${with_parens_nest_limit}
1.1       misho    22246:     Match limit ..................... : ${with_match_limit}
                   22247:     Match limit recursion ........... : ${with_match_limit_recursion}
                   22248:     Build shared libs ............... : ${enable_shared}
                   22249:     Build static libs ............... : ${enable_static}
                   22250:     Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
                   22251:     Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
                   22252:     Link pcregrep with libz ......... : ${enable_pcregrep_libz}
                   22253:     Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
1.1.1.3   misho    22254:     Link pcretest with libedit ...... : ${enable_pcretest_libedit}
1.1       misho    22255:     Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
1.1.1.4   misho    22256:     Valgrind support ................ : ${enable_valgrind}
                   22257:     Code coverage ................... : ${enable_coverage}
1.1       misho    22258: 
                   22259: EOF
                   22260: 

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