[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc

Annotation of OpenXM_contrib2/asir2000/gc/configure, Revision 1.2

1.1       noro        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
                      3: # Generated by Autoconf 2.52 for gc 6.1.
                      4: #
                      5: # Report bugs to <Hans_Boehm@hp.com>.
                      6: #
                      7: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                      8: # Free Software Foundation, Inc.
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
                     11:
                     12: # Find the correct PATH separator.  Usually this is `:', but
                     13: # DJGPP uses `;' like DOS.
                     14: if test "X${PATH_SEPARATOR+set}" != Xset; then
                     15:   UNAME=${UNAME-`uname 2>/dev/null`}
                     16:   case X$UNAME in
                     17:     *-DOS) lt_cv_sys_path_separator=';' ;;
                     18:     *)     lt_cv_sys_path_separator=':' ;;
                     19:   esac
                     20:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                     21: fi
                     22:
                     23: # Check that we are running under the correct shell.
                     24: SHELL=${CONFIG_SHELL-/bin/sh}
                     25:
                     26: case X$ECHO in
                     27: X*--fallback-echo)
                     28:   # Remove one level of quotation (which was required for Make).
                     29:   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
                     30:   ;;
                     31: esac
                     32:
                     33: echo=${ECHO-echo}
                     34: if test "X$1" = X--no-reexec; then
                     35:   # Discard the --no-reexec flag, and continue.
                     36:   shift
                     37: elif test "X$1" = X--fallback-echo; then
                     38:   # Avoid inline document here, it may be left over
                     39:   :
                     40: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
                     41:   # Yippee, $echo works!
                     42:   :
                     43: else
                     44:   # Restart under the correct shell.
                     45:   exec $SHELL "$0" --no-reexec ${1+"$@"}
                     46: fi
                     47:
                     48: if test "X$1" = X--fallback-echo; then
                     49:   # used as fallback echo
                     50:   shift
                     51:   cat <<EOF
                     52:
                     53: EOF
                     54:   exit 0
                     55: fi
                     56:
                     57: # The HP-UX ksh and POSIX shell print the target directory to stdout
                     58: # if CDPATH is set.
                     59: if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                     60:
                     61: if test -z "$ECHO"; then
                     62: if test "X${echo_test_string+set}" != Xset; then
                     63: # find a string as large as possible, as long as the shell can cope with it
                     64:   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
                     65:     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
                     66:     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
                     67:        echo_test_string="`eval $cmd`" &&
                     68:        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
                     69:     then
                     70:       break
                     71:     fi
                     72:   done
                     73: fi
                     74:
                     75: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                     76:    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                     77:    test "X$echo_testing_string" = "X$echo_test_string"; then
                     78:   :
                     79: else
                     80:   # The Solaris, AIX, and Digital Unix default echo programs unquote
                     81:   # backslashes.  This makes it impossible to quote backslashes using
                     82:   #   echo "$something" | sed 's/\\/\\\\/g'
                     83:   #
                     84:   # So, first we look for a working echo in the user's PATH.
                     85:
                     86:   IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                     87:   for dir in $PATH /usr/ucb; do
                     88:     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
                     89:        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
                     90:        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
                     91:        test "X$echo_testing_string" = "X$echo_test_string"; then
                     92:       echo="$dir/echo"
                     93:       break
                     94:     fi
                     95:   done
                     96:   IFS="$save_ifs"
                     97:
                     98:   if test "X$echo" = Xecho; then
                     99:     # We didn't find a better echo, so look for alternatives.
                    100:     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
                    101:        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
                    102:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    103:       # This shell has a builtin print -r that does the trick.
                    104:       echo='print -r'
                    105:     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
                    106:         test "X$CONFIG_SHELL" != X/bin/ksh; then
                    107:       # If we have ksh, try running configure again with it.
                    108:       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
                    109:       export ORIGINAL_CONFIG_SHELL
                    110:       CONFIG_SHELL=/bin/ksh
                    111:       export CONFIG_SHELL
                    112:       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
                    113:     else
                    114:       # Try using printf.
                    115:       echo='printf %s\n'
                    116:       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    117:         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    118:         test "X$echo_testing_string" = "X$echo_test_string"; then
                    119:        # Cool, printf works
                    120:        :
                    121:       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    122:           test "X$echo_testing_string" = 'X\t' &&
                    123:           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    124:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    125:        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
                    126:        export CONFIG_SHELL
                    127:        SHELL="$CONFIG_SHELL"
                    128:        export SHELL
                    129:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    130:       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    131:           test "X$echo_testing_string" = 'X\t' &&
                    132:           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    133:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    134:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    135:       else
                    136:        # maybe with a smaller string...
                    137:        prev=:
                    138:
                    139:        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
                    140:          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
                    141:          then
                    142:            break
                    143:          fi
                    144:          prev="$cmd"
                    145:        done
                    146:
                    147:        if test "$prev" != 'sed 50q "$0"'; then
                    148:          echo_test_string=`eval $prev`
                    149:          export echo_test_string
                    150:          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
                    151:        else
                    152:          # Oops.  We lost completely, so just stick with echo.
                    153:          echo=echo
                    154:        fi
                    155:       fi
                    156:     fi
                    157:   fi
                    158: fi
                    159: fi
                    160:
                    161: # Copy echo and quote the copy suitably for passing to libtool from
                    162: # the Makefile, instead of quoting the original, which is used later.
                    163: ECHO=$echo
                    164: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
                    165:    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
                    166: fi
                    167:
                    168: # Avoid depending upon Character Ranges.
                    169: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    170: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    171: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    172: as_cr_digits='0123456789'
                    173: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    174:
                    175: # Sed expression to map a string onto a valid variable name.
                    176: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                    177:
                    178: # Sed expression to map a string onto a valid CPP name.
                    179: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                    180:
                    181: # Be Bourne compatible
                    182: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                    183:   emulate sh
                    184:   NULLCMD=:
                    185: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                    186:   set -o posix
                    187: fi
                    188:
                    189: # Name of the executable.
                    190: as_me=`echo "$0" |sed 's,.*[\\/],,'`
                    191:
                    192: if expr a : '\(a\)' >/dev/null 2>&1; then
                    193:   as_expr=expr
                    194: else
                    195:   as_expr=false
                    196: fi
                    197:
                    198: rm -f conf$$ conf$$.exe conf$$.file
                    199: echo >conf$$.file
                    200: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    201:   # We could just check for DJGPP; but this test a) works b) is more generic
                    202:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    203:   if test -f conf$$.exe; then
                    204:     # Don't use ln at all; we don't have any links
                    205:     as_ln_s='cp -p'
                    206:   else
                    207:     as_ln_s='ln -s'
                    208:   fi
                    209: elif ln conf$$.file conf$$ 2>/dev/null; then
                    210:   as_ln_s=ln
                    211: else
                    212:   as_ln_s='cp -p'
                    213: fi
                    214: rm -f conf$$ conf$$.exe conf$$.file
                    215:
                    216: as_executable_p="test -f"
                    217:
                    218: # Support unset when possible.
                    219: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                    220:   as_unset=unset
                    221: else
                    222:   as_unset=false
                    223: fi
                    224:
                    225: # NLS nuisances.
                    226: $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
                    227: $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
                    228: $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
                    229: $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
                    230: $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
                    231: $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
                    232: $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
                    233: $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
                    234:
                    235: # IFS
                    236: # We need space, tab and new line, in precisely that order.
                    237: as_nl='
                    238: '
                    239: IFS="  $as_nl"
                    240:
                    241: # CDPATH.
                    242: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
                    243:
                    244: # Name of the host.
                    245: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    246: # so uname gets run too.
                    247: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    248:
                    249: exec 6>&1
                    250:
                    251: #
                    252: # Initializations.
                    253: #
                    254: ac_default_prefix=/usr/local
                    255: cross_compiling=no
                    256: subdirs=
                    257: MFLAGS= MAKEFLAGS=
                    258: SHELL=${CONFIG_SHELL-/bin/sh}
                    259:
                    260: # Maximum number of lines to put in a shell here document.
                    261: # This variable seems obsolete.  It should probably be removed, and
                    262: # only ac_max_sed_lines should be used.
                    263: : ${ac_max_here_lines=38}
                    264:
                    265: ac_unique_file="gcj_mlc.c"
                    266:
                    267: # Initialize some variables set by options.
                    268: ac_init_help=
                    269: ac_init_version=false
                    270: # The variables have the same names as the options, with
                    271: # dashes changed to underlines.
                    272: cache_file=/dev/null
                    273: exec_prefix=NONE
                    274: no_create=
                    275: no_recursion=
                    276: prefix=NONE
                    277: program_prefix=NONE
                    278: program_suffix=NONE
                    279: program_transform_name=s,x,x,
                    280: silent=
                    281: site=
                    282: srcdir=
                    283: verbose=
                    284: x_includes=NONE
                    285: x_libraries=NONE
                    286:
                    287: # Installation directory options.
                    288: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    289: # and all the variables that are supposed to be based on exec_prefix
                    290: # by default will actually change.
                    291: # Use braces instead of parens because sh, perl, etc. also accept them.
                    292: bindir='${exec_prefix}/bin'
                    293: sbindir='${exec_prefix}/sbin'
                    294: libexecdir='${exec_prefix}/libexec'
                    295: datadir='${prefix}/share'
                    296: sysconfdir='${prefix}/etc'
                    297: sharedstatedir='${prefix}/com'
                    298: localstatedir='${prefix}/var'
                    299: libdir='${exec_prefix}/lib'
                    300: includedir='${prefix}/include'
                    301: oldincludedir='/usr/include'
                    302: infodir='${prefix}/info'
                    303: mandir='${prefix}/man'
                    304:
                    305: # Identity of this package.
                    306: PACKAGE_NAME='gc'
                    307: PACKAGE_TARNAME='gc'
                    308: PACKAGE_VERSION='6.1'
                    309: PACKAGE_STRING='gc 6.1'
                    310: PACKAGE_BUGREPORT='Hans_Boehm@hp.com'
                    311:
                    312: ac_prev=
                    313: for ac_option
                    314: do
                    315:   # If the previous option needs an argument, assign it.
                    316:   if test -n "$ac_prev"; then
                    317:     eval "$ac_prev=\$ac_option"
                    318:     ac_prev=
                    319:     continue
                    320:   fi
                    321:
                    322:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
                    323:
                    324:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    325:
                    326:   case $ac_option in
                    327:
                    328:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    329:     ac_prev=bindir ;;
                    330:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    331:     bindir=$ac_optarg ;;
                    332:
                    333:   -build | --build | --buil | --bui | --bu)
                    334:     ac_prev=build_alias ;;
                    335:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    336:     build_alias=$ac_optarg ;;
                    337:
                    338:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    339:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    340:     ac_prev=cache_file ;;
                    341:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    342:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    343:     cache_file=$ac_optarg ;;
                    344:
                    345:   --config-cache | -C)
                    346:     cache_file=config.cache ;;
                    347:
                    348:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    349:     ac_prev=datadir ;;
                    350:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    351:   | --da=*)
                    352:     datadir=$ac_optarg ;;
                    353:
                    354:   -disable-* | --disable-*)
                    355:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    356:     # Reject names that are not valid shell variable names.
                    357:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    358:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    359:    { (exit 1); exit 1; }; }
                    360:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    361:     eval "enable_$ac_feature=no" ;;
                    362:
                    363:   -enable-* | --enable-*)
                    364:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    365:     # Reject names that are not valid shell variable names.
                    366:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    367:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    368:    { (exit 1); exit 1; }; }
                    369:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    370:     case $ac_option in
                    371:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
                    372:       *) ac_optarg=yes ;;
                    373:     esac
                    374:     eval "enable_$ac_feature='$ac_optarg'" ;;
                    375:
                    376:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    377:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    378:   | --exec | --exe | --ex)
                    379:     ac_prev=exec_prefix ;;
                    380:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    381:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    382:   | --exec=* | --exe=* | --ex=*)
                    383:     exec_prefix=$ac_optarg ;;
                    384:
                    385:   -gas | --gas | --ga | --g)
                    386:     # Obsolete; use --with-gas.
                    387:     with_gas=yes ;;
                    388:
                    389:   -help | --help | --hel | --he | -h)
                    390:     ac_init_help=long ;;
                    391:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    392:     ac_init_help=recursive ;;
                    393:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    394:     ac_init_help=short ;;
                    395:
                    396:   -host | --host | --hos | --ho)
                    397:     ac_prev=host_alias ;;
                    398:   -host=* | --host=* | --hos=* | --ho=*)
                    399:     host_alias=$ac_optarg ;;
                    400:
                    401:   -includedir | --includedir | --includedi | --included | --include \
                    402:   | --includ | --inclu | --incl | --inc)
                    403:     ac_prev=includedir ;;
                    404:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    405:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    406:     includedir=$ac_optarg ;;
                    407:
                    408:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    409:     ac_prev=infodir ;;
                    410:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    411:     infodir=$ac_optarg ;;
                    412:
                    413:   -libdir | --libdir | --libdi | --libd)
                    414:     ac_prev=libdir ;;
                    415:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    416:     libdir=$ac_optarg ;;
                    417:
                    418:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    419:   | --libexe | --libex | --libe)
                    420:     ac_prev=libexecdir ;;
                    421:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    422:   | --libexe=* | --libex=* | --libe=*)
                    423:     libexecdir=$ac_optarg ;;
                    424:
                    425:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    426:   | --localstate | --localstat | --localsta | --localst \
                    427:   | --locals | --local | --loca | --loc | --lo)
                    428:     ac_prev=localstatedir ;;
                    429:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    430:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    431:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
                    432:     localstatedir=$ac_optarg ;;
                    433:
                    434:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    435:     ac_prev=mandir ;;
                    436:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    437:     mandir=$ac_optarg ;;
                    438:
                    439:   -nfp | --nfp | --nf)
                    440:     # Obsolete; use --without-fp.
                    441:     with_fp=no ;;
                    442:
                    443:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    444:   | --no-cr | --no-c)
                    445:     no_create=yes ;;
                    446:
                    447:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    448:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    449:     no_recursion=yes ;;
                    450:
                    451:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    452:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    453:   | --oldin | --oldi | --old | --ol | --o)
                    454:     ac_prev=oldincludedir ;;
                    455:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    456:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    457:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    458:     oldincludedir=$ac_optarg ;;
                    459:
                    460:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    461:     ac_prev=prefix ;;
                    462:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    463:     prefix=$ac_optarg ;;
                    464:
                    465:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    466:   | --program-pre | --program-pr | --program-p)
                    467:     ac_prev=program_prefix ;;
                    468:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    469:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    470:     program_prefix=$ac_optarg ;;
                    471:
                    472:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    473:   | --program-suf | --program-su | --program-s)
                    474:     ac_prev=program_suffix ;;
                    475:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    476:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    477:     program_suffix=$ac_optarg ;;
                    478:
                    479:   -program-transform-name | --program-transform-name \
                    480:   | --program-transform-nam | --program-transform-na \
                    481:   | --program-transform-n | --program-transform- \
                    482:   | --program-transform | --program-transfor \
                    483:   | --program-transfo | --program-transf \
                    484:   | --program-trans | --program-tran \
                    485:   | --progr-tra | --program-tr | --program-t)
                    486:     ac_prev=program_transform_name ;;
                    487:   -program-transform-name=* | --program-transform-name=* \
                    488:   | --program-transform-nam=* | --program-transform-na=* \
                    489:   | --program-transform-n=* | --program-transform-=* \
                    490:   | --program-transform=* | --program-transfor=* \
                    491:   | --program-transfo=* | --program-transf=* \
                    492:   | --program-trans=* | --program-tran=* \
                    493:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    494:     program_transform_name=$ac_optarg ;;
                    495:
                    496:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    497:   | -silent | --silent | --silen | --sile | --sil)
                    498:     silent=yes ;;
                    499:
                    500:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    501:     ac_prev=sbindir ;;
                    502:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    503:   | --sbi=* | --sb=*)
                    504:     sbindir=$ac_optarg ;;
                    505:
                    506:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    507:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    508:   | --sharedst | --shareds | --shared | --share | --shar \
                    509:   | --sha | --sh)
                    510:     ac_prev=sharedstatedir ;;
                    511:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    512:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    513:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    514:   | --sha=* | --sh=*)
                    515:     sharedstatedir=$ac_optarg ;;
                    516:
                    517:   -site | --site | --sit)
                    518:     ac_prev=site ;;
                    519:   -site=* | --site=* | --sit=*)
                    520:     site=$ac_optarg ;;
                    521:
                    522:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    523:     ac_prev=srcdir ;;
                    524:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                    525:     srcdir=$ac_optarg ;;
                    526:
                    527:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    528:   | --syscon | --sysco | --sysc | --sys | --sy)
                    529:     ac_prev=sysconfdir ;;
                    530:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    531:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                    532:     sysconfdir=$ac_optarg ;;
                    533:
                    534:   -target | --target | --targe | --targ | --tar | --ta | --t)
                    535:     ac_prev=target_alias ;;
                    536:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                    537:     target_alias=$ac_optarg ;;
                    538:
                    539:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    540:     verbose=yes ;;
                    541:
                    542:   -version | --version | --versio | --versi | --vers | -V)
                    543:     ac_init_version=: ;;
                    544:
                    545:   -with-* | --with-*)
                    546:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                    547:     # Reject names that are not valid shell variable names.
                    548:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    549:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    550:    { (exit 1); exit 1; }; }
                    551:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    552:     case $ac_option in
                    553:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
                    554:       *) ac_optarg=yes ;;
                    555:     esac
                    556:     eval "with_$ac_package='$ac_optarg'" ;;
                    557:
                    558:   -without-* | --without-*)
                    559:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                    560:     # Reject names that are not valid shell variable names.
                    561:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    562:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    563:    { (exit 1); exit 1; }; }
                    564:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    565:     eval "with_$ac_package=no" ;;
                    566:
                    567:   --x)
                    568:     # Obsolete; use --with-x.
                    569:     with_x=yes ;;
                    570:
                    571:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    572:   | --x-incl | --x-inc | --x-in | --x-i)
                    573:     ac_prev=x_includes ;;
                    574:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    575:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                    576:     x_includes=$ac_optarg ;;
                    577:
                    578:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    579:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    580:     ac_prev=x_libraries ;;
                    581:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    582:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                    583:     x_libraries=$ac_optarg ;;
                    584:
                    585:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    586: Try \`$0 --help' for more information." >&2
                    587:    { (exit 1); exit 1; }; }
                    588:     ;;
                    589:
                    590:   *=*)
                    591:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    592:     # Reject names that are not valid shell variable names.
                    593:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    594:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    595:    { (exit 1); exit 1; }; }
                    596:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    597:     eval "$ac_envvar='$ac_optarg'"
                    598:     export $ac_envvar ;;
                    599:
                    600:   *)
                    601:     # FIXME: should be removed in autoconf 3.0.
                    602:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    603:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    604:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    605:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
                    606:     ;;
                    607:
                    608:   esac
                    609: done
                    610:
                    611: if test -n "$ac_prev"; then
                    612:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    613:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    614:    { (exit 1); exit 1; }; }
                    615: fi
                    616:
                    617: # Be sure to have absolute paths.
                    618: for ac_var in exec_prefix prefix
                    619: do
                    620:   eval ac_val=$`echo $ac_var`
                    621:   case $ac_val in
                    622:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    623:     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
                    624:    { (exit 1); exit 1; }; };;
                    625:   esac
                    626: done
                    627:
                    628: # Be sure to have absolute paths.
                    629: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    630:               localstatedir libdir includedir oldincludedir infodir mandir
                    631: do
                    632:   eval ac_val=$`echo $ac_var`
                    633:   case $ac_val in
                    634:     [\\/$]* | ?:[\\/]* ) ;;
                    635:     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
                    636:    { (exit 1); exit 1; }; };;
                    637:   esac
                    638: done
                    639:
                    640: # There might be people who depend on the old broken behavior: `$host'
                    641: # used to hold the argument of --host etc.
                    642: build=$build_alias
                    643: host=$host_alias
                    644: target=$target_alias
                    645:
                    646: # FIXME: should be removed in autoconf 3.0.
                    647: if test "x$host_alias" != x; then
                    648:   if test "x$build_alias" = x; then
                    649:     cross_compiling=maybe
                    650:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    651:     If a cross compiler is detected then cross compile mode will be used." >&2
                    652:   elif test "x$build_alias" != "x$host_alias"; then
                    653:     cross_compiling=yes
                    654:   fi
                    655: fi
                    656:
                    657: ac_tool_prefix=
                    658: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                    659:
                    660: test "$silent" = yes && exec 6>/dev/null
                    661:
                    662: # Find the source files, if location was not specified.
                    663: if test -z "$srcdir"; then
                    664:   ac_srcdir_defaulted=yes
                    665:   # Try the directory containing this script, then its parent.
                    666:   ac_prog=$0
                    667:   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
                    668:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
                    669:   srcdir=$ac_confdir
                    670:   if test ! -r $srcdir/$ac_unique_file; then
                    671:     srcdir=..
                    672:   fi
                    673: else
                    674:   ac_srcdir_defaulted=no
                    675: fi
                    676: if test ! -r $srcdir/$ac_unique_file; then
                    677:   if test "$ac_srcdir_defaulted" = yes; then
                    678:     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
                    679:    { (exit 1); exit 1; }; }
                    680:   else
                    681:     { echo "$as_me: error: cannot find sources in $srcdir" >&2
                    682:    { (exit 1); exit 1; }; }
                    683:   fi
                    684: fi
                    685: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    686: ac_env_build_alias_set=${build_alias+set}
                    687: ac_env_build_alias_value=$build_alias
                    688: ac_cv_env_build_alias_set=${build_alias+set}
                    689: ac_cv_env_build_alias_value=$build_alias
                    690: ac_env_host_alias_set=${host_alias+set}
                    691: ac_env_host_alias_value=$host_alias
                    692: ac_cv_env_host_alias_set=${host_alias+set}
                    693: ac_cv_env_host_alias_value=$host_alias
                    694: ac_env_target_alias_set=${target_alias+set}
                    695: ac_env_target_alias_value=$target_alias
                    696: ac_cv_env_target_alias_set=${target_alias+set}
                    697: ac_cv_env_target_alias_value=$target_alias
                    698: ac_env_CC_set=${CC+set}
                    699: ac_env_CC_value=$CC
                    700: ac_cv_env_CC_set=${CC+set}
                    701: ac_cv_env_CC_value=$CC
                    702: ac_env_CFLAGS_set=${CFLAGS+set}
                    703: ac_env_CFLAGS_value=$CFLAGS
                    704: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    705: ac_cv_env_CFLAGS_value=$CFLAGS
                    706: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    707: ac_env_LDFLAGS_value=$LDFLAGS
                    708: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    709: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    710: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    711: ac_env_CPPFLAGS_value=$CPPFLAGS
                    712: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    713: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    714: ac_env_CXX_set=${CXX+set}
                    715: ac_env_CXX_value=$CXX
                    716: ac_cv_env_CXX_set=${CXX+set}
                    717: ac_cv_env_CXX_value=$CXX
                    718: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    719: ac_env_CXXFLAGS_value=$CXXFLAGS
                    720: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    721: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    722: ac_env_CPP_set=${CPP+set}
                    723: ac_env_CPP_value=$CPP
                    724: ac_cv_env_CPP_set=${CPP+set}
                    725: ac_cv_env_CPP_value=$CPP
                    726:
                    727: #
                    728: # Report the --help message.
                    729: #
                    730: if test "$ac_init_help" = "long"; then
                    731:   # Omit some internal or obsolete options to make the list less imposing.
                    732:   # This message is too long to be a string in the A/UX 3.1 sh.
                    733:   cat <<EOF
                    734: \`configure' configures gc 6.1 to adapt to many kinds of systems.
                    735:
                    736: Usage: $0 [OPTION]... [VAR=VALUE]...
                    737:
                    738: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    739: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    740:
                    741: Defaults for the options are specified in brackets.
                    742:
                    743: Configuration:
                    744:   -h, --help              display this help and exit
                    745:       --help=short        display options specific to this package
                    746:       --help=recursive    display the short help of all the included packages
                    747:   -V, --version           display version information and exit
                    748:   -q, --quiet, --silent   do not print \`checking...' messages
                    749:       --cache-file=FILE   cache test results in FILE [disabled]
                    750:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    751:   -n, --no-create         do not create output files
                    752:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    753:
                    754: EOF
                    755:
                    756:   cat <<EOF
                    757: Installation directories:
                    758:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    759:                           [$ac_default_prefix]
                    760:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    761:                           [PREFIX]
                    762:
                    763: By default, \`make install' will install all the files in
                    764: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    765: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    766: for instance \`--prefix=\$HOME'.
                    767:
                    768: For better control, use the options below.
                    769:
                    770: Fine tuning of the installation directories:
                    771:   --bindir=DIR           user executables [EPREFIX/bin]
                    772:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    773:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    774:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    775:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    776:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    777:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    778:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    779:   --includedir=DIR       C header files [PREFIX/include]
                    780:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    781:   --infodir=DIR          info documentation [PREFIX/info]
                    782:   --mandir=DIR           man documentation [PREFIX/man]
                    783: EOF
                    784:
                    785:   cat <<\EOF
                    786:
                    787: Program names:
                    788:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    789:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    790:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    791:
                    792: System types:
                    793:   --build=BUILD     configure for building on BUILD [guessed]
                    794:   --host=HOST       build programs to run on HOST [BUILD]
                    795: EOF
                    796: fi
                    797:
                    798: if test -n "$ac_init_help"; then
                    799:   case $ac_init_help in
                    800:      short | recursive ) echo "Configuration of gc 6.1:";;
                    801:    esac
                    802:   cat <<\EOF
                    803:
                    804: Optional Features:
                    805:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    806:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    807:   --disable-dependency-tracking Speeds up one-time builds
                    808:   --enable-dependency-tracking  Do not reject slow dependency extractors
                    809:   --enable-maintainer-mode enable make rules and dependencies not useful
                    810:                           (and sometimes confusing) to the casual installer
                    811:   --enable-threads=TYPE   choose threading package
                    812:   --enable-parallel-mark       parallelize marking and free list construction
                    813:   --enable-shared=PKGS  build shared libraries default=no
                    814:   --enable-shared=PKGS  build shared libraries default=yes
                    815:   --enable-static=PKGS  build static libraries default=yes
                    816:   --enable-fast-install=PKGS  optimize for fast installation default=yes
                    817:   --disable-libtool-lock  avoid locking (might break parallel builds)
                    818:   --enable-full-debug  include full support for pointer backtracing etc.
                    819:   --enable-redirect-malloc  redirect malloc and friends to GC routines
                    820:
                    821: Optional Packages:
                    822:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    823:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    824:   --with-ecos             enable runtime eCos target support
                    825:   --with-gnu-ld           assume the C compiler uses GNU ld default=no
                    826:   --with-pic              try to use only PIC/non-PIC objects default=use both
                    827:   --with-target-subdir=SUBDIR
                    828:                           configuring with a cross compiler
                    829:   --with-cross-host=HOST  configuring with a cross compiler
                    830:
                    831: Some influential environment variables:
                    832:   CC          C compiler command
                    833:   CFLAGS      C compiler flags
                    834:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    835:               nonstandard directory <lib dir>
                    836:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    837:               headers in a nonstandard directory <include dir>
                    838:   CXX         C++ compiler command
                    839:   CXXFLAGS    C++ compiler flags
                    840:   CPP         C preprocessor
                    841:
                    842: Use these variables to override the choices made by `configure' or to help
                    843: it to find libraries and programs with nonstandard names/locations.
                    844:
                    845: Report bugs to <Hans_Boehm@hp.com>.
                    846: EOF
                    847: fi
                    848:
                    849: if test "$ac_init_help" = "recursive"; then
                    850:   # If there are subdirs, report their specific --help.
                    851:   ac_popdir=`pwd`
                    852:   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
                    853:     cd $ac_subdir
                    854:     # A "../" for each directory in /$ac_subdir.
                    855:     ac_dots=`echo $ac_subdir |
                    856:              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
                    857:
                    858:     case $srcdir in
                    859:     .) # No --srcdir option.  We are building in place.
                    860:       ac_sub_srcdir=$srcdir ;;
                    861:     [\\/]* | ?:[\\/]* ) # Absolute path.
                    862:       ac_sub_srcdir=$srcdir/$ac_subdir ;;
                    863:     *) # Relative path.
                    864:       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
                    865:     esac
                    866:
                    867:     # Check for guested configure; otherwise get Cygnus style configure.
                    868:     if test -f $ac_sub_srcdir/configure.gnu; then
                    869:       echo
                    870:       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
                    871:     elif test -f $ac_sub_srcdir/configure; then
                    872:       echo
                    873:       $SHELL $ac_sub_srcdir/configure  --help=recursive
                    874:     elif test -f $ac_sub_srcdir/configure.ac ||
                    875:            test -f $ac_sub_srcdir/configure.in; then
                    876:       echo
                    877:       $ac_configure --help
                    878:     else
                    879:       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
                    880:     fi
                    881:     cd $ac_popdir
                    882:   done
                    883: fi
                    884:
                    885: test -n "$ac_init_help" && exit 0
                    886: if $ac_init_version; then
                    887:   cat <<\EOF
                    888: gc configure 6.1
                    889: generated by GNU Autoconf 2.52
                    890:
                    891: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                    892: Free Software Foundation, Inc.
                    893: This configure script is free software; the Free Software Foundation
                    894: gives unlimited permission to copy, distribute and modify it.
                    895: EOF
                    896:   exit 0
                    897: fi
                    898: exec 5>config.log
                    899: cat >&5 <<EOF
                    900: This file contains any messages produced by compilers while
                    901: running configure, to aid debugging if configure makes a mistake.
                    902:
                    903: It was created by gc $as_me 6.1, which was
                    904: generated by GNU Autoconf 2.52.  Invocation command line was
                    905:
                    906:   $ $0 $@
                    907:
                    908: EOF
                    909: {
                    910: cat <<_ASUNAME
                    911: ## ---------- ##
                    912: ## Platform.  ##
                    913: ## ---------- ##
                    914:
                    915: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                    916: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                    917: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                    918: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                    919: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                    920:
                    921: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                    922: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                    923:
                    924: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                    925: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                    926: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                    927: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                    928: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                    929: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                    930: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                    931:
                    932: PATH = $PATH
                    933:
                    934: _ASUNAME
                    935: } >&5
                    936:
                    937: cat >&5 <<EOF
                    938: ## ------------ ##
                    939: ## Core tests.  ##
                    940: ## ------------ ##
                    941:
                    942: EOF
                    943:
                    944: # Keep a trace of the command line.
                    945: # Strip out --no-create and --no-recursion so they do not pile up.
                    946: # Also quote any args containing shell meta-characters.
                    947: ac_configure_args=
                    948: ac_sep=
                    949: for ac_arg
                    950: do
                    951:   case $ac_arg in
                    952:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    953:   | --no-cr | --no-c) ;;
                    954:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    955:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
                    956:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                    957:     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
                    958:     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                    959:     ac_sep=" " ;;
                    960:   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
                    961:      ac_sep=" " ;;
                    962:   esac
                    963:   # Get rid of the leading space.
                    964: done
                    965:
                    966: # When interrupted or exit'd, cleanup temporary files, and complete
                    967: # config.log.  We remove comments because anyway the quotes in there
                    968: # would cause problems or look ugly.
                    969: trap 'exit_status=$?
                    970:   # Save into config.log some information that might help in debugging.
                    971:   echo >&5
                    972:   echo "## ----------------- ##" >&5
                    973:   echo "## Cache variables.  ##" >&5
                    974:   echo "## ----------------- ##" >&5
                    975:   echo >&5
                    976:   # The following way of writing the cache mishandles newlines in values,
                    977: {
                    978:   (set) 2>&1 |
                    979:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                    980:     *ac_space=\ *)
                    981:       sed -n \
                    982:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                    983:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                    984:       ;;
                    985:     *)
                    986:       sed -n \
                    987:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                    988:       ;;
                    989:     esac;
                    990: } >&5
                    991:   sed "/^$/d" confdefs.h >conftest.log
                    992:   if test -s conftest.log; then
                    993:     echo >&5
                    994:     echo "## ------------ ##" >&5
                    995:     echo "## confdefs.h.  ##" >&5
                    996:     echo "## ------------ ##" >&5
                    997:     echo >&5
                    998:     cat conftest.log >&5
                    999:   fi
                   1000:   (echo; echo) >&5
                   1001:   test "$ac_signal" != 0 &&
                   1002:     echo "$as_me: caught signal $ac_signal" >&5
                   1003:   echo "$as_me: exit $exit_status" >&5
                   1004:   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
                   1005:     exit $exit_status
                   1006:      ' 0
                   1007: for ac_signal in 1 2 13 15; do
                   1008:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1009: done
                   1010: ac_signal=0
                   1011:
                   1012: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1013: rm -rf conftest* confdefs.h
                   1014: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1015: echo >confdefs.h
                   1016:
                   1017: # Let the site file select an alternate cache file if it wants to.
                   1018: # Prefer explicitly selected file to automatically selected ones.
                   1019: if test -z "$CONFIG_SITE"; then
                   1020:   if test "x$prefix" != xNONE; then
                   1021:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1022:   else
                   1023:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1024:   fi
                   1025: fi
                   1026: for ac_site_file in $CONFIG_SITE; do
                   1027:   if test -r "$ac_site_file"; then
                   1028:     { echo "$as_me:1028: loading site script $ac_site_file" >&5
                   1029: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1030:     cat "$ac_site_file" >&5
                   1031:     . "$ac_site_file"
                   1032:   fi
                   1033: done
                   1034:
                   1035: if test -r "$cache_file"; then
                   1036:   # Some versions of bash will fail to source /dev/null (special
                   1037:   # files actually), so we avoid doing that.
                   1038:   if test -f "$cache_file"; then
                   1039:     { echo "$as_me:1039: loading cache $cache_file" >&5
                   1040: echo "$as_me: loading cache $cache_file" >&6;}
                   1041:     case $cache_file in
                   1042:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1043:       *)                      . ./$cache_file;;
                   1044:     esac
                   1045:   fi
                   1046: else
                   1047:   { echo "$as_me:1047: creating cache $cache_file" >&5
                   1048: echo "$as_me: creating cache $cache_file" >&6;}
                   1049:   >$cache_file
                   1050: fi
                   1051:
                   1052: # Check that the precious variables saved in the cache have kept the same
                   1053: # value.
                   1054: ac_cache_corrupted=false
                   1055: for ac_var in `(set) 2>&1 |
                   1056:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1057:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1058:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1059:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1060:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1061:   case $ac_old_set,$ac_new_set in
                   1062:     set,)
                   1063:       { echo "$as_me:1063: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1064: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1065:       ac_cache_corrupted=: ;;
                   1066:     ,set)
                   1067:       { echo "$as_me:1067: error: \`$ac_var' was not set in the previous run" >&5
                   1068: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1069:       ac_cache_corrupted=: ;;
                   1070:     ,);;
                   1071:     *)
                   1072:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1073:         { echo "$as_me:1073: error: \`$ac_var' has changed since the previous run:" >&5
                   1074: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1075:         { echo "$as_me:1075:   former value:  $ac_old_val" >&5
                   1076: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1077:         { echo "$as_me:1077:   current value: $ac_new_val" >&5
                   1078: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1079:         ac_cache_corrupted=:
                   1080:       fi;;
                   1081:   esac
                   1082:   # Pass precious variables to config.status.  It doesn't matter if
                   1083:   # we pass some twice (in addition to the command line arguments).
                   1084:   if test "$ac_new_set" = set; then
                   1085:     case $ac_new_val in
                   1086:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1087:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
                   1088:       ac_configure_args="$ac_configure_args '$ac_arg'"
                   1089:       ;;
                   1090:     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
                   1091:        ;;
                   1092:     esac
                   1093:   fi
                   1094: done
                   1095: if $ac_cache_corrupted; then
                   1096:   { echo "$as_me:1096: error: changes in the environment can compromise the build" >&5
                   1097: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1098:   { { echo "$as_me:1098: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1099: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1100:    { (exit 1); exit 1; }; }
                   1101: fi
                   1102:
                   1103: ac_ext=c
                   1104: ac_cpp='$CPP $CPPFLAGS'
                   1105: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1106: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1107: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1108:
                   1109: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   1110:   *c*,-n*) ECHO_N= ECHO_C='
                   1111: ' ECHO_T='     ' ;;
                   1112:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   1113:   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   1114: esac
                   1115: echo "#! $SHELL" >conftest.sh
                   1116: echo  "exit 0"   >>conftest.sh
                   1117: chmod +x conftest.sh
                   1118: if { (echo "$as_me:1118: PATH=\".;.\"; conftest.sh") >&5
                   1119:   (PATH=".;."; conftest.sh) 2>&5
                   1120:   ac_status=$?
                   1121:   echo "$as_me:1121: \$? = $ac_status" >&5
                   1122:   (exit $ac_status); }; then
                   1123:   ac_path_separator=';'
                   1124: else
                   1125:   ac_path_separator=:
                   1126: fi
                   1127: PATH_SEPARATOR="$ac_path_separator"
                   1128: rm -f conftest.sh
                   1129:
                   1130: am__api_version="1.6"
                   1131: ac_aux_dir=
                   1132: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1133:   if test -f $ac_dir/install-sh; then
                   1134:     ac_aux_dir=$ac_dir
                   1135:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1136:     break
                   1137:   elif test -f $ac_dir/install.sh; then
                   1138:     ac_aux_dir=$ac_dir
                   1139:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1140:     break
                   1141:   elif test -f $ac_dir/shtool; then
                   1142:     ac_aux_dir=$ac_dir
                   1143:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1144:     break
                   1145:   fi
                   1146: done
                   1147: if test -z "$ac_aux_dir"; then
                   1148:   { { echo "$as_me:1148: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1149: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1150:    { (exit 1); exit 1; }; }
                   1151: fi
                   1152: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1153: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1154: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
                   1155:
                   1156: # Find a good install program.  We prefer a C program (faster),
                   1157: # so one script is as good as another.  But avoid the broken or
                   1158: # incompatible versions:
                   1159: # SysV /etc/install, /usr/sbin/install
                   1160: # SunOS /usr/etc/install
                   1161: # IRIX /sbin/install
                   1162: # AIX /bin/install
                   1163: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   1164: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1165: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1166: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1167: # ./install, which can be erroneously created by make from ./install.sh.
                   1168: echo "$as_me:1168: checking for a BSD compatible install" >&5
                   1169: echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
                   1170: if test -z "$INSTALL"; then
                   1171: if test "${ac_cv_path_install+set}" = set; then
                   1172:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1173: else
                   1174:     ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1175:   for ac_dir in $PATH; do
                   1176:     IFS=$ac_save_IFS
                   1177:     # Account for people who put trailing slashes in PATH elements.
                   1178:     case $ac_dir/ in
                   1179:     / | ./ | .// | /cC/* \
                   1180:     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
                   1181:     | /usr/ucb/* ) ;;
                   1182:     *)
                   1183:       # OSF1 and SCO ODT 3.0 have their own names for install.
                   1184:       # Don't use installbsd from OSF since it installs stuff as root
                   1185:       # by default.
                   1186:       for ac_prog in ginstall scoinst install; do
                   1187:         if $as_executable_p "$ac_dir/$ac_prog"; then
                   1188:          if test $ac_prog = install &&
                   1189:             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
                   1190:            # AIX install.  It has an incompatible calling convention.
                   1191:            :
                   1192:          elif test $ac_prog = install &&
                   1193:            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
                   1194:            # program-specific install script used by HP pwplus--don't use.
                   1195:            :
                   1196:          else
                   1197:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                   1198:            break 2
                   1199:          fi
                   1200:        fi
                   1201:       done
                   1202:       ;;
                   1203:     esac
                   1204:   done
                   1205:
                   1206: fi
                   1207:   if test "${ac_cv_path_install+set}" = set; then
                   1208:     INSTALL=$ac_cv_path_install
                   1209:   else
                   1210:     # As a last resort, use the slow shell script.  We don't cache a
                   1211:     # path for INSTALL within a source directory, because that will
                   1212:     # break other packages using the cache if that directory is
                   1213:     # removed, or if the path is relative.
                   1214:     INSTALL=$ac_install_sh
                   1215:   fi
                   1216: fi
                   1217: echo "$as_me:1217: result: $INSTALL" >&5
                   1218: echo "${ECHO_T}$INSTALL" >&6
                   1219:
                   1220: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1221: # It thinks the first close brace ends the variable substitution.
                   1222: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1223:
                   1224: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   1225:
                   1226: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1227:
                   1228: echo "$as_me:1228: checking whether build environment is sane" >&5
                   1229: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
                   1230: # Just in case
                   1231: sleep 1
                   1232: echo timestamp > conftest.file
                   1233: # Do `set' in a subshell so we don't clobber the current shell's
                   1234: # arguments.  Must try -L first in case configure is actually a
                   1235: # symlink; some systems play weird games with the mod time of symlinks
                   1236: # (eg FreeBSD returns the mod time of the symlink's containing
                   1237: # directory).
                   1238: if (
                   1239:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
                   1240:    if test "$*" = "X"; then
                   1241:       # -L didn't work.
                   1242:       set X `ls -t $srcdir/configure conftest.file`
                   1243:    fi
                   1244:    rm -f conftest.file
                   1245:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1246:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   1247:
                   1248:       # If neither matched, then we have a broken ls.  This can happen
                   1249:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1250:       # broken ls alias from the environment.  This has actually
                   1251:       # happened.  Such a system could not be considered "sane".
                   1252:       { { echo "$as_me:1252: error: ls -t appears to fail.  Make sure there is not a broken
                   1253: alias in your environment" >&5
                   1254: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1255: alias in your environment" >&2;}
                   1256:    { (exit 1); exit 1; }; }
                   1257:    fi
                   1258:
                   1259:    test "$2" = conftest.file
                   1260:    )
                   1261: then
                   1262:    # Ok.
                   1263:    :
                   1264: else
                   1265:    { { echo "$as_me:1265: error: newly created file is older than distributed files!
                   1266: Check your system clock" >&5
                   1267: echo "$as_me: error: newly created file is older than distributed files!
                   1268: Check your system clock" >&2;}
                   1269:    { (exit 1); exit 1; }; }
                   1270: fi
                   1271: echo "$as_me:1271: result: yes" >&5
                   1272: echo "${ECHO_T}yes" >&6
                   1273: test "$program_prefix" != NONE &&
                   1274:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
                   1275: # Use a double $ so make ignores it.
                   1276: test "$program_suffix" != NONE &&
                   1277:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1278: # Double any \ or $.  echo might interpret backslashes.
                   1279: # By default was `s,x,x', remove it if useless.
                   1280: cat <<\_ACEOF >conftest.sed
                   1281: s/[\\$]/&&/g;s/;s,x,x,$//
                   1282: _ACEOF
                   1283: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1284: rm conftest.sed
                   1285:
                   1286: # expand $ac_aux_dir to an absolute path
                   1287: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1288:
                   1289: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1290: # Use eval to expand $SHELL
                   1291: if eval "$MISSING --run true"; then
                   1292:   am_missing_run="$MISSING --run "
                   1293: else
                   1294:   am_missing_run=
                   1295:   { echo "$as_me:1295: WARNING: \`missing' script is too old or missing" >&5
                   1296: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1297: fi
                   1298:
                   1299: for ac_prog in mawk gawk nawk awk
                   1300: do
                   1301:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1302: set dummy $ac_prog; ac_word=$2
                   1303: echo "$as_me:1303: checking for $ac_word" >&5
                   1304: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1305: if test "${ac_cv_prog_AWK+set}" = set; then
                   1306:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1307: else
                   1308:   if test -n "$AWK"; then
                   1309:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1310: else
                   1311:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1312: ac_dummy="$PATH"
                   1313: for ac_dir in $ac_dummy; do
                   1314:   IFS=$ac_save_IFS
                   1315:   test -z "$ac_dir" && ac_dir=.
                   1316:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1317: ac_cv_prog_AWK="$ac_prog"
                   1318: echo "$as_me:1318: found $ac_dir/$ac_word" >&5
                   1319: break
                   1320: done
                   1321:
                   1322: fi
                   1323: fi
                   1324: AWK=$ac_cv_prog_AWK
                   1325: if test -n "$AWK"; then
                   1326:   echo "$as_me:1326: result: $AWK" >&5
                   1327: echo "${ECHO_T}$AWK" >&6
                   1328: else
                   1329:   echo "$as_me:1329: result: no" >&5
                   1330: echo "${ECHO_T}no" >&6
                   1331: fi
                   1332:
                   1333:   test -n "$AWK" && break
                   1334: done
                   1335:
                   1336: echo "$as_me:1336: checking whether ${MAKE-make} sets \${MAKE}" >&5
                   1337: echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
                   1338: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1339: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1340:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1341: else
                   1342:   cat >conftest.make <<\EOF
                   1343: all:
                   1344:        @echo 'ac_maketemp="${MAKE}"'
                   1345: EOF
                   1346: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   1347: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
                   1348: if test -n "$ac_maketemp"; then
                   1349:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1350: else
                   1351:   eval ac_cv_prog_make_${ac_make}_set=no
                   1352: fi
                   1353: rm -f conftest.make
                   1354: fi
                   1355: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                   1356:   echo "$as_me:1356: result: yes" >&5
                   1357: echo "${ECHO_T}yes" >&6
                   1358:   SET_MAKE=
                   1359: else
                   1360:   echo "$as_me:1360: result: no" >&5
                   1361: echo "${ECHO_T}no" >&6
                   1362:   SET_MAKE="MAKE=${MAKE-make}"
                   1363: fi
                   1364:
                   1365:  # test to see if srcdir already configured
                   1366: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1367:    test -f $srcdir/config.status; then
                   1368:   { { echo "$as_me:1368: error: source directory already configured; run \"make distclean\" there first" >&5
                   1369: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1370:    { (exit 1); exit 1; }; }
                   1371: fi
                   1372:
                   1373: # Define the identity of the package.
                   1374:  PACKAGE=gc
                   1375:  VERSION=6.1
                   1376:
                   1377: # Some tools Automake needs.
                   1378:
                   1379: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1380:
                   1381: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1382:
                   1383: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1384:
                   1385: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1386:
                   1387: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   1388:
                   1389: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1390:
                   1391: install_sh=${install_sh-"$am_aux_dir/install-sh"}
                   1392:
                   1393: # Installed binaries are usually stripped using `strip' when the user
                   1394: # run `make install-strip'.  However `strip' might not be the right
                   1395: # tool to use in cross-compilation environments, therefore Automake
                   1396: # will honor the `STRIP' environment variable to overrule this program.
                   1397: if test "$cross_compiling" != no; then
                   1398:   if test -n "$ac_tool_prefix"; then
                   1399:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1400: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1401: echo "$as_me:1401: checking for $ac_word" >&5
                   1402: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1403: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1404:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1405: else
                   1406:   if test -n "$STRIP"; then
                   1407:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1408: else
                   1409:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1410: ac_dummy="$PATH"
                   1411: for ac_dir in $ac_dummy; do
                   1412:   IFS=$ac_save_IFS
                   1413:   test -z "$ac_dir" && ac_dir=.
                   1414:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1415: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1416: echo "$as_me:1416: found $ac_dir/$ac_word" >&5
                   1417: break
                   1418: done
                   1419:
                   1420: fi
                   1421: fi
                   1422: STRIP=$ac_cv_prog_STRIP
                   1423: if test -n "$STRIP"; then
                   1424:   echo "$as_me:1424: result: $STRIP" >&5
                   1425: echo "${ECHO_T}$STRIP" >&6
                   1426: else
                   1427:   echo "$as_me:1427: result: no" >&5
                   1428: echo "${ECHO_T}no" >&6
                   1429: fi
                   1430:
                   1431: fi
                   1432: if test -z "$ac_cv_prog_STRIP"; then
                   1433:   ac_ct_STRIP=$STRIP
                   1434:   # Extract the first word of "strip", so it can be a program name with args.
                   1435: set dummy strip; ac_word=$2
                   1436: echo "$as_me:1436: checking for $ac_word" >&5
                   1437: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1438: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1439:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1440: else
                   1441:   if test -n "$ac_ct_STRIP"; then
                   1442:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   1443: else
                   1444:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1445: ac_dummy="$PATH"
                   1446: for ac_dir in $ac_dummy; do
                   1447:   IFS=$ac_save_IFS
                   1448:   test -z "$ac_dir" && ac_dir=.
                   1449:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1450: ac_cv_prog_ac_ct_STRIP="strip"
                   1451: echo "$as_me:1451: found $ac_dir/$ac_word" >&5
                   1452: break
                   1453: done
                   1454:
                   1455:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1456: fi
                   1457: fi
                   1458: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1459: if test -n "$ac_ct_STRIP"; then
                   1460:   echo "$as_me:1460: result: $ac_ct_STRIP" >&5
                   1461: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   1462: else
                   1463:   echo "$as_me:1463: result: no" >&5
                   1464: echo "${ECHO_T}no" >&6
                   1465: fi
                   1466:
                   1467:   STRIP=$ac_ct_STRIP
                   1468: else
                   1469:   STRIP="$ac_cv_prog_STRIP"
                   1470: fi
                   1471:
                   1472: fi
                   1473: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1474:
                   1475: # We need awk for the "check" target.  The system "awk" is bad on
                   1476: # some platforms.
                   1477:
                   1478: # Make sure we can run config.sub.
                   1479: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1480:   { { echo "$as_me:1480: error: cannot run $ac_config_sub" >&5
                   1481: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1482:    { (exit 1); exit 1; }; }
                   1483:
                   1484: echo "$as_me:1484: checking build system type" >&5
                   1485: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1486: if test "${ac_cv_build+set}" = set; then
                   1487:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1488: else
                   1489:   ac_cv_build_alias=$build_alias
                   1490: test -z "$ac_cv_build_alias" &&
                   1491:   ac_cv_build_alias=`$ac_config_guess`
                   1492: test -z "$ac_cv_build_alias" &&
                   1493:   { { echo "$as_me:1493: error: cannot guess build type; you must specify one" >&5
                   1494: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1495:    { (exit 1); exit 1; }; }
                   1496: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1497:   { { echo "$as_me:1497: error: $ac_config_sub $ac_cv_build_alias failed." >&5
                   1498: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
                   1499:    { (exit 1); exit 1; }; }
                   1500:
                   1501: fi
                   1502: echo "$as_me:1502: result: $ac_cv_build" >&5
                   1503: echo "${ECHO_T}$ac_cv_build" >&6
                   1504: build=$ac_cv_build
                   1505: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1506: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1507: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1508:
                   1509: echo "$as_me:1509: checking host system type" >&5
                   1510: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1511: if test "${ac_cv_host+set}" = set; then
                   1512:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1513: else
                   1514:   ac_cv_host_alias=$host_alias
                   1515: test -z "$ac_cv_host_alias" &&
                   1516:   ac_cv_host_alias=$ac_cv_build_alias
                   1517: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1518:   { { echo "$as_me:1518: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1519: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1520:    { (exit 1); exit 1; }; }
                   1521:
                   1522: fi
                   1523: echo "$as_me:1523: result: $ac_cv_host" >&5
                   1524: echo "${ECHO_T}$ac_cv_host" >&6
                   1525: host=$ac_cv_host
                   1526: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1527: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1528: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1529:
                   1530: ac_ext=c
                   1531: ac_cpp='$CPP $CPPFLAGS'
                   1532: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1533: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1534: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1535: if test -n "$ac_tool_prefix"; then
                   1536:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1537: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   1538: echo "$as_me:1538: checking for $ac_word" >&5
                   1539: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1540: if test "${ac_cv_prog_CC+set}" = set; then
                   1541:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1542: else
                   1543:   if test -n "$CC"; then
                   1544:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1545: else
                   1546:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1547: ac_dummy="$PATH"
                   1548: for ac_dir in $ac_dummy; do
                   1549:   IFS=$ac_save_IFS
                   1550:   test -z "$ac_dir" && ac_dir=.
                   1551:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1552: ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   1553: echo "$as_me:1553: found $ac_dir/$ac_word" >&5
                   1554: break
                   1555: done
                   1556:
                   1557: fi
                   1558: fi
                   1559: CC=$ac_cv_prog_CC
                   1560: if test -n "$CC"; then
                   1561:   echo "$as_me:1561: result: $CC" >&5
                   1562: echo "${ECHO_T}$CC" >&6
                   1563: else
                   1564:   echo "$as_me:1564: result: no" >&5
                   1565: echo "${ECHO_T}no" >&6
                   1566: fi
                   1567:
                   1568: fi
                   1569: if test -z "$ac_cv_prog_CC"; then
                   1570:   ac_ct_CC=$CC
                   1571:   # Extract the first word of "gcc", so it can be a program name with args.
                   1572: set dummy gcc; ac_word=$2
                   1573: echo "$as_me:1573: checking for $ac_word" >&5
                   1574: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1575: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1576:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1577: else
                   1578:   if test -n "$ac_ct_CC"; then
                   1579:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1580: else
                   1581:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1582: ac_dummy="$PATH"
                   1583: for ac_dir in $ac_dummy; do
                   1584:   IFS=$ac_save_IFS
                   1585:   test -z "$ac_dir" && ac_dir=.
                   1586:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1587: ac_cv_prog_ac_ct_CC="gcc"
                   1588: echo "$as_me:1588: found $ac_dir/$ac_word" >&5
                   1589: break
                   1590: done
                   1591:
                   1592: fi
                   1593: fi
                   1594: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1595: if test -n "$ac_ct_CC"; then
                   1596:   echo "$as_me:1596: result: $ac_ct_CC" >&5
                   1597: echo "${ECHO_T}$ac_ct_CC" >&6
                   1598: else
                   1599:   echo "$as_me:1599: result: no" >&5
                   1600: echo "${ECHO_T}no" >&6
                   1601: fi
                   1602:
                   1603:   CC=$ac_ct_CC
                   1604: else
                   1605:   CC="$ac_cv_prog_CC"
                   1606: fi
                   1607:
                   1608: if test -z "$CC"; then
                   1609:   if test -n "$ac_tool_prefix"; then
                   1610:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   1611: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   1612: echo "$as_me:1612: checking for $ac_word" >&5
                   1613: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1614: if test "${ac_cv_prog_CC+set}" = set; then
                   1615:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1616: else
                   1617:   if test -n "$CC"; then
                   1618:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1619: else
                   1620:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1621: ac_dummy="$PATH"
                   1622: for ac_dir in $ac_dummy; do
                   1623:   IFS=$ac_save_IFS
                   1624:   test -z "$ac_dir" && ac_dir=.
                   1625:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1626: ac_cv_prog_CC="${ac_tool_prefix}cc"
                   1627: echo "$as_me:1627: found $ac_dir/$ac_word" >&5
                   1628: break
                   1629: done
                   1630:
                   1631: fi
                   1632: fi
                   1633: CC=$ac_cv_prog_CC
                   1634: if test -n "$CC"; then
                   1635:   echo "$as_me:1635: result: $CC" >&5
                   1636: echo "${ECHO_T}$CC" >&6
                   1637: else
                   1638:   echo "$as_me:1638: result: no" >&5
                   1639: echo "${ECHO_T}no" >&6
                   1640: fi
                   1641:
                   1642: fi
                   1643: if test -z "$ac_cv_prog_CC"; then
                   1644:   ac_ct_CC=$CC
                   1645:   # Extract the first word of "cc", so it can be a program name with args.
                   1646: set dummy cc; ac_word=$2
                   1647: echo "$as_me:1647: checking for $ac_word" >&5
                   1648: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1649: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1650:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1651: else
                   1652:   if test -n "$ac_ct_CC"; then
                   1653:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1654: else
                   1655:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1656: ac_dummy="$PATH"
                   1657: for ac_dir in $ac_dummy; do
                   1658:   IFS=$ac_save_IFS
                   1659:   test -z "$ac_dir" && ac_dir=.
                   1660:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1661: ac_cv_prog_ac_ct_CC="cc"
                   1662: echo "$as_me:1662: found $ac_dir/$ac_word" >&5
                   1663: break
                   1664: done
                   1665:
                   1666: fi
                   1667: fi
                   1668: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1669: if test -n "$ac_ct_CC"; then
                   1670:   echo "$as_me:1670: result: $ac_ct_CC" >&5
                   1671: echo "${ECHO_T}$ac_ct_CC" >&6
                   1672: else
                   1673:   echo "$as_me:1673: result: no" >&5
                   1674: echo "${ECHO_T}no" >&6
                   1675: fi
                   1676:
                   1677:   CC=$ac_ct_CC
                   1678: else
                   1679:   CC="$ac_cv_prog_CC"
                   1680: fi
                   1681:
                   1682: fi
                   1683: if test -z "$CC"; then
                   1684:   # Extract the first word of "cc", so it can be a program name with args.
                   1685: set dummy cc; ac_word=$2
                   1686: echo "$as_me:1686: checking for $ac_word" >&5
                   1687: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1688: if test "${ac_cv_prog_CC+set}" = set; then
                   1689:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1690: else
                   1691:   if test -n "$CC"; then
                   1692:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1693: else
                   1694:   ac_prog_rejected=no
                   1695:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1696: ac_dummy="$PATH"
                   1697: for ac_dir in $ac_dummy; do
                   1698:   IFS=$ac_save_IFS
                   1699:   test -z "$ac_dir" && ac_dir=.
                   1700:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1701: if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
                   1702:   ac_prog_rejected=yes
                   1703:   continue
                   1704: fi
                   1705: ac_cv_prog_CC="cc"
                   1706: echo "$as_me:1706: found $ac_dir/$ac_word" >&5
                   1707: break
                   1708: done
                   1709:
                   1710: if test $ac_prog_rejected = yes; then
                   1711:   # We found a bogon in the path, so make sure we never use it.
                   1712:   set dummy $ac_cv_prog_CC
                   1713:   shift
                   1714:   if test $# != 0; then
                   1715:     # We chose a different compiler from the bogus one.
                   1716:     # However, it has the same basename, so the bogon will be chosen
                   1717:     # first if we set CC to just the basename; use the full file name.
                   1718:     shift
                   1719:     set dummy "$ac_dir/$ac_word" ${1+"$@"}
                   1720:     shift
                   1721:     ac_cv_prog_CC="$@"
                   1722:   fi
                   1723: fi
                   1724: fi
                   1725: fi
                   1726: CC=$ac_cv_prog_CC
                   1727: if test -n "$CC"; then
                   1728:   echo "$as_me:1728: result: $CC" >&5
                   1729: echo "${ECHO_T}$CC" >&6
                   1730: else
                   1731:   echo "$as_me:1731: result: no" >&5
                   1732: echo "${ECHO_T}no" >&6
                   1733: fi
                   1734:
                   1735: fi
                   1736: if test -z "$CC"; then
                   1737:   if test -n "$ac_tool_prefix"; then
                   1738:   for ac_prog in cl
                   1739:   do
                   1740:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1741: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   1742: echo "$as_me:1742: checking for $ac_word" >&5
                   1743: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1744: if test "${ac_cv_prog_CC+set}" = set; then
                   1745:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1746: else
                   1747:   if test -n "$CC"; then
                   1748:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1749: else
                   1750:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1751: ac_dummy="$PATH"
                   1752: for ac_dir in $ac_dummy; do
                   1753:   IFS=$ac_save_IFS
                   1754:   test -z "$ac_dir" && ac_dir=.
                   1755:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1756: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   1757: echo "$as_me:1757: found $ac_dir/$ac_word" >&5
                   1758: break
                   1759: done
                   1760:
                   1761: fi
                   1762: fi
                   1763: CC=$ac_cv_prog_CC
                   1764: if test -n "$CC"; then
                   1765:   echo "$as_me:1765: result: $CC" >&5
                   1766: echo "${ECHO_T}$CC" >&6
                   1767: else
                   1768:   echo "$as_me:1768: result: no" >&5
                   1769: echo "${ECHO_T}no" >&6
                   1770: fi
                   1771:
                   1772:     test -n "$CC" && break
                   1773:   done
                   1774: fi
                   1775: if test -z "$CC"; then
                   1776:   ac_ct_CC=$CC
                   1777:   for ac_prog in cl
                   1778: do
                   1779:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1780: set dummy $ac_prog; ac_word=$2
                   1781: echo "$as_me:1781: checking for $ac_word" >&5
                   1782: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1783: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1784:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1785: else
                   1786:   if test -n "$ac_ct_CC"; then
                   1787:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1788: else
                   1789:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   1790: ac_dummy="$PATH"
                   1791: for ac_dir in $ac_dummy; do
                   1792:   IFS=$ac_save_IFS
                   1793:   test -z "$ac_dir" && ac_dir=.
                   1794:   $as_executable_p "$ac_dir/$ac_word" || continue
                   1795: ac_cv_prog_ac_ct_CC="$ac_prog"
                   1796: echo "$as_me:1796: found $ac_dir/$ac_word" >&5
                   1797: break
                   1798: done
                   1799:
                   1800: fi
                   1801: fi
                   1802: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1803: if test -n "$ac_ct_CC"; then
                   1804:   echo "$as_me:1804: result: $ac_ct_CC" >&5
                   1805: echo "${ECHO_T}$ac_ct_CC" >&6
                   1806: else
                   1807:   echo "$as_me:1807: result: no" >&5
                   1808: echo "${ECHO_T}no" >&6
                   1809: fi
                   1810:
                   1811:   test -n "$ac_ct_CC" && break
                   1812: done
                   1813:
                   1814:   CC=$ac_ct_CC
                   1815: fi
                   1816:
                   1817: fi
                   1818:
                   1819: test -z "$CC" && { { echo "$as_me:1819: error: no acceptable cc found in \$PATH" >&5
                   1820: echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
                   1821:    { (exit 1); exit 1; }; }
                   1822:
                   1823: # Provide some information about the compiler.
                   1824: echo "$as_me:1824:" \
                   1825:      "checking for C compiler version" >&5
                   1826: ac_compiler=`set X $ac_compile; echo $2`
                   1827: { (eval echo "$as_me:1827: \"$ac_compiler --version </dev/null >&5\"") >&5
                   1828:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   1829:   ac_status=$?
                   1830:   echo "$as_me:1830: \$? = $ac_status" >&5
                   1831:   (exit $ac_status); }
                   1832: { (eval echo "$as_me:1832: \"$ac_compiler -v </dev/null >&5\"") >&5
                   1833:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   1834:   ac_status=$?
                   1835:   echo "$as_me:1835: \$? = $ac_status" >&5
                   1836:   (exit $ac_status); }
                   1837: { (eval echo "$as_me:1837: \"$ac_compiler -V </dev/null >&5\"") >&5
                   1838:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   1839:   ac_status=$?
                   1840:   echo "$as_me:1840: \$? = $ac_status" >&5
                   1841:   (exit $ac_status); }
                   1842:
                   1843: cat >conftest.$ac_ext <<_ACEOF
                   1844: #line 1844 "configure"
                   1845: #include "confdefs.h"
                   1846:
                   1847: int
                   1848: main ()
                   1849: {
                   1850:
                   1851:   ;
                   1852:   return 0;
                   1853: }
                   1854: _ACEOF
                   1855: ac_clean_files_save=$ac_clean_files
                   1856: ac_clean_files="$ac_clean_files a.out a.exe"
                   1857: # Try to create an executable without -o first, disregard a.out.
                   1858: # It will help us diagnose broken compilers, and finding out an intuition
                   1859: # of exeext.
                   1860: echo "$as_me:1860: checking for C compiler default output" >&5
                   1861: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
                   1862: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   1863: if { (eval echo "$as_me:1863: \"$ac_link_default\"") >&5
                   1864:   (eval $ac_link_default) 2>&5
                   1865:   ac_status=$?
                   1866:   echo "$as_me:1866: \$? = $ac_status" >&5
                   1867:   (exit $ac_status); }; then
                   1868:   # Find the output, starting from the most likely.  This scheme is
                   1869: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   1870: # resort.
                   1871: for ac_file in `ls a.exe conftest.exe 2>/dev/null;
                   1872:                 ls a.out conftest 2>/dev/null;
                   1873:                 ls a.* conftest.* 2>/dev/null`; do
                   1874:   case $ac_file in
                   1875:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
                   1876:     a.out ) # We found the default executable, but exeext='' is most
                   1877:             # certainly right.
                   1878:             break;;
                   1879:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   1880:           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
                   1881:           export ac_cv_exeext
                   1882:           break;;
                   1883:     * ) break;;
                   1884:   esac
                   1885: done
                   1886: else
                   1887:   echo "$as_me: failed program was:" >&5
                   1888: cat conftest.$ac_ext >&5
                   1889: { { echo "$as_me:1889: error: C compiler cannot create executables" >&5
                   1890: echo "$as_me: error: C compiler cannot create executables" >&2;}
                   1891:    { (exit 77); exit 77; }; }
                   1892: fi
                   1893:
                   1894: ac_exeext=$ac_cv_exeext
                   1895: echo "$as_me:1895: result: $ac_file" >&5
                   1896: echo "${ECHO_T}$ac_file" >&6
                   1897:
                   1898: # Check the compiler produces executables we can run.  If not, either
                   1899: # the compiler is broken, or we cross compile.
                   1900: echo "$as_me:1900: checking whether the C compiler works" >&5
                   1901: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
                   1902: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   1903: # If not cross compiling, check that we can run a simple program.
                   1904: if test "$cross_compiling" != yes; then
                   1905:   if { ac_try='./$ac_file'
                   1906:   { (eval echo "$as_me:1906: \"$ac_try\"") >&5
                   1907:   (eval $ac_try) 2>&5
                   1908:   ac_status=$?
                   1909:   echo "$as_me:1909: \$? = $ac_status" >&5
                   1910:   (exit $ac_status); }; }; then
                   1911:     cross_compiling=no
                   1912:   else
                   1913:     if test "$cross_compiling" = maybe; then
                   1914:        cross_compiling=yes
                   1915:     else
                   1916:        { { echo "$as_me:1916: error: cannot run C compiled programs.
                   1917: If you meant to cross compile, use \`--host'." >&5
                   1918: echo "$as_me: error: cannot run C compiled programs.
                   1919: If you meant to cross compile, use \`--host'." >&2;}
                   1920:    { (exit 1); exit 1; }; }
                   1921:     fi
                   1922:   fi
                   1923: fi
                   1924: echo "$as_me:1924: result: yes" >&5
                   1925: echo "${ECHO_T}yes" >&6
                   1926:
                   1927: rm -f a.out a.exe conftest$ac_cv_exeext
                   1928: ac_clean_files=$ac_clean_files_save
                   1929: # Check the compiler produces executables we can run.  If not, either
                   1930: # the compiler is broken, or we cross compile.
                   1931: echo "$as_me:1931: checking whether we are cross compiling" >&5
                   1932: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   1933: echo "$as_me:1933: result: $cross_compiling" >&5
                   1934: echo "${ECHO_T}$cross_compiling" >&6
                   1935:
                   1936: echo "$as_me:1936: checking for executable suffix" >&5
                   1937: echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
                   1938: if { (eval echo "$as_me:1938: \"$ac_link\"") >&5
                   1939:   (eval $ac_link) 2>&5
                   1940:   ac_status=$?
                   1941:   echo "$as_me:1941: \$? = $ac_status" >&5
                   1942:   (exit $ac_status); }; then
                   1943:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   1944: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   1945: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   1946: # `rm'.
                   1947: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
                   1948:   case $ac_file in
                   1949:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
                   1950:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   1951:           export ac_cv_exeext
                   1952:           break;;
                   1953:     * ) break;;
                   1954:   esac
                   1955: done
                   1956: else
                   1957:   { { echo "$as_me:1957: error: cannot compute EXEEXT: cannot compile and link" >&5
                   1958: echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
                   1959:    { (exit 1); exit 1; }; }
                   1960: fi
                   1961:
                   1962: rm -f conftest$ac_cv_exeext
                   1963: echo "$as_me:1963: result: $ac_cv_exeext" >&5
                   1964: echo "${ECHO_T}$ac_cv_exeext" >&6
                   1965:
                   1966: rm -f conftest.$ac_ext
                   1967: EXEEXT=$ac_cv_exeext
                   1968: ac_exeext=$EXEEXT
                   1969: echo "$as_me:1969: checking for object suffix" >&5
                   1970: echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
                   1971: if test "${ac_cv_objext+set}" = set; then
                   1972:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1973: else
                   1974:   cat >conftest.$ac_ext <<_ACEOF
                   1975: #line 1975 "configure"
                   1976: #include "confdefs.h"
                   1977:
                   1978: int
                   1979: main ()
                   1980: {
                   1981:
                   1982:   ;
                   1983:   return 0;
                   1984: }
                   1985: _ACEOF
                   1986: rm -f conftest.o conftest.obj
                   1987: if { (eval echo "$as_me:1987: \"$ac_compile\"") >&5
                   1988:   (eval $ac_compile) 2>&5
                   1989:   ac_status=$?
                   1990:   echo "$as_me:1990: \$? = $ac_status" >&5
                   1991:   (exit $ac_status); }; then
                   1992:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   1993:   case $ac_file in
                   1994:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
                   1995:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   1996:        break;;
                   1997:   esac
                   1998: done
                   1999: else
                   2000:   echo "$as_me: failed program was:" >&5
                   2001: cat conftest.$ac_ext >&5
                   2002: { { echo "$as_me:2002: error: cannot compute OBJEXT: cannot compile" >&5
                   2003: echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
                   2004:    { (exit 1); exit 1; }; }
                   2005: fi
                   2006:
                   2007: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2008: fi
                   2009: echo "$as_me:2009: result: $ac_cv_objext" >&5
                   2010: echo "${ECHO_T}$ac_cv_objext" >&6
                   2011: OBJEXT=$ac_cv_objext
                   2012: ac_objext=$OBJEXT
                   2013: echo "$as_me:2013: checking whether we are using the GNU C compiler" >&5
                   2014: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2015: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2016:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2017: else
                   2018:   cat >conftest.$ac_ext <<_ACEOF
                   2019: #line 2019 "configure"
                   2020: #include "confdefs.h"
                   2021:
                   2022: int
                   2023: main ()
                   2024: {
                   2025: #ifndef __GNUC__
                   2026:        choke me
                   2027: #endif
                   2028:
                   2029:   ;
                   2030:   return 0;
                   2031: }
                   2032: _ACEOF
                   2033: rm -f conftest.$ac_objext
                   2034: if { (eval echo "$as_me:2034: \"$ac_compile\"") >&5
                   2035:   (eval $ac_compile) 2>&5
                   2036:   ac_status=$?
                   2037:   echo "$as_me:2037: \$? = $ac_status" >&5
                   2038:   (exit $ac_status); } &&
                   2039:          { ac_try='test -s conftest.$ac_objext'
                   2040:   { (eval echo "$as_me:2040: \"$ac_try\"") >&5
                   2041:   (eval $ac_try) 2>&5
                   2042:   ac_status=$?
                   2043:   echo "$as_me:2043: \$? = $ac_status" >&5
                   2044:   (exit $ac_status); }; }; then
                   2045:   ac_compiler_gnu=yes
                   2046: else
                   2047:   echo "$as_me: failed program was:" >&5
                   2048: cat conftest.$ac_ext >&5
                   2049: ac_compiler_gnu=no
                   2050: fi
                   2051: rm -f conftest.$ac_objext conftest.$ac_ext
                   2052: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2053:
                   2054: fi
                   2055: echo "$as_me:2055: result: $ac_cv_c_compiler_gnu" >&5
                   2056: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   2057: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   2058: ac_test_CFLAGS=${CFLAGS+set}
                   2059: ac_save_CFLAGS=$CFLAGS
                   2060: CFLAGS="-g"
                   2061: echo "$as_me:2061: checking whether $CC accepts -g" >&5
                   2062: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   2063: if test "${ac_cv_prog_cc_g+set}" = set; then
                   2064:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2065: else
                   2066:   cat >conftest.$ac_ext <<_ACEOF
                   2067: #line 2067 "configure"
                   2068: #include "confdefs.h"
                   2069:
                   2070: int
                   2071: main ()
                   2072: {
                   2073:
                   2074:   ;
                   2075:   return 0;
                   2076: }
                   2077: _ACEOF
                   2078: rm -f conftest.$ac_objext
                   2079: if { (eval echo "$as_me:2079: \"$ac_compile\"") >&5
                   2080:   (eval $ac_compile) 2>&5
                   2081:   ac_status=$?
                   2082:   echo "$as_me:2082: \$? = $ac_status" >&5
                   2083:   (exit $ac_status); } &&
                   2084:          { ac_try='test -s conftest.$ac_objext'
                   2085:   { (eval echo "$as_me:2085: \"$ac_try\"") >&5
                   2086:   (eval $ac_try) 2>&5
                   2087:   ac_status=$?
                   2088:   echo "$as_me:2088: \$? = $ac_status" >&5
                   2089:   (exit $ac_status); }; }; then
                   2090:   ac_cv_prog_cc_g=yes
                   2091: else
                   2092:   echo "$as_me: failed program was:" >&5
                   2093: cat conftest.$ac_ext >&5
                   2094: ac_cv_prog_cc_g=no
                   2095: fi
                   2096: rm -f conftest.$ac_objext conftest.$ac_ext
                   2097: fi
                   2098: echo "$as_me:2098: result: $ac_cv_prog_cc_g" >&5
                   2099: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   2100: if test "$ac_test_CFLAGS" = set; then
                   2101:   CFLAGS=$ac_save_CFLAGS
                   2102: elif test $ac_cv_prog_cc_g = yes; then
                   2103:   if test "$GCC" = yes; then
                   2104:     CFLAGS="-g -O2"
                   2105:   else
                   2106:     CFLAGS="-g"
                   2107:   fi
                   2108: else
                   2109:   if test "$GCC" = yes; then
                   2110:     CFLAGS="-O2"
                   2111:   else
                   2112:     CFLAGS=
                   2113:   fi
                   2114: fi
                   2115: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   2116: # in C++ we need to declare it.  In case someone uses the same compiler
                   2117: # for both compiling C and C++ we need to have the C++ compiler decide
                   2118: # the declaration of exit, since it's the most demanding environment.
                   2119: cat >conftest.$ac_ext <<_ACEOF
                   2120: #ifndef __cplusplus
                   2121:   choke me
                   2122: #endif
                   2123: _ACEOF
                   2124: rm -f conftest.$ac_objext
                   2125: if { (eval echo "$as_me:2125: \"$ac_compile\"") >&5
                   2126:   (eval $ac_compile) 2>&5
                   2127:   ac_status=$?
                   2128:   echo "$as_me:2128: \$? = $ac_status" >&5
                   2129:   (exit $ac_status); } &&
                   2130:          { ac_try='test -s conftest.$ac_objext'
                   2131:   { (eval echo "$as_me:2131: \"$ac_try\"") >&5
                   2132:   (eval $ac_try) 2>&5
                   2133:   ac_status=$?
                   2134:   echo "$as_me:2134: \$? = $ac_status" >&5
                   2135:   (exit $ac_status); }; }; then
                   2136:   for ac_declaration in \
                   2137:    ''\
                   2138:    '#include <stdlib.h>' \
                   2139:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2140:    'extern "C" void std::exit (int); using std::exit;' \
                   2141:    'extern "C" void exit (int) throw ();' \
                   2142:    'extern "C" void exit (int);' \
                   2143:    'void exit (int);'
                   2144: do
                   2145:   cat >conftest.$ac_ext <<_ACEOF
                   2146: #line 2146 "configure"
                   2147: #include "confdefs.h"
                   2148: #include <stdlib.h>
                   2149: $ac_declaration
                   2150: int
                   2151: main ()
                   2152: {
                   2153: exit (42);
                   2154:   ;
                   2155:   return 0;
                   2156: }
                   2157: _ACEOF
                   2158: rm -f conftest.$ac_objext
                   2159: if { (eval echo "$as_me:2159: \"$ac_compile\"") >&5
                   2160:   (eval $ac_compile) 2>&5
                   2161:   ac_status=$?
                   2162:   echo "$as_me:2162: \$? = $ac_status" >&5
                   2163:   (exit $ac_status); } &&
                   2164:          { ac_try='test -s conftest.$ac_objext'
                   2165:   { (eval echo "$as_me:2165: \"$ac_try\"") >&5
                   2166:   (eval $ac_try) 2>&5
                   2167:   ac_status=$?
                   2168:   echo "$as_me:2168: \$? = $ac_status" >&5
                   2169:   (exit $ac_status); }; }; then
                   2170:   :
                   2171: else
                   2172:   echo "$as_me: failed program was:" >&5
                   2173: cat conftest.$ac_ext >&5
                   2174: continue
                   2175: fi
                   2176: rm -f conftest.$ac_objext conftest.$ac_ext
                   2177:   cat >conftest.$ac_ext <<_ACEOF
                   2178: #line 2178 "configure"
                   2179: #include "confdefs.h"
                   2180: $ac_declaration
                   2181: int
                   2182: main ()
                   2183: {
                   2184: exit (42);
                   2185:   ;
                   2186:   return 0;
                   2187: }
                   2188: _ACEOF
                   2189: rm -f conftest.$ac_objext
                   2190: if { (eval echo "$as_me:2190: \"$ac_compile\"") >&5
                   2191:   (eval $ac_compile) 2>&5
                   2192:   ac_status=$?
                   2193:   echo "$as_me:2193: \$? = $ac_status" >&5
                   2194:   (exit $ac_status); } &&
                   2195:          { ac_try='test -s conftest.$ac_objext'
                   2196:   { (eval echo "$as_me:2196: \"$ac_try\"") >&5
                   2197:   (eval $ac_try) 2>&5
                   2198:   ac_status=$?
                   2199:   echo "$as_me:2199: \$? = $ac_status" >&5
                   2200:   (exit $ac_status); }; }; then
                   2201:   break
                   2202: else
                   2203:   echo "$as_me: failed program was:" >&5
                   2204: cat conftest.$ac_ext >&5
                   2205: fi
                   2206: rm -f conftest.$ac_objext conftest.$ac_ext
                   2207: done
                   2208: rm -f conftest*
                   2209: if test -n "$ac_declaration"; then
                   2210:   echo '#ifdef __cplusplus' >>confdefs.h
                   2211:   echo $ac_declaration      >>confdefs.h
                   2212:   echo '#endif'             >>confdefs.h
                   2213: fi
                   2214:
                   2215: else
                   2216:   echo "$as_me: failed program was:" >&5
                   2217: cat conftest.$ac_ext >&5
                   2218: fi
                   2219: rm -f conftest.$ac_objext conftest.$ac_ext
                   2220: ac_ext=c
                   2221: ac_cpp='$CPP $CPPFLAGS'
                   2222: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2223: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2224: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2225: rm -f .deps 2>/dev/null
                   2226: mkdir .deps 2>/dev/null
                   2227: if test -d .deps; then
                   2228:   DEPDIR=.deps
                   2229: else
                   2230:   # MS-DOS does not allow filenames that begin with a dot.
                   2231:   DEPDIR=_deps
                   2232: fi
                   2233: rmdir .deps 2>/dev/null
                   2234:
                   2235: ac_config_commands="$ac_config_commands depfiles"
                   2236:
                   2237: am_make=${MAKE-make}
                   2238: cat > confinc << 'END'
                   2239: doit:
                   2240:        @echo done
                   2241: END
                   2242: # If we don't find an include directive, just comment out the code.
                   2243: echo "$as_me:2243: checking for style of include used by $am_make" >&5
                   2244: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2245: am__include="#"
                   2246: am__quote=
                   2247: _am_result=none
                   2248: # First try GNU make style include.
                   2249: echo "include confinc" > confmf
                   2250: # We grep out `Entering directory' and `Leaving directory'
                   2251: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2252: # In particular we don't look at `^make:' because GNU make might
                   2253: # be invoked under some other name (usually "gmake"), in which
                   2254: # case it prints its new name instead of `make'.
                   2255: if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
                   2256:    am__include=include
                   2257:    am__quote=
                   2258:    _am_result=GNU
                   2259: fi
                   2260: # Now try BSD make style include.
                   2261: if test "$am__include" = "#"; then
                   2262:    echo '.include "confinc"' > confmf
                   2263:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2264:       am__include=.include
                   2265:       am__quote="\""
                   2266:       _am_result=BSD
                   2267:    fi
                   2268: fi
                   2269:
                   2270: echo "$as_me:2270: result: $_am_result" >&5
                   2271: echo "${ECHO_T}$_am_result" >&6
                   2272: rm -f confinc confmf
                   2273:
                   2274: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2275: if test "${enable_dependency_tracking+set}" = set; then
                   2276:   enableval="$enable_dependency_tracking"
                   2277:
                   2278: fi;
                   2279: if test "x$enable_dependency_tracking" != xno; then
                   2280:   am_depcomp="$ac_aux_dir/depcomp"
                   2281:   AMDEPBACKSLASH='\'
                   2282: fi
                   2283:
                   2284: if test "x$enable_dependency_tracking" != xno; then
                   2285:   AMDEP_TRUE=
                   2286:   AMDEP_FALSE='#'
                   2287: else
                   2288:   AMDEP_TRUE='#'
                   2289:   AMDEP_FALSE=
                   2290: fi
                   2291:
                   2292: depcc="$CC"   am_compiler_list=
                   2293:
                   2294: echo "$as_me:2294: checking dependency style of $depcc" >&5
                   2295: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2296: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   2297:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2298: else
                   2299:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2300:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2301:   # making bogus files that we don't know about and never remove.  For
                   2302:   # instance it was reported that on HP-UX the gcc test will end up
                   2303:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2304:   # in D'.
                   2305:   mkdir conftest.dir
                   2306:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2307:   # using a relative directory.
                   2308:   cp "$am_depcomp" conftest.dir
                   2309:   cd conftest.dir
                   2310:
                   2311:   am_cv_CC_dependencies_compiler_type=none
                   2312:   if test "$am_compiler_list" = ""; then
                   2313:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2314:   fi
                   2315:   for depmode in $am_compiler_list; do
                   2316:     # We need to recreate these files for each test, as the compiler may
                   2317:     # overwrite some of them when testing with obscure command lines.
                   2318:     # This happens at least with the AIX C compiler.
                   2319:     echo '#include "conftest.h"' > conftest.c
                   2320:     echo 'int i;' > conftest.h
                   2321:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2322:
                   2323:     case $depmode in
                   2324:     nosideeffect)
                   2325:       # after this tag, mechanisms are not by side-effect, so they'll
                   2326:       # only be used when explicitly requested
                   2327:       if test "x$enable_dependency_tracking" = xyes; then
                   2328:        continue
                   2329:       else
                   2330:        break
                   2331:       fi
                   2332:       ;;
                   2333:     none) break ;;
                   2334:     esac
                   2335:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2336:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2337:     # handle `-M -o', and we need to detect this.
                   2338:     if depmode=$depmode \
                   2339:        source=conftest.c object=conftest.o \
                   2340:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2341:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
                   2342:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2343:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2344:       am_cv_CC_dependencies_compiler_type=$depmode
                   2345:       break
                   2346:     fi
                   2347:   done
                   2348:
                   2349:   cd ..
                   2350:   rm -rf conftest.dir
                   2351: else
                   2352:   am_cv_CC_dependencies_compiler_type=none
                   2353: fi
                   2354:
                   2355: fi
                   2356: echo "$as_me:2356: result: $am_cv_CC_dependencies_compiler_type" >&5
                   2357: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   2358: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   2359:
                   2360: ac_ext=cc
                   2361: ac_cpp='$CXXCPP $CPPFLAGS'
                   2362: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2363: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2364: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2365: if test -n "$ac_tool_prefix"; then
                   2366:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2367:   do
                   2368:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2369: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2370: echo "$as_me:2370: checking for $ac_word" >&5
                   2371: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2372: if test "${ac_cv_prog_CXX+set}" = set; then
                   2373:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2374: else
                   2375:   if test -n "$CXX"; then
                   2376:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2377: else
                   2378:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2379: ac_dummy="$PATH"
                   2380: for ac_dir in $ac_dummy; do
                   2381:   IFS=$ac_save_IFS
                   2382:   test -z "$ac_dir" && ac_dir=.
                   2383:   $as_executable_p "$ac_dir/$ac_word" || continue
                   2384: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   2385: echo "$as_me:2385: found $ac_dir/$ac_word" >&5
                   2386: break
                   2387: done
                   2388:
                   2389: fi
                   2390: fi
                   2391: CXX=$ac_cv_prog_CXX
                   2392: if test -n "$CXX"; then
                   2393:   echo "$as_me:2393: result: $CXX" >&5
                   2394: echo "${ECHO_T}$CXX" >&6
                   2395: else
                   2396:   echo "$as_me:2396: result: no" >&5
                   2397: echo "${ECHO_T}no" >&6
                   2398: fi
                   2399:
                   2400:     test -n "$CXX" && break
                   2401:   done
                   2402: fi
                   2403: if test -z "$CXX"; then
                   2404:   ac_ct_CXX=$CXX
                   2405:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2406: do
                   2407:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2408: set dummy $ac_prog; ac_word=$2
                   2409: echo "$as_me:2409: checking for $ac_word" >&5
                   2410: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2411: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   2412:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2413: else
                   2414:   if test -n "$ac_ct_CXX"; then
                   2415:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2416: else
                   2417:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2418: ac_dummy="$PATH"
                   2419: for ac_dir in $ac_dummy; do
                   2420:   IFS=$ac_save_IFS
                   2421:   test -z "$ac_dir" && ac_dir=.
                   2422:   $as_executable_p "$ac_dir/$ac_word" || continue
                   2423: ac_cv_prog_ac_ct_CXX="$ac_prog"
                   2424: echo "$as_me:2424: found $ac_dir/$ac_word" >&5
                   2425: break
                   2426: done
                   2427:
                   2428: fi
                   2429: fi
                   2430: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2431: if test -n "$ac_ct_CXX"; then
                   2432:   echo "$as_me:2432: result: $ac_ct_CXX" >&5
                   2433: echo "${ECHO_T}$ac_ct_CXX" >&6
                   2434: else
                   2435:   echo "$as_me:2435: result: no" >&5
                   2436: echo "${ECHO_T}no" >&6
                   2437: fi
                   2438:
                   2439:   test -n "$ac_ct_CXX" && break
                   2440: done
                   2441: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2442:
                   2443:   CXX=$ac_ct_CXX
                   2444: fi
                   2445:
                   2446: # Provide some information about the compiler.
                   2447: echo "$as_me:2447:" \
                   2448:      "checking for C++ compiler version" >&5
                   2449: ac_compiler=`set X $ac_compile; echo $2`
                   2450: { (eval echo "$as_me:2450: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2451:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2452:   ac_status=$?
                   2453:   echo "$as_me:2453: \$? = $ac_status" >&5
                   2454:   (exit $ac_status); }
                   2455: { (eval echo "$as_me:2455: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2456:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2457:   ac_status=$?
                   2458:   echo "$as_me:2458: \$? = $ac_status" >&5
                   2459:   (exit $ac_status); }
                   2460: { (eval echo "$as_me:2460: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2461:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2462:   ac_status=$?
                   2463:   echo "$as_me:2463: \$? = $ac_status" >&5
                   2464:   (exit $ac_status); }
                   2465:
                   2466: echo "$as_me:2466: checking whether we are using the GNU C++ compiler" >&5
                   2467: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2468: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2469:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2470: else
                   2471:   cat >conftest.$ac_ext <<_ACEOF
                   2472: #line 2472 "configure"
                   2473: #include "confdefs.h"
                   2474:
                   2475: int
                   2476: main ()
                   2477: {
                   2478: #ifndef __GNUC__
                   2479:        choke me
                   2480: #endif
                   2481:
                   2482:   ;
                   2483:   return 0;
                   2484: }
                   2485: _ACEOF
                   2486: rm -f conftest.$ac_objext
                   2487: if { (eval echo "$as_me:2487: \"$ac_compile\"") >&5
                   2488:   (eval $ac_compile) 2>&5
                   2489:   ac_status=$?
                   2490:   echo "$as_me:2490: \$? = $ac_status" >&5
                   2491:   (exit $ac_status); } &&
                   2492:          { ac_try='test -s conftest.$ac_objext'
                   2493:   { (eval echo "$as_me:2493: \"$ac_try\"") >&5
                   2494:   (eval $ac_try) 2>&5
                   2495:   ac_status=$?
                   2496:   echo "$as_me:2496: \$? = $ac_status" >&5
                   2497:   (exit $ac_status); }; }; then
                   2498:   ac_compiler_gnu=yes
                   2499: else
                   2500:   echo "$as_me: failed program was:" >&5
                   2501: cat conftest.$ac_ext >&5
                   2502: ac_compiler_gnu=no
                   2503: fi
                   2504: rm -f conftest.$ac_objext conftest.$ac_ext
                   2505: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2506:
                   2507: fi
                   2508: echo "$as_me:2508: result: $ac_cv_cxx_compiler_gnu" >&5
                   2509: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2510: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2511: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2512: ac_save_CXXFLAGS=$CXXFLAGS
                   2513: CXXFLAGS="-g"
                   2514: echo "$as_me:2514: checking whether $CXX accepts -g" >&5
                   2515: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2516: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2517:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2518: else
                   2519:   cat >conftest.$ac_ext <<_ACEOF
                   2520: #line 2520 "configure"
                   2521: #include "confdefs.h"
                   2522:
                   2523: int
                   2524: main ()
                   2525: {
                   2526:
                   2527:   ;
                   2528:   return 0;
                   2529: }
                   2530: _ACEOF
                   2531: rm -f conftest.$ac_objext
                   2532: if { (eval echo "$as_me:2532: \"$ac_compile\"") >&5
                   2533:   (eval $ac_compile) 2>&5
                   2534:   ac_status=$?
                   2535:   echo "$as_me:2535: \$? = $ac_status" >&5
                   2536:   (exit $ac_status); } &&
                   2537:          { ac_try='test -s conftest.$ac_objext'
                   2538:   { (eval echo "$as_me:2538: \"$ac_try\"") >&5
                   2539:   (eval $ac_try) 2>&5
                   2540:   ac_status=$?
                   2541:   echo "$as_me:2541: \$? = $ac_status" >&5
                   2542:   (exit $ac_status); }; }; then
                   2543:   ac_cv_prog_cxx_g=yes
                   2544: else
                   2545:   echo "$as_me: failed program was:" >&5
                   2546: cat conftest.$ac_ext >&5
                   2547: ac_cv_prog_cxx_g=no
                   2548: fi
                   2549: rm -f conftest.$ac_objext conftest.$ac_ext
                   2550: fi
                   2551: echo "$as_me:2551: result: $ac_cv_prog_cxx_g" >&5
                   2552: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2553: if test "$ac_test_CXXFLAGS" = set; then
                   2554:   CXXFLAGS=$ac_save_CXXFLAGS
                   2555: elif test $ac_cv_prog_cxx_g = yes; then
                   2556:   if test "$GXX" = yes; then
                   2557:     CXXFLAGS="-g -O2"
                   2558:   else
                   2559:     CXXFLAGS="-g"
                   2560:   fi
                   2561: else
                   2562:   if test "$GXX" = yes; then
                   2563:     CXXFLAGS="-O2"
                   2564:   else
                   2565:     CXXFLAGS=
                   2566:   fi
                   2567: fi
                   2568: for ac_declaration in \
                   2569:    ''\
                   2570:    '#include <stdlib.h>' \
                   2571:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2572:    'extern "C" void std::exit (int); using std::exit;' \
                   2573:    'extern "C" void exit (int) throw ();' \
                   2574:    'extern "C" void exit (int);' \
                   2575:    'void exit (int);'
                   2576: do
                   2577:   cat >conftest.$ac_ext <<_ACEOF
                   2578: #line 2578 "configure"
                   2579: #include "confdefs.h"
                   2580: #include <stdlib.h>
                   2581: $ac_declaration
                   2582: int
                   2583: main ()
                   2584: {
                   2585: exit (42);
                   2586:   ;
                   2587:   return 0;
                   2588: }
                   2589: _ACEOF
                   2590: rm -f conftest.$ac_objext
                   2591: if { (eval echo "$as_me:2591: \"$ac_compile\"") >&5
                   2592:   (eval $ac_compile) 2>&5
                   2593:   ac_status=$?
                   2594:   echo "$as_me:2594: \$? = $ac_status" >&5
                   2595:   (exit $ac_status); } &&
                   2596:          { ac_try='test -s conftest.$ac_objext'
                   2597:   { (eval echo "$as_me:2597: \"$ac_try\"") >&5
                   2598:   (eval $ac_try) 2>&5
                   2599:   ac_status=$?
                   2600:   echo "$as_me:2600: \$? = $ac_status" >&5
                   2601:   (exit $ac_status); }; }; then
                   2602:   :
                   2603: else
                   2604:   echo "$as_me: failed program was:" >&5
                   2605: cat conftest.$ac_ext >&5
                   2606: continue
                   2607: fi
                   2608: rm -f conftest.$ac_objext conftest.$ac_ext
                   2609:   cat >conftest.$ac_ext <<_ACEOF
                   2610: #line 2610 "configure"
                   2611: #include "confdefs.h"
                   2612: $ac_declaration
                   2613: int
                   2614: main ()
                   2615: {
                   2616: exit (42);
                   2617:   ;
                   2618:   return 0;
                   2619: }
                   2620: _ACEOF
                   2621: rm -f conftest.$ac_objext
                   2622: if { (eval echo "$as_me:2622: \"$ac_compile\"") >&5
                   2623:   (eval $ac_compile) 2>&5
                   2624:   ac_status=$?
                   2625:   echo "$as_me:2625: \$? = $ac_status" >&5
                   2626:   (exit $ac_status); } &&
                   2627:          { ac_try='test -s conftest.$ac_objext'
                   2628:   { (eval echo "$as_me:2628: \"$ac_try\"") >&5
                   2629:   (eval $ac_try) 2>&5
                   2630:   ac_status=$?
                   2631:   echo "$as_me:2631: \$? = $ac_status" >&5
                   2632:   (exit $ac_status); }; }; then
                   2633:   break
                   2634: else
                   2635:   echo "$as_me: failed program was:" >&5
                   2636: cat conftest.$ac_ext >&5
                   2637: fi
                   2638: rm -f conftest.$ac_objext conftest.$ac_ext
                   2639: done
                   2640: rm -f conftest*
                   2641: if test -n "$ac_declaration"; then
                   2642:   echo '#ifdef __cplusplus' >>confdefs.h
                   2643:   echo $ac_declaration      >>confdefs.h
                   2644:   echo '#endif'             >>confdefs.h
                   2645: fi
                   2646:
                   2647: ac_ext=c
                   2648: ac_cpp='$CPP $CPPFLAGS'
                   2649: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2650: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2651: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2652:
                   2653: depcc="$CXX"  am_compiler_list=
                   2654:
                   2655: echo "$as_me:2655: checking dependency style of $depcc" >&5
                   2656: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2657: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2658:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2659: else
                   2660:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2661:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2662:   # making bogus files that we don't know about and never remove.  For
                   2663:   # instance it was reported that on HP-UX the gcc test will end up
                   2664:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2665:   # in D'.
                   2666:   mkdir conftest.dir
                   2667:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2668:   # using a relative directory.
                   2669:   cp "$am_depcomp" conftest.dir
                   2670:   cd conftest.dir
                   2671:
                   2672:   am_cv_CXX_dependencies_compiler_type=none
                   2673:   if test "$am_compiler_list" = ""; then
                   2674:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2675:   fi
                   2676:   for depmode in $am_compiler_list; do
                   2677:     # We need to recreate these files for each test, as the compiler may
                   2678:     # overwrite some of them when testing with obscure command lines.
                   2679:     # This happens at least with the AIX C compiler.
                   2680:     echo '#include "conftest.h"' > conftest.c
                   2681:     echo 'int i;' > conftest.h
                   2682:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2683:
                   2684:     case $depmode in
                   2685:     nosideeffect)
                   2686:       # after this tag, mechanisms are not by side-effect, so they'll
                   2687:       # only be used when explicitly requested
                   2688:       if test "x$enable_dependency_tracking" = xyes; then
                   2689:        continue
                   2690:       else
                   2691:        break
                   2692:       fi
                   2693:       ;;
                   2694:     none) break ;;
                   2695:     esac
                   2696:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2697:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2698:     # handle `-M -o', and we need to detect this.
                   2699:     if depmode=$depmode \
                   2700:        source=conftest.c object=conftest.o \
                   2701:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2702:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
                   2703:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2704:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2705:       am_cv_CXX_dependencies_compiler_type=$depmode
                   2706:       break
                   2707:     fi
                   2708:   done
                   2709:
                   2710:   cd ..
                   2711:   rm -rf conftest.dir
                   2712: else
                   2713:   am_cv_CXX_dependencies_compiler_type=none
                   2714: fi
                   2715:
                   2716: fi
                   2717: echo "$as_me:2717: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2718: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2719: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2720:
                   2721: # By default we simply use the C compiler to build assembly code.
                   2722:
                   2723: : ${CCAS='$(CC)'}
                   2724: # Set ASFLAGS if not already set.
                   2725: : ${CCASFLAGS='$(CFLAGS)'}
                   2726:
                   2727: if test -n "$ac_tool_prefix"; then
                   2728:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
                   2729: set dummy ${ac_tool_prefix}ar; ac_word=$2
                   2730: echo "$as_me:2730: checking for $ac_word" >&5
                   2731: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2732: if test "${ac_cv_prog_AR+set}" = set; then
                   2733:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2734: else
                   2735:   if test -n "$AR"; then
                   2736:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   2737: else
                   2738:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2739: ac_dummy="$PATH"
                   2740: for ac_dir in $ac_dummy; do
                   2741:   IFS=$ac_save_IFS
                   2742:   test -z "$ac_dir" && ac_dir=.
                   2743:   $as_executable_p "$ac_dir/$ac_word" || continue
                   2744: ac_cv_prog_AR="${ac_tool_prefix}ar"
                   2745: echo "$as_me:2745: found $ac_dir/$ac_word" >&5
                   2746: break
                   2747: done
                   2748:
                   2749: fi
                   2750: fi
                   2751: AR=$ac_cv_prog_AR
                   2752: if test -n "$AR"; then
                   2753:   echo "$as_me:2753: result: $AR" >&5
                   2754: echo "${ECHO_T}$AR" >&6
                   2755: else
                   2756:   echo "$as_me:2756: result: no" >&5
                   2757: echo "${ECHO_T}no" >&6
                   2758: fi
                   2759:
                   2760: fi
                   2761: if test -z "$ac_cv_prog_AR"; then
                   2762:   ac_ct_AR=$AR
                   2763:   # Extract the first word of "ar", so it can be a program name with args.
                   2764: set dummy ar; ac_word=$2
                   2765: echo "$as_me:2765: checking for $ac_word" >&5
                   2766: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2767: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   2768:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2769: else
                   2770:   if test -n "$ac_ct_AR"; then
                   2771:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   2772: else
                   2773:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2774: ac_dummy="$PATH"
                   2775: for ac_dir in $ac_dummy; do
                   2776:   IFS=$ac_save_IFS
                   2777:   test -z "$ac_dir" && ac_dir=.
                   2778:   $as_executable_p "$ac_dir/$ac_word" || continue
                   2779: ac_cv_prog_ac_ct_AR="ar"
                   2780: echo "$as_me:2780: found $ac_dir/$ac_word" >&5
                   2781: break
                   2782: done
                   2783:
                   2784: fi
                   2785: fi
                   2786: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   2787: if test -n "$ac_ct_AR"; then
                   2788:   echo "$as_me:2788: result: $ac_ct_AR" >&5
                   2789: echo "${ECHO_T}$ac_ct_AR" >&6
                   2790: else
                   2791:   echo "$as_me:2791: result: no" >&5
                   2792: echo "${ECHO_T}no" >&6
                   2793: fi
                   2794:
                   2795:   AR=$ac_ct_AR
                   2796: else
                   2797:   AR="$ac_cv_prog_AR"
                   2798: fi
                   2799:
                   2800: if test -n "$ac_tool_prefix"; then
                   2801:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   2802: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   2803: echo "$as_me:2803: checking for $ac_word" >&5
                   2804: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2805: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   2806:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2807: else
                   2808:   if test -n "$RANLIB"; then
                   2809:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   2810: else
                   2811:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2812: ac_dummy="$PATH"
                   2813: for ac_dir in $ac_dummy; do
                   2814:   IFS=$ac_save_IFS
                   2815:   test -z "$ac_dir" && ac_dir=.
                   2816:   $as_executable_p "$ac_dir/$ac_word" || continue
                   2817: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   2818: echo "$as_me:2818: found $ac_dir/$ac_word" >&5
                   2819: break
                   2820: done
                   2821:
                   2822: fi
                   2823: fi
                   2824: RANLIB=$ac_cv_prog_RANLIB
                   2825: if test -n "$RANLIB"; then
                   2826:   echo "$as_me:2826: result: $RANLIB" >&5
                   2827: echo "${ECHO_T}$RANLIB" >&6
                   2828: else
                   2829:   echo "$as_me:2829: result: no" >&5
                   2830: echo "${ECHO_T}no" >&6
                   2831: fi
                   2832:
                   2833: fi
                   2834: if test -z "$ac_cv_prog_RANLIB"; then
                   2835:   ac_ct_RANLIB=$RANLIB
                   2836:   # Extract the first word of "ranlib", so it can be a program name with args.
                   2837: set dummy ranlib; ac_word=$2
                   2838: echo "$as_me:2838: checking for $ac_word" >&5
                   2839: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2840: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   2841:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2842: else
                   2843:   if test -n "$ac_ct_RANLIB"; then
                   2844:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   2845: else
                   2846:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2847: ac_dummy="$PATH"
                   2848: for ac_dir in $ac_dummy; do
                   2849:   IFS=$ac_save_IFS
                   2850:   test -z "$ac_dir" && ac_dir=.
                   2851:   $as_executable_p "$ac_dir/$ac_word" || continue
                   2852: ac_cv_prog_ac_ct_RANLIB="ranlib"
                   2853: echo "$as_me:2853: found $ac_dir/$ac_word" >&5
                   2854: break
                   2855: done
                   2856:
                   2857:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   2858: fi
                   2859: fi
                   2860: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   2861: if test -n "$ac_ct_RANLIB"; then
                   2862:   echo "$as_me:2862: result: $ac_ct_RANLIB" >&5
                   2863: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   2864: else
                   2865:   echo "$as_me:2865: result: no" >&5
                   2866: echo "${ECHO_T}no" >&6
                   2867: fi
                   2868:
                   2869:   RANLIB=$ac_ct_RANLIB
                   2870: else
                   2871:   RANLIB="$ac_cv_prog_RANLIB"
                   2872: fi
                   2873:
                   2874: # Find a good install program.  We prefer a C program (faster),
                   2875: # so one script is as good as another.  But avoid the broken or
                   2876: # incompatible versions:
                   2877: # SysV /etc/install, /usr/sbin/install
                   2878: # SunOS /usr/etc/install
                   2879: # IRIX /sbin/install
                   2880: # AIX /bin/install
                   2881: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2882: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2883: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2884: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2885: # ./install, which can be erroneously created by make from ./install.sh.
                   2886: echo "$as_me:2886: checking for a BSD compatible install" >&5
                   2887: echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
                   2888: if test -z "$INSTALL"; then
                   2889: if test "${ac_cv_path_install+set}" = set; then
                   2890:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2891: else
                   2892:     ac_save_IFS=$IFS; IFS=$ac_path_separator
                   2893:   for ac_dir in $PATH; do
                   2894:     IFS=$ac_save_IFS
                   2895:     # Account for people who put trailing slashes in PATH elements.
                   2896:     case $ac_dir/ in
                   2897:     / | ./ | .// | /cC/* \
                   2898:     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
                   2899:     | /usr/ucb/* ) ;;
                   2900:     *)
                   2901:       # OSF1 and SCO ODT 3.0 have their own names for install.
                   2902:       # Don't use installbsd from OSF since it installs stuff as root
                   2903:       # by default.
                   2904:       for ac_prog in ginstall scoinst install; do
                   2905:         if $as_executable_p "$ac_dir/$ac_prog"; then
                   2906:          if test $ac_prog = install &&
                   2907:             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
                   2908:            # AIX install.  It has an incompatible calling convention.
                   2909:            :
                   2910:          elif test $ac_prog = install &&
                   2911:            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
                   2912:            # program-specific install script used by HP pwplus--don't use.
                   2913:            :
                   2914:          else
                   2915:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                   2916:            break 2
                   2917:          fi
                   2918:        fi
                   2919:       done
                   2920:       ;;
                   2921:     esac
                   2922:   done
                   2923:
                   2924: fi
                   2925:   if test "${ac_cv_path_install+set}" = set; then
                   2926:     INSTALL=$ac_cv_path_install
                   2927:   else
                   2928:     # As a last resort, use the slow shell script.  We don't cache a
                   2929:     # path for INSTALL within a source directory, because that will
                   2930:     # break other packages using the cache if that directory is
                   2931:     # removed, or if the path is relative.
                   2932:     INSTALL=$ac_install_sh
                   2933:   fi
                   2934: fi
                   2935: echo "$as_me:2935: result: $INSTALL" >&5
                   2936: echo "${ECHO_T}$INSTALL" >&6
                   2937:
                   2938: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2939: # It thinks the first close brace ends the variable substitution.
                   2940: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2941:
                   2942: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2943:
                   2944: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2945:
                   2946: echo "$as_me:2946: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   2947: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
                   2948:     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
                   2949: if test "${enable_maintainer_mode+set}" = set; then
                   2950:   enableval="$enable_maintainer_mode"
                   2951:   USE_MAINTAINER_MODE=$enableval
                   2952: else
                   2953:   USE_MAINTAINER_MODE=no
                   2954: fi;
                   2955:   echo "$as_me:2955: result: $USE_MAINTAINER_MODE" >&5
                   2956: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
                   2957:
                   2958: if test $USE_MAINTAINER_MODE = yes; then
                   2959:   MAINTAINER_MODE_TRUE=
                   2960:   MAINTAINER_MODE_FALSE='#'
                   2961: else
                   2962:   MAINTAINER_MODE_TRUE='#'
                   2963:   MAINTAINER_MODE_FALSE=
                   2964: fi
                   2965:
                   2966:   MAINT=$MAINTAINER_MODE_TRUE
                   2967:
                   2968: if test "${srcdir}" = "."; then
                   2969:   if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
                   2970:     gc_basedir="${srcdir}/${with_multisrctop}../$1"
                   2971:   else
                   2972:     gc_basedir="${srcdir}/${with_multisrctop}$1"
                   2973:   fi
                   2974: else
                   2975:   gc_basedir="${srcdir}/$1"
                   2976: fi
                   2977:
                   2978: # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
                   2979: # at least currently, we never actually build a program, so we never
                   2980: # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
                   2981: # fails, because we are probably configuring with a cross compiler
                   2982: # which can't create executables.  So we include AC_EXEEXT to keep
                   2983: # automake happy, but we don't execute it, since we don't care about
                   2984: # the result.
                   2985: if false; then
                   2986:   # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
                   2987:   # to nothing, so nothing would remain between `then' and `fi' if it
                   2988:   # were not for the `:' below.
                   2989:   :
                   2990:
                   2991: fi
                   2992:
                   2993: . ${srcdir}/configure.host
                   2994:
                   2995: GC_CFLAGS=${gc_cflags}
                   2996:
                   2997: # Check whether --enable-threads or --disable-threads was given.
                   2998: if test "${enable_threads+set}" = set; then
                   2999:   enableval="$enable_threads"
                   3000:   THREADS=$enableval
                   3001: else
                   3002:    echo "$as_me:3002: checking for thread model used by GCC" >&5
                   3003: echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
                   3004:     THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
                   3005:     if test -z "$THREADS"; then
                   3006:       THREADS=no
                   3007:     fi
                   3008:     echo "$as_me:3008: result: $THREADS" >&5
                   3009: echo "${ECHO_T}$THREADS" >&6
                   3010: fi;
                   3011:
                   3012: # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
                   3013: if test "${enable_parallel_mark+set}" = set; then
                   3014:   enableval="$enable_parallel_mark"
                   3015:   case "$THREADS" in
                   3016:       no | none | single)
                   3017:        { { echo "$as_me:3017: error: Parallel mark requires --enable-threads=x spec" >&5
                   3018: echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
                   3019:    { (exit 1); exit 1; }; }
                   3020:        ;;
                   3021:     esac
                   3022:
                   3023: fi;
                   3024:
                   3025: INCLUDES=-I${srcdir}/include
                   3026: THREADLIBS=
                   3027: case "$THREADS" in
                   3028:  no | none | single)
                   3029:     THREADS=none
                   3030:     ;;
                   3031:  posix | pthreads)
                   3032:     THREADS=posix
                   3033:     THREADLIBS=-lpthread
                   3034:     case "$host" in
                   3035:      x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux*)
                   3036:        cat >>confdefs.h <<\EOF
                   3037: #define GC_LINUX_THREADS 1
                   3038: EOF
                   3039:
                   3040:        cat >>confdefs.h <<\EOF
                   3041: #define _REENTRANT 1
                   3042: EOF
                   3043:
                   3044:         if test "${enable_parallel_mark}" = yes; then
                   3045:          cat >>confdefs.h <<\EOF
                   3046: #define PARALLEL_MARK 1
                   3047: EOF
                   3048:
                   3049:        fi
                   3050:        cat >>confdefs.h <<\EOF
                   3051: #define THREAD_LOCAL_ALLOC 1
                   3052: EOF
                   3053:
                   3054:        ;;
                   3055:      *-*-linux*)
                   3056:        cat >>confdefs.h <<\EOF
                   3057: #define GC_LINUX_THREADS 1
                   3058: EOF
                   3059:
                   3060:        cat >>confdefs.h <<\EOF
                   3061: #define _REENTRANT 1
                   3062: EOF
                   3063:
                   3064:        ;;
                   3065:      *-*-hpux*)
                   3066:        { echo "$as_me:3066: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
                   3067: echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
                   3068:        cat >>confdefs.h <<\EOF
                   3069: #define GC_HPUX_THREADS 1
                   3070: EOF
                   3071:
                   3072:        cat >>confdefs.h <<\EOF
                   3073: #define _POSIX_C_SOURCE 199506L
                   3074: EOF
                   3075:
                   3076:        if test "${enable_parallel_mark}" = yes; then
                   3077:          cat >>confdefs.h <<\EOF
                   3078: #define PARALLEL_MARK 1
                   3079: EOF
                   3080:
                   3081:        fi
                   3082:        cat >>confdefs.h <<\EOF
                   3083: #define THREAD_LOCAL_ALLOC 1
                   3084: EOF
                   3085:
                   3086:        THREADLIBS="-lpthread -lrt"
                   3087:        ;;
                   3088:      *-*-freebsd*)
                   3089:        { echo "$as_me:3089: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
                   3090: echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
                   3091:        cat >>confdefs.h <<\EOF
                   3092: #define GC_FREEBSD_THREADS 1
                   3093: EOF
                   3094:
                   3095:        INCLUDES="$INCLUDES -pthread"
                   3096:        THREADLIBS=-pthread
                   3097:        ;;
                   3098:      *-*-solaris*)
                   3099:        cat >>confdefs.h <<\EOF
                   3100: #define GC_SOLARIS_THREADS 1
                   3101: EOF
                   3102:
                   3103:        cat >>confdefs.h <<\EOF
                   3104: #define GC_SOLARIS_PTHREADS 1
                   3105: EOF
                   3106:
                   3107:        ;;
                   3108:      *-*-irix*)
                   3109:        cat >>confdefs.h <<\EOF
                   3110: #define GC_IRIX_THREADS 1
                   3111: EOF
                   3112:
                   3113:        ;;
                   3114:      *-*-cygwin*)
                   3115:        cat >>confdefs.h <<\EOF
                   3116: #define GC_WIN32_THREADS 1
                   3117: EOF
                   3118:
                   3119:        ;;
                   3120:     esac
                   3121:     ;;
                   3122:  win32)
                   3123:     cat >>confdefs.h <<\EOF
                   3124: #define GC_WIN32_THREADS 1
                   3125: EOF
                   3126:
                   3127:         cat >>confdefs.h <<\EOF
                   3128: #define NO_GETENV 1
                   3129: EOF
                   3130:
                   3131:     ;;
                   3132:  dgux386)
                   3133:     THREADS=dgux386
                   3134:     # Use pthread GCC  switch
                   3135:     THREADLIBS=-pthread
                   3136:     if test "${enable_parallel_mark}" = yes; then
                   3137:         cat >>confdefs.h <<\EOF
                   3138: #define PARALLEL_MARK 1
                   3139: EOF
                   3140:
                   3141:     fi
                   3142:     cat >>confdefs.h <<\EOF
                   3143: #define THREAD_LOCAL_ALLOC 1
                   3144: EOF
                   3145:
                   3146:     cat >>confdefs.h <<\EOF
                   3147: #define GC_DGUX386_THREADS 1
                   3148: EOF
                   3149:
                   3150:     cat >>confdefs.h <<\EOF
                   3151: #define DGUX_THREADS 1
                   3152: EOF
                   3153:
                   3154:     # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
                   3155:     INCLUDES="-pthread $INCLUDES"
                   3156:     ;;
                   3157:  decosf1 | irix | mach | os2 | solaris | dce | vxworks)
                   3158:     { { echo "$as_me:3158: error: thread package $THREADS not yet supported" >&5
                   3159: echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
                   3160:    { (exit 1); exit 1; }; }
                   3161:     ;;
                   3162:  *)
                   3163:     { { echo "$as_me:3163: error: $THREADS is an unknown thread package" >&5
                   3164: echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
                   3165:    { (exit 1); exit 1; }; }
                   3166:     ;;
                   3167: esac
                   3168:
                   3169: echo "$as_me:3169: checking for dlopen in -ldl" >&5
                   3170: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   3171: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   3172:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3173: else
                   3174:   ac_check_lib_save_LIBS=$LIBS
                   3175: LIBS="-ldl  $LIBS"
                   3176: cat >conftest.$ac_ext <<_ACEOF
                   3177: #line 3177 "configure"
                   3178: #include "confdefs.h"
                   3179:
                   3180: /* Override any gcc2 internal prototype to avoid an error.  */
                   3181: #ifdef __cplusplus
                   3182: extern "C"
                   3183: #endif
                   3184: /* We use char because int might match the return type of a gcc2
                   3185:    builtin and then its argument prototype would still apply.  */
                   3186: char dlopen ();
                   3187: int
                   3188: main ()
                   3189: {
                   3190: dlopen ();
                   3191:   ;
                   3192:   return 0;
                   3193: }
                   3194: _ACEOF
                   3195: rm -f conftest.$ac_objext conftest$ac_exeext
                   3196: if { (eval echo "$as_me:3196: \"$ac_link\"") >&5
                   3197:   (eval $ac_link) 2>&5
                   3198:   ac_status=$?
                   3199:   echo "$as_me:3199: \$? = $ac_status" >&5
                   3200:   (exit $ac_status); } &&
                   3201:          { ac_try='test -s conftest$ac_exeext'
                   3202:   { (eval echo "$as_me:3202: \"$ac_try\"") >&5
                   3203:   (eval $ac_try) 2>&5
                   3204:   ac_status=$?
                   3205:   echo "$as_me:3205: \$? = $ac_status" >&5
                   3206:   (exit $ac_status); }; }; then
                   3207:   ac_cv_lib_dl_dlopen=yes
                   3208: else
                   3209:   echo "$as_me: failed program was:" >&5
                   3210: cat conftest.$ac_ext >&5
                   3211: ac_cv_lib_dl_dlopen=no
                   3212: fi
                   3213: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3214: LIBS=$ac_check_lib_save_LIBS
                   3215: fi
                   3216: echo "$as_me:3216: result: $ac_cv_lib_dl_dlopen" >&5
                   3217: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   3218: if test $ac_cv_lib_dl_dlopen = yes; then
                   3219:   EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
                   3220: fi
                   3221:
                   3222: target_all=libgc.la
                   3223:
                   3224: TARGET_ECOS="no"
                   3225:
                   3226: # Check whether --with-ecos or --without-ecos was given.
                   3227: if test "${with_ecos+set}" = set; then
                   3228:   withval="$with_ecos"
                   3229:   TARGET_ECOS="$with_ecos"
                   3230:
                   3231: fi;
                   3232:
                   3233: addobjs=
                   3234: CXXINCLUDES=
                   3235: case "$TARGET_ECOS" in
                   3236:    no)
                   3237:       ;;
                   3238:    *)
                   3239:       cat >>confdefs.h <<\EOF
                   3240: #define ECOS 1
                   3241: EOF
                   3242:
                   3243:       CXXINCLUDES="-I${TARGET_ECOS}/include"
                   3244:       addobjs="$addobjs ecos.lo"
                   3245:       ;;
                   3246: esac
                   3247:
                   3248: machdep=
                   3249:
                   3250: case "$host" in
                   3251:  alpha-*-openbsd*)
                   3252:      # Check whether --enable-shared or --disable-shared was given.
                   3253: if test "${enable_shared+set}" = set; then
                   3254:   enableval="$enable_shared"
                   3255:   p=${PACKAGE-default}
                   3256: case $enableval in
                   3257: yes) enable_shared=yes ;;
                   3258: no) enable_shared=no ;;
                   3259: *)
                   3260:   enable_shared=no
                   3261:   # Look at the argument we got.  We use all the common list separators.
                   3262:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3263:   for pkg in $enableval; do
                   3264:     if test "X$pkg" = "X$p"; then
                   3265:       enable_shared=yes
                   3266:     fi
                   3267:   done
                   3268:   IFS="$ac_save_ifs"
                   3269:   ;;
                   3270: esac
                   3271: else
                   3272:   enable_shared=no
                   3273: fi;
                   3274:      ;;
                   3275:  *)
                   3276:      # Check whether --enable-shared or --disable-shared was given.
                   3277: if test "${enable_shared+set}" = set; then
                   3278:   enableval="$enable_shared"
                   3279:   p=${PACKAGE-default}
                   3280: case $enableval in
                   3281: yes) enable_shared=yes ;;
                   3282: no) enable_shared=no ;;
                   3283: *)
                   3284:   enable_shared=no
                   3285:   # Look at the argument we got.  We use all the common list separators.
                   3286:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3287:   for pkg in $enableval; do
                   3288:     if test "X$pkg" = "X$p"; then
                   3289:       enable_shared=yes
                   3290:     fi
                   3291:   done
                   3292:   IFS="$ac_save_ifs"
                   3293:   ;;
                   3294: esac
                   3295: else
                   3296:   enable_shared=yes
                   3297: fi;
                   3298:      ;;
                   3299: esac
                   3300:
                   3301: case "$host" in
                   3302:  alpha-*-openbsd*)
                   3303:     machdep="alpha_mach_dep.lo"
                   3304:     if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
                   3305:        { echo "$as_me:3305: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
                   3306: echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
                   3307:     fi
                   3308:     ;;
                   3309:  alpha*-*-*)
                   3310:     machdep="alpha_mach_dep.lo"
                   3311:     ;;
                   3312:  i?86-*-solaris2.[89]*)
                   3313:     cat >>confdefs.h <<\EOF
                   3314: #define SOLARIS25_PROC_VDB_BUG_FIXED 1
                   3315: EOF
                   3316:
                   3317:     ;;
                   3318:  mipstx39-*-elf*)
                   3319:     machdep="mips_ultrix_mach_dep.lo"
                   3320:     cat >>confdefs.h <<\EOF
                   3321: #define STACKBASE __stackbase
                   3322: EOF
                   3323:
                   3324:     cat >>confdefs.h <<\EOF
                   3325: #define DATASTART_IS_ETEXT 1
                   3326: EOF
                   3327:
                   3328:     ;;
                   3329:  mips-dec-ultrix*)
                   3330:     machdep="mips_ultrix_mach-dep.lo"
                   3331:     ;;
                   3332:  mips-nec-sysv*|mips-unknown-sysv*)
                   3333:     ;;
                   3334:  mips-*-*)
                   3335:     machdep="mips_sgi_mach_dep.lo"
                   3336:     cat >>confdefs.h <<\EOF
                   3337: #define NO_EXECUTE_PERMISSION 1
                   3338: EOF
                   3339:
                   3340:     ;;
                   3341:  sparc-*-netbsd*)
                   3342:     machdep="sparc_netbsd_mach_dep.lo"
                   3343:     ;;
                   3344:  sparc-sun-solaris2.3*)
                   3345:     machdep="sparc_mach_dep.lo"
                   3346:     cat >>confdefs.h <<\EOF
                   3347: #define SUNOS53_SHARED_LIB 1
                   3348: EOF
                   3349:
                   3350:     ;;
                   3351:  sparc-sun-solaris2.*)
                   3352:     machdep="sparc_mach_dep.lo"
                   3353:     ;;
                   3354:  ia64-*-*)
                   3355:     machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
                   3356:     ;;
                   3357: esac
                   3358: if test x"$machdep" = x; then
                   3359:    machdep="mach_dep.lo"
                   3360: fi
                   3361: addobjs="$addobjs $machdep"
                   3362:
                   3363: # Check whether --enable-static or --disable-static was given.
                   3364: if test "${enable_static+set}" = set; then
                   3365:   enableval="$enable_static"
                   3366:   p=${PACKAGE-default}
                   3367: case $enableval in
                   3368: yes) enable_static=yes ;;
                   3369: no) enable_static=no ;;
                   3370: *)
                   3371:   enable_static=no
                   3372:   # Look at the argument we got.  We use all the common list separators.
                   3373:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3374:   for pkg in $enableval; do
                   3375:     if test "X$pkg" = "X$p"; then
                   3376:       enable_static=yes
                   3377:     fi
                   3378:   done
                   3379:   IFS="$ac_save_ifs"
                   3380:   ;;
                   3381: esac
                   3382: else
                   3383:   enable_static=yes
                   3384: fi;
                   3385: # Check whether --enable-fast-install or --disable-fast-install was given.
                   3386: if test "${enable_fast_install+set}" = set; then
                   3387:   enableval="$enable_fast_install"
                   3388:   p=${PACKAGE-default}
                   3389: case $enableval in
                   3390: yes) enable_fast_install=yes ;;
                   3391: no) enable_fast_install=no ;;
                   3392: *)
                   3393:   enable_fast_install=no
                   3394:   # Look at the argument we got.  We use all the common list separators.
                   3395:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3396:   for pkg in $enableval; do
                   3397:     if test "X$pkg" = "X$p"; then
                   3398:       enable_fast_install=yes
                   3399:     fi
                   3400:   done
                   3401:   IFS="$ac_save_ifs"
                   3402:   ;;
                   3403: esac
                   3404: else
                   3405:   enable_fast_install=yes
                   3406: fi;
                   3407: # Find the correct PATH separator.  Usually this is `:', but
                   3408: # DJGPP uses `;' like DOS.
                   3409: if test "X${PATH_SEPARATOR+set}" != Xset; then
                   3410:   UNAME=${UNAME-`uname 2>/dev/null`}
                   3411:   case X$UNAME in
                   3412:     *-DOS) lt_cv_sys_path_separator=';' ;;
                   3413:     *)     lt_cv_sys_path_separator=':' ;;
                   3414:   esac
                   3415:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                   3416: fi
                   3417:
                   3418: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3419: if test "${with_gnu_ld+set}" = set; then
                   3420:   withval="$with_gnu_ld"
                   3421:   test "$withval" = no || with_gnu_ld=yes
                   3422: else
                   3423:   with_gnu_ld=no
                   3424: fi;
                   3425: ac_prog=ld
                   3426: if test "$GCC" = yes; then
                   3427:   # Check if gcc -print-prog-name=ld gives a path.
                   3428:   echo "$as_me:3428: checking for ld used by GCC" >&5
                   3429: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
                   3430:   case $host in
                   3431:   *-*-mingw*)
                   3432:     # gcc leaves a trailing carriage return which upsets mingw
                   3433:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3434:   *)
                   3435:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3436:   esac
                   3437:   case $ac_prog in
                   3438:     # Accept absolute paths.
                   3439:     [\\/]* | [A-Za-z]:[\\/]*)
                   3440:       re_direlt='/[^/][^/]*/\.\./'
                   3441:       # Canonicalize the path of ld
                   3442:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   3443:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   3444:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   3445:       done
                   3446:       test -z "$LD" && LD="$ac_prog"
                   3447:       ;;
                   3448:   "")
                   3449:     # If it fails, then pretend we aren't using GCC.
                   3450:     ac_prog=ld
                   3451:     ;;
                   3452:   *)
                   3453:     # If it is relative, then search for the first ld in PATH.
                   3454:     with_gnu_ld=unknown
                   3455:     ;;
                   3456:   esac
                   3457: elif test "$with_gnu_ld" = yes; then
                   3458:   echo "$as_me:3458: checking for GNU ld" >&5
                   3459: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   3460: else
                   3461:   echo "$as_me:3461: checking for non-GNU ld" >&5
                   3462: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   3463: fi
                   3464: if test "${lt_cv_path_LD+set}" = set; then
                   3465:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3466: else
                   3467:   if test -z "$LD"; then
                   3468:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3469:   for ac_dir in $PATH; do
                   3470:     test -z "$ac_dir" && ac_dir=.
                   3471:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   3472:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   3473:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   3474:       # but apparently some GNU ld's only accept -v.
                   3475:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   3476:       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
                   3477:        test "$with_gnu_ld" != no && break
                   3478:       else
                   3479:        test "$with_gnu_ld" != yes && break
                   3480:       fi
                   3481:     fi
                   3482:   done
                   3483:   IFS="$ac_save_ifs"
                   3484: else
                   3485:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   3486: fi
                   3487: fi
                   3488:
                   3489: LD="$lt_cv_path_LD"
                   3490: if test -n "$LD"; then
                   3491:   echo "$as_me:3491: result: $LD" >&5
                   3492: echo "${ECHO_T}$LD" >&6
                   3493: else
                   3494:   echo "$as_me:3494: result: no" >&5
                   3495: echo "${ECHO_T}no" >&6
                   3496: fi
                   3497: test -z "$LD" && { { echo "$as_me:3497: error: no acceptable ld found in \$PATH" >&5
                   3498: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3499:    { (exit 1); exit 1; }; }
                   3500: echo "$as_me:3500: checking if the linker ($LD) is GNU ld" >&5
                   3501: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3502: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3503:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3504: else
                   3505:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   3506: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
                   3507:   lt_cv_prog_gnu_ld=yes
                   3508: else
                   3509:   lt_cv_prog_gnu_ld=no
                   3510: fi
                   3511: fi
                   3512: echo "$as_me:3512: result: $lt_cv_prog_gnu_ld" >&5
                   3513: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3514: with_gnu_ld=$lt_cv_prog_gnu_ld
                   3515:
                   3516: echo "$as_me:3516: checking for $LD option to reload object files" >&5
                   3517: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   3518: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   3519:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3520: else
                   3521:   lt_cv_ld_reload_flag='-r'
                   3522: fi
                   3523: echo "$as_me:3523: result: $lt_cv_ld_reload_flag" >&5
                   3524: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   3525: reload_flag=$lt_cv_ld_reload_flag
                   3526: test -n "$reload_flag" && reload_flag=" $reload_flag"
                   3527:
                   3528: echo "$as_me:3528: checking for BSD-compatible nm" >&5
                   3529: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
                   3530: if test "${lt_cv_path_NM+set}" = set; then
                   3531:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3532: else
                   3533:   if test -n "$NM"; then
                   3534:   # Let the user override the test.
                   3535:   lt_cv_path_NM="$NM"
                   3536: else
                   3537:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3538:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   3539:     test -z "$ac_dir" && ac_dir=.
                   3540:     tmp_nm=$ac_dir/${ac_tool_prefix}nm
                   3541:     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
                   3542:       # Check to see if the nm accepts a BSD-compat flag.
                   3543:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3544:       #   nm: unknown option "B" ignored
                   3545:       # Tru64's nm complains that /dev/null is an invalid object file
                   3546:       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
                   3547:        lt_cv_path_NM="$tmp_nm -B"
                   3548:        break
                   3549:       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   3550:        lt_cv_path_NM="$tmp_nm -p"
                   3551:        break
                   3552:       else
                   3553:        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   3554:        continue # so that we can try to find one that supports BSD flags
                   3555:       fi
                   3556:     fi
                   3557:   done
                   3558:   IFS="$ac_save_ifs"
                   3559:   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
                   3560: fi
                   3561: fi
                   3562:
                   3563: NM="$lt_cv_path_NM"
                   3564: echo "$as_me:3564: result: $NM" >&5
                   3565: echo "${ECHO_T}$NM" >&6
                   3566:
                   3567: echo "$as_me:3567: checking whether ln -s works" >&5
                   3568: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   3569: LN_S=$as_ln_s
                   3570: if test "$LN_S" = "ln -s"; then
                   3571:   echo "$as_me:3571: result: yes" >&5
                   3572: echo "${ECHO_T}yes" >&6
                   3573: else
                   3574:   echo "$as_me:3574: result: no, using $LN_S" >&5
                   3575: echo "${ECHO_T}no, using $LN_S" >&6
                   3576: fi
                   3577:
                   3578: echo "$as_me:3578: checking how to recognise dependant libraries" >&5
                   3579: echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
                   3580: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   3581:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3582: else
                   3583:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   3584: lt_cv_file_magic_test_file=
                   3585: lt_cv_deplibs_check_method='unknown'
                   3586: # Need to set the preceding variable on all platforms that support
                   3587: # interlibrary dependencies.
                   3588: # 'none' -- dependencies not supported.
                   3589: # `unknown' -- same as none, but documents that we really don't know.
                   3590: # 'pass_all' -- all dependencies passed with no checks.
                   3591: # 'test_compile' -- check by making test program.
                   3592: # 'file_magic [[regex]]' -- check by looking for files in library path
                   3593: # which responds to the $file_magic_cmd with a given egrep regex.
                   3594: # If you have `file' or equivalent on your system and you're not sure
                   3595: # whether `pass_all' will *always* work, you probably want this one.
                   3596:
                   3597: case $host_os in
                   3598: aix4* | aix5*)
                   3599:   lt_cv_deplibs_check_method=pass_all
                   3600:   ;;
                   3601:
                   3602: beos*)
                   3603:   lt_cv_deplibs_check_method=pass_all
                   3604:   ;;
                   3605:
                   3606: bsdi4*)
                   3607:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   3608:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3609:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3610:   ;;
                   3611:
                   3612: cygwin* | mingw* | pw32*)
                   3613:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
                   3614:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   3615:   ;;
                   3616:
                   3617: darwin* | rhapsody*)
                   3618:   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
                   3619:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3620:   case "$host_os" in
                   3621:   rhapsody* | darwin1.[012])
                   3622:     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
                   3623:     ;;
                   3624:   *) # Darwin 1.3 on
                   3625:     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
                   3626:     ;;
                   3627:   esac
                   3628:   ;;
                   3629:
                   3630: freebsd*)
                   3631:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3632:     case $host_cpu in
                   3633:     i*86 )
                   3634:       # Not sure whether the presence of OpenBSD here was a mistake.
                   3635:       # Let's accept both of them until this is cleared up.
                   3636:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
                   3637:       lt_cv_file_magic_cmd=/usr/bin/file
                   3638:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   3639:       ;;
                   3640:     esac
                   3641:   else
                   3642:     lt_cv_deplibs_check_method=pass_all
                   3643:   fi
                   3644:   ;;
                   3645:
                   3646: gnu*)
                   3647:   lt_cv_deplibs_check_method=pass_all
                   3648:   ;;
                   3649:
                   3650: hpux10.20*|hpux11*)
                   3651:   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
                   3652:   lt_cv_file_magic_cmd=/usr/bin/file
                   3653:   lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   3654:   ;;
                   3655:
                   3656: irix5* | irix6*)
                   3657:   case $host_os in
                   3658:   irix5*)
                   3659:     # this will be overridden with pass_all, but let us keep it just in case
                   3660:     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
                   3661:     ;;
                   3662:   *)
                   3663:     case $LD in
                   3664:     *-32|*"-32 ") libmagic=32-bit;;
                   3665:     *-n32|*"-n32 ") libmagic=N32;;
                   3666:     *-64|*"-64 ") libmagic=64-bit;;
                   3667:     *) libmagic=never-match;;
                   3668:     esac
                   3669:     # this will be overridden with pass_all, but let us keep it just in case
                   3670:     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
                   3671:     ;;
                   3672:   esac
                   3673:   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
                   3674:   lt_cv_deplibs_check_method=pass_all
                   3675:   ;;
                   3676:
                   3677: # This must be Linux ELF.
                   3678: linux-gnu*)
                   3679:   case $host_cpu in
                   3680:   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
                   3681:     lt_cv_deplibs_check_method=pass_all ;;
                   3682:   *)
                   3683:     # glibc up to 2.1.1 does not perform some relocations on ARM
                   3684:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
                   3685:   esac
                   3686:   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
                   3687:   ;;
                   3688:
                   3689: netbsd*)
                   3690:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3691:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
                   3692:   else
                   3693:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
                   3694:   fi
                   3695:   ;;
                   3696:
                   3697: newos6*)
                   3698:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   3699:   lt_cv_file_magic_cmd=/usr/bin/file
                   3700:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   3701:   ;;
                   3702:
                   3703: openbsd*)
                   3704:   lt_cv_file_magic_cmd=/usr/bin/file
                   3705:   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   3706:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   3707:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
                   3708:   else
                   3709:     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
                   3710:   fi
                   3711:   ;;
                   3712:
                   3713: osf3* | osf4* | osf5*)
                   3714:   # this will be overridden with pass_all, but let us keep it just in case
                   3715:   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
                   3716:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3717:   lt_cv_deplibs_check_method=pass_all
                   3718:   ;;
                   3719:
                   3720: sco3.2v5*)
                   3721:   lt_cv_deplibs_check_method=pass_all
                   3722:   ;;
                   3723:
                   3724: solaris*)
                   3725:   lt_cv_deplibs_check_method=pass_all
                   3726:   lt_cv_file_magic_test_file=/lib/libc.so
                   3727:   ;;
                   3728:
                   3729: sysv5uw[78]* | sysv4*uw2*)
                   3730:   lt_cv_deplibs_check_method=pass_all
                   3731:   ;;
                   3732:
                   3733: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   3734:   case $host_vendor in
                   3735:   motorola)
                   3736:     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]'
                   3737:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   3738:     ;;
                   3739:   ncr)
                   3740:     lt_cv_deplibs_check_method=pass_all
                   3741:     ;;
                   3742:   sequent)
                   3743:     lt_cv_file_magic_cmd='/bin/file'
                   3744:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   3745:     ;;
                   3746:   sni)
                   3747:     lt_cv_file_magic_cmd='/bin/file'
                   3748:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   3749:     lt_cv_file_magic_test_file=/lib/libc.so
                   3750:     ;;
                   3751:   esac
                   3752:   ;;
                   3753: esac
                   3754:
                   3755: fi
                   3756: echo "$as_me:3756: result: $lt_cv_deplibs_check_method" >&5
                   3757: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   3758: file_magic_cmd=$lt_cv_file_magic_cmd
                   3759: deplibs_check_method=$lt_cv_deplibs_check_method
                   3760:
                   3761: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   3762: echo "$as_me:3762: checking command to parse $NM output" >&5
                   3763: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
                   3764: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   3765:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3766: else
                   3767:
                   3768: # These are sane defaults that work on at least a few old systems.
                   3769: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   3770:
                   3771: # Character class describing NM global symbol codes.
                   3772: symcode='[BCDEGRST]'
                   3773:
                   3774: # Regexp to match symbols that can be accessed directly from C.
                   3775: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   3776:
                   3777: # Transform the above into a raw symbol and a C symbol.
                   3778: symxfrm='\1 \2\3 \3'
                   3779:
                   3780: # Transform an extracted symbol line into a proper C declaration
                   3781: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
                   3782:
                   3783: # Transform an extracted symbol line into symbol name and symbol address
                   3784: lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
                   3785:
                   3786: # Define system-specific variables.
                   3787: case $host_os in
                   3788: aix*)
                   3789:   symcode='[BCDT]'
                   3790:   ;;
                   3791: cygwin* | mingw* | pw32*)
                   3792:   symcode='[ABCDGISTW]'
                   3793:   ;;
                   3794: hpux*) # Its linker distinguishes data from code symbols
                   3795:   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   3796:   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
                   3797:   ;;
                   3798: irix*)
                   3799:   symcode='[BCDEGRST]'
                   3800:   ;;
                   3801: solaris* | sysv5*)
                   3802:   symcode='[BDT]'
                   3803:   ;;
                   3804: sysv4)
                   3805:   symcode='[DFNSTU]'
                   3806:   ;;
                   3807: esac
                   3808:
                   3809: # Handle CRLF in mingw tool chain
                   3810: opt_cr=
                   3811: case $host_os in
                   3812: mingw*)
                   3813:   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   3814:   ;;
                   3815: esac
                   3816:
                   3817: # If we're using GNU nm, then use its standard symbol codes.
                   3818: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
                   3819:   symcode='[ABCDGISTW]'
                   3820: fi
                   3821:
                   3822: # Try without a prefix undercore, then with it.
                   3823: for ac_symprfx in "" "_"; do
                   3824:
                   3825:   # Write the raw and C identifiers.
                   3826: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[        ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
                   3827:
                   3828:   # Check to see that the pipe works correctly.
                   3829:   pipe_works=no
                   3830:   rm -f conftest*
                   3831:   cat > conftest.$ac_ext <<EOF
                   3832: #ifdef __cplusplus
                   3833: extern "C" {
                   3834: #endif
                   3835: char nm_test_var;
                   3836: void nm_test_func(){}
                   3837: #ifdef __cplusplus
                   3838: }
                   3839: #endif
                   3840: int main(){nm_test_var='a';nm_test_func();return(0);}
                   3841: EOF
                   3842:
                   3843:   if { (eval echo "$as_me:3843: \"$ac_compile\"") >&5
                   3844:   (eval $ac_compile) 2>&5
                   3845:   ac_status=$?
                   3846:   echo "$as_me:3846: \$? = $ac_status" >&5
                   3847:   (exit $ac_status); }; then
                   3848:     # Now try to grab the symbols.
                   3849:     nlist=conftest.nm
                   3850:     if { (eval echo "$as_me:3850: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
                   3851:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
                   3852:   ac_status=$?
                   3853:   echo "$as_me:3853: \$? = $ac_status" >&5
                   3854:   (exit $ac_status); } && test -s "$nlist"; then
                   3855:       # Try sorting and uniquifying the output.
                   3856:       if sort "$nlist" | uniq > "$nlist"T; then
                   3857:        mv -f "$nlist"T "$nlist"
                   3858:       else
                   3859:        rm -f "$nlist"T
                   3860:       fi
                   3861:
                   3862:       # Make sure that we snagged all the symbols we need.
                   3863:       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
                   3864:        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
                   3865:          cat <<EOF > conftest.$ac_ext
                   3866: #ifdef __cplusplus
                   3867: extern "C" {
                   3868: #endif
                   3869:
                   3870: EOF
                   3871:          # Now generate the symbol file.
                   3872:          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
                   3873:
                   3874:          cat <<EOF >> conftest.$ac_ext
                   3875: #if defined (__STDC__) && __STDC__
                   3876: # define lt_ptr void *
                   3877: #else
                   3878: # define lt_ptr char *
                   3879: # define const
                   3880: #endif
                   3881:
                   3882: /* The mapping between symbol names and symbols. */
                   3883: const struct {
                   3884:   const char *name;
                   3885:   lt_ptr address;
                   3886: }
                   3887: lt_preloaded_symbols[] =
                   3888: {
                   3889: EOF
                   3890:          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
                   3891:          cat <<\EOF >> conftest.$ac_ext
                   3892:   {0, (lt_ptr) 0}
                   3893: };
                   3894:
                   3895: #ifdef __cplusplus
                   3896: }
                   3897: #endif
                   3898: EOF
                   3899:          # Now try linking the two files.
                   3900:          mv conftest.$ac_objext conftstm.$ac_objext
                   3901:          save_LIBS="$LIBS"
                   3902:          save_CFLAGS="$CFLAGS"
                   3903:          LIBS="conftstm.$ac_objext"
                   3904:          CFLAGS="$CFLAGS$no_builtin_flag"
                   3905:          if { (eval echo "$as_me:3905: \"$ac_link\"") >&5
                   3906:   (eval $ac_link) 2>&5
                   3907:   ac_status=$?
                   3908:   echo "$as_me:3908: \$? = $ac_status" >&5
                   3909:   (exit $ac_status); } && test -s conftest; then
                   3910:            pipe_works=yes
                   3911:          fi
                   3912:          LIBS="$save_LIBS"
                   3913:          CFLAGS="$save_CFLAGS"
                   3914:        else
                   3915:          echo "cannot find nm_test_func in $nlist" >&5
                   3916:        fi
                   3917:       else
                   3918:        echo "cannot find nm_test_var in $nlist" >&5
                   3919:       fi
                   3920:     else
                   3921:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   3922:     fi
                   3923:   else
                   3924:     echo "$progname: failed program was:" >&5
                   3925:     cat conftest.$ac_ext >&5
                   3926:   fi
                   3927:   rm -f conftest* conftst*
                   3928:
                   3929:   # Do not use the global_symbol_pipe unless it works.
                   3930:   if test "$pipe_works" = yes; then
                   3931:     break
                   3932:   else
                   3933:     lt_cv_sys_global_symbol_pipe=
                   3934:   fi
                   3935: done
                   3936:
                   3937: fi
                   3938:
                   3939: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
                   3940: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   3941:   global_symbol_to_cdecl=
                   3942:   global_symbol_to_c_name_address=
                   3943: else
                   3944:   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
                   3945:   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
                   3946: fi
                   3947: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
                   3948: then
                   3949:   echo "$as_me:3949: result: failed" >&5
                   3950: echo "${ECHO_T}failed" >&6
                   3951: else
                   3952:   echo "$as_me:3952: result: ok" >&5
                   3953: echo "${ECHO_T}ok" >&6
                   3954: fi
                   3955:
                   3956: ac_ext=c
                   3957: ac_cpp='$CPP $CPPFLAGS'
                   3958: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3959: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3960: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3961: echo "$as_me:3961: checking how to run the C preprocessor" >&5
                   3962: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   3963: # On Suns, sometimes $CPP names a directory.
                   3964: if test -n "$CPP" && test -d "$CPP"; then
                   3965:   CPP=
                   3966: fi
                   3967: if test -z "$CPP"; then
                   3968:   if test "${ac_cv_prog_CPP+set}" = set; then
                   3969:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3970: else
                   3971:       # Double quotes because CPP needs to be expanded
                   3972:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3973:     do
                   3974:       ac_preproc_ok=false
                   3975: for ac_c_preproc_warn_flag in '' yes
                   3976: do
                   3977:   # Use a header file that comes with gcc, so configuring glibc
                   3978:   # with a fresh cross-compiler works.
                   3979:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3980:   # not just through cpp. "Syntax error" is here to catch this case.
                   3981:   cat >conftest.$ac_ext <<_ACEOF
                   3982: #line 3982 "configure"
                   3983: #include "confdefs.h"
                   3984: #include <assert.h>
                   3985:                      Syntax error
                   3986: _ACEOF
                   3987: if { (eval echo "$as_me:3987: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3988:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3989:   ac_status=$?
                   3990:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   3991:   rm -f conftest.er1
                   3992:   cat conftest.err >&5
                   3993:   echo "$as_me:3993: \$? = $ac_status" >&5
                   3994:   (exit $ac_status); } >/dev/null; then
                   3995:   if test -s conftest.err; then
                   3996:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3997:   else
                   3998:     ac_cpp_err=
                   3999:   fi
                   4000: else
                   4001:   ac_cpp_err=yes
                   4002: fi
                   4003: if test -z "$ac_cpp_err"; then
                   4004:   :
                   4005: else
                   4006:   echo "$as_me: failed program was:" >&5
                   4007:   cat conftest.$ac_ext >&5
                   4008:   # Broken: fails on valid input.
                   4009: continue
                   4010: fi
                   4011: rm -f conftest.err conftest.$ac_ext
                   4012:
                   4013:   # OK, works on sane cases.  Now check whether non-existent headers
                   4014:   # can be detected and how.
                   4015:   cat >conftest.$ac_ext <<_ACEOF
                   4016: #line 4016 "configure"
                   4017: #include "confdefs.h"
                   4018: #include <ac_nonexistent.h>
                   4019: _ACEOF
                   4020: if { (eval echo "$as_me:4020: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4021:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4022:   ac_status=$?
                   4023:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   4024:   rm -f conftest.er1
                   4025:   cat conftest.err >&5
                   4026:   echo "$as_me:4026: \$? = $ac_status" >&5
                   4027:   (exit $ac_status); } >/dev/null; then
                   4028:   if test -s conftest.err; then
                   4029:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4030:   else
                   4031:     ac_cpp_err=
                   4032:   fi
                   4033: else
                   4034:   ac_cpp_err=yes
                   4035: fi
                   4036: if test -z "$ac_cpp_err"; then
                   4037:   # Broken: success on invalid input.
                   4038: continue
                   4039: else
                   4040:   echo "$as_me: failed program was:" >&5
                   4041:   cat conftest.$ac_ext >&5
                   4042:   # Passes both tests.
                   4043: ac_preproc_ok=:
                   4044: break
                   4045: fi
                   4046: rm -f conftest.err conftest.$ac_ext
                   4047:
                   4048: done
                   4049: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4050: rm -f conftest.err conftest.$ac_ext
                   4051: if $ac_preproc_ok; then
                   4052:   break
                   4053: fi
                   4054:
                   4055:     done
                   4056:     ac_cv_prog_CPP=$CPP
                   4057:
                   4058: fi
                   4059:   CPP=$ac_cv_prog_CPP
                   4060: else
                   4061:   ac_cv_prog_CPP=$CPP
                   4062: fi
                   4063: echo "$as_me:4063: result: $CPP" >&5
                   4064: echo "${ECHO_T}$CPP" >&6
                   4065: ac_preproc_ok=false
                   4066: for ac_c_preproc_warn_flag in '' yes
                   4067: do
                   4068:   # Use a header file that comes with gcc, so configuring glibc
                   4069:   # with a fresh cross-compiler works.
                   4070:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4071:   # not just through cpp. "Syntax error" is here to catch this case.
                   4072:   cat >conftest.$ac_ext <<_ACEOF
                   4073: #line 4073 "configure"
                   4074: #include "confdefs.h"
                   4075: #include <assert.h>
                   4076:                      Syntax error
                   4077: _ACEOF
                   4078: if { (eval echo "$as_me:4078: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4079:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4080:   ac_status=$?
                   4081:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   4082:   rm -f conftest.er1
                   4083:   cat conftest.err >&5
                   4084:   echo "$as_me:4084: \$? = $ac_status" >&5
                   4085:   (exit $ac_status); } >/dev/null; then
                   4086:   if test -s conftest.err; then
                   4087:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4088:   else
                   4089:     ac_cpp_err=
                   4090:   fi
                   4091: else
                   4092:   ac_cpp_err=yes
                   4093: fi
                   4094: if test -z "$ac_cpp_err"; then
                   4095:   :
                   4096: else
                   4097:   echo "$as_me: failed program was:" >&5
                   4098:   cat conftest.$ac_ext >&5
                   4099:   # Broken: fails on valid input.
                   4100: continue
                   4101: fi
                   4102: rm -f conftest.err conftest.$ac_ext
                   4103:
                   4104:   # OK, works on sane cases.  Now check whether non-existent headers
                   4105:   # can be detected and how.
                   4106:   cat >conftest.$ac_ext <<_ACEOF
                   4107: #line 4107 "configure"
                   4108: #include "confdefs.h"
                   4109: #include <ac_nonexistent.h>
                   4110: _ACEOF
                   4111: if { (eval echo "$as_me:4111: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4112:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4113:   ac_status=$?
                   4114:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   4115:   rm -f conftest.er1
                   4116:   cat conftest.err >&5
                   4117:   echo "$as_me:4117: \$? = $ac_status" >&5
                   4118:   (exit $ac_status); } >/dev/null; then
                   4119:   if test -s conftest.err; then
                   4120:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4121:   else
                   4122:     ac_cpp_err=
                   4123:   fi
                   4124: else
                   4125:   ac_cpp_err=yes
                   4126: fi
                   4127: if test -z "$ac_cpp_err"; then
                   4128:   # Broken: success on invalid input.
                   4129: continue
                   4130: else
                   4131:   echo "$as_me: failed program was:" >&5
                   4132:   cat conftest.$ac_ext >&5
                   4133:   # Passes both tests.
                   4134: ac_preproc_ok=:
                   4135: break
                   4136: fi
                   4137: rm -f conftest.err conftest.$ac_ext
                   4138:
                   4139: done
                   4140: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4141: rm -f conftest.err conftest.$ac_ext
                   4142: if $ac_preproc_ok; then
                   4143:   :
                   4144: else
                   4145:   { { echo "$as_me:4145: error: C preprocessor \"$CPP\" fails sanity check" >&5
                   4146: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
                   4147:    { (exit 1); exit 1; }; }
                   4148: fi
                   4149:
                   4150: ac_ext=c
                   4151: ac_cpp='$CPP $CPPFLAGS'
                   4152: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4153: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4154: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4155:
                   4156: for ac_header in dlfcn.h
                   4157: do
                   4158: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4159: echo "$as_me:4159: checking for $ac_header" >&5
                   4160: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4161: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4162:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4163: else
                   4164:   cat >conftest.$ac_ext <<_ACEOF
                   4165: #line 4165 "configure"
                   4166: #include "confdefs.h"
                   4167: #include <$ac_header>
                   4168: _ACEOF
                   4169: if { (eval echo "$as_me:4169: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4170:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4171:   ac_status=$?
                   4172:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   4173:   rm -f conftest.er1
                   4174:   cat conftest.err >&5
                   4175:   echo "$as_me:4175: \$? = $ac_status" >&5
                   4176:   (exit $ac_status); } >/dev/null; then
                   4177:   if test -s conftest.err; then
                   4178:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4179:   else
                   4180:     ac_cpp_err=
                   4181:   fi
                   4182: else
                   4183:   ac_cpp_err=yes
                   4184: fi
                   4185: if test -z "$ac_cpp_err"; then
                   4186:   eval "$as_ac_Header=yes"
                   4187: else
                   4188:   echo "$as_me: failed program was:" >&5
                   4189:   cat conftest.$ac_ext >&5
                   4190:   eval "$as_ac_Header=no"
                   4191: fi
                   4192: rm -f conftest.err conftest.$ac_ext
                   4193: fi
                   4194: echo "$as_me:4194: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4195: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4196: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4197:   cat >>confdefs.h <<EOF
                   4198: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4199: EOF
                   4200:
                   4201: fi
                   4202: done
                   4203:
                   4204: # Only perform the check for file, if the check method requires it
                   4205: case $deplibs_check_method in
                   4206: file_magic*)
                   4207:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   4208:     echo "$as_me:4208: checking for ${ac_tool_prefix}file" >&5
                   4209: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   4210: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4211:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4212: else
                   4213:   case $MAGIC_CMD in
                   4214:   /*)
                   4215:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4216:   ;;
                   4217:   ?:/*)
                   4218:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4219:   ;;
                   4220:   *)
                   4221:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4222:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4223:   ac_dummy="/usr/bin:$PATH"
                   4224:   for ac_dir in $ac_dummy; do
                   4225:     test -z "$ac_dir" && ac_dir=.
                   4226:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   4227:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   4228:       if test -n "$file_magic_test_file"; then
                   4229:        case $deplibs_check_method in
                   4230:        "file_magic "*)
                   4231:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4232:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4233:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4234:            egrep "$file_magic_regex" > /dev/null; then
                   4235:            :
                   4236:          else
                   4237:            cat <<EOF 1>&2
                   4238:
                   4239: *** Warning: the command libtool uses to detect shared libraries,
                   4240: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4241: *** The result is that libtool may fail to recognize shared libraries
                   4242: *** as such.  This will affect the creation of libtool libraries that
                   4243: *** depend on shared libraries, but programs linked with such libtool
                   4244: *** libraries will work regardless of this problem.  Nevertheless, you
                   4245: *** may want to report the problem to your system manager and/or to
                   4246: *** bug-libtool@gnu.org
                   4247:
                   4248: EOF
                   4249:          fi ;;
                   4250:        esac
                   4251:       fi
                   4252:       break
                   4253:     fi
                   4254:   done
                   4255:   IFS="$ac_save_ifs"
                   4256:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4257:   ;;
                   4258: esac
                   4259: fi
                   4260:
                   4261: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4262: if test -n "$MAGIC_CMD"; then
                   4263:   echo "$as_me:4263: result: $MAGIC_CMD" >&5
                   4264: echo "${ECHO_T}$MAGIC_CMD" >&6
                   4265: else
                   4266:   echo "$as_me:4266: result: no" >&5
                   4267: echo "${ECHO_T}no" >&6
                   4268: fi
                   4269:
                   4270: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   4271:   if test -n "$ac_tool_prefix"; then
                   4272:     echo "$as_me:4272: checking for file" >&5
                   4273: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   4274: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4275:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4276: else
                   4277:   case $MAGIC_CMD in
                   4278:   /*)
                   4279:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4280:   ;;
                   4281:   ?:/*)
                   4282:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4283:   ;;
                   4284:   *)
                   4285:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4286:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4287:   ac_dummy="/usr/bin:$PATH"
                   4288:   for ac_dir in $ac_dummy; do
                   4289:     test -z "$ac_dir" && ac_dir=.
                   4290:     if test -f $ac_dir/file; then
                   4291:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   4292:       if test -n "$file_magic_test_file"; then
                   4293:        case $deplibs_check_method in
                   4294:        "file_magic "*)
                   4295:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4296:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4297:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4298:            egrep "$file_magic_regex" > /dev/null; then
                   4299:            :
                   4300:          else
                   4301:            cat <<EOF 1>&2
                   4302:
                   4303: *** Warning: the command libtool uses to detect shared libraries,
                   4304: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4305: *** The result is that libtool may fail to recognize shared libraries
                   4306: *** as such.  This will affect the creation of libtool libraries that
                   4307: *** depend on shared libraries, but programs linked with such libtool
                   4308: *** libraries will work regardless of this problem.  Nevertheless, you
                   4309: *** may want to report the problem to your system manager and/or to
                   4310: *** bug-libtool@gnu.org
                   4311:
                   4312: EOF
                   4313:          fi ;;
                   4314:        esac
                   4315:       fi
                   4316:       break
                   4317:     fi
                   4318:   done
                   4319:   IFS="$ac_save_ifs"
                   4320:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4321:   ;;
                   4322: esac
                   4323: fi
                   4324:
                   4325: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4326: if test -n "$MAGIC_CMD"; then
                   4327:   echo "$as_me:4327: result: $MAGIC_CMD" >&5
                   4328: echo "${ECHO_T}$MAGIC_CMD" >&6
                   4329: else
                   4330:   echo "$as_me:4330: result: no" >&5
                   4331: echo "${ECHO_T}no" >&6
                   4332: fi
                   4333:
                   4334:   else
                   4335:     MAGIC_CMD=:
                   4336:   fi
                   4337: fi
                   4338:
                   4339:   fi
                   4340:   ;;
                   4341: esac
                   4342:
                   4343: if test -n "$ac_tool_prefix"; then
                   4344:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   4345: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   4346: echo "$as_me:4346: checking for $ac_word" >&5
                   4347: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4348: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   4349:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4350: else
                   4351:   if test -n "$RANLIB"; then
                   4352:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   4353: else
                   4354:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   4355: ac_dummy="$PATH"
                   4356: for ac_dir in $ac_dummy; do
                   4357:   IFS=$ac_save_IFS
                   4358:   test -z "$ac_dir" && ac_dir=.
                   4359:   $as_executable_p "$ac_dir/$ac_word" || continue
                   4360: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   4361: echo "$as_me:4361: found $ac_dir/$ac_word" >&5
                   4362: break
                   4363: done
                   4364:
                   4365: fi
                   4366: fi
                   4367: RANLIB=$ac_cv_prog_RANLIB
                   4368: if test -n "$RANLIB"; then
                   4369:   echo "$as_me:4369: result: $RANLIB" >&5
                   4370: echo "${ECHO_T}$RANLIB" >&6
                   4371: else
                   4372:   echo "$as_me:4372: result: no" >&5
                   4373: echo "${ECHO_T}no" >&6
                   4374: fi
                   4375:
                   4376: fi
                   4377: if test -z "$ac_cv_prog_RANLIB"; then
                   4378:   ac_ct_RANLIB=$RANLIB
                   4379:   # Extract the first word of "ranlib", so it can be a program name with args.
                   4380: set dummy ranlib; ac_word=$2
                   4381: echo "$as_me:4381: checking for $ac_word" >&5
                   4382: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4383: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   4384:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4385: else
                   4386:   if test -n "$ac_ct_RANLIB"; then
                   4387:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   4388: else
                   4389:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   4390: ac_dummy="$PATH"
                   4391: for ac_dir in $ac_dummy; do
                   4392:   IFS=$ac_save_IFS
                   4393:   test -z "$ac_dir" && ac_dir=.
                   4394:   $as_executable_p "$ac_dir/$ac_word" || continue
                   4395: ac_cv_prog_ac_ct_RANLIB="ranlib"
                   4396: echo "$as_me:4396: found $ac_dir/$ac_word" >&5
                   4397: break
                   4398: done
                   4399:
                   4400:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   4401: fi
                   4402: fi
                   4403: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   4404: if test -n "$ac_ct_RANLIB"; then
                   4405:   echo "$as_me:4405: result: $ac_ct_RANLIB" >&5
                   4406: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   4407: else
                   4408:   echo "$as_me:4408: result: no" >&5
                   4409: echo "${ECHO_T}no" >&6
                   4410: fi
                   4411:
                   4412:   RANLIB=$ac_ct_RANLIB
                   4413: else
                   4414:   RANLIB="$ac_cv_prog_RANLIB"
                   4415: fi
                   4416:
                   4417: if test -n "$ac_tool_prefix"; then
                   4418:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   4419: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   4420: echo "$as_me:4420: checking for $ac_word" >&5
                   4421: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4422: if test "${ac_cv_prog_STRIP+set}" = set; then
                   4423:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4424: else
                   4425:   if test -n "$STRIP"; then
                   4426:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   4427: else
                   4428:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   4429: ac_dummy="$PATH"
                   4430: for ac_dir in $ac_dummy; do
                   4431:   IFS=$ac_save_IFS
                   4432:   test -z "$ac_dir" && ac_dir=.
                   4433:   $as_executable_p "$ac_dir/$ac_word" || continue
                   4434: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   4435: echo "$as_me:4435: found $ac_dir/$ac_word" >&5
                   4436: break
                   4437: done
                   4438:
                   4439: fi
                   4440: fi
                   4441: STRIP=$ac_cv_prog_STRIP
                   4442: if test -n "$STRIP"; then
                   4443:   echo "$as_me:4443: result: $STRIP" >&5
                   4444: echo "${ECHO_T}$STRIP" >&6
                   4445: else
                   4446:   echo "$as_me:4446: result: no" >&5
                   4447: echo "${ECHO_T}no" >&6
                   4448: fi
                   4449:
                   4450: fi
                   4451: if test -z "$ac_cv_prog_STRIP"; then
                   4452:   ac_ct_STRIP=$STRIP
                   4453:   # Extract the first word of "strip", so it can be a program name with args.
                   4454: set dummy strip; ac_word=$2
                   4455: echo "$as_me:4455: checking for $ac_word" >&5
                   4456: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4457: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   4458:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4459: else
                   4460:   if test -n "$ac_ct_STRIP"; then
                   4461:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   4462: else
                   4463:   ac_save_IFS=$IFS; IFS=$ac_path_separator
                   4464: ac_dummy="$PATH"
                   4465: for ac_dir in $ac_dummy; do
                   4466:   IFS=$ac_save_IFS
                   4467:   test -z "$ac_dir" && ac_dir=.
                   4468:   $as_executable_p "$ac_dir/$ac_word" || continue
                   4469: ac_cv_prog_ac_ct_STRIP="strip"
                   4470: echo "$as_me:4470: found $ac_dir/$ac_word" >&5
                   4471: break
                   4472: done
                   4473:
                   4474:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   4475: fi
                   4476: fi
                   4477: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   4478: if test -n "$ac_ct_STRIP"; then
                   4479:   echo "$as_me:4479: result: $ac_ct_STRIP" >&5
                   4480: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   4481: else
                   4482:   echo "$as_me:4482: result: no" >&5
                   4483: echo "${ECHO_T}no" >&6
                   4484: fi
                   4485:
                   4486:   STRIP=$ac_ct_STRIP
                   4487: else
                   4488:   STRIP="$ac_cv_prog_STRIP"
                   4489: fi
                   4490:
                   4491: enable_dlopen=no
                   4492: enable_win32_dll=no
                   4493:
                   4494: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   4495: if test "${enable_libtool_lock+set}" = set; then
                   4496:   enableval="$enable_libtool_lock"
                   4497:
                   4498: fi;
                   4499: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   4500:
                   4501: # Some flags need to be propagated to the compiler or linker for good
                   4502: # libtool support.
                   4503: case $host in
                   4504: *-*-irix6*)
                   4505:   # Find out which ABI we are using.
                   4506:   echo '#line 4506 "configure"' > conftest.$ac_ext
                   4507:   if { (eval echo "$as_me:4507: \"$ac_compile\"") >&5
                   4508:   (eval $ac_compile) 2>&5
                   4509:   ac_status=$?
                   4510:   echo "$as_me:4510: \$? = $ac_status" >&5
                   4511:   (exit $ac_status); }; then
                   4512:     case `/usr/bin/file conftest.$ac_objext` in
                   4513:     *32-bit*)
                   4514:       LD="${LD-ld} -32"
                   4515:       ;;
                   4516:     *N32*)
                   4517:       LD="${LD-ld} -n32"
                   4518:       ;;
                   4519:     *64-bit*)
                   4520:       LD="${LD-ld} -64"
                   4521:       ;;
                   4522:     esac
                   4523:   fi
                   4524:   rm -rf conftest*
                   4525:   ;;
                   4526:
                   4527: *-*-sco3.2v5*)
                   4528:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   4529:   SAVE_CFLAGS="$CFLAGS"
                   4530:   CFLAGS="$CFLAGS -belf"
                   4531:   echo "$as_me:4531: checking whether the C compiler needs -belf" >&5
                   4532: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   4533: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   4534:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4535: else
                   4536:
                   4537:      ac_ext=c
                   4538: ac_cpp='$CPP $CPPFLAGS'
                   4539: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4540: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4541: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4542:
                   4543:      cat >conftest.$ac_ext <<_ACEOF
                   4544: #line 4544 "configure"
                   4545: #include "confdefs.h"
                   4546:
                   4547: int
                   4548: main ()
                   4549: {
                   4550:
                   4551:   ;
                   4552:   return 0;
                   4553: }
                   4554: _ACEOF
                   4555: rm -f conftest.$ac_objext conftest$ac_exeext
                   4556: if { (eval echo "$as_me:4556: \"$ac_link\"") >&5
                   4557:   (eval $ac_link) 2>&5
                   4558:   ac_status=$?
                   4559:   echo "$as_me:4559: \$? = $ac_status" >&5
                   4560:   (exit $ac_status); } &&
                   4561:          { ac_try='test -s conftest$ac_exeext'
                   4562:   { (eval echo "$as_me:4562: \"$ac_try\"") >&5
                   4563:   (eval $ac_try) 2>&5
                   4564:   ac_status=$?
                   4565:   echo "$as_me:4565: \$? = $ac_status" >&5
                   4566:   (exit $ac_status); }; }; then
                   4567:   lt_cv_cc_needs_belf=yes
                   4568: else
                   4569:   echo "$as_me: failed program was:" >&5
                   4570: cat conftest.$ac_ext >&5
                   4571: lt_cv_cc_needs_belf=no
                   4572: fi
                   4573: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4574:      ac_ext=c
                   4575: ac_cpp='$CPP $CPPFLAGS'
                   4576: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4577: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4578: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4579:
                   4580: fi
                   4581: echo "$as_me:4581: result: $lt_cv_cc_needs_belf" >&5
                   4582: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   4583:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   4584:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   4585:     CFLAGS="$SAVE_CFLAGS"
                   4586:   fi
                   4587:   ;;
                   4588:
                   4589: esac
                   4590:
                   4591: # Sed substitution that helps us do robust quoting.  It backslashifies
                   4592: # metacharacters that are still active within double-quoted strings.
                   4593: Xsed='sed -e s/^X//'
                   4594: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
                   4595:
                   4596: # Same as above, but do not quote variable references.
                   4597: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
                   4598:
                   4599: # Sed substitution to delay expansion of an escaped shell variable in a
                   4600: # double_quote_subst'ed string.
                   4601: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   4602:
                   4603: # Constants:
                   4604: rm="rm -f"
                   4605:
                   4606: # Global variables:
                   4607: default_ofile=libtool
                   4608: can_build_shared=yes
                   4609:
                   4610: # All known linkers require a `.a' archive for static linking (except M$VC,
                   4611: # which needs '.lib').
                   4612: libext=a
                   4613: ltmain="$ac_aux_dir/ltmain.sh"
                   4614: ofile="$default_ofile"
                   4615: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   4616: need_locks="$enable_libtool_lock"
                   4617:
                   4618: old_CC="$CC"
                   4619: old_CFLAGS="$CFLAGS"
                   4620:
                   4621: # Set sane defaults for various variables
                   4622: test -z "$AR" && AR=ar
                   4623: test -z "$AR_FLAGS" && AR_FLAGS=cru
                   4624: test -z "$AS" && AS=as
                   4625: test -z "$CC" && CC=cc
                   4626: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   4627: test -z "$LD" && LD=ld
                   4628: test -z "$LN_S" && LN_S="ln -s"
                   4629: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   4630: test -z "$NM" && NM=nm
                   4631: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4632: test -z "$RANLIB" && RANLIB=:
                   4633: test -z "$STRIP" && STRIP=:
                   4634: test -z "$ac_objext" && ac_objext=o
                   4635:
                   4636: if test x"$host" != x"$build"; then
                   4637:   ac_tool_prefix=${host_alias}-
                   4638: else
                   4639:   ac_tool_prefix=
                   4640: fi
                   4641:
                   4642: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
                   4643: case $host_os in
                   4644: linux-gnu*) ;;
                   4645: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
                   4646: esac
                   4647:
                   4648: case $host_os in
                   4649: aix3*)
                   4650:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   4651:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   4652:   # vanish in a puff of smoke.
                   4653:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   4654:     COLLECT_NAMES=
                   4655:     export COLLECT_NAMES
                   4656:   fi
                   4657:   ;;
                   4658: esac
                   4659:
                   4660: # Determine commands to create old-style static archives.
                   4661: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
                   4662: old_postinstall_cmds='chmod 644 $oldlib'
                   4663: old_postuninstall_cmds=
                   4664:
                   4665: if test -n "$RANLIB"; then
                   4666:   case $host_os in
                   4667:   openbsd*)
                   4668:     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
                   4669:     ;;
                   4670:   *)
                   4671:     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
                   4672:     ;;
                   4673:   esac
                   4674:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   4675: fi
                   4676:
                   4677: # Allow CC to be a program name with arguments.
                   4678: set dummy $CC
                   4679: compiler="$2"
                   4680:
                   4681: ## FIXME: this should be a separate macro
                   4682: ##
                   4683: echo "$as_me:4683: checking for objdir" >&5
                   4684: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   4685: rm -f .libs 2>/dev/null
                   4686: mkdir .libs 2>/dev/null
                   4687: if test -d .libs; then
                   4688:   objdir=.libs
                   4689: else
                   4690:   # MS-DOS does not allow filenames that begin with a dot.
                   4691:   objdir=_libs
                   4692: fi
                   4693: rmdir .libs 2>/dev/null
                   4694: echo "$as_me:4694: result: $objdir" >&5
                   4695: echo "${ECHO_T}$objdir" >&6
                   4696: ##
                   4697: ## END FIXME
                   4698:
                   4699: ## FIXME: this should be a separate macro
                   4700: ##
                   4701:
                   4702: # Check whether --with-pic or --without-pic was given.
                   4703: if test "${with_pic+set}" = set; then
                   4704:   withval="$with_pic"
                   4705:   pic_mode="$withval"
                   4706: else
                   4707:   pic_mode=default
                   4708: fi;
                   4709: test -z "$pic_mode" && pic_mode=default
                   4710:
                   4711: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
                   4712: # in isolation, and that seeing it set (from the cache) indicates that
                   4713: # the associated values are set (in the cache) correctly too.
                   4714: echo "$as_me:4714: checking for $compiler option to produce PIC" >&5
                   4715: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   4716: if test "${lt_cv_prog_cc_pic+set}" = set; then
                   4717:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4718: else
                   4719:    lt_cv_prog_cc_pic=
                   4720:   lt_cv_prog_cc_shlib=
                   4721:   lt_cv_prog_cc_wl=
                   4722:   lt_cv_prog_cc_static=
                   4723:   lt_cv_prog_cc_no_builtin=
                   4724:   lt_cv_prog_cc_can_build_shared=$can_build_shared
                   4725:
                   4726:   if test "$GCC" = yes; then
                   4727:     lt_cv_prog_cc_wl='-Wl,'
                   4728:     lt_cv_prog_cc_static='-static'
                   4729:
                   4730:     case $host_os in
                   4731:     aix*)
                   4732:       # Below there is a dirty hack to force normal static linking with -ldl
                   4733:       # The problem is because libdl dynamically linked with both libc and
                   4734:       # libC (AIX C++ library), which obviously doesn't included in libraries
                   4735:       # list by gcc. This cause undefined symbols with -static flags.
                   4736:       # This hack allows C programs to be linked with "-static -ldl", but
                   4737:       # not sure about C++ programs.
                   4738:       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
                   4739:       ;;
                   4740:     amigaos*)
                   4741:       # FIXME: we need at least 68020 code to build shared libraries, but
                   4742:       # adding the `-m68020' flag to GCC prevents building anything better,
                   4743:       # like `-m68040'.
                   4744:       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
                   4745:       ;;
                   4746:     beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
                   4747:       # PIC is the default for these OSes.
                   4748:       ;;
                   4749:     darwin* | rhapsody*)
                   4750:       # PIC is the default on this platform
                   4751:       # Common symbols not allowed in MH_DYLIB files
                   4752:       lt_cv_prog_cc_pic='-fno-common'
                   4753:       ;;
                   4754:     cygwin* | mingw* | pw32* | os2*)
                   4755:       # This hack is so that the source file can tell whether it is being
                   4756:       # built for inclusion in a dll (and should export symbols for example).
                   4757:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   4758:       ;;
                   4759:     sysv4*MP*)
                   4760:       if test -d /usr/nec; then
                   4761:         lt_cv_prog_cc_pic=-Kconform_pic
                   4762:       fi
                   4763:       ;;
                   4764:     *)
                   4765:       lt_cv_prog_cc_pic='-fPIC'
                   4766:       ;;
                   4767:     esac
                   4768:   else
                   4769:     # PORTME Check for PIC flags for the system compiler.
                   4770:     case $host_os in
                   4771:     aix3* | aix4* | aix5*)
                   4772:       lt_cv_prog_cc_wl='-Wl,'
                   4773:       # All AIX code is PIC.
                   4774:       if test "$host_cpu" = ia64; then
                   4775:        # AIX 5 now supports IA64 processor
                   4776:        lt_cv_prog_cc_static='-Bstatic'
                   4777:       else
                   4778:        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
                   4779:       fi
                   4780:       ;;
                   4781:
                   4782:     hpux9* | hpux10* | hpux11*)
                   4783:       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
                   4784:       lt_cv_prog_cc_wl='-Wl,'
                   4785:       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
                   4786:       lt_cv_prog_cc_pic='+Z'
                   4787:       ;;
                   4788:
                   4789:     irix5* | irix6*)
                   4790:       lt_cv_prog_cc_wl='-Wl,'
                   4791:       lt_cv_prog_cc_static='-non_shared'
                   4792:       # PIC (with -KPIC) is the default.
                   4793:       ;;
                   4794:
                   4795:     cygwin* | mingw* | pw32* | os2*)
                   4796:       # This hack is so that the source file can tell whether it is being
                   4797:       # built for inclusion in a dll (and should export symbols for example).
                   4798:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   4799:       ;;
                   4800:
                   4801:     newsos6)
                   4802:       lt_cv_prog_cc_pic='-KPIC'
                   4803:       lt_cv_prog_cc_static='-Bstatic'
                   4804:       ;;
                   4805:
                   4806:     osf3* | osf4* | osf5*)
                   4807:       # All OSF/1 code is PIC.
                   4808:       lt_cv_prog_cc_wl='-Wl,'
                   4809:       lt_cv_prog_cc_static='-non_shared'
                   4810:       ;;
                   4811:
                   4812:     sco3.2v5*)
                   4813:       lt_cv_prog_cc_pic='-Kpic'
                   4814:       lt_cv_prog_cc_static='-dn'
                   4815:       lt_cv_prog_cc_shlib='-belf'
                   4816:       ;;
                   4817:
                   4818:     solaris*)
                   4819:       lt_cv_prog_cc_pic='-KPIC'
                   4820:       lt_cv_prog_cc_static='-Bstatic'
                   4821:       lt_cv_prog_cc_wl='-Wl,'
                   4822:       ;;
                   4823:
                   4824:     sunos4*)
                   4825:       lt_cv_prog_cc_pic='-PIC'
                   4826:       lt_cv_prog_cc_static='-Bstatic'
                   4827:       lt_cv_prog_cc_wl='-Qoption ld '
                   4828:       ;;
                   4829:
                   4830:     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   4831:       lt_cv_prog_cc_pic='-KPIC'
                   4832:       lt_cv_prog_cc_static='-Bstatic'
                   4833:       if test "x$host_vendor" = xsni; then
                   4834:        lt_cv_prog_cc_wl='-LD'
                   4835:       else
                   4836:        lt_cv_prog_cc_wl='-Wl,'
                   4837:       fi
                   4838:       ;;
                   4839:
                   4840:     uts4*)
                   4841:       lt_cv_prog_cc_pic='-pic'
                   4842:       lt_cv_prog_cc_static='-Bstatic'
                   4843:       ;;
                   4844:
                   4845:     sysv4*MP*)
                   4846:       if test -d /usr/nec ;then
                   4847:        lt_cv_prog_cc_pic='-Kconform_pic'
                   4848:        lt_cv_prog_cc_static='-Bstatic'
                   4849:       fi
                   4850:       ;;
                   4851:
                   4852:     *)
                   4853:       lt_cv_prog_cc_can_build_shared=no
                   4854:       ;;
                   4855:     esac
                   4856:   fi
                   4857:
                   4858: fi
                   4859:
                   4860: if test -z "$lt_cv_prog_cc_pic"; then
                   4861:   echo "$as_me:4861: result: none" >&5
                   4862: echo "${ECHO_T}none" >&6
                   4863: else
                   4864:   echo "$as_me:4864: result: $lt_cv_prog_cc_pic" >&5
                   4865: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
                   4866:
                   4867:   # Check to make sure the pic_flag actually works.
                   4868:   echo "$as_me:4868: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
                   4869: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
                   4870:   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
                   4871:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4872: else
                   4873:       save_CFLAGS="$CFLAGS"
                   4874:     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
                   4875:     cat >conftest.$ac_ext <<_ACEOF
                   4876: #line 4876 "configure"
                   4877: #include "confdefs.h"
                   4878:
                   4879: int
                   4880: main ()
                   4881: {
                   4882:
                   4883:   ;
                   4884:   return 0;
                   4885: }
                   4886: _ACEOF
                   4887: rm -f conftest.$ac_objext
                   4888: if { (eval echo "$as_me:4888: \"$ac_compile\"") >&5
                   4889:   (eval $ac_compile) 2>&5
                   4890:   ac_status=$?
                   4891:   echo "$as_me:4891: \$? = $ac_status" >&5
                   4892:   (exit $ac_status); } &&
                   4893:          { ac_try='test -s conftest.$ac_objext'
                   4894:   { (eval echo "$as_me:4894: \"$ac_try\"") >&5
                   4895:   (eval $ac_try) 2>&5
                   4896:   ac_status=$?
                   4897:   echo "$as_me:4897: \$? = $ac_status" >&5
                   4898:   (exit $ac_status); }; }; then
                   4899:         case $host_os in
                   4900:       hpux9* | hpux10* | hpux11*)
                   4901:        # On HP-UX, both CC and GCC only warn that PIC is supported... then
                   4902:        # they create non-PIC objects.  So, if there were any warnings, we
                   4903:        # assume that PIC is not supported.
                   4904:        if test -s conftest.err; then
                   4905:          lt_cv_prog_cc_pic_works=no
                   4906:        else
                   4907:          lt_cv_prog_cc_pic_works=yes
                   4908:        fi
                   4909:        ;;
                   4910:       *)
                   4911:        lt_cv_prog_cc_pic_works=yes
                   4912:        ;;
                   4913:       esac
                   4914:
                   4915: else
                   4916:   echo "$as_me: failed program was:" >&5
                   4917: cat conftest.$ac_ext >&5
                   4918:       lt_cv_prog_cc_pic_works=no
                   4919:
                   4920: fi
                   4921: rm -f conftest.$ac_objext conftest.$ac_ext
                   4922:     CFLAGS="$save_CFLAGS"
                   4923:
                   4924: fi
                   4925:
                   4926:   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
                   4927:     lt_cv_prog_cc_pic=
                   4928:     lt_cv_prog_cc_can_build_shared=no
                   4929:   else
                   4930:     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
                   4931:   fi
                   4932:
                   4933:   echo "$as_me:4933: result: $lt_cv_prog_cc_pic_works" >&5
                   4934: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
                   4935: fi
                   4936: ##
                   4937: ## END FIXME
                   4938:
                   4939: # Check for any special shared library compilation flags.
                   4940: if test -n "$lt_cv_prog_cc_shlib"; then
                   4941:   { echo "$as_me:4941: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
                   4942: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
                   4943:   if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
                   4944:   else
                   4945:    { echo "$as_me:4945: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
                   4946: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
                   4947:     lt_cv_prog_cc_can_build_shared=no
                   4948:   fi
                   4949: fi
                   4950:
                   4951: ## FIXME: this should be a separate macro
                   4952: ##
                   4953: echo "$as_me:4953: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
                   4954: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
                   4955: if test "${lt_cv_prog_cc_static_works+set}" = set; then
                   4956:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4957: else
                   4958:     lt_cv_prog_cc_static_works=no
                   4959:   save_LDFLAGS="$LDFLAGS"
                   4960:   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
                   4961:   cat >conftest.$ac_ext <<_ACEOF
                   4962: #line 4962 "configure"
                   4963: #include "confdefs.h"
                   4964:
                   4965: int
                   4966: main ()
                   4967: {
                   4968:
                   4969:   ;
                   4970:   return 0;
                   4971: }
                   4972: _ACEOF
                   4973: rm -f conftest.$ac_objext conftest$ac_exeext
                   4974: if { (eval echo "$as_me:4974: \"$ac_link\"") >&5
                   4975:   (eval $ac_link) 2>&5
                   4976:   ac_status=$?
                   4977:   echo "$as_me:4977: \$? = $ac_status" >&5
                   4978:   (exit $ac_status); } &&
                   4979:          { ac_try='test -s conftest$ac_exeext'
                   4980:   { (eval echo "$as_me:4980: \"$ac_try\"") >&5
                   4981:   (eval $ac_try) 2>&5
                   4982:   ac_status=$?
                   4983:   echo "$as_me:4983: \$? = $ac_status" >&5
                   4984:   (exit $ac_status); }; }; then
                   4985:   lt_cv_prog_cc_static_works=yes
                   4986: else
                   4987:   echo "$as_me: failed program was:" >&5
                   4988: cat conftest.$ac_ext >&5
                   4989: fi
                   4990: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4991:   LDFLAGS="$save_LDFLAGS"
                   4992:
                   4993: fi
                   4994:
                   4995: # Belt *and* braces to stop my trousers falling down:
                   4996: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
                   4997: echo "$as_me:4997: result: $lt_cv_prog_cc_static_works" >&5
                   4998: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
                   4999:
                   5000: pic_flag="$lt_cv_prog_cc_pic"
                   5001: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
                   5002: wl="$lt_cv_prog_cc_wl"
                   5003: link_static_flag="$lt_cv_prog_cc_static"
                   5004: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
                   5005: can_build_shared="$lt_cv_prog_cc_can_build_shared"
                   5006: ##
                   5007: ## END FIXME
                   5008:
                   5009: ## FIXME: this should be a separate macro
                   5010: ##
                   5011: # Check to see if options -o and -c are simultaneously supported by compiler
                   5012: echo "$as_me:5012: checking if $compiler supports -c -o file.$ac_objext" >&5
                   5013: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   5014: if test "${lt_cv_compiler_c_o+set}" = set; then
                   5015:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5016: else
                   5017:
                   5018: $rm -r conftest 2>/dev/null
                   5019: mkdir conftest
                   5020: cd conftest
                   5021: echo "int some_variable = 0;" > conftest.$ac_ext
                   5022: mkdir out
                   5023: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
                   5024: # that will create temporary files in the current directory regardless of
                   5025: # the output directory.  Thus, making CWD read-only will cause this test
                   5026: # to fail, enabling locking or at least warning the user not to do parallel
                   5027: # builds.
                   5028: chmod -w .
                   5029: save_CFLAGS="$CFLAGS"
                   5030: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
                   5031: compiler_c_o=no
                   5032: if { (eval echo configure:5032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
                   5033:   # The compiler can only warn and ignore the option if not recognized
                   5034:   # So say no if there are warnings
                   5035:   if test -s out/conftest.err; then
                   5036:     lt_cv_compiler_c_o=no
                   5037:   else
                   5038:     lt_cv_compiler_c_o=yes
                   5039:   fi
                   5040: else
                   5041:   # Append any errors to the config.log.
                   5042:   cat out/conftest.err 1>&5
                   5043:   lt_cv_compiler_c_o=no
                   5044: fi
                   5045: CFLAGS="$save_CFLAGS"
                   5046: chmod u+w .
                   5047: $rm conftest* out/*
                   5048: rmdir out
                   5049: cd ..
                   5050: rmdir conftest
                   5051: $rm -r conftest 2>/dev/null
                   5052:
                   5053: fi
                   5054:
                   5055: compiler_c_o=$lt_cv_compiler_c_o
                   5056: echo "$as_me:5056: result: $compiler_c_o" >&5
                   5057: echo "${ECHO_T}$compiler_c_o" >&6
                   5058:
                   5059: if test x"$compiler_c_o" = x"yes"; then
                   5060:   # Check to see if we can write to a .lo
                   5061:   echo "$as_me:5061: checking if $compiler supports -c -o file.lo" >&5
                   5062: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
                   5063:   if test "${lt_cv_compiler_o_lo+set}" = set; then
                   5064:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5065: else
                   5066:
                   5067:   lt_cv_compiler_o_lo=no
                   5068:   save_CFLAGS="$CFLAGS"
                   5069:   CFLAGS="$CFLAGS -c -o conftest.lo"
                   5070:   save_objext="$ac_objext"
                   5071:   ac_objext=lo
                   5072:   cat >conftest.$ac_ext <<_ACEOF
                   5073: #line 5073 "configure"
                   5074: #include "confdefs.h"
                   5075:
                   5076: int
                   5077: main ()
                   5078: {
                   5079: int some_variable = 0;
                   5080:   ;
                   5081:   return 0;
                   5082: }
                   5083: _ACEOF
                   5084: rm -f conftest.$ac_objext
                   5085: if { (eval echo "$as_me:5085: \"$ac_compile\"") >&5
                   5086:   (eval $ac_compile) 2>&5
                   5087:   ac_status=$?
                   5088:   echo "$as_me:5088: \$? = $ac_status" >&5
                   5089:   (exit $ac_status); } &&
                   5090:          { ac_try='test -s conftest.$ac_objext'
                   5091:   { (eval echo "$as_me:5091: \"$ac_try\"") >&5
                   5092:   (eval $ac_try) 2>&5
                   5093:   ac_status=$?
                   5094:   echo "$as_me:5094: \$? = $ac_status" >&5
                   5095:   (exit $ac_status); }; }; then
                   5096:       # The compiler can only warn and ignore the option if not recognized
                   5097:     # So say no if there are warnings
                   5098:     if test -s conftest.err; then
                   5099:       lt_cv_compiler_o_lo=no
                   5100:     else
                   5101:       lt_cv_compiler_o_lo=yes
                   5102:     fi
                   5103:
                   5104: else
                   5105:   echo "$as_me: failed program was:" >&5
                   5106: cat conftest.$ac_ext >&5
                   5107: fi
                   5108: rm -f conftest.$ac_objext conftest.$ac_ext
                   5109:   ac_objext="$save_objext"
                   5110:   CFLAGS="$save_CFLAGS"
                   5111:
                   5112: fi
                   5113:
                   5114:   compiler_o_lo=$lt_cv_compiler_o_lo
                   5115:   echo "$as_me:5115: result: $compiler_o_lo" >&5
                   5116: echo "${ECHO_T}$compiler_o_lo" >&6
                   5117: else
                   5118:   compiler_o_lo=no
                   5119: fi
                   5120: ##
                   5121: ## END FIXME
                   5122:
                   5123: ## FIXME: this should be a separate macro
                   5124: ##
                   5125: # Check to see if we can do hard links to lock some files if needed
                   5126: hard_links="nottested"
                   5127: if test "$compiler_c_o" = no && test "$need_locks" != no; then
                   5128:   # do not overwrite the value of need_locks provided by the user
                   5129:   echo "$as_me:5129: checking if we can lock with hard links" >&5
                   5130: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   5131:   hard_links=yes
                   5132:   $rm conftest*
                   5133:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5134:   touch conftest.a
                   5135:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   5136:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5137:   echo "$as_me:5137: result: $hard_links" >&5
                   5138: echo "${ECHO_T}$hard_links" >&6
                   5139:   if test "$hard_links" = no; then
                   5140:     { echo "$as_me:5140: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   5141: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   5142:     need_locks=warn
                   5143:   fi
                   5144: else
                   5145:   need_locks=no
                   5146: fi
                   5147: ##
                   5148: ## END FIXME
                   5149:
                   5150: ## FIXME: this should be a separate macro
                   5151: ##
                   5152: if test "$GCC" = yes; then
                   5153:   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
                   5154:   echo "$as_me:5154: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   5155: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   5156:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5157:   save_CFLAGS="$CFLAGS"
                   5158:   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
                   5159:   compiler_rtti_exceptions=no
                   5160:   cat >conftest.$ac_ext <<_ACEOF
                   5161: #line 5161 "configure"
                   5162: #include "confdefs.h"
                   5163:
                   5164: int
                   5165: main ()
                   5166: {
                   5167: int some_variable = 0;
                   5168:   ;
                   5169:   return 0;
                   5170: }
                   5171: _ACEOF
                   5172: rm -f conftest.$ac_objext
                   5173: if { (eval echo "$as_me:5173: \"$ac_compile\"") >&5
                   5174:   (eval $ac_compile) 2>&5
                   5175:   ac_status=$?
                   5176:   echo "$as_me:5176: \$? = $ac_status" >&5
                   5177:   (exit $ac_status); } &&
                   5178:          { ac_try='test -s conftest.$ac_objext'
                   5179:   { (eval echo "$as_me:5179: \"$ac_try\"") >&5
                   5180:   (eval $ac_try) 2>&5
                   5181:   ac_status=$?
                   5182:   echo "$as_me:5182: \$? = $ac_status" >&5
                   5183:   (exit $ac_status); }; }; then
                   5184:       # The compiler can only warn and ignore the option if not recognized
                   5185:     # So say no if there are warnings
                   5186:     if test -s conftest.err; then
                   5187:       compiler_rtti_exceptions=no
                   5188:     else
                   5189:       compiler_rtti_exceptions=yes
                   5190:     fi
                   5191:
                   5192: else
                   5193:   echo "$as_me: failed program was:" >&5
                   5194: cat conftest.$ac_ext >&5
                   5195: fi
                   5196: rm -f conftest.$ac_objext conftest.$ac_ext
                   5197:   CFLAGS="$save_CFLAGS"
                   5198:   echo "$as_me:5198: result: $compiler_rtti_exceptions" >&5
                   5199: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
                   5200:
                   5201:   if test "$compiler_rtti_exceptions" = "yes"; then
                   5202:     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
                   5203:   else
                   5204:     no_builtin_flag=' -fno-builtin'
                   5205:   fi
                   5206: fi
                   5207: ##
                   5208: ## END FIXME
                   5209:
                   5210: ## FIXME: this should be a separate macro
                   5211: ##
                   5212: # See if the linker supports building shared libraries.
                   5213: echo "$as_me:5213: checking whether the linker ($LD) supports shared libraries" >&5
                   5214: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
                   5215:
                   5216: allow_undefined_flag=
                   5217: no_undefined_flag=
                   5218: need_lib_prefix=unknown
                   5219: need_version=unknown
                   5220: # when you set need_version to no, make sure it does not cause -set_version
                   5221: # flags to be left without arguments
                   5222: archive_cmds=
                   5223: archive_expsym_cmds=
                   5224: old_archive_from_new_cmds=
                   5225: old_archive_from_expsyms_cmds=
                   5226: export_dynamic_flag_spec=
                   5227: whole_archive_flag_spec=
                   5228: thread_safe_flag_spec=
                   5229: hardcode_into_libs=no
                   5230: hardcode_libdir_flag_spec=
                   5231: hardcode_libdir_separator=
                   5232: hardcode_direct=no
                   5233: hardcode_minus_L=no
                   5234: hardcode_shlibpath_var=unsupported
                   5235: runpath_var=
                   5236: link_all_deplibs=unknown
                   5237: always_export_symbols=no
                   5238: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   5239: # include_expsyms should be a list of space-separated symbols to be *always*
                   5240: # included in the symbol list
                   5241: include_expsyms=
                   5242: # exclude_expsyms can be an egrep regular expression of symbols to exclude
                   5243: # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   5244: # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   5245: # as well as any symbol that contains `d'.
                   5246: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
                   5247: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   5248: # platforms (ab)use it in PIC code, but their linkers get confused if
                   5249: # the symbol is explicitly referenced.  Since portable code cannot
                   5250: # rely on this symbol name, it's probably fine to never include it in
                   5251: # preloaded symbol tables.
                   5252: extract_expsyms_cmds=
                   5253:
                   5254: case $host_os in
                   5255: cygwin* | mingw* | pw32*)
                   5256:   # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   5257:   # When not using gcc, we currently assume that we are using
                   5258:   # Microsoft Visual C++.
                   5259:   if test "$GCC" != yes; then
                   5260:     with_gnu_ld=no
                   5261:   fi
                   5262:   ;;
                   5263: openbsd*)
                   5264:   with_gnu_ld=no
                   5265:   ;;
                   5266: esac
                   5267:
                   5268: ld_shlibs=yes
                   5269: if test "$with_gnu_ld" = yes; then
                   5270:   # If archive_cmds runs LD, not CC, wlarc should be empty
                   5271:   wlarc='${wl}'
                   5272:
                   5273:   # See if GNU ld supports shared libraries.
                   5274:   case $host_os in
                   5275:   aix3* | aix4* | aix5*)
                   5276:     # On AIX, the GNU linker is very broken
                   5277:     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
                   5278:     ld_shlibs=no
                   5279:     cat <<EOF 1>&2
                   5280:
                   5281: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
                   5282: *** to be unable to reliably create shared libraries on AIX.
                   5283: *** Therefore, libtool is disabling shared libraries support.  If you
                   5284: *** really care for shared libraries, you may want to modify your PATH
                   5285: *** so that a non-GNU linker is found, and then restart.
                   5286:
                   5287: EOF
                   5288:     ;;
                   5289:
                   5290:   amigaos*)
                   5291:     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)'
                   5292:     hardcode_libdir_flag_spec='-L$libdir'
                   5293:     hardcode_minus_L=yes
                   5294:
                   5295:     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
                   5296:     # that the semantics of dynamic libraries on AmigaOS, at least up
                   5297:     # to version 4, is to share data among multiple programs linked
                   5298:     # with the same dynamic library.  Since this doesn't match the
                   5299:     # behavior of shared libraries on other platforms, we can use
                   5300:     # them.
                   5301:     ld_shlibs=no
                   5302:     ;;
                   5303:
                   5304:   beos*)
                   5305:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5306:       allow_undefined_flag=unsupported
                   5307:       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   5308:       # support --undefined.  This deserves some investigation.  FIXME
                   5309:       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5310:     else
                   5311:       ld_shlibs=no
                   5312:     fi
                   5313:     ;;
                   5314:
                   5315:   cygwin* | mingw* | pw32*)
                   5316:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   5317:     # no search path for DLLs.
                   5318:     hardcode_libdir_flag_spec='-L$libdir'
                   5319:     allow_undefined_flag=unsupported
                   5320:     always_export_symbols=yes
                   5321:
                   5322:     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
                   5323:       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
                   5324:       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
                   5325:       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
                   5326:       else $CC -o impgen impgen.c ; fi)~
                   5327:       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
                   5328:
                   5329:     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
                   5330:
                   5331:     # cygwin and mingw dlls have different entry points and sets of symbols
                   5332:     # to exclude.
                   5333:     # FIXME: what about values for MSVC?
                   5334:     dll_entry=__cygwin_dll_entry@12
                   5335:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
                   5336:     case $host_os in
                   5337:     mingw*)
                   5338:       # mingw values
                   5339:       dll_entry=_DllMainCRTStartup@12
                   5340:       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
                   5341:       ;;
                   5342:     esac
                   5343:
                   5344:     # mingw and cygwin differ, and it's simplest to just exclude the union
                   5345:     # of the two symbol sets.
                   5346:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
                   5347:
                   5348:     # recent cygwin and mingw systems supply a stub DllMain which the user
                   5349:     # can override, but on older systems we have to supply one (in ltdll.c)
                   5350:     if test "x$lt_cv_need_dllmain" = "xyes"; then
                   5351:       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
                   5352:       ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
                   5353:        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
                   5354:     else
                   5355:       ltdll_obj=
                   5356:       ltdll_cmds=
                   5357:     fi
                   5358:
                   5359:     # Extract the symbol export list from an `--export-all' def file,
                   5360:     # then regenerate the def file from the symbol export list, so that
                   5361:     # the compiled dll only exports the symbol export list.
                   5362:     # Be careful not to strip the DATA tag left be newer dlltools.
                   5363:     export_symbols_cmds="$ltdll_cmds"'
                   5364:       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
                   5365:       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
                   5366:
                   5367:     # If the export-symbols file already is a .def file (1st line
                   5368:     # is EXPORTS), use it as is.
                   5369:     # If DATA tags from a recent dlltool are present, honour them!
                   5370:     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
                   5371:        cp $export_symbols $output_objdir/$soname-def;
                   5372:       else
                   5373:        echo EXPORTS > $output_objdir/$soname-def;
                   5374:        _lt_hint=1;
                   5375:        cat $export_symbols | while read symbol; do
                   5376:         set dummy \$symbol;
                   5377:         case \$# in
                   5378:           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                   5379:           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
                   5380:         esac;
                   5381:         _lt_hint=`expr 1 + \$_lt_hint`;
                   5382:        done;
                   5383:       fi~
                   5384:       '"$ltdll_cmds"'
                   5385:       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
                   5386:       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
                   5387:       $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
                   5388:       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
                   5389:       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
                   5390:     ;;
                   5391:
                   5392:   netbsd*)
                   5393:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   5394:       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   5395:       wlarc=
                   5396:     else
                   5397:       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5398:       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   5399:     fi
                   5400:     ;;
                   5401:
                   5402:   solaris* | sysv5*)
                   5403:     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
                   5404:       ld_shlibs=no
                   5405:       cat <<EOF 1>&2
                   5406:
                   5407: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   5408: *** create shared libraries on Solaris systems.  Therefore, libtool
                   5409: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   5410: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   5411: *** your PATH or compiler configuration so that the native linker is
                   5412: *** used, and then restart.
                   5413:
                   5414: EOF
                   5415:     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5416:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5417:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   5418:     else
                   5419:       ld_shlibs=no
                   5420:     fi
                   5421:     ;;
                   5422:
                   5423:   sunos4*)
                   5424:     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   5425:     wlarc=
                   5426:     hardcode_direct=yes
                   5427:     hardcode_shlibpath_var=no
                   5428:     ;;
                   5429:
                   5430:   *)
                   5431:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5432:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5433:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   5434:     else
                   5435:       ld_shlibs=no
                   5436:     fi
                   5437:     ;;
                   5438:   esac
                   5439:
                   5440:   if test "$ld_shlibs" = yes; then
                   5441:     runpath_var=LD_RUN_PATH
                   5442:     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
                   5443:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   5444:     case $host_os in
                   5445:     cygwin* | mingw* | pw32*)
                   5446:       # dlltool doesn't understand --whole-archive et. al.
                   5447:       whole_archive_flag_spec=
                   5448:       ;;
                   5449:     *)
                   5450:       # ancient GNU ld didn't support --whole-archive et. al.
                   5451:       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
                   5452:        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   5453:       else
                   5454:        whole_archive_flag_spec=
                   5455:       fi
                   5456:       ;;
                   5457:     esac
                   5458:   fi
                   5459: else
                   5460:   # PORTME fill in a description of your system's linker (not GNU ld)
                   5461:   case $host_os in
                   5462:   aix3*)
                   5463:     allow_undefined_flag=unsupported
                   5464:     always_export_symbols=yes
                   5465:     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'
                   5466:     # Note: this linker hardcodes the directories in LIBPATH if there
                   5467:     # are no directories specified by -L.
                   5468:     hardcode_minus_L=yes
                   5469:     if test "$GCC" = yes && test -z "$link_static_flag"; then
                   5470:       # Neither direct hardcoding nor static linking is supported with a
                   5471:       # broken collect2.
                   5472:       hardcode_direct=unsupported
                   5473:     fi
                   5474:     ;;
                   5475:
                   5476:   aix4* | aix5*)
                   5477:     if test "$host_cpu" = ia64; then
                   5478:       # On IA64, the linker does run time linking by default, so we don't
                   5479:       # have to do anything special.
                   5480:       aix_use_runtimelinking=no
                   5481:       exp_sym_flag='-Bexport'
                   5482:       no_entry_flag=""
                   5483:     else
                   5484:       aix_use_runtimelinking=no
                   5485:
                   5486:       # Test if we are trying to use run time linking or normal
                   5487:       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   5488:       # need to do runtime linking.
                   5489:       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
                   5490:        for ld_flag in $LDFLAGS; do
                   5491:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   5492:            aix_use_runtimelinking=yes
                   5493:            break
                   5494:          fi
                   5495:        done
                   5496:       esac
                   5497:
                   5498:       exp_sym_flag='-bexport'
                   5499:       no_entry_flag='-bnoentry'
                   5500:     fi
                   5501:
                   5502:     # When large executables or shared objects are built, AIX ld can
                   5503:     # have problems creating the table of contents.  If linking a library
                   5504:     # or program results in "error TOC overflow" add -mminimal-toc to
                   5505:     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   5506:     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   5507:
                   5508:     hardcode_direct=yes
                   5509:     archive_cmds=''
                   5510:     hardcode_libdir_separator=':'
                   5511:     if test "$GCC" = yes; then
                   5512:       case $host_os in aix4.[012]|aix4.[012].*)
                   5513:        collect2name=`${CC} -print-prog-name=collect2`
                   5514:        if test -f "$collect2name" && \
                   5515:          strings "$collect2name" | grep resolve_lib_name >/dev/null
                   5516:        then
                   5517:          # We have reworked collect2
                   5518:          hardcode_direct=yes
                   5519:        else
                   5520:          # We have old collect2
                   5521:          hardcode_direct=unsupported
                   5522:          # It fails to find uninstalled libraries when the uninstalled
                   5523:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   5524:          # to unsupported forces relinking
                   5525:          hardcode_minus_L=yes
                   5526:          hardcode_libdir_flag_spec='-L$libdir'
                   5527:          hardcode_libdir_separator=
                   5528:        fi
                   5529:       esac
                   5530:
                   5531:       shared_flag='-shared'
                   5532:     else
                   5533:       # not using gcc
                   5534:       if test "$host_cpu" = ia64; then
                   5535:        shared_flag='${wl}-G'
                   5536:       else
                   5537:        if test "$aix_use_runtimelinking" = yes; then
                   5538:          shared_flag='${wl}-G'
                   5539:        else
                   5540:          shared_flag='${wl}-bM:SRE'
                   5541:        fi
                   5542:       fi
                   5543:     fi
                   5544:
                   5545:     # It seems that -bexpall can do strange things, so it is better to
                   5546:     # generate a list of symbols to export.
                   5547:     always_export_symbols=yes
                   5548:     if test "$aix_use_runtimelinking" = yes; then
                   5549:       # Warning - without using the other runtime loading flags (-brtl),
                   5550:       # -berok will link without error, but may produce a broken library.
                   5551:       allow_undefined_flag='-berok'
                   5552:       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
                   5553:       archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   5554:     else
                   5555:       if test "$host_cpu" = ia64; then
                   5556:        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   5557:        allow_undefined_flag="-z nodefs"
                   5558:        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
                   5559:       else
                   5560:        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
                   5561:        # Warning - without using the other run time loading flags,
                   5562:        # -berok will link without error, but may produce a broken library.
                   5563:        allow_undefined_flag='${wl}-berok'
                   5564:        # This is a bit strange, but is similar to how AIX traditionally builds
                   5565:        # it's shared libraries.
                   5566:        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
                   5567:       fi
                   5568:     fi
                   5569:     ;;
                   5570:
                   5571:   amigaos*)
                   5572:     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)'
                   5573:     hardcode_libdir_flag_spec='-L$libdir'
                   5574:     hardcode_minus_L=yes
                   5575:     # see comment about different semantics on the GNU ld section
                   5576:     ld_shlibs=no
                   5577:     ;;
                   5578:
                   5579:   cygwin* | mingw* | pw32*)
                   5580:     # When not using gcc, we currently assume that we are using
                   5581:     # Microsoft Visual C++.
                   5582:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   5583:     # no search path for DLLs.
                   5584:     hardcode_libdir_flag_spec=' '
                   5585:     allow_undefined_flag=unsupported
                   5586:     # Tell ltmain to make .lib files, not .a files.
                   5587:     libext=lib
                   5588:     # FIXME: Setting linknames here is a bad hack.
                   5589:     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
                   5590:     # The linker will automatically build a .lib file if we build a DLL.
                   5591:     old_archive_from_new_cmds='true'
                   5592:     # FIXME: Should let the user specify the lib program.
                   5593:     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
                   5594:     fix_srcfile_path='`cygpath -w "$srcfile"`'
                   5595:     ;;
                   5596:
                   5597:   darwin* | rhapsody*)
                   5598:     case "$host_os" in
                   5599:     rhapsody* | darwin1.[012])
                   5600:       allow_undefined_flag='-undefined suppress'
                   5601:       ;;
                   5602:     *) # Darwin 1.3 on
                   5603:       allow_undefined_flag='-flat_namespace -undefined suppress'
                   5604:       ;;
                   5605:     esac
                   5606:     # FIXME: Relying on posixy $() will cause problems for
                   5607:     #        cross-compilation, but unfortunately the echo tests do not
                   5608:     #        yet detect zsh echo's removal of \ escapes.
                   5609:     archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
                   5610:     # We need to add '_' to the symbols in $export_symbols first
                   5611:     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
                   5612:     hardcode_direct=yes
                   5613:     hardcode_shlibpath_var=no
                   5614:     whole_archive_flag_spec='-all_load $convenience'
                   5615:     ;;
                   5616:
                   5617:   freebsd1*)
                   5618:     ld_shlibs=no
                   5619:     ;;
                   5620:
                   5621:   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   5622:   # support.  Future versions do this automatically, but an explicit c++rt0.o
                   5623:   # does not break anything, and helps significantly (at the cost of a little
                   5624:   # extra space).
                   5625:   freebsd2.2*)
                   5626:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   5627:     hardcode_libdir_flag_spec='-R$libdir'
                   5628:     hardcode_direct=yes
                   5629:     hardcode_shlibpath_var=no
                   5630:     ;;
                   5631:
                   5632:   # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   5633:   freebsd2*)
                   5634:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   5635:     hardcode_direct=yes
                   5636:     hardcode_minus_L=yes
                   5637:     hardcode_shlibpath_var=no
                   5638:     ;;
                   5639:
                   5640:   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   5641:   freebsd*)
                   5642:     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
                   5643:     hardcode_libdir_flag_spec='-R$libdir'
                   5644:     hardcode_direct=yes
                   5645:     hardcode_shlibpath_var=no
                   5646:     ;;
                   5647:
                   5648:   hpux9* | hpux10* | hpux11*)
                   5649:     case $host_os in
                   5650:     hpux9*) 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' ;;
                   5651:     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
                   5652:     esac
                   5653:     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   5654:     hardcode_libdir_separator=:
                   5655:     hardcode_direct=yes
                   5656:     hardcode_minus_L=yes # Not in the search PATH, but as the default
                   5657:                         # location of the library.
                   5658:     export_dynamic_flag_spec='${wl}-E'
                   5659:     ;;
                   5660:
                   5661:   irix5* | irix6*)
                   5662:     if test "$GCC" = yes; then
                   5663:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   5664:     else
                   5665:       archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
                   5666:     fi
                   5667:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5668:     hardcode_libdir_separator=:
                   5669:     link_all_deplibs=yes
                   5670:     ;;
                   5671:
                   5672:   netbsd*)
                   5673:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   5674:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   5675:     else
                   5676:       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   5677:     fi
                   5678:     hardcode_libdir_flag_spec='-R$libdir'
                   5679:     hardcode_direct=yes
                   5680:     hardcode_shlibpath_var=no
                   5681:     ;;
                   5682:
                   5683:   newsos6)
                   5684:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5685:     hardcode_direct=yes
                   5686:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5687:     hardcode_libdir_separator=:
                   5688:     hardcode_shlibpath_var=no
                   5689:     ;;
                   5690:
                   5691:   openbsd*)
                   5692:     hardcode_direct=yes
                   5693:     hardcode_shlibpath_var=no
                   5694:     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5695:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
                   5696:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   5697:       export_dynamic_flag_spec='${wl}-E'
                   5698:     else
                   5699:       case "$host_os" in
                   5700:       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   5701:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   5702:        hardcode_libdir_flag_spec='-R$libdir'
                   5703:         ;;
                   5704:       *)
                   5705:         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
                   5706:         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   5707:         ;;
                   5708:       esac
                   5709:     fi
                   5710:     ;;
                   5711:
                   5712:   os2*)
                   5713:     hardcode_libdir_flag_spec='-L$libdir'
                   5714:     hardcode_minus_L=yes
                   5715:     allow_undefined_flag=unsupported
                   5716:     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'
                   5717:     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   5718:     ;;
                   5719:
                   5720:   osf3*)
                   5721:     if test "$GCC" = yes; then
                   5722:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   5723:       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   5724:     else
                   5725:       allow_undefined_flag=' -expect_unresolved \*'
                   5726:       archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
                   5727:     fi
                   5728:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5729:     hardcode_libdir_separator=:
                   5730:     ;;
                   5731:
                   5732:   osf4* | osf5*)       # as osf3* with the addition of -msym flag
                   5733:     if test "$GCC" = yes; then
                   5734:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   5735:       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   5736:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5737:     else
                   5738:       allow_undefined_flag=' -expect_unresolved \*'
                   5739:       archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
                   5740:       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
                   5741:       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
                   5742:
                   5743:       #Both c and cxx compiler support -rpath directly
                   5744:       hardcode_libdir_flag_spec='-rpath $libdir'
                   5745:     fi
                   5746:     hardcode_libdir_separator=:
                   5747:     ;;
                   5748:
                   5749:   sco3.2v5*)
                   5750:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5751:     hardcode_shlibpath_var=no
                   5752:     runpath_var=LD_RUN_PATH
                   5753:     hardcode_runpath_var=yes
                   5754:     export_dynamic_flag_spec='${wl}-Bexport'
                   5755:     ;;
                   5756:
                   5757:   solaris*)
                   5758:     # gcc --version < 3.0 without binutils cannot create self contained
                   5759:     # shared libraries reliably, requiring libgcc.a to resolve some of
                   5760:     # the object symbols generated in some cases.  Libraries that use
                   5761:     # assert need libgcc.a to resolve __eprintf, for example.  Linking
                   5762:     # a copy of libgcc.a into every shared library to guarantee resolving
                   5763:     # such symbols causes other problems:  According to Tim Van Holder
                   5764:     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
                   5765:     # (to the application) exception stack for one thing.
                   5766:     no_undefined_flag=' -z defs'
                   5767:     if test "$GCC" = yes; then
                   5768:       case `$CC --version 2>/dev/null` in
                   5769:       [12].*)
                   5770:        cat <<EOF 1>&2
                   5771:
                   5772: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
                   5773: *** create self contained shared libraries on Solaris systems, without
                   5774: *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
                   5775: *** -no-undefined support, which will at least allow you to build shared
                   5776: *** libraries.  However, you may find that when you link such libraries
                   5777: *** into an application without using GCC, you have to manually add
                   5778: *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
                   5779: *** upgrade to a newer version of GCC.  Another option is to rebuild your
                   5780: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
                   5781:
                   5782: EOF
                   5783:         no_undefined_flag=
                   5784:        ;;
                   5785:       esac
                   5786:     fi
                   5787:     # $CC -shared without GNU ld will not create a library from C++
                   5788:     # object files and a static libstdc++, better avoid it by now
                   5789:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5790:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   5791:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   5792:     hardcode_libdir_flag_spec='-R$libdir'
                   5793:     hardcode_shlibpath_var=no
                   5794:     case $host_os in
                   5795:     solaris2.[0-5] | solaris2.[0-5].*) ;;
                   5796:     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
                   5797:       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
                   5798:     esac
                   5799:     link_all_deplibs=yes
                   5800:     ;;
                   5801:
                   5802:   sunos4*)
                   5803:     if test "x$host_vendor" = xsequent; then
                   5804:       # Use $CC to link under sequent, because it throws in some extra .o
                   5805:       # files that make .init and .fini sections work.
                   5806:       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   5807:     else
                   5808:       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   5809:     fi
                   5810:     hardcode_libdir_flag_spec='-L$libdir'
                   5811:     hardcode_direct=yes
                   5812:     hardcode_minus_L=yes
                   5813:     hardcode_shlibpath_var=no
                   5814:     ;;
                   5815:
                   5816:   sysv4)
                   5817:     if test "x$host_vendor" = xsno; then
                   5818:       archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5819:       hardcode_direct=yes # is this really true???
                   5820:     else
                   5821:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5822:       hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   5823:     fi
                   5824:     runpath_var='LD_RUN_PATH'
                   5825:     hardcode_shlibpath_var=no
                   5826:     ;;
                   5827:
                   5828:   sysv4.3*)
                   5829:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5830:     hardcode_shlibpath_var=no
                   5831:     export_dynamic_flag_spec='-Bexport'
                   5832:     ;;
                   5833:
                   5834:   sysv5*)
                   5835:     no_undefined_flag=' -z text'
                   5836:     # $CC -shared without GNU ld will not create a library from C++
                   5837:     # object files and a static libstdc++, better avoid it by now
                   5838:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5839:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   5840:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   5841:     hardcode_libdir_flag_spec=
                   5842:     hardcode_shlibpath_var=no
                   5843:     runpath_var='LD_RUN_PATH'
                   5844:     ;;
                   5845:
                   5846:   uts4*)
                   5847:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5848:     hardcode_libdir_flag_spec='-L$libdir'
                   5849:     hardcode_shlibpath_var=no
                   5850:     ;;
                   5851:
                   5852:   dgux*)
                   5853:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5854:     hardcode_libdir_flag_spec='-L$libdir'
                   5855:     hardcode_shlibpath_var=no
                   5856:     ;;
                   5857:
                   5858:   sysv4*MP*)
                   5859:     if test -d /usr/nec; then
                   5860:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5861:       hardcode_shlibpath_var=no
                   5862:       runpath_var=LD_RUN_PATH
                   5863:       hardcode_runpath_var=yes
                   5864:       ld_shlibs=yes
                   5865:     fi
                   5866:     ;;
                   5867:
                   5868:   sysv4.2uw2*)
                   5869:     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   5870:     hardcode_direct=yes
                   5871:     hardcode_minus_L=no
                   5872:     hardcode_shlibpath_var=no
                   5873:     hardcode_runpath_var=yes
                   5874:     runpath_var=LD_RUN_PATH
                   5875:     ;;
                   5876:
                   5877:   sysv5uw7* | unixware7*)
                   5878:     no_undefined_flag='${wl}-z ${wl}text'
                   5879:     if test "$GCC" = yes; then
                   5880:       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   5881:     else
                   5882:       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   5883:     fi
                   5884:     runpath_var='LD_RUN_PATH'
                   5885:     hardcode_shlibpath_var=no
                   5886:     ;;
                   5887:
                   5888:   *)
                   5889:     ld_shlibs=no
                   5890:     ;;
                   5891:   esac
                   5892: fi
                   5893: echo "$as_me:5893: result: $ld_shlibs" >&5
                   5894: echo "${ECHO_T}$ld_shlibs" >&6
                   5895: test "$ld_shlibs" = no && can_build_shared=no
                   5896: ##
                   5897: ## END FIXME
                   5898:
                   5899: ## FIXME: this should be a separate macro
                   5900: ##
                   5901: # Check hardcoding attributes.
                   5902: echo "$as_me:5902: checking how to hardcode library paths into programs" >&5
                   5903: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   5904: hardcode_action=
                   5905: if test -n "$hardcode_libdir_flag_spec" || \
                   5906:    test -n "$runpath_var"; then
                   5907:
                   5908:   # We can hardcode non-existant directories.
                   5909:   if test "$hardcode_direct" != no &&
                   5910:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   5911:      # have to relink, otherwise we might link with an installed library
                   5912:      # when we should be linking with a yet-to-be-installed one
                   5913:      ## test "$hardcode_shlibpath_var" != no &&
                   5914:      test "$hardcode_minus_L" != no; then
                   5915:     # Linking always hardcodes the temporary library directory.
                   5916:     hardcode_action=relink
                   5917:   else
                   5918:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   5919:     hardcode_action=immediate
                   5920:   fi
                   5921: else
                   5922:   # We cannot hardcode anything, or else we can only hardcode existing
                   5923:   # directories.
                   5924:   hardcode_action=unsupported
                   5925: fi
                   5926: echo "$as_me:5926: result: $hardcode_action" >&5
                   5927: echo "${ECHO_T}$hardcode_action" >&6
                   5928: ##
                   5929: ## END FIXME
                   5930:
                   5931: ## FIXME: this should be a separate macro
                   5932: ##
                   5933: striplib=
                   5934: old_striplib=
                   5935: echo "$as_me:5935: checking whether stripping libraries is possible" >&5
                   5936: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   5937: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
                   5938:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   5939:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   5940:   echo "$as_me:5940: result: yes" >&5
                   5941: echo "${ECHO_T}yes" >&6
                   5942: else
                   5943:   echo "$as_me:5943: result: no" >&5
                   5944: echo "${ECHO_T}no" >&6
                   5945: fi
                   5946: ##
                   5947: ## END FIXME
                   5948:
                   5949: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5950: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5951:
                   5952: ## FIXME: this should be a separate macro
                   5953: ##
                   5954: # PORTME Fill in your ld.so characteristics
                   5955: echo "$as_me:5955: checking dynamic linker characteristics" >&5
                   5956: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   5957: library_names_spec=
                   5958: libname_spec='lib$name'
                   5959: soname_spec=
                   5960: postinstall_cmds=
                   5961: postuninstall_cmds=
                   5962: finish_cmds=
                   5963: finish_eval=
                   5964: shlibpath_var=
                   5965: shlibpath_overrides_runpath=unknown
                   5966: version_type=none
                   5967: dynamic_linker="$host_os ld.so"
                   5968: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   5969: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   5970:
                   5971: case $host_os in
                   5972: aix3*)
                   5973:   version_type=linux
                   5974:   library_names_spec='${libname}${release}.so$versuffix $libname.a'
                   5975:   shlibpath_var=LIBPATH
                   5976:
                   5977:   # AIX has no versioning support, so we append a major version to the name.
                   5978:   soname_spec='${libname}${release}.so$major'
                   5979:   ;;
                   5980:
                   5981: aix4* | aix5*)
                   5982:   version_type=linux
                   5983:   if test "$host_cpu" = ia64; then
                   5984:     # AIX 5 supports IA64
                   5985:     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
                   5986:     shlibpath_var=LD_LIBRARY_PATH
                   5987:   else
                   5988:     # With GCC up to 2.95.x, collect2 would create an import file
                   5989:     # for dependence libraries.  The import file would start with
                   5990:     # the line `#! .'.  This would cause the generated library to
                   5991:     # depend on `.', always an invalid library.  This was fixed in
                   5992:     # development snapshots of GCC prior to 3.0.
                   5993:     case $host_os in
                   5994:       aix4 | aix4.[01] | aix4.[01].*)
                   5995:        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   5996:             echo ' yes '
                   5997:             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
                   5998:          :
                   5999:        else
                   6000:          can_build_shared=no
                   6001:        fi
                   6002:        ;;
                   6003:     esac
                   6004:     # AIX (on Power*) has no versioning support, so currently we can
                   6005:     # not hardcode correct soname into executable. Probably we can
                   6006:     # add versioning support to collect2, so additional links can
                   6007:     # be useful in future.
                   6008:     if test "$aix_use_runtimelinking" = yes; then
                   6009:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   6010:       # instead of lib<name>.a to let people know that these are not
                   6011:       # typical AIX shared libraries.
                   6012:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6013:     else
                   6014:       # We preserve .a as extension for shared libraries through AIX4.2
                   6015:       # and later when we are not doing run time linking.
                   6016:       library_names_spec='${libname}${release}.a $libname.a'
                   6017:       soname_spec='${libname}${release}.so$major'
                   6018:     fi
                   6019:     shlibpath_var=LIBPATH
                   6020:   fi
                   6021:   ;;
                   6022:
                   6023: amigaos*)
                   6024:   library_names_spec='$libname.ixlibrary $libname.a'
                   6025:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   6026:   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
                   6027:   ;;
                   6028:
                   6029: beos*)
                   6030:   library_names_spec='${libname}.so'
                   6031:   dynamic_linker="$host_os ld.so"
                   6032:   shlibpath_var=LIBRARY_PATH
                   6033:   ;;
                   6034:
                   6035: bsdi4*)
                   6036:   version_type=linux
                   6037:   need_version=no
                   6038:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6039:   soname_spec='${libname}${release}.so$major'
                   6040:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   6041:   shlibpath_var=LD_LIBRARY_PATH
                   6042:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   6043:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   6044:   export_dynamic_flag_spec=-rdynamic
                   6045:   # the default ld.so.conf also contains /usr/contrib/lib and
                   6046:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   6047:   # libtool to hard-code these into programs
                   6048:   ;;
                   6049:
                   6050: cygwin* | mingw* | pw32*)
                   6051:   version_type=windows
                   6052:   need_version=no
                   6053:   need_lib_prefix=no
                   6054:   case $GCC,$host_os in
                   6055:   yes,cygwin*)
                   6056:     library_names_spec='$libname.dll.a'
                   6057:     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6058:     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
                   6059:       dldir=$destdir/`dirname \$dlpath`~
                   6060:       test -d \$dldir || mkdir -p \$dldir~
                   6061:       $install_prog .libs/$dlname \$dldir/$dlname'
                   6062:     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   6063:       dlpath=$dir/\$dldll~
                   6064:        $rm \$dlpath'
                   6065:     ;;
                   6066:   yes,mingw*)
                   6067:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6068:     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
                   6069:     ;;
                   6070:   yes,pw32*)
                   6071:     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
                   6072:     ;;
                   6073:   *)
                   6074:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
                   6075:     ;;
                   6076:   esac
                   6077:   dynamic_linker='Win32 ld.exe'
                   6078:   # FIXME: first we should search . and the directory the executable is in
                   6079:   shlibpath_var=PATH
                   6080:   ;;
                   6081:
                   6082: darwin* | rhapsody*)
                   6083:   dynamic_linker="$host_os dyld"
                   6084:   version_type=darwin
                   6085:   need_lib_prefix=no
                   6086:   need_version=no
                   6087:   # FIXME: Relying on posixy $() will cause problems for
                   6088:   #        cross-compilation, but unfortunately the echo tests do not
                   6089:   #        yet detect zsh echo's removal of \ escapes.
                   6090:   library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
                   6091:   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
                   6092:   shlibpath_overrides_runpath=yes
                   6093:   shlibpath_var=DYLD_LIBRARY_PATH
                   6094:   ;;
                   6095:
                   6096: freebsd1*)
                   6097:   dynamic_linker=no
                   6098:   ;;
                   6099:
                   6100: freebsd*)
                   6101:   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
                   6102:   version_type=freebsd-$objformat
                   6103:   case $version_type in
                   6104:     freebsd-elf*)
                   6105:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
                   6106:       need_version=no
                   6107:       need_lib_prefix=no
                   6108:       ;;
                   6109:     freebsd-*)
                   6110:       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
                   6111:       need_version=yes
                   6112:       ;;
                   6113:   esac
                   6114:   shlibpath_var=LD_LIBRARY_PATH
                   6115:   case $host_os in
                   6116:   freebsd2*)
                   6117:     shlibpath_overrides_runpath=yes
                   6118:     ;;
                   6119:   *)
                   6120:     shlibpath_overrides_runpath=no
                   6121:     hardcode_into_libs=yes
                   6122:     ;;
                   6123:   esac
                   6124:   ;;
                   6125:
                   6126: gnu*)
                   6127:   version_type=linux
                   6128:   need_lib_prefix=no
                   6129:   need_version=no
                   6130:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
                   6131:   soname_spec='${libname}${release}.so$major'
                   6132:   shlibpath_var=LD_LIBRARY_PATH
                   6133:   hardcode_into_libs=yes
                   6134:   ;;
                   6135:
                   6136: hpux9* | hpux10* | hpux11*)
                   6137:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   6138:   # link against other versions.
                   6139:   dynamic_linker="$host_os dld.sl"
                   6140:   version_type=sunos
                   6141:   need_lib_prefix=no
                   6142:   need_version=no
                   6143:   shlibpath_var=SHLIB_PATH
                   6144:   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   6145:   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
                   6146:   soname_spec='${libname}${release}.sl$major'
                   6147:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
                   6148:   postinstall_cmds='chmod 555 $lib'
                   6149:   ;;
                   6150:
                   6151: irix5* | irix6*)
                   6152:   version_type=irix
                   6153:   need_lib_prefix=no
                   6154:   need_version=no
                   6155:   soname_spec='${libname}${release}.so$major'
                   6156:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
                   6157:   case $host_os in
                   6158:   irix5*)
                   6159:     libsuff= shlibsuff=
                   6160:     ;;
                   6161:   *)
                   6162:     case $LD in # libtool.m4 will add one of these switches to LD
                   6163:     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
                   6164:     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
                   6165:     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   6166:     *) libsuff= shlibsuff= libmagic=never-match;;
                   6167:     esac
                   6168:     ;;
                   6169:   esac
                   6170:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   6171:   shlibpath_overrides_runpath=no
                   6172:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   6173:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   6174:   ;;
                   6175:
                   6176: # No shared lib support for Linux oldld, aout, or coff.
                   6177: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
                   6178:   dynamic_linker=no
                   6179:   ;;
                   6180:
                   6181: # This must be Linux ELF.
                   6182: linux-gnu*)
                   6183:   version_type=linux
                   6184:   need_lib_prefix=no
                   6185:   need_version=no
                   6186:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6187:   soname_spec='${libname}${release}.so$major'
                   6188:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   6189:   shlibpath_var=LD_LIBRARY_PATH
                   6190:   shlibpath_overrides_runpath=no
                   6191:   # This implies no fast_install, which is unacceptable.
                   6192:   # Some rework will be needed to allow for fast_install
                   6193:   # before this can be enabled.
                   6194:   hardcode_into_libs=yes
                   6195:
                   6196:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   6197:   # powerpc, because MkLinux only supported shared libraries with the
                   6198:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   6199:   # most powerpc-linux boxes support dynamic linking these days and
                   6200:   # people can always --disable-shared, the test was removed, and we
                   6201:   # assume the GNU/Linux dynamic linker is in use.
                   6202:   dynamic_linker='GNU/Linux ld.so'
                   6203:   ;;
                   6204:
                   6205: netbsd*)
                   6206:   version_type=sunos
                   6207:   need_lib_prefix=no
                   6208:   need_version=no
                   6209:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6210:     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6211:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6212:     dynamic_linker='NetBSD (a.out) ld.so'
                   6213:   else
                   6214:     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
                   6215:     soname_spec='${libname}${release}.so$major'
                   6216:     dynamic_linker='NetBSD ld.elf_so'
                   6217:   fi
                   6218:   shlibpath_var=LD_LIBRARY_PATH
                   6219:   shlibpath_overrides_runpath=yes
                   6220:   hardcode_into_libs=yes
                   6221:   ;;
                   6222:
                   6223: newsos6)
                   6224:   version_type=linux
                   6225:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6226:   shlibpath_var=LD_LIBRARY_PATH
                   6227:   shlibpath_overrides_runpath=yes
                   6228:   ;;
                   6229:
                   6230: openbsd*)
                   6231:   version_type=sunos
                   6232:   need_lib_prefix=no
                   6233:   need_version=no
                   6234:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6235:     case "$host_os" in
                   6236:     openbsd2.[89] | openbsd2.[89].*)
                   6237:       shlibpath_overrides_runpath=no
                   6238:       ;;
                   6239:     *)
                   6240:       shlibpath_overrides_runpath=yes
                   6241:       ;;
                   6242:     esac
                   6243:   else
                   6244:     shlibpath_overrides_runpath=yes
                   6245:   fi
                   6246:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6247:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6248:   shlibpath_var=LD_LIBRARY_PATH
                   6249:   ;;
                   6250:
                   6251: os2*)
                   6252:   libname_spec='$name'
                   6253:   need_lib_prefix=no
                   6254:   library_names_spec='$libname.dll $libname.a'
                   6255:   dynamic_linker='OS/2 ld.exe'
                   6256:   shlibpath_var=LIBPATH
                   6257:   ;;
                   6258:
                   6259: osf3* | osf4* | osf5*)
                   6260:   version_type=osf
                   6261:   need_version=no
                   6262:   soname_spec='${libname}${release}.so'
                   6263:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
                   6264:   shlibpath_var=LD_LIBRARY_PATH
                   6265:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   6266:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   6267:   ;;
                   6268:
                   6269: sco3.2v5*)
                   6270:   version_type=osf
                   6271:   soname_spec='${libname}${release}.so$major'
                   6272:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6273:   shlibpath_var=LD_LIBRARY_PATH
                   6274:   ;;
                   6275:
                   6276: solaris*)
                   6277:   version_type=linux
                   6278:   need_lib_prefix=no
                   6279:   need_version=no
                   6280:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6281:   soname_spec='${libname}${release}.so$major'
                   6282:   shlibpath_var=LD_LIBRARY_PATH
                   6283:   shlibpath_overrides_runpath=yes
                   6284:   hardcode_into_libs=yes
                   6285:   # ldd complains unless libraries are executable
                   6286:   postinstall_cmds='chmod +x $lib'
                   6287:   ;;
                   6288:
                   6289: sunos4*)
                   6290:   version_type=sunos
                   6291:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6292:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   6293:   shlibpath_var=LD_LIBRARY_PATH
                   6294:   shlibpath_overrides_runpath=yes
                   6295:   if test "$with_gnu_ld" = yes; then
                   6296:     need_lib_prefix=no
                   6297:   fi
                   6298:   need_version=yes
                   6299:   ;;
                   6300:
                   6301: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   6302:   version_type=linux
                   6303:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6304:   soname_spec='${libname}${release}.so$major'
                   6305:   shlibpath_var=LD_LIBRARY_PATH
                   6306:   case $host_vendor in
                   6307:     sni)
                   6308:       shlibpath_overrides_runpath=no
                   6309:       ;;
                   6310:     motorola)
                   6311:       need_lib_prefix=no
                   6312:       need_version=no
                   6313:       shlibpath_overrides_runpath=no
                   6314:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   6315:       ;;
                   6316:   esac
                   6317:   ;;
                   6318:
                   6319: uts4*)
                   6320:   version_type=linux
                   6321:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6322:   soname_spec='${libname}${release}.so$major'
                   6323:   shlibpath_var=LD_LIBRARY_PATH
                   6324:   ;;
                   6325:
                   6326: dgux*)
                   6327:   version_type=linux
                   6328:   need_lib_prefix=no
                   6329:   need_version=no
                   6330:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6331:   soname_spec='${libname}${release}.so$major'
                   6332:   shlibpath_var=LD_LIBRARY_PATH
                   6333:   ;;
                   6334:
                   6335: sysv4*MP*)
                   6336:   if test -d /usr/nec ;then
                   6337:     version_type=linux
                   6338:     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
                   6339:     soname_spec='$libname.so.$major'
                   6340:     shlibpath_var=LD_LIBRARY_PATH
                   6341:   fi
                   6342:   ;;
                   6343:
                   6344: *)
                   6345:   dynamic_linker=no
                   6346:   ;;
                   6347: esac
                   6348: echo "$as_me:6348: result: $dynamic_linker" >&5
                   6349: echo "${ECHO_T}$dynamic_linker" >&6
                   6350: test "$dynamic_linker" = no && can_build_shared=no
                   6351: ##
                   6352: ## END FIXME
                   6353:
                   6354: ## FIXME: this should be a separate macro
                   6355: ##
                   6356: # Report the final consequences.
                   6357: echo "$as_me:6357: checking if libtool supports shared libraries" >&5
                   6358: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   6359: echo "$as_me:6359: result: $can_build_shared" >&5
                   6360: echo "${ECHO_T}$can_build_shared" >&6
                   6361: ##
                   6362: ## END FIXME
                   6363:
                   6364: ## FIXME: this should be a separate macro
                   6365: ##
                   6366: echo "$as_me:6366: checking whether to build shared libraries" >&5
                   6367: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   6368: test "$can_build_shared" = "no" && enable_shared=no
                   6369:
                   6370: # On AIX, shared libraries and static libraries use the same namespace, and
                   6371: # are all built from PIC.
                   6372: case "$host_os" in
                   6373: aix3*)
                   6374:   test "$enable_shared" = yes && enable_static=no
                   6375:   if test -n "$RANLIB"; then
                   6376:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   6377:     postinstall_cmds='$RANLIB $lib'
                   6378:   fi
                   6379:   ;;
                   6380:
                   6381: aix4*)
                   6382:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   6383:     test "$enable_shared" = yes && enable_static=no
                   6384:   fi
                   6385:   ;;
                   6386: esac
                   6387: echo "$as_me:6387: result: $enable_shared" >&5
                   6388: echo "${ECHO_T}$enable_shared" >&6
                   6389: ##
                   6390: ## END FIXME
                   6391:
                   6392: ## FIXME: this should be a separate macro
                   6393: ##
                   6394: echo "$as_me:6394: checking whether to build static libraries" >&5
                   6395: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   6396: # Make sure either enable_shared or enable_static is yes.
                   6397: test "$enable_shared" = yes || enable_static=yes
                   6398: echo "$as_me:6398: result: $enable_static" >&5
                   6399: echo "${ECHO_T}$enable_static" >&6
                   6400: ##
                   6401: ## END FIXME
                   6402:
                   6403: if test "$hardcode_action" = relink; then
                   6404:   # Fast installation is not supported
                   6405:   enable_fast_install=no
                   6406: elif test "$shlibpath_overrides_runpath" = yes ||
                   6407:      test "$enable_shared" = no; then
                   6408:   # Fast installation is not necessary
                   6409:   enable_fast_install=needless
                   6410: fi
                   6411:
                   6412: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   6413: if test "$GCC" = yes; then
                   6414:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   6415: fi
                   6416:
                   6417: if test "x$enable_dlopen" != xyes; then
                   6418:   enable_dlopen=unknown
                   6419:   enable_dlopen_self=unknown
                   6420:   enable_dlopen_self_static=unknown
                   6421: else
                   6422:   lt_cv_dlopen=no
                   6423:   lt_cv_dlopen_libs=
                   6424:
                   6425:   case $host_os in
                   6426:   beos*)
                   6427:     lt_cv_dlopen="load_add_on"
                   6428:     lt_cv_dlopen_libs=
                   6429:     lt_cv_dlopen_self=yes
                   6430:     ;;
                   6431:
                   6432:   cygwin* | mingw* | pw32*)
                   6433:     lt_cv_dlopen="LoadLibrary"
                   6434:     lt_cv_dlopen_libs=
                   6435:    ;;
                   6436:
                   6437:   *)
                   6438:     echo "$as_me:6438: checking for shl_load" >&5
                   6439: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   6440: if test "${ac_cv_func_shl_load+set}" = set; then
                   6441:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6442: else
                   6443:   cat >conftest.$ac_ext <<_ACEOF
                   6444: #line 6444 "configure"
                   6445: #include "confdefs.h"
                   6446: /* System header to define __stub macros and hopefully few prototypes,
                   6447:     which can conflict with char shl_load (); below.  */
                   6448: #include <assert.h>
                   6449: /* Override any gcc2 internal prototype to avoid an error.  */
                   6450: #ifdef __cplusplus
                   6451: extern "C"
                   6452: #endif
                   6453: /* We use char because int might match the return type of a gcc2
                   6454:    builtin and then its argument prototype would still apply.  */
                   6455: char shl_load ();
                   6456: char (*f) ();
                   6457:
                   6458: int
                   6459: main ()
                   6460: {
                   6461: /* The GNU C library defines this for functions which it implements
                   6462:     to always fail with ENOSYS.  Some functions are actually named
                   6463:     something starting with __ and the normal name is an alias.  */
                   6464: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   6465: choke me
                   6466: #else
                   6467: f = shl_load;
                   6468: #endif
                   6469:
                   6470:   ;
                   6471:   return 0;
                   6472: }
                   6473: _ACEOF
                   6474: rm -f conftest.$ac_objext conftest$ac_exeext
                   6475: if { (eval echo "$as_me:6475: \"$ac_link\"") >&5
                   6476:   (eval $ac_link) 2>&5
                   6477:   ac_status=$?
                   6478:   echo "$as_me:6478: \$? = $ac_status" >&5
                   6479:   (exit $ac_status); } &&
                   6480:          { ac_try='test -s conftest$ac_exeext'
                   6481:   { (eval echo "$as_me:6481: \"$ac_try\"") >&5
                   6482:   (eval $ac_try) 2>&5
                   6483:   ac_status=$?
                   6484:   echo "$as_me:6484: \$? = $ac_status" >&5
                   6485:   (exit $ac_status); }; }; then
                   6486:   ac_cv_func_shl_load=yes
                   6487: else
                   6488:   echo "$as_me: failed program was:" >&5
                   6489: cat conftest.$ac_ext >&5
                   6490: ac_cv_func_shl_load=no
                   6491: fi
                   6492: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6493: fi
                   6494: echo "$as_me:6494: result: $ac_cv_func_shl_load" >&5
                   6495: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   6496: if test $ac_cv_func_shl_load = yes; then
                   6497:   lt_cv_dlopen="shl_load"
                   6498: else
                   6499:   echo "$as_me:6499: checking for shl_load in -ldld" >&5
                   6500: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   6501: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   6502:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6503: else
                   6504:   ac_check_lib_save_LIBS=$LIBS
                   6505: LIBS="-ldld  $LIBS"
                   6506: cat >conftest.$ac_ext <<_ACEOF
                   6507: #line 6507 "configure"
                   6508: #include "confdefs.h"
                   6509:
                   6510: /* Override any gcc2 internal prototype to avoid an error.  */
                   6511: #ifdef __cplusplus
                   6512: extern "C"
                   6513: #endif
                   6514: /* We use char because int might match the return type of a gcc2
                   6515:    builtin and then its argument prototype would still apply.  */
                   6516: char shl_load ();
                   6517: int
                   6518: main ()
                   6519: {
                   6520: shl_load ();
                   6521:   ;
                   6522:   return 0;
                   6523: }
                   6524: _ACEOF
                   6525: rm -f conftest.$ac_objext conftest$ac_exeext
                   6526: if { (eval echo "$as_me:6526: \"$ac_link\"") >&5
                   6527:   (eval $ac_link) 2>&5
                   6528:   ac_status=$?
                   6529:   echo "$as_me:6529: \$? = $ac_status" >&5
                   6530:   (exit $ac_status); } &&
                   6531:          { ac_try='test -s conftest$ac_exeext'
                   6532:   { (eval echo "$as_me:6532: \"$ac_try\"") >&5
                   6533:   (eval $ac_try) 2>&5
                   6534:   ac_status=$?
                   6535:   echo "$as_me:6535: \$? = $ac_status" >&5
                   6536:   (exit $ac_status); }; }; then
                   6537:   ac_cv_lib_dld_shl_load=yes
                   6538: else
                   6539:   echo "$as_me: failed program was:" >&5
                   6540: cat conftest.$ac_ext >&5
                   6541: ac_cv_lib_dld_shl_load=no
                   6542: fi
                   6543: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6544: LIBS=$ac_check_lib_save_LIBS
                   6545: fi
                   6546: echo "$as_me:6546: result: $ac_cv_lib_dld_shl_load" >&5
                   6547: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   6548: if test $ac_cv_lib_dld_shl_load = yes; then
                   6549:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
                   6550: else
                   6551:   echo "$as_me:6551: checking for dlopen" >&5
                   6552: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   6553: if test "${ac_cv_func_dlopen+set}" = set; then
                   6554:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6555: else
                   6556:   cat >conftest.$ac_ext <<_ACEOF
                   6557: #line 6557 "configure"
                   6558: #include "confdefs.h"
                   6559: /* System header to define __stub macros and hopefully few prototypes,
                   6560:     which can conflict with char dlopen (); below.  */
                   6561: #include <assert.h>
                   6562: /* Override any gcc2 internal prototype to avoid an error.  */
                   6563: #ifdef __cplusplus
                   6564: extern "C"
                   6565: #endif
                   6566: /* We use char because int might match the return type of a gcc2
                   6567:    builtin and then its argument prototype would still apply.  */
                   6568: char dlopen ();
                   6569: char (*f) ();
                   6570:
                   6571: int
                   6572: main ()
                   6573: {
                   6574: /* The GNU C library defines this for functions which it implements
                   6575:     to always fail with ENOSYS.  Some functions are actually named
                   6576:     something starting with __ and the normal name is an alias.  */
                   6577: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   6578: choke me
                   6579: #else
                   6580: f = dlopen;
                   6581: #endif
                   6582:
                   6583:   ;
                   6584:   return 0;
                   6585: }
                   6586: _ACEOF
                   6587: rm -f conftest.$ac_objext conftest$ac_exeext
                   6588: if { (eval echo "$as_me:6588: \"$ac_link\"") >&5
                   6589:   (eval $ac_link) 2>&5
                   6590:   ac_status=$?
                   6591:   echo "$as_me:6591: \$? = $ac_status" >&5
                   6592:   (exit $ac_status); } &&
                   6593:          { ac_try='test -s conftest$ac_exeext'
                   6594:   { (eval echo "$as_me:6594: \"$ac_try\"") >&5
                   6595:   (eval $ac_try) 2>&5
                   6596:   ac_status=$?
                   6597:   echo "$as_me:6597: \$? = $ac_status" >&5
                   6598:   (exit $ac_status); }; }; then
                   6599:   ac_cv_func_dlopen=yes
                   6600: else
                   6601:   echo "$as_me: failed program was:" >&5
                   6602: cat conftest.$ac_ext >&5
                   6603: ac_cv_func_dlopen=no
                   6604: fi
                   6605: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6606: fi
                   6607: echo "$as_me:6607: result: $ac_cv_func_dlopen" >&5
                   6608: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   6609: if test $ac_cv_func_dlopen = yes; then
                   6610:   lt_cv_dlopen="dlopen"
                   6611: else
                   6612:   echo "$as_me:6612: checking for dlopen in -ldl" >&5
                   6613: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   6614: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   6615:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6616: else
                   6617:   ac_check_lib_save_LIBS=$LIBS
                   6618: LIBS="-ldl  $LIBS"
                   6619: cat >conftest.$ac_ext <<_ACEOF
                   6620: #line 6620 "configure"
                   6621: #include "confdefs.h"
                   6622:
                   6623: /* Override any gcc2 internal prototype to avoid an error.  */
                   6624: #ifdef __cplusplus
                   6625: extern "C"
                   6626: #endif
                   6627: /* We use char because int might match the return type of a gcc2
                   6628:    builtin and then its argument prototype would still apply.  */
                   6629: char dlopen ();
                   6630: int
                   6631: main ()
                   6632: {
                   6633: dlopen ();
                   6634:   ;
                   6635:   return 0;
                   6636: }
                   6637: _ACEOF
                   6638: rm -f conftest.$ac_objext conftest$ac_exeext
                   6639: if { (eval echo "$as_me:6639: \"$ac_link\"") >&5
                   6640:   (eval $ac_link) 2>&5
                   6641:   ac_status=$?
                   6642:   echo "$as_me:6642: \$? = $ac_status" >&5
                   6643:   (exit $ac_status); } &&
                   6644:          { ac_try='test -s conftest$ac_exeext'
                   6645:   { (eval echo "$as_me:6645: \"$ac_try\"") >&5
                   6646:   (eval $ac_try) 2>&5
                   6647:   ac_status=$?
                   6648:   echo "$as_me:6648: \$? = $ac_status" >&5
                   6649:   (exit $ac_status); }; }; then
                   6650:   ac_cv_lib_dl_dlopen=yes
                   6651: else
                   6652:   echo "$as_me: failed program was:" >&5
                   6653: cat conftest.$ac_ext >&5
                   6654: ac_cv_lib_dl_dlopen=no
                   6655: fi
                   6656: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6657: LIBS=$ac_check_lib_save_LIBS
                   6658: fi
                   6659: echo "$as_me:6659: result: $ac_cv_lib_dl_dlopen" >&5
                   6660: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   6661: if test $ac_cv_lib_dl_dlopen = yes; then
                   6662:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   6663: else
                   6664:   echo "$as_me:6664: checking for dlopen in -lsvld" >&5
                   6665: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   6666: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   6667:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6668: else
                   6669:   ac_check_lib_save_LIBS=$LIBS
                   6670: LIBS="-lsvld  $LIBS"
                   6671: cat >conftest.$ac_ext <<_ACEOF
                   6672: #line 6672 "configure"
                   6673: #include "confdefs.h"
                   6674:
                   6675: /* Override any gcc2 internal prototype to avoid an error.  */
                   6676: #ifdef __cplusplus
                   6677: extern "C"
                   6678: #endif
                   6679: /* We use char because int might match the return type of a gcc2
                   6680:    builtin and then its argument prototype would still apply.  */
                   6681: char dlopen ();
                   6682: int
                   6683: main ()
                   6684: {
                   6685: dlopen ();
                   6686:   ;
                   6687:   return 0;
                   6688: }
                   6689: _ACEOF
                   6690: rm -f conftest.$ac_objext conftest$ac_exeext
                   6691: if { (eval echo "$as_me:6691: \"$ac_link\"") >&5
                   6692:   (eval $ac_link) 2>&5
                   6693:   ac_status=$?
                   6694:   echo "$as_me:6694: \$? = $ac_status" >&5
                   6695:   (exit $ac_status); } &&
                   6696:          { ac_try='test -s conftest$ac_exeext'
                   6697:   { (eval echo "$as_me:6697: \"$ac_try\"") >&5
                   6698:   (eval $ac_try) 2>&5
                   6699:   ac_status=$?
                   6700:   echo "$as_me:6700: \$? = $ac_status" >&5
                   6701:   (exit $ac_status); }; }; then
                   6702:   ac_cv_lib_svld_dlopen=yes
                   6703: else
                   6704:   echo "$as_me: failed program was:" >&5
                   6705: cat conftest.$ac_ext >&5
                   6706: ac_cv_lib_svld_dlopen=no
                   6707: fi
                   6708: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6709: LIBS=$ac_check_lib_save_LIBS
                   6710: fi
                   6711: echo "$as_me:6711: result: $ac_cv_lib_svld_dlopen" >&5
                   6712: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   6713: if test $ac_cv_lib_svld_dlopen = yes; then
                   6714:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   6715: else
                   6716:   echo "$as_me:6716: checking for dld_link in -ldld" >&5
                   6717: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   6718: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   6719:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6720: else
                   6721:   ac_check_lib_save_LIBS=$LIBS
                   6722: LIBS="-ldld  $LIBS"
                   6723: cat >conftest.$ac_ext <<_ACEOF
                   6724: #line 6724 "configure"
                   6725: #include "confdefs.h"
                   6726:
                   6727: /* Override any gcc2 internal prototype to avoid an error.  */
                   6728: #ifdef __cplusplus
                   6729: extern "C"
                   6730: #endif
                   6731: /* We use char because int might match the return type of a gcc2
                   6732:    builtin and then its argument prototype would still apply.  */
                   6733: char dld_link ();
                   6734: int
                   6735: main ()
                   6736: {
                   6737: dld_link ();
                   6738:   ;
                   6739:   return 0;
                   6740: }
                   6741: _ACEOF
                   6742: rm -f conftest.$ac_objext conftest$ac_exeext
                   6743: if { (eval echo "$as_me:6743: \"$ac_link\"") >&5
                   6744:   (eval $ac_link) 2>&5
                   6745:   ac_status=$?
                   6746:   echo "$as_me:6746: \$? = $ac_status" >&5
                   6747:   (exit $ac_status); } &&
                   6748:          { ac_try='test -s conftest$ac_exeext'
                   6749:   { (eval echo "$as_me:6749: \"$ac_try\"") >&5
                   6750:   (eval $ac_try) 2>&5
                   6751:   ac_status=$?
                   6752:   echo "$as_me:6752: \$? = $ac_status" >&5
                   6753:   (exit $ac_status); }; }; then
                   6754:   ac_cv_lib_dld_dld_link=yes
                   6755: else
                   6756:   echo "$as_me: failed program was:" >&5
                   6757: cat conftest.$ac_ext >&5
                   6758: ac_cv_lib_dld_dld_link=no
                   6759: fi
                   6760: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6761: LIBS=$ac_check_lib_save_LIBS
                   6762: fi
                   6763: echo "$as_me:6763: result: $ac_cv_lib_dld_dld_link" >&5
                   6764: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   6765: if test $ac_cv_lib_dld_dld_link = yes; then
                   6766:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
                   6767: fi
                   6768:
                   6769: fi
                   6770:
                   6771: fi
                   6772:
                   6773: fi
                   6774:
                   6775: fi
                   6776:
                   6777: fi
                   6778:
                   6779:     ;;
                   6780:   esac
                   6781:
                   6782:   if test "x$lt_cv_dlopen" != xno; then
                   6783:     enable_dlopen=yes
                   6784:   else
                   6785:     enable_dlopen=no
                   6786:   fi
                   6787:
                   6788:   case $lt_cv_dlopen in
                   6789:   dlopen)
                   6790:     save_CPPFLAGS="$CPPFLAGS"
                   6791:         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   6792:
                   6793:     save_LDFLAGS="$LDFLAGS"
                   6794:     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   6795:
                   6796:     save_LIBS="$LIBS"
                   6797:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   6798:
                   6799:     echo "$as_me:6799: checking whether a program can dlopen itself" >&5
                   6800: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   6801: if test "${lt_cv_dlopen_self+set}" = set; then
                   6802:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6803: else
                   6804:          if test "$cross_compiling" = yes; then :
                   6805:   lt_cv_dlopen_self=cross
                   6806: else
                   6807:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   6808:   lt_status=$lt_dlunknown
                   6809:   cat > conftest.$ac_ext <<EOF
                   6810: #line 6810 "configure"
                   6811: #include "confdefs.h"
                   6812:
                   6813: #if HAVE_DLFCN_H
                   6814: #include <dlfcn.h>
                   6815: #endif
                   6816:
                   6817: #include <stdio.h>
                   6818:
                   6819: #ifdef RTLD_GLOBAL
                   6820: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   6821: #else
                   6822: #  ifdef DL_GLOBAL
                   6823: #    define LT_DLGLOBAL                DL_GLOBAL
                   6824: #  else
                   6825: #    define LT_DLGLOBAL                0
                   6826: #  endif
                   6827: #endif
                   6828:
                   6829: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   6830:    find out it does not work in some platform. */
                   6831: #ifndef LT_DLLAZY_OR_NOW
                   6832: #  ifdef RTLD_LAZY
                   6833: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   6834: #  else
                   6835: #    ifdef DL_LAZY
                   6836: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   6837: #    else
                   6838: #      ifdef RTLD_NOW
                   6839: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   6840: #      else
                   6841: #        ifdef DL_NOW
                   6842: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   6843: #        else
                   6844: #          define LT_DLLAZY_OR_NOW     0
                   6845: #        endif
                   6846: #      endif
                   6847: #    endif
                   6848: #  endif
                   6849: #endif
                   6850:
                   6851: #ifdef __cplusplus
                   6852: extern "C" void exit (int);
                   6853: #endif
                   6854:
                   6855: void fnord() { int i=42;}
                   6856: int main ()
                   6857: {
                   6858:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   6859:   int status = $lt_dlunknown;
                   6860:
                   6861:   if (self)
                   6862:     {
                   6863:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   6864:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   6865:       /* dlclose (self); */
                   6866:     }
                   6867:
                   6868:     exit (status);
                   6869: }
                   6870: EOF
                   6871:   if { (eval echo "$as_me:6871: \"$ac_link\"") >&5
                   6872:   (eval $ac_link) 2>&5
                   6873:   ac_status=$?
                   6874:   echo "$as_me:6874: \$? = $ac_status" >&5
                   6875:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   6876:     (./conftest; exit; ) 2>/dev/null
                   6877:     lt_status=$?
                   6878:     case x$lt_status in
                   6879:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   6880:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   6881:       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
                   6882:     esac
                   6883:   else :
                   6884:     # compilation failed
                   6885:     lt_cv_dlopen_self=no
                   6886:   fi
                   6887: fi
                   6888: rm -fr conftest*
                   6889:
                   6890: fi
                   6891: echo "$as_me:6891: result: $lt_cv_dlopen_self" >&5
                   6892: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   6893:
                   6894:     if test "x$lt_cv_dlopen_self" = xyes; then
                   6895:       LDFLAGS="$LDFLAGS $link_static_flag"
                   6896:       echo "$as_me:6896: checking whether a statically linked program can dlopen itself" >&5
                   6897: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   6898: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   6899:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6900: else
                   6901:          if test "$cross_compiling" = yes; then :
                   6902:   lt_cv_dlopen_self_static=cross
                   6903: else
                   6904:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   6905:   lt_status=$lt_dlunknown
                   6906:   cat > conftest.$ac_ext <<EOF
                   6907: #line 6907 "configure"
                   6908: #include "confdefs.h"
                   6909:
                   6910: #if HAVE_DLFCN_H
                   6911: #include <dlfcn.h>
                   6912: #endif
                   6913:
                   6914: #include <stdio.h>
                   6915:
                   6916: #ifdef RTLD_GLOBAL
                   6917: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   6918: #else
                   6919: #  ifdef DL_GLOBAL
                   6920: #    define LT_DLGLOBAL                DL_GLOBAL
                   6921: #  else
                   6922: #    define LT_DLGLOBAL                0
                   6923: #  endif
                   6924: #endif
                   6925:
                   6926: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   6927:    find out it does not work in some platform. */
                   6928: #ifndef LT_DLLAZY_OR_NOW
                   6929: #  ifdef RTLD_LAZY
                   6930: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   6931: #  else
                   6932: #    ifdef DL_LAZY
                   6933: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   6934: #    else
                   6935: #      ifdef RTLD_NOW
                   6936: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   6937: #      else
                   6938: #        ifdef DL_NOW
                   6939: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   6940: #        else
                   6941: #          define LT_DLLAZY_OR_NOW     0
                   6942: #        endif
                   6943: #      endif
                   6944: #    endif
                   6945: #  endif
                   6946: #endif
                   6947:
                   6948: #ifdef __cplusplus
                   6949: extern "C" void exit (int);
                   6950: #endif
                   6951:
                   6952: void fnord() { int i=42;}
                   6953: int main ()
                   6954: {
                   6955:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   6956:   int status = $lt_dlunknown;
                   6957:
                   6958:   if (self)
                   6959:     {
                   6960:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   6961:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   6962:       /* dlclose (self); */
                   6963:     }
                   6964:
                   6965:     exit (status);
                   6966: }
                   6967: EOF
                   6968:   if { (eval echo "$as_me:6968: \"$ac_link\"") >&5
                   6969:   (eval $ac_link) 2>&5
                   6970:   ac_status=$?
                   6971:   echo "$as_me:6971: \$? = $ac_status" >&5
                   6972:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   6973:     (./conftest; exit; ) 2>/dev/null
                   6974:     lt_status=$?
                   6975:     case x$lt_status in
                   6976:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   6977:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   6978:       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
                   6979:     esac
                   6980:   else :
                   6981:     # compilation failed
                   6982:     lt_cv_dlopen_self_static=no
                   6983:   fi
                   6984: fi
                   6985: rm -fr conftest*
                   6986:
                   6987: fi
                   6988: echo "$as_me:6988: result: $lt_cv_dlopen_self_static" >&5
                   6989: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   6990:     fi
                   6991:
                   6992:     CPPFLAGS="$save_CPPFLAGS"
                   6993:     LDFLAGS="$save_LDFLAGS"
                   6994:     LIBS="$save_LIBS"
                   6995:     ;;
                   6996:   esac
                   6997:
                   6998:   case $lt_cv_dlopen_self in
                   6999:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   7000:   *) enable_dlopen_self=unknown ;;
                   7001:   esac
                   7002:
                   7003:   case $lt_cv_dlopen_self_static in
                   7004:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   7005:   *) enable_dlopen_self_static=unknown ;;
                   7006:   esac
                   7007: fi
                   7008:
                   7009: ## FIXME: this should be a separate macro
                   7010: ##
                   7011: if test "$enable_shared" = yes && test "$GCC" = yes; then
                   7012:   case $archive_cmds in
                   7013:   *'~'*)
                   7014:     # FIXME: we may have to deal with multi-command sequences.
                   7015:     ;;
                   7016:   '$CC '*)
                   7017:     # Test whether the compiler implicitly links with -lc since on some
                   7018:     # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   7019:     # to ld, don't add -lc before -lgcc.
                   7020:     echo "$as_me:7020: checking whether -lc should be explicitly linked in" >&5
                   7021: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   7022:     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   7023:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7024: else
                   7025:   $rm conftest*
                   7026:     echo 'static int dummy;' > conftest.$ac_ext
                   7027:
                   7028:     if { (eval echo "$as_me:7028: \"$ac_compile\"") >&5
                   7029:   (eval $ac_compile) 2>&5
                   7030:   ac_status=$?
                   7031:   echo "$as_me:7031: \$? = $ac_status" >&5
                   7032:   (exit $ac_status); }; then
                   7033:       soname=conftest
                   7034:       lib=conftest
                   7035:       libobjs=conftest.$ac_objext
                   7036:       deplibs=
                   7037:       wl=$lt_cv_prog_cc_wl
                   7038:       compiler_flags=-v
                   7039:       linker_flags=-v
                   7040:       verstring=
                   7041:       output_objdir=.
                   7042:       libname=conftest
                   7043:       save_allow_undefined_flag=$allow_undefined_flag
                   7044:       allow_undefined_flag=
                   7045:       if { (eval echo "$as_me:7045: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   7046:   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   7047:   ac_status=$?
                   7048:   echo "$as_me:7048: \$? = $ac_status" >&5
                   7049:   (exit $ac_status); }
                   7050:       then
                   7051:        lt_cv_archive_cmds_need_lc=no
                   7052:       else
                   7053:        lt_cv_archive_cmds_need_lc=yes
                   7054:       fi
                   7055:       allow_undefined_flag=$save_allow_undefined_flag
                   7056:     else
                   7057:       cat conftest.err 1>&5
                   7058:     fi
                   7059: fi
                   7060:
                   7061:     echo "$as_me:7061: result: $lt_cv_archive_cmds_need_lc" >&5
                   7062: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   7063:     ;;
                   7064:   esac
                   7065: fi
                   7066: need_lc=${lt_cv_archive_cmds_need_lc-yes}
                   7067: ##
                   7068: ## END FIXME
                   7069:
                   7070: ## FIXME: this should be a separate macro
                   7071: ##
                   7072: # The second clause should only fire when bootstrapping the
                   7073: # libtool distribution, otherwise you forgot to ship ltmain.sh
                   7074: # with your package, and you will get complaints that there are
                   7075: # no rules to generate ltmain.sh.
                   7076: if test -f "$ltmain"; then
                   7077:   :
                   7078: else
                   7079:   # If there is no Makefile yet, we rely on a make rule to execute
                   7080:   # `config.status --recheck' to rerun these tests and create the
                   7081:   # libtool script then.
                   7082:   test -f Makefile && make "$ltmain"
                   7083: fi
                   7084:
                   7085: if test -f "$ltmain"; then
                   7086:   trap "$rm \"${ofile}T\"; exit 1" 1 2 15
                   7087:   $rm -f "${ofile}T"
                   7088:
                   7089:   echo creating $ofile
                   7090:
                   7091:   # Now quote all the things that may contain metacharacters while being
                   7092:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
                   7093:   # variables and quote the copies for generation of the libtool script.
                   7094:   for var in echo old_CC old_CFLAGS \
                   7095:     AR AR_FLAGS CC LD LN_S NM SHELL \
                   7096:     reload_flag reload_cmds wl \
                   7097:     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
                   7098:     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
                   7099:     library_names_spec soname_spec \
                   7100:     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
                   7101:     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
                   7102:     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
                   7103:     old_striplib striplib file_magic_cmd export_symbols_cmds \
                   7104:     deplibs_check_method allow_undefined_flag no_undefined_flag \
                   7105:     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
                   7106:     global_symbol_to_c_name_address \
                   7107:     hardcode_libdir_flag_spec hardcode_libdir_separator  \
                   7108:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
                   7109:     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
                   7110:
                   7111:     case $var in
                   7112:     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
                   7113:     old_postinstall_cmds | old_postuninstall_cmds | \
                   7114:     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
                   7115:     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
                   7116:     postinstall_cmds | postuninstall_cmds | \
                   7117:     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
                   7118:       # Double-quote double-evaled strings.
                   7119:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
                   7120:       ;;
                   7121:     *)
                   7122:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
                   7123:       ;;
                   7124:     esac
                   7125:   done
                   7126:
                   7127:   cat <<__EOF__ > "${ofile}T"
                   7128: #! $SHELL
                   7129:
                   7130: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   7131: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
                   7132: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   7133: #
                   7134: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
                   7135: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
                   7136: #
                   7137: # This program is free software; you can redistribute it and/or modify
                   7138: # it under the terms of the GNU General Public License as published by
                   7139: # the Free Software Foundation; either version 2 of the License, or
                   7140: # (at your option) any later version.
                   7141: #
                   7142: # This program is distributed in the hope that it will be useful, but
                   7143: # WITHOUT ANY WARRANTY; without even the implied warranty of
                   7144: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                   7145: # General Public License for more details.
                   7146: #
                   7147: # You should have received a copy of the GNU General Public License
                   7148: # along with this program; if not, write to the Free Software
                   7149: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   7150: #
                   7151: # As a special exception to the GNU General Public License, if you
                   7152: # distribute this file as part of a program that contains a
                   7153: # configuration script generated by Autoconf, you may include it under
                   7154: # the same distribution terms that you use for the rest of that program.
                   7155:
                   7156: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   7157: Xsed="sed -e s/^X//"
                   7158:
                   7159: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   7160: # if CDPATH is set.
                   7161: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                   7162:
                   7163: # ### BEGIN LIBTOOL CONFIG
                   7164:
                   7165: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   7166:
                   7167: # Shell to use when invoking shell scripts.
                   7168: SHELL=$lt_SHELL
                   7169:
                   7170: # Whether or not to build shared libraries.
                   7171: build_libtool_libs=$enable_shared
                   7172:
                   7173: # Whether or not to build static libraries.
                   7174: build_old_libs=$enable_static
                   7175:
                   7176: # Whether or not to add -lc for building shared libraries.
                   7177: build_libtool_need_lc=$need_lc
                   7178:
                   7179: # Whether or not to optimize for fast installation.
                   7180: fast_install=$enable_fast_install
                   7181:
                   7182: # The host system.
                   7183: host_alias=$host_alias
                   7184: host=$host
                   7185:
                   7186: # An echo program that does not interpret backslashes.
                   7187: echo=$lt_echo
                   7188:
                   7189: # The archiver.
                   7190: AR=$lt_AR
                   7191: AR_FLAGS=$lt_AR_FLAGS
                   7192:
                   7193: # The default C compiler.
                   7194: CC=$lt_CC
                   7195:
                   7196: # Is the compiler the GNU C compiler?
                   7197: with_gcc=$GCC
                   7198:
                   7199: # The linker used to build libraries.
                   7200: LD=$lt_LD
                   7201:
                   7202: # Whether we need hard or soft links.
                   7203: LN_S=$lt_LN_S
                   7204:
                   7205: # A BSD-compatible nm program.
                   7206: NM=$lt_NM
                   7207:
                   7208: # A symbol stripping program
                   7209: STRIP=$STRIP
                   7210:
                   7211: # Used to examine libraries when file_magic_cmd begins "file"
                   7212: MAGIC_CMD=$MAGIC_CMD
                   7213:
                   7214: # Used on cygwin: DLL creation program.
                   7215: DLLTOOL="$DLLTOOL"
                   7216:
                   7217: # Used on cygwin: object dumper.
                   7218: OBJDUMP="$OBJDUMP"
                   7219:
                   7220: # Used on cygwin: assembler.
                   7221: AS="$AS"
                   7222:
                   7223: # The name of the directory that contains temporary libtool files.
                   7224: objdir=$objdir
                   7225:
                   7226: # How to create reloadable object files.
                   7227: reload_flag=$lt_reload_flag
                   7228: reload_cmds=$lt_reload_cmds
                   7229:
                   7230: # How to pass a linker flag through the compiler.
                   7231: wl=$lt_wl
                   7232:
                   7233: # Object file suffix (normally "o").
                   7234: objext="$ac_objext"
                   7235:
                   7236: # Old archive suffix (normally "a").
                   7237: libext="$libext"
                   7238:
                   7239: # Executable file suffix (normally "").
                   7240: exeext="$exeext"
                   7241:
                   7242: # Additional compiler flags for building library objects.
                   7243: pic_flag=$lt_pic_flag
                   7244: pic_mode=$pic_mode
                   7245:
                   7246: # Does compiler simultaneously support -c and -o options?
                   7247: compiler_c_o=$lt_compiler_c_o
                   7248:
                   7249: # Can we write directly to a .lo ?
                   7250: compiler_o_lo=$lt_compiler_o_lo
                   7251:
                   7252: # Must we lock files when doing compilation ?
                   7253: need_locks=$lt_need_locks
                   7254:
                   7255: # Do we need the lib prefix for modules?
                   7256: need_lib_prefix=$need_lib_prefix
                   7257:
                   7258: # Do we need a version for libraries?
                   7259: need_version=$need_version
                   7260:
                   7261: # Whether dlopen is supported.
                   7262: dlopen_support=$enable_dlopen
                   7263:
                   7264: # Whether dlopen of programs is supported.
                   7265: dlopen_self=$enable_dlopen_self
                   7266:
                   7267: # Whether dlopen of statically linked programs is supported.
                   7268: dlopen_self_static=$enable_dlopen_self_static
                   7269:
                   7270: # Compiler flag to prevent dynamic linking.
                   7271: link_static_flag=$lt_link_static_flag
                   7272:
                   7273: # Compiler flag to turn off builtin functions.
                   7274: no_builtin_flag=$lt_no_builtin_flag
                   7275:
                   7276: # Compiler flag to allow reflexive dlopens.
                   7277: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   7278:
                   7279: # Compiler flag to generate shared objects directly from archives.
                   7280: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   7281:
                   7282: # Compiler flag to generate thread-safe objects.
                   7283: thread_safe_flag_spec=$lt_thread_safe_flag_spec
                   7284:
                   7285: # Library versioning type.
                   7286: version_type=$version_type
                   7287:
                   7288: # Format of library name prefix.
                   7289: libname_spec=$lt_libname_spec
                   7290:
                   7291: # List of archive names.  First name is the real one, the rest are links.
                   7292: # The last name is the one that the linker finds with -lNAME.
                   7293: library_names_spec=$lt_library_names_spec
                   7294:
                   7295: # The coded name of the library, if different from the real name.
                   7296: soname_spec=$lt_soname_spec
                   7297:
                   7298: # Commands used to build and install an old-style archive.
                   7299: RANLIB=$lt_RANLIB
                   7300: old_archive_cmds=$lt_old_archive_cmds
                   7301: old_postinstall_cmds=$lt_old_postinstall_cmds
                   7302: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   7303:
                   7304: # Create an old-style archive from a shared archive.
                   7305: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   7306:
                   7307: # Create a temporary old-style archive to link instead of a shared archive.
                   7308: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   7309:
                   7310: # Commands used to build and install a shared archive.
                   7311: archive_cmds=$lt_archive_cmds
                   7312: archive_expsym_cmds=$lt_archive_expsym_cmds
                   7313: postinstall_cmds=$lt_postinstall_cmds
                   7314: postuninstall_cmds=$lt_postuninstall_cmds
                   7315:
                   7316: # Commands to strip libraries.
                   7317: old_striplib=$lt_old_striplib
                   7318: striplib=$lt_striplib
                   7319:
                   7320: # Method to check whether dependent libraries are shared objects.
                   7321: deplibs_check_method=$lt_deplibs_check_method
                   7322:
                   7323: # Command to use when deplibs_check_method == file_magic.
                   7324: file_magic_cmd=$lt_file_magic_cmd
                   7325:
                   7326: # Flag that allows shared libraries with undefined symbols to be built.
                   7327: allow_undefined_flag=$lt_allow_undefined_flag
                   7328:
                   7329: # Flag that forces no undefined symbols.
                   7330: no_undefined_flag=$lt_no_undefined_flag
                   7331:
                   7332: # Commands used to finish a libtool library installation in a directory.
                   7333: finish_cmds=$lt_finish_cmds
                   7334:
                   7335: # Same as above, but a single script fragment to be evaled but not shown.
                   7336: finish_eval=$lt_finish_eval
                   7337:
                   7338: # Take the output of nm and produce a listing of raw symbols and C names.
                   7339: global_symbol_pipe=$lt_global_symbol_pipe
                   7340:
                   7341: # Transform the output of nm in a proper C declaration
                   7342: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
                   7343:
                   7344: # Transform the output of nm in a C name address pair
                   7345: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
                   7346:
                   7347: # This is the shared library runtime path variable.
                   7348: runpath_var=$runpath_var
                   7349:
                   7350: # This is the shared library path variable.
                   7351: shlibpath_var=$shlibpath_var
                   7352:
                   7353: # Is shlibpath searched before the hard-coded library search path?
                   7354: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   7355:
                   7356: # How to hardcode a shared library path into an executable.
                   7357: hardcode_action=$hardcode_action
                   7358:
                   7359: # Whether we should hardcode library paths into libraries.
                   7360: hardcode_into_libs=$hardcode_into_libs
                   7361:
                   7362: # Flag to hardcode \$libdir into a binary during linking.
                   7363: # This must work even if \$libdir does not exist.
                   7364: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   7365:
                   7366: # Whether we need a single -rpath flag with a separated argument.
                   7367: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   7368:
                   7369: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
                   7370: # resulting binary.
                   7371: hardcode_direct=$hardcode_direct
                   7372:
                   7373: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
                   7374: # resulting binary.
                   7375: hardcode_minus_L=$hardcode_minus_L
                   7376:
                   7377: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
                   7378: # the resulting binary.
                   7379: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   7380:
                   7381: # Variables whose values should be saved in libtool wrapper scripts and
                   7382: # restored at relink time.
                   7383: variables_saved_for_relink="$variables_saved_for_relink"
                   7384:
                   7385: # Whether libtool must link a program against all its dependency libraries.
                   7386: link_all_deplibs=$link_all_deplibs
                   7387:
                   7388: # Compile-time system search path for libraries
                   7389: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   7390:
                   7391: # Run-time system search path for libraries
                   7392: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   7393:
                   7394: # Fix the shell variable \$srcfile for the compiler.
                   7395: fix_srcfile_path="$fix_srcfile_path"
                   7396:
                   7397: # Set to yes if exported symbols are required.
                   7398: always_export_symbols=$always_export_symbols
                   7399:
                   7400: # The commands to list exported symbols.
                   7401: export_symbols_cmds=$lt_export_symbols_cmds
                   7402:
                   7403: # The commands to extract the exported symbol list from a shared archive.
                   7404: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   7405:
                   7406: # Symbols that should not be listed in the preloaded symbols.
                   7407: exclude_expsyms=$lt_exclude_expsyms
                   7408:
                   7409: # Symbols that must always be exported.
                   7410: include_expsyms=$lt_include_expsyms
                   7411:
                   7412: # ### END LIBTOOL CONFIG
                   7413:
                   7414: __EOF__
                   7415:
                   7416:   case $host_os in
                   7417:   aix3*)
                   7418:     cat <<\EOF >> "${ofile}T"
                   7419:
                   7420: # AIX sometimes has problems with the GCC collect2 program.  For some
                   7421: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7422: # vanish in a puff of smoke.
                   7423: if test "X${COLLECT_NAMES+set}" != Xset; then
                   7424:   COLLECT_NAMES=
                   7425:   export COLLECT_NAMES
                   7426: fi
                   7427: EOF
                   7428:     ;;
                   7429:   esac
                   7430:
                   7431:   case $host_os in
                   7432:   cygwin* | mingw* | pw32* | os2*)
                   7433:     cat <<'EOF' >> "${ofile}T"
                   7434:       # This is a source program that is used to create dlls on Windows
                   7435:       # Don't remove nor modify the starting and closing comments
                   7436: # /* ltdll.c starts here */
                   7437: # #define WIN32_LEAN_AND_MEAN
                   7438: # #include <windows.h>
                   7439: # #undef WIN32_LEAN_AND_MEAN
                   7440: # #include <stdio.h>
                   7441: #
                   7442: # #ifndef __CYGWIN__
                   7443: # #  ifdef __CYGWIN32__
                   7444: # #    define __CYGWIN__ __CYGWIN32__
                   7445: # #  endif
                   7446: # #endif
                   7447: #
                   7448: # #ifdef __cplusplus
                   7449: # extern "C" {
                   7450: # #endif
                   7451: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
                   7452: # #ifdef __cplusplus
                   7453: # }
                   7454: # #endif
                   7455: #
                   7456: # #ifdef __CYGWIN__
                   7457: # #include <cygwin/cygwin_dll.h>
                   7458: # DECLARE_CYGWIN_DLL( DllMain );
                   7459: # #endif
                   7460: # HINSTANCE __hDllInstance_base;
                   7461: #
                   7462: # BOOL APIENTRY
                   7463: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
                   7464: # {
                   7465: #   __hDllInstance_base = hInst;
                   7466: #   return TRUE;
                   7467: # }
                   7468: # /* ltdll.c ends here */
                   7469:        # This is a source program that is used to create import libraries
                   7470:        # on Windows for dlls which lack them. Don't remove nor modify the
                   7471:        # starting and closing comments
                   7472: # /* impgen.c starts here */
                   7473: # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
                   7474: #
                   7475: #  This file is part of GNU libtool.
                   7476: #
                   7477: #  This program is free software; you can redistribute it and/or modify
                   7478: #  it under the terms of the GNU General Public License as published by
                   7479: #  the Free Software Foundation; either version 2 of the License, or
                   7480: #  (at your option) any later version.
                   7481: #
                   7482: #  This program is distributed in the hope that it will be useful,
                   7483: #  but WITHOUT ANY WARRANTY; without even the implied warranty of
                   7484: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   7485: #  GNU General Public License for more details.
                   7486: #
                   7487: #  You should have received a copy of the GNU General Public License
                   7488: #  along with this program; if not, write to the Free Software
                   7489: #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   7490: #  */
                   7491: #
                   7492: # #include <stdio.h>           /* for printf() */
                   7493: # #include <unistd.h>          /* for open(), lseek(), read() */
                   7494: # #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
                   7495: # #include <string.h>          /* for strdup() */
                   7496: #
                   7497: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
                   7498: # #ifndef O_BINARY
                   7499: # #define O_BINARY 0
                   7500: # #endif
                   7501: #
                   7502: # static unsigned int
                   7503: # pe_get16 (fd, offset)
                   7504: #      int fd;
                   7505: #      int offset;
                   7506: # {
                   7507: #   unsigned char b[2];
                   7508: #   lseek (fd, offset, SEEK_SET);
                   7509: #   read (fd, b, 2);
                   7510: #   return b[0] + (b[1]<<8);
                   7511: # }
                   7512: #
                   7513: # static unsigned int
                   7514: # pe_get32 (fd, offset)
                   7515: #     int fd;
                   7516: #     int offset;
                   7517: # {
                   7518: #   unsigned char b[4];
                   7519: #   lseek (fd, offset, SEEK_SET);
                   7520: #   read (fd, b, 4);
                   7521: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   7522: # }
                   7523: #
                   7524: # static unsigned int
                   7525: # pe_as32 (ptr)
                   7526: #      void *ptr;
                   7527: # {
                   7528: #   unsigned char *b = ptr;
                   7529: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   7530: # }
                   7531: #
                   7532: # int
                   7533: # main (argc, argv)
                   7534: #     int argc;
                   7535: #     char *argv[];
                   7536: # {
                   7537: #     int dll;
                   7538: #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
                   7539: #     unsigned long export_rva, export_size, nsections, secptr, expptr;
                   7540: #     unsigned long name_rvas, nexp;
                   7541: #     unsigned char *expdata, *erva;
                   7542: #     char *filename, *dll_name;
                   7543: #
                   7544: #     filename = argv[1];
                   7545: #
                   7546: #     dll = open(filename, O_RDONLY|O_BINARY);
                   7547: #     if (dll < 1)
                   7548: #      return 1;
                   7549: #
                   7550: #     dll_name = filename;
                   7551: #
                   7552: #     for (i=0; filename[i]; i++)
                   7553: #      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
                   7554: #          dll_name = filename + i +1;
                   7555: #
                   7556: #     pe_header_offset = pe_get32 (dll, 0x3c);
                   7557: #     opthdr_ofs = pe_header_offset + 4 + 20;
                   7558: #     num_entries = pe_get32 (dll, opthdr_ofs + 92);
                   7559: #
                   7560: #     if (num_entries < 1) /* no exports */
                   7561: #      return 1;
                   7562: #
                   7563: #     export_rva = pe_get32 (dll, opthdr_ofs + 96);
                   7564: #     export_size = pe_get32 (dll, opthdr_ofs + 100);
                   7565: #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
                   7566: #     secptr = (pe_header_offset + 4 + 20 +
                   7567: #            pe_get16 (dll, pe_header_offset + 4 + 16));
                   7568: #
                   7569: #     expptr = 0;
                   7570: #     for (i = 0; i < nsections; i++)
                   7571: #     {
                   7572: #      char sname[8];
                   7573: #      unsigned long secptr1 = secptr + 40 * i;
                   7574: #      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
                   7575: #      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
                   7576: #      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
                   7577: #      lseek(dll, secptr1, SEEK_SET);
                   7578: #      read(dll, sname, 8);
                   7579: #      if (vaddr <= export_rva && vaddr+vsize > export_rva)
                   7580: #      {
                   7581: #          expptr = fptr + (export_rva - vaddr);
                   7582: #          if (export_rva + export_size > vaddr + vsize)
                   7583: #              export_size = vsize - (export_rva - vaddr);
                   7584: #          break;
                   7585: #      }
                   7586: #     }
                   7587: #
                   7588: #     expdata = (unsigned char*)malloc(export_size);
                   7589: #     lseek (dll, expptr, SEEK_SET);
                   7590: #     read (dll, expdata, export_size);
                   7591: #     erva = expdata - export_rva;
                   7592: #
                   7593: #     nexp = pe_as32 (expdata+24);
                   7594: #     name_rvas = pe_as32 (expdata+32);
                   7595: #
                   7596: #     printf ("EXPORTS\n");
                   7597: #     for (i = 0; i<nexp; i++)
                   7598: #     {
                   7599: #      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
                   7600: #      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
                   7601: #     }
                   7602: #
                   7603: #     return 0;
                   7604: # }
                   7605: # /* impgen.c ends here */
                   7606:
                   7607: EOF
                   7608:     ;;
                   7609:   esac
                   7610:
                   7611:   # We use sed instead of cat because bash on DJGPP gets confused if
                   7612:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   7613:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   7614:   # is reportedly fixed, but why not run on old versions too?
                   7615:   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
                   7616:
                   7617:   mv -f "${ofile}T" "$ofile" || \
                   7618:     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
                   7619:   chmod +x "$ofile"
                   7620: fi
                   7621: ##
                   7622: ## END FIXME
                   7623:
                   7624: # This can be used to rebuild libtool when needed
                   7625: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
                   7626:
                   7627: # Always use our own libtool.
                   7628: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   7629:
                   7630: # Prevent multiple expansion
                   7631:
                   7632: echo "$as_me:7632: checking if host is AViiON running DGUX" >&5
                   7633: echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
                   7634: ac_is_dgux=no
                   7635: echo "$as_me:7635: checking for sys/dg_sys_info.h" >&5
                   7636: echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
                   7637: if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
                   7638:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7639: else
                   7640:   cat >conftest.$ac_ext <<_ACEOF
                   7641: #line 7641 "configure"
                   7642: #include "confdefs.h"
                   7643: #include <sys/dg_sys_info.h>
                   7644: _ACEOF
                   7645: if { (eval echo "$as_me:7645: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7646:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7647:   ac_status=$?
                   7648:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   7649:   rm -f conftest.er1
                   7650:   cat conftest.err >&5
                   7651:   echo "$as_me:7651: \$? = $ac_status" >&5
                   7652:   (exit $ac_status); } >/dev/null; then
                   7653:   if test -s conftest.err; then
                   7654:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7655:   else
                   7656:     ac_cpp_err=
                   7657:   fi
                   7658: else
                   7659:   ac_cpp_err=yes
                   7660: fi
                   7661: if test -z "$ac_cpp_err"; then
                   7662:   ac_cv_header_sys_dg_sys_info_h=yes
                   7663: else
                   7664:   echo "$as_me: failed program was:" >&5
                   7665:   cat conftest.$ac_ext >&5
                   7666:   ac_cv_header_sys_dg_sys_info_h=no
                   7667: fi
                   7668: rm -f conftest.err conftest.$ac_ext
                   7669: fi
                   7670: echo "$as_me:7670: result: $ac_cv_header_sys_dg_sys_info_h" >&5
                   7671: echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
                   7672: if test $ac_cv_header_sys_dg_sys_info_h = yes; then
                   7673:   ac_is_dgux=yes;
                   7674: fi
                   7675:
                   7676: if test $ac_is_dgux = yes; then
                   7677:    if test "$enable_full_debug" = "yes"; then
                   7678:       CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
                   7679:       CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
                   7680:    else
                   7681:       CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
                   7682:       CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
                   7683:    fi
                   7684:
                   7685: fi
                   7686:
                   7687: # Check whether --with-target-subdir or --without-target-subdir was given.
                   7688: if test "${with_target_subdir+set}" = set; then
                   7689:   withval="$with_target_subdir"
                   7690:
                   7691: fi;
                   7692:
                   7693: # Check whether --with-cross-host or --without-cross-host was given.
                   7694: if test "${with_cross_host+set}" = set; then
                   7695:   withval="$with_cross_host"
                   7696:
                   7697: fi;
                   7698:
                   7699: echo "$as_me:7699: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   7700: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
                   7701:     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
                   7702: if test "${enable_maintainer_mode+set}" = set; then
                   7703:   enableval="$enable_maintainer_mode"
                   7704:   USE_MAINTAINER_MODE=$enableval
                   7705: else
                   7706:   USE_MAINTAINER_MODE=no
                   7707: fi;
                   7708:   echo "$as_me:7708: result: $USE_MAINTAINER_MODE" >&5
                   7709: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
                   7710:
                   7711: if test $USE_MAINTAINER_MODE = yes; then
                   7712:   MAINTAINER_MODE_TRUE=
                   7713:   MAINTAINER_MODE_FALSE='#'
                   7714: else
                   7715:   MAINTAINER_MODE_TRUE='#'
                   7716:   MAINTAINER_MODE_FALSE=
                   7717: fi
                   7718:
                   7719:   MAINT=$MAINTAINER_MODE_TRUE
                   7720:
                   7721: # automake wants to see AC_EXEEXT.  But we don't need it.  And having
                   7722: # it is actually a problem, because the compiler we're passed can't
                   7723: # necessarily do a full link.  So we fool automake here.
                   7724: if false; then
                   7725:   # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
                   7726:   # to nothing, so nothing would remain between `then' and `fi' if it
                   7727:   # were not for the `:' below.
                   7728:   :
                   7729:
                   7730: fi
                   7731:
                   7732: echo "$as_me:7732: checking for threads package to use" >&5
                   7733: echo $ECHO_N "checking for threads package to use... $ECHO_C" >&6
                   7734:
                   7735: case "$host" in
                   7736:  sparc-sun-solaris2*)
                   7737:     if test "$GCC" = yes; then
                   7738:        new_CFLAGS=
                   7739:        for i in $CFLAGS; do
                   7740:          case "$i" in
                   7741:           -O*)
                   7742:              ;;
                   7743:           *)
                   7744:              new_CFLAGS="$new_CFLAGS $i"
                   7745:              ;;
                   7746:          esac
                   7747:        done
                   7748:        CFLAGS="$new_CFLAGS"
                   7749:     fi
                   7750:     ;;
                   7751: esac
                   7752:
                   7753: MY_CFLAGS="$CFLAGS"
                   7754:
                   7755: cat >>confdefs.h <<\EOF
                   7756: #define SILENT 1
                   7757: EOF
                   7758:
1.2     ! noro     7759: #cat >>confdefs.h <<\EOF
        !          7760: ##define NO_SIGNALS 1
        !          7761: #EOF
1.1       noro     7762:
                   7763: cat >>confdefs.h <<\EOF
                   7764: #define NO_EXECUTE_PERMISSION 1
                   7765: EOF
                   7766:
                   7767: cat >>confdefs.h <<\EOF
                   7768: #define ALL_INTERIOR_POINTERS 1
                   7769: EOF
                   7770:
                   7771: cat >>confdefs.h <<\EOF
                   7772: #define JAVA_FINALIZATION 1
                   7773: EOF
                   7774:
                   7775: cat >>confdefs.h <<\EOF
                   7776: #define GC_GCJ_SUPPORT 1
                   7777: EOF
                   7778:
                   7779: cat >>confdefs.h <<\EOF
                   7780: #define ATOMIC_UNCOLLECTABLE 1
                   7781: EOF
                   7782:
                   7783: if test -n "${with_cross_host}"; then
                   7784:    cat >>confdefs.h <<\EOF
                   7785: #define NO_SIGSET 1
                   7786: EOF
                   7787:
                   7788:    cat >>confdefs.h <<\EOF
                   7789: #define NO_CLOCK 1
                   7790: EOF
                   7791:
                   7792:    cat >>confdefs.h <<\EOF
                   7793: #define SMALL_CONFIG 1
                   7794: EOF
                   7795:
                   7796:    cat >>confdefs.h <<\EOF
                   7797: #define NO_DEBUGGING 1
                   7798: EOF
                   7799:
                   7800: fi
                   7801:
                   7802: # Check whether --enable-full-debug or --disable-full-debug was given.
                   7803: if test "${enable_full_debug+set}" = set; then
                   7804:   enableval="$enable_full_debug"
                   7805:    if test "$enable_full_debug" = "yes"; then
                   7806:     { echo "$as_me:7806: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
                   7807: echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
                   7808:     cat >>confdefs.h <<\EOF
                   7809: #define KEEP_BACK_PTRS 1
                   7810: EOF
                   7811:
                   7812:     cat >>confdefs.h <<\EOF
                   7813: #define DBG_HDRS_ALL 1
                   7814: EOF
                   7815:
                   7816:     case $host in
                   7817:       ia64-*-linux* )
                   7818:        cat >>confdefs.h <<\EOF
                   7819: #define MAKE_BACK_GRAPH 1
                   7820: EOF
                   7821:
                   7822:       ;;
                   7823:       x86-*-linux* | i586-*-linux* | i686-*-linux* )
                   7824:        cat >>confdefs.h <<\EOF
                   7825: #define MAKE_BACK_GRAPH 1
                   7826: EOF
                   7827:
                   7828:        { echo "$as_me:7828: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
                   7829: echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
                   7830:        cat >>confdefs.h <<\EOF
                   7831: #define SAVE_CALL_COUNT 8
                   7832: EOF
                   7833:
                   7834:       ;;
                   7835:       i345686-*-dgux*)
                   7836:        cat >>confdefs.h <<\EOF
                   7837: #define MAKE_BACK_GRAPH 1
                   7838: EOF
                   7839:
                   7840:       ;;
                   7841:     esac
                   7842:   fi
                   7843: fi;
                   7844:
                   7845: # Check whether --enable-redirect-malloc or --disable-redirect-malloc was given.
                   7846: if test "${enable_redirect_malloc+set}" = set; then
                   7847:   enableval="$enable_redirect_malloc"
                   7848:
                   7849: fi;
                   7850:
                   7851: if test "${enable_redirect_malloc}" = yes; then
                   7852:     if test "${enable_full_debug}" = yes; then
                   7853:        cat >>confdefs.h <<\EOF
                   7854: #define REDIRECT_MALLOC GC_debug_malloc_replacement
                   7855: EOF
                   7856:
                   7857:        cat >>confdefs.h <<\EOF
                   7858: #define REDIRECT_REALLOC GC_debug_realloc_replacement
                   7859: EOF
                   7860:
                   7861:     else
                   7862:        cat >>confdefs.h <<\EOF
                   7863: #define REDIRECT_MALLOC GC_malloc
                   7864: EOF
                   7865:
                   7866:     fi
                   7867: fi
                   7868:
                   7869: if test -z "$with_cross_host"; then
                   7870:   USE_LIBDIR_TRUE=
                   7871:   USE_LIBDIR_FALSE='#'
                   7872: else
                   7873:   USE_LIBDIR_TRUE='#'
                   7874:   USE_LIBDIR_FALSE=
                   7875: fi
                   7876:
                   7877: if test "${multilib}" = "yes"; then
                   7878:   multilib_arg="--enable-multilib"
                   7879: else
                   7880:   multilib_arg=
                   7881: fi
                   7882:
                   7883: ac_config_files="$ac_config_files Makefile"
                   7884: ac_config_commands="$ac_config_commands default"
                   7885: cat >confcache <<\_ACEOF
                   7886: # This file is a shell script that caches the results of configure
                   7887: # tests run on this system so they can be shared between configure
                   7888: # scripts and configure runs, see configure's option --config-cache.
                   7889: # It is not useful on other systems.  If it contains results you don't
                   7890: # want to keep, you may remove or edit it.
                   7891: #
                   7892: # config.status only pays attention to the cache file if you give it
                   7893: # the --recheck option to rerun configure.
                   7894: #
                   7895: # `ac_cv_env_foo' variables (set or unset) will be overriden when
                   7896: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   7897: # following values.
                   7898:
                   7899: _ACEOF
                   7900:
                   7901: # The following way of writing the cache mishandles newlines in values,
                   7902: # but we know of no workaround that is simple, portable, and efficient.
                   7903: # So, don't put newlines in cache variables' values.
                   7904: # Ultrix sh set writes to stderr and can't be redirected directly,
                   7905: # and sets the high bit in the cache file unless we assign to the vars.
                   7906: {
                   7907:   (set) 2>&1 |
                   7908:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   7909:     *ac_space=\ *)
                   7910:       # `set' does not quote correctly, so add quotes (double-quote
                   7911:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   7912:       sed -n \
                   7913:         "s/'/'\\\\''/g;
                   7914:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   7915:       ;;
                   7916:     *)
                   7917:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   7918:       sed -n \
                   7919:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   7920:       ;;
                   7921:     esac;
                   7922: } |
                   7923:   sed '
                   7924:      t clear
                   7925:      : clear
                   7926:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   7927:      t end
                   7928:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   7929:      : end' >>confcache
                   7930: if cmp -s $cache_file confcache; then :; else
                   7931:   if test -w $cache_file; then
                   7932:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   7933:     cat confcache >$cache_file
                   7934:   else
                   7935:     echo "not updating unwritable cache $cache_file"
                   7936:   fi
                   7937: fi
                   7938: rm -f confcache
                   7939:
                   7940: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   7941: # Let make expand exec_prefix.
                   7942: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   7943:
                   7944: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   7945: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   7946: # trailing colons and then remove the whole line if VPATH becomes empty
                   7947: # (actually we leave an empty line to preserve line numbers).
                   7948: if test "x$srcdir" = x.; then
                   7949:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   7950: s/:*\$(srcdir):*/:/;
                   7951: s/:*\${srcdir}:*/:/;
                   7952: s/:*@srcdir@:*/:/;
                   7953: s/^\([^=]*=[   ]*\):*/\1/;
                   7954: s/:*$//;
                   7955: s/^[^=]*=[     ]*$//;
                   7956: }'
                   7957: fi
                   7958:
                   7959: # Transform confdefs.h into DEFS.
                   7960: # Protect against shell expansion while executing Makefile rules.
                   7961: # Protect against Makefile macro expansion.
                   7962: #
                   7963: # If the first sed substitution is executed (which looks for macros that
                   7964: # take arguments), then we branch to the quote section.  Otherwise,
                   7965: # look for a macro that doesn't take arguments.
                   7966: cat >confdef2opt.sed <<\EOF
                   7967: t clear
                   7968: : clear
                   7969: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
                   7970: t quote
                   7971: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
                   7972: t quote
                   7973: d
                   7974: : quote
                   7975: s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
                   7976: s,\[,\\&,g
                   7977: s,\],\\&,g
                   7978: s,\$,$$,g
                   7979: p
                   7980: EOF
                   7981: # We use echo to avoid assuming a particular line-breaking character.
                   7982: # The extra dot is to prevent the shell from consuming trailing
                   7983: # line-breaks from the sub-command output.  A line-break within
                   7984: # single-quotes doesn't work because, if this script is created in a
                   7985: # platform that uses two characters for line-breaks (e.g., DOS), tr
                   7986: # would break.
                   7987: ac_LF_and_DOT=`echo; echo .`
                   7988: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
                   7989: rm -f confdef2opt.sed
                   7990:
                   7991: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   7992:   { { echo "$as_me:7992: error: conditional \"AMDEP\" was never defined.
                   7993: Usually this means the macro was only invoked conditionally." >&5
                   7994: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   7995: Usually this means the macro was only invoked conditionally." >&2;}
                   7996:    { (exit 1); exit 1; }; }
                   7997: fi
                   7998: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   7999:   { { echo "$as_me:7999: error: conditional \"MAINTAINER_MODE\" was never defined.
                   8000: Usually this means the macro was only invoked conditionally." >&5
                   8001: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
                   8002: Usually this means the macro was only invoked conditionally." >&2;}
                   8003:    { (exit 1); exit 1; }; }
                   8004: fi
                   8005: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   8006:   { { echo "$as_me:8006: error: conditional \"MAINTAINER_MODE\" was never defined.
                   8007: Usually this means the macro was only invoked conditionally." >&5
                   8008: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
                   8009: Usually this means the macro was only invoked conditionally." >&2;}
                   8010:    { (exit 1); exit 1; }; }
                   8011: fi
                   8012: if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then
                   8013:   { { echo "$as_me:8013: error: conditional \"USE_LIBDIR\" was never defined.
                   8014: Usually this means the macro was only invoked conditionally." >&5
                   8015: echo "$as_me: error: conditional \"USE_LIBDIR\" was never defined.
                   8016: Usually this means the macro was only invoked conditionally." >&2;}
                   8017:    { (exit 1); exit 1; }; }
                   8018: fi
                   8019:
                   8020: : ${CONFIG_STATUS=./config.status}
                   8021: ac_clean_files_save=$ac_clean_files
                   8022: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   8023: { echo "$as_me:8023: creating $CONFIG_STATUS" >&5
                   8024: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   8025: cat >$CONFIG_STATUS <<_ACEOF
                   8026: #! $SHELL
                   8027: # Generated automatically by configure.
                   8028: # Run this file to recreate the current configuration.
                   8029: # Compiler output produced by configure, useful for debugging
                   8030: # configure, is in config.log if it exists.
                   8031:
                   8032: debug=false
                   8033: SHELL=\${CONFIG_SHELL-$SHELL}
                   8034: ac_cs_invocation="\$0 \$@"
                   8035:
                   8036: _ACEOF
                   8037:
                   8038: cat >>$CONFIG_STATUS <<\_ACEOF
                   8039: # Be Bourne compatible
                   8040: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   8041:   emulate sh
                   8042:   NULLCMD=:
                   8043: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   8044:   set -o posix
                   8045: fi
                   8046:
                   8047: # Name of the executable.
                   8048: as_me=`echo "$0" |sed 's,.*[\\/],,'`
                   8049:
                   8050: if expr a : '\(a\)' >/dev/null 2>&1; then
                   8051:   as_expr=expr
                   8052: else
                   8053:   as_expr=false
                   8054: fi
                   8055:
                   8056: rm -f conf$$ conf$$.exe conf$$.file
                   8057: echo >conf$$.file
                   8058: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   8059:   # We could just check for DJGPP; but this test a) works b) is more generic
                   8060:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   8061:   if test -f conf$$.exe; then
                   8062:     # Don't use ln at all; we don't have any links
                   8063:     as_ln_s='cp -p'
                   8064:   else
                   8065:     as_ln_s='ln -s'
                   8066:   fi
                   8067: elif ln conf$$.file conf$$ 2>/dev/null; then
                   8068:   as_ln_s=ln
                   8069: else
                   8070:   as_ln_s='cp -p'
                   8071: fi
                   8072: rm -f conf$$ conf$$.exe conf$$.file
                   8073:
                   8074: as_executable_p="test -f"
                   8075:
                   8076: # Support unset when possible.
                   8077: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   8078:   as_unset=unset
                   8079: else
                   8080:   as_unset=false
                   8081: fi
                   8082:
                   8083: # NLS nuisances.
                   8084: $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
                   8085: $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
                   8086: $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
                   8087: $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
                   8088: $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
                   8089: $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
                   8090: $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
                   8091: $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
                   8092:
                   8093: # IFS
                   8094: # We need space, tab and new line, in precisely that order.
                   8095: as_nl='
                   8096: '
                   8097: IFS="  $as_nl"
                   8098:
                   8099: # CDPATH.
                   8100: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
                   8101:
                   8102: exec 6>&1
                   8103:
                   8104: _ACEOF
                   8105:
                   8106: # Files that config.status was made for.
                   8107: if test -n "$ac_config_files"; then
                   8108:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   8109: fi
                   8110:
                   8111: if test -n "$ac_config_headers"; then
                   8112:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   8113: fi
                   8114:
                   8115: if test -n "$ac_config_links"; then
                   8116:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   8117: fi
                   8118:
                   8119: if test -n "$ac_config_commands"; then
                   8120:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   8121: fi
                   8122:
                   8123: cat >>$CONFIG_STATUS <<\EOF
                   8124:
                   8125: ac_cs_usage="\
                   8126: \`$as_me' instantiates files from templates according to the
                   8127: current configuration.
                   8128:
                   8129: Usage: $0 [OPTIONS] [FILE]...
                   8130:
                   8131:   -h, --help       print this help, then exit
                   8132:   -V, --version    print version number, then exit
                   8133:   -d, --debug      don't remove temporary files
                   8134:       --recheck    update $as_me by reconfiguring in the same conditions
                   8135:   --file=FILE[:TEMPLATE]
                   8136:                    instantiate the configuration file FILE
                   8137:
                   8138: Configuration files:
                   8139: $config_files
                   8140:
                   8141: Configuration commands:
                   8142: $config_commands
                   8143:
                   8144: Report bugs to <bug-autoconf@gnu.org>."
                   8145: EOF
                   8146:
                   8147: cat >>$CONFIG_STATUS <<EOF
                   8148: ac_cs_version="\\
                   8149: gc config.status 6.1
                   8150: configured by $0, generated by GNU Autoconf 2.52,
                   8151:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   8152:
                   8153: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   8154: Free Software Foundation, Inc.
                   8155: This config.status script is free software; the Free Software Foundation
                   8156: gives unlimited permission to copy, distribute and modify it."
                   8157: srcdir=$srcdir
                   8158: INSTALL="$INSTALL"
                   8159: EOF
                   8160:
                   8161: cat >>$CONFIG_STATUS <<\EOF
                   8162: # If no file are specified by the user, then we need to provide default
                   8163: # value.  By we need to know if files were specified by the user.
                   8164: ac_need_defaults=:
                   8165: while test $# != 0
                   8166: do
                   8167:   case $1 in
                   8168:   --*=*)
                   8169:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   8170:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   8171:     shift
                   8172:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
                   8173:     shift
                   8174:     ;;
                   8175:   -*);;
                   8176:   *) # This is not an option, so the user has probably given explicit
                   8177:      # arguments.
                   8178:      ac_need_defaults=false;;
                   8179:   esac
                   8180:
                   8181:   case $1 in
                   8182:   # Handling of the options.
                   8183: EOF
                   8184: cat >>$CONFIG_STATUS <<EOF
                   8185:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   8186:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
                   8187:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
                   8188: EOF
                   8189: cat >>$CONFIG_STATUS <<\EOF
                   8190:   --version | --vers* | -V )
                   8191:     echo "$ac_cs_version"; exit 0 ;;
                   8192:   --he | --h)
                   8193:     # Conflict between --help and --header
                   8194:     { { echo "$as_me:8194: error: ambiguous option: $1
                   8195: Try \`$0 --help' for more information." >&5
                   8196: echo "$as_me: error: ambiguous option: $1
                   8197: Try \`$0 --help' for more information." >&2;}
                   8198:    { (exit 1); exit 1; }; };;
                   8199:   --help | --hel | -h )
                   8200:     echo "$ac_cs_usage"; exit 0 ;;
                   8201:   --debug | --d* | -d )
                   8202:     debug=: ;;
                   8203:   --file | --fil | --fi | --f )
                   8204:     shift
                   8205:     CONFIG_FILES="$CONFIG_FILES $1"
                   8206:     ac_need_defaults=false;;
                   8207:   --header | --heade | --head | --hea )
                   8208:     shift
                   8209:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
                   8210:     ac_need_defaults=false;;
                   8211:
                   8212:   # This is an error.
                   8213:   -*) { { echo "$as_me:8213: error: unrecognized option: $1
                   8214: Try \`$0 --help' for more information." >&5
                   8215: echo "$as_me: error: unrecognized option: $1
                   8216: Try \`$0 --help' for more information." >&2;}
                   8217:    { (exit 1); exit 1; }; } ;;
                   8218:
                   8219:   *) ac_config_targets="$ac_config_targets $1" ;;
                   8220:
                   8221:   esac
                   8222:   shift
                   8223: done
                   8224:
                   8225: exec 5>>config.log
                   8226: cat >&5 << _ACEOF
                   8227:
                   8228: ## ----------------------- ##
                   8229: ## Running config.status.  ##
                   8230: ## ----------------------- ##
                   8231:
                   8232: This file was extended by $as_me (gc 6.1) 2.52, executed with
                   8233:   CONFIG_FILES    = $CONFIG_FILES
                   8234:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   8235:   CONFIG_LINKS    = $CONFIG_LINKS
                   8236:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   8237:   > $ac_cs_invocation
                   8238: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   8239:
                   8240: _ACEOF
                   8241: EOF
                   8242:
                   8243: cat >>$CONFIG_STATUS <<EOF
                   8244: #
                   8245: # INIT-COMMANDS section.
                   8246: #
                   8247:
                   8248: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   8249: srcdir=${srcdir}
                   8250: host=${host}
                   8251: with_multisubdir=${with_multisubdir}
                   8252: ac_configure_args="${multilib_arg} ${ac_configure_args}"
                   8253: CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
                   8254: gc_basedir=${gc_basedir}
                   8255: CC="${CC}"
                   8256: DEFS="$DEFS"
                   8257:
                   8258: EOF
                   8259:
                   8260: cat >>$CONFIG_STATUS <<\EOF
                   8261: for ac_config_target in $ac_config_targets
                   8262: do
                   8263:   case "$ac_config_target" in
                   8264:   # Handling of arguments.
                   8265:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   8266:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   8267:   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
                   8268:   *) { { echo "$as_me:8268: error: invalid argument: $ac_config_target" >&5
                   8269: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   8270:    { (exit 1); exit 1; }; };;
                   8271:   esac
                   8272: done
                   8273:
                   8274: # If the user did not use the arguments to specify the items to instantiate,
                   8275: # then the envvar interface is used.  Set only those that are not.
                   8276: # We use the long form for the default assignment because of an extremely
                   8277: # bizarre bug on SunOS 4.1.3.
                   8278: if $ac_need_defaults; then
                   8279:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   8280:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   8281: fi
                   8282:
                   8283: # Create a temporary directory, and hook for its removal unless debugging.
                   8284: $debug ||
                   8285: {
                   8286:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   8287:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   8288: }
                   8289:
                   8290: # Create a (secure) tmp directory for tmp files.
                   8291: : ${TMPDIR=/tmp}
                   8292: {
                   8293:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
                   8294:   test -n "$tmp" && test -d "$tmp"
                   8295: }  ||
                   8296: {
                   8297:   tmp=$TMPDIR/cs$$-$RANDOM
                   8298:   (umask 077 && mkdir $tmp)
                   8299: } ||
                   8300: {
                   8301:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   8302:    { (exit 1); exit 1; }
                   8303: }
                   8304:
                   8305: EOF
                   8306:
                   8307: cat >>$CONFIG_STATUS <<EOF
                   8308:
                   8309: #
                   8310: # CONFIG_FILES section.
                   8311: #
                   8312:
                   8313: # No need to generate the scripts if there are no CONFIG_FILES.
                   8314: # This happens for instance when ./config.status config.h
                   8315: if test -n "\$CONFIG_FILES"; then
                   8316:   # Protect against being on the right side of a sed subst in config.status.
                   8317:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   8318:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   8319: s,@SHELL@,$SHELL,;t t
                   8320: s,@exec_prefix@,$exec_prefix,;t t
                   8321: s,@prefix@,$prefix,;t t
                   8322: s,@program_transform_name@,$program_transform_name,;t t
                   8323: s,@bindir@,$bindir,;t t
                   8324: s,@sbindir@,$sbindir,;t t
                   8325: s,@libexecdir@,$libexecdir,;t t
                   8326: s,@datadir@,$datadir,;t t
                   8327: s,@sysconfdir@,$sysconfdir,;t t
                   8328: s,@sharedstatedir@,$sharedstatedir,;t t
                   8329: s,@localstatedir@,$localstatedir,;t t
                   8330: s,@libdir@,$libdir,;t t
                   8331: s,@includedir@,$includedir,;t t
                   8332: s,@oldincludedir@,$oldincludedir,;t t
                   8333: s,@infodir@,$infodir,;t t
                   8334: s,@mandir@,$mandir,;t t
                   8335: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   8336: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   8337: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   8338: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   8339: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   8340: s,@build_alias@,$build_alias,;t t
                   8341: s,@host_alias@,$host_alias,;t t
                   8342: s,@target_alias@,$target_alias,;t t
                   8343: s,@ECHO_C@,$ECHO_C,;t t
                   8344: s,@ECHO_N@,$ECHO_N,;t t
                   8345: s,@ECHO_T@,$ECHO_T,;t t
                   8346: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   8347: s,@DEFS@,$DEFS,;t t
                   8348: s,@LIBS@,$LIBS,;t t
                   8349: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   8350: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   8351: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   8352: s,@PACKAGE@,$PACKAGE,;t t
                   8353: s,@VERSION@,$VERSION,;t t
                   8354: s,@ACLOCAL@,$ACLOCAL,;t t
                   8355: s,@AUTOCONF@,$AUTOCONF,;t t
                   8356: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   8357: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   8358: s,@MAKEINFO@,$MAKEINFO,;t t
                   8359: s,@AMTAR@,$AMTAR,;t t
                   8360: s,@install_sh@,$install_sh,;t t
                   8361: s,@STRIP@,$STRIP,;t t
                   8362: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   8363: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   8364: s,@AWK@,$AWK,;t t
                   8365: s,@SET_MAKE@,$SET_MAKE,;t t
                   8366: s,@build@,$build,;t t
                   8367: s,@build_cpu@,$build_cpu,;t t
                   8368: s,@build_vendor@,$build_vendor,;t t
                   8369: s,@build_os@,$build_os,;t t
                   8370: s,@host@,$host,;t t
                   8371: s,@host_cpu@,$host_cpu,;t t
                   8372: s,@host_vendor@,$host_vendor,;t t
                   8373: s,@host_os@,$host_os,;t t
                   8374: s,@CC@,$CC,;t t
                   8375: s,@CFLAGS@,$CFLAGS,;t t
                   8376: s,@LDFLAGS@,$LDFLAGS,;t t
                   8377: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   8378: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   8379: s,@EXEEXT@,$EXEEXT,;t t
                   8380: s,@OBJEXT@,$OBJEXT,;t t
                   8381: s,@DEPDIR@,$DEPDIR,;t t
                   8382: s,@am__include@,$am__include,;t t
                   8383: s,@am__quote@,$am__quote,;t t
                   8384: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   8385: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   8386: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   8387: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   8388: s,@CXX@,$CXX,;t t
                   8389: s,@CXXFLAGS@,$CXXFLAGS,;t t
                   8390: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   8391: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   8392: s,@CCAS@,$CCAS,;t t
                   8393: s,@CCASFLAGS@,$CCASFLAGS,;t t
                   8394: s,@AR@,$AR,;t t
                   8395: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   8396: s,@RANLIB@,$RANLIB,;t t
                   8397: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   8398: s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
                   8399: s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
                   8400: s,@MAINT@,$MAINT,;t t
                   8401: s,@gc_basedir@,$gc_basedir,;t t
                   8402: s,@GC_CFLAGS@,$GC_CFLAGS,;t t
                   8403: s,@THREADLIBS@,$THREADLIBS,;t t
                   8404: s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
                   8405: s,@target_all@,$target_all,;t t
                   8406: s,@INCLUDES@,$INCLUDES,;t t
                   8407: s,@CXXINCLUDES@,$CXXINCLUDES,;t t
                   8408: s,@addobjs@,$addobjs,;t t
                   8409: s,@LN_S@,$LN_S,;t t
                   8410: s,@ECHO@,$ECHO,;t t
                   8411: s,@CPP@,$CPP,;t t
                   8412: s,@LIBTOOL@,$LIBTOOL,;t t
                   8413: s,@MY_CFLAGS@,$MY_CFLAGS,;t t
                   8414: s,@USE_LIBDIR_TRUE@,$USE_LIBDIR_TRUE,;t t
                   8415: s,@USE_LIBDIR_FALSE@,$USE_LIBDIR_FALSE,;t t
                   8416: CEOF
                   8417:
                   8418: EOF
                   8419:
                   8420:   cat >>$CONFIG_STATUS <<\EOF
                   8421:   # Split the substitutions into bite-sized pieces for seds with
                   8422:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   8423:   ac_max_sed_lines=48
                   8424:   ac_sed_frag=1 # Number of current file.
                   8425:   ac_beg=1 # First line for current file.
                   8426:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   8427:   ac_more_lines=:
                   8428:   ac_sed_cmds=
                   8429:   while $ac_more_lines; do
                   8430:     if test $ac_beg -gt 1; then
                   8431:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   8432:     else
                   8433:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   8434:     fi
                   8435:     if test ! -s $tmp/subs.frag; then
                   8436:       ac_more_lines=false
                   8437:     else
                   8438:       # The purpose of the label and of the branching condition is to
                   8439:       # speed up the sed processing (if there are no `@' at all, there
                   8440:       # is no need to browse any of the substitutions).
                   8441:       # These are the two extra sed commands mentioned above.
                   8442:       (echo ':t
                   8443:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   8444:       if test -z "$ac_sed_cmds"; then
                   8445:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   8446:       else
                   8447:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   8448:       fi
                   8449:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   8450:       ac_beg=$ac_end
                   8451:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   8452:     fi
                   8453:   done
                   8454:   if test -z "$ac_sed_cmds"; then
                   8455:     ac_sed_cmds=cat
                   8456:   fi
                   8457: fi # test -n "$CONFIG_FILES"
                   8458:
                   8459: EOF
                   8460: cat >>$CONFIG_STATUS <<\EOF
                   8461: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   8462:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   8463:   case $ac_file in
                   8464:   - | *:- | *:-:* ) # input from stdin
                   8465:         cat >$tmp/stdin
                   8466:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8467:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   8468:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8469:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   8470:   * )   ac_file_in=$ac_file.in ;;
                   8471:   esac
                   8472:
                   8473:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   8474:   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8475:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   8476:          X"$ac_file" : 'X\(//\)$' \| \
                   8477:          X"$ac_file" : 'X\(/\)' \| \
                   8478:          .     : '\(.\)' 2>/dev/null ||
                   8479: echo X"$ac_file" |
                   8480:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8481:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8482:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8483:          /^X\(\/\).*/{ s//\1/; q; }
                   8484:          s/.*/./; q'`
                   8485:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   8486:     { case "$ac_dir" in
                   8487:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
                   8488:   *)                      as_incr_dir=.;;
                   8489: esac
                   8490: as_dummy="$ac_dir"
                   8491: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
                   8492:   case $as_mkdir_dir in
                   8493:     # Skip DOS drivespec
                   8494:     ?:) as_incr_dir=$as_mkdir_dir ;;
                   8495:     *)
                   8496:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
                   8497:       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
                   8498:     ;;
                   8499:   esac
                   8500: done; }
                   8501:
                   8502:     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
                   8503:     # A "../" for each directory in $ac_dir_suffix.
                   8504:     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
                   8505:   else
                   8506:     ac_dir_suffix= ac_dots=
                   8507:   fi
                   8508:
                   8509:   case $srcdir in
                   8510:   .)  ac_srcdir=.
                   8511:       if test -z "$ac_dots"; then
                   8512:          ac_top_srcdir=.
                   8513:       else
                   8514:          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
                   8515:       fi ;;
                   8516:   [\\/]* | ?:[\\/]* )
                   8517:       ac_srcdir=$srcdir$ac_dir_suffix;
                   8518:       ac_top_srcdir=$srcdir ;;
                   8519:   *) # Relative path.
                   8520:     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
                   8521:     ac_top_srcdir=$ac_dots$srcdir ;;
                   8522:   esac
                   8523:
                   8524:   case $INSTALL in
                   8525:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   8526:   *) ac_INSTALL=$ac_dots$INSTALL ;;
                   8527:   esac
                   8528:
                   8529:   if test x"$ac_file" != x-; then
                   8530:     { echo "$as_me:8530: creating $ac_file" >&5
                   8531: echo "$as_me: creating $ac_file" >&6;}
                   8532:     rm -f "$ac_file"
                   8533:   fi
                   8534:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   8535:   # use $as_me), people would be surprised to read:
                   8536:   #    /* config.h.  Generated automatically by config.status.  */
                   8537:   configure_input="Generated automatically from `echo $ac_file_in |
                   8538:                                                  sed 's,.*/,,'` by configure."
                   8539:
                   8540:   # First look for the input files in the build tree, otherwise in the
                   8541:   # src tree.
                   8542:   ac_file_inputs=`IFS=:
                   8543:     for f in $ac_file_in; do
                   8544:       case $f in
                   8545:       -) echo $tmp/stdin ;;
                   8546:       [\\/$]*)
                   8547:          # Absolute (can't be DOS-style, as IFS=:)
                   8548:          test -f "$f" || { { echo "$as_me:8548: error: cannot find input file: $f" >&5
                   8549: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8550:    { (exit 1); exit 1; }; }
                   8551:          echo $f;;
                   8552:       *) # Relative
                   8553:          if test -f "$f"; then
                   8554:            # Build tree
                   8555:            echo $f
                   8556:          elif test -f "$srcdir/$f"; then
                   8557:            # Source tree
                   8558:            echo $srcdir/$f
                   8559:          else
                   8560:            # /dev/null tree
                   8561:            { { echo "$as_me:8561: error: cannot find input file: $f" >&5
                   8562: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8563:    { (exit 1); exit 1; }; }
                   8564:          fi;;
                   8565:       esac
                   8566:     done` || { (exit 1); exit 1; }
                   8567: EOF
                   8568: cat >>$CONFIG_STATUS <<EOF
                   8569:   sed "$ac_vpsub
                   8570: $extrasub
                   8571: EOF
                   8572: cat >>$CONFIG_STATUS <<\EOF
                   8573: :t
                   8574: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   8575: s,@configure_input@,$configure_input,;t t
                   8576: s,@srcdir@,$ac_srcdir,;t t
                   8577: s,@top_srcdir@,$ac_top_srcdir,;t t
                   8578: s,@INSTALL@,$ac_INSTALL,;t t
                   8579: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   8580:   rm -f $tmp/stdin
                   8581:   if test x"$ac_file" != x-; then
                   8582:     mv $tmp/out $ac_file
                   8583:   else
                   8584:     cat $tmp/out
                   8585:     rm -f $tmp/out
                   8586:   fi
                   8587:
                   8588: done
                   8589: EOF
                   8590: cat >>$CONFIG_STATUS <<\EOF
                   8591:
                   8592: #
                   8593: # CONFIG_COMMANDS section.
                   8594: #
                   8595: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   8596:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   8597:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8598:
                   8599:   case $ac_dest in
                   8600:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   8601:   # Strip MF so we end up with the name of the file.
                   8602:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   8603:   if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
                   8604:     dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8605:          X"$mf" : 'X\(//\)[^/]' \| \
                   8606:          X"$mf" : 'X\(//\)$' \| \
                   8607:          X"$mf" : 'X\(/\)' \| \
                   8608:          .     : '\(.\)' 2>/dev/null ||
                   8609: echo X"$mf" |
                   8610:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8611:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8612:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8613:          /^X\(\/\).*/{ s//\1/; q; }
                   8614:          s/.*/./; q'`
                   8615:   else
                   8616:     continue
                   8617:   fi
                   8618:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   8619:   # Extract the definition of DEP_FILES from the Makefile without
                   8620:   # running `make'.
                   8621:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   8622:   test -z "$DEPDIR" && continue
                   8623:   # When using ansi2knr, U may be empty or an underscore; expand it
                   8624:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   8625:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   8626:   # We invoke sed twice because it is the simplest approach to
                   8627:   # changing $(DEPDIR) to its actual value in the expansion.
                   8628:   for file in `sed -n -e '
                   8629:     /^DEP_FILES = .*\\\\$/ {
                   8630:       s/^DEP_FILES = //
                   8631:       :loop
                   8632:        s/\\\\$//
                   8633:        p
                   8634:        n
                   8635:        /\\\\$/ b loop
                   8636:       p
                   8637:     }
                   8638:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   8639:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   8640:     # Make sure the directory exists.
                   8641:     test -f "$dirpart/$file" && continue
                   8642:     fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8643:          X"$file" : 'X\(//\)[^/]' \| \
                   8644:          X"$file" : 'X\(//\)$' \| \
                   8645:          X"$file" : 'X\(/\)' \| \
                   8646:          .     : '\(.\)' 2>/dev/null ||
                   8647: echo X"$file" |
                   8648:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8649:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8650:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8651:          /^X\(\/\).*/{ s//\1/; q; }
                   8652:          s/.*/./; q'`
                   8653:     { case $dirpart/$fdir in
                   8654:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
                   8655:   *)                      as_incr_dir=.;;
                   8656: esac
                   8657: as_dummy=$dirpart/$fdir
                   8658: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
                   8659:   case $as_mkdir_dir in
                   8660:     # Skip DOS drivespec
                   8661:     ?:) as_incr_dir=$as_mkdir_dir ;;
                   8662:     *)
                   8663:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
                   8664:       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
                   8665:     ;;
                   8666:   esac
                   8667: done; }
                   8668:
                   8669:     # echo "creating $dirpart/$file"
                   8670:     echo '# dummy' > "$dirpart/$file"
                   8671:   done
                   8672: done
                   8673:  ;;
                   8674:   esac
                   8675: done
                   8676: EOF
                   8677:
                   8678: cat >>$CONFIG_STATUS <<\EOF
                   8679:
                   8680: { (exit 0); exit 0; }
                   8681: EOF
                   8682: chmod +x $CONFIG_STATUS
                   8683: ac_clean_files=$ac_clean_files_save
                   8684:
                   8685: # configure is writing to config.log, and then calls config.status.
                   8686: # config.status does its own redirection, appending to config.log.
                   8687: # Unfortunately, on DOS this fails, as config.log is still kept open
                   8688: # by configure, so config.status won't be able to write to it; its
                   8689: # output is simply discarded.  So we exec the FD to /dev/null,
                   8690: # effectively closing config.log, so it can be properly (re)opened and
                   8691: # appended to by config.status.  When coming back to configure, we
                   8692: # need to make the FD available again.
                   8693: if test "$no_create" != yes; then
                   8694:   ac_cs_success=:
                   8695:   exec 5>/dev/null
                   8696:   $SHELL $CONFIG_STATUS || ac_cs_success=false
                   8697:   exec 5>>config.log
                   8698:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   8699:   # would make configure fail if this is the last instruction.
                   8700:   $ac_cs_success || { (exit 1); exit 1; }
                   8701: fi
                   8702:

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