Annotation of parser3/src/lib/ltdl/configure, revision 1.4.2.1

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.2       paf         3: # Generated by GNU Autoconf 2.57.
1.1       paf         4: #
1.2       paf         5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                      6: # Free Software Foundation, Inc.
1.1       paf         7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
1.2       paf         9: ## --------------------- ##
                     10: ## M4sh Initialization.  ##
                     11: ## --------------------- ##
                     12: 
                     13: # Be Bourne compatible
                     14: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     15:   emulate sh
                     16:   NULLCMD=:
                     17:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     18:   # is contrary to our usage.  Disable this feature.
                     19:   alias -g '${1+"$@"}'='"$@"'
                     20: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     21:   set -o posix
                     22: fi
                     23: 
                     24: # Support unset when possible.
                     25: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                     26:   as_unset=unset
                     27: else
                     28:   as_unset=false
                     29: fi
                     30: 
                     31: 
                     32: # Work around bugs in pre-3.0 UWIN ksh.
                     33: $as_unset ENV MAIL MAILPATH
                     34: PS1='$ '
                     35: PS2='> '
                     36: PS4='+ '
                     37: 
                     38: # NLS nuisances.
                     39: for as_var in \
                     40:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                     41:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                     42:   LC_TELEPHONE LC_TIME
                     43: do
                     44:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
                     45:     eval $as_var=C; export $as_var
                     46:   else
                     47:     $as_unset $as_var
                     48:   fi
                     49: done
                     50: 
                     51: # Required to use basename.
                     52: if expr a : '\(a\)' >/dev/null 2>&1; then
                     53:   as_expr=expr
                     54: else
                     55:   as_expr=false
                     56: fi
                     57: 
                     58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                     59:   as_basename=basename
                     60: else
                     61:   as_basename=false
                     62: fi
                     63: 
                     64: 
                     65: # Name of the executable.
                     66: as_me=`$as_basename "$0" ||
                     67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     68:         X"$0" : 'X\(//\)$' \| \
                     69:         X"$0" : 'X\(/\)$' \| \
                     70:         .     : '\(.\)' 2>/dev/null ||
                     71: echo X/"$0" |
                     72:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     73:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     74:          /^X\/\(\/\).*/{ s//\1/; q; }
                     75:          s/.*/./; q'`
                     76: 
                     77: 
                     78: # PATH needs CR, and LINENO needs CR and PATH.
                     79: # Avoid depending upon Character Ranges.
                     80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     83: as_cr_digits='0123456789'
                     84: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     85: 
                     86: # The user is always right.
                     87: if test "${PATH_SEPARATOR+set}" != set; then
                     88:   echo "#! /bin/sh" >conf$$.sh
                     89:   echo  "exit 0"   >>conf$$.sh
                     90:   chmod +x conf$$.sh
                     91:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                     92:     PATH_SEPARATOR=';'
                     93:   else
                     94:     PATH_SEPARATOR=:
                     95:   fi
                     96:   rm -f conf$$.sh
                     97: fi
                     98: 
                     99: 
                    100:   as_lineno_1=$LINENO
                    101:   as_lineno_2=$LINENO
                    102:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    103:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    104:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    105:   # Find who we are.  Look in the path if we contain no path at all
                    106:   # relative or not.
                    107:   case $0 in
                    108:     *[\\/]* ) as_myself=$0 ;;
                    109:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    110: for as_dir in $PATH
                    111: do
                    112:   IFS=$as_save_IFS
                    113:   test -z "$as_dir" && as_dir=.
                    114:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    115: done
                    116: 
                    117:        ;;
                    118:   esac
                    119:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    120:   # in which case we are not to be found in the path.
                    121:   if test "x$as_myself" = x; then
                    122:     as_myself=$0
                    123:   fi
                    124:   if test ! -f "$as_myself"; then
                    125:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    126:    { (exit 1); exit 1; }; }
                    127:   fi
                    128:   case $CONFIG_SHELL in
                    129:   '')
                    130:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    132: do
                    133:   IFS=$as_save_IFS
                    134:   test -z "$as_dir" && as_dir=.
                    135:   for as_base in sh bash ksh sh5; do
                    136:         case $as_dir in
                    137:         /*)
                    138:           if ("$as_dir/$as_base" -c '
                    139:   as_lineno_1=$LINENO
                    140:   as_lineno_2=$LINENO
                    141:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    142:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    143:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    144:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                    145:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                    146:             CONFIG_SHELL=$as_dir/$as_base
                    147:             export CONFIG_SHELL
                    148:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    149:           fi;;
                    150:         esac
                    151:        done
                    152: done
                    153: ;;
                    154:   esac
                    155: 
                    156:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    157:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    158:   # line-number line before each line; the second 'sed' does the real
                    159:   # work.  The second script uses 'N' to pair each line-number line
                    160:   # with the numbered line, and appends trailing '-' during
                    161:   # substitution so that $LINENO is not a special case at line end.
                    162:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    163:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    164:   sed '=' <$as_myself |
                    165:     sed '
                    166:       N
                    167:       s,$,-,
                    168:       : loop
                    169:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    170:       t loop
                    171:       s,-$,,
                    172:       s,^['$as_cr_digits']*\n,,
                    173:     ' >$as_me.lineno &&
                    174:   chmod +x $as_me.lineno ||
                    175:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    176:    { (exit 1); exit 1; }; }
                    177: 
                    178:   # Don't try to exec as it changes $[0], causing all sort of problems
                    179:   # (the dirname of $[0] is not the place where we might find the
                    180:   # original and so on.  Autoconf is especially sensible to this).
                    181:   . ./$as_me.lineno
                    182:   # Exit status is that of the last command.
                    183:   exit
                    184: }
                    185: 
                    186: 
                    187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    188:   *c*,-n*) ECHO_N= ECHO_C='
                    189: ' ECHO_T='     ' ;;
                    190:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    191:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    192: esac
                    193: 
                    194: if expr a : '\(a\)' >/dev/null 2>&1; then
                    195:   as_expr=expr
                    196: else
                    197:   as_expr=false
                    198: fi
                    199: 
                    200: rm -f conf$$ conf$$.exe conf$$.file
                    201: echo >conf$$.file
                    202: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    203:   # We could just check for DJGPP; but this test a) works b) is more generic
                    204:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    205:   if test -f conf$$.exe; then
                    206:     # Don't use ln at all; we don't have any links
                    207:     as_ln_s='cp -p'
                    208:   else
                    209:     as_ln_s='ln -s'
                    210:   fi
                    211: elif ln conf$$.file conf$$ 2>/dev/null; then
                    212:   as_ln_s=ln
                    213: else
                    214:   as_ln_s='cp -p'
                    215: fi
                    216: rm -f conf$$ conf$$.exe conf$$.file
                    217: 
                    218: if mkdir -p . 2>/dev/null; then
                    219:   as_mkdir_p=:
                    220: else
                    221:   as_mkdir_p=false
                    222: fi
                    223: 
                    224: as_executable_p="test -f"
                    225: 
                    226: # Sed expression to map a string onto a valid CPP name.
                    227: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                    228: 
                    229: # Sed expression to map a string onto a valid variable name.
                    230: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                    231: 
1.1       paf       232: 
1.2       paf       233: # IFS
                    234: # We need space, tab and new line, in precisely that order.
                    235: as_nl='
                    236: '
                    237: IFS="  $as_nl"
                    238: 
                    239: # CDPATH.
                    240: $as_unset CDPATH
                    241: 
                    242: 
1.4       paf       243: # Find the correct PATH separator.  Usually this is `:', but
                    244: # DJGPP uses `;' like DOS.
                    245: if test "X${PATH_SEPARATOR+set}" != Xset; then
                    246:   UNAME=${UNAME-`uname 2>/dev/null`}
                    247:   case X$UNAME in
                    248:     *-DOS) lt_cv_sys_path_separator=';' ;;
                    249:     *)     lt_cv_sys_path_separator=':' ;;
                    250:   esac
                    251:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                    252: fi
                    253: 
                    254: 
                    255: # Check that we are running under the correct shell.
                    256: SHELL=${CONFIG_SHELL-/bin/sh}
                    257: 
                    258: case X$ECHO in
                    259: X*--fallback-echo)
                    260:   # Remove one level of quotation (which was required for Make).
                    261:   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
                    262:   ;;
                    263: esac
                    264: 
                    265: echo=${ECHO-echo}
                    266: if test "X$1" = X--no-reexec; then
                    267:   # Discard the --no-reexec flag, and continue.
                    268:   shift
                    269: elif test "X$1" = X--fallback-echo; then
                    270:   # Avoid inline document here, it may be left over
                    271:   :
                    272: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
                    273:   # Yippee, $echo works!
                    274:   :
                    275: else
                    276:   # Restart under the correct shell.
                    277:   exec $SHELL "$0" --no-reexec ${1+"$@"}
                    278: fi
                    279: 
                    280: if test "X$1" = X--fallback-echo; then
                    281:   # used as fallback echo
                    282:   shift
                    283:   cat <<EOF
                    284: 
                    285: EOF
                    286:   exit 0
                    287: fi
                    288: 
                    289: # The HP-UX ksh and POSIX shell print the target directory to stdout
                    290: # if CDPATH is set.
                    291: if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                    292: 
                    293: if test -z "$ECHO"; then
                    294: if test "X${echo_test_string+set}" != Xset; then
                    295: # find a string as large as possible, as long as the shell can cope with it
                    296:   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
                    297:     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
                    298:     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
                    299:        echo_test_string="`eval $cmd`" &&
                    300:        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
                    301:     then
                    302:       break
                    303:     fi
                    304:   done
                    305: fi
                    306: 
                    307: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    308:    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    309:    test "X$echo_testing_string" = "X$echo_test_string"; then
                    310:   :
                    311: else
                    312:   # The Solaris, AIX, and Digital Unix default echo programs unquote
                    313:   # backslashes.  This makes it impossible to quote backslashes using
                    314:   #   echo "$something" | sed 's/\\/\\\\/g'
                    315:   #
                    316:   # So, first we look for a working echo in the user's PATH.
                    317: 
                    318:   IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                    319:   for dir in $PATH /usr/ucb; do
                    320:     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
                    321:        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
                    322:        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
                    323:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    324:       echo="$dir/echo"
                    325:       break
                    326:     fi
                    327:   done
                    328:   IFS="$save_ifs"
                    329: 
                    330:   if test "X$echo" = Xecho; then
                    331:     # We didn't find a better echo, so look for alternatives.
                    332:     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
                    333:        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
                    334:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    335:       # This shell has a builtin print -r that does the trick.
                    336:       echo='print -r'
                    337:     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
                    338:         test "X$CONFIG_SHELL" != X/bin/ksh; then
                    339:       # If we have ksh, try running configure again with it.
                    340:       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
                    341:       export ORIGINAL_CONFIG_SHELL
                    342:       CONFIG_SHELL=/bin/ksh
                    343:       export CONFIG_SHELL
                    344:       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
                    345:     else
                    346:       # Try using printf.
                    347:       echo='printf %s\n'
                    348:       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    349:         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    350:         test "X$echo_testing_string" = "X$echo_test_string"; then
                    351:        # Cool, printf works
                    352:        :
                    353:       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    354:           test "X$echo_testing_string" = 'X\t' &&
                    355:           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    356:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    357:        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
                    358:        export CONFIG_SHELL
                    359:        SHELL="$CONFIG_SHELL"
                    360:        export SHELL
                    361:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    362:       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    363:           test "X$echo_testing_string" = 'X\t' &&
                    364:           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    365:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    366:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    367:       else
                    368:        # maybe with a smaller string...
                    369:        prev=:
                    370: 
                    371:        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
                    372:          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
                    373:          then
                    374:            break
                    375:          fi
                    376:          prev="$cmd"
                    377:        done
                    378: 
                    379:        if test "$prev" != 'sed 50q "$0"'; then
                    380:          echo_test_string=`eval $prev`
                    381:          export echo_test_string
                    382:          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
                    383:        else
                    384:          # Oops.  We lost completely, so just stick with echo.
                    385:          echo=echo
                    386:        fi
                    387:       fi
                    388:     fi
                    389:   fi
                    390: fi
                    391: fi
                    392: 
                    393: # Copy echo and quote the copy suitably for passing to libtool from
                    394: # the Makefile, instead of quoting the original, which is used later.
                    395: ECHO=$echo
                    396: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
                    397:    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
                    398: fi
                    399: 
                    400: 
                    401: 
1.2       paf       402: # Name of the host.
                    403: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    404: # so uname gets run too.
                    405: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    406: 
                    407: exec 6>&1
                    408: 
                    409: #
                    410: # Initializations.
                    411: #
1.1       paf       412: ac_default_prefix=/usr/local
1.2       paf       413: ac_config_libobj_dir=.
                    414: cross_compiling=no
                    415: subdirs=
                    416: MFLAGS=
                    417: MAKEFLAGS=
                    418: SHELL=${CONFIG_SHELL-/bin/sh}
                    419: 
                    420: # Maximum number of lines to put in a shell here document.
                    421: # This variable seems obsolete.  It should probably be removed, and
                    422: # only ac_max_sed_lines should be used.
                    423: : ${ac_max_here_lines=38}
                    424: 
                    425: # Identity of this package.
                    426: PACKAGE_NAME=
                    427: PACKAGE_TARNAME=
                    428: PACKAGE_VERSION=
                    429: PACKAGE_STRING=
                    430: PACKAGE_BUGREPORT=
                    431: 
                    432: ac_unique_file="ltdl.c"
                    433: # Factoring default headers for most tests.
                    434: ac_includes_default="\
                    435: #include <stdio.h>
                    436: #if HAVE_SYS_TYPES_H
                    437: # include <sys/types.h>
                    438: #endif
                    439: #if HAVE_SYS_STAT_H
                    440: # include <sys/stat.h>
                    441: #endif
                    442: #if STDC_HEADERS
                    443: # include <stdlib.h>
                    444: # include <stddef.h>
                    445: #else
                    446: # if HAVE_STDLIB_H
                    447: #  include <stdlib.h>
                    448: # endif
                    449: #endif
                    450: #if HAVE_STRING_H
                    451: # if !STDC_HEADERS && HAVE_MEMORY_H
                    452: #  include <memory.h>
                    453: # endif
                    454: # include <string.h>
                    455: #endif
                    456: #if HAVE_STRINGS_H
                    457: # include <strings.h>
                    458: #endif
                    459: #if HAVE_INTTYPES_H
                    460: # include <inttypes.h>
                    461: #else
                    462: # if HAVE_STDINT_H
                    463: #  include <stdint.h>
                    464: # endif
                    465: #endif
                    466: #if HAVE_UNISTD_H
                    467: # include <unistd.h>
                    468: #endif"
                    469: 
1.4       paf       470: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS'
1.2       paf       471: ac_subst_files=''
1.1       paf       472: 
                    473: # Initialize some variables set by options.
1.2       paf       474: ac_init_help=
                    475: ac_init_version=false
1.1       paf       476: # The variables have the same names as the options, with
                    477: # dashes changed to underlines.
1.2       paf       478: cache_file=/dev/null
1.1       paf       479: exec_prefix=NONE
                    480: no_create=
                    481: no_recursion=
                    482: prefix=NONE
                    483: program_prefix=NONE
                    484: program_suffix=NONE
                    485: program_transform_name=s,x,x,
                    486: silent=
                    487: site=
                    488: srcdir=
                    489: verbose=
                    490: x_includes=NONE
                    491: x_libraries=NONE
1.2       paf       492: 
                    493: # Installation directory options.
                    494: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    495: # and all the variables that are supposed to be based on exec_prefix
                    496: # by default will actually change.
                    497: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       paf       498: bindir='${exec_prefix}/bin'
                    499: sbindir='${exec_prefix}/sbin'
                    500: libexecdir='${exec_prefix}/libexec'
                    501: datadir='${prefix}/share'
                    502: sysconfdir='${prefix}/etc'
                    503: sharedstatedir='${prefix}/com'
                    504: localstatedir='${prefix}/var'
                    505: libdir='${exec_prefix}/lib'
                    506: includedir='${prefix}/include'
                    507: oldincludedir='/usr/include'
                    508: infodir='${prefix}/info'
                    509: mandir='${prefix}/man'
                    510: 
                    511: ac_prev=
                    512: for ac_option
                    513: do
                    514:   # If the previous option needs an argument, assign it.
                    515:   if test -n "$ac_prev"; then
                    516:     eval "$ac_prev=\$ac_option"
                    517:     ac_prev=
                    518:     continue
                    519:   fi
                    520: 
1.2       paf       521:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       paf       522: 
                    523:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    524: 
1.2       paf       525:   case $ac_option in
1.1       paf       526: 
                    527:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    528:     ac_prev=bindir ;;
                    529:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.2       paf       530:     bindir=$ac_optarg ;;
1.1       paf       531: 
                    532:   -build | --build | --buil | --bui | --bu)
1.2       paf       533:     ac_prev=build_alias ;;
1.1       paf       534:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.2       paf       535:     build_alias=$ac_optarg ;;
1.1       paf       536: 
                    537:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    538:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    539:     ac_prev=cache_file ;;
                    540:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    541:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.2       paf       542:     cache_file=$ac_optarg ;;
                    543: 
                    544:   --config-cache | -C)
                    545:     cache_file=config.cache ;;
1.1       paf       546: 
                    547:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    548:     ac_prev=datadir ;;
                    549:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    550:   | --da=*)
1.2       paf       551:     datadir=$ac_optarg ;;
1.1       paf       552: 
                    553:   -disable-* | --disable-*)
1.2       paf       554:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       555:     # Reject names that are not valid shell variable names.
1.2       paf       556:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    557:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    558:    { (exit 1); exit 1; }; }
                    559:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    560:     eval "enable_$ac_feature=no" ;;
1.1       paf       561: 
                    562:   -enable-* | --enable-*)
1.2       paf       563:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       564:     # Reject names that are not valid shell variable names.
1.2       paf       565:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    566:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    567:    { (exit 1); exit 1; }; }
                    568:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    569:     case $ac_option in
                    570:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       paf       571:       *) ac_optarg=yes ;;
                    572:     esac
1.2       paf       573:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       paf       574: 
                    575:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    576:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    577:   | --exec | --exe | --ex)
                    578:     ac_prev=exec_prefix ;;
                    579:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    580:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    581:   | --exec=* | --exe=* | --ex=*)
1.2       paf       582:     exec_prefix=$ac_optarg ;;
1.1       paf       583: 
                    584:   -gas | --gas | --ga | --g)
                    585:     # Obsolete; use --with-gas.
                    586:     with_gas=yes ;;
                    587: 
1.2       paf       588:   -help | --help | --hel | --he | -h)
                    589:     ac_init_help=long ;;
                    590:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    591:     ac_init_help=recursive ;;
                    592:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    593:     ac_init_help=short ;;
1.1       paf       594: 
                    595:   -host | --host | --hos | --ho)
1.2       paf       596:     ac_prev=host_alias ;;
1.1       paf       597:   -host=* | --host=* | --hos=* | --ho=*)
1.2       paf       598:     host_alias=$ac_optarg ;;
1.1       paf       599: 
                    600:   -includedir | --includedir | --includedi | --included | --include \
                    601:   | --includ | --inclu | --incl | --inc)
                    602:     ac_prev=includedir ;;
                    603:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    604:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.2       paf       605:     includedir=$ac_optarg ;;
1.1       paf       606: 
                    607:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    608:     ac_prev=infodir ;;
                    609:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.2       paf       610:     infodir=$ac_optarg ;;
1.1       paf       611: 
                    612:   -libdir | --libdir | --libdi | --libd)
                    613:     ac_prev=libdir ;;
                    614:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.2       paf       615:     libdir=$ac_optarg ;;
1.1       paf       616: 
                    617:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    618:   | --libexe | --libex | --libe)
                    619:     ac_prev=libexecdir ;;
                    620:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    621:   | --libexe=* | --libex=* | --libe=*)
1.2       paf       622:     libexecdir=$ac_optarg ;;
1.1       paf       623: 
                    624:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    625:   | --localstate | --localstat | --localsta | --localst \
                    626:   | --locals | --local | --loca | --loc | --lo)
                    627:     ac_prev=localstatedir ;;
                    628:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    629:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    630:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.2       paf       631:     localstatedir=$ac_optarg ;;
1.1       paf       632: 
                    633:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    634:     ac_prev=mandir ;;
                    635:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.2       paf       636:     mandir=$ac_optarg ;;
1.1       paf       637: 
                    638:   -nfp | --nfp | --nf)
                    639:     # Obsolete; use --without-fp.
                    640:     with_fp=no ;;
                    641: 
                    642:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.2       paf       643:   | --no-cr | --no-c | -n)
1.1       paf       644:     no_create=yes ;;
                    645: 
                    646:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    647:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    648:     no_recursion=yes ;;
                    649: 
                    650:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    651:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    652:   | --oldin | --oldi | --old | --ol | --o)
                    653:     ac_prev=oldincludedir ;;
                    654:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    655:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    656:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.2       paf       657:     oldincludedir=$ac_optarg ;;
1.1       paf       658: 
                    659:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    660:     ac_prev=prefix ;;
                    661:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.2       paf       662:     prefix=$ac_optarg ;;
1.1       paf       663: 
                    664:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    665:   | --program-pre | --program-pr | --program-p)
                    666:     ac_prev=program_prefix ;;
                    667:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    668:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.2       paf       669:     program_prefix=$ac_optarg ;;
1.1       paf       670: 
                    671:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    672:   | --program-suf | --program-su | --program-s)
                    673:     ac_prev=program_suffix ;;
                    674:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    675:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.2       paf       676:     program_suffix=$ac_optarg ;;
1.1       paf       677: 
                    678:   -program-transform-name | --program-transform-name \
                    679:   | --program-transform-nam | --program-transform-na \
                    680:   | --program-transform-n | --program-transform- \
                    681:   | --program-transform | --program-transfor \
                    682:   | --program-transfo | --program-transf \
                    683:   | --program-trans | --program-tran \
                    684:   | --progr-tra | --program-tr | --program-t)
                    685:     ac_prev=program_transform_name ;;
                    686:   -program-transform-name=* | --program-transform-name=* \
                    687:   | --program-transform-nam=* | --program-transform-na=* \
                    688:   | --program-transform-n=* | --program-transform-=* \
                    689:   | --program-transform=* | --program-transfor=* \
                    690:   | --program-transfo=* | --program-transf=* \
                    691:   | --program-trans=* | --program-tran=* \
                    692:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.2       paf       693:     program_transform_name=$ac_optarg ;;
1.1       paf       694: 
                    695:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    696:   | -silent | --silent | --silen | --sile | --sil)
                    697:     silent=yes ;;
                    698: 
                    699:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    700:     ac_prev=sbindir ;;
                    701:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    702:   | --sbi=* | --sb=*)
1.2       paf       703:     sbindir=$ac_optarg ;;
1.1       paf       704: 
                    705:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    706:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    707:   | --sharedst | --shareds | --shared | --share | --shar \
                    708:   | --sha | --sh)
                    709:     ac_prev=sharedstatedir ;;
                    710:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    711:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    712:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    713:   | --sha=* | --sh=*)
1.2       paf       714:     sharedstatedir=$ac_optarg ;;
1.1       paf       715: 
                    716:   -site | --site | --sit)
                    717:     ac_prev=site ;;
                    718:   -site=* | --site=* | --sit=*)
1.2       paf       719:     site=$ac_optarg ;;
1.1       paf       720: 
                    721:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    722:     ac_prev=srcdir ;;
                    723:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.2       paf       724:     srcdir=$ac_optarg ;;
1.1       paf       725: 
                    726:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    727:   | --syscon | --sysco | --sysc | --sys | --sy)
                    728:     ac_prev=sysconfdir ;;
                    729:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    730:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.2       paf       731:     sysconfdir=$ac_optarg ;;
1.1       paf       732: 
                    733:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.2       paf       734:     ac_prev=target_alias ;;
1.1       paf       735:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.2       paf       736:     target_alias=$ac_optarg ;;
1.1       paf       737: 
                    738:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    739:     verbose=yes ;;
                    740: 
1.2       paf       741:   -version | --version | --versio | --versi | --vers | -V)
                    742:     ac_init_version=: ;;
1.1       paf       743: 
                    744:   -with-* | --with-*)
1.2       paf       745:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf       746:     # Reject names that are not valid shell variable names.
1.2       paf       747:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    748:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    749:    { (exit 1); exit 1; }; }
1.1       paf       750:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.2       paf       751:     case $ac_option in
                    752:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       paf       753:       *) ac_optarg=yes ;;
                    754:     esac
1.2       paf       755:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       paf       756: 
                    757:   -without-* | --without-*)
1.2       paf       758:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf       759:     # Reject names that are not valid shell variable names.
1.2       paf       760:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    761:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    762:    { (exit 1); exit 1; }; }
                    763:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    764:     eval "with_$ac_package=no" ;;
1.1       paf       765: 
                    766:   --x)
                    767:     # Obsolete; use --with-x.
                    768:     with_x=yes ;;
                    769: 
                    770:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    771:   | --x-incl | --x-inc | --x-in | --x-i)
                    772:     ac_prev=x_includes ;;
                    773:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    774:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.2       paf       775:     x_includes=$ac_optarg ;;
1.1       paf       776: 
                    777:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    778:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    779:     ac_prev=x_libraries ;;
                    780:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    781:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.2       paf       782:     x_libraries=$ac_optarg ;;
1.1       paf       783: 
1.2       paf       784:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    785: Try \`$0 --help' for more information." >&2
                    786:    { (exit 1); exit 1; }; }
1.1       paf       787:     ;;
                    788: 
1.2       paf       789:   *=*)
                    790:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    791:     # Reject names that are not valid shell variable names.
                    792:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    793:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    794:    { (exit 1); exit 1; }; }
                    795:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    796:     eval "$ac_envvar='$ac_optarg'"
                    797:     export $ac_envvar ;;
                    798: 
1.1       paf       799:   *)
1.2       paf       800:     # FIXME: should be removed in autoconf 3.0.
                    801:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    802:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    803:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    804:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       paf       805:     ;;
                    806: 
                    807:   esac
                    808: done
                    809: 
                    810: if test -n "$ac_prev"; then
1.2       paf       811:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    812:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    813:    { (exit 1); exit 1; }; }
1.1       paf       814: fi
                    815: 
1.2       paf       816: # Be sure to have absolute paths.
                    817: for ac_var in exec_prefix prefix
                    818: do
                    819:   eval ac_val=$`echo $ac_var`
                    820:   case $ac_val in
                    821:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    822:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    823:    { (exit 1); exit 1; }; };;
                    824:   esac
                    825: done
1.1       paf       826: 
1.2       paf       827: # Be sure to have absolute paths.
                    828: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    829:               localstatedir libdir includedir oldincludedir infodir mandir
1.1       paf       830: do
1.2       paf       831:   eval ac_val=$`echo $ac_var`
                    832:   case $ac_val in
                    833:     [\\/$]* | ?:[\\/]* ) ;;
                    834:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    835:    { (exit 1); exit 1; }; };;
1.1       paf       836:   esac
                    837: done
                    838: 
1.2       paf       839: # There might be people who depend on the old broken behavior: `$host'
                    840: # used to hold the argument of --host etc.
                    841: # FIXME: To remove some day.
                    842: build=$build_alias
                    843: host=$host_alias
                    844: target=$target_alias
                    845: 
                    846: # FIXME: To remove some day.
                    847: if test "x$host_alias" != x; then
                    848:   if test "x$build_alias" = x; then
                    849:     cross_compiling=maybe
                    850:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    851:     If a cross compiler is detected then cross compile mode will be used." >&2
                    852:   elif test "x$build_alias" != "x$host_alias"; then
                    853:     cross_compiling=yes
                    854:   fi
                    855: fi
                    856: 
                    857: ac_tool_prefix=
                    858: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf       859: 
1.2       paf       860: test "$silent" = yes && exec 6>/dev/null
1.1       paf       861: 
                    862: 
                    863: # Find the source files, if location was not specified.
                    864: if test -z "$srcdir"; then
                    865:   ac_srcdir_defaulted=yes
                    866:   # Try the directory containing this script, then its parent.
1.2       paf       867:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    868: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    869:          X"$0" : 'X\(//\)[^/]' \| \
                    870:          X"$0" : 'X\(//\)$' \| \
                    871:          X"$0" : 'X\(/\)' \| \
                    872:          .     : '\(.\)' 2>/dev/null ||
                    873: echo X"$0" |
                    874:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    875:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    876:          /^X\(\/\/\)$/{ s//\1/; q; }
                    877:          /^X\(\/\).*/{ s//\1/; q; }
                    878:          s/.*/./; q'`
1.1       paf       879:   srcdir=$ac_confdir
                    880:   if test ! -r $srcdir/$ac_unique_file; then
                    881:     srcdir=..
                    882:   fi
                    883: else
                    884:   ac_srcdir_defaulted=no
                    885: fi
                    886: if test ! -r $srcdir/$ac_unique_file; then
                    887:   if test "$ac_srcdir_defaulted" = yes; then
1.2       paf       888:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    889:    { (exit 1); exit 1; }; }
1.1       paf       890:   else
1.2       paf       891:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    892:    { (exit 1); exit 1; }; }
1.1       paf       893:   fi
                    894: fi
1.2       paf       895: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    896:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    897:    { (exit 1); exit 1; }; }
                    898: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    899: ac_env_build_alias_set=${build_alias+set}
                    900: ac_env_build_alias_value=$build_alias
                    901: ac_cv_env_build_alias_set=${build_alias+set}
                    902: ac_cv_env_build_alias_value=$build_alias
                    903: ac_env_host_alias_set=${host_alias+set}
                    904: ac_env_host_alias_value=$host_alias
                    905: ac_cv_env_host_alias_set=${host_alias+set}
                    906: ac_cv_env_host_alias_value=$host_alias
                    907: ac_env_target_alias_set=${target_alias+set}
                    908: ac_env_target_alias_value=$target_alias
                    909: ac_cv_env_target_alias_set=${target_alias+set}
                    910: ac_cv_env_target_alias_value=$target_alias
                    911: ac_env_CC_set=${CC+set}
                    912: ac_env_CC_value=$CC
                    913: ac_cv_env_CC_set=${CC+set}
                    914: ac_cv_env_CC_value=$CC
                    915: ac_env_CFLAGS_set=${CFLAGS+set}
                    916: ac_env_CFLAGS_value=$CFLAGS
                    917: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    918: ac_cv_env_CFLAGS_value=$CFLAGS
                    919: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    920: ac_env_LDFLAGS_value=$LDFLAGS
                    921: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    922: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    923: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    924: ac_env_CPPFLAGS_value=$CPPFLAGS
                    925: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    926: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    927: ac_env_CPP_set=${CPP+set}
                    928: ac_env_CPP_value=$CPP
                    929: ac_cv_env_CPP_set=${CPP+set}
                    930: ac_cv_env_CPP_value=$CPP
                    931: 
                    932: #
                    933: # Report the --help message.
                    934: #
                    935: if test "$ac_init_help" = "long"; then
                    936:   # Omit some internal or obsolete options to make the list less imposing.
                    937:   # This message is too long to be a string in the A/UX 3.1 sh.
                    938:   cat <<_ACEOF
                    939: \`configure' configures this package to adapt to many kinds of systems.
                    940: 
                    941: Usage: $0 [OPTION]... [VAR=VALUE]...
                    942: 
                    943: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    944: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    945: 
                    946: Defaults for the options are specified in brackets.
                    947: 
                    948: Configuration:
                    949:   -h, --help              display this help and exit
                    950:       --help=short        display options specific to this package
                    951:       --help=recursive    display the short help of all the included packages
                    952:   -V, --version           display version information and exit
                    953:   -q, --quiet, --silent   do not print \`checking...' messages
                    954:       --cache-file=FILE   cache test results in FILE [disabled]
                    955:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    956:   -n, --no-create         do not create output files
                    957:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    958: 
                    959: _ACEOF
                    960: 
                    961:   cat <<_ACEOF
                    962: Installation directories:
                    963:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    964:                           [$ac_default_prefix]
                    965:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    966:                           [PREFIX]
                    967: 
                    968: By default, \`make install' will install all the files in
                    969: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    970: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    971: for instance \`--prefix=\$HOME'.
                    972: 
                    973: For better control, use the options below.
                    974: 
                    975: Fine tuning of the installation directories:
                    976:   --bindir=DIR           user executables [EPREFIX/bin]
                    977:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    978:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    979:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    980:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    981:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    982:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    983:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    984:   --includedir=DIR       C header files [PREFIX/include]
                    985:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    986:   --infodir=DIR          info documentation [PREFIX/info]
                    987:   --mandir=DIR           man documentation [PREFIX/man]
                    988: _ACEOF
                    989: 
                    990:   cat <<\_ACEOF
                    991: 
                    992: Program names:
                    993:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    994:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    995:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1.3       paf       996: 
                    997: System types:
                    998:   --build=BUILD     configure for building on BUILD [guessed]
                    999:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1.2       paf      1000: _ACEOF
                   1001: fi
                   1002: 
                   1003: if test -n "$ac_init_help"; then
                   1004: 
                   1005:   cat <<\_ACEOF
                   1006: 
                   1007: Optional Features:
                   1008:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1009:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1010:   --enable-maintainer-mode enable make rules and dependencies not useful
                   1011:                           (and sometimes confusing) to the casual installer
                   1012:   --disable-dependency-tracking Speeds up one-time builds
                   1013:   --enable-dependency-tracking  Do not reject slow dependency extractors
1.4       paf      1014:   --enable-shared=PKGS  build shared libraries default=no
                   1015:   --enable-static=PKGS  build static libraries default=yes
                   1016:   --enable-fast-install=PKGS  optimize for fast installation default=yes
                   1017:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1018:   --enable-ltdl-install   install libltdl
                   1019: 
                   1020: Optional Packages:
                   1021:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1022:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1023:   --with-gnu-ld           assume the C compiler uses GNU ld default=no
                   1024:   --with-pic              try to use only PIC/non-PIC objects default=use both
1.2       paf      1025: 
                   1026: Some influential environment variables:
                   1027:   CC          C compiler command
                   1028:   CFLAGS      C compiler flags
                   1029:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1030:               nonstandard directory <lib dir>
                   1031:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                   1032:               headers in a nonstandard directory <include dir>
                   1033:   CPP         C preprocessor
                   1034: 
                   1035: Use these variables to override the choices made by `configure' or to help
                   1036: it to find libraries and programs with nonstandard names/locations.
                   1037: 
                   1038: _ACEOF
                   1039: fi
                   1040: 
                   1041: if test "$ac_init_help" = "recursive"; then
                   1042:   # If there are subdirs, report their specific --help.
                   1043:   ac_popdir=`pwd`
                   1044:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1045:     test -d $ac_dir || continue
                   1046:     ac_builddir=.
                   1047: 
                   1048: if test "$ac_dir" != .; then
                   1049:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   1050:   # A "../" for each directory in $ac_dir_suffix.
                   1051:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   1052: else
                   1053:   ac_dir_suffix= ac_top_builddir=
                   1054: fi
                   1055: 
                   1056: case $srcdir in
                   1057:   .)  # No --srcdir option.  We are building in place.
                   1058:     ac_srcdir=.
                   1059:     if test -z "$ac_top_builddir"; then
                   1060:        ac_top_srcdir=.
                   1061:     else
                   1062:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   1063:     fi ;;
                   1064:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   1065:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1066:     ac_top_srcdir=$srcdir ;;
                   1067:   *) # Relative path.
                   1068:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   1069:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   1070: esac
                   1071: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   1072: # absolute.
                   1073: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   1074: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   1075: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   1076: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   1077: 
                   1078:     cd $ac_dir
                   1079:     # Check for guested configure; otherwise get Cygnus style configure.
                   1080:     if test -f $ac_srcdir/configure.gnu; then
                   1081:       echo
                   1082:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1083:     elif test -f $ac_srcdir/configure; then
                   1084:       echo
                   1085:       $SHELL $ac_srcdir/configure  --help=recursive
                   1086:     elif test -f $ac_srcdir/configure.ac ||
                   1087:            test -f $ac_srcdir/configure.in; then
                   1088:       echo
                   1089:       $ac_configure --help
                   1090:     else
                   1091:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1092:     fi
                   1093:     cd $ac_popdir
                   1094:   done
                   1095: fi
                   1096: 
                   1097: test -n "$ac_init_help" && exit 0
                   1098: if $ac_init_version; then
                   1099:   cat <<\_ACEOF
                   1100: 
                   1101: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                   1102: Free Software Foundation, Inc.
                   1103: This configure script is free software; the Free Software Foundation
                   1104: gives unlimited permission to copy, distribute and modify it.
                   1105: _ACEOF
                   1106:   exit 0
                   1107: fi
                   1108: exec 5>config.log
                   1109: cat >&5 <<_ACEOF
                   1110: This file contains any messages produced by compilers while
                   1111: running configure, to aid debugging if configure makes a mistake.
                   1112: 
                   1113: It was created by $as_me, which was
                   1114: generated by GNU Autoconf 2.57.  Invocation command line was
                   1115: 
                   1116:   $ $0 $@
                   1117: 
                   1118: _ACEOF
                   1119: {
                   1120: cat <<_ASUNAME
                   1121: ## --------- ##
                   1122: ## Platform. ##
                   1123: ## --------- ##
                   1124: 
                   1125: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1126: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1127: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1128: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1129: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1130: 
                   1131: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1132: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1133: 
                   1134: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1135: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1136: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1137: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1138: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1139: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1140: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1141: 
                   1142: _ASUNAME
                   1143: 
                   1144: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1145: for as_dir in $PATH
                   1146: do
                   1147:   IFS=$as_save_IFS
                   1148:   test -z "$as_dir" && as_dir=.
                   1149:   echo "PATH: $as_dir"
                   1150: done
                   1151: 
                   1152: } >&5
                   1153: 
                   1154: cat >&5 <<_ACEOF
                   1155: 
                   1156: 
                   1157: ## ----------- ##
                   1158: ## Core tests. ##
                   1159: ## ----------- ##
                   1160: 
                   1161: _ACEOF
                   1162: 
                   1163: 
                   1164: # Keep a trace of the command line.
                   1165: # Strip out --no-create and --no-recursion so they do not pile up.
                   1166: # Strip out --silent because we don't want to record it for future runs.
                   1167: # Also quote any args containing shell meta-characters.
                   1168: # Make two passes to allow for proper duplicate-argument suppression.
                   1169: ac_configure_args=
                   1170: ac_configure_args0=
                   1171: ac_configure_args1=
                   1172: ac_sep=
                   1173: ac_must_keep_next=false
                   1174: for ac_pass in 1 2
                   1175: do
                   1176:   for ac_arg
                   1177:   do
                   1178:     case $ac_arg in
                   1179:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1180:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1181:     | -silent | --silent | --silen | --sile | --sil)
                   1182:       continue ;;
                   1183:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1184:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1185:     esac
                   1186:     case $ac_pass in
                   1187:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1188:     2)
                   1189:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1190:       if test $ac_must_keep_next = true; then
                   1191:         ac_must_keep_next=false # Got value, back to normal.
                   1192:       else
                   1193:         case $ac_arg in
                   1194:           *=* | --config-cache | -C | -disable-* | --disable-* \
                   1195:           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1196:           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1197:           | -with-* | --with-* | -without-* | --without-* | --x)
                   1198:             case "$ac_configure_args0 " in
                   1199:               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1200:             esac
                   1201:             ;;
                   1202:           -* ) ac_must_keep_next=true ;;
                   1203:         esac
                   1204:       fi
                   1205:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1206:       # Get rid of the leading space.
                   1207:       ac_sep=" "
                   1208:       ;;
                   1209:     esac
                   1210:   done
                   1211: done
                   1212: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1213: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1214: 
                   1215: # When interrupted or exit'd, cleanup temporary files, and complete
                   1216: # config.log.  We remove comments because anyway the quotes in there
                   1217: # would cause problems or look ugly.
                   1218: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1219: # such as our DU 5.0 friend, will then `close' the trap.
                   1220: trap 'exit_status=$?
                   1221:   # Save into config.log some information that might help in debugging.
                   1222:   {
                   1223:     echo
                   1224: 
                   1225:     cat <<\_ASBOX
                   1226: ## ---------------- ##
                   1227: ## Cache variables. ##
                   1228: ## ---------------- ##
                   1229: _ASBOX
                   1230:     echo
                   1231:     # The following way of writing the cache mishandles newlines in values,
                   1232: {
                   1233:   (set) 2>&1 |
                   1234:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1235:     *ac_space=\ *)
                   1236:       sed -n \
                   1237:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1238:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1239:       ;;
                   1240:     *)
                   1241:       sed -n \
                   1242:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   1243:       ;;
                   1244:     esac;
                   1245: }
                   1246:     echo
                   1247: 
                   1248:     cat <<\_ASBOX
                   1249: ## ----------------- ##
                   1250: ## Output variables. ##
                   1251: ## ----------------- ##
                   1252: _ASBOX
                   1253:     echo
                   1254:     for ac_var in $ac_subst_vars
                   1255:     do
                   1256:       eval ac_val=$`echo $ac_var`
                   1257:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1258:     done | sort
                   1259:     echo
                   1260: 
                   1261:     if test -n "$ac_subst_files"; then
                   1262:       cat <<\_ASBOX
                   1263: ## ------------- ##
                   1264: ## Output files. ##
                   1265: ## ------------- ##
                   1266: _ASBOX
                   1267:       echo
                   1268:       for ac_var in $ac_subst_files
                   1269:       do
                   1270:        eval ac_val=$`echo $ac_var`
                   1271:         echo "$ac_var='"'"'$ac_val'"'"'"
                   1272:       done | sort
                   1273:       echo
                   1274:     fi
                   1275: 
                   1276:     if test -s confdefs.h; then
                   1277:       cat <<\_ASBOX
                   1278: ## ----------- ##
                   1279: ## confdefs.h. ##
                   1280: ## ----------- ##
                   1281: _ASBOX
                   1282:       echo
                   1283:       sed "/^$/d" confdefs.h | sort
                   1284:       echo
                   1285:     fi
                   1286:     test "$ac_signal" != 0 &&
                   1287:       echo "$as_me: caught signal $ac_signal"
                   1288:     echo "$as_me: exit $exit_status"
                   1289:   } >&5
                   1290:   rm -f core core.* *.core &&
                   1291:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1292:     exit $exit_status
                   1293:      ' 0
                   1294: for ac_signal in 1 2 13 15; do
                   1295:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1296: done
                   1297: ac_signal=0
                   1298: 
                   1299: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1300: rm -rf conftest* confdefs.h
                   1301: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1302: echo >confdefs.h
                   1303: 
                   1304: # Predefined preprocessor variables.
                   1305: 
                   1306: cat >>confdefs.h <<_ACEOF
                   1307: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1308: _ACEOF
                   1309: 
                   1310: 
                   1311: cat >>confdefs.h <<_ACEOF
                   1312: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1313: _ACEOF
                   1314: 
                   1315: 
                   1316: cat >>confdefs.h <<_ACEOF
                   1317: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1318: _ACEOF
                   1319: 
1.1       paf      1320: 
1.2       paf      1321: cat >>confdefs.h <<_ACEOF
                   1322: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1323: _ACEOF
                   1324: 
                   1325: 
                   1326: cat >>confdefs.h <<_ACEOF
                   1327: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1328: _ACEOF
                   1329: 
                   1330: 
                   1331: # Let the site file select an alternate cache file if it wants to.
1.1       paf      1332: # Prefer explicitly selected file to automatically selected ones.
                   1333: if test -z "$CONFIG_SITE"; then
                   1334:   if test "x$prefix" != xNONE; then
                   1335:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1336:   else
                   1337:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1338:   fi
                   1339: fi
                   1340: for ac_site_file in $CONFIG_SITE; do
                   1341:   if test -r "$ac_site_file"; then
1.2       paf      1342:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1343: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1344:     sed 's/^/| /' "$ac_site_file" >&5
1.1       paf      1345:     . "$ac_site_file"
                   1346:   fi
                   1347: done
                   1348: 
                   1349: if test -r "$cache_file"; then
1.2       paf      1350:   # Some versions of bash will fail to source /dev/null (special
                   1351:   # files actually), so we avoid doing that.
                   1352:   if test -f "$cache_file"; then
                   1353:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1354: echo "$as_me: loading cache $cache_file" >&6;}
                   1355:     case $cache_file in
                   1356:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1357:       *)                      . ./$cache_file;;
                   1358:     esac
                   1359:   fi
1.1       paf      1360: else
1.2       paf      1361:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1362: echo "$as_me: creating cache $cache_file" >&6;}
                   1363:   >$cache_file
                   1364: fi
                   1365: 
                   1366: # Check that the precious variables saved in the cache have kept the same
                   1367: # value.
                   1368: ac_cache_corrupted=false
                   1369: for ac_var in `(set) 2>&1 |
                   1370:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1371:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1372:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1373:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1374:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1375:   case $ac_old_set,$ac_new_set in
                   1376:     set,)
                   1377:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1378: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1379:       ac_cache_corrupted=: ;;
                   1380:     ,set)
                   1381:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1382: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1383:       ac_cache_corrupted=: ;;
                   1384:     ,);;
                   1385:     *)
                   1386:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1387:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1388: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1389:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1390: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1391:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1392: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1393:         ac_cache_corrupted=:
                   1394:       fi;;
                   1395:   esac
                   1396:   # Pass precious variables to config.status.
                   1397:   if test "$ac_new_set" = set; then
                   1398:     case $ac_new_val in
                   1399:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1400:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1401:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1402:     esac
                   1403:     case " $ac_configure_args " in
                   1404:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1405:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1406:     esac
                   1407:   fi
                   1408: done
                   1409: if $ac_cache_corrupted; then
                   1410:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1411: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1412:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1413: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1414:    { (exit 1); exit 1; }; }
1.1       paf      1415: fi
                   1416: 
                   1417: ac_ext=c
                   1418: ac_cpp='$CPP $CPPFLAGS'
1.2       paf      1419: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1420: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1421: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1422: 
                   1423: 
                   1424: 
                   1425: 
                   1426: 
                   1427: 
                   1428: 
                   1429: 
                   1430: 
                   1431: 
                   1432: 
                   1433: 
                   1434: 
                   1435: 
                   1436: 
                   1437: 
                   1438: 
1.1       paf      1439: 
                   1440: 
                   1441: 
                   1442: ac_aux_dir=
1.4       paf      1443: for ac_dir in ../../.. $srcdir/../../..; do
1.1       paf      1444:   if test -f $ac_dir/install-sh; then
                   1445:     ac_aux_dir=$ac_dir
                   1446:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1447:     break
                   1448:   elif test -f $ac_dir/install.sh; then
                   1449:     ac_aux_dir=$ac_dir
                   1450:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1451:     break
1.2       paf      1452:   elif test -f $ac_dir/shtool; then
                   1453:     ac_aux_dir=$ac_dir
                   1454:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1455:     break
1.1       paf      1456:   fi
                   1457: done
                   1458: if test -z "$ac_aux_dir"; then
1.4       paf      1459:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
                   1460: echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
1.2       paf      1461:    { (exit 1); exit 1; }; }
                   1462: fi
                   1463: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1464: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1465: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       paf      1466: 
1.4       paf      1467: 
                   1468: am__api_version="1.7"
1.1       paf      1469: # Find a good install program.  We prefer a C program (faster),
                   1470: # so one script is as good as another.  But avoid the broken or
                   1471: # incompatible versions:
                   1472: # SysV /etc/install, /usr/sbin/install
                   1473: # SunOS /usr/etc/install
                   1474: # IRIX /sbin/install
                   1475: # AIX /bin/install
1.2       paf      1476: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1477: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1478: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1479: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1480: # ./install, which can be erroneously created by make from ./install.sh.
1.2       paf      1481: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1482: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1483: if test -z "$INSTALL"; then
1.2       paf      1484: if test "${ac_cv_path_install+set}" = set; then
                   1485:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1486: else
1.2       paf      1487:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1488: for as_dir in $PATH
                   1489: do
                   1490:   IFS=$as_save_IFS
                   1491:   test -z "$as_dir" && as_dir=.
                   1492:   # Account for people who put trailing slashes in PATH elements.
                   1493: case $as_dir/ in
                   1494:   ./ | .// | /cC/* | \
                   1495:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1496:   /usr/ucb/* ) ;;
                   1497:   *)
                   1498:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1499:     # Don't use installbsd from OSF since it installs stuff as root
                   1500:     # by default.
                   1501:     for ac_prog in ginstall scoinst install; do
                   1502:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1503:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1504:           if test $ac_prog = install &&
                   1505:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1506:             # AIX install.  It has an incompatible calling convention.
                   1507:             :
                   1508:           elif test $ac_prog = install &&
                   1509:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1510:             # program-specific install script used by HP pwplus--don't use.
                   1511:             :
                   1512:           else
                   1513:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1514:             break 3
                   1515:           fi
                   1516:         fi
1.1       paf      1517:       done
1.2       paf      1518:     done
                   1519:     ;;
                   1520: esac
                   1521: done
                   1522: 
1.1       paf      1523: 
                   1524: fi
                   1525:   if test "${ac_cv_path_install+set}" = set; then
1.2       paf      1526:     INSTALL=$ac_cv_path_install
1.1       paf      1527:   else
                   1528:     # As a last resort, use the slow shell script.  We don't cache a
                   1529:     # path for INSTALL within a source directory, because that will
                   1530:     # break other packages using the cache if that directory is
                   1531:     # removed, or if the path is relative.
1.2       paf      1532:     INSTALL=$ac_install_sh
1.1       paf      1533:   fi
                   1534: fi
1.2       paf      1535: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1536: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1537: 
                   1538: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1539: # It thinks the first close brace ends the variable substitution.
                   1540: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1541: 
1.2       paf      1542: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1543: 
                   1544: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1545: 
1.2       paf      1546: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1547: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       paf      1548: # Just in case
                   1549: sleep 1
1.2       paf      1550: echo timestamp > conftest.file
1.1       paf      1551: # Do `set' in a subshell so we don't clobber the current shell's
                   1552: # arguments.  Must try -L first in case configure is actually a
                   1553: # symlink; some systems play weird games with the mod time of symlinks
                   1554: # (eg FreeBSD returns the mod time of the symlink's containing
                   1555: # directory).
                   1556: if (
1.2       paf      1557:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       paf      1558:    if test "$*" = "X"; then
                   1559:       # -L didn't work.
1.2       paf      1560:       set X `ls -t $srcdir/configure conftest.file`
1.1       paf      1561:    fi
1.2       paf      1562:    rm -f conftest.file
                   1563:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1564:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      1565: 
                   1566:       # If neither matched, then we have a broken ls.  This can happen
                   1567:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1568:       # broken ls alias from the environment.  This has actually
                   1569:       # happened.  Such a system could not be considered "sane".
1.2       paf      1570:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1571: alias in your environment" >&5
                   1572: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1573: alias in your environment" >&2;}
                   1574:    { (exit 1); exit 1; }; }
1.1       paf      1575:    fi
                   1576: 
1.2       paf      1577:    test "$2" = conftest.file
1.1       paf      1578:    )
                   1579: then
                   1580:    # Ok.
                   1581:    :
                   1582: else
1.2       paf      1583:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1584: Check your system clock" >&5
                   1585: echo "$as_me: error: newly created file is older than distributed files!
                   1586: Check your system clock" >&2;}
                   1587:    { (exit 1); exit 1; }; }
1.1       paf      1588: fi
1.2       paf      1589: echo "$as_me:$LINENO: result: yes" >&5
                   1590: echo "${ECHO_T}yes" >&6
1.1       paf      1591: test "$program_prefix" != NONE &&
1.2       paf      1592:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       paf      1593: # Use a double $ so make ignores it.
                   1594: test "$program_suffix" != NONE &&
1.2       paf      1595:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1596: # Double any \ or $.  echo might interpret backslashes.
                   1597: # By default was `s,x,x', remove it if useless.
                   1598: cat <<\_ACEOF >conftest.sed
                   1599: s/[\\$]/&&/g;s/;s,x,x,$//
                   1600: _ACEOF
                   1601: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1602: rm conftest.sed
                   1603: 
                   1604: 
                   1605: # expand $ac_aux_dir to an absolute path
                   1606: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1607: 
                   1608: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1609: # Use eval to expand $SHELL
                   1610: if eval "$MISSING --run true"; then
                   1611:   am_missing_run="$MISSING --run "
                   1612: else
                   1613:   am_missing_run=
                   1614:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1615: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1616: fi
1.1       paf      1617: 
1.2       paf      1618: for ac_prog in gawk mawk nawk awk
                   1619: do
                   1620:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1621: set dummy $ac_prog; ac_word=$2
                   1622: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1623: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1624: if test "${ac_cv_prog_AWK+set}" = set; then
                   1625:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1626: else
                   1627:   if test -n "$AWK"; then
                   1628:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1       paf      1629: else
1.2       paf      1630: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1631: for as_dir in $PATH
                   1632: do
                   1633:   IFS=$as_save_IFS
                   1634:   test -z "$as_dir" && as_dir=.
                   1635:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1636:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1637:     ac_cv_prog_AWK="$ac_prog"
                   1638:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1639:     break 2
                   1640:   fi
                   1641: done
                   1642: done
                   1643: 
                   1644: fi
                   1645: fi
                   1646: AWK=$ac_cv_prog_AWK
                   1647: if test -n "$AWK"; then
                   1648:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1649: echo "${ECHO_T}$AWK" >&6
                   1650: else
                   1651:   echo "$as_me:$LINENO: result: no" >&5
                   1652: echo "${ECHO_T}no" >&6
                   1653: fi
                   1654: 
                   1655:   test -n "$AWK" && break
                   1656: done
                   1657: 
                   1658: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1659: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1660: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1661: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1662:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1663: else
                   1664:   cat >conftest.make <<\_ACEOF
1.1       paf      1665: all:
1.2       paf      1666:        @echo 'ac_maketemp="$(MAKE)"'
                   1667: _ACEOF
1.1       paf      1668: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.2       paf      1669: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       paf      1670: if test -n "$ac_maketemp"; then
                   1671:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1672: else
                   1673:   eval ac_cv_prog_make_${ac_make}_set=no
                   1674: fi
1.2       paf      1675: rm -f conftest.make
1.1       paf      1676: fi
                   1677: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.2       paf      1678:   echo "$as_me:$LINENO: result: yes" >&5
                   1679: echo "${ECHO_T}yes" >&6
1.1       paf      1680:   SET_MAKE=
                   1681: else
1.2       paf      1682:   echo "$as_me:$LINENO: result: no" >&5
                   1683: echo "${ECHO_T}no" >&6
1.1       paf      1684:   SET_MAKE="MAKE=${MAKE-make}"
                   1685: fi
                   1686: 
1.2       paf      1687:  # test to see if srcdir already configured
                   1688: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1689:    test -f $srcdir/config.status; then
                   1690:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1691: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1692:    { (exit 1); exit 1; }; }
                   1693: fi
                   1694: 
                   1695: # test whether we have cygpath
                   1696: if test -z "$CYGPATH_W"; then
                   1697:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1698:     CYGPATH_W='cygpath -w'
                   1699:   else
                   1700:     CYGPATH_W=echo
                   1701:   fi
                   1702: fi
                   1703: 
                   1704: 
                   1705: # Define the identity of the package.
                   1706:  PACKAGE=libltdl
1.4       paf      1707:  VERSION=1.2
1.2       paf      1708: 
                   1709: 
                   1710: # Some tools Automake needs.
                   1711: 
                   1712: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1713: 
1.1       paf      1714: 
1.2       paf      1715: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1       paf      1716: 
                   1717: 
1.2       paf      1718: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1719: 
                   1720: 
                   1721: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1722: 
                   1723: 
                   1724: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   1725: 
1.1       paf      1726: 
1.2       paf      1727: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1       paf      1728: 
1.2       paf      1729: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       paf      1730: 
1.2       paf      1731: # Installed binaries are usually stripped using `strip' when the user
                   1732: # run `make install-strip'.  However `strip' might not be the right
                   1733: # tool to use in cross-compilation environments, therefore Automake
                   1734: # will honor the `STRIP' environment variable to overrule this program.
                   1735: if test "$cross_compiling" != no; then
                   1736:   if test -n "$ac_tool_prefix"; then
                   1737:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1738: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1739: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1740: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1741: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1742:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1743: else
1.2       paf      1744:   if test -n "$STRIP"; then
                   1745:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1746: else
                   1747: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1748: for as_dir in $PATH
                   1749: do
                   1750:   IFS=$as_save_IFS
                   1751:   test -z "$as_dir" && as_dir=.
                   1752:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1753:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1754:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1755:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1756:     break 2
                   1757:   fi
                   1758: done
                   1759: done
                   1760: 
                   1761: fi
                   1762: fi
                   1763: STRIP=$ac_cv_prog_STRIP
                   1764: if test -n "$STRIP"; then
                   1765:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1766: echo "${ECHO_T}$STRIP" >&6
                   1767: else
                   1768:   echo "$as_me:$LINENO: result: no" >&5
                   1769: echo "${ECHO_T}no" >&6
1.1       paf      1770: fi
                   1771: 
1.2       paf      1772: fi
                   1773: if test -z "$ac_cv_prog_STRIP"; then
                   1774:   ac_ct_STRIP=$STRIP
                   1775:   # Extract the first word of "strip", so it can be a program name with args.
                   1776: set dummy strip; ac_word=$2
                   1777: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1778: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1779: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1780:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1781: else
1.2       paf      1782:   if test -n "$ac_ct_STRIP"; then
                   1783:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   1784: else
                   1785: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1786: for as_dir in $PATH
                   1787: do
                   1788:   IFS=$as_save_IFS
                   1789:   test -z "$as_dir" && as_dir=.
                   1790:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1791:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1792:     ac_cv_prog_ac_ct_STRIP="strip"
                   1793:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1794:     break 2
                   1795:   fi
                   1796: done
                   1797: done
                   1798: 
                   1799:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1       paf      1800: fi
1.2       paf      1801: fi
                   1802: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1803: if test -n "$ac_ct_STRIP"; then
                   1804:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1805: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       paf      1806: else
1.2       paf      1807:   echo "$as_me:$LINENO: result: no" >&5
                   1808: echo "${ECHO_T}no" >&6
1.1       paf      1809: fi
                   1810: 
1.2       paf      1811:   STRIP=$ac_ct_STRIP
1.1       paf      1812: else
1.2       paf      1813:   STRIP="$ac_cv_prog_STRIP"
1.1       paf      1814: fi
                   1815: 
                   1816: fi
1.2       paf      1817: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1818: 
                   1819: # We need awk for the "check" target.  The system "awk" is bad on
                   1820: # some platforms.
                   1821: 
                   1822: 
                   1823: 
                   1824:           ac_config_headers="$ac_config_headers config_auto.h"
                   1825: 
                   1826: echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   1827: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1.1       paf      1828:     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
                   1829: if test "${enable_maintainer_mode+set}" = set; then
                   1830:   enableval="$enable_maintainer_mode"
                   1831:   USE_MAINTAINER_MODE=$enableval
                   1832: else
                   1833:   USE_MAINTAINER_MODE=no
1.2       paf      1834: fi;
                   1835:   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
                   1836: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1.1       paf      1837: 
                   1838: 
                   1839: if test $USE_MAINTAINER_MODE = yes; then
                   1840:   MAINTAINER_MODE_TRUE=
                   1841:   MAINTAINER_MODE_FALSE='#'
                   1842: else
                   1843:   MAINTAINER_MODE_TRUE='#'
                   1844:   MAINTAINER_MODE_FALSE=
                   1845: fi
1.2       paf      1846: 
1.1       paf      1847:   MAINT=$MAINTAINER_MODE_TRUE
                   1848: 
                   1849: 
1.2       paf      1850: 
                   1851: ac_ext=c
                   1852: ac_cpp='$CPP $CPPFLAGS'
                   1853: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1854: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1855: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1856: if test -n "$ac_tool_prefix"; then
                   1857:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1858: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   1859: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1860: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1861: if test "${ac_cv_prog_CC+set}" = set; then
                   1862:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1863: else
                   1864:   if test -n "$CC"; then
                   1865:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1866: else
                   1867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1868: for as_dir in $PATH
                   1869: do
                   1870:   IFS=$as_save_IFS
                   1871:   test -z "$as_dir" && as_dir=.
                   1872:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1873:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1874:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   1875:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1876:     break 2
                   1877:   fi
                   1878: done
                   1879: done
                   1880: 
                   1881: fi
                   1882: fi
                   1883: CC=$ac_cv_prog_CC
                   1884: if test -n "$CC"; then
                   1885:   echo "$as_me:$LINENO: result: $CC" >&5
                   1886: echo "${ECHO_T}$CC" >&6
                   1887: else
                   1888:   echo "$as_me:$LINENO: result: no" >&5
                   1889: echo "${ECHO_T}no" >&6
                   1890: fi
                   1891: 
                   1892: fi
                   1893: if test -z "$ac_cv_prog_CC"; then
                   1894:   ac_ct_CC=$CC
                   1895:   # Extract the first word of "gcc", so it can be a program name with args.
1.1       paf      1896: set dummy gcc; ac_word=$2
1.2       paf      1897: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1898: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1899: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1900:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1901: else
                   1902:   if test -n "$ac_ct_CC"; then
                   1903:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1904: else
                   1905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1906: for as_dir in $PATH
                   1907: do
                   1908:   IFS=$as_save_IFS
                   1909:   test -z "$as_dir" && as_dir=.
                   1910:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1911:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1912:     ac_cv_prog_ac_ct_CC="gcc"
                   1913:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1914:     break 2
                   1915:   fi
                   1916: done
                   1917: done
                   1918: 
                   1919: fi
                   1920: fi
                   1921: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1922: if test -n "$ac_ct_CC"; then
                   1923:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1924: echo "${ECHO_T}$ac_ct_CC" >&6
                   1925: else
                   1926:   echo "$as_me:$LINENO: result: no" >&5
                   1927: echo "${ECHO_T}no" >&6
                   1928: fi
                   1929: 
                   1930:   CC=$ac_ct_CC
                   1931: else
                   1932:   CC="$ac_cv_prog_CC"
                   1933: fi
                   1934: 
                   1935: if test -z "$CC"; then
                   1936:   if test -n "$ac_tool_prefix"; then
                   1937:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   1938: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   1939: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1940: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1941: if test "${ac_cv_prog_CC+set}" = set; then
                   1942:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1943: else
                   1944:   if test -n "$CC"; then
                   1945:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1946: else
1.2       paf      1947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1948: for as_dir in $PATH
                   1949: do
                   1950:   IFS=$as_save_IFS
                   1951:   test -z "$as_dir" && as_dir=.
                   1952:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1953:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1954:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   1955:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1956:     break 2
                   1957:   fi
                   1958: done
                   1959: done
                   1960: 
1.1       paf      1961: fi
                   1962: fi
1.2       paf      1963: CC=$ac_cv_prog_CC
1.1       paf      1964: if test -n "$CC"; then
1.2       paf      1965:   echo "$as_me:$LINENO: result: $CC" >&5
                   1966: echo "${ECHO_T}$CC" >&6
1.1       paf      1967: else
1.2       paf      1968:   echo "$as_me:$LINENO: result: no" >&5
                   1969: echo "${ECHO_T}no" >&6
                   1970: fi
                   1971: 
1.1       paf      1972: fi
1.2       paf      1973: if test -z "$ac_cv_prog_CC"; then
                   1974:   ac_ct_CC=$CC
                   1975:   # Extract the first word of "cc", so it can be a program name with args.
                   1976: set dummy cc; ac_word=$2
                   1977: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1978: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1979: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1980:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1981: else
                   1982:   if test -n "$ac_ct_CC"; then
                   1983:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1984: else
                   1985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1986: for as_dir in $PATH
                   1987: do
                   1988:   IFS=$as_save_IFS
                   1989:   test -z "$as_dir" && as_dir=.
                   1990:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1991:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1992:     ac_cv_prog_ac_ct_CC="cc"
                   1993:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1994:     break 2
                   1995:   fi
                   1996: done
                   1997: done
1.1       paf      1998: 
1.2       paf      1999: fi
                   2000: fi
                   2001: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2002: if test -n "$ac_ct_CC"; then
                   2003:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2004: echo "${ECHO_T}$ac_ct_CC" >&6
                   2005: else
                   2006:   echo "$as_me:$LINENO: result: no" >&5
                   2007: echo "${ECHO_T}no" >&6
                   2008: fi
                   2009: 
                   2010:   CC=$ac_ct_CC
                   2011: else
                   2012:   CC="$ac_cv_prog_CC"
                   2013: fi
                   2014: 
                   2015: fi
1.1       paf      2016: if test -z "$CC"; then
                   2017:   # Extract the first word of "cc", so it can be a program name with args.
                   2018: set dummy cc; ac_word=$2
1.2       paf      2019: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2020: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2021: if test "${ac_cv_prog_CC+set}" = set; then
                   2022:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      2023: else
                   2024:   if test -n "$CC"; then
                   2025:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2026: else
                   2027:   ac_prog_rejected=no
1.2       paf      2028: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2029: for as_dir in $PATH
                   2030: do
                   2031:   IFS=$as_save_IFS
                   2032:   test -z "$as_dir" && as_dir=.
                   2033:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2034:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2035:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2036:        ac_prog_rejected=yes
                   2037:        continue
                   2038:      fi
                   2039:     ac_cv_prog_CC="cc"
                   2040:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2041:     break 2
                   2042:   fi
                   2043: done
                   2044: done
                   2045: 
1.1       paf      2046: if test $ac_prog_rejected = yes; then
                   2047:   # We found a bogon in the path, so make sure we never use it.
                   2048:   set dummy $ac_cv_prog_CC
                   2049:   shift
1.2       paf      2050:   if test $# != 0; then
1.1       paf      2051:     # We chose a different compiler from the bogus one.
                   2052:     # However, it has the same basename, so the bogon will be chosen
                   2053:     # first if we set CC to just the basename; use the full file name.
                   2054:     shift
1.2       paf      2055:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       paf      2056:   fi
                   2057: fi
                   2058: fi
                   2059: fi
1.2       paf      2060: CC=$ac_cv_prog_CC
1.1       paf      2061: if test -n "$CC"; then
1.2       paf      2062:   echo "$as_me:$LINENO: result: $CC" >&5
                   2063: echo "${ECHO_T}$CC" >&6
1.1       paf      2064: else
1.2       paf      2065:   echo "$as_me:$LINENO: result: no" >&5
                   2066: echo "${ECHO_T}no" >&6
1.1       paf      2067: fi
                   2068: 
1.2       paf      2069: fi
                   2070: if test -z "$CC"; then
                   2071:   if test -n "$ac_tool_prefix"; then
                   2072:   for ac_prog in cl
                   2073:   do
                   2074:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2075: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2076: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2077: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2078: if test "${ac_cv_prog_CC+set}" = set; then
                   2079:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      2080: else
                   2081:   if test -n "$CC"; then
                   2082:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2083: else
1.2       paf      2084: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2085: for as_dir in $PATH
                   2086: do
                   2087:   IFS=$as_save_IFS
                   2088:   test -z "$as_dir" && as_dir=.
                   2089:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2090:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2091:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2092:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2093:     break 2
                   2094:   fi
                   2095: done
                   2096: done
                   2097: 
1.1       paf      2098: fi
                   2099: fi
1.2       paf      2100: CC=$ac_cv_prog_CC
1.1       paf      2101: if test -n "$CC"; then
1.2       paf      2102:   echo "$as_me:$LINENO: result: $CC" >&5
                   2103: echo "${ECHO_T}$CC" >&6
1.1       paf      2104: else
1.2       paf      2105:   echo "$as_me:$LINENO: result: no" >&5
                   2106: echo "${ECHO_T}no" >&6
                   2107: fi
                   2108: 
                   2109:     test -n "$CC" && break
                   2110:   done
1.1       paf      2111: fi
1.2       paf      2112: if test -z "$CC"; then
                   2113:   ac_ct_CC=$CC
                   2114:   for ac_prog in cl
                   2115: do
                   2116:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2117: set dummy $ac_prog; ac_word=$2
                   2118: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2119: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2120: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2121:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2122: else
                   2123:   if test -n "$ac_ct_CC"; then
                   2124:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2125: else
                   2126: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2127: for as_dir in $PATH
                   2128: do
                   2129:   IFS=$as_save_IFS
                   2130:   test -z "$as_dir" && as_dir=.
                   2131:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2132:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2133:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2134:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2135:     break 2
1.1       paf      2136:   fi
1.2       paf      2137: done
                   2138: done
                   2139: 
                   2140: fi
                   2141: fi
                   2142: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2143: if test -n "$ac_ct_CC"; then
                   2144:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2145: echo "${ECHO_T}$ac_ct_CC" >&6
                   2146: else
                   2147:   echo "$as_me:$LINENO: result: no" >&5
                   2148: echo "${ECHO_T}no" >&6
                   2149: fi
                   2150: 
                   2151:   test -n "$ac_ct_CC" && break
                   2152: done
                   2153: 
                   2154:   CC=$ac_ct_CC
                   2155: fi
                   2156: 
1.1       paf      2157: fi
                   2158: 
                   2159: 
1.2       paf      2160: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2161: See \`config.log' for more details." >&5
                   2162: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2163: See \`config.log' for more details." >&2;}
                   2164:    { (exit 1); exit 1; }; }
                   2165: 
                   2166: # Provide some information about the compiler.
                   2167: echo "$as_me:$LINENO:" \
                   2168:      "checking for C compiler version" >&5
                   2169: ac_compiler=`set X $ac_compile; echo $2`
                   2170: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2171:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2172:   ac_status=$?
                   2173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2174:   (exit $ac_status); }
                   2175: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2176:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2177:   ac_status=$?
                   2178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2179:   (exit $ac_status); }
                   2180: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2181:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2182:   ac_status=$?
                   2183:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2184:   (exit $ac_status); }
                   2185: 
                   2186: cat >conftest.$ac_ext <<_ACEOF
                   2187: #line $LINENO "configure"
                   2188: /* confdefs.h.  */
                   2189: _ACEOF
                   2190: cat confdefs.h >>conftest.$ac_ext
                   2191: cat >>conftest.$ac_ext <<_ACEOF
                   2192: /* end confdefs.h.  */
1.1       paf      2193: 
1.2       paf      2194: int
                   2195: main ()
                   2196: {
1.1       paf      2197: 
1.2       paf      2198:   ;
                   2199:   return 0;
                   2200: }
                   2201: _ACEOF
                   2202: ac_clean_files_save=$ac_clean_files
                   2203: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2204: # Try to create an executable without -o first, disregard a.out.
                   2205: # It will help us diagnose broken compilers, and finding out an intuition
                   2206: # of exeext.
                   2207: echo "$as_me:$LINENO: checking for C compiler default output" >&5
                   2208: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
                   2209: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2210: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2211:   (eval $ac_link_default) 2>&5
                   2212:   ac_status=$?
                   2213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2214:   (exit $ac_status); }; then
                   2215:   # Find the output, starting from the most likely.  This scheme is
                   2216: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2217: # resort.
                   2218: 
                   2219: # Be careful to initialize this variable, since it used to be cached.
                   2220: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2221: ac_cv_exeext=
                   2222: # b.out is created by i960 compilers.
                   2223: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   2224: do
                   2225:   test -f "$ac_file" || continue
                   2226:   case $ac_file in
                   2227:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
                   2228:         ;;
                   2229:     conftest.$ac_ext )
                   2230:         # This is the source file.
                   2231:         ;;
                   2232:     [ab].out )
                   2233:         # We found the default executable, but exeext='' is most
                   2234:         # certainly right.
                   2235:         break;;
                   2236:     *.* )
                   2237:         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2238:         # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2239:         # but it would be cool to find out if it's true.  Does anybody
                   2240:         # maintain Libtool? --akim.
                   2241:         export ac_cv_exeext
                   2242:         break;;
                   2243:     * )
                   2244:         break;;
                   2245:   esac
                   2246: done
                   2247: else
                   2248:   echo "$as_me: failed program was:" >&5
                   2249: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2250: 
1.2       paf      2251: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
                   2252: See \`config.log' for more details." >&5
                   2253: echo "$as_me: error: C compiler cannot create executables
                   2254: See \`config.log' for more details." >&2;}
                   2255:    { (exit 77); exit 77; }; }
                   2256: fi
                   2257: 
                   2258: ac_exeext=$ac_cv_exeext
                   2259: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2260: echo "${ECHO_T}$ac_file" >&6
                   2261: 
                   2262: # Check the compiler produces executables we can run.  If not, either
                   2263: # the compiler is broken, or we cross compile.
                   2264: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
                   2265: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
                   2266: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2267: # If not cross compiling, check that we can run a simple program.
                   2268: if test "$cross_compiling" != yes; then
                   2269:   if { ac_try='./$ac_file'
                   2270:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2271:   (eval $ac_try) 2>&5
                   2272:   ac_status=$?
                   2273:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2274:   (exit $ac_status); }; }; then
                   2275:     cross_compiling=no
1.1       paf      2276:   else
1.2       paf      2277:     if test "$cross_compiling" = maybe; then
                   2278:        cross_compiling=yes
                   2279:     else
                   2280:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
                   2281: If you meant to cross compile, use \`--host'.
                   2282: See \`config.log' for more details." >&5
                   2283: echo "$as_me: error: cannot run C compiled programs.
                   2284: If you meant to cross compile, use \`--host'.
                   2285: See \`config.log' for more details." >&2;}
                   2286:    { (exit 1); exit 1; }; }
                   2287:     fi
1.1       paf      2288:   fi
                   2289: fi
1.2       paf      2290: echo "$as_me:$LINENO: result: yes" >&5
                   2291: echo "${ECHO_T}yes" >&6
                   2292: 
                   2293: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2294: ac_clean_files=$ac_clean_files_save
                   2295: # Check the compiler produces executables we can run.  If not, either
                   2296: # the compiler is broken, or we cross compile.
                   2297: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2298: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2299: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2300: echo "${ECHO_T}$cross_compiling" >&6
                   2301: 
                   2302: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2303: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2304: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2305:   (eval $ac_link) 2>&5
                   2306:   ac_status=$?
                   2307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2308:   (exit $ac_status); }; then
                   2309:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2310: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2311: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2312: # `rm'.
                   2313: for ac_file in conftest.exe conftest conftest.*; do
                   2314:   test -f "$ac_file" || continue
                   2315:   case $ac_file in
                   2316:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2317:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2318:           export ac_cv_exeext
                   2319:           break;;
                   2320:     * ) break;;
                   2321:   esac
                   2322: done
1.1       paf      2323: else
1.2       paf      2324:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2325: See \`config.log' for more details." >&5
                   2326: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2327: See \`config.log' for more details." >&2;}
                   2328:    { (exit 1); exit 1; }; }
                   2329: fi
                   2330: 
                   2331: rm -f conftest$ac_cv_exeext
                   2332: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2333: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2334: 
                   2335: rm -f conftest.$ac_ext
                   2336: EXEEXT=$ac_cv_exeext
                   2337: ac_exeext=$EXEEXT
                   2338: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2339: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2340: if test "${ac_cv_objext+set}" = set; then
                   2341:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2342: else
                   2343:   cat >conftest.$ac_ext <<_ACEOF
                   2344: #line $LINENO "configure"
                   2345: /* confdefs.h.  */
                   2346: _ACEOF
                   2347: cat confdefs.h >>conftest.$ac_ext
                   2348: cat >>conftest.$ac_ext <<_ACEOF
                   2349: /* end confdefs.h.  */
1.1       paf      2350: 
1.2       paf      2351: int
                   2352: main ()
                   2353: {
1.1       paf      2354: 
1.2       paf      2355:   ;
                   2356:   return 0;
                   2357: }
                   2358: _ACEOF
                   2359: rm -f conftest.o conftest.obj
                   2360: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2361:   (eval $ac_compile) 2>&5
                   2362:   ac_status=$?
                   2363:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2364:   (exit $ac_status); }; then
                   2365:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2366:   case $ac_file in
                   2367:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2368:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2369:        break;;
                   2370:   esac
                   2371: done
1.1       paf      2372: else
1.2       paf      2373:   echo "$as_me: failed program was:" >&5
                   2374: sed 's/^/| /' conftest.$ac_ext >&5
                   2375: 
                   2376: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2377: See \`config.log' for more details." >&5
                   2378: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2379: See \`config.log' for more details." >&2;}
                   2380:    { (exit 1); exit 1; }; }
                   2381: fi
                   2382: 
                   2383: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2384: fi
                   2385: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2386: echo "${ECHO_T}$ac_cv_objext" >&6
                   2387: OBJEXT=$ac_cv_objext
                   2388: ac_objext=$OBJEXT
                   2389: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   2390: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2391: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2392:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2393: else
                   2394:   cat >conftest.$ac_ext <<_ACEOF
                   2395: #line $LINENO "configure"
                   2396: /* confdefs.h.  */
                   2397: _ACEOF
                   2398: cat confdefs.h >>conftest.$ac_ext
                   2399: cat >>conftest.$ac_ext <<_ACEOF
                   2400: /* end confdefs.h.  */
                   2401: 
                   2402: int
                   2403: main ()
                   2404: {
                   2405: #ifndef __GNUC__
                   2406:        choke me
                   2407: #endif
                   2408: 
                   2409:   ;
                   2410:   return 0;
                   2411: }
                   2412: _ACEOF
                   2413: rm -f conftest.$ac_objext
                   2414: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2415:   (eval $ac_compile) 2>&5
                   2416:   ac_status=$?
                   2417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2418:   (exit $ac_status); } &&
                   2419:          { ac_try='test -s conftest.$ac_objext'
                   2420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2421:   (eval $ac_try) 2>&5
                   2422:   ac_status=$?
                   2423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2424:   (exit $ac_status); }; }; then
                   2425:   ac_compiler_gnu=yes
                   2426: else
                   2427:   echo "$as_me: failed program was:" >&5
                   2428: sed 's/^/| /' conftest.$ac_ext >&5
                   2429: 
                   2430: ac_compiler_gnu=no
                   2431: fi
                   2432: rm -f conftest.$ac_objext conftest.$ac_ext
                   2433: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2434: 
                   2435: fi
                   2436: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   2437: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   2438: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   2439: ac_test_CFLAGS=${CFLAGS+set}
                   2440: ac_save_CFLAGS=$CFLAGS
                   2441: CFLAGS="-g"
                   2442: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   2443: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   2444: if test "${ac_cv_prog_cc_g+set}" = set; then
                   2445:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2446: else
                   2447:   cat >conftest.$ac_ext <<_ACEOF
                   2448: #line $LINENO "configure"
                   2449: /* confdefs.h.  */
                   2450: _ACEOF
                   2451: cat confdefs.h >>conftest.$ac_ext
                   2452: cat >>conftest.$ac_ext <<_ACEOF
                   2453: /* end confdefs.h.  */
                   2454: 
                   2455: int
                   2456: main ()
                   2457: {
1.1       paf      2458: 
1.2       paf      2459:   ;
                   2460:   return 0;
                   2461: }
                   2462: _ACEOF
                   2463: rm -f conftest.$ac_objext
                   2464: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2465:   (eval $ac_compile) 2>&5
                   2466:   ac_status=$?
                   2467:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2468:   (exit $ac_status); } &&
                   2469:          { ac_try='test -s conftest.$ac_objext'
                   2470:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2471:   (eval $ac_try) 2>&5
                   2472:   ac_status=$?
                   2473:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2474:   (exit $ac_status); }; }; then
1.1       paf      2475:   ac_cv_prog_cc_g=yes
                   2476: else
1.2       paf      2477:   echo "$as_me: failed program was:" >&5
                   2478: sed 's/^/| /' conftest.$ac_ext >&5
                   2479: 
                   2480: ac_cv_prog_cc_g=no
1.1       paf      2481: fi
1.2       paf      2482: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      2483: fi
1.2       paf      2484: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   2485: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       paf      2486: if test "$ac_test_CFLAGS" = set; then
1.2       paf      2487:   CFLAGS=$ac_save_CFLAGS
1.1       paf      2488: elif test $ac_cv_prog_cc_g = yes; then
                   2489:   if test "$GCC" = yes; then
                   2490:     CFLAGS="-g -O2"
                   2491:   else
                   2492:     CFLAGS="-g"
                   2493:   fi
                   2494: else
                   2495:   if test "$GCC" = yes; then
                   2496:     CFLAGS="-O2"
                   2497:   else
                   2498:     CFLAGS=
                   2499:   fi
                   2500: fi
1.2       paf      2501: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   2502: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   2503: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   2504:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2505: else
                   2506:   ac_cv_prog_cc_stdc=no
                   2507: ac_save_CC=$CC
                   2508: cat >conftest.$ac_ext <<_ACEOF
                   2509: #line $LINENO "configure"
                   2510: /* confdefs.h.  */
                   2511: _ACEOF
                   2512: cat confdefs.h >>conftest.$ac_ext
                   2513: cat >>conftest.$ac_ext <<_ACEOF
                   2514: /* end confdefs.h.  */
                   2515: #include <stdarg.h>
                   2516: #include <stdio.h>
                   2517: #include <sys/types.h>
                   2518: #include <sys/stat.h>
                   2519: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   2520: struct buf { int x; };
                   2521: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   2522: static char *e (p, i)
                   2523:      char **p;
                   2524:      int i;
                   2525: {
                   2526:   return p[i];
                   2527: }
                   2528: static char *f (char * (*g) (char **, int), char **p, ...)
                   2529: {
                   2530:   char *s;
                   2531:   va_list v;
                   2532:   va_start (v,p);
                   2533:   s = g (p, va_arg (v,int));
                   2534:   va_end (v);
                   2535:   return s;
                   2536: }
                   2537: int test (int i, double x);
                   2538: struct s1 {int (*f) (int a);};
                   2539: struct s2 {int (*f) (double a);};
                   2540: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   2541: int argc;
                   2542: char **argv;
                   2543: int
                   2544: main ()
                   2545: {
                   2546: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   2547:   ;
                   2548:   return 0;
                   2549: }
                   2550: _ACEOF
                   2551: # Don't try gcc -ansi; that turns off useful extensions and
                   2552: # breaks some systems' header files.
                   2553: # AIX                  -qlanglvl=ansi
                   2554: # Ultrix and OSF/1     -std1
                   2555: # HP-UX 10.20 and later        -Ae
                   2556: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   2557: # SVR4                 -Xc -D__EXTENSIONS__
                   2558: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   2559: do
                   2560:   CC="$ac_save_CC $ac_arg"
                   2561:   rm -f conftest.$ac_objext
                   2562: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2563:   (eval $ac_compile) 2>&5
                   2564:   ac_status=$?
                   2565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2566:   (exit $ac_status); } &&
                   2567:          { ac_try='test -s conftest.$ac_objext'
                   2568:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2569:   (eval $ac_try) 2>&5
                   2570:   ac_status=$?
                   2571:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2572:   (exit $ac_status); }; }; then
                   2573:   ac_cv_prog_cc_stdc=$ac_arg
                   2574: break
                   2575: else
                   2576:   echo "$as_me: failed program was:" >&5
                   2577: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2578: 
1.2       paf      2579: fi
                   2580: rm -f conftest.$ac_objext
                   2581: done
                   2582: rm -f conftest.$ac_ext conftest.$ac_objext
                   2583: CC=$ac_save_CC
1.1       paf      2584: 
1.2       paf      2585: fi
1.1       paf      2586: 
1.2       paf      2587: case "x$ac_cv_prog_cc_stdc" in
                   2588:   x|xno)
                   2589:     echo "$as_me:$LINENO: result: none needed" >&5
                   2590: echo "${ECHO_T}none needed" >&6 ;;
                   2591:   *)
                   2592:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   2593: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   2594:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   2595: esac
                   2596: 
                   2597: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   2598: # in C++ we need to declare it.  In case someone uses the same compiler
                   2599: # for both compiling C and C++ we need to have the C++ compiler decide
                   2600: # the declaration of exit, since it's the most demanding environment.
                   2601: cat >conftest.$ac_ext <<_ACEOF
                   2602: #ifndef __cplusplus
                   2603:   choke me
                   2604: #endif
                   2605: _ACEOF
                   2606: rm -f conftest.$ac_objext
                   2607: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2608:   (eval $ac_compile) 2>&5
                   2609:   ac_status=$?
                   2610:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2611:   (exit $ac_status); } &&
                   2612:          { ac_try='test -s conftest.$ac_objext'
                   2613:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2614:   (eval $ac_try) 2>&5
                   2615:   ac_status=$?
                   2616:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2617:   (exit $ac_status); }; }; then
                   2618:   for ac_declaration in \
                   2619:    ''\
                   2620:    '#include <stdlib.h>' \
                   2621:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2622:    'extern "C" void std::exit (int); using std::exit;' \
                   2623:    'extern "C" void exit (int) throw ();' \
                   2624:    'extern "C" void exit (int);' \
                   2625:    'void exit (int);'
                   2626: do
                   2627:   cat >conftest.$ac_ext <<_ACEOF
                   2628: #line $LINENO "configure"
                   2629: /* confdefs.h.  */
                   2630: _ACEOF
                   2631: cat confdefs.h >>conftest.$ac_ext
                   2632: cat >>conftest.$ac_ext <<_ACEOF
                   2633: /* end confdefs.h.  */
                   2634: #include <stdlib.h>
                   2635: $ac_declaration
                   2636: int
                   2637: main ()
                   2638: {
                   2639: exit (42);
                   2640:   ;
                   2641:   return 0;
1.1       paf      2642: }
1.2       paf      2643: _ACEOF
                   2644: rm -f conftest.$ac_objext
                   2645: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2646:   (eval $ac_compile) 2>&5
                   2647:   ac_status=$?
                   2648:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2649:   (exit $ac_status); } &&
                   2650:          { ac_try='test -s conftest.$ac_objext'
                   2651:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2652:   (eval $ac_try) 2>&5
                   2653:   ac_status=$?
                   2654:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2655:   (exit $ac_status); }; }; then
                   2656:   :
                   2657: else
                   2658:   echo "$as_me: failed program was:" >&5
                   2659: sed 's/^/| /' conftest.$ac_ext >&5
                   2660: 
                   2661: continue
                   2662: fi
                   2663: rm -f conftest.$ac_objext conftest.$ac_ext
                   2664:   cat >conftest.$ac_ext <<_ACEOF
                   2665: #line $LINENO "configure"
                   2666: /* confdefs.h.  */
                   2667: _ACEOF
                   2668: cat confdefs.h >>conftest.$ac_ext
                   2669: cat >>conftest.$ac_ext <<_ACEOF
                   2670: /* end confdefs.h.  */
                   2671: $ac_declaration
                   2672: int
                   2673: main ()
                   2674: {
                   2675: exit (42);
                   2676:   ;
                   2677:   return 0;
1.1       paf      2678: }
1.2       paf      2679: _ACEOF
                   2680: rm -f conftest.$ac_objext
                   2681: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2682:   (eval $ac_compile) 2>&5
                   2683:   ac_status=$?
                   2684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2685:   (exit $ac_status); } &&
                   2686:          { ac_try='test -s conftest.$ac_objext'
                   2687:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2688:   (eval $ac_try) 2>&5
                   2689:   ac_status=$?
                   2690:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2691:   (exit $ac_status); }; }; then
                   2692:   break
                   2693: else
                   2694:   echo "$as_me: failed program was:" >&5
                   2695: sed 's/^/| /' conftest.$ac_ext >&5
                   2696: 
                   2697: fi
                   2698: rm -f conftest.$ac_objext conftest.$ac_ext
                   2699: done
                   2700: rm -f conftest*
                   2701: if test -n "$ac_declaration"; then
                   2702:   echo '#ifdef __cplusplus' >>confdefs.h
                   2703:   echo $ac_declaration      >>confdefs.h
                   2704:   echo '#endif'             >>confdefs.h
                   2705: fi
                   2706: 
                   2707: else
                   2708:   echo "$as_me: failed program was:" >&5
                   2709: sed 's/^/| /' conftest.$ac_ext >&5
                   2710: 
                   2711: fi
                   2712: rm -f conftest.$ac_objext conftest.$ac_ext
                   2713: ac_ext=c
                   2714: ac_cpp='$CPP $CPPFLAGS'
                   2715: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2716: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2717: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2718: rm -f .deps 2>/dev/null
                   2719: mkdir .deps 2>/dev/null
                   2720: if test -d .deps; then
                   2721:   DEPDIR=.deps
                   2722: else
                   2723:   # MS-DOS does not allow filenames that begin with a dot.
                   2724:   DEPDIR=_deps
                   2725: fi
                   2726: rmdir .deps 2>/dev/null
                   2727: 
                   2728: 
                   2729:           ac_config_commands="$ac_config_commands depfiles"
                   2730: 
                   2731: 
                   2732: am_make=${MAKE-make}
                   2733: cat > confinc << 'END'
                   2734: doit:
                   2735:        @echo done
                   2736: END
                   2737: # If we don't find an include directive, just comment out the code.
                   2738: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2739: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2740: am__include="#"
                   2741: am__quote=
                   2742: _am_result=none
                   2743: # First try GNU make style include.
                   2744: echo "include confinc" > confmf
                   2745: # We grep out `Entering directory' and `Leaving directory'
                   2746: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2747: # In particular we don't look at `^make:' because GNU make might
                   2748: # be invoked under some other name (usually "gmake"), in which
                   2749: # case it prints its new name instead of `make'.
                   2750: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2751:    am__include=include
                   2752:    am__quote=
                   2753:    _am_result=GNU
                   2754: fi
                   2755: # Now try BSD make style include.
                   2756: if test "$am__include" = "#"; then
                   2757:    echo '.include "confinc"' > confmf
                   2758:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2759:       am__include=.include
                   2760:       am__quote="\""
                   2761:       _am_result=BSD
                   2762:    fi
                   2763: fi
                   2764: 
                   2765: 
                   2766: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2767: echo "${ECHO_T}$_am_result" >&6
                   2768: rm -f confinc confmf
                   2769: 
                   2770: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2771: if test "${enable_dependency_tracking+set}" = set; then
                   2772:   enableval="$enable_dependency_tracking"
                   2773: 
                   2774: fi;
                   2775: if test "x$enable_dependency_tracking" != xno; then
                   2776:   am_depcomp="$ac_aux_dir/depcomp"
                   2777:   AMDEPBACKSLASH='\'
                   2778: fi
                   2779: 
                   2780: 
                   2781: if test "x$enable_dependency_tracking" != xno; then
                   2782:   AMDEP_TRUE=
                   2783:   AMDEP_FALSE='#'
                   2784: else
                   2785:   AMDEP_TRUE='#'
                   2786:   AMDEP_FALSE=
                   2787: fi
                   2788: 
                   2789: 
                   2790: 
                   2791: 
                   2792: depcc="$CC"   am_compiler_list=
                   2793: 
                   2794: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2795: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2796: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   2797:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2798: else
                   2799:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2800:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2801:   # making bogus files that we don't know about and never remove.  For
                   2802:   # instance it was reported that on HP-UX the gcc test will end up
                   2803:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2804:   # in D'.
                   2805:   mkdir conftest.dir
                   2806:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2807:   # using a relative directory.
                   2808:   cp "$am_depcomp" conftest.dir
                   2809:   cd conftest.dir
                   2810: 
                   2811:   am_cv_CC_dependencies_compiler_type=none
                   2812:   if test "$am_compiler_list" = ""; then
                   2813:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2814:   fi
                   2815:   for depmode in $am_compiler_list; do
                   2816:     # We need to recreate these files for each test, as the compiler may
                   2817:     # overwrite some of them when testing with obscure command lines.
                   2818:     # This happens at least with the AIX C compiler.
                   2819:     echo '#include "conftest.h"' > conftest.c
                   2820:     echo 'int i;' > conftest.h
                   2821:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2822: 
                   2823:     case $depmode in
                   2824:     nosideeffect)
                   2825:       # after this tag, mechanisms are not by side-effect, so they'll
                   2826:       # only be used when explicitly requested
                   2827:       if test "x$enable_dependency_tracking" = xyes; then
                   2828:        continue
                   2829:       else
                   2830:        break
                   2831:       fi
                   2832:       ;;
                   2833:     none) break ;;
                   2834:     esac
                   2835:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2836:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2837:     # handle `-M -o', and we need to detect this.
                   2838:     if depmode=$depmode \
                   2839:        source=conftest.c object=conftest.o \
                   2840:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2841:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   2842:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2843:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2844:       am_cv_CC_dependencies_compiler_type=$depmode
                   2845:       break
                   2846:     fi
                   2847:   done
                   2848: 
                   2849:   cd ..
                   2850:   rm -rf conftest.dir
                   2851: else
                   2852:   am_cv_CC_dependencies_compiler_type=none
                   2853: fi
                   2854: 
                   2855: fi
                   2856: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   2857: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   2858: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   2859: 
                   2860: 
1.1       paf      2861: 
1.2       paf      2862: if
                   2863:   test "x$enable_dependency_tracking" != xno \
                   2864:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   2865:   am__fastdepCC_TRUE=
                   2866:   am__fastdepCC_FALSE='#'
                   2867: else
                   2868:   am__fastdepCC_TRUE='#'
                   2869:   am__fastdepCC_FALSE=
                   2870: fi
                   2871: 
                   2872: 
                   2873: 
                   2874: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
                   2875: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
                   2876: if test "${ac_cv_c_const+set}" = set; then
                   2877:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2878: else
                   2879:   cat >conftest.$ac_ext <<_ACEOF
                   2880: #line $LINENO "configure"
                   2881: /* confdefs.h.  */
                   2882: _ACEOF
                   2883: cat confdefs.h >>conftest.$ac_ext
                   2884: cat >>conftest.$ac_ext <<_ACEOF
                   2885: /* end confdefs.h.  */
                   2886: 
                   2887: int
                   2888: main ()
                   2889: {
                   2890: /* FIXME: Include the comments suggested by Paul. */
                   2891: #ifndef __cplusplus
                   2892:   /* Ultrix mips cc rejects this.  */
                   2893:   typedef int charset[2];
                   2894:   const charset x;
                   2895:   /* SunOS 4.1.1 cc rejects this.  */
                   2896:   char const *const *ccp;
                   2897:   char **p;
                   2898:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   2899:   struct point {int x, y;};
                   2900:   static struct point const zero = {0,0};
                   2901:   /* AIX XL C 1.02.0.0 rejects this.
                   2902:      It does not let you subtract one const X* pointer from another in
                   2903:      an arm of an if-expression whose if-part is not a constant
                   2904:      expression */
                   2905:   const char *g = "string";
                   2906:   ccp = &g + (g ? g-g : 0);
                   2907:   /* HPUX 7.0 cc rejects these. */
                   2908:   ++ccp;
                   2909:   p = (char**) ccp;
                   2910:   ccp = (char const *const *) p;
                   2911:   { /* SCO 3.2v4 cc rejects this.  */
                   2912:     char *t;
                   2913:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   2914: 
                   2915:     *t++ = 0;
                   2916:   }
                   2917:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   2918:     int x[] = {25, 17};
                   2919:     const int *foo = &x[0];
                   2920:     ++foo;
                   2921:   }
                   2922:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   2923:     typedef const int *iptr;
                   2924:     iptr p = 0;
                   2925:     ++p;
                   2926:   }
                   2927:   { /* AIX XL C 1.02.0.0 rejects this saying
                   2928:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   2929:     struct s { int j; const int *ap[3]; };
                   2930:     struct s *b; b->j = 5;
                   2931:   }
                   2932:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   2933:     const int foo = 10;
                   2934:   }
                   2935: #endif
                   2936: 
                   2937:   ;
                   2938:   return 0;
                   2939: }
                   2940: _ACEOF
                   2941: rm -f conftest.$ac_objext
                   2942: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2943:   (eval $ac_compile) 2>&5
                   2944:   ac_status=$?
                   2945:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2946:   (exit $ac_status); } &&
                   2947:          { ac_try='test -s conftest.$ac_objext'
                   2948:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2949:   (eval $ac_try) 2>&5
                   2950:   ac_status=$?
                   2951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2952:   (exit $ac_status); }; }; then
1.1       paf      2953:   ac_cv_c_const=yes
                   2954: else
1.2       paf      2955:   echo "$as_me: failed program was:" >&5
                   2956: sed 's/^/| /' conftest.$ac_ext >&5
                   2957: 
                   2958: ac_cv_c_const=no
1.1       paf      2959: fi
1.2       paf      2960: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      2961: fi
1.2       paf      2962: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
                   2963: echo "${ECHO_T}$ac_cv_c_const" >&6
                   2964: if test $ac_cv_c_const = no; then
1.1       paf      2965: 
1.2       paf      2966: cat >>confdefs.h <<\_ACEOF
                   2967: #define const
                   2968: _ACEOF
1.1       paf      2969: 
                   2970: fi
                   2971: 
1.2       paf      2972: echo "$as_me:$LINENO: checking for inline" >&5
                   2973: echo $ECHO_N "checking for inline... $ECHO_C" >&6
                   2974: if test "${ac_cv_c_inline+set}" = set; then
                   2975:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      2976: else
                   2977:   ac_cv_c_inline=no
                   2978: for ac_kw in inline __inline__ __inline; do
1.2       paf      2979:   cat >conftest.$ac_ext <<_ACEOF
                   2980: #line $LINENO "configure"
                   2981: /* confdefs.h.  */
                   2982: _ACEOF
                   2983: cat confdefs.h >>conftest.$ac_ext
                   2984: cat >>conftest.$ac_ext <<_ACEOF
                   2985: /* end confdefs.h.  */
                   2986: #ifndef __cplusplus
                   2987: typedef int foo_t;
                   2988: static $ac_kw foo_t static_foo () {return 0; }
                   2989: $ac_kw foo_t foo () {return 0; }
                   2990: #endif
1.1       paf      2991: 
1.2       paf      2992: _ACEOF
                   2993: rm -f conftest.$ac_objext
                   2994: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2995:   (eval $ac_compile) 2>&5
                   2996:   ac_status=$?
                   2997:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2998:   (exit $ac_status); } &&
                   2999:          { ac_try='test -s conftest.$ac_objext'
                   3000:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3001:   (eval $ac_try) 2>&5
                   3002:   ac_status=$?
                   3003:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3004:   (exit $ac_status); }; }; then
1.1       paf      3005:   ac_cv_c_inline=$ac_kw; break
                   3006: else
1.2       paf      3007:   echo "$as_me: failed program was:" >&5
                   3008: sed 's/^/| /' conftest.$ac_ext >&5
                   3009: 
1.1       paf      3010: fi
1.2       paf      3011: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      3012: done
                   3013: 
                   3014: fi
1.2       paf      3015: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
                   3016: echo "${ECHO_T}$ac_cv_c_inline" >&6
                   3017: case $ac_cv_c_inline in
1.1       paf      3018:   inline | yes) ;;
1.2       paf      3019:   no)
                   3020: cat >>confdefs.h <<\_ACEOF
                   3021: #define inline
                   3022: _ACEOF
1.1       paf      3023:  ;;
1.2       paf      3024:   *)  cat >>confdefs.h <<_ACEOF
1.1       paf      3025: #define inline $ac_cv_c_inline
1.2       paf      3026: _ACEOF
1.1       paf      3027:  ;;
                   3028: esac
                   3029: 
                   3030: 
1.4       paf      3031: # Check whether --enable-shared or --disable-shared was given.
                   3032: if test "${enable_shared+set}" = set; then
                   3033:   enableval="$enable_shared"
                   3034:   p=${PACKAGE-default}
                   3035: case $enableval in
                   3036: yes) enable_shared=yes ;;
                   3037: no) enable_shared=no ;;
                   3038: *)
                   3039:   enable_shared=no
                   3040:   # Look at the argument we got.  We use all the common list separators.
                   3041:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3042:   for pkg in $enableval; do
                   3043:     if test "X$pkg" = "X$p"; then
                   3044:       enable_shared=yes
                   3045:     fi
                   3046:   done
                   3047:   IFS="$ac_save_ifs"
                   3048:   ;;
                   3049: esac
                   3050: else
                   3051:   enable_shared=no
                   3052: fi;
                   3053: # Check whether --enable-static or --disable-static was given.
                   3054: if test "${enable_static+set}" = set; then
                   3055:   enableval="$enable_static"
                   3056:   p=${PACKAGE-default}
                   3057: case $enableval in
                   3058: yes) enable_static=yes ;;
                   3059: no) enable_static=no ;;
                   3060: *)
                   3061:   enable_static=no
                   3062:   # Look at the argument we got.  We use all the common list separators.
                   3063:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3064:   for pkg in $enableval; do
                   3065:     if test "X$pkg" = "X$p"; then
                   3066:       enable_static=yes
                   3067:     fi
                   3068:   done
                   3069:   IFS="$ac_save_ifs"
                   3070:   ;;
                   3071: esac
1.1       paf      3072: else
1.4       paf      3073:   enable_static=yes
                   3074: fi;
                   3075: # Check whether --enable-fast-install or --disable-fast-install was given.
                   3076: if test "${enable_fast_install+set}" = set; then
                   3077:   enableval="$enable_fast_install"
                   3078:   p=${PACKAGE-default}
                   3079: case $enableval in
                   3080: yes) enable_fast_install=yes ;;
                   3081: no) enable_fast_install=no ;;
                   3082: *)
                   3083:   enable_fast_install=no
                   3084:   # Look at the argument we got.  We use all the common list separators.
                   3085:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3086:   for pkg in $enableval; do
                   3087:     if test "X$pkg" = "X$p"; then
                   3088:       enable_fast_install=yes
                   3089:     fi
                   3090:   done
                   3091:   IFS="$ac_save_ifs"
                   3092:   ;;
                   3093: esac
1.1       paf      3094: else
1.4       paf      3095:   enable_fast_install=yes
                   3096: fi;
                   3097: # Make sure we can run config.sub.
                   3098: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   3099:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   3100: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   3101:    { (exit 1); exit 1; }; }
1.2       paf      3102: 
1.4       paf      3103: echo "$as_me:$LINENO: checking build system type" >&5
                   3104: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   3105: if test "${ac_cv_build+set}" = set; then
                   3106:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      3107: else
1.4       paf      3108:   ac_cv_build_alias=$build_alias
                   3109: test -z "$ac_cv_build_alias" &&
                   3110:   ac_cv_build_alias=`$ac_config_guess`
                   3111: test -z "$ac_cv_build_alias" &&
                   3112:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   3113: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   3114:    { (exit 1); exit 1; }; }
                   3115: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   3116:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   3117: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   3118:    { (exit 1); exit 1; }; }
                   3119: 
1.1       paf      3120: fi
1.4       paf      3121: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   3122: echo "${ECHO_T}$ac_cv_build" >&6
                   3123: build=$ac_cv_build
                   3124: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3125: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3126: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1       paf      3127: 
1.4       paf      3128: 
                   3129: echo "$as_me:$LINENO: checking host system type" >&5
                   3130: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   3131: if test "${ac_cv_host+set}" = set; then
1.2       paf      3132:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3133: else
1.4       paf      3134:   ac_cv_host_alias=$host_alias
                   3135: test -z "$ac_cv_host_alias" &&
                   3136:   ac_cv_host_alias=$ac_cv_build_alias
                   3137: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   3138:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   3139: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   3140:    { (exit 1); exit 1; }; }
1.1       paf      3141: 
1.2       paf      3142: fi
1.4       paf      3143: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   3144: echo "${ECHO_T}$ac_cv_host" >&6
                   3145: host=$ac_cv_host
                   3146: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3147: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3148: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3149: 
                   3150: 
                   3151: # Find the correct PATH separator.  Usually this is `:', but
                   3152: # DJGPP uses `;' like DOS.
                   3153: if test "X${PATH_SEPARATOR+set}" != Xset; then
                   3154:   UNAME=${UNAME-`uname 2>/dev/null`}
                   3155:   case X$UNAME in
                   3156:     *-DOS) lt_cv_sys_path_separator=';' ;;
                   3157:     *)     lt_cv_sys_path_separator=':' ;;
                   3158:   esac
                   3159:   PATH_SEPARATOR=$lt_cv_sys_path_separator
1.2       paf      3160: fi
1.4       paf      3161: 
                   3162: 
                   3163: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3164: if test "${with_gnu_ld+set}" = set; then
                   3165:   withval="$with_gnu_ld"
                   3166:   test "$withval" = no || with_gnu_ld=yes
1.2       paf      3167: else
1.4       paf      3168:   with_gnu_ld=no
                   3169: fi;
                   3170: ac_prog=ld
                   3171: if test "$GCC" = yes; then
                   3172:   # Check if gcc -print-prog-name=ld gives a path.
                   3173:   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
                   3174: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
                   3175:   case $host in
                   3176:   *-*-mingw*)
                   3177:     # gcc leaves a trailing carriage return which upsets mingw
                   3178:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3179:   *)
                   3180:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3181:   esac
                   3182:   case $ac_prog in
                   3183:     # Accept absolute paths.
                   3184:     [\\/]* | [A-Za-z]:[\\/]*)
                   3185:       re_direlt='/[^/][^/]*/\.\./'
                   3186:       # Canonicalize the path of ld
                   3187:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   3188:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   3189:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   3190:       done
                   3191:       test -z "$LD" && LD="$ac_prog"
                   3192:       ;;
                   3193:   "")
                   3194:     # If it fails, then pretend we aren't using GCC.
                   3195:     ac_prog=ld
                   3196:     ;;
                   3197:   *)
                   3198:     # If it is relative, then search for the first ld in PATH.
                   3199:     with_gnu_ld=unknown
                   3200:     ;;
                   3201:   esac
                   3202: elif test "$with_gnu_ld" = yes; then
                   3203:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3204: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.2       paf      3205: else
1.4       paf      3206:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3207: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.2       paf      3208: fi
1.4       paf      3209: if test "${lt_cv_path_LD+set}" = set; then
1.2       paf      3210:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      3211: else
1.4       paf      3212:   if test -z "$LD"; then
                   3213:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3214:   for ac_dir in $PATH; do
                   3215:     test -z "$ac_dir" && ac_dir=.
                   3216:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   3217:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   3218:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   3219:       # but apparently some GNU ld's only accept -v.
                   3220:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   3221:       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
                   3222:        test "$with_gnu_ld" != no && break
                   3223:       else
                   3224:        test "$with_gnu_ld" != yes && break
                   3225:       fi
                   3226:     fi
1.1       paf      3227:   done
1.4       paf      3228:   IFS="$ac_save_ifs"
                   3229: else
                   3230:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   3231: fi
1.1       paf      3232: fi
1.2       paf      3233: 
1.4       paf      3234: LD="$lt_cv_path_LD"
                   3235: if test -n "$LD"; then
                   3236:   echo "$as_me:$LINENO: result: $LD" >&5
                   3237: echo "${ECHO_T}$LD" >&6
                   3238: else
                   3239:   echo "$as_me:$LINENO: result: no" >&5
                   3240: echo "${ECHO_T}no" >&6
1.2       paf      3241: fi
1.4       paf      3242: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3243: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3244:    { (exit 1); exit 1; }; }
                   3245: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3246: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3247: if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.2       paf      3248:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3249: else
1.4       paf      3250:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   3251: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
                   3252:   lt_cv_prog_gnu_ld=yes
                   3253: else
                   3254:   lt_cv_prog_gnu_ld=no
                   3255: fi
1.2       paf      3256: fi
1.4       paf      3257: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3258: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3259: with_gnu_ld=$lt_cv_prog_gnu_ld
1.2       paf      3260: 
                   3261: 
1.4       paf      3262: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   3263: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   3264: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   3265:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3266: else
                   3267:   lt_cv_ld_reload_flag='-r'
1.2       paf      3268: fi
1.4       paf      3269: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   3270: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   3271: reload_flag=$lt_cv_ld_reload_flag
                   3272: test -n "$reload_flag" && reload_flag=" $reload_flag"
1.2       paf      3273: 
1.4       paf      3274: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
                   3275: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
                   3276: if test "${lt_cv_path_NM+set}" = set; then
1.2       paf      3277:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3278: else
1.4       paf      3279:   if test -n "$NM"; then
                   3280:   # Let the user override the test.
                   3281:   lt_cv_path_NM="$NM"
                   3282: else
                   3283:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3284:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   3285:     test -z "$ac_dir" && ac_dir=.
                   3286:     tmp_nm=$ac_dir/${ac_tool_prefix}nm
                   3287:     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
                   3288:       # Check to see if the nm accepts a BSD-compat flag.
                   3289:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3290:       #   nm: unknown option "B" ignored
                   3291:       # Tru64's nm complains that /dev/null is an invalid object file
                   3292:       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
                   3293:        lt_cv_path_NM="$tmp_nm -B"
                   3294:        break
                   3295:       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   3296:        lt_cv_path_NM="$tmp_nm -p"
                   3297:        break
                   3298:       else
                   3299:        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   3300:        continue # so that we can try to find one that supports BSD flags
                   3301:       fi
                   3302:     fi
                   3303:   done
                   3304:   IFS="$ac_save_ifs"
                   3305:   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
                   3306: fi
                   3307: fi
                   3308: 
                   3309: NM="$lt_cv_path_NM"
                   3310: echo "$as_me:$LINENO: result: $NM" >&5
                   3311: echo "${ECHO_T}$NM" >&6
                   3312: 
                   3313: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3314: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3315: if test "${lt_cv_path_SED+set}" = set; then
                   3316:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3317: else
                   3318:   # Loop through the user's path and test for sed and gsed.
                   3319: # Then use that list of sed's as ones to test for truncation.
                   3320: as_executable_p="test -f"
                   3321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3322: for as_dir in $PATH
                   3323: do
                   3324:   IFS=$as_save_IFS
                   3325:   test -z "$as_dir" && as_dir=.
                   3326:   for ac_prog in sed gsed; do
                   3327:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3328:       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   3329:         _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
                   3330:       fi
                   3331:     done
                   3332:   done
                   3333: done
                   3334: 
                   3335:   # Create a temporary directory, and hook for its removal unless debugging.
                   3336: $debug ||
                   3337: {
                   3338:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   3339:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   3340: }
                   3341: 
                   3342: # Create a (secure) tmp directory for tmp files.
                   3343: : ${TMPDIR=/tmp}
                   3344: {
                   3345:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
                   3346:   test -n "$tmp" && test -d "$tmp"
                   3347: }  ||
                   3348: {
                   3349:   tmp=$TMPDIR/sed$$-$RANDOM
                   3350:   (umask 077 && mkdir $tmp)
                   3351: } ||
                   3352: {
                   3353:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   3354:    { (exit 1); exit 1; }
                   3355: }
                   3356:   _max=0
                   3357:   _count=0
                   3358:   # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   3359:   # along with /bin/sed that truncates output.
                   3360:   for _sed in $_sed_list /usr/xpg4/bin/sed; do
                   3361:     test ! -f ${_sed} && break
                   3362:     cat /dev/null > "$tmp/sed.in"
                   3363:     _count=0
                   3364:     echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
                   3365:     # Check for GNU sed and select it if it is found.
                   3366:     if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
                   3367:       lt_cv_path_SED=${_sed}
                   3368:       break
                   3369:     fi
                   3370:     while true; do
                   3371:       cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
                   3372:       mv "$tmp/sed.tmp" "$tmp/sed.in"
                   3373:       cp "$tmp/sed.in" "$tmp/sed.nl"
                   3374:       echo >>"$tmp/sed.nl"
                   3375:       ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
                   3376:       cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
                   3377:       # 40000 chars as input seems more than enough
                   3378:       test $_count -gt 10 && break
                   3379:       _count=`expr $_count + 1`
                   3380:       if test $_count -gt $_max; then
                   3381:         _max=$_count
                   3382:         lt_cv_path_SED=$_sed
                   3383:       fi
                   3384:     done
                   3385:   done
                   3386:   rm -rf "$tmp"
                   3387: 
                   3388: fi
                   3389: 
                   3390: if test "X$SED" != "X"; then
                   3391:   lt_cv_path_SED=$SED
                   3392: else
                   3393:   SED=$lt_cv_path_SED
                   3394: fi
                   3395: echo "$as_me:$LINENO: result: $SED" >&5
                   3396: echo "${ECHO_T}$SED" >&6
                   3397: 
                   3398: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   3399: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   3400: LN_S=$as_ln_s
                   3401: if test "$LN_S" = "ln -s"; then
                   3402:   echo "$as_me:$LINENO: result: yes" >&5
                   3403: echo "${ECHO_T}yes" >&6
                   3404: else
                   3405:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   3406: echo "${ECHO_T}no, using $LN_S" >&6
                   3407: fi
                   3408: 
                   3409: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
                   3410: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
                   3411: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   3412:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3413: else
                   3414:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   3415: lt_cv_file_magic_test_file=
                   3416: lt_cv_deplibs_check_method='unknown'
                   3417: # Need to set the preceding variable on all platforms that support
                   3418: # interlibrary dependencies.
                   3419: # 'none' -- dependencies not supported.
                   3420: # `unknown' -- same as none, but documents that we really don't know.
                   3421: # 'pass_all' -- all dependencies passed with no checks.
                   3422: # 'test_compile' -- check by making test program.
                   3423: # 'file_magic [[regex]]' -- check by looking for files in library path
                   3424: # which responds to the $file_magic_cmd with a given egrep regex.
                   3425: # If you have `file' or equivalent on your system and you're not sure
                   3426: # whether `pass_all' will *always* work, you probably want this one.
                   3427: 
                   3428: case $host_os in
                   3429: aix4* | aix5*)
                   3430:   lt_cv_deplibs_check_method=pass_all
                   3431:   ;;
                   3432: 
                   3433: beos*)
                   3434:   lt_cv_deplibs_check_method=pass_all
                   3435:   ;;
                   3436: 
                   3437: bsdi4*)
                   3438:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   3439:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3440:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3441:   ;;
                   3442: 
                   3443: cygwin* | mingw* | pw32*)
                   3444:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
                   3445:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   3446:   ;;
                   3447: 
                   3448: darwin* | rhapsody*)
                   3449:   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
                   3450:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3451:   case "$host_os" in
                   3452:   rhapsody* | darwin1.[012])
                   3453:     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
                   3454:     ;;
                   3455:   *) # Darwin 1.3 on
                   3456:     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
                   3457:     ;;
                   3458:   esac
                   3459:   ;;
                   3460: 
                   3461: freebsd*)
                   3462:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3463:     case $host_cpu in
                   3464:     i*86 )
                   3465:       # Not sure whether the presence of OpenBSD here was a mistake.
                   3466:       # Let's accept both of them until this is cleared up.
                   3467:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
                   3468:       lt_cv_file_magic_cmd=/usr/bin/file
                   3469:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   3470:       ;;
                   3471:     esac
                   3472:   else
                   3473:     lt_cv_deplibs_check_method=pass_all
                   3474:   fi
                   3475:   ;;
                   3476: 
                   3477: gnu*)
                   3478:   lt_cv_deplibs_check_method=pass_all
                   3479:   ;;
                   3480: 
                   3481: hpux10.20*|hpux11*)
                   3482:   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
                   3483:   lt_cv_file_magic_cmd=/usr/bin/file
                   3484:   lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   3485:   ;;
                   3486: 
                   3487: irix5* | irix6* | nonstopux*)
                   3488:   case $host_os in
                   3489:   irix5* | nonstopux*)
                   3490:     # this will be overridden with pass_all, but let us keep it just in case
                   3491:     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
                   3492:     ;;
                   3493:   *)
                   3494:     case $LD in
                   3495:     *-32|*"-32 ") libmagic=32-bit;;
                   3496:     *-n32|*"-n32 ") libmagic=N32;;
                   3497:     *-64|*"-64 ") libmagic=64-bit;;
                   3498:     *) libmagic=never-match;;
                   3499:     esac
                   3500:     # this will be overridden with pass_all, but let us keep it just in case
                   3501:     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
                   3502:     ;;
                   3503:   esac
                   3504:   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
                   3505:   lt_cv_deplibs_check_method=pass_all
                   3506:   ;;
                   3507: 
                   3508: # This must be Linux ELF.
                   3509: linux-gnu*)
                   3510:   case $host_cpu in
                   3511:   alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
                   3512:     lt_cv_deplibs_check_method=pass_all ;;
                   3513:   *)
                   3514:     # glibc up to 2.1.1 does not perform some relocations on ARM
                   3515:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
                   3516:   esac
                   3517:   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
                   3518:   ;;
                   3519: 
                   3520: netbsd*)
                   3521:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3522:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
                   3523:   else
                   3524:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
                   3525:   fi
                   3526:   ;;
                   3527: 
                   3528: newos6*)
                   3529:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   3530:   lt_cv_file_magic_cmd=/usr/bin/file
                   3531:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   3532:   ;;
                   3533: 
                   3534: openbsd*)
                   3535:   lt_cv_file_magic_cmd=/usr/bin/file
                   3536:   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   3537:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   3538:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
                   3539:   else
                   3540:     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
                   3541:   fi
                   3542:   ;;
                   3543: 
                   3544: osf3* | osf4* | osf5*)
                   3545:   # this will be overridden with pass_all, but let us keep it just in case
                   3546:   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
                   3547:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3548:   lt_cv_deplibs_check_method=pass_all
                   3549:   ;;
                   3550: 
                   3551: sco3.2v5*)
                   3552:   lt_cv_deplibs_check_method=pass_all
                   3553:   ;;
                   3554: 
                   3555: solaris*)
                   3556:   lt_cv_deplibs_check_method=pass_all
                   3557:   lt_cv_file_magic_test_file=/lib/libc.so
                   3558:   ;;
                   3559: 
                   3560: sysv5uw[78]* | sysv4*uw2*)
                   3561:   lt_cv_deplibs_check_method=pass_all
                   3562:   ;;
                   3563: 
                   3564: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   3565:   case $host_vendor in
                   3566:   motorola)
                   3567:     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]'
                   3568:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   3569:     ;;
                   3570:   ncr)
                   3571:     lt_cv_deplibs_check_method=pass_all
                   3572:     ;;
                   3573:   sequent)
                   3574:     lt_cv_file_magic_cmd='/bin/file'
                   3575:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   3576:     ;;
                   3577:   sni)
                   3578:     lt_cv_file_magic_cmd='/bin/file'
                   3579:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   3580:     lt_cv_file_magic_test_file=/lib/libc.so
                   3581:     ;;
                   3582:   siemens)
                   3583:     lt_cv_deplibs_check_method=pass_all
                   3584:     ;;
                   3585:   esac
                   3586:   ;;
                   3587: esac
                   3588: 
                   3589: fi
                   3590: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   3591: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   3592: file_magic_cmd=$lt_cv_file_magic_cmd
                   3593: deplibs_check_method=$lt_cv_deplibs_check_method
                   3594: 
                   3595: 
                   3596: 
                   3597: 
                   3598: 
                   3599: 
                   3600: 
                   3601: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   3602: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
                   3603: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
                   3604: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   3605:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3606: else
                   3607: 
                   3608: # These are sane defaults that work on at least a few old systems.
                   3609: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   3610: 
                   3611: # Character class describing NM global symbol codes.
                   3612: symcode='[BCDEGRST]'
                   3613: 
                   3614: # Regexp to match symbols that can be accessed directly from C.
                   3615: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   3616: 
                   3617: # Transform the above into a raw symbol and a C symbol.
                   3618: symxfrm='\1 \2\3 \3'
                   3619: 
                   3620: # Transform an extracted symbol line into a proper C declaration
                   3621: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
                   3622: 
                   3623: # Transform an extracted symbol line into symbol name and symbol address
                   3624: 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'"
                   3625: 
                   3626: # Define system-specific variables.
                   3627: case $host_os in
                   3628: aix*)
                   3629:   symcode='[BCDT]'
                   3630:   ;;
                   3631: cygwin* | mingw* | pw32*)
                   3632:   symcode='[ABCDGISTW]'
                   3633:   ;;
                   3634: hpux*) # Its linker distinguishes data from code symbols
                   3635:   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   3636:   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'"
                   3637:   ;;
                   3638: irix* | nonstopux*)
                   3639:   symcode='[BCDEGRST]'
                   3640:   ;;
                   3641: osf*)
                   3642:   symcode='[BCDEGQRST]'
                   3643:   ;;
                   3644: solaris* | sysv5*)
                   3645:   symcode='[BDT]'
                   3646:   ;;
                   3647: sysv4)
                   3648:   symcode='[DFNSTU]'
                   3649:   ;;
                   3650: esac
                   3651: 
                   3652: # Handle CRLF in mingw tool chain
                   3653: opt_cr=
                   3654: case $host_os in
                   3655: mingw*)
                   3656:   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   3657:   ;;
                   3658: esac
                   3659: 
                   3660: # If we're using GNU nm, then use its standard symbol codes.
                   3661: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
                   3662:   symcode='[ABCDGISTW]'
                   3663: fi
                   3664: 
                   3665: # Try without a prefix undercore, then with it.
                   3666: for ac_symprfx in "" "_"; do
                   3667: 
                   3668:   # Write the raw and C identifiers.
                   3669: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[        ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
                   3670: 
                   3671:   # Check to see that the pipe works correctly.
                   3672:   pipe_works=no
                   3673:   rm -f conftest*
                   3674:   cat > conftest.$ac_ext <<EOF
                   3675: #ifdef __cplusplus
                   3676: extern "C" {
                   3677: #endif
                   3678: char nm_test_var;
                   3679: void nm_test_func(){}
                   3680: #ifdef __cplusplus
                   3681: }
                   3682: #endif
                   3683: int main(){nm_test_var='a';nm_test_func();return(0);}
                   3684: EOF
                   3685: 
                   3686:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3687:   (eval $ac_compile) 2>&5
                   3688:   ac_status=$?
                   3689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3690:   (exit $ac_status); }; then
                   3691:     # Now try to grab the symbols.
                   3692:     nlist=conftest.nm
                   3693:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
                   3694:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
                   3695:   ac_status=$?
                   3696:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3697:   (exit $ac_status); } && test -s "$nlist"; then
                   3698:       # Try sorting and uniquifying the output.
                   3699:       if sort "$nlist" | uniq > "$nlist"T; then
                   3700:        mv -f "$nlist"T "$nlist"
                   3701:       else
                   3702:        rm -f "$nlist"T
                   3703:       fi
                   3704: 
                   3705:       # Make sure that we snagged all the symbols we need.
                   3706:       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
                   3707:        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
                   3708:          cat <<EOF > conftest.$ac_ext
                   3709: #ifdef __cplusplus
                   3710: extern "C" {
                   3711: #endif
                   3712: 
                   3713: EOF
                   3714:          # Now generate the symbol file.
                   3715:          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
                   3716: 
                   3717:          cat <<EOF >> conftest.$ac_ext
                   3718: #if defined (__STDC__) && __STDC__
                   3719: # define lt_ptr void *
                   3720: #else
                   3721: # define lt_ptr char *
                   3722: # define const
                   3723: #endif
                   3724: 
                   3725: /* The mapping between symbol names and symbols. */
                   3726: const struct {
                   3727:   const char *name;
                   3728:   lt_ptr address;
                   3729: }
                   3730: lt_preloaded_symbols[] =
                   3731: {
                   3732: EOF
                   3733:          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
                   3734:          cat <<\EOF >> conftest.$ac_ext
                   3735:   {0, (lt_ptr) 0}
                   3736: };
                   3737: 
                   3738: #ifdef __cplusplus
                   3739: }
                   3740: #endif
                   3741: EOF
                   3742:          # Now try linking the two files.
                   3743:          mv conftest.$ac_objext conftstm.$ac_objext
                   3744:          save_LIBS="$LIBS"
                   3745:          save_CFLAGS="$CFLAGS"
                   3746:          LIBS="conftstm.$ac_objext"
                   3747:          CFLAGS="$CFLAGS$no_builtin_flag"
                   3748:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3749:   (eval $ac_link) 2>&5
                   3750:   ac_status=$?
                   3751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3752:   (exit $ac_status); } && test -s conftest$ac_exeext; then
                   3753:            pipe_works=yes
                   3754:          fi
                   3755:          LIBS="$save_LIBS"
                   3756:          CFLAGS="$save_CFLAGS"
                   3757:        else
                   3758:          echo "cannot find nm_test_func in $nlist" >&5
                   3759:        fi
                   3760:       else
                   3761:        echo "cannot find nm_test_var in $nlist" >&5
                   3762:       fi
                   3763:     else
                   3764:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   3765:     fi
                   3766:   else
                   3767:     echo "$progname: failed program was:" >&5
                   3768:     cat conftest.$ac_ext >&5
                   3769:   fi
                   3770:   rm -f conftest* conftst*
                   3771: 
                   3772:   # Do not use the global_symbol_pipe unless it works.
                   3773:   if test "$pipe_works" = yes; then
                   3774:     break
                   3775:   else
                   3776:     lt_cv_sys_global_symbol_pipe=
                   3777:   fi
                   3778: done
                   3779: 
                   3780: fi
                   3781: 
                   3782: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
                   3783: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   3784:   global_symbol_to_cdecl=
                   3785:   global_symbol_to_c_name_address=
                   3786: else
                   3787:   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
                   3788:   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
                   3789: fi
                   3790: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
                   3791: then
                   3792:   echo "$as_me:$LINENO: result: failed" >&5
                   3793: echo "${ECHO_T}failed" >&6
                   3794: else
                   3795:   echo "$as_me:$LINENO: result: ok" >&5
                   3796: echo "${ECHO_T}ok" >&6
                   3797: fi
                   3798: 
                   3799: ac_ext=c
                   3800: ac_cpp='$CPP $CPPFLAGS'
                   3801: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3802: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3803: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3804: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   3805: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   3806: # On Suns, sometimes $CPP names a directory.
                   3807: if test -n "$CPP" && test -d "$CPP"; then
                   3808:   CPP=
                   3809: fi
                   3810: if test -z "$CPP"; then
                   3811:   if test "${ac_cv_prog_CPP+set}" = set; then
                   3812:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3813: else
                   3814:       # Double quotes because CPP needs to be expanded
                   3815:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3816:     do
                   3817:       ac_preproc_ok=false
                   3818: for ac_c_preproc_warn_flag in '' yes
                   3819: do
                   3820:   # Use a header file that comes with gcc, so configuring glibc
                   3821:   # with a fresh cross-compiler works.
                   3822:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3823:   # <limits.h> exists even on freestanding compilers.
                   3824:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3825:   # not just through cpp. "Syntax error" is here to catch this case.
                   3826:   cat >conftest.$ac_ext <<_ACEOF
                   3827: #line $LINENO "configure"
                   3828: /* confdefs.h.  */
                   3829: _ACEOF
                   3830: cat confdefs.h >>conftest.$ac_ext
                   3831: cat >>conftest.$ac_ext <<_ACEOF
                   3832: /* end confdefs.h.  */
                   3833: #ifdef __STDC__
                   3834: # include <limits.h>
                   3835: #else
                   3836: # include <assert.h>
                   3837: #endif
                   3838:                      Syntax error
                   3839: _ACEOF
                   3840: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3841:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3842:   ac_status=$?
                   3843:   grep -v '^ *+' conftest.er1 >conftest.err
                   3844:   rm -f conftest.er1
                   3845:   cat conftest.err >&5
                   3846:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3847:   (exit $ac_status); } >/dev/null; then
                   3848:   if test -s conftest.err; then
                   3849:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3850:   else
                   3851:     ac_cpp_err=
                   3852:   fi
                   3853: else
                   3854:   ac_cpp_err=yes
                   3855: fi
                   3856: if test -z "$ac_cpp_err"; then
                   3857:   :
                   3858: else
                   3859:   echo "$as_me: failed program was:" >&5
                   3860: sed 's/^/| /' conftest.$ac_ext >&5
                   3861: 
                   3862:   # Broken: fails on valid input.
                   3863: continue
                   3864: fi
                   3865: rm -f conftest.err conftest.$ac_ext
                   3866: 
                   3867:   # OK, works on sane cases.  Now check whether non-existent headers
                   3868:   # can be detected and how.
                   3869:   cat >conftest.$ac_ext <<_ACEOF
                   3870: #line $LINENO "configure"
                   3871: /* confdefs.h.  */
                   3872: _ACEOF
                   3873: cat confdefs.h >>conftest.$ac_ext
                   3874: cat >>conftest.$ac_ext <<_ACEOF
                   3875: /* end confdefs.h.  */
                   3876: #include <ac_nonexistent.h>
                   3877: _ACEOF
                   3878: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3879:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3880:   ac_status=$?
                   3881:   grep -v '^ *+' conftest.er1 >conftest.err
                   3882:   rm -f conftest.er1
                   3883:   cat conftest.err >&5
                   3884:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3885:   (exit $ac_status); } >/dev/null; then
                   3886:   if test -s conftest.err; then
                   3887:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3888:   else
                   3889:     ac_cpp_err=
                   3890:   fi
                   3891: else
                   3892:   ac_cpp_err=yes
                   3893: fi
                   3894: if test -z "$ac_cpp_err"; then
                   3895:   # Broken: success on invalid input.
                   3896: continue
                   3897: else
                   3898:   echo "$as_me: failed program was:" >&5
                   3899: sed 's/^/| /' conftest.$ac_ext >&5
                   3900: 
                   3901:   # Passes both tests.
                   3902: ac_preproc_ok=:
                   3903: break
                   3904: fi
                   3905: rm -f conftest.err conftest.$ac_ext
                   3906: 
                   3907: done
                   3908: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   3909: rm -f conftest.err conftest.$ac_ext
                   3910: if $ac_preproc_ok; then
                   3911:   break
                   3912: fi
                   3913: 
                   3914:     done
                   3915:     ac_cv_prog_CPP=$CPP
                   3916: 
                   3917: fi
                   3918:   CPP=$ac_cv_prog_CPP
                   3919: else
                   3920:   ac_cv_prog_CPP=$CPP
                   3921: fi
                   3922: echo "$as_me:$LINENO: result: $CPP" >&5
                   3923: echo "${ECHO_T}$CPP" >&6
                   3924: ac_preproc_ok=false
                   3925: for ac_c_preproc_warn_flag in '' yes
                   3926: do
                   3927:   # Use a header file that comes with gcc, so configuring glibc
                   3928:   # with a fresh cross-compiler works.
                   3929:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3930:   # <limits.h> exists even on freestanding compilers.
                   3931:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3932:   # not just through cpp. "Syntax error" is here to catch this case.
                   3933:   cat >conftest.$ac_ext <<_ACEOF
                   3934: #line $LINENO "configure"
                   3935: /* confdefs.h.  */
                   3936: _ACEOF
                   3937: cat confdefs.h >>conftest.$ac_ext
                   3938: cat >>conftest.$ac_ext <<_ACEOF
                   3939: /* end confdefs.h.  */
                   3940: #ifdef __STDC__
                   3941: # include <limits.h>
                   3942: #else
                   3943: # include <assert.h>
                   3944: #endif
                   3945:                      Syntax error
                   3946: _ACEOF
                   3947: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3948:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3949:   ac_status=$?
                   3950:   grep -v '^ *+' conftest.er1 >conftest.err
                   3951:   rm -f conftest.er1
                   3952:   cat conftest.err >&5
                   3953:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3954:   (exit $ac_status); } >/dev/null; then
                   3955:   if test -s conftest.err; then
                   3956:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3957:   else
                   3958:     ac_cpp_err=
                   3959:   fi
                   3960: else
                   3961:   ac_cpp_err=yes
                   3962: fi
                   3963: if test -z "$ac_cpp_err"; then
                   3964:   :
                   3965: else
                   3966:   echo "$as_me: failed program was:" >&5
                   3967: sed 's/^/| /' conftest.$ac_ext >&5
                   3968: 
                   3969:   # Broken: fails on valid input.
                   3970: continue
                   3971: fi
                   3972: rm -f conftest.err conftest.$ac_ext
                   3973: 
                   3974:   # OK, works on sane cases.  Now check whether non-existent headers
                   3975:   # can be detected and how.
                   3976:   cat >conftest.$ac_ext <<_ACEOF
                   3977: #line $LINENO "configure"
                   3978: /* confdefs.h.  */
                   3979: _ACEOF
                   3980: cat confdefs.h >>conftest.$ac_ext
                   3981: cat >>conftest.$ac_ext <<_ACEOF
                   3982: /* end confdefs.h.  */
                   3983: #include <ac_nonexistent.h>
                   3984: _ACEOF
                   3985: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3986:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3987:   ac_status=$?
                   3988:   grep -v '^ *+' conftest.er1 >conftest.err
                   3989:   rm -f conftest.er1
                   3990:   cat conftest.err >&5
                   3991:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3992:   (exit $ac_status); } >/dev/null; then
                   3993:   if test -s conftest.err; then
                   3994:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3995:   else
                   3996:     ac_cpp_err=
                   3997:   fi
                   3998: else
                   3999:   ac_cpp_err=yes
                   4000: fi
                   4001: if test -z "$ac_cpp_err"; then
                   4002:   # Broken: success on invalid input.
                   4003: continue
                   4004: else
                   4005:   echo "$as_me: failed program was:" >&5
                   4006: sed 's/^/| /' conftest.$ac_ext >&5
                   4007: 
                   4008:   # Passes both tests.
                   4009: ac_preproc_ok=:
                   4010: break
                   4011: fi
                   4012: rm -f conftest.err conftest.$ac_ext
                   4013: 
                   4014: done
                   4015: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4016: rm -f conftest.err conftest.$ac_ext
                   4017: if $ac_preproc_ok; then
                   4018:   :
                   4019: else
                   4020:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   4021: See \`config.log' for more details." >&5
                   4022: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   4023: See \`config.log' for more details." >&2;}
                   4024:    { (exit 1); exit 1; }; }
                   4025: fi
                   4026: 
                   4027: ac_ext=c
                   4028: ac_cpp='$CPP $CPPFLAGS'
                   4029: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4030: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4031: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4032: 
                   4033: 
                   4034: echo "$as_me:$LINENO: checking for egrep" >&5
                   4035: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4036: if test "${ac_cv_prog_egrep+set}" = set; then
                   4037:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4038: else
                   4039:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4040:     then ac_cv_prog_egrep='grep -E'
                   4041:     else ac_cv_prog_egrep='egrep'
                   4042:     fi
                   4043: fi
                   4044: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4045: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4046:  EGREP=$ac_cv_prog_egrep
                   4047: 
                   4048: 
                   4049: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4050: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4051: if test "${ac_cv_header_stdc+set}" = set; then
                   4052:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4053: else
                   4054:   cat >conftest.$ac_ext <<_ACEOF
                   4055: #line $LINENO "configure"
                   4056: /* confdefs.h.  */
                   4057: _ACEOF
                   4058: cat confdefs.h >>conftest.$ac_ext
                   4059: cat >>conftest.$ac_ext <<_ACEOF
                   4060: /* end confdefs.h.  */
                   4061: #include <stdlib.h>
                   4062: #include <stdarg.h>
                   4063: #include <string.h>
                   4064: #include <float.h>
                   4065: 
                   4066: int
                   4067: main ()
                   4068: {
                   4069: 
                   4070:   ;
                   4071:   return 0;
                   4072: }
                   4073: _ACEOF
                   4074: rm -f conftest.$ac_objext
                   4075: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4076:   (eval $ac_compile) 2>&5
                   4077:   ac_status=$?
                   4078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4079:   (exit $ac_status); } &&
                   4080:          { ac_try='test -s conftest.$ac_objext'
                   4081:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4082:   (eval $ac_try) 2>&5
                   4083:   ac_status=$?
                   4084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4085:   (exit $ac_status); }; }; then
                   4086:   ac_cv_header_stdc=yes
                   4087: else
                   4088:   echo "$as_me: failed program was:" >&5
                   4089: sed 's/^/| /' conftest.$ac_ext >&5
                   4090: 
                   4091: ac_cv_header_stdc=no
                   4092: fi
                   4093: rm -f conftest.$ac_objext conftest.$ac_ext
                   4094: 
                   4095: if test $ac_cv_header_stdc = yes; then
                   4096:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4097:   cat >conftest.$ac_ext <<_ACEOF
                   4098: #line $LINENO "configure"
                   4099: /* confdefs.h.  */
                   4100: _ACEOF
                   4101: cat confdefs.h >>conftest.$ac_ext
                   4102: cat >>conftest.$ac_ext <<_ACEOF
                   4103: /* end confdefs.h.  */
                   4104: #include <string.h>
                   4105: 
                   4106: _ACEOF
                   4107: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4108:   $EGREP "memchr" >/dev/null 2>&1; then
                   4109:   :
                   4110: else
                   4111:   ac_cv_header_stdc=no
                   4112: fi
                   4113: rm -f conftest*
                   4114: 
                   4115: fi
                   4116: 
                   4117: if test $ac_cv_header_stdc = yes; then
                   4118:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4119:   cat >conftest.$ac_ext <<_ACEOF
                   4120: #line $LINENO "configure"
                   4121: /* confdefs.h.  */
                   4122: _ACEOF
                   4123: cat confdefs.h >>conftest.$ac_ext
                   4124: cat >>conftest.$ac_ext <<_ACEOF
                   4125: /* end confdefs.h.  */
                   4126: #include <stdlib.h>
                   4127: 
                   4128: _ACEOF
                   4129: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4130:   $EGREP "free" >/dev/null 2>&1; then
                   4131:   :
                   4132: else
                   4133:   ac_cv_header_stdc=no
                   4134: fi
                   4135: rm -f conftest*
                   4136: 
                   4137: fi
                   4138: 
                   4139: if test $ac_cv_header_stdc = yes; then
                   4140:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4141:   if test "$cross_compiling" = yes; then
                   4142:   :
                   4143: else
                   4144:   cat >conftest.$ac_ext <<_ACEOF
                   4145: #line $LINENO "configure"
                   4146: /* confdefs.h.  */
                   4147: _ACEOF
                   4148: cat confdefs.h >>conftest.$ac_ext
                   4149: cat >>conftest.$ac_ext <<_ACEOF
                   4150: /* end confdefs.h.  */
                   4151: #include <ctype.h>
                   4152: #if ((' ' & 0x0FF) == 0x020)
                   4153: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4154: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4155: #else
                   4156: # define ISLOWER(c) \
                   4157:                    (('a' <= (c) && (c) <= 'i') \
                   4158:                      || ('j' <= (c) && (c) <= 'r') \
                   4159:                      || ('s' <= (c) && (c) <= 'z'))
                   4160: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4161: #endif
                   4162: 
                   4163: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4164: int
                   4165: main ()
                   4166: {
                   4167:   int i;
                   4168:   for (i = 0; i < 256; i++)
                   4169:     if (XOR (islower (i), ISLOWER (i))
                   4170:         || toupper (i) != TOUPPER (i))
                   4171:       exit(2);
                   4172:   exit (0);
                   4173: }
                   4174: _ACEOF
                   4175: rm -f conftest$ac_exeext
                   4176: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4177:   (eval $ac_link) 2>&5
                   4178:   ac_status=$?
                   4179:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4180:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4181:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4182:   (eval $ac_try) 2>&5
                   4183:   ac_status=$?
                   4184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4185:   (exit $ac_status); }; }; then
                   4186:   :
                   4187: else
                   4188:   echo "$as_me: program exited with status $ac_status" >&5
                   4189: echo "$as_me: failed program was:" >&5
                   4190: sed 's/^/| /' conftest.$ac_ext >&5
                   4191: 
                   4192: ( exit $ac_status )
                   4193: ac_cv_header_stdc=no
                   4194: fi
                   4195: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   4196: fi
                   4197: fi
                   4198: fi
                   4199: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4200: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4201: if test $ac_cv_header_stdc = yes; then
                   4202: 
                   4203: cat >>confdefs.h <<\_ACEOF
                   4204: #define STDC_HEADERS 1
                   4205: _ACEOF
                   4206: 
                   4207: fi
                   4208: 
                   4209: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4210: 
                   4211: 
                   4212: 
                   4213: 
                   4214: 
                   4215: 
                   4216: 
                   4217: 
                   4218: 
                   4219: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4220:                   inttypes.h stdint.h unistd.h
                   4221: do
                   4222: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4223: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4224: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4225: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4226:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4227: else
                   4228:   cat >conftest.$ac_ext <<_ACEOF
                   4229: #line $LINENO "configure"
                   4230: /* confdefs.h.  */
                   4231: _ACEOF
                   4232: cat confdefs.h >>conftest.$ac_ext
                   4233: cat >>conftest.$ac_ext <<_ACEOF
                   4234: /* end confdefs.h.  */
                   4235: $ac_includes_default
                   4236: 
                   4237: #include <$ac_header>
                   4238: _ACEOF
                   4239: rm -f conftest.$ac_objext
                   4240: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4241:   (eval $ac_compile) 2>&5
                   4242:   ac_status=$?
                   4243:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4244:   (exit $ac_status); } &&
                   4245:          { ac_try='test -s conftest.$ac_objext'
                   4246:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4247:   (eval $ac_try) 2>&5
                   4248:   ac_status=$?
                   4249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4250:   (exit $ac_status); }; }; then
                   4251:   eval "$as_ac_Header=yes"
                   4252: else
                   4253:   echo "$as_me: failed program was:" >&5
                   4254: sed 's/^/| /' conftest.$ac_ext >&5
                   4255: 
                   4256: eval "$as_ac_Header=no"
                   4257: fi
                   4258: rm -f conftest.$ac_objext conftest.$ac_ext
                   4259: fi
                   4260: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4261: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4262: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4263:   cat >>confdefs.h <<_ACEOF
                   4264: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4265: _ACEOF
                   4266: 
                   4267: fi
                   4268: 
                   4269: done
                   4270: 
                   4271: 
                   4272: 
                   4273: for ac_header in dlfcn.h
                   4274: do
                   4275: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4276: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4277:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4278: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4279: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4280:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4281: fi
                   4282: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4283: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4284: else
                   4285:   # Is the header compilable?
                   4286: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   4287: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   4288: cat >conftest.$ac_ext <<_ACEOF
                   4289: #line $LINENO "configure"
                   4290: /* confdefs.h.  */
                   4291: _ACEOF
                   4292: cat confdefs.h >>conftest.$ac_ext
                   4293: cat >>conftest.$ac_ext <<_ACEOF
                   4294: /* end confdefs.h.  */
                   4295: $ac_includes_default
                   4296: #include <$ac_header>
                   4297: _ACEOF
                   4298: rm -f conftest.$ac_objext
                   4299: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4300:   (eval $ac_compile) 2>&5
                   4301:   ac_status=$?
                   4302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4303:   (exit $ac_status); } &&
                   4304:          { ac_try='test -s conftest.$ac_objext'
                   4305:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4306:   (eval $ac_try) 2>&5
                   4307:   ac_status=$?
                   4308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4309:   (exit $ac_status); }; }; then
                   4310:   ac_header_compiler=yes
                   4311: else
                   4312:   echo "$as_me: failed program was:" >&5
                   4313: sed 's/^/| /' conftest.$ac_ext >&5
                   4314: 
                   4315: ac_header_compiler=no
                   4316: fi
                   4317: rm -f conftest.$ac_objext conftest.$ac_ext
                   4318: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   4319: echo "${ECHO_T}$ac_header_compiler" >&6
                   4320: 
                   4321: # Is the header present?
                   4322: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   4323: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   4324: cat >conftest.$ac_ext <<_ACEOF
                   4325: #line $LINENO "configure"
                   4326: /* confdefs.h.  */
                   4327: _ACEOF
                   4328: cat confdefs.h >>conftest.$ac_ext
                   4329: cat >>conftest.$ac_ext <<_ACEOF
                   4330: /* end confdefs.h.  */
                   4331: #include <$ac_header>
                   4332: _ACEOF
                   4333: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4334:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4335:   ac_status=$?
                   4336:   grep -v '^ *+' conftest.er1 >conftest.err
                   4337:   rm -f conftest.er1
                   4338:   cat conftest.err >&5
                   4339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4340:   (exit $ac_status); } >/dev/null; then
                   4341:   if test -s conftest.err; then
                   4342:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4343:   else
                   4344:     ac_cpp_err=
                   4345:   fi
                   4346: else
                   4347:   ac_cpp_err=yes
                   4348: fi
                   4349: if test -z "$ac_cpp_err"; then
                   4350:   ac_header_preproc=yes
                   4351: else
                   4352:   echo "$as_me: failed program was:" >&5
                   4353: sed 's/^/| /' conftest.$ac_ext >&5
                   4354: 
                   4355:   ac_header_preproc=no
                   4356: fi
                   4357: rm -f conftest.err conftest.$ac_ext
                   4358: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   4359: echo "${ECHO_T}$ac_header_preproc" >&6
                   4360: 
                   4361: # So?  What about this header?
                   4362: case $ac_header_compiler:$ac_header_preproc in
                   4363:   yes:no )
                   4364:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   4365: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   4366:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4367: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   4368:     (
                   4369:       cat <<\_ASBOX
                   4370: ## ------------------------------------ ##
                   4371: ## Report this to bug-autoconf@gnu.org. ##
                   4372: ## ------------------------------------ ##
                   4373: _ASBOX
                   4374:     ) |
                   4375:       sed "s/^/$as_me: WARNING:     /" >&2
                   4376:     ;;
                   4377:   no:yes )
                   4378:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   4379: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   4380:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   4381: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   4382:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4383: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   4384:     (
                   4385:       cat <<\_ASBOX
                   4386: ## ------------------------------------ ##
                   4387: ## Report this to bug-autoconf@gnu.org. ##
                   4388: ## ------------------------------------ ##
                   4389: _ASBOX
                   4390:     ) |
                   4391:       sed "s/^/$as_me: WARNING:     /" >&2
                   4392:     ;;
                   4393: esac
                   4394: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4395: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4396: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4397:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4398: else
                   4399:   eval "$as_ac_Header=$ac_header_preproc"
                   4400: fi
                   4401: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4402: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4403: 
                   4404: fi
                   4405: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4406:   cat >>confdefs.h <<_ACEOF
                   4407: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4408: _ACEOF
                   4409: 
                   4410: fi
                   4411: 
                   4412: done
                   4413: 
                   4414: 
                   4415: 
                   4416: 
                   4417: 
                   4418: 
                   4419: # Only perform the check for file, if the check method requires it
                   4420: case $deplibs_check_method in
                   4421: file_magic*)
                   4422:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   4423:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   4424: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   4425: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4426:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4427: else
                   4428:   case $MAGIC_CMD in
                   4429:   /*)
                   4430:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4431:   ;;
                   4432:   ?:/*)
                   4433:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4434:   ;;
                   4435:   *)
                   4436:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4437:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4438:   ac_dummy="/usr/bin:$PATH"
                   4439:   for ac_dir in $ac_dummy; do
                   4440:     test -z "$ac_dir" && ac_dir=.
                   4441:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   4442:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   4443:       if test -n "$file_magic_test_file"; then
                   4444:        case $deplibs_check_method in
                   4445:        "file_magic "*)
                   4446:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4447:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4448:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4449:            egrep "$file_magic_regex" > /dev/null; then
                   4450:            :
                   4451:          else
                   4452:            cat <<EOF 1>&2
                   4453: 
                   4454: *** Warning: the command libtool uses to detect shared libraries,
                   4455: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4456: *** The result is that libtool may fail to recognize shared libraries
                   4457: *** as such.  This will affect the creation of libtool libraries that
                   4458: *** depend on shared libraries, but programs linked with such libtool
                   4459: *** libraries will work regardless of this problem.  Nevertheless, you
                   4460: *** may want to report the problem to your system manager and/or to
                   4461: *** bug-libtool@gnu.org
                   4462: 
                   4463: EOF
                   4464:          fi ;;
                   4465:        esac
                   4466:       fi
                   4467:       break
                   4468:     fi
                   4469:   done
                   4470:   IFS="$ac_save_ifs"
                   4471:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4472:   ;;
                   4473: esac
                   4474: fi
                   4475: 
                   4476: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4477: if test -n "$MAGIC_CMD"; then
                   4478:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   4479: echo "${ECHO_T}$MAGIC_CMD" >&6
                   4480: else
                   4481:   echo "$as_me:$LINENO: result: no" >&5
                   4482: echo "${ECHO_T}no" >&6
                   4483: fi
                   4484: 
                   4485: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   4486:   if test -n "$ac_tool_prefix"; then
                   4487:     echo "$as_me:$LINENO: checking for file" >&5
                   4488: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   4489: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4490:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4491: else
                   4492:   case $MAGIC_CMD in
                   4493:   /*)
                   4494:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4495:   ;;
                   4496:   ?:/*)
                   4497:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4498:   ;;
                   4499:   *)
                   4500:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4501:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4502:   ac_dummy="/usr/bin:$PATH"
                   4503:   for ac_dir in $ac_dummy; do
                   4504:     test -z "$ac_dir" && ac_dir=.
                   4505:     if test -f $ac_dir/file; then
                   4506:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   4507:       if test -n "$file_magic_test_file"; then
                   4508:        case $deplibs_check_method in
                   4509:        "file_magic "*)
                   4510:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4511:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4512:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4513:            egrep "$file_magic_regex" > /dev/null; then
                   4514:            :
                   4515:          else
                   4516:            cat <<EOF 1>&2
                   4517: 
                   4518: *** Warning: the command libtool uses to detect shared libraries,
                   4519: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4520: *** The result is that libtool may fail to recognize shared libraries
                   4521: *** as such.  This will affect the creation of libtool libraries that
                   4522: *** depend on shared libraries, but programs linked with such libtool
                   4523: *** libraries will work regardless of this problem.  Nevertheless, you
                   4524: *** may want to report the problem to your system manager and/or to
                   4525: *** bug-libtool@gnu.org
                   4526: 
                   4527: EOF
                   4528:          fi ;;
                   4529:        esac
                   4530:       fi
                   4531:       break
                   4532:     fi
                   4533:   done
                   4534:   IFS="$ac_save_ifs"
                   4535:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4536:   ;;
                   4537: esac
                   4538: fi
                   4539: 
                   4540: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4541: if test -n "$MAGIC_CMD"; then
                   4542:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   4543: echo "${ECHO_T}$MAGIC_CMD" >&6
                   4544: else
                   4545:   echo "$as_me:$LINENO: result: no" >&5
                   4546: echo "${ECHO_T}no" >&6
                   4547: fi
                   4548: 
                   4549:   else
                   4550:     MAGIC_CMD=:
                   4551:   fi
                   4552: fi
                   4553: 
                   4554:   fi
                   4555:   ;;
                   4556: esac
                   4557: 
                   4558: if test -n "$ac_tool_prefix"; then
                   4559:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   4560: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   4561: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4562: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4563: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   4564:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4565: else
                   4566:   if test -n "$RANLIB"; then
                   4567:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   4568: else
                   4569: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4570: for as_dir in $PATH
                   4571: do
                   4572:   IFS=$as_save_IFS
                   4573:   test -z "$as_dir" && as_dir=.
                   4574:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4575:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4576:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   4577:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4578:     break 2
                   4579:   fi
                   4580: done
                   4581: done
                   4582: 
                   4583: fi
                   4584: fi
                   4585: RANLIB=$ac_cv_prog_RANLIB
                   4586: if test -n "$RANLIB"; then
                   4587:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   4588: echo "${ECHO_T}$RANLIB" >&6
                   4589: else
                   4590:   echo "$as_me:$LINENO: result: no" >&5
                   4591: echo "${ECHO_T}no" >&6
                   4592: fi
                   4593: 
                   4594: fi
                   4595: if test -z "$ac_cv_prog_RANLIB"; then
                   4596:   ac_ct_RANLIB=$RANLIB
                   4597:   # Extract the first word of "ranlib", so it can be a program name with args.
                   4598: set dummy ranlib; ac_word=$2
                   4599: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4600: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4601: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   4602:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4603: else
                   4604:   if test -n "$ac_ct_RANLIB"; then
                   4605:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   4606: else
                   4607: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4608: for as_dir in $PATH
                   4609: do
                   4610:   IFS=$as_save_IFS
                   4611:   test -z "$as_dir" && as_dir=.
                   4612:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4613:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4614:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   4615:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4616:     break 2
                   4617:   fi
                   4618: done
                   4619: done
                   4620: 
                   4621:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   4622: fi
                   4623: fi
                   4624: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   4625: if test -n "$ac_ct_RANLIB"; then
                   4626:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   4627: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   4628: else
                   4629:   echo "$as_me:$LINENO: result: no" >&5
                   4630: echo "${ECHO_T}no" >&6
                   4631: fi
                   4632: 
                   4633:   RANLIB=$ac_ct_RANLIB
                   4634: else
                   4635:   RANLIB="$ac_cv_prog_RANLIB"
                   4636: fi
                   4637: 
                   4638: if test -n "$ac_tool_prefix"; then
                   4639:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   4640: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   4641: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4642: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4643: if test "${ac_cv_prog_STRIP+set}" = set; then
                   4644:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4645: else
                   4646:   if test -n "$STRIP"; then
                   4647:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   4648: else
                   4649: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4650: for as_dir in $PATH
                   4651: do
                   4652:   IFS=$as_save_IFS
                   4653:   test -z "$as_dir" && as_dir=.
                   4654:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4655:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4656:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   4657:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4658:     break 2
                   4659:   fi
                   4660: done
                   4661: done
                   4662: 
                   4663: fi
                   4664: fi
                   4665: STRIP=$ac_cv_prog_STRIP
                   4666: if test -n "$STRIP"; then
                   4667:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   4668: echo "${ECHO_T}$STRIP" >&6
                   4669: else
                   4670:   echo "$as_me:$LINENO: result: no" >&5
                   4671: echo "${ECHO_T}no" >&6
                   4672: fi
                   4673: 
                   4674: fi
                   4675: if test -z "$ac_cv_prog_STRIP"; then
                   4676:   ac_ct_STRIP=$STRIP
                   4677:   # Extract the first word of "strip", so it can be a program name with args.
                   4678: set dummy strip; ac_word=$2
                   4679: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4680: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4681: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   4682:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4683: else
                   4684:   if test -n "$ac_ct_STRIP"; then
                   4685:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   4686: else
                   4687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4688: for as_dir in $PATH
                   4689: do
                   4690:   IFS=$as_save_IFS
                   4691:   test -z "$as_dir" && as_dir=.
                   4692:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4693:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4694:     ac_cv_prog_ac_ct_STRIP="strip"
                   4695:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4696:     break 2
                   4697:   fi
                   4698: done
                   4699: done
                   4700: 
                   4701:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   4702: fi
                   4703: fi
                   4704: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   4705: if test -n "$ac_ct_STRIP"; then
                   4706:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   4707: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   4708: else
                   4709:   echo "$as_me:$LINENO: result: no" >&5
                   4710: echo "${ECHO_T}no" >&6
                   4711: fi
                   4712: 
                   4713:   STRIP=$ac_ct_STRIP
                   4714: else
                   4715:   STRIP="$ac_cv_prog_STRIP"
                   4716: fi
                   4717: 
                   4718: 
                   4719: enable_dlopen=no
                   4720: enable_win32_dll=no
                   4721: 
                   4722: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   4723: if test "${enable_libtool_lock+set}" = set; then
                   4724:   enableval="$enable_libtool_lock"
                   4725: 
                   4726: fi;
                   4727: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   4728: 
                   4729: # Some flags need to be propagated to the compiler or linker for good
                   4730: # libtool support.
                   4731: case $host in
                   4732: *-*-irix6*)
                   4733:   # Find out which ABI we are using.
                   4734:   echo '#line 4734 "configure"' > conftest.$ac_ext
                   4735:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4736:   (eval $ac_compile) 2>&5
                   4737:   ac_status=$?
                   4738:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4739:   (exit $ac_status); }; then
                   4740:     case `/usr/bin/file conftest.$ac_objext` in
                   4741:     *32-bit*)
                   4742:       LD="${LD-ld} -32"
                   4743:       ;;
                   4744:     *N32*)
                   4745:       LD="${LD-ld} -n32"
                   4746:       ;;
                   4747:     *64-bit*)
                   4748:       LD="${LD-ld} -64"
                   4749:       ;;
                   4750:     esac
                   4751:   fi
                   4752:   rm -rf conftest*
                   4753:   ;;
                   4754: 
                   4755: *-*-sco3.2v5*)
                   4756:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   4757:   SAVE_CFLAGS="$CFLAGS"
                   4758:   CFLAGS="$CFLAGS -belf"
                   4759:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   4760: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   4761: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   4762:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4763: else
                   4764: 
                   4765: 
                   4766:      ac_ext=c
                   4767: ac_cpp='$CPP $CPPFLAGS'
                   4768: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4769: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4770: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4771: 
                   4772:      cat >conftest.$ac_ext <<_ACEOF
                   4773: #line $LINENO "configure"
                   4774: /* confdefs.h.  */
                   4775: _ACEOF
                   4776: cat confdefs.h >>conftest.$ac_ext
                   4777: cat >>conftest.$ac_ext <<_ACEOF
                   4778: /* end confdefs.h.  */
                   4779: 
                   4780: int
                   4781: main ()
                   4782: {
                   4783: 
                   4784:   ;
                   4785:   return 0;
                   4786: }
                   4787: _ACEOF
                   4788: rm -f conftest.$ac_objext conftest$ac_exeext
                   4789: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4790:   (eval $ac_link) 2>&5
                   4791:   ac_status=$?
                   4792:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4793:   (exit $ac_status); } &&
                   4794:          { ac_try='test -s conftest$ac_exeext'
                   4795:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4796:   (eval $ac_try) 2>&5
                   4797:   ac_status=$?
                   4798:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4799:   (exit $ac_status); }; }; then
                   4800:   lt_cv_cc_needs_belf=yes
                   4801: else
                   4802:   echo "$as_me: failed program was:" >&5
                   4803: sed 's/^/| /' conftest.$ac_ext >&5
                   4804: 
                   4805: lt_cv_cc_needs_belf=no
                   4806: fi
                   4807: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4808:      ac_ext=c
                   4809: ac_cpp='$CPP $CPPFLAGS'
                   4810: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4811: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4812: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4813: 
                   4814: fi
                   4815: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   4816: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   4817:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   4818:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   4819:     CFLAGS="$SAVE_CFLAGS"
                   4820:   fi
                   4821:   ;;
                   4822: 
                   4823: 
                   4824: esac
                   4825: 
                   4826: # Sed substitution that helps us do robust quoting.  It backslashifies
                   4827: # metacharacters that are still active within double-quoted strings.
                   4828: Xsed='sed -e s/^X//'
                   4829: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
                   4830: 
                   4831: # Same as above, but do not quote variable references.
                   4832: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
                   4833: 
                   4834: # Sed substitution to delay expansion of an escaped shell variable in a
                   4835: # double_quote_subst'ed string.
                   4836: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   4837: 
                   4838: # Constants:
                   4839: rm="rm -f"
                   4840: 
                   4841: # Global variables:
                   4842: default_ofile=libtool
                   4843: can_build_shared=yes
                   4844: 
                   4845: # All known linkers require a `.a' archive for static linking (except M$VC,
                   4846: # which needs '.lib').
                   4847: libext=a
                   4848: ltmain="$ac_aux_dir/ltmain.sh"
                   4849: ofile="$default_ofile"
                   4850: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   4851: need_locks="$enable_libtool_lock"
                   4852: 
                   4853: old_CC="$CC"
                   4854: old_CFLAGS="$CFLAGS"
                   4855: 
                   4856: # Set sane defaults for various variables
                   4857: test -z "$AR" && AR=ar
                   4858: test -z "$AR_FLAGS" && AR_FLAGS=cru
                   4859: test -z "$AS" && AS=as
                   4860: test -z "$CC" && CC=cc
                   4861: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   4862: test -z "$LD" && LD=ld
                   4863: test -z "$LN_S" && LN_S="ln -s"
                   4864: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   4865: test -z "$NM" && NM=nm
                   4866: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4867: test -z "$RANLIB" && RANLIB=:
                   4868: test -z "$STRIP" && STRIP=:
                   4869: test -z "$ac_objext" && ac_objext=o
                   4870: 
                   4871: if test x"$host" != x"$build"; then
                   4872:   ac_tool_prefix=${host_alias}-
                   4873: else
                   4874:   ac_tool_prefix=
                   4875: fi
                   4876: 
                   4877: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
                   4878: case $host_os in
                   4879: linux-gnu*) ;;
                   4880: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
                   4881: esac
                   4882: 
                   4883: case $host_os in
                   4884: aix3*)
                   4885:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   4886:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   4887:   # vanish in a puff of smoke.
                   4888:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   4889:     COLLECT_NAMES=
                   4890:     export COLLECT_NAMES
                   4891:   fi
                   4892:   ;;
                   4893: esac
                   4894: 
                   4895: # Determine commands to create old-style static archives.
                   4896: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
                   4897: old_postinstall_cmds='chmod 644 $oldlib'
                   4898: old_postuninstall_cmds=
                   4899: 
                   4900: if test -n "$RANLIB"; then
                   4901:   case $host_os in
                   4902:   openbsd*)
                   4903:     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
                   4904:     ;;
                   4905:   *)
                   4906:     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
                   4907:     ;;
                   4908:   esac
                   4909:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   4910: fi
                   4911: 
                   4912: # Allow CC to be a program name with arguments.
                   4913: set dummy $CC
                   4914: compiler="$2"
                   4915: 
                   4916: echo "$as_me:$LINENO: checking for objdir" >&5
                   4917: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   4918: rm -f .libs 2>/dev/null
                   4919: mkdir .libs 2>/dev/null
                   4920: if test -d .libs; then
                   4921:   objdir=.libs
                   4922: else
                   4923:   # MS-DOS does not allow filenames that begin with a dot.
                   4924:   objdir=_libs
                   4925: fi
                   4926: rmdir .libs 2>/dev/null
                   4927: echo "$as_me:$LINENO: result: $objdir" >&5
                   4928: echo "${ECHO_T}$objdir" >&6
                   4929: 
                   4930: 
                   4931: 
                   4932: # Check whether --with-pic or --without-pic was given.
                   4933: if test "${with_pic+set}" = set; then
                   4934:   withval="$with_pic"
                   4935:   pic_mode="$withval"
                   4936: else
                   4937:   pic_mode=default
                   4938: fi;
                   4939: test -z "$pic_mode" && pic_mode=default
                   4940: 
                   4941: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
                   4942: # in isolation, and that seeing it set (from the cache) indicates that
                   4943: # the associated values are set (in the cache) correctly too.
                   4944: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   4945: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   4946: if test "${lt_cv_prog_cc_pic+set}" = set; then
                   4947:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4948: else
                   4949:    lt_cv_prog_cc_pic=
                   4950:   lt_cv_prog_cc_shlib=
                   4951:   lt_cv_prog_cc_wl=
                   4952:   lt_cv_prog_cc_static=
                   4953:   lt_cv_prog_cc_no_builtin=
                   4954:   lt_cv_prog_cc_can_build_shared=$can_build_shared
                   4955: 
                   4956:   if test "$GCC" = yes; then
                   4957:     lt_cv_prog_cc_wl='-Wl,'
                   4958:     lt_cv_prog_cc_static='-static'
                   4959: 
                   4960:     case $host_os in
                   4961:     aix*)
                   4962:       # Below there is a dirty hack to force normal static linking with -ldl
                   4963:       # The problem is because libdl dynamically linked with both libc and
                   4964:       # libC (AIX C++ library), which obviously doesn't included in libraries
                   4965:       # list by gcc. This cause undefined symbols with -static flags.
                   4966:       # This hack allows C programs to be linked with "-static -ldl", but
                   4967:       # not sure about C++ programs.
                   4968:       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
                   4969:       ;;
                   4970:     amigaos*)
                   4971:       # FIXME: we need at least 68020 code to build shared libraries, but
                   4972:       # adding the `-m68020' flag to GCC prevents building anything better,
                   4973:       # like `-m68040'.
                   4974:       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
                   4975:       ;;
                   4976:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   4977:       # PIC is the default for these OSes.
                   4978:       ;;
                   4979:     darwin* | rhapsody*)
                   4980:       # PIC is the default on this platform
                   4981:       # Common symbols not allowed in MH_DYLIB files
                   4982:       lt_cv_prog_cc_pic='-fno-common'
                   4983:       ;;
                   4984:     cygwin* | mingw* | pw32* | os2*)
                   4985:       # This hack is so that the source file can tell whether it is being
                   4986:       # built for inclusion in a dll (and should export symbols for example).
                   4987:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   4988:       ;;
                   4989:     sysv4*MP*)
                   4990:       if test -d /usr/nec; then
                   4991:         lt_cv_prog_cc_pic=-Kconform_pic
                   4992:       fi
                   4993:       ;;
                   4994:     *)
                   4995:       lt_cv_prog_cc_pic='-fPIC'
                   4996:       ;;
                   4997:     esac
                   4998:   else
                   4999:     # PORTME Check for PIC flags for the system compiler.
                   5000:     case $host_os in
                   5001:     aix3* | aix4* | aix5*)
                   5002:       lt_cv_prog_cc_wl='-Wl,'
                   5003:       # All AIX code is PIC.
                   5004:       if test "$host_cpu" = ia64; then
                   5005:        # AIX 5 now supports IA64 processor
                   5006:        lt_cv_prog_cc_static='-Bstatic'
                   5007:       else
                   5008:        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
                   5009:       fi
                   5010:       ;;
                   5011: 
                   5012:     hpux9* | hpux10* | hpux11*)
                   5013:       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
                   5014:       lt_cv_prog_cc_wl='-Wl,'
                   5015:       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
                   5016:       lt_cv_prog_cc_pic='+Z'
                   5017:       ;;
                   5018: 
                   5019:     irix5* | irix6* | nonstopux*)
                   5020:       lt_cv_prog_cc_wl='-Wl,'
                   5021:       lt_cv_prog_cc_static='-non_shared'
                   5022:       # PIC (with -KPIC) is the default.
                   5023:       ;;
                   5024: 
                   5025:     cygwin* | mingw* | pw32* | os2*)
                   5026:       # This hack is so that the source file can tell whether it is being
                   5027:       # built for inclusion in a dll (and should export symbols for example).
                   5028:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5029:       ;;
                   5030: 
                   5031:     newsos6)
                   5032:       lt_cv_prog_cc_pic='-KPIC'
                   5033:       lt_cv_prog_cc_static='-Bstatic'
                   5034:       ;;
                   5035: 
                   5036:     osf3* | osf4* | osf5*)
                   5037:       # All OSF/1 code is PIC.
                   5038:       lt_cv_prog_cc_wl='-Wl,'
                   5039:       lt_cv_prog_cc_static='-non_shared'
                   5040:       ;;
                   5041: 
                   5042:     sco3.2v5*)
                   5043:       lt_cv_prog_cc_pic='-Kpic'
                   5044:       lt_cv_prog_cc_static='-dn'
                   5045:       lt_cv_prog_cc_shlib='-belf'
                   5046:       ;;
                   5047: 
                   5048:     solaris*)
                   5049:       lt_cv_prog_cc_pic='-KPIC'
                   5050:       lt_cv_prog_cc_static='-Bstatic'
                   5051:       lt_cv_prog_cc_wl='-Wl,'
                   5052:       ;;
                   5053: 
                   5054:     sunos4*)
                   5055:       lt_cv_prog_cc_pic='-PIC'
                   5056:       lt_cv_prog_cc_static='-Bstatic'
                   5057:       lt_cv_prog_cc_wl='-Qoption ld '
                   5058:       ;;
                   5059: 
                   5060:     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   5061:       lt_cv_prog_cc_pic='-KPIC'
                   5062:       lt_cv_prog_cc_static='-Bstatic'
                   5063:       lt_cv_prog_cc_wl='-Wl,'
                   5064:       ;;
                   5065: 
                   5066:     uts4*)
                   5067:       lt_cv_prog_cc_pic='-pic'
                   5068:       lt_cv_prog_cc_static='-Bstatic'
                   5069:       ;;
                   5070: 
                   5071:     sysv4*MP*)
                   5072:       if test -d /usr/nec ;then
                   5073:        lt_cv_prog_cc_pic='-Kconform_pic'
                   5074:        lt_cv_prog_cc_static='-Bstatic'
                   5075:       fi
                   5076:       ;;
                   5077: 
                   5078:     *)
                   5079:       lt_cv_prog_cc_can_build_shared=no
                   5080:       ;;
                   5081:     esac
                   5082:   fi
                   5083: 
                   5084: fi
                   5085: 
                   5086: if test -z "$lt_cv_prog_cc_pic"; then
                   5087:   echo "$as_me:$LINENO: result: none" >&5
                   5088: echo "${ECHO_T}none" >&6
                   5089: else
                   5090:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
                   5091: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
                   5092: 
                   5093:   # Check to make sure the pic_flag actually works.
                   5094:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
                   5095: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
                   5096:   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
                   5097:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5098: else
                   5099:       save_CFLAGS="$CFLAGS"
                   5100:     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
                   5101:     cat >conftest.$ac_ext <<_ACEOF
                   5102: #line $LINENO "configure"
                   5103: /* confdefs.h.  */
                   5104: _ACEOF
                   5105: cat confdefs.h >>conftest.$ac_ext
                   5106: cat >>conftest.$ac_ext <<_ACEOF
                   5107: /* end confdefs.h.  */
                   5108: 
                   5109: int
                   5110: main ()
                   5111: {
                   5112: 
                   5113:   ;
                   5114:   return 0;
                   5115: }
                   5116: _ACEOF
                   5117: rm -f conftest.$ac_objext
                   5118: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5119:   (eval $ac_compile) 2>&5
                   5120:   ac_status=$?
                   5121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5122:   (exit $ac_status); } &&
                   5123:          { ac_try='test -s conftest.$ac_objext'
                   5124:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5125:   (eval $ac_try) 2>&5
                   5126:   ac_status=$?
                   5127:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5128:   (exit $ac_status); }; }; then
                   5129:         case $host_os in
                   5130:       hpux9* | hpux10* | hpux11*)
                   5131:        # On HP-UX, both CC and GCC only warn that PIC is supported... then
                   5132:        # they create non-PIC objects.  So, if there were any warnings, we
                   5133:        # assume that PIC is not supported.
                   5134:        if test -s conftest.err; then
                   5135:          lt_cv_prog_cc_pic_works=no
                   5136:        else
                   5137:          lt_cv_prog_cc_pic_works=yes
                   5138:        fi
                   5139:        ;;
                   5140:       *)
                   5141:        lt_cv_prog_cc_pic_works=yes
                   5142:        ;;
                   5143:       esac
                   5144: 
                   5145: else
                   5146:   echo "$as_me: failed program was:" >&5
                   5147: sed 's/^/| /' conftest.$ac_ext >&5
                   5148: 
                   5149:       lt_cv_prog_cc_pic_works=no
                   5150: 
                   5151: fi
                   5152: rm -f conftest.$ac_objext conftest.$ac_ext
                   5153:     CFLAGS="$save_CFLAGS"
                   5154: 
                   5155: fi
                   5156: 
                   5157: 
                   5158:   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
                   5159:     lt_cv_prog_cc_pic=
                   5160:     lt_cv_prog_cc_can_build_shared=no
                   5161:   else
                   5162:     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
                   5163:   fi
                   5164: 
                   5165:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
                   5166: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
                   5167: fi
                   5168: 
                   5169: # Check for any special shared library compilation flags.
                   5170: if test -n "$lt_cv_prog_cc_shlib"; then
                   5171:   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
                   5172: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
                   5173:   if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
                   5174:   else
                   5175:    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
                   5176: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
                   5177:     lt_cv_prog_cc_can_build_shared=no
                   5178:   fi
                   5179: fi
                   5180: 
                   5181: echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
                   5182: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
                   5183: if test "${lt_cv_prog_cc_static_works+set}" = set; then
                   5184:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5185: else
                   5186:     lt_cv_prog_cc_static_works=no
                   5187:   save_LDFLAGS="$LDFLAGS"
                   5188:   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
                   5189:   cat >conftest.$ac_ext <<_ACEOF
                   5190: #line $LINENO "configure"
                   5191: /* confdefs.h.  */
                   5192: _ACEOF
                   5193: cat confdefs.h >>conftest.$ac_ext
                   5194: cat >>conftest.$ac_ext <<_ACEOF
                   5195: /* end confdefs.h.  */
                   5196: 
                   5197: int
                   5198: main ()
                   5199: {
                   5200: 
                   5201:   ;
                   5202:   return 0;
                   5203: }
                   5204: _ACEOF
                   5205: rm -f conftest.$ac_objext conftest$ac_exeext
                   5206: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5207:   (eval $ac_link) 2>&5
                   5208:   ac_status=$?
                   5209:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5210:   (exit $ac_status); } &&
                   5211:          { ac_try='test -s conftest$ac_exeext'
                   5212:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5213:   (eval $ac_try) 2>&5
                   5214:   ac_status=$?
                   5215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5216:   (exit $ac_status); }; }; then
                   5217:   lt_cv_prog_cc_static_works=yes
                   5218: else
                   5219:   echo "$as_me: failed program was:" >&5
                   5220: sed 's/^/| /' conftest.$ac_ext >&5
                   5221: 
                   5222: fi
                   5223: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5224:   LDFLAGS="$save_LDFLAGS"
                   5225: 
                   5226: fi
                   5227: 
                   5228: 
                   5229: # Belt *and* braces to stop my trousers falling down:
                   5230: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
                   5231: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
                   5232: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
                   5233: 
                   5234: pic_flag="$lt_cv_prog_cc_pic"
                   5235: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
                   5236: wl="$lt_cv_prog_cc_wl"
                   5237: link_static_flag="$lt_cv_prog_cc_static"
                   5238: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
                   5239: can_build_shared="$lt_cv_prog_cc_can_build_shared"
                   5240: 
                   5241: 
                   5242: # Check to see if options -o and -c are simultaneously supported by compiler
                   5243: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   5244: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   5245: if test "${lt_cv_compiler_c_o+set}" = set; then
                   5246:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5247: else
                   5248: 
                   5249: $rm -r conftest 2>/dev/null
                   5250: mkdir conftest
                   5251: cd conftest
                   5252: echo "int some_variable = 0;" > conftest.$ac_ext
                   5253: mkdir out
                   5254: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
                   5255: # that will create temporary files in the current directory regardless of
                   5256: # the output directory.  Thus, making CWD read-only will cause this test
                   5257: # to fail, enabling locking or at least warning the user not to do parallel
                   5258: # builds.
                   5259: chmod -w .
                   5260: save_CFLAGS="$CFLAGS"
                   5261: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
                   5262: compiler_c_o=no
                   5263: if { (eval echo configure:5263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
                   5264:   # The compiler can only warn and ignore the option if not recognized
                   5265:   # So say no if there are warnings
                   5266:   if test -s out/conftest.err; then
                   5267:     lt_cv_compiler_c_o=no
                   5268:   else
                   5269:     lt_cv_compiler_c_o=yes
                   5270:   fi
                   5271: else
                   5272:   # Append any errors to the config.log.
                   5273:   cat out/conftest.err 1>&5
                   5274:   lt_cv_compiler_c_o=no
                   5275: fi
                   5276: CFLAGS="$save_CFLAGS"
                   5277: chmod u+w .
                   5278: $rm conftest* out/*
                   5279: rmdir out
                   5280: cd ..
                   5281: rmdir conftest
                   5282: $rm -r conftest 2>/dev/null
                   5283: 
                   5284: fi
                   5285: 
                   5286: compiler_c_o=$lt_cv_compiler_c_o
                   5287: echo "$as_me:$LINENO: result: $compiler_c_o" >&5
                   5288: echo "${ECHO_T}$compiler_c_o" >&6
                   5289: 
                   5290: if test x"$compiler_c_o" = x"yes"; then
                   5291:   # Check to see if we can write to a .lo
                   5292:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
                   5293: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
                   5294:   if test "${lt_cv_compiler_o_lo+set}" = set; then
                   5295:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5296: else
                   5297: 
                   5298:   lt_cv_compiler_o_lo=no
                   5299:   save_CFLAGS="$CFLAGS"
                   5300:   CFLAGS="$CFLAGS -c -o conftest.lo"
                   5301:   save_objext="$ac_objext"
                   5302:   ac_objext=lo
                   5303:   cat >conftest.$ac_ext <<_ACEOF
                   5304: #line $LINENO "configure"
                   5305: /* confdefs.h.  */
                   5306: _ACEOF
                   5307: cat confdefs.h >>conftest.$ac_ext
                   5308: cat >>conftest.$ac_ext <<_ACEOF
                   5309: /* end confdefs.h.  */
                   5310: 
                   5311: int
                   5312: main ()
                   5313: {
                   5314: int some_variable = 0;
                   5315:   ;
                   5316:   return 0;
                   5317: }
                   5318: _ACEOF
                   5319: rm -f conftest.$ac_objext
                   5320: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5321:   (eval $ac_compile) 2>&5
                   5322:   ac_status=$?
                   5323:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5324:   (exit $ac_status); } &&
                   5325:          { ac_try='test -s conftest.$ac_objext'
                   5326:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5327:   (eval $ac_try) 2>&5
                   5328:   ac_status=$?
                   5329:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5330:   (exit $ac_status); }; }; then
                   5331:       # The compiler can only warn and ignore the option if not recognized
                   5332:     # So say no if there are warnings
                   5333:     if test -s conftest.err; then
                   5334:       lt_cv_compiler_o_lo=no
                   5335:     else
                   5336:       lt_cv_compiler_o_lo=yes
                   5337:     fi
                   5338: 
                   5339: else
                   5340:   echo "$as_me: failed program was:" >&5
                   5341: sed 's/^/| /' conftest.$ac_ext >&5
                   5342: 
                   5343: fi
                   5344: rm -f conftest.$ac_objext conftest.$ac_ext
                   5345:   ac_objext="$save_objext"
                   5346:   CFLAGS="$save_CFLAGS"
                   5347: 
                   5348: fi
                   5349: 
                   5350:   compiler_o_lo=$lt_cv_compiler_o_lo
                   5351:   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
                   5352: echo "${ECHO_T}$compiler_o_lo" >&6
                   5353: else
                   5354:   compiler_o_lo=no
                   5355: fi
                   5356: 
                   5357: # Check to see if we can do hard links to lock some files if needed
                   5358: hard_links="nottested"
                   5359: if test "$compiler_c_o" = no && test "$need_locks" != no; then
                   5360:   # do not overwrite the value of need_locks provided by the user
                   5361:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   5362: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   5363:   hard_links=yes
                   5364:   $rm conftest*
                   5365:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5366:   touch conftest.a
                   5367:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   5368:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5369:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   5370: echo "${ECHO_T}$hard_links" >&6
                   5371:   if test "$hard_links" = no; then
                   5372:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   5373: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   5374:     need_locks=warn
                   5375:   fi
                   5376: else
                   5377:   need_locks=no
                   5378: fi
                   5379: 
                   5380: if test "$GCC" = yes; then
                   5381:   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
                   5382:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   5383: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   5384:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5385:   save_CFLAGS="$CFLAGS"
                   5386:   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
                   5387:   compiler_rtti_exceptions=no
                   5388:   cat >conftest.$ac_ext <<_ACEOF
                   5389: #line $LINENO "configure"
                   5390: /* confdefs.h.  */
                   5391: _ACEOF
                   5392: cat confdefs.h >>conftest.$ac_ext
                   5393: cat >>conftest.$ac_ext <<_ACEOF
                   5394: /* end confdefs.h.  */
                   5395: 
                   5396: int
                   5397: main ()
                   5398: {
                   5399: int some_variable = 0;
                   5400:   ;
                   5401:   return 0;
                   5402: }
                   5403: _ACEOF
                   5404: rm -f conftest.$ac_objext
                   5405: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5406:   (eval $ac_compile) 2>&5
                   5407:   ac_status=$?
                   5408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5409:   (exit $ac_status); } &&
                   5410:          { ac_try='test -s conftest.$ac_objext'
                   5411:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5412:   (eval $ac_try) 2>&5
                   5413:   ac_status=$?
                   5414:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5415:   (exit $ac_status); }; }; then
                   5416:       # The compiler can only warn and ignore the option if not recognized
                   5417:     # So say no if there are warnings
                   5418:     if test -s conftest.err; then
                   5419:       compiler_rtti_exceptions=no
                   5420:     else
                   5421:       compiler_rtti_exceptions=yes
                   5422:     fi
                   5423: 
                   5424: else
                   5425:   echo "$as_me: failed program was:" >&5
                   5426: sed 's/^/| /' conftest.$ac_ext >&5
                   5427: 
                   5428: fi
                   5429: rm -f conftest.$ac_objext conftest.$ac_ext
                   5430:   CFLAGS="$save_CFLAGS"
                   5431:   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
                   5432: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
                   5433: 
                   5434:   if test "$compiler_rtti_exceptions" = "yes"; then
                   5435:     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
                   5436:   else
                   5437:     no_builtin_flag=' -fno-builtin'
                   5438:   fi
                   5439: fi
                   5440: 
                   5441: # See if the linker supports building shared libraries.
                   5442: echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
                   5443: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
                   5444: 
                   5445: allow_undefined_flag=
                   5446: no_undefined_flag=
                   5447: need_lib_prefix=unknown
                   5448: need_version=unknown
                   5449: # when you set need_version to no, make sure it does not cause -set_version
                   5450: # flags to be left without arguments
                   5451: archive_cmds=
                   5452: archive_expsym_cmds=
                   5453: old_archive_from_new_cmds=
                   5454: old_archive_from_expsyms_cmds=
                   5455: export_dynamic_flag_spec=
                   5456: whole_archive_flag_spec=
                   5457: thread_safe_flag_spec=
                   5458: hardcode_into_libs=no
                   5459: hardcode_libdir_flag_spec=
                   5460: hardcode_libdir_separator=
                   5461: hardcode_direct=no
                   5462: hardcode_minus_L=no
                   5463: hardcode_shlibpath_var=unsupported
                   5464: runpath_var=
                   5465: link_all_deplibs=unknown
                   5466: always_export_symbols=no
                   5467: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   5468: # include_expsyms should be a list of space-separated symbols to be *always*
                   5469: # included in the symbol list
                   5470: include_expsyms=
                   5471: # exclude_expsyms can be an egrep regular expression of symbols to exclude
                   5472: # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   5473: # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   5474: # as well as any symbol that contains `d'.
                   5475: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
                   5476: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   5477: # platforms (ab)use it in PIC code, but their linkers get confused if
                   5478: # the symbol is explicitly referenced.  Since portable code cannot
                   5479: # rely on this symbol name, it's probably fine to never include it in
                   5480: # preloaded symbol tables.
                   5481: extract_expsyms_cmds=
                   5482: 
                   5483: case $host_os in
                   5484: cygwin* | mingw* | pw32*)
                   5485:   # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   5486:   # When not using gcc, we currently assume that we are using
                   5487:   # Microsoft Visual C++.
                   5488:   if test "$GCC" != yes; then
                   5489:     with_gnu_ld=no
                   5490:   fi
                   5491:   ;;
                   5492: openbsd*)
                   5493:   with_gnu_ld=no
                   5494:   ;;
                   5495: esac
                   5496: 
                   5497: ld_shlibs=yes
                   5498: if test "$with_gnu_ld" = yes; then
                   5499:   # If archive_cmds runs LD, not CC, wlarc should be empty
                   5500:   wlarc='${wl}'
                   5501: 
                   5502:   # See if GNU ld supports shared libraries.
                   5503:   case $host_os in
                   5504:   aix3* | aix4* | aix5*)
                   5505:     # On AIX, the GNU linker is very broken
                   5506:     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
                   5507:     ld_shlibs=no
                   5508:     cat <<EOF 1>&2
                   5509: 
                   5510: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
                   5511: *** to be unable to reliably create shared libraries on AIX.
                   5512: *** Therefore, libtool is disabling shared libraries support.  If you
                   5513: *** really care for shared libraries, you may want to modify your PATH
                   5514: *** so that a non-GNU linker is found, and then restart.
                   5515: 
                   5516: EOF
                   5517:     ;;
                   5518: 
                   5519:   amigaos*)
                   5520:     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)'
                   5521:     hardcode_libdir_flag_spec='-L$libdir'
                   5522:     hardcode_minus_L=yes
                   5523: 
                   5524:     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
                   5525:     # that the semantics of dynamic libraries on AmigaOS, at least up
                   5526:     # to version 4, is to share data among multiple programs linked
                   5527:     # with the same dynamic library.  Since this doesn't match the
                   5528:     # behavior of shared libraries on other platforms, we can use
                   5529:     # them.
                   5530:     ld_shlibs=no
                   5531:     ;;
                   5532: 
                   5533:   beos*)
                   5534:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5535:       allow_undefined_flag=unsupported
                   5536:       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   5537:       # support --undefined.  This deserves some investigation.  FIXME
                   5538:       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5539:     else
                   5540:       ld_shlibs=no
                   5541:     fi
                   5542:     ;;
                   5543: 
                   5544:   cygwin* | mingw* | pw32*)
                   5545:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   5546:     # no search path for DLLs.
                   5547:     hardcode_libdir_flag_spec='-L$libdir'
                   5548:     allow_undefined_flag=unsupported
                   5549:     always_export_symbols=yes
                   5550: 
                   5551:     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
                   5552:       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
                   5553:       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
                   5554:       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
                   5555:       else $CC -o impgen impgen.c ; fi)~
                   5556:       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
                   5557: 
                   5558:     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
                   5559: 
                   5560:     # cygwin and mingw dlls have different entry points and sets of symbols
                   5561:     # to exclude.
                   5562:     # FIXME: what about values for MSVC?
                   5563:     dll_entry=__cygwin_dll_entry@12
                   5564:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
                   5565:     case $host_os in
                   5566:     mingw*)
                   5567:       # mingw values
                   5568:       dll_entry=_DllMainCRTStartup@12
                   5569:       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
                   5570:       ;;
                   5571:     esac
                   5572: 
                   5573:     # mingw and cygwin differ, and it's simplest to just exclude the union
                   5574:     # of the two symbol sets.
                   5575:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
                   5576: 
                   5577:     # recent cygwin and mingw systems supply a stub DllMain which the user
                   5578:     # can override, but on older systems we have to supply one (in ltdll.c)
                   5579:     if test "x$lt_cv_need_dllmain" = "xyes"; then
                   5580:       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
                   5581:       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~
                   5582:        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
                   5583:     else
                   5584:       ltdll_obj=
                   5585:       ltdll_cmds=
                   5586:     fi
                   5587: 
                   5588:     # Extract the symbol export list from an `--export-all' def file,
                   5589:     # then regenerate the def file from the symbol export list, so that
                   5590:     # the compiled dll only exports the symbol export list.
                   5591:     # Be careful not to strip the DATA tag left be newer dlltools.
                   5592:     export_symbols_cmds="$ltdll_cmds"'
                   5593:       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
                   5594:       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
                   5595: 
                   5596:     # If the export-symbols file already is a .def file (1st line
                   5597:     # is EXPORTS), use it as is.
                   5598:     # If DATA tags from a recent dlltool are present, honour them!
                   5599:     archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
                   5600:        cp $export_symbols $output_objdir/$soname-def;
                   5601:       else
                   5602:        echo EXPORTS > $output_objdir/$soname-def;
                   5603:        _lt_hint=1;
                   5604:        cat $export_symbols | while read symbol; do
                   5605:         set dummy \$symbol;
                   5606:         case \$# in
                   5607:           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                   5608:           4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
                   5609:           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
                   5610:         esac;
                   5611:         _lt_hint=`expr 1 + \$_lt_hint`;
                   5612:        done;
                   5613:       fi~
                   5614:       '"$ltdll_cmds"'
                   5615:       $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~
                   5616:       $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~
                   5617:       $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~
                   5618:       $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~
                   5619:       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
                   5620:     ;;
                   5621: 
                   5622:   netbsd*)
                   5623:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   5624:       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   5625:       wlarc=
                   5626:     else
                   5627:       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5628:       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   5629:     fi
                   5630:     ;;
                   5631: 
                   5632:   solaris* | sysv5*)
                   5633:     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
                   5634:       ld_shlibs=no
                   5635:       cat <<EOF 1>&2
                   5636: 
                   5637: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   5638: *** create shared libraries on Solaris systems.  Therefore, libtool
                   5639: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   5640: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   5641: *** your PATH or compiler configuration so that the native linker is
                   5642: *** used, and then restart.
                   5643: 
                   5644: EOF
                   5645:     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5646:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5647:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   5648:     else
                   5649:       ld_shlibs=no
                   5650:     fi
                   5651:     ;;
                   5652: 
                   5653:   sunos4*)
                   5654:     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   5655:     wlarc=
                   5656:     hardcode_direct=yes
                   5657:     hardcode_shlibpath_var=no
                   5658:     ;;
                   5659: 
                   5660:   *)
                   5661:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5662:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5663:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   5664:     else
                   5665:       ld_shlibs=no
                   5666:     fi
                   5667:     ;;
                   5668:   esac
                   5669: 
                   5670:   if test "$ld_shlibs" = yes; then
                   5671:     runpath_var=LD_RUN_PATH
                   5672:     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
                   5673:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   5674:     case $host_os in
                   5675:     cygwin* | mingw* | pw32*)
                   5676:       # dlltool doesn't understand --whole-archive et. al.
                   5677:       whole_archive_flag_spec=
                   5678:       ;;
                   5679:     *)
                   5680:       # ancient GNU ld didn't support --whole-archive et. al.
                   5681:       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
                   5682:        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   5683:       else
                   5684:        whole_archive_flag_spec=
                   5685:       fi
                   5686:       ;;
                   5687:     esac
                   5688:   fi
                   5689: else
                   5690:   # PORTME fill in a description of your system's linker (not GNU ld)
                   5691:   case $host_os in
                   5692:   aix3*)
                   5693:     allow_undefined_flag=unsupported
                   5694:     always_export_symbols=yes
                   5695:     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'
                   5696:     # Note: this linker hardcodes the directories in LIBPATH if there
                   5697:     # are no directories specified by -L.
                   5698:     hardcode_minus_L=yes
                   5699:     if test "$GCC" = yes && test -z "$link_static_flag"; then
                   5700:       # Neither direct hardcoding nor static linking is supported with a
                   5701:       # broken collect2.
                   5702:       hardcode_direct=unsupported
                   5703:     fi
                   5704:     ;;
                   5705: 
                   5706:   aix4* | aix5*)
                   5707:     if test "$host_cpu" = ia64; then
                   5708:       # On IA64, the linker does run time linking by default, so we don't
                   5709:       # have to do anything special.
                   5710:       aix_use_runtimelinking=no
                   5711:       exp_sym_flag='-Bexport'
                   5712:       no_entry_flag=""
                   5713:     else
                   5714:       aix_use_runtimelinking=no
                   5715: 
                   5716:       # Test if we are trying to use run time linking or normal
                   5717:       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   5718:       # need to do runtime linking.
                   5719:       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
                   5720:        for ld_flag in $LDFLAGS; do
                   5721:          case $ld_flag in
                   5722:          *-brtl*)
                   5723:            aix_use_runtimelinking=yes
                   5724:            break
                   5725:          ;;
                   5726:          esac
                   5727:        done
                   5728:       esac
                   5729: 
                   5730:       exp_sym_flag='-bexport'
                   5731:       no_entry_flag='-bnoentry'
                   5732:     fi
                   5733: 
                   5734:     # When large executables or shared objects are built, AIX ld can
                   5735:     # have problems creating the table of contents.  If linking a library
                   5736:     # or program results in "error TOC overflow" add -mminimal-toc to
                   5737:     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   5738:     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   5739: 
                   5740:     hardcode_direct=yes
                   5741:     archive_cmds=''
                   5742:     hardcode_libdir_separator=':'
                   5743:     if test "$GCC" = yes; then
                   5744:       case $host_os in aix4.[012]|aix4.[012].*)
                   5745:        collect2name=`${CC} -print-prog-name=collect2`
                   5746:        if test -f "$collect2name" && \
                   5747:          strings "$collect2name" | grep resolve_lib_name >/dev/null
                   5748:        then
                   5749:          # We have reworked collect2
                   5750:          hardcode_direct=yes
                   5751:        else
                   5752:          # We have old collect2
                   5753:          hardcode_direct=unsupported
                   5754:          # It fails to find uninstalled libraries when the uninstalled
                   5755:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   5756:          # to unsupported forces relinking
                   5757:          hardcode_minus_L=yes
                   5758:          hardcode_libdir_flag_spec='-L$libdir'
                   5759:          hardcode_libdir_separator=
                   5760:        fi
                   5761:       esac
                   5762: 
                   5763:       shared_flag='-shared'
                   5764:     else
                   5765:       # not using gcc
                   5766:       if test "$host_cpu" = ia64; then
                   5767:        shared_flag='${wl}-G'
                   5768:       else
                   5769:        if test "$aix_use_runtimelinking" = yes; then
                   5770:          shared_flag='${wl}-G'
                   5771:        else
                   5772:          shared_flag='${wl}-bM:SRE'
                   5773:        fi
                   5774:       fi
                   5775:     fi
                   5776: 
                   5777:     # It seems that -bexpall can do strange things, so it is better to
                   5778:     # generate a list of symbols to export.
                   5779:     always_export_symbols=yes
                   5780:     if test "$aix_use_runtimelinking" = yes; then
                   5781:       # Warning - without using the other runtime loading flags (-brtl),
                   5782:       # -berok will link without error, but may produce a broken library.
                   5783:       allow_undefined_flag='-berok'
                   5784:       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
                   5785:       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"
                   5786:     else
                   5787:       if test "$host_cpu" = ia64; then
                   5788:        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   5789:        allow_undefined_flag="-z nodefs"
                   5790:        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"
                   5791:       else
                   5792:        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
                   5793:        # Warning - without using the other run time loading flags,
                   5794:        # -berok will link without error, but may produce a broken library.
                   5795:        allow_undefined_flag='${wl}-berok'
                   5796:        # This is a bit strange, but is similar to how AIX traditionally builds
                   5797:        # it's shared libraries.
                   5798:        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'
                   5799:       fi
                   5800:     fi
                   5801:     ;;
                   5802: 
                   5803:   amigaos*)
                   5804:     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)'
                   5805:     hardcode_libdir_flag_spec='-L$libdir'
                   5806:     hardcode_minus_L=yes
                   5807:     # see comment about different semantics on the GNU ld section
                   5808:     ld_shlibs=no
                   5809:     ;;
                   5810: 
                   5811:   cygwin* | mingw* | pw32*)
                   5812:     # When not using gcc, we currently assume that we are using
                   5813:     # Microsoft Visual C++.
                   5814:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   5815:     # no search path for DLLs.
                   5816:     hardcode_libdir_flag_spec=' '
                   5817:     allow_undefined_flag=unsupported
                   5818:     # Tell ltmain to make .lib files, not .a files.
                   5819:     libext=lib
                   5820:     # FIXME: Setting linknames here is a bad hack.
                   5821:     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
                   5822:     # The linker will automatically build a .lib file if we build a DLL.
                   5823:     old_archive_from_new_cmds='true'
                   5824:     # FIXME: Should let the user specify the lib program.
                   5825:     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
                   5826:     fix_srcfile_path='`cygpath -w "$srcfile"`'
                   5827:     ;;
                   5828: 
                   5829:   darwin* | rhapsody*)
                   5830:     case "$host_os" in
                   5831:     rhapsody* | darwin1.[012])
                   5832:       allow_undefined_flag='-undefined suppress'
                   5833:       ;;
                   5834:     *) # Darwin 1.3 on
                   5835:       allow_undefined_flag='-flat_namespace -undefined suppress'
                   5836:       ;;
                   5837:     esac
                   5838:     # FIXME: Relying on posixy $() will cause problems for
                   5839:     #        cross-compilation, but unfortunately the echo tests do not
                   5840:     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
                   5841:     #       `"' quotes if we put them in here... so don't!
                   5842:     archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
                   5843:     # We need to add '_' to the symbols in $export_symbols first
                   5844:     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
                   5845:     hardcode_direct=yes
                   5846:     hardcode_shlibpath_var=no
                   5847:     whole_archive_flag_spec='-all_load $convenience'
                   5848:     ;;
                   5849: 
                   5850:   freebsd1*)
                   5851:     ld_shlibs=no
                   5852:     ;;
                   5853: 
                   5854:   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   5855:   # support.  Future versions do this automatically, but an explicit c++rt0.o
                   5856:   # does not break anything, and helps significantly (at the cost of a little
                   5857:   # extra space).
                   5858:   freebsd2.2*)
                   5859:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   5860:     hardcode_libdir_flag_spec='-R$libdir'
                   5861:     hardcode_direct=yes
                   5862:     hardcode_shlibpath_var=no
                   5863:     ;;
                   5864: 
                   5865:   # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   5866:   freebsd2*)
                   5867:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   5868:     hardcode_direct=yes
                   5869:     hardcode_minus_L=yes
                   5870:     hardcode_shlibpath_var=no
                   5871:     ;;
                   5872: 
                   5873:   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   5874:   freebsd*)
                   5875:     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
                   5876:     hardcode_libdir_flag_spec='-R$libdir'
                   5877:     hardcode_direct=yes
                   5878:     hardcode_shlibpath_var=no
                   5879:     ;;
                   5880: 
                   5881:   hpux9* | hpux10* | hpux11*)
                   5882:     case $host_os in
                   5883:     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' ;;
                   5884:     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
                   5885:     esac
                   5886:     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   5887:     hardcode_libdir_separator=:
                   5888:     hardcode_direct=yes
                   5889:     hardcode_minus_L=yes # Not in the search PATH, but as the default
                   5890:                         # location of the library.
                   5891:     export_dynamic_flag_spec='${wl}-E'
                   5892:     ;;
                   5893: 
                   5894:   irix5* | irix6* | nonstopux*)
                   5895:     if test "$GCC" = yes; then
                   5896:       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'
                   5897:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5898:     else
                   5899:       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'
                   5900:       hardcode_libdir_flag_spec='-rpath $libdir'
                   5901:     fi
                   5902:     hardcode_libdir_separator=:
                   5903:     link_all_deplibs=yes
                   5904:     ;;
                   5905: 
                   5906:   netbsd*)
                   5907:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   5908:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   5909:     else
                   5910:       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   5911:     fi
                   5912:     hardcode_libdir_flag_spec='-R$libdir'
                   5913:     hardcode_direct=yes
                   5914:     hardcode_shlibpath_var=no
                   5915:     ;;
                   5916: 
                   5917:   newsos6)
                   5918:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5919:     hardcode_direct=yes
                   5920:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5921:     hardcode_libdir_separator=:
                   5922:     hardcode_shlibpath_var=no
                   5923:     ;;
                   5924: 
                   5925:   openbsd*)
                   5926:     hardcode_direct=yes
                   5927:     hardcode_shlibpath_var=no
                   5928:     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5929:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   5930:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   5931:       export_dynamic_flag_spec='${wl}-E'
                   5932:     else
                   5933:       case "$host_os" in
                   5934:       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   5935:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   5936:        hardcode_libdir_flag_spec='-R$libdir'
                   5937:         ;;
                   5938:       *)
                   5939:         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   5940:         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   5941:         ;;
                   5942:       esac
                   5943:     fi
                   5944:     ;;
                   5945: 
                   5946:   os2*)
                   5947:     hardcode_libdir_flag_spec='-L$libdir'
                   5948:     hardcode_minus_L=yes
                   5949:     allow_undefined_flag=unsupported
                   5950:     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'
                   5951:     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   5952:     ;;
                   5953: 
                   5954:   osf3*)
                   5955:     if test "$GCC" = yes; then
                   5956:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   5957:       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'
                   5958:     else
                   5959:       allow_undefined_flag=' -expect_unresolved \*'
                   5960:       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'
                   5961:     fi
                   5962:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5963:     hardcode_libdir_separator=:
                   5964:     ;;
                   5965: 
                   5966:   osf4* | osf5*)       # as osf3* with the addition of -msym flag
                   5967:     if test "$GCC" = yes; then
                   5968:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   5969:       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'
                   5970:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   5971:     else
                   5972:       allow_undefined_flag=' -expect_unresolved \*'
                   5973:       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'
                   5974:       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
                   5975:       $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'
                   5976: 
                   5977:       #Both c and cxx compiler support -rpath directly
                   5978:       hardcode_libdir_flag_spec='-rpath $libdir'
                   5979:     fi
                   5980:     hardcode_libdir_separator=:
                   5981:     ;;
                   5982: 
                   5983:   sco3.2v5*)
                   5984:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   5985:     hardcode_shlibpath_var=no
                   5986:     runpath_var=LD_RUN_PATH
                   5987:     hardcode_runpath_var=yes
                   5988:     export_dynamic_flag_spec='${wl}-Bexport'
                   5989:     ;;
                   5990: 
                   5991:   solaris*)
                   5992:     # gcc --version < 3.0 without binutils cannot create self contained
                   5993:     # shared libraries reliably, requiring libgcc.a to resolve some of
                   5994:     # the object symbols generated in some cases.  Libraries that use
                   5995:     # assert need libgcc.a to resolve __eprintf, for example.  Linking
                   5996:     # a copy of libgcc.a into every shared library to guarantee resolving
                   5997:     # such symbols causes other problems:  According to Tim Van Holder
                   5998:     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
                   5999:     # (to the application) exception stack for one thing.
                   6000:     no_undefined_flag=' -z defs'
                   6001:     if test "$GCC" = yes; then
                   6002:       case `$CC --version 2>/dev/null` in
                   6003:       [12].*)
                   6004:        cat <<EOF 1>&2
                   6005: 
                   6006: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
                   6007: *** create self contained shared libraries on Solaris systems, without
                   6008: *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
                   6009: *** -no-undefined support, which will at least allow you to build shared
                   6010: *** libraries.  However, you may find that when you link such libraries
                   6011: *** into an application without using GCC, you have to manually add
                   6012: *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
                   6013: *** upgrade to a newer version of GCC.  Another option is to rebuild your
                   6014: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
                   6015: 
                   6016: EOF
                   6017:         no_undefined_flag=
                   6018:        ;;
                   6019:       esac
                   6020:     fi
                   6021:     # $CC -shared without GNU ld will not create a library from C++
                   6022:     # object files and a static libstdc++, better avoid it by now
                   6023:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6024:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6025:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6026:     hardcode_libdir_flag_spec='-R$libdir'
                   6027:     hardcode_shlibpath_var=no
                   6028:     case $host_os in
                   6029:     solaris2.[0-5] | solaris2.[0-5].*) ;;
                   6030:     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
                   6031:       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
                   6032:     esac
                   6033:     link_all_deplibs=yes
                   6034:     ;;
                   6035: 
                   6036:   sunos4*)
                   6037:     if test "x$host_vendor" = xsequent; then
                   6038:       # Use $CC to link under sequent, because it throws in some extra .o
                   6039:       # files that make .init and .fini sections work.
                   6040:       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   6041:     else
                   6042:       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   6043:     fi
                   6044:     hardcode_libdir_flag_spec='-L$libdir'
                   6045:     hardcode_direct=yes
                   6046:     hardcode_minus_L=yes
                   6047:     hardcode_shlibpath_var=no
                   6048:     ;;
                   6049: 
                   6050:   sysv4)
                   6051:     case $host_vendor in
                   6052:       sni)
                   6053:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6054:         hardcode_direct=yes # is this really true???
                   6055:         ;;
                   6056:       siemens)
                   6057:         ## LD is ld it makes a PLAMLIB
                   6058:         ## CC just makes a GrossModule.
                   6059:         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6060:         reload_cmds='$CC -r -o $output$reload_objs'
                   6061:         hardcode_direct=no
                   6062:         ;;
                   6063:       motorola)
                   6064:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6065:         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   6066:         ;;
                   6067:     esac
                   6068:     runpath_var='LD_RUN_PATH'
                   6069:     hardcode_shlibpath_var=no
                   6070:     ;;
                   6071: 
                   6072:   sysv4.3*)
                   6073:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6074:     hardcode_shlibpath_var=no
                   6075:     export_dynamic_flag_spec='-Bexport'
                   6076:     ;;
                   6077: 
                   6078:   sysv5*)
                   6079:     no_undefined_flag=' -z text'
                   6080:     # $CC -shared without GNU ld will not create a library from C++
                   6081:     # object files and a static libstdc++, better avoid it by now
                   6082:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6083:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6084:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6085:     hardcode_libdir_flag_spec=
                   6086:     hardcode_shlibpath_var=no
                   6087:     runpath_var='LD_RUN_PATH'
                   6088:     ;;
                   6089: 
                   6090:   uts4*)
                   6091:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6092:     hardcode_libdir_flag_spec='-L$libdir'
                   6093:     hardcode_shlibpath_var=no
                   6094:     ;;
                   6095: 
                   6096:   dgux*)
                   6097:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6098:     hardcode_libdir_flag_spec='-L$libdir'
                   6099:     hardcode_shlibpath_var=no
                   6100:     ;;
                   6101: 
                   6102:   sysv4*MP*)
                   6103:     if test -d /usr/nec; then
                   6104:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6105:       hardcode_shlibpath_var=no
                   6106:       runpath_var=LD_RUN_PATH
                   6107:       hardcode_runpath_var=yes
                   6108:       ld_shlibs=yes
                   6109:     fi
                   6110:     ;;
                   6111: 
                   6112:   sysv4.2uw2*)
                   6113:     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6114:     hardcode_direct=yes
                   6115:     hardcode_minus_L=no
                   6116:     hardcode_shlibpath_var=no
                   6117:     hardcode_runpath_var=yes
                   6118:     runpath_var=LD_RUN_PATH
                   6119:     ;;
                   6120: 
                   6121:   sysv5uw7* | unixware7*)
                   6122:     no_undefined_flag='${wl}-z ${wl}text'
                   6123:     if test "$GCC" = yes; then
                   6124:       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6125:     else
                   6126:       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6127:     fi
                   6128:     runpath_var='LD_RUN_PATH'
                   6129:     hardcode_shlibpath_var=no
                   6130:     ;;
                   6131: 
                   6132:   *)
                   6133:     ld_shlibs=no
                   6134:     ;;
                   6135:   esac
                   6136: fi
                   6137: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   6138: echo "${ECHO_T}$ld_shlibs" >&6
                   6139: test "$ld_shlibs" = no && can_build_shared=no
                   6140: 
                   6141: # Check hardcoding attributes.
                   6142: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   6143: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   6144: hardcode_action=
                   6145: if test -n "$hardcode_libdir_flag_spec" || \
                   6146:    test -n "$runpath_var"; then
                   6147: 
                   6148:   # We can hardcode non-existant directories.
                   6149:   if test "$hardcode_direct" != no &&
                   6150:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   6151:      # have to relink, otherwise we might link with an installed library
                   6152:      # when we should be linking with a yet-to-be-installed one
                   6153:      ## test "$hardcode_shlibpath_var" != no &&
                   6154:      test "$hardcode_minus_L" != no; then
                   6155:     # Linking always hardcodes the temporary library directory.
                   6156:     hardcode_action=relink
                   6157:   else
                   6158:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   6159:     hardcode_action=immediate
                   6160:   fi
                   6161: else
                   6162:   # We cannot hardcode anything, or else we can only hardcode existing
                   6163:   # directories.
                   6164:   hardcode_action=unsupported
                   6165: fi
                   6166: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   6167: echo "${ECHO_T}$hardcode_action" >&6
                   6168: 
                   6169: striplib=
                   6170: old_striplib=
                   6171: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   6172: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   6173: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
                   6174:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   6175:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   6176:   echo "$as_me:$LINENO: result: yes" >&5
                   6177: echo "${ECHO_T}yes" >&6
                   6178: else
                   6179:   echo "$as_me:$LINENO: result: no" >&5
                   6180: echo "${ECHO_T}no" >&6
                   6181: fi
                   6182: 
                   6183: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6184: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6185: 
                   6186: # PORTME Fill in your ld.so characteristics
                   6187: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   6188: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   6189: library_names_spec=
                   6190: libname_spec='lib$name'
                   6191: soname_spec=
                   6192: postinstall_cmds=
                   6193: postuninstall_cmds=
                   6194: finish_cmds=
                   6195: finish_eval=
                   6196: shlibpath_var=
                   6197: shlibpath_overrides_runpath=unknown
                   6198: version_type=none
                   6199: dynamic_linker="$host_os ld.so"
                   6200: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   6201: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   6202: 
                   6203: case $host_os in
                   6204: aix3*)
                   6205:   version_type=linux
                   6206:   library_names_spec='${libname}${release}.so$versuffix $libname.a'
                   6207:   shlibpath_var=LIBPATH
                   6208: 
                   6209:   # AIX has no versioning support, so we append a major version to the name.
                   6210:   soname_spec='${libname}${release}.so$major'
                   6211:   ;;
                   6212: 
                   6213: aix4* | aix5*)
                   6214:   version_type=linux
                   6215:   need_lib_prefix=no
                   6216:   need_version=no
                   6217:   hardcode_into_libs=yes
                   6218:   if test "$host_cpu" = ia64; then
                   6219:     # AIX 5 supports IA64
                   6220:     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
                   6221:     shlibpath_var=LD_LIBRARY_PATH
                   6222:   else
                   6223:     # With GCC up to 2.95.x, collect2 would create an import file
                   6224:     # for dependence libraries.  The import file would start with
                   6225:     # the line `#! .'.  This would cause the generated library to
                   6226:     # depend on `.', always an invalid library.  This was fixed in
                   6227:     # development snapshots of GCC prior to 3.0.
                   6228:     case $host_os in
                   6229:       aix4 | aix4.[01] | aix4.[01].*)
                   6230:        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   6231:             echo ' yes '
                   6232:             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
                   6233:          :
                   6234:        else
                   6235:          can_build_shared=no
                   6236:        fi
                   6237:        ;;
                   6238:     esac
                   6239:     # AIX (on Power*) has no versioning support, so currently we can
                   6240:     # not hardcode correct soname into executable. Probably we can
                   6241:     # add versioning support to collect2, so additional links can
                   6242:     # be useful in future.
                   6243:     if test "$aix_use_runtimelinking" = yes; then
                   6244:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   6245:       # instead of lib<name>.a to let people know that these are not
                   6246:       # typical AIX shared libraries.
                   6247:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6248:     else
                   6249:       # We preserve .a as extension for shared libraries through AIX4.2
                   6250:       # and later when we are not doing run time linking.
                   6251:       library_names_spec='${libname}${release}.a $libname.a'
                   6252:       soname_spec='${libname}${release}.so$major'
                   6253:     fi
                   6254:     shlibpath_var=LIBPATH
                   6255:   fi
                   6256:   hardcode_into_libs=yes
                   6257:   ;;
                   6258: 
                   6259: amigaos*)
                   6260:   library_names_spec='$libname.ixlibrary $libname.a'
                   6261:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   6262:   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'
                   6263:   ;;
                   6264: 
                   6265: beos*)
                   6266:   library_names_spec='${libname}.so'
                   6267:   dynamic_linker="$host_os ld.so"
                   6268:   shlibpath_var=LIBRARY_PATH
                   6269:   ;;
                   6270: 
                   6271: bsdi4*)
                   6272:   version_type=linux
                   6273:   need_version=no
                   6274:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6275:   soname_spec='${libname}${release}.so$major'
                   6276:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   6277:   shlibpath_var=LD_LIBRARY_PATH
                   6278:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   6279:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   6280:   export_dynamic_flag_spec=-rdynamic
                   6281:   # the default ld.so.conf also contains /usr/contrib/lib and
                   6282:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   6283:   # libtool to hard-code these into programs
                   6284:   ;;
                   6285: 
                   6286: cygwin* | mingw* | pw32*)
                   6287:   version_type=windows
                   6288:   need_version=no
                   6289:   need_lib_prefix=no
                   6290:   case $GCC,$host_os in
                   6291:   yes,cygwin*)
                   6292:     library_names_spec='$libname.dll.a'
                   6293:     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6294:     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
                   6295:       dldir=$destdir/`dirname \$dlpath`~
                   6296:       test -d \$dldir || mkdir -p \$dldir~
                   6297:       $install_prog .libs/$dlname \$dldir/$dlname'
                   6298:     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   6299:       dlpath=$dir/\$dldll~
                   6300:        $rm \$dlpath'
                   6301:     ;;
                   6302:   yes,mingw*)
                   6303:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6304:     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
                   6305:     ;;
                   6306:   yes,pw32*)
                   6307:     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
                   6308:     ;;
                   6309:   *)
                   6310:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
                   6311:     ;;
                   6312:   esac
                   6313:   dynamic_linker='Win32 ld.exe'
                   6314:   # FIXME: first we should search . and the directory the executable is in
                   6315:   shlibpath_var=PATH
                   6316:   ;;
                   6317: 
                   6318: darwin* | rhapsody*)
                   6319:   dynamic_linker="$host_os dyld"
                   6320:   version_type=darwin
                   6321:   need_lib_prefix=no
                   6322:   need_version=no
                   6323:   # FIXME: Relying on posixy $() will cause problems for
                   6324:   #        cross-compilation, but unfortunately the echo tests do not
                   6325:   #        yet detect zsh echo's removal of \ escapes.
                   6326:   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)'
                   6327:   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
                   6328:   shlibpath_overrides_runpath=yes
                   6329:   shlibpath_var=DYLD_LIBRARY_PATH
                   6330:   ;;
                   6331: 
                   6332: freebsd1*)
                   6333:   dynamic_linker=no
                   6334:   ;;
                   6335: 
                   6336: freebsd*)
                   6337:   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
                   6338:   version_type=freebsd-$objformat
                   6339:   case $version_type in
                   6340:     freebsd-elf*)
                   6341:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
                   6342:       need_version=no
                   6343:       need_lib_prefix=no
                   6344:       ;;
                   6345:     freebsd-*)
                   6346:       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
                   6347:       need_version=yes
                   6348:       ;;
                   6349:   esac
                   6350:   shlibpath_var=LD_LIBRARY_PATH
                   6351:   case $host_os in
                   6352:   freebsd2*)
                   6353:     shlibpath_overrides_runpath=yes
                   6354:     ;;
                   6355:   *)
                   6356:     shlibpath_overrides_runpath=no
                   6357:     hardcode_into_libs=yes
                   6358:     ;;
                   6359:   esac
                   6360:   ;;
                   6361: 
                   6362: gnu*)
                   6363:   version_type=linux
                   6364:   need_lib_prefix=no
                   6365:   need_version=no
                   6366:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
                   6367:   soname_spec='${libname}${release}.so$major'
                   6368:   shlibpath_var=LD_LIBRARY_PATH
                   6369:   hardcode_into_libs=yes
                   6370:   ;;
                   6371: 
                   6372: hpux9* | hpux10* | hpux11*)
                   6373:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   6374:   # link against other versions.
                   6375:   dynamic_linker="$host_os dld.sl"
                   6376:   version_type=sunos
                   6377:   need_lib_prefix=no
                   6378:   need_version=no
                   6379:   shlibpath_var=SHLIB_PATH
                   6380:   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   6381:   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
                   6382:   soname_spec='${libname}${release}.sl$major'
                   6383:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
                   6384:   postinstall_cmds='chmod 555 $lib'
                   6385:   ;;
                   6386: 
                   6387: irix5* | irix6* | nonstopux*)
                   6388:   case $host_os in
                   6389:     nonstopux*) version_type=nonstopux ;;
                   6390:     *)          version_type=irix ;;
                   6391:   esac
                   6392:   need_lib_prefix=no
                   6393:   need_version=no
                   6394:   soname_spec='${libname}${release}.so$major'
                   6395:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
                   6396:   case $host_os in
                   6397:   irix5* | nonstopux*)
                   6398:     libsuff= shlibsuff=
                   6399:     ;;
                   6400:   *)
                   6401:     case $LD in # libtool.m4 will add one of these switches to LD
                   6402:     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
                   6403:     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
                   6404:     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   6405:     *) libsuff= shlibsuff= libmagic=never-match;;
                   6406:     esac
                   6407:     ;;
                   6408:   esac
                   6409:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   6410:   shlibpath_overrides_runpath=no
                   6411:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   6412:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   6413:   ;;
                   6414: 
                   6415: # No shared lib support for Linux oldld, aout, or coff.
                   6416: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
                   6417:   dynamic_linker=no
                   6418:   ;;
                   6419: 
                   6420: # This must be Linux ELF.
                   6421: linux-gnu*)
                   6422:   version_type=linux
                   6423:   need_lib_prefix=no
                   6424:   need_version=no
                   6425:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6426:   soname_spec='${libname}${release}.so$major'
                   6427:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   6428:   shlibpath_var=LD_LIBRARY_PATH
                   6429:   shlibpath_overrides_runpath=no
                   6430:   # This implies no fast_install, which is unacceptable.
                   6431:   # Some rework will be needed to allow for fast_install
                   6432:   # before this can be enabled.
                   6433:   hardcode_into_libs=yes
                   6434: 
                   6435:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   6436:   # powerpc, because MkLinux only supported shared libraries with the
                   6437:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   6438:   # most powerpc-linux boxes support dynamic linking these days and
                   6439:   # people can always --disable-shared, the test was removed, and we
                   6440:   # assume the GNU/Linux dynamic linker is in use.
                   6441:   dynamic_linker='GNU/Linux ld.so'
                   6442:   ;;
                   6443: 
                   6444: netbsd*)
                   6445:   version_type=sunos
                   6446:   need_lib_prefix=no
                   6447:   need_version=no
                   6448:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6449:     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6450:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6451:     dynamic_linker='NetBSD (a.out) ld.so'
                   6452:   else
                   6453:     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
                   6454:     soname_spec='${libname}${release}.so$major'
                   6455:     dynamic_linker='NetBSD ld.elf_so'
                   6456:   fi
                   6457:   shlibpath_var=LD_LIBRARY_PATH
                   6458:   shlibpath_overrides_runpath=yes
                   6459:   hardcode_into_libs=yes
                   6460:   ;;
                   6461: 
                   6462: newsos6)
                   6463:   version_type=linux
                   6464:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6465:   shlibpath_var=LD_LIBRARY_PATH
                   6466:   shlibpath_overrides_runpath=yes
                   6467:   ;;
                   6468: 
                   6469: openbsd*)
                   6470:   version_type=sunos
                   6471:   need_lib_prefix=no
                   6472:   need_version=no
                   6473:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6474:     case "$host_os" in
                   6475:     openbsd2.[89] | openbsd2.[89].*)
                   6476:       shlibpath_overrides_runpath=no
                   6477:       ;;
                   6478:     *)
                   6479:       shlibpath_overrides_runpath=yes
                   6480:       ;;
                   6481:     esac
                   6482:   else
                   6483:     shlibpath_overrides_runpath=yes
                   6484:   fi
                   6485:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6486:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6487:   shlibpath_var=LD_LIBRARY_PATH
                   6488:   ;;
                   6489: 
                   6490: os2*)
                   6491:   libname_spec='$name'
                   6492:   need_lib_prefix=no
                   6493:   library_names_spec='$libname.dll $libname.a'
                   6494:   dynamic_linker='OS/2 ld.exe'
                   6495:   shlibpath_var=LIBPATH
                   6496:   ;;
                   6497: 
                   6498: osf3* | osf4* | osf5*)
                   6499:   version_type=osf
                   6500:   need_version=no
                   6501:   soname_spec='${libname}${release}.so$major'
                   6502:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6503:   shlibpath_var=LD_LIBRARY_PATH
                   6504:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   6505:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   6506:   hardcode_into_libs=yes
                   6507:   ;;
                   6508: 
                   6509: sco3.2v5*)
                   6510:   version_type=osf
                   6511:   soname_spec='${libname}${release}.so$major'
                   6512:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6513:   shlibpath_var=LD_LIBRARY_PATH
                   6514:   ;;
                   6515: 
                   6516: solaris*)
                   6517:   version_type=linux
                   6518:   need_lib_prefix=no
                   6519:   need_version=no
                   6520:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6521:   soname_spec='${libname}${release}.so$major'
                   6522:   shlibpath_var=LD_LIBRARY_PATH
                   6523:   shlibpath_overrides_runpath=yes
                   6524:   hardcode_into_libs=yes
                   6525:   # ldd complains unless libraries are executable
                   6526:   postinstall_cmds='chmod +x $lib'
                   6527:   ;;
                   6528: 
                   6529: sunos4*)
                   6530:   version_type=sunos
                   6531:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6532:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   6533:   shlibpath_var=LD_LIBRARY_PATH
                   6534:   shlibpath_overrides_runpath=yes
                   6535:   if test "$with_gnu_ld" = yes; then
                   6536:     need_lib_prefix=no
                   6537:   fi
                   6538:   need_version=yes
                   6539:   ;;
                   6540: 
                   6541: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   6542:   version_type=linux
                   6543:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6544:   soname_spec='${libname}${release}.so$major'
                   6545:   shlibpath_var=LD_LIBRARY_PATH
                   6546:   case $host_vendor in
                   6547:     sni)
                   6548:       shlibpath_overrides_runpath=no
                   6549:       need_lib_prefix=no
                   6550:       export_dynamic_flag_spec='${wl}-Blargedynsym'
                   6551:       runpath_var=LD_RUN_PATH
                   6552:       ;;
                   6553:     siemens)
                   6554:       need_lib_prefix=no
                   6555:       ;;
                   6556:     motorola)
                   6557:       need_lib_prefix=no
                   6558:       need_version=no
                   6559:       shlibpath_overrides_runpath=no
                   6560:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   6561:       ;;
                   6562:   esac
                   6563:   ;;
                   6564: 
                   6565: uts4*)
                   6566:   version_type=linux
                   6567:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6568:   soname_spec='${libname}${release}.so$major'
                   6569:   shlibpath_var=LD_LIBRARY_PATH
                   6570:   ;;
                   6571: 
                   6572: dgux*)
                   6573:   version_type=linux
                   6574:   need_lib_prefix=no
                   6575:   need_version=no
                   6576:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6577:   soname_spec='${libname}${release}.so$major'
                   6578:   shlibpath_var=LD_LIBRARY_PATH
                   6579:   ;;
                   6580: 
                   6581: sysv4*MP*)
                   6582:   if test -d /usr/nec ;then
                   6583:     version_type=linux
                   6584:     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
                   6585:     soname_spec='$libname.so.$major'
                   6586:     shlibpath_var=LD_LIBRARY_PATH
                   6587:   fi
                   6588:   ;;
                   6589: 
                   6590: *)
                   6591:   dynamic_linker=no
                   6592:   ;;
                   6593: esac
                   6594: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   6595: echo "${ECHO_T}$dynamic_linker" >&6
                   6596: test "$dynamic_linker" = no && can_build_shared=no
                   6597: 
                   6598: # Report the final consequences.
                   6599: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   6600: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   6601: echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   6602: echo "${ECHO_T}$can_build_shared" >&6
                   6603: 
                   6604: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   6605: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   6606: test "$can_build_shared" = "no" && enable_shared=no
                   6607: 
                   6608: # On AIX, shared libraries and static libraries use the same namespace, and
                   6609: # are all built from PIC.
                   6610: case "$host_os" in
                   6611: aix3*)
                   6612:   test "$enable_shared" = yes && enable_static=no
                   6613:   if test -n "$RANLIB"; then
                   6614:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   6615:     postinstall_cmds='$RANLIB $lib'
                   6616:   fi
                   6617:   ;;
                   6618: 
                   6619: aix4*)
                   6620:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   6621:     test "$enable_shared" = yes && enable_static=no
                   6622:   fi
                   6623:   ;;
                   6624: esac
                   6625: echo "$as_me:$LINENO: result: $enable_shared" >&5
                   6626: echo "${ECHO_T}$enable_shared" >&6
                   6627: 
                   6628: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   6629: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   6630: # Make sure either enable_shared or enable_static is yes.
                   6631: test "$enable_shared" = yes || enable_static=yes
                   6632: echo "$as_me:$LINENO: result: $enable_static" >&5
                   6633: echo "${ECHO_T}$enable_static" >&6
                   6634: 
                   6635: if test "$hardcode_action" = relink; then
                   6636:   # Fast installation is not supported
                   6637:   enable_fast_install=no
                   6638: elif test "$shlibpath_overrides_runpath" = yes ||
                   6639:      test "$enable_shared" = no; then
                   6640:   # Fast installation is not necessary
                   6641:   enable_fast_install=needless
                   6642: fi
                   6643: 
                   6644: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   6645: if test "$GCC" = yes; then
                   6646:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   6647: fi
                   6648: 
                   6649: if test "x$enable_dlopen" != xyes; then
                   6650:   enable_dlopen=unknown
                   6651:   enable_dlopen_self=unknown
                   6652:   enable_dlopen_self_static=unknown
                   6653: else
                   6654:   lt_cv_dlopen=no
                   6655:   lt_cv_dlopen_libs=
                   6656: 
                   6657:   case $host_os in
                   6658:   beos*)
                   6659:     lt_cv_dlopen="load_add_on"
                   6660:     lt_cv_dlopen_libs=
                   6661:     lt_cv_dlopen_self=yes
                   6662:     ;;
                   6663: 
                   6664:   cygwin* | mingw* | pw32*)
                   6665:     lt_cv_dlopen="LoadLibrary"
                   6666:     lt_cv_dlopen_libs=
                   6667:    ;;
                   6668: 
                   6669:   *)
                   6670:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   6671: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   6672: if test "${ac_cv_func_shl_load+set}" = set; then
                   6673:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6674: else
                   6675:   cat >conftest.$ac_ext <<_ACEOF
                   6676: #line $LINENO "configure"
                   6677: /* confdefs.h.  */
                   6678: _ACEOF
                   6679: cat confdefs.h >>conftest.$ac_ext
                   6680: cat >>conftest.$ac_ext <<_ACEOF
                   6681: /* end confdefs.h.  */
                   6682: /* System header to define __stub macros and hopefully few prototypes,
                   6683:     which can conflict with char shl_load (); below.
                   6684:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6685:     <limits.h> exists even on freestanding compilers.  */
                   6686: #ifdef __STDC__
                   6687: # include <limits.h>
                   6688: #else
                   6689: # include <assert.h>
                   6690: #endif
                   6691: /* Override any gcc2 internal prototype to avoid an error.  */
                   6692: #ifdef __cplusplus
                   6693: extern "C"
                   6694: {
                   6695: #endif
                   6696: /* We use char because int might match the return type of a gcc2
                   6697:    builtin and then its argument prototype would still apply.  */
                   6698: char shl_load ();
                   6699: /* The GNU C library defines this for functions which it implements
                   6700:     to always fail with ENOSYS.  Some functions are actually named
                   6701:     something starting with __ and the normal name is an alias.  */
                   6702: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   6703: choke me
                   6704: #else
                   6705: char (*f) () = shl_load;
                   6706: #endif
                   6707: #ifdef __cplusplus
                   6708: }
                   6709: #endif
                   6710: 
                   6711: int
                   6712: main ()
                   6713: {
                   6714: return f != shl_load;
                   6715:   ;
                   6716:   return 0;
                   6717: }
                   6718: _ACEOF
                   6719: rm -f conftest.$ac_objext conftest$ac_exeext
                   6720: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6721:   (eval $ac_link) 2>&5
                   6722:   ac_status=$?
                   6723:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6724:   (exit $ac_status); } &&
                   6725:          { ac_try='test -s conftest$ac_exeext'
                   6726:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6727:   (eval $ac_try) 2>&5
                   6728:   ac_status=$?
                   6729:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6730:   (exit $ac_status); }; }; then
                   6731:   ac_cv_func_shl_load=yes
                   6732: else
                   6733:   echo "$as_me: failed program was:" >&5
                   6734: sed 's/^/| /' conftest.$ac_ext >&5
                   6735: 
                   6736: ac_cv_func_shl_load=no
                   6737: fi
                   6738: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6739: fi
                   6740: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   6741: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   6742: if test $ac_cv_func_shl_load = yes; then
                   6743:   lt_cv_dlopen="shl_load"
                   6744: else
                   6745:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   6746: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   6747: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   6748:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6749: else
                   6750:   ac_check_lib_save_LIBS=$LIBS
                   6751: LIBS="-ldld  $LIBS"
                   6752: cat >conftest.$ac_ext <<_ACEOF
                   6753: #line $LINENO "configure"
                   6754: /* confdefs.h.  */
                   6755: _ACEOF
                   6756: cat confdefs.h >>conftest.$ac_ext
                   6757: cat >>conftest.$ac_ext <<_ACEOF
                   6758: /* end confdefs.h.  */
                   6759: 
                   6760: /* Override any gcc2 internal prototype to avoid an error.  */
                   6761: #ifdef __cplusplus
                   6762: extern "C"
                   6763: #endif
                   6764: /* We use char because int might match the return type of a gcc2
                   6765:    builtin and then its argument prototype would still apply.  */
                   6766: char shl_load ();
                   6767: int
                   6768: main ()
                   6769: {
                   6770: shl_load ();
                   6771:   ;
                   6772:   return 0;
                   6773: }
                   6774: _ACEOF
                   6775: rm -f conftest.$ac_objext conftest$ac_exeext
                   6776: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6777:   (eval $ac_link) 2>&5
                   6778:   ac_status=$?
                   6779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6780:   (exit $ac_status); } &&
                   6781:          { ac_try='test -s conftest$ac_exeext'
                   6782:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6783:   (eval $ac_try) 2>&5
                   6784:   ac_status=$?
                   6785:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6786:   (exit $ac_status); }; }; then
                   6787:   ac_cv_lib_dld_shl_load=yes
                   6788: else
                   6789:   echo "$as_me: failed program was:" >&5
                   6790: sed 's/^/| /' conftest.$ac_ext >&5
                   6791: 
                   6792: ac_cv_lib_dld_shl_load=no
                   6793: fi
                   6794: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6795: LIBS=$ac_check_lib_save_LIBS
                   6796: fi
                   6797: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   6798: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   6799: if test $ac_cv_lib_dld_shl_load = yes; then
                   6800:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
                   6801: else
                   6802:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   6803: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   6804: if test "${ac_cv_func_dlopen+set}" = set; then
                   6805:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6806: else
                   6807:   cat >conftest.$ac_ext <<_ACEOF
                   6808: #line $LINENO "configure"
                   6809: /* confdefs.h.  */
                   6810: _ACEOF
                   6811: cat confdefs.h >>conftest.$ac_ext
                   6812: cat >>conftest.$ac_ext <<_ACEOF
                   6813: /* end confdefs.h.  */
                   6814: /* System header to define __stub macros and hopefully few prototypes,
                   6815:     which can conflict with char dlopen (); below.
                   6816:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6817:     <limits.h> exists even on freestanding compilers.  */
                   6818: #ifdef __STDC__
                   6819: # include <limits.h>
                   6820: #else
                   6821: # include <assert.h>
                   6822: #endif
                   6823: /* Override any gcc2 internal prototype to avoid an error.  */
                   6824: #ifdef __cplusplus
                   6825: extern "C"
                   6826: {
                   6827: #endif
                   6828: /* We use char because int might match the return type of a gcc2
                   6829:    builtin and then its argument prototype would still apply.  */
                   6830: char dlopen ();
                   6831: /* The GNU C library defines this for functions which it implements
                   6832:     to always fail with ENOSYS.  Some functions are actually named
                   6833:     something starting with __ and the normal name is an alias.  */
                   6834: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   6835: choke me
                   6836: #else
                   6837: char (*f) () = dlopen;
                   6838: #endif
                   6839: #ifdef __cplusplus
                   6840: }
                   6841: #endif
                   6842: 
                   6843: int
                   6844: main ()
                   6845: {
                   6846: return f != dlopen;
                   6847:   ;
                   6848:   return 0;
                   6849: }
                   6850: _ACEOF
                   6851: rm -f conftest.$ac_objext conftest$ac_exeext
                   6852: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6853:   (eval $ac_link) 2>&5
                   6854:   ac_status=$?
                   6855:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6856:   (exit $ac_status); } &&
                   6857:          { ac_try='test -s conftest$ac_exeext'
                   6858:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6859:   (eval $ac_try) 2>&5
                   6860:   ac_status=$?
                   6861:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6862:   (exit $ac_status); }; }; then
                   6863:   ac_cv_func_dlopen=yes
                   6864: else
                   6865:   echo "$as_me: failed program was:" >&5
                   6866: sed 's/^/| /' conftest.$ac_ext >&5
                   6867: 
                   6868: ac_cv_func_dlopen=no
                   6869: fi
                   6870: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6871: fi
                   6872: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   6873: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   6874: if test $ac_cv_func_dlopen = yes; then
                   6875:   lt_cv_dlopen="dlopen"
                   6876: else
                   6877:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   6878: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   6879: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   6880:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6881: else
                   6882:   ac_check_lib_save_LIBS=$LIBS
                   6883: LIBS="-ldl  $LIBS"
                   6884: cat >conftest.$ac_ext <<_ACEOF
                   6885: #line $LINENO "configure"
                   6886: /* confdefs.h.  */
                   6887: _ACEOF
                   6888: cat confdefs.h >>conftest.$ac_ext
                   6889: cat >>conftest.$ac_ext <<_ACEOF
                   6890: /* end confdefs.h.  */
                   6891: 
                   6892: /* Override any gcc2 internal prototype to avoid an error.  */
                   6893: #ifdef __cplusplus
                   6894: extern "C"
                   6895: #endif
                   6896: /* We use char because int might match the return type of a gcc2
                   6897:    builtin and then its argument prototype would still apply.  */
                   6898: char dlopen ();
                   6899: int
                   6900: main ()
                   6901: {
                   6902: dlopen ();
                   6903:   ;
                   6904:   return 0;
                   6905: }
                   6906: _ACEOF
                   6907: rm -f conftest.$ac_objext conftest$ac_exeext
                   6908: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6909:   (eval $ac_link) 2>&5
                   6910:   ac_status=$?
                   6911:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6912:   (exit $ac_status); } &&
                   6913:          { ac_try='test -s conftest$ac_exeext'
                   6914:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6915:   (eval $ac_try) 2>&5
                   6916:   ac_status=$?
                   6917:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6918:   (exit $ac_status); }; }; then
                   6919:   ac_cv_lib_dl_dlopen=yes
                   6920: else
                   6921:   echo "$as_me: failed program was:" >&5
                   6922: sed 's/^/| /' conftest.$ac_ext >&5
                   6923: 
                   6924: ac_cv_lib_dl_dlopen=no
                   6925: fi
                   6926: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6927: LIBS=$ac_check_lib_save_LIBS
                   6928: fi
                   6929: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   6930: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   6931: if test $ac_cv_lib_dl_dlopen = yes; then
                   6932:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   6933: else
                   6934:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   6935: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   6936: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   6937:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6938: else
                   6939:   ac_check_lib_save_LIBS=$LIBS
                   6940: LIBS="-lsvld  $LIBS"
                   6941: cat >conftest.$ac_ext <<_ACEOF
                   6942: #line $LINENO "configure"
                   6943: /* confdefs.h.  */
                   6944: _ACEOF
                   6945: cat confdefs.h >>conftest.$ac_ext
                   6946: cat >>conftest.$ac_ext <<_ACEOF
                   6947: /* end confdefs.h.  */
                   6948: 
                   6949: /* Override any gcc2 internal prototype to avoid an error.  */
                   6950: #ifdef __cplusplus
                   6951: extern "C"
                   6952: #endif
                   6953: /* We use char because int might match the return type of a gcc2
                   6954:    builtin and then its argument prototype would still apply.  */
                   6955: char dlopen ();
                   6956: int
                   6957: main ()
                   6958: {
                   6959: dlopen ();
                   6960:   ;
                   6961:   return 0;
                   6962: }
                   6963: _ACEOF
                   6964: rm -f conftest.$ac_objext conftest$ac_exeext
                   6965: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6966:   (eval $ac_link) 2>&5
                   6967:   ac_status=$?
                   6968:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6969:   (exit $ac_status); } &&
                   6970:          { ac_try='test -s conftest$ac_exeext'
                   6971:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6972:   (eval $ac_try) 2>&5
                   6973:   ac_status=$?
                   6974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6975:   (exit $ac_status); }; }; then
                   6976:   ac_cv_lib_svld_dlopen=yes
                   6977: else
                   6978:   echo "$as_me: failed program was:" >&5
                   6979: sed 's/^/| /' conftest.$ac_ext >&5
                   6980: 
                   6981: ac_cv_lib_svld_dlopen=no
                   6982: fi
                   6983: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6984: LIBS=$ac_check_lib_save_LIBS
                   6985: fi
                   6986: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   6987: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   6988: if test $ac_cv_lib_svld_dlopen = yes; then
                   6989:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   6990: else
                   6991:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   6992: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   6993: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   6994:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6995: else
                   6996:   ac_check_lib_save_LIBS=$LIBS
                   6997: LIBS="-ldld  $LIBS"
                   6998: cat >conftest.$ac_ext <<_ACEOF
                   6999: #line $LINENO "configure"
                   7000: /* confdefs.h.  */
                   7001: _ACEOF
                   7002: cat confdefs.h >>conftest.$ac_ext
                   7003: cat >>conftest.$ac_ext <<_ACEOF
                   7004: /* end confdefs.h.  */
                   7005: 
                   7006: /* Override any gcc2 internal prototype to avoid an error.  */
                   7007: #ifdef __cplusplus
                   7008: extern "C"
                   7009: #endif
                   7010: /* We use char because int might match the return type of a gcc2
                   7011:    builtin and then its argument prototype would still apply.  */
                   7012: char dld_link ();
                   7013: int
                   7014: main ()
                   7015: {
                   7016: dld_link ();
                   7017:   ;
                   7018:   return 0;
                   7019: }
                   7020: _ACEOF
                   7021: rm -f conftest.$ac_objext conftest$ac_exeext
                   7022: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7023:   (eval $ac_link) 2>&5
                   7024:   ac_status=$?
                   7025:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7026:   (exit $ac_status); } &&
                   7027:          { ac_try='test -s conftest$ac_exeext'
                   7028:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7029:   (eval $ac_try) 2>&5
                   7030:   ac_status=$?
                   7031:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7032:   (exit $ac_status); }; }; then
                   7033:   ac_cv_lib_dld_dld_link=yes
                   7034: else
                   7035:   echo "$as_me: failed program was:" >&5
                   7036: sed 's/^/| /' conftest.$ac_ext >&5
                   7037: 
                   7038: ac_cv_lib_dld_dld_link=no
                   7039: fi
                   7040: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7041: LIBS=$ac_check_lib_save_LIBS
                   7042: fi
                   7043: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   7044: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   7045: if test $ac_cv_lib_dld_dld_link = yes; then
                   7046:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
                   7047: fi
                   7048: 
                   7049: 
                   7050: fi
                   7051: 
                   7052: 
                   7053: fi
                   7054: 
                   7055: 
                   7056: fi
                   7057: 
                   7058: 
                   7059: fi
                   7060: 
                   7061: 
                   7062: fi
                   7063: 
                   7064:     ;;
                   7065:   esac
                   7066: 
                   7067:   if test "x$lt_cv_dlopen" != xno; then
                   7068:     enable_dlopen=yes
                   7069:   else
                   7070:     enable_dlopen=no
                   7071:   fi
                   7072: 
                   7073:   case $lt_cv_dlopen in
                   7074:   dlopen)
                   7075:     save_CPPFLAGS="$CPPFLAGS"
                   7076:         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   7077: 
                   7078:     save_LDFLAGS="$LDFLAGS"
                   7079:     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   7080: 
                   7081:     save_LIBS="$LIBS"
                   7082:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   7083: 
                   7084:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   7085: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   7086: if test "${lt_cv_dlopen_self+set}" = set; then
                   7087:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7088: else
                   7089:          if test "$cross_compiling" = yes; then :
                   7090:   lt_cv_dlopen_self=cross
                   7091: else
                   7092:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7093:   lt_status=$lt_dlunknown
                   7094:   cat > conftest.$ac_ext <<EOF
                   7095: #line 7095 "configure"
                   7096: #include "confdefs.h"
                   7097: 
                   7098: #if HAVE_DLFCN_H
                   7099: #include <dlfcn.h>
                   7100: #endif
                   7101: 
                   7102: #include <stdio.h>
                   7103: 
                   7104: #ifdef RTLD_GLOBAL
                   7105: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7106: #else
                   7107: #  ifdef DL_GLOBAL
                   7108: #    define LT_DLGLOBAL                DL_GLOBAL
                   7109: #  else
                   7110: #    define LT_DLGLOBAL                0
                   7111: #  endif
                   7112: #endif
                   7113: 
                   7114: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7115:    find out it does not work in some platform. */
                   7116: #ifndef LT_DLLAZY_OR_NOW
                   7117: #  ifdef RTLD_LAZY
                   7118: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   7119: #  else
                   7120: #    ifdef DL_LAZY
                   7121: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   7122: #    else
                   7123: #      ifdef RTLD_NOW
                   7124: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   7125: #      else
                   7126: #        ifdef DL_NOW
                   7127: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   7128: #        else
                   7129: #          define LT_DLLAZY_OR_NOW     0
                   7130: #        endif
                   7131: #      endif
                   7132: #    endif
                   7133: #  endif
                   7134: #endif
                   7135: 
                   7136: #ifdef __cplusplus
                   7137: extern "C" void exit (int);
                   7138: #endif
                   7139: 
                   7140: void fnord() { int i=42;}
                   7141: int main ()
                   7142: {
                   7143:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   7144:   int status = $lt_dlunknown;
                   7145: 
                   7146:   if (self)
                   7147:     {
                   7148:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   7149:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   7150:       /* dlclose (self); */
                   7151:     }
                   7152: 
                   7153:     exit (status);
                   7154: }
                   7155: EOF
                   7156:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7157:   (eval $ac_link) 2>&5
                   7158:   ac_status=$?
                   7159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7160:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   7161:     (./conftest; exit; ) 2>/dev/null
                   7162:     lt_status=$?
                   7163:     case x$lt_status in
                   7164:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   7165:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   7166:       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
                   7167:     esac
                   7168:   else :
                   7169:     # compilation failed
                   7170:     lt_cv_dlopen_self=no
                   7171:   fi
                   7172: fi
                   7173: rm -fr conftest*
                   7174: 
                   7175: 
                   7176: fi
                   7177: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   7178: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   7179: 
                   7180:     if test "x$lt_cv_dlopen_self" = xyes; then
                   7181:       LDFLAGS="$LDFLAGS $link_static_flag"
                   7182:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   7183: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   7184: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   7185:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7186: else
                   7187:          if test "$cross_compiling" = yes; then :
                   7188:   lt_cv_dlopen_self_static=cross
                   7189: else
                   7190:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7191:   lt_status=$lt_dlunknown
                   7192:   cat > conftest.$ac_ext <<EOF
                   7193: #line 7193 "configure"
                   7194: #include "confdefs.h"
                   7195: 
                   7196: #if HAVE_DLFCN_H
                   7197: #include <dlfcn.h>
                   7198: #endif
                   7199: 
                   7200: #include <stdio.h>
                   7201: 
                   7202: #ifdef RTLD_GLOBAL
                   7203: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7204: #else
                   7205: #  ifdef DL_GLOBAL
                   7206: #    define LT_DLGLOBAL                DL_GLOBAL
                   7207: #  else
                   7208: #    define LT_DLGLOBAL                0
                   7209: #  endif
                   7210: #endif
                   7211: 
                   7212: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7213:    find out it does not work in some platform. */
                   7214: #ifndef LT_DLLAZY_OR_NOW
                   7215: #  ifdef RTLD_LAZY
                   7216: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   7217: #  else
                   7218: #    ifdef DL_LAZY
                   7219: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   7220: #    else
                   7221: #      ifdef RTLD_NOW
                   7222: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   7223: #      else
                   7224: #        ifdef DL_NOW
                   7225: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   7226: #        else
                   7227: #          define LT_DLLAZY_OR_NOW     0
                   7228: #        endif
                   7229: #      endif
                   7230: #    endif
                   7231: #  endif
                   7232: #endif
                   7233: 
                   7234: #ifdef __cplusplus
                   7235: extern "C" void exit (int);
                   7236: #endif
                   7237: 
                   7238: void fnord() { int i=42;}
                   7239: int main ()
                   7240: {
                   7241:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   7242:   int status = $lt_dlunknown;
                   7243: 
                   7244:   if (self)
                   7245:     {
                   7246:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   7247:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   7248:       /* dlclose (self); */
                   7249:     }
                   7250: 
                   7251:     exit (status);
                   7252: }
                   7253: EOF
                   7254:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7255:   (eval $ac_link) 2>&5
                   7256:   ac_status=$?
                   7257:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7258:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   7259:     (./conftest; exit; ) 2>/dev/null
                   7260:     lt_status=$?
                   7261:     case x$lt_status in
                   7262:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   7263:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   7264:       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
                   7265:     esac
                   7266:   else :
                   7267:     # compilation failed
                   7268:     lt_cv_dlopen_self_static=no
                   7269:   fi
                   7270: fi
                   7271: rm -fr conftest*
                   7272: 
                   7273: 
                   7274: fi
                   7275: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   7276: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   7277:     fi
                   7278: 
                   7279:     CPPFLAGS="$save_CPPFLAGS"
                   7280:     LDFLAGS="$save_LDFLAGS"
                   7281:     LIBS="$save_LIBS"
                   7282:     ;;
                   7283:   esac
                   7284: 
                   7285:   case $lt_cv_dlopen_self in
                   7286:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   7287:   *) enable_dlopen_self=unknown ;;
                   7288:   esac
                   7289: 
                   7290:   case $lt_cv_dlopen_self_static in
                   7291:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   7292:   *) enable_dlopen_self_static=unknown ;;
                   7293:   esac
                   7294: fi
                   7295: 
                   7296: 
                   7297: if test "$enable_shared" = yes && test "$GCC" = yes; then
                   7298:   case $archive_cmds in
                   7299:   *'~'*)
                   7300:     # FIXME: we may have to deal with multi-command sequences.
                   7301:     ;;
                   7302:   '$CC '*)
                   7303:     # Test whether the compiler implicitly links with -lc since on some
                   7304:     # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   7305:     # to ld, don't add -lc before -lgcc.
                   7306:     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   7307: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   7308:     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   7309:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7310: else
                   7311:   $rm conftest*
                   7312:     echo 'static int dummy;' > conftest.$ac_ext
                   7313: 
                   7314:     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7315:   (eval $ac_compile) 2>&5
                   7316:   ac_status=$?
                   7317:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7318:   (exit $ac_status); }; then
                   7319:       soname=conftest
                   7320:       lib=conftest
                   7321:       libobjs=conftest.$ac_objext
                   7322:       deplibs=
                   7323:       wl=$lt_cv_prog_cc_wl
                   7324:       compiler_flags=-v
                   7325:       linker_flags=-v
                   7326:       verstring=
                   7327:       output_objdir=.
                   7328:       libname=conftest
                   7329:       save_allow_undefined_flag=$allow_undefined_flag
                   7330:       allow_undefined_flag=
                   7331:       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   7332:   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   7333:   ac_status=$?
                   7334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7335:   (exit $ac_status); }
                   7336:       then
                   7337:        lt_cv_archive_cmds_need_lc=no
                   7338:       else
                   7339:        lt_cv_archive_cmds_need_lc=yes
                   7340:       fi
                   7341:       allow_undefined_flag=$save_allow_undefined_flag
                   7342:     else
                   7343:       cat conftest.err 1>&5
                   7344:     fi
                   7345: fi
                   7346: 
                   7347:     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   7348: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   7349:     ;;
                   7350:   esac
                   7351: fi
                   7352: need_lc=${lt_cv_archive_cmds_need_lc-yes}
                   7353: 
                   7354: # The second clause should only fire when bootstrapping the
                   7355: # libtool distribution, otherwise you forgot to ship ltmain.sh
                   7356: # with your package, and you will get complaints that there are
                   7357: # no rules to generate ltmain.sh.
                   7358: if test -f "$ltmain"; then
                   7359:   :
                   7360: else
                   7361:   # If there is no Makefile yet, we rely on a make rule to execute
                   7362:   # `config.status --recheck' to rerun these tests and create the
                   7363:   # libtool script then.
                   7364:   test -f Makefile && make "$ltmain"
                   7365: fi
                   7366: 
                   7367: if test -f "$ltmain"; then
                   7368:   trap "$rm \"${ofile}T\"; exit 1" 1 2 15
                   7369:   $rm -f "${ofile}T"
                   7370: 
                   7371:   echo creating $ofile
                   7372: 
                   7373:   # Now quote all the things that may contain metacharacters while being
                   7374:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
                   7375:   # variables and quote the copies for generation of the libtool script.
                   7376:   for var in echo old_CC old_CFLAGS SED \
                   7377:     AR AR_FLAGS CC LD LN_S NM SHELL \
                   7378:     reload_flag reload_cmds wl \
                   7379:     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
                   7380:     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
                   7381:     library_names_spec soname_spec \
                   7382:     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
                   7383:     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
                   7384:     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
                   7385:     old_striplib striplib file_magic_cmd export_symbols_cmds \
                   7386:     deplibs_check_method allow_undefined_flag no_undefined_flag \
                   7387:     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
                   7388:     global_symbol_to_c_name_address \
                   7389:     hardcode_libdir_flag_spec hardcode_libdir_separator  \
                   7390:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
                   7391:     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
                   7392: 
                   7393:     case $var in
                   7394:     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
                   7395:     old_postinstall_cmds | old_postuninstall_cmds | \
                   7396:     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
                   7397:     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
                   7398:     postinstall_cmds | postuninstall_cmds | \
                   7399:     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
                   7400:       # Double-quote double-evaled strings.
                   7401:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
                   7402:       ;;
                   7403:     *)
                   7404:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
                   7405:       ;;
                   7406:     esac
                   7407:   done
                   7408: 
                   7409:   cat <<__EOF__ > "${ofile}T"
                   7410: #! $SHELL
                   7411: 
                   7412: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   7413: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
                   7414: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   7415: #
                   7416: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
                   7417: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
                   7418: #
                   7419: # This program is free software; you can redistribute it and/or modify
                   7420: # it under the terms of the GNU General Public License as published by
                   7421: # the Free Software Foundation; either version 2 of the License, or
                   7422: # (at your option) any later version.
                   7423: #
                   7424: # This program is distributed in the hope that it will be useful, but
                   7425: # WITHOUT ANY WARRANTY; without even the implied warranty of
                   7426: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                   7427: # General Public License for more details.
                   7428: #
                   7429: # You should have received a copy of the GNU General Public License
                   7430: # along with this program; if not, write to the Free Software
                   7431: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   7432: #
                   7433: # As a special exception to the GNU General Public License, if you
                   7434: # distribute this file as part of a program that contains a
                   7435: # configuration script generated by Autoconf, you may include it under
                   7436: # the same distribution terms that you use for the rest of that program.
                   7437: 
                   7438: # A sed that does not truncate output.
                   7439: SED=$lt_SED
                   7440: 
                   7441: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   7442: Xsed="${SED} -e s/^X//"
                   7443: 
                   7444: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   7445: # if CDPATH is set.
                   7446: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                   7447: 
                   7448: # ### BEGIN LIBTOOL CONFIG
                   7449: 
                   7450: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   7451: 
                   7452: # Shell to use when invoking shell scripts.
                   7453: SHELL=$lt_SHELL
                   7454: 
                   7455: # Whether or not to build shared libraries.
                   7456: build_libtool_libs=$enable_shared
                   7457: 
                   7458: # Whether or not to build static libraries.
                   7459: build_old_libs=$enable_static
                   7460: 
                   7461: # Whether or not to add -lc for building shared libraries.
                   7462: build_libtool_need_lc=$need_lc
                   7463: 
                   7464: # Whether or not to optimize for fast installation.
                   7465: fast_install=$enable_fast_install
                   7466: 
                   7467: # The host system.
                   7468: host_alias=$host_alias
                   7469: host=$host
                   7470: 
                   7471: # An echo program that does not interpret backslashes.
                   7472: echo=$lt_echo
                   7473: 
                   7474: # The archiver.
                   7475: AR=$lt_AR
                   7476: AR_FLAGS=$lt_AR_FLAGS
                   7477: 
                   7478: # The default C compiler.
                   7479: CC=$lt_CC
                   7480: 
                   7481: # Is the compiler the GNU C compiler?
                   7482: with_gcc=$GCC
                   7483: 
                   7484: # The linker used to build libraries.
                   7485: LD=$lt_LD
                   7486: 
                   7487: # Whether we need hard or soft links.
                   7488: LN_S=$lt_LN_S
                   7489: 
                   7490: # A BSD-compatible nm program.
                   7491: NM=$lt_NM
                   7492: 
                   7493: # A symbol stripping program
                   7494: STRIP=$STRIP
                   7495: 
                   7496: # Used to examine libraries when file_magic_cmd begins "file"
                   7497: MAGIC_CMD=$MAGIC_CMD
                   7498: 
                   7499: # Used on cygwin: DLL creation program.
                   7500: DLLTOOL="$DLLTOOL"
                   7501: 
                   7502: # Used on cygwin: object dumper.
                   7503: OBJDUMP="$OBJDUMP"
                   7504: 
                   7505: # Used on cygwin: assembler.
                   7506: AS="$AS"
                   7507: 
                   7508: # The name of the directory that contains temporary libtool files.
                   7509: objdir=$objdir
                   7510: 
                   7511: # How to create reloadable object files.
                   7512: reload_flag=$lt_reload_flag
                   7513: reload_cmds=$lt_reload_cmds
                   7514: 
                   7515: # How to pass a linker flag through the compiler.
                   7516: wl=$lt_wl
                   7517: 
                   7518: # Object file suffix (normally "o").
                   7519: objext="$ac_objext"
                   7520: 
                   7521: # Old archive suffix (normally "a").
                   7522: libext="$libext"
                   7523: 
                   7524: # Executable file suffix (normally "").
                   7525: exeext="$exeext"
                   7526: 
                   7527: # Additional compiler flags for building library objects.
                   7528: pic_flag=$lt_pic_flag
                   7529: pic_mode=$pic_mode
                   7530: 
                   7531: # Does compiler simultaneously support -c and -o options?
                   7532: compiler_c_o=$lt_compiler_c_o
                   7533: 
                   7534: # Can we write directly to a .lo ?
                   7535: compiler_o_lo=$lt_compiler_o_lo
                   7536: 
                   7537: # Must we lock files when doing compilation ?
                   7538: need_locks=$lt_need_locks
                   7539: 
                   7540: # Do we need the lib prefix for modules?
                   7541: need_lib_prefix=$need_lib_prefix
                   7542: 
                   7543: # Do we need a version for libraries?
                   7544: need_version=$need_version
                   7545: 
                   7546: # Whether dlopen is supported.
                   7547: dlopen_support=$enable_dlopen
                   7548: 
                   7549: # Whether dlopen of programs is supported.
                   7550: dlopen_self=$enable_dlopen_self
                   7551: 
                   7552: # Whether dlopen of statically linked programs is supported.
                   7553: dlopen_self_static=$enable_dlopen_self_static
                   7554: 
                   7555: # Compiler flag to prevent dynamic linking.
                   7556: link_static_flag=$lt_link_static_flag
                   7557: 
                   7558: # Compiler flag to turn off builtin functions.
                   7559: no_builtin_flag=$lt_no_builtin_flag
                   7560: 
                   7561: # Compiler flag to allow reflexive dlopens.
                   7562: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   7563: 
                   7564: # Compiler flag to generate shared objects directly from archives.
                   7565: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   7566: 
                   7567: # Compiler flag to generate thread-safe objects.
                   7568: thread_safe_flag_spec=$lt_thread_safe_flag_spec
                   7569: 
                   7570: # Library versioning type.
                   7571: version_type=$version_type
                   7572: 
                   7573: # Format of library name prefix.
                   7574: libname_spec=$lt_libname_spec
                   7575: 
                   7576: # List of archive names.  First name is the real one, the rest are links.
                   7577: # The last name is the one that the linker finds with -lNAME.
                   7578: library_names_spec=$lt_library_names_spec
                   7579: 
                   7580: # The coded name of the library, if different from the real name.
                   7581: soname_spec=$lt_soname_spec
                   7582: 
                   7583: # Commands used to build and install an old-style archive.
                   7584: RANLIB=$lt_RANLIB
                   7585: old_archive_cmds=$lt_old_archive_cmds
                   7586: old_postinstall_cmds=$lt_old_postinstall_cmds
                   7587: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   7588: 
                   7589: # Create an old-style archive from a shared archive.
                   7590: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   7591: 
                   7592: # Create a temporary old-style archive to link instead of a shared archive.
                   7593: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   7594: 
                   7595: # Commands used to build and install a shared archive.
                   7596: archive_cmds=$lt_archive_cmds
                   7597: archive_expsym_cmds=$lt_archive_expsym_cmds
                   7598: postinstall_cmds=$lt_postinstall_cmds
                   7599: postuninstall_cmds=$lt_postuninstall_cmds
                   7600: 
                   7601: # Commands to strip libraries.
                   7602: old_striplib=$lt_old_striplib
                   7603: striplib=$lt_striplib
                   7604: 
                   7605: # Method to check whether dependent libraries are shared objects.
                   7606: deplibs_check_method=$lt_deplibs_check_method
                   7607: 
                   7608: # Command to use when deplibs_check_method == file_magic.
                   7609: file_magic_cmd=$lt_file_magic_cmd
                   7610: 
                   7611: # Flag that allows shared libraries with undefined symbols to be built.
                   7612: allow_undefined_flag=$lt_allow_undefined_flag
                   7613: 
                   7614: # Flag that forces no undefined symbols.
                   7615: no_undefined_flag=$lt_no_undefined_flag
                   7616: 
                   7617: # Commands used to finish a libtool library installation in a directory.
                   7618: finish_cmds=$lt_finish_cmds
                   7619: 
                   7620: # Same as above, but a single script fragment to be evaled but not shown.
                   7621: finish_eval=$lt_finish_eval
                   7622: 
                   7623: # Take the output of nm and produce a listing of raw symbols and C names.
                   7624: global_symbol_pipe=$lt_global_symbol_pipe
                   7625: 
                   7626: # Transform the output of nm in a proper C declaration
                   7627: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
                   7628: 
                   7629: # Transform the output of nm in a C name address pair
                   7630: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
                   7631: 
                   7632: # This is the shared library runtime path variable.
                   7633: runpath_var=$runpath_var
                   7634: 
                   7635: # This is the shared library path variable.
                   7636: shlibpath_var=$shlibpath_var
                   7637: 
                   7638: # Is shlibpath searched before the hard-coded library search path?
                   7639: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   7640: 
                   7641: # How to hardcode a shared library path into an executable.
                   7642: hardcode_action=$hardcode_action
                   7643: 
                   7644: # Whether we should hardcode library paths into libraries.
                   7645: hardcode_into_libs=$hardcode_into_libs
                   7646: 
                   7647: # Flag to hardcode \$libdir into a binary during linking.
                   7648: # This must work even if \$libdir does not exist.
                   7649: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   7650: 
                   7651: # Whether we need a single -rpath flag with a separated argument.
                   7652: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   7653: 
                   7654: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
                   7655: # resulting binary.
                   7656: hardcode_direct=$hardcode_direct
                   7657: 
                   7658: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
                   7659: # resulting binary.
                   7660: hardcode_minus_L=$hardcode_minus_L
                   7661: 
                   7662: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
                   7663: # the resulting binary.
                   7664: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   7665: 
                   7666: # Variables whose values should be saved in libtool wrapper scripts and
                   7667: # restored at relink time.
                   7668: variables_saved_for_relink="$variables_saved_for_relink"
                   7669: 
                   7670: # Whether libtool must link a program against all its dependency libraries.
                   7671: link_all_deplibs=$link_all_deplibs
                   7672: 
                   7673: # Compile-time system search path for libraries
                   7674: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   7675: 
                   7676: # Run-time system search path for libraries
                   7677: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   7678: 
                   7679: # Fix the shell variable \$srcfile for the compiler.
                   7680: fix_srcfile_path="$fix_srcfile_path"
                   7681: 
                   7682: # Set to yes if exported symbols are required.
                   7683: always_export_symbols=$always_export_symbols
                   7684: 
                   7685: # The commands to list exported symbols.
                   7686: export_symbols_cmds=$lt_export_symbols_cmds
                   7687: 
                   7688: # The commands to extract the exported symbol list from a shared archive.
                   7689: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   7690: 
                   7691: # Symbols that should not be listed in the preloaded symbols.
                   7692: exclude_expsyms=$lt_exclude_expsyms
                   7693: 
                   7694: # Symbols that must always be exported.
                   7695: include_expsyms=$lt_include_expsyms
                   7696: 
                   7697: # ### END LIBTOOL CONFIG
                   7698: 
                   7699: __EOF__
                   7700: 
                   7701:   case $host_os in
                   7702:   aix3*)
                   7703:     cat <<\EOF >> "${ofile}T"
                   7704: 
                   7705: # AIX sometimes has problems with the GCC collect2 program.  For some
                   7706: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7707: # vanish in a puff of smoke.
                   7708: if test "X${COLLECT_NAMES+set}" != Xset; then
                   7709:   COLLECT_NAMES=
                   7710:   export COLLECT_NAMES
                   7711: fi
                   7712: EOF
                   7713:     ;;
                   7714:   esac
                   7715: 
                   7716:   case $host_os in
                   7717:   cygwin* | mingw* | pw32* | os2*)
                   7718:     cat <<'EOF' >> "${ofile}T"
                   7719:       # This is a source program that is used to create dlls on Windows
                   7720:       # Don't remove nor modify the starting and closing comments
                   7721: # /* ltdll.c starts here */
                   7722: # #define WIN32_LEAN_AND_MEAN
                   7723: # #include <windows.h>
                   7724: # #undef WIN32_LEAN_AND_MEAN
                   7725: # #include <stdio.h>
                   7726: #
                   7727: # #ifndef __CYGWIN__
                   7728: # #  ifdef __CYGWIN32__
                   7729: # #    define __CYGWIN__ __CYGWIN32__
                   7730: # #  endif
                   7731: # #endif
                   7732: #
                   7733: # #ifdef __cplusplus
                   7734: # extern "C" {
                   7735: # #endif
                   7736: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
                   7737: # #ifdef __cplusplus
                   7738: # }
                   7739: # #endif
                   7740: #
                   7741: # #ifdef __CYGWIN__
                   7742: # #include <cygwin/cygwin_dll.h>
                   7743: # DECLARE_CYGWIN_DLL( DllMain );
                   7744: # #endif
                   7745: # HINSTANCE __hDllInstance_base;
                   7746: #
                   7747: # BOOL APIENTRY
                   7748: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
                   7749: # {
                   7750: #   __hDllInstance_base = hInst;
                   7751: #   return TRUE;
                   7752: # }
                   7753: # /* ltdll.c ends here */
                   7754:        # This is a source program that is used to create import libraries
                   7755:        # on Windows for dlls which lack them. Don't remove nor modify the
                   7756:        # starting and closing comments
                   7757: # /* impgen.c starts here */
                   7758: # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
                   7759: #
                   7760: #  This file is part of GNU libtool.
                   7761: #
                   7762: #  This program is free software; you can redistribute it and/or modify
                   7763: #  it under the terms of the GNU General Public License as published by
                   7764: #  the Free Software Foundation; either version 2 of the License, or
                   7765: #  (at your option) any later version.
                   7766: #
                   7767: #  This program is distributed in the hope that it will be useful,
                   7768: #  but WITHOUT ANY WARRANTY; without even the implied warranty of
                   7769: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   7770: #  GNU General Public License for more details.
                   7771: #
                   7772: #  You should have received a copy of the GNU General Public License
                   7773: #  along with this program; if not, write to the Free Software
                   7774: #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   7775: #  */
                   7776: #
                   7777: # #include <stdio.h>           /* for printf() */
                   7778: # #include <unistd.h>          /* for open(), lseek(), read() */
                   7779: # #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
                   7780: # #include <string.h>          /* for strdup() */
                   7781: #
                   7782: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
                   7783: # #ifndef O_BINARY
                   7784: # #define O_BINARY 0
                   7785: # #endif
                   7786: #
                   7787: # static unsigned int
                   7788: # pe_get16 (fd, offset)
                   7789: #      int fd;
                   7790: #      int offset;
                   7791: # {
                   7792: #   unsigned char b[2];
                   7793: #   lseek (fd, offset, SEEK_SET);
                   7794: #   read (fd, b, 2);
                   7795: #   return b[0] + (b[1]<<8);
                   7796: # }
                   7797: #
                   7798: # static unsigned int
                   7799: # pe_get32 (fd, offset)
                   7800: #     int fd;
                   7801: #     int offset;
                   7802: # {
                   7803: #   unsigned char b[4];
                   7804: #   lseek (fd, offset, SEEK_SET);
                   7805: #   read (fd, b, 4);
                   7806: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   7807: # }
                   7808: #
                   7809: # static unsigned int
                   7810: # pe_as32 (ptr)
                   7811: #      void *ptr;
                   7812: # {
                   7813: #   unsigned char *b = ptr;
                   7814: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   7815: # }
                   7816: #
                   7817: # int
                   7818: # main (argc, argv)
                   7819: #     int argc;
                   7820: #     char *argv[];
                   7821: # {
                   7822: #     int dll;
                   7823: #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
                   7824: #     unsigned long export_rva, export_size, nsections, secptr, expptr;
                   7825: #     unsigned long name_rvas, nexp;
                   7826: #     unsigned char *expdata, *erva;
                   7827: #     char *filename, *dll_name;
                   7828: #
                   7829: #     filename = argv[1];
                   7830: #
                   7831: #     dll = open(filename, O_RDONLY|O_BINARY);
                   7832: #     if (dll < 1)
                   7833: #      return 1;
                   7834: #
                   7835: #     dll_name = filename;
                   7836: #
                   7837: #     for (i=0; filename[i]; i++)
                   7838: #      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
                   7839: #          dll_name = filename + i +1;
                   7840: #
                   7841: #     pe_header_offset = pe_get32 (dll, 0x3c);
                   7842: #     opthdr_ofs = pe_header_offset + 4 + 20;
                   7843: #     num_entries = pe_get32 (dll, opthdr_ofs + 92);
                   7844: #
                   7845: #     if (num_entries < 1) /* no exports */
                   7846: #      return 1;
                   7847: #
                   7848: #     export_rva = pe_get32 (dll, opthdr_ofs + 96);
                   7849: #     export_size = pe_get32 (dll, opthdr_ofs + 100);
                   7850: #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
                   7851: #     secptr = (pe_header_offset + 4 + 20 +
                   7852: #            pe_get16 (dll, pe_header_offset + 4 + 16));
                   7853: #
                   7854: #     expptr = 0;
                   7855: #     for (i = 0; i < nsections; i++)
                   7856: #     {
                   7857: #      char sname[8];
                   7858: #      unsigned long secptr1 = secptr + 40 * i;
                   7859: #      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
                   7860: #      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
                   7861: #      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
                   7862: #      lseek(dll, secptr1, SEEK_SET);
                   7863: #      read(dll, sname, 8);
                   7864: #      if (vaddr <= export_rva && vaddr+vsize > export_rva)
                   7865: #      {
                   7866: #          expptr = fptr + (export_rva - vaddr);
                   7867: #          if (export_rva + export_size > vaddr + vsize)
                   7868: #              export_size = vsize - (export_rva - vaddr);
                   7869: #          break;
                   7870: #      }
                   7871: #     }
                   7872: #
                   7873: #     expdata = (unsigned char*)malloc(export_size);
                   7874: #     lseek (dll, expptr, SEEK_SET);
                   7875: #     read (dll, expdata, export_size);
                   7876: #     erva = expdata - export_rva;
                   7877: #
                   7878: #     nexp = pe_as32 (expdata+24);
                   7879: #     name_rvas = pe_as32 (expdata+32);
                   7880: #
                   7881: #     printf ("EXPORTS\n");
                   7882: #     for (i = 0; i<nexp; i++)
                   7883: #     {
                   7884: #      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
                   7885: #      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
                   7886: #     }
                   7887: #
                   7888: #     return 0;
                   7889: # }
                   7890: # /* impgen.c ends here */
                   7891: 
                   7892: EOF
                   7893:     ;;
                   7894:   esac
                   7895: 
                   7896:   # We use sed instead of cat because bash on DJGPP gets confused if
                   7897:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   7898:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   7899:   # is reportedly fixed, but why not run on old versions too?
                   7900:   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
                   7901: 
                   7902:   mv -f "${ofile}T" "$ofile" || \
                   7903:     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
                   7904:   chmod +x "$ofile"
                   7905: fi
                   7906: 
                   7907: 
                   7908: 
                   7909: 
                   7910: 
                   7911: # This can be used to rebuild libtool when needed
                   7912: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
                   7913: 
                   7914: # Always use our own libtool.
                   7915: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   7916: 
                   7917: # Prevent multiple expansion
                   7918: 
                   7919: 
                   7920: 
                   7921: 
                   7922: 
                   7923: 
                   7924: 
                   7925: ac_header_dirent=no
                   7926: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   7927:   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   7928: echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
                   7929: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
                   7930: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7931:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7932: else
                   7933:   cat >conftest.$ac_ext <<_ACEOF
                   7934: #line $LINENO "configure"
                   7935: /* confdefs.h.  */
                   7936: _ACEOF
                   7937: cat confdefs.h >>conftest.$ac_ext
                   7938: cat >>conftest.$ac_ext <<_ACEOF
                   7939: /* end confdefs.h.  */
                   7940: #include <sys/types.h>
                   7941: #include <$ac_hdr>
                   7942: 
                   7943: int
                   7944: main ()
                   7945: {
                   7946: if ((DIR *) 0)
                   7947: return 0;
                   7948:   ;
                   7949:   return 0;
                   7950: }
                   7951: _ACEOF
                   7952: rm -f conftest.$ac_objext
                   7953: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7954:   (eval $ac_compile) 2>&5
                   7955:   ac_status=$?
                   7956:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7957:   (exit $ac_status); } &&
                   7958:          { ac_try='test -s conftest.$ac_objext'
                   7959:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7960:   (eval $ac_try) 2>&5
                   7961:   ac_status=$?
                   7962:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7963:   (exit $ac_status); }; }; then
                   7964:   eval "$as_ac_Header=yes"
                   7965: else
                   7966:   echo "$as_me: failed program was:" >&5
                   7967: sed 's/^/| /' conftest.$ac_ext >&5
                   7968: 
                   7969: eval "$as_ac_Header=no"
                   7970: fi
                   7971: rm -f conftest.$ac_objext conftest.$ac_ext
                   7972: fi
                   7973: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7974: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7975: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7976:   cat >>confdefs.h <<_ACEOF
                   7977: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   7978: _ACEOF
                   7979: 
                   7980: ac_header_dirent=$ac_hdr; break
                   7981: fi
                   7982: 
                   7983: done
                   7984: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   7985: if test $ac_header_dirent = dirent.h; then
                   7986:   echo "$as_me:$LINENO: checking for library containing opendir" >&5
                   7987: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
                   7988: if test "${ac_cv_search_opendir+set}" = set; then
                   7989:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7990: else
                   7991:   ac_func_search_save_LIBS=$LIBS
                   7992: ac_cv_search_opendir=no
                   7993: cat >conftest.$ac_ext <<_ACEOF
                   7994: #line $LINENO "configure"
                   7995: /* confdefs.h.  */
                   7996: _ACEOF
                   7997: cat confdefs.h >>conftest.$ac_ext
                   7998: cat >>conftest.$ac_ext <<_ACEOF
                   7999: /* end confdefs.h.  */
                   8000: 
                   8001: /* Override any gcc2 internal prototype to avoid an error.  */
                   8002: #ifdef __cplusplus
                   8003: extern "C"
                   8004: #endif
                   8005: /* We use char because int might match the return type of a gcc2
                   8006:    builtin and then its argument prototype would still apply.  */
                   8007: char opendir ();
                   8008: int
                   8009: main ()
                   8010: {
                   8011: opendir ();
                   8012:   ;
                   8013:   return 0;
                   8014: }
                   8015: _ACEOF
                   8016: rm -f conftest.$ac_objext conftest$ac_exeext
                   8017: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8018:   (eval $ac_link) 2>&5
                   8019:   ac_status=$?
                   8020:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8021:   (exit $ac_status); } &&
                   8022:          { ac_try='test -s conftest$ac_exeext'
                   8023:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8024:   (eval $ac_try) 2>&5
                   8025:   ac_status=$?
                   8026:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8027:   (exit $ac_status); }; }; then
                   8028:   ac_cv_search_opendir="none required"
                   8029: else
                   8030:   echo "$as_me: failed program was:" >&5
                   8031: sed 's/^/| /' conftest.$ac_ext >&5
                   8032: 
1.2       paf      8033: fi
1.4       paf      8034: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8035: if test "$ac_cv_search_opendir" = no; then
                   8036:   for ac_lib in dir; do
                   8037:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   8038:     cat >conftest.$ac_ext <<_ACEOF
                   8039: #line $LINENO "configure"
                   8040: /* confdefs.h.  */
                   8041: _ACEOF
                   8042: cat confdefs.h >>conftest.$ac_ext
                   8043: cat >>conftest.$ac_ext <<_ACEOF
                   8044: /* end confdefs.h.  */
1.2       paf      8045: 
1.4       paf      8046: /* Override any gcc2 internal prototype to avoid an error.  */
                   8047: #ifdef __cplusplus
                   8048: extern "C"
                   8049: #endif
                   8050: /* We use char because int might match the return type of a gcc2
                   8051:    builtin and then its argument prototype would still apply.  */
                   8052: char opendir ();
                   8053: int
                   8054: main ()
                   8055: {
                   8056: opendir ();
                   8057:   ;
                   8058:   return 0;
                   8059: }
1.2       paf      8060: _ACEOF
1.4       paf      8061: rm -f conftest.$ac_objext conftest$ac_exeext
                   8062: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8063:   (eval $ac_link) 2>&5
                   8064:   ac_status=$?
                   8065:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8066:   (exit $ac_status); } &&
                   8067:          { ac_try='test -s conftest$ac_exeext'
                   8068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8069:   (eval $ac_try) 2>&5
                   8070:   ac_status=$?
                   8071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8072:   (exit $ac_status); }; }; then
                   8073:   ac_cv_search_opendir="-l$ac_lib"
                   8074: break
                   8075: else
                   8076:   echo "$as_me: failed program was:" >&5
                   8077: sed 's/^/| /' conftest.$ac_ext >&5
1.2       paf      8078: 
1.4       paf      8079: fi
                   8080: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8081:   done
                   8082: fi
                   8083: LIBS=$ac_func_search_save_LIBS
                   8084: fi
                   8085: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
                   8086: echo "${ECHO_T}$ac_cv_search_opendir" >&6
                   8087: if test "$ac_cv_search_opendir" != no; then
                   8088:   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
1.2       paf      8089: 
                   8090: fi
1.4       paf      8091: 
                   8092: else
                   8093:   echo "$as_me:$LINENO: checking for library containing opendir" >&5
                   8094: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
                   8095: if test "${ac_cv_search_opendir+set}" = set; then
1.2       paf      8096:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8097: else
1.4       paf      8098:   ac_func_search_save_LIBS=$LIBS
                   8099: ac_cv_search_opendir=no
                   8100: cat >conftest.$ac_ext <<_ACEOF
                   8101: #line $LINENO "configure"
                   8102: /* confdefs.h.  */
                   8103: _ACEOF
                   8104: cat confdefs.h >>conftest.$ac_ext
                   8105: cat >>conftest.$ac_ext <<_ACEOF
                   8106: /* end confdefs.h.  */
                   8107: 
                   8108: /* Override any gcc2 internal prototype to avoid an error.  */
                   8109: #ifdef __cplusplus
                   8110: extern "C"
                   8111: #endif
                   8112: /* We use char because int might match the return type of a gcc2
                   8113:    builtin and then its argument prototype would still apply.  */
                   8114: char opendir ();
                   8115: int
                   8116: main ()
                   8117: {
                   8118: opendir ();
                   8119:   ;
                   8120:   return 0;
                   8121: }
                   8122: _ACEOF
                   8123: rm -f conftest.$ac_objext conftest$ac_exeext
                   8124: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8125:   (eval $ac_link) 2>&5
                   8126:   ac_status=$?
                   8127:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8128:   (exit $ac_status); } &&
                   8129:          { ac_try='test -s conftest$ac_exeext'
                   8130:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8131:   (eval $ac_try) 2>&5
                   8132:   ac_status=$?
                   8133:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8134:   (exit $ac_status); }; }; then
                   8135:   ac_cv_search_opendir="none required"
                   8136: else
                   8137:   echo "$as_me: failed program was:" >&5
                   8138: sed 's/^/| /' conftest.$ac_ext >&5
                   8139: 
                   8140: fi
                   8141: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8142: if test "$ac_cv_search_opendir" = no; then
                   8143:   for ac_lib in x; do
                   8144:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   8145:     cat >conftest.$ac_ext <<_ACEOF
1.2       paf      8146: #line $LINENO "configure"
                   8147: /* confdefs.h.  */
                   8148: _ACEOF
                   8149: cat confdefs.h >>conftest.$ac_ext
                   8150: cat >>conftest.$ac_ext <<_ACEOF
                   8151: /* end confdefs.h.  */
1.4       paf      8152: 
                   8153: /* Override any gcc2 internal prototype to avoid an error.  */
                   8154: #ifdef __cplusplus
                   8155: extern "C"
1.2       paf      8156: #endif
1.4       paf      8157: /* We use char because int might match the return type of a gcc2
                   8158:    builtin and then its argument prototype would still apply.  */
                   8159: char opendir ();
                   8160: int
                   8161: main ()
                   8162: {
                   8163: opendir ();
                   8164:   ;
                   8165:   return 0;
                   8166: }
1.2       paf      8167: _ACEOF
1.4       paf      8168: rm -f conftest.$ac_objext conftest$ac_exeext
                   8169: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8170:   (eval $ac_link) 2>&5
                   8171:   ac_status=$?
                   8172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8173:   (exit $ac_status); } &&
                   8174:          { ac_try='test -s conftest$ac_exeext'
                   8175:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8176:   (eval $ac_try) 2>&5
1.2       paf      8177:   ac_status=$?
                   8178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      8179:   (exit $ac_status); }; }; then
                   8180:   ac_cv_search_opendir="-l$ac_lib"
                   8181: break
                   8182: else
                   8183:   echo "$as_me: failed program was:" >&5
                   8184: sed 's/^/| /' conftest.$ac_ext >&5
                   8185: 
                   8186: fi
                   8187: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8188:   done
                   8189: fi
                   8190: LIBS=$ac_func_search_save_LIBS
                   8191: fi
                   8192: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
                   8193: echo "${ECHO_T}$ac_cv_search_opendir" >&6
                   8194: if test "$ac_cv_search_opendir" != no; then
                   8195:   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
                   8196: 
                   8197: fi
                   8198: 
                   8199: fi
                   8200: 
                   8201: echo "$as_me:$LINENO: checking whether $CC supports assert without backlinking" >&5
                   8202: echo $ECHO_N "checking whether $CC supports assert without backlinking... $ECHO_C" >&6
                   8203: if test "${lt_cv_func_assert_works+set}" = set; then
                   8204:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.2       paf      8205: else
1.4       paf      8206:   case $host in
                   8207:     *-*-solaris*)
                   8208:       if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
                   8209:         case `$CC --version 2>/dev/null` in
                   8210:         [12].*) lt_cv_func_assert_works=no ;;
                   8211:         *)        lt_cv_func_assert_works=yes ;;
                   8212:         esac
                   8213:       fi
                   8214:       ;;
                   8215:     esac
                   8216: fi
                   8217: echo "$as_me:$LINENO: result: $lt_cv_func_assert_works" >&5
                   8218: echo "${ECHO_T}$lt_cv_func_assert_works" >&6
                   8219: 
                   8220: if test "x$lt_cv_func_assert_works" = xyes; then
                   8221: 
                   8222: for ac_header in assert.h
                   8223: do
                   8224: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8225: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8226:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8227: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8228: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8229:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.2       paf      8230: fi
1.4       paf      8231: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8232: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8233: else
                   8234:   # Is the header compilable?
                   8235: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   8236: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   8237: cat >conftest.$ac_ext <<_ACEOF
                   8238: #line $LINENO "configure"
                   8239: /* confdefs.h.  */
                   8240: _ACEOF
                   8241: cat confdefs.h >>conftest.$ac_ext
                   8242: cat >>conftest.$ac_ext <<_ACEOF
                   8243: /* end confdefs.h.  */
                   8244: $ac_includes_default
                   8245: #include <$ac_header>
                   8246: _ACEOF
                   8247: rm -f conftest.$ac_objext
                   8248: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8249:   (eval $ac_compile) 2>&5
                   8250:   ac_status=$?
                   8251:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8252:   (exit $ac_status); } &&
                   8253:          { ac_try='test -s conftest.$ac_objext'
                   8254:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8255:   (eval $ac_try) 2>&5
                   8256:   ac_status=$?
                   8257:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8258:   (exit $ac_status); }; }; then
                   8259:   ac_header_compiler=yes
1.2       paf      8260: else
                   8261:   echo "$as_me: failed program was:" >&5
                   8262: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      8263: 
1.4       paf      8264: ac_header_compiler=no
1.1       paf      8265: fi
1.4       paf      8266: rm -f conftest.$ac_objext conftest.$ac_ext
                   8267: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   8268: echo "${ECHO_T}$ac_header_compiler" >&6
1.1       paf      8269: 
1.4       paf      8270: # Is the header present?
                   8271: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   8272: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   8273: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      8274: #line $LINENO "configure"
                   8275: /* confdefs.h.  */
                   8276: _ACEOF
                   8277: cat confdefs.h >>conftest.$ac_ext
                   8278: cat >>conftest.$ac_ext <<_ACEOF
                   8279: /* end confdefs.h.  */
1.4       paf      8280: #include <$ac_header>
1.2       paf      8281: _ACEOF
                   8282: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   8283:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   8284:   ac_status=$?
                   8285:   grep -v '^ *+' conftest.er1 >conftest.err
                   8286:   rm -f conftest.er1
                   8287:   cat conftest.err >&5
                   8288:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8289:   (exit $ac_status); } >/dev/null; then
                   8290:   if test -s conftest.err; then
                   8291:     ac_cpp_err=$ac_c_preproc_warn_flag
                   8292:   else
                   8293:     ac_cpp_err=
                   8294:   fi
1.1       paf      8295: else
1.2       paf      8296:   ac_cpp_err=yes
1.1       paf      8297: fi
1.2       paf      8298: if test -z "$ac_cpp_err"; then
1.4       paf      8299:   ac_header_preproc=yes
1.2       paf      8300: else
                   8301:   echo "$as_me: failed program was:" >&5
                   8302: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      8303: 
1.4       paf      8304:   ac_header_preproc=no
1.1       paf      8305: fi
1.2       paf      8306: rm -f conftest.err conftest.$ac_ext
1.4       paf      8307: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   8308: echo "${ECHO_T}$ac_header_preproc" >&6
                   8309: 
                   8310: # So?  What about this header?
                   8311: case $ac_header_compiler:$ac_header_preproc in
                   8312:   yes:no )
                   8313:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   8314: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   8315:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8316: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   8317:     (
                   8318:       cat <<\_ASBOX
                   8319: ## ------------------------------------ ##
                   8320: ## Report this to bug-autoconf@gnu.org. ##
                   8321: ## ------------------------------------ ##
                   8322: _ASBOX
                   8323:     ) |
                   8324:       sed "s/^/$as_me: WARNING:     /" >&2
                   8325:     ;;
                   8326:   no:yes )
                   8327:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   8328: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   8329:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   8330: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   8331:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8332: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   8333:     (
                   8334:       cat <<\_ASBOX
                   8335: ## ------------------------------------ ##
                   8336: ## Report this to bug-autoconf@gnu.org. ##
                   8337: ## ------------------------------------ ##
                   8338: _ASBOX
                   8339:     ) |
                   8340:       sed "s/^/$as_me: WARNING:     /" >&2
                   8341:     ;;
                   8342: esac
                   8343: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8344: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8345: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8346:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8347: else
                   8348:   eval "$as_ac_Header=$ac_header_preproc"
                   8349: fi
                   8350: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8351: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8352: 
                   8353: fi
                   8354: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   8355:   cat >>confdefs.h <<_ACEOF
                   8356: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8357: _ACEOF
                   8358: 
                   8359: fi
1.1       paf      8360: 
1.2       paf      8361: done
1.4       paf      8362: 
                   8363: fi
                   8364: 
                   8365: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   8366: if test "${enable_ltdl_install+set}" = set; then
                   8367:   enableval="$enable_ltdl_install"
                   8368: 
                   8369: fi;
                   8370: 
                   8371: 
                   8372: 
                   8373: if test x"${enable_ltdl_install-no}" != xno; then
                   8374:   INSTALL_LTDL_TRUE=
                   8375:   INSTALL_LTDL_FALSE='#'
                   8376: else
                   8377:   INSTALL_LTDL_TRUE='#'
                   8378:   INSTALL_LTDL_FALSE=
                   8379: fi
                   8380: 
                   8381: 
                   8382: 
                   8383: if test x"${enable_ltdl_convenience-no}" != xno; then
                   8384:   CONVENIENCE_LTDL_TRUE=
                   8385:   CONVENIENCE_LTDL_FALSE='#'
                   8386: else
                   8387:   CONVENIENCE_LTDL_TRUE='#'
                   8388:   CONVENIENCE_LTDL_FALSE=
                   8389: fi
                   8390: 
                   8391: 
                   8392: 
                   8393: echo "$as_me:$LINENO: checking which extension is used for shared libraries" >&5
                   8394: echo $ECHO_N "checking which extension is used for shared libraries... $ECHO_C" >&6
                   8395: if test "${libltdl_cv_shlibext+set}" = set; then
                   8396:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8397: else
                   8398:   ac_last=
                   8399:   for ac_spec in $library_names_spec; do
                   8400:     ac_last="$ac_spec"
                   8401:   done
                   8402:   echo "$ac_last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
                   8403: libltdl_cv_shlibext=`cat conftest`
                   8404: rm -f conftest
                   8405: 
                   8406: fi
                   8407: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   8408: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   8409: if test -n "$libltdl_cv_shlibext"; then
                   8410: 
                   8411: cat >>confdefs.h <<_ACEOF
                   8412: #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
                   8413: _ACEOF
                   8414: 
                   8415: fi
                   8416: 
                   8417: 
                   8418: echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
                   8419: echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
                   8420: if test "${libltdl_cv_shlibpath_var+set}" = set; then
                   8421:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8422: else
                   8423:   libltdl_cv_shlibpath_var="$shlibpath_var"
                   8424: fi
                   8425: echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
                   8426: echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
                   8427: if test -n "$libltdl_cv_shlibpath_var"; then
                   8428: 
                   8429: cat >>confdefs.h <<_ACEOF
                   8430: #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
                   8431: _ACEOF
                   8432: 
1.1       paf      8433: fi
                   8434: 
                   8435: 
1.4       paf      8436: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   8437: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   8438: if test "${libltdl_cv_sys_search_path+set}" = set; then
                   8439:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8440: else
                   8441:   libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
                   8442: fi
                   8443: echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
                   8444: echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
                   8445: if test -n "$libltdl_cv_sys_search_path"; then
                   8446:   case "$host" in
                   8447:   *-*-mingw*) pathsep=";" ;;
                   8448:   *) pathsep=":" ;;
                   8449:   esac
                   8450:   sys_search_path=
                   8451:   for dir in $libltdl_cv_sys_search_path; do
                   8452:     if test -z "$sys_search_path"; then
                   8453:       sys_search_path="$dir"
                   8454:     else
                   8455:       sys_search_path="$sys_search_path$pathsep$dir"
                   8456:     fi
                   8457:   done
                   8458: 
                   8459: cat >>confdefs.h <<_ACEOF
                   8460: #define LTDL_SYSSEARCHPATH "$sys_search_path"
                   8461: _ACEOF
                   8462: 
                   8463: fi
                   8464: 
                   8465: echo "$as_me:$LINENO: checking for objdir" >&5
                   8466: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   8467: if test "${libltdl_cv_objdir+set}" = set; then
                   8468:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8469: else
                   8470:   libltdl_cv_objdir="$objdir"
                   8471: if test -n "$objdir"; then
                   8472:   :
                   8473: else
                   8474:   rm -f .libs 2>/dev/null
                   8475:   mkdir .libs 2>/dev/null
                   8476:   if test -d .libs; then
                   8477:     libltdl_cv_objdir=.libs
                   8478:   else
                   8479:     # MS-DOS does not allow filenames that begin with a dot.
                   8480:     libltdl_cv_objdir=_libs
                   8481:   fi
                   8482: rmdir .libs 2>/dev/null
1.1       paf      8483: fi
1.4       paf      8484: fi
                   8485: echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
                   8486: echo "${ECHO_T}$libltdl_cv_objdir" >&6
                   8487: 
                   8488: cat >>confdefs.h <<_ACEOF
                   8489: #define LTDL_OBJDIR "$libltdl_cv_objdir/"
                   8490: _ACEOF
                   8491: 
                   8492: 
                   8493: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   8494: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   8495: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   8496:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      8497: else
1.4       paf      8498:     if test -n "$global_symbol_pipe"; then
                   8499:     libltdl_cv_preloaded_symbols=yes
                   8500:   else
                   8501:     libltdl_cv_preloaded_symbols=no
                   8502:   fi
                   8503: 
                   8504: fi
                   8505: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   8506: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   8507: if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then
                   8508: 
                   8509: cat >>confdefs.h <<\_ACEOF
                   8510: #define HAVE_PRELOADED_SYMBOLS 1
                   8511: _ACEOF
                   8512: 
1.2       paf      8513: fi
1.4       paf      8514: 
                   8515: LIBADD_DL=
                   8516: 
                   8517: 
                   8518: echo "$as_me:$LINENO: checking for shl_load" >&5
                   8519: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   8520: if test "${ac_cv_func_shl_load+set}" = set; then
                   8521:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8522: else
1.2       paf      8523:   cat >conftest.$ac_ext <<_ACEOF
                   8524: #line $LINENO "configure"
                   8525: /* confdefs.h.  */
                   8526: _ACEOF
                   8527: cat confdefs.h >>conftest.$ac_ext
                   8528: cat >>conftest.$ac_ext <<_ACEOF
                   8529: /* end confdefs.h.  */
1.4       paf      8530: /* System header to define __stub macros and hopefully few prototypes,
                   8531:     which can conflict with char shl_load (); below.
                   8532:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8533:     <limits.h> exists even on freestanding compilers.  */
1.2       paf      8534: #ifdef __STDC__
                   8535: # include <limits.h>
                   8536: #else
                   8537: # include <assert.h>
                   8538: #endif
1.4       paf      8539: /* Override any gcc2 internal prototype to avoid an error.  */
                   8540: #ifdef __cplusplus
                   8541: extern "C"
                   8542: {
                   8543: #endif
                   8544: /* We use char because int might match the return type of a gcc2
                   8545:    builtin and then its argument prototype would still apply.  */
                   8546: char shl_load ();
                   8547: /* The GNU C library defines this for functions which it implements
                   8548:     to always fail with ENOSYS.  Some functions are actually named
                   8549:     something starting with __ and the normal name is an alias.  */
                   8550: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   8551: choke me
                   8552: #else
                   8553: char (*f) () = shl_load;
                   8554: #endif
                   8555: #ifdef __cplusplus
                   8556: }
                   8557: #endif
                   8558: 
                   8559: int
                   8560: main ()
                   8561: {
                   8562: return f != shl_load;
                   8563:   ;
                   8564:   return 0;
                   8565: }
1.2       paf      8566: _ACEOF
1.4       paf      8567: rm -f conftest.$ac_objext conftest$ac_exeext
                   8568: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8569:   (eval $ac_link) 2>&5
                   8570:   ac_status=$?
                   8571:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8572:   (exit $ac_status); } &&
                   8573:          { ac_try='test -s conftest$ac_exeext'
                   8574:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8575:   (eval $ac_try) 2>&5
1.2       paf      8576:   ac_status=$?
                   8577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      8578:   (exit $ac_status); }; }; then
                   8579:   ac_cv_func_shl_load=yes
1.1       paf      8580: else
1.2       paf      8581:   echo "$as_me: failed program was:" >&5
                   8582: sed 's/^/| /' conftest.$ac_ext >&5
                   8583: 
1.4       paf      8584: ac_cv_func_shl_load=no
                   8585: fi
                   8586: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.2       paf      8587: fi
1.4       paf      8588: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   8589: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   8590: if test $ac_cv_func_shl_load = yes; then
                   8591: 
                   8592: cat >>confdefs.h <<\_ACEOF
                   8593: #define HAVE_SHL_LOAD 1
                   8594: _ACEOF
1.2       paf      8595: 
1.4       paf      8596: else
                   8597:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   8598: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   8599: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   8600:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8601: else
                   8602:   ac_check_lib_save_LIBS=$LIBS
                   8603: LIBS="-ldld  $LIBS"
                   8604: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      8605: #line $LINENO "configure"
                   8606: /* confdefs.h.  */
                   8607: _ACEOF
                   8608: cat confdefs.h >>conftest.$ac_ext
                   8609: cat >>conftest.$ac_ext <<_ACEOF
                   8610: /* end confdefs.h.  */
1.4       paf      8611: 
                   8612: /* Override any gcc2 internal prototype to avoid an error.  */
                   8613: #ifdef __cplusplus
                   8614: extern "C"
                   8615: #endif
                   8616: /* We use char because int might match the return type of a gcc2
                   8617:    builtin and then its argument prototype would still apply.  */
                   8618: char shl_load ();
                   8619: int
                   8620: main ()
                   8621: {
                   8622: shl_load ();
                   8623:   ;
                   8624:   return 0;
                   8625: }
1.2       paf      8626: _ACEOF
1.4       paf      8627: rm -f conftest.$ac_objext conftest$ac_exeext
                   8628: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8629:   (eval $ac_link) 2>&5
                   8630:   ac_status=$?
                   8631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8632:   (exit $ac_status); } &&
                   8633:          { ac_try='test -s conftest$ac_exeext'
                   8634:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8635:   (eval $ac_try) 2>&5
1.2       paf      8636:   ac_status=$?
                   8637:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      8638:   (exit $ac_status); }; }; then
                   8639:   ac_cv_lib_dld_shl_load=yes
1.2       paf      8640: else
                   8641:   echo "$as_me: failed program was:" >&5
                   8642: sed 's/^/| /' conftest.$ac_ext >&5
                   8643: 
1.4       paf      8644: ac_cv_lib_dld_shl_load=no
1.1       paf      8645: fi
1.4       paf      8646: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8647: LIBS=$ac_check_lib_save_LIBS
1.1       paf      8648: fi
1.4       paf      8649: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   8650: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   8651: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      8652: 
1.4       paf      8653: cat >>confdefs.h <<\_ACEOF
                   8654: #define HAVE_SHL_LOAD 1
                   8655: _ACEOF
1.2       paf      8656: 
1.4       paf      8657:        LIBADD_DL="$LIBADD_DL -ldld"
1.2       paf      8658: else
1.4       paf      8659:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   8660: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   8661: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.2       paf      8662:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8663: else
1.4       paf      8664:   ac_check_lib_save_LIBS=$LIBS
                   8665: LIBS="-ldl  $LIBS"
                   8666: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      8667: #line $LINENO "configure"
                   8668: /* confdefs.h.  */
                   8669: _ACEOF
                   8670: cat confdefs.h >>conftest.$ac_ext
                   8671: cat >>conftest.$ac_ext <<_ACEOF
                   8672: /* end confdefs.h.  */
                   8673: 
1.4       paf      8674: /* Override any gcc2 internal prototype to avoid an error.  */
                   8675: #ifdef __cplusplus
                   8676: extern "C"
                   8677: #endif
                   8678: /* We use char because int might match the return type of a gcc2
                   8679:    builtin and then its argument prototype would still apply.  */
                   8680: char dlopen ();
1.2       paf      8681: int
                   8682: main ()
                   8683: {
1.4       paf      8684: dlopen ();
1.2       paf      8685:   ;
                   8686:   return 0;
                   8687: }
                   8688: _ACEOF
1.4       paf      8689: rm -f conftest.$ac_objext conftest$ac_exeext
                   8690: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8691:   (eval $ac_link) 2>&5
1.2       paf      8692:   ac_status=$?
                   8693:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8694:   (exit $ac_status); } &&
1.4       paf      8695:          { ac_try='test -s conftest$ac_exeext'
1.2       paf      8696:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8697:   (eval $ac_try) 2>&5
                   8698:   ac_status=$?
                   8699:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8700:   (exit $ac_status); }; }; then
1.4       paf      8701:   ac_cv_lib_dl_dlopen=yes
1.1       paf      8702: else
1.2       paf      8703:   echo "$as_me: failed program was:" >&5
                   8704: sed 's/^/| /' conftest.$ac_ext >&5
                   8705: 
1.4       paf      8706: ac_cv_lib_dl_dlopen=no
                   8707: fi
                   8708: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8709: LIBS=$ac_check_lib_save_LIBS
1.1       paf      8710: fi
1.4       paf      8711: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   8712: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   8713: if test $ac_cv_lib_dl_dlopen = yes; then
                   8714: 
                   8715: cat >>confdefs.h <<\_ACEOF
                   8716: #define HAVE_LIBDL 1
                   8717: _ACEOF
1.1       paf      8718: 
1.4       paf      8719:          LIBADD_DL="-ldl"
                   8720: else
1.2       paf      8721:   cat >conftest.$ac_ext <<_ACEOF
                   8722: #line $LINENO "configure"
                   8723: /* confdefs.h.  */
                   8724: _ACEOF
                   8725: cat confdefs.h >>conftest.$ac_ext
                   8726: cat >>conftest.$ac_ext <<_ACEOF
                   8727: /* end confdefs.h.  */
1.4       paf      8728: #if HAVE_DLFCN_H
                   8729: #  include <dlfcn.h>
                   8730: #endif
                   8731: 
                   8732: int
                   8733: main ()
                   8734: {
                   8735: dlopen(0, 0);
                   8736:   ;
                   8737:   return 0;
                   8738: }
                   8739: _ACEOF
                   8740: rm -f conftest.$ac_objext conftest$ac_exeext
                   8741: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8742:   (eval $ac_link) 2>&5
                   8743:   ac_status=$?
                   8744:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8745:   (exit $ac_status); } &&
                   8746:          { ac_try='test -s conftest$ac_exeext'
                   8747:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8748:   (eval $ac_try) 2>&5
                   8749:   ac_status=$?
                   8750:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8751:   (exit $ac_status); }; }; then
1.2       paf      8752: 
1.4       paf      8753: cat >>confdefs.h <<\_ACEOF
                   8754: #define HAVE_LIBDL 1
1.2       paf      8755: _ACEOF
1.4       paf      8756: 
1.1       paf      8757: else
1.4       paf      8758:   echo "$as_me: failed program was:" >&5
                   8759: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      8760: 
1.4       paf      8761: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   8762: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   8763: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   8764:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8765: else
                   8766:   ac_check_lib_save_LIBS=$LIBS
                   8767: LIBS="-lsvld  $LIBS"
                   8768: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      8769: #line $LINENO "configure"
                   8770: /* confdefs.h.  */
                   8771: _ACEOF
                   8772: cat confdefs.h >>conftest.$ac_ext
                   8773: cat >>conftest.$ac_ext <<_ACEOF
                   8774: /* end confdefs.h.  */
                   8775: 
1.4       paf      8776: /* Override any gcc2 internal prototype to avoid an error.  */
                   8777: #ifdef __cplusplus
                   8778: extern "C"
                   8779: #endif
                   8780: /* We use char because int might match the return type of a gcc2
                   8781:    builtin and then its argument prototype would still apply.  */
                   8782: char dlopen ();
                   8783: int
                   8784: main ()
                   8785: {
                   8786: dlopen ();
                   8787:   ;
                   8788:   return 0;
                   8789: }
1.2       paf      8790: _ACEOF
1.4       paf      8791: rm -f conftest.$ac_objext conftest$ac_exeext
                   8792: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8793:   (eval $ac_link) 2>&5
                   8794:   ac_status=$?
                   8795:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8796:   (exit $ac_status); } &&
                   8797:          { ac_try='test -s conftest$ac_exeext'
                   8798:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8799:   (eval $ac_try) 2>&5
                   8800:   ac_status=$?
                   8801:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8802:   (exit $ac_status); }; }; then
                   8803:   ac_cv_lib_svld_dlopen=yes
1.1       paf      8804: else
1.4       paf      8805:   echo "$as_me: failed program was:" >&5
                   8806: sed 's/^/| /' conftest.$ac_ext >&5
                   8807: 
                   8808: ac_cv_lib_svld_dlopen=no
                   8809: fi
                   8810: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8811: LIBS=$ac_check_lib_save_LIBS
1.1       paf      8812: fi
1.4       paf      8813: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   8814: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   8815: if test $ac_cv_lib_svld_dlopen = yes; then
                   8816: 
                   8817: cat >>confdefs.h <<\_ACEOF
                   8818: #define HAVE_LIBDL 1
                   8819: _ACEOF
1.1       paf      8820: 
1.4       paf      8821:              LIBADD_DL="-lsvld"
                   8822: else
                   8823:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   8824: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   8825: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   8826:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      8827: else
1.4       paf      8828:   ac_check_lib_save_LIBS=$LIBS
                   8829: LIBS="-ldld  $LIBS"
                   8830: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      8831: #line $LINENO "configure"
                   8832: /* confdefs.h.  */
                   8833: _ACEOF
                   8834: cat confdefs.h >>conftest.$ac_ext
                   8835: cat >>conftest.$ac_ext <<_ACEOF
                   8836: /* end confdefs.h.  */
1.4       paf      8837: 
                   8838: /* Override any gcc2 internal prototype to avoid an error.  */
                   8839: #ifdef __cplusplus
                   8840: extern "C"
1.2       paf      8841: #endif
1.4       paf      8842: /* We use char because int might match the return type of a gcc2
                   8843:    builtin and then its argument prototype would still apply.  */
                   8844: char dld_link ();
1.2       paf      8845: int
                   8846: main ()
                   8847: {
1.4       paf      8848: dld_link ();
                   8849:   ;
                   8850:   return 0;
1.2       paf      8851: }
                   8852: _ACEOF
1.4       paf      8853: rm -f conftest.$ac_objext conftest$ac_exeext
1.2       paf      8854: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8855:   (eval $ac_link) 2>&5
                   8856:   ac_status=$?
                   8857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      8858:   (exit $ac_status); } &&
                   8859:          { ac_try='test -s conftest$ac_exeext'
1.2       paf      8860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8861:   (eval $ac_try) 2>&5
                   8862:   ac_status=$?
                   8863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8864:   (exit $ac_status); }; }; then
1.4       paf      8865:   ac_cv_lib_dld_dld_link=yes
1.1       paf      8866: else
1.4       paf      8867:   echo "$as_me: failed program was:" >&5
1.2       paf      8868: sed 's/^/| /' conftest.$ac_ext >&5
                   8869: 
1.4       paf      8870: ac_cv_lib_dld_dld_link=no
1.1       paf      8871: fi
1.4       paf      8872: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   8873: LIBS=$ac_check_lib_save_LIBS
1.1       paf      8874: fi
1.4       paf      8875: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   8876: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   8877: if test $ac_cv_lib_dld_dld_link = yes; then
1.1       paf      8878: 
1.2       paf      8879: cat >>confdefs.h <<\_ACEOF
1.4       paf      8880: #define HAVE_DLD 1
1.2       paf      8881: _ACEOF
                   8882: 
1.4       paf      8883:                LIBADD_DL="$LIBADD_DL -ldld"
                   8884: 
                   8885: fi
                   8886: 
                   8887: 
1.2       paf      8888: fi
                   8889: 
                   8890: 
1.4       paf      8891: fi
                   8892: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.2       paf      8893: 
1.4       paf      8894: fi
1.2       paf      8895: 
                   8896: 
1.4       paf      8897: fi
1.2       paf      8898: 
                   8899: 
1.4       paf      8900: fi
1.2       paf      8901: 
                   8902: 
1.4       paf      8903: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
                   8904:  LIBS_SAVE="$LIBS"
                   8905:  LIBS="$LIBS $LIBADD_DL"
1.2       paf      8906: 
1.4       paf      8907: for ac_func in dlerror
1.2       paf      8908: do
1.4       paf      8909: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   8910: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   8911: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   8912: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.2       paf      8913:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8914: else
                   8915:   cat >conftest.$ac_ext <<_ACEOF
                   8916: #line $LINENO "configure"
                   8917: /* confdefs.h.  */
                   8918: _ACEOF
                   8919: cat confdefs.h >>conftest.$ac_ext
                   8920: cat >>conftest.$ac_ext <<_ACEOF
                   8921: /* end confdefs.h.  */
1.4       paf      8922: /* System header to define __stub macros and hopefully few prototypes,
                   8923:     which can conflict with char $ac_func (); below.
                   8924:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8925:     <limits.h> exists even on freestanding compilers.  */
                   8926: #ifdef __STDC__
                   8927: # include <limits.h>
                   8928: #else
                   8929: # include <assert.h>
                   8930: #endif
                   8931: /* Override any gcc2 internal prototype to avoid an error.  */
                   8932: #ifdef __cplusplus
                   8933: extern "C"
                   8934: {
                   8935: #endif
                   8936: /* We use char because int might match the return type of a gcc2
                   8937:    builtin and then its argument prototype would still apply.  */
                   8938: char $ac_func ();
                   8939: /* The GNU C library defines this for functions which it implements
                   8940:     to always fail with ENOSYS.  Some functions are actually named
                   8941:     something starting with __ and the normal name is an alias.  */
                   8942: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   8943: choke me
                   8944: #else
                   8945: char (*f) () = $ac_func;
                   8946: #endif
                   8947: #ifdef __cplusplus
                   8948: }
                   8949: #endif
1.2       paf      8950: 
1.4       paf      8951: int
                   8952: main ()
                   8953: {
                   8954: return f != $ac_func;
                   8955:   ;
                   8956:   return 0;
                   8957: }
1.2       paf      8958: _ACEOF
1.4       paf      8959: rm -f conftest.$ac_objext conftest$ac_exeext
                   8960: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8961:   (eval $ac_link) 2>&5
1.2       paf      8962:   ac_status=$?
                   8963:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8964:   (exit $ac_status); } &&
1.4       paf      8965:          { ac_try='test -s conftest$ac_exeext'
1.2       paf      8966:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8967:   (eval $ac_try) 2>&5
                   8968:   ac_status=$?
                   8969:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8970:   (exit $ac_status); }; }; then
1.4       paf      8971:   eval "$as_ac_var=yes"
1.2       paf      8972: else
                   8973:   echo "$as_me: failed program was:" >&5
                   8974: sed 's/^/| /' conftest.$ac_ext >&5
                   8975: 
1.4       paf      8976: eval "$as_ac_var=no"
1.2       paf      8977: fi
1.4       paf      8978: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.2       paf      8979: fi
1.4       paf      8980: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   8981: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   8982: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.2       paf      8983:   cat >>confdefs.h <<_ACEOF
1.4       paf      8984: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.2       paf      8985: _ACEOF
1.1       paf      8986: 
                   8987: fi
1.4       paf      8988: done
                   8989: 
                   8990:  LIBS="$LIBS_SAVE"
                   8991: fi
                   8992: 
                   8993: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   8994: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   8995: if test "${ac_cv_sys_symbol_underscore+set}" = set; then
                   8996:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8997: else
                   8998:   ac_cv_sys_symbol_underscore=no
                   8999: cat > conftest.$ac_ext <<EOF
                   9000: void nm_test_func(){}
                   9001: int main(){nm_test_func;return 0;}
                   9002: EOF
                   9003: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9004:   (eval $ac_compile) 2>&5
                   9005:   ac_status=$?
                   9006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9007:   (exit $ac_status); }; then
                   9008:   # Now try to grab the symbols.
                   9009:   ac_nlist=conftest.nm
                   9010:   if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $global_symbol_pipe \> $ac_nlist\"") >&5
                   9011:   (eval $NM conftest.$ac_objext \| $global_symbol_pipe \> $ac_nlist) 2>&5
                   9012:   ac_status=$?
                   9013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9014:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   9015:     # See whether the symbols have a leading underscore.
                   9016:     if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   9017:       ac_cv_sys_symbol_underscore=yes
                   9018:     else
                   9019:       if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   9020:        :
                   9021:       else
                   9022:        echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   9023:       fi
                   9024:     fi
                   9025:   else
                   9026:     echo "configure: cannot run $global_symbol_pipe" >&5
                   9027:   fi
                   9028: else
                   9029:   echo "configure: failed program was:" >&5
                   9030:   cat conftest.c >&5
                   9031: fi
                   9032: rm -rf conftest*
                   9033: 
                   9034: fi
                   9035: 
                   9036: echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
                   9037: echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
                   9038: 
                   9039: if test x"$ac_cv_sys_symbol_underscore" = xyes; then
                   9040:   if test x"$ac_cv_func_dlopen" = xyes ||
                   9041:      test x"$ac_cv_lib_dl_dlopen" = xyes ; then
                   9042:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   9043: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   9044: if test "${libltdl_cv_need_uscore+set}" = set; then
                   9045:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9046: else
                   9047:                libltdl_cv_need_uscore=unknown
                   9048:                 save_LIBS="$LIBS"
                   9049:                 LIBS="$LIBS $LIBADD_DL"
                   9050:                if test "$cross_compiling" = yes; then :
                   9051:   libltdl_cv_need_uscore=cross
                   9052: else
                   9053:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   9054:   lt_status=$lt_dlunknown
                   9055:   cat > conftest.$ac_ext <<EOF
                   9056: #line 9056 "configure"
                   9057: #include "confdefs.h"
                   9058: 
                   9059: #if HAVE_DLFCN_H
                   9060: #include <dlfcn.h>
                   9061: #endif
                   9062: 
                   9063: #include <stdio.h>
                   9064: 
                   9065: #ifdef RTLD_GLOBAL
                   9066: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   9067: #else
                   9068: #  ifdef DL_GLOBAL
                   9069: #    define LT_DLGLOBAL                DL_GLOBAL
                   9070: #  else
                   9071: #    define LT_DLGLOBAL                0
                   9072: #  endif
                   9073: #endif
                   9074: 
                   9075: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   9076:    find out it does not work in some platform. */
                   9077: #ifndef LT_DLLAZY_OR_NOW
                   9078: #  ifdef RTLD_LAZY
                   9079: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   9080: #  else
                   9081: #    ifdef DL_LAZY
                   9082: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   9083: #    else
                   9084: #      ifdef RTLD_NOW
                   9085: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   9086: #      else
                   9087: #        ifdef DL_NOW
                   9088: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   9089: #        else
                   9090: #          define LT_DLLAZY_OR_NOW     0
                   9091: #        endif
                   9092: #      endif
                   9093: #    endif
                   9094: #  endif
                   9095: #endif
                   9096: 
                   9097: #ifdef __cplusplus
                   9098: extern "C" void exit (int);
                   9099: #endif
                   9100: 
                   9101: void fnord() { int i=42;}
                   9102: int main ()
                   9103: {
                   9104:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   9105:   int status = $lt_dlunknown;
                   9106: 
                   9107:   if (self)
                   9108:     {
                   9109:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   9110:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   9111:       /* dlclose (self); */
                   9112:     }
                   9113: 
                   9114:     exit (status);
                   9115: }
                   9116: EOF
                   9117:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9118:   (eval $ac_link) 2>&5
                   9119:   ac_status=$?
                   9120:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9121:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   9122:     (./conftest; exit; ) 2>/dev/null
                   9123:     lt_status=$?
                   9124:     case x$lt_status in
                   9125:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   9126:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   9127:       x$lt_unknown|x*)  ;;
                   9128:     esac
                   9129:   else :
                   9130:     # compilation failed
                   9131: 
                   9132:   fi
                   9133: fi
                   9134: rm -fr conftest*
                   9135: 
                   9136:                LIBS="$save_LIBS"
1.1       paf      9137: 
1.4       paf      9138: fi
                   9139: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   9140: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   9141:   fi
                   9142: fi
1.2       paf      9143: 
1.4       paf      9144: if test x"$libltdl_cv_need_uscore" = xyes; then
1.2       paf      9145: 
1.4       paf      9146: cat >>confdefs.h <<\_ACEOF
                   9147: #define NEED_USCORE 1
                   9148: _ACEOF
1.2       paf      9149: 
1.4       paf      9150: fi
1.2       paf      9151: 
                   9152: 
1.4       paf      9153: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   9154: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   9155: if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
                   9156:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9157: else
                   9158:        # PORTME does your system automatically load deplibs for dlopen()?
                   9159:        libltdl_cv_sys_dlopen_deplibs=unknown
                   9160:        case "$host_os" in
                   9161:         hpux10*|hpux11*)
                   9162:           libltdl_cv_sys_dlopen_deplibs=yes
                   9163:           ;;
                   9164:        linux*)
                   9165:          libltdl_cv_sys_dlopen_deplibs=yes
                   9166:          ;;
                   9167:        netbsd*)
                   9168:          libltdl_cv_sys_dlopen_deplibs=yes
                   9169:          ;;
                   9170:        openbsd*)
                   9171:          libltdl_cv_sys_dlopen_deplibs=yes
                   9172:          ;;
                   9173:        solaris*)
                   9174:          libltdl_cv_sys_dlopen_deplibs=yes
                   9175:          ;;
                   9176:        esac
                   9177: 
                   9178: fi
                   9179: echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
                   9180: echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
                   9181: if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
1.2       paf      9182: 
1.4       paf      9183: cat >>confdefs.h <<\_ACEOF
                   9184: #define LTDL_DLOPEN_DEPLIBS 1
                   9185: _ACEOF
1.2       paf      9186: 
1.4       paf      9187: fi
1.2       paf      9188: 
                   9189: 
1.4       paf      9190: for ac_header in argz.h
1.1       paf      9191: do
1.2       paf      9192: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   9193: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9194:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9195: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9196: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9197:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9198: fi
                   9199: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9200: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   9201: else
                   9202:   # Is the header compilable?
                   9203: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   9204: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   9205: cat >conftest.$ac_ext <<_ACEOF
                   9206: #line $LINENO "configure"
                   9207: /* confdefs.h.  */
                   9208: _ACEOF
                   9209: cat confdefs.h >>conftest.$ac_ext
                   9210: cat >>conftest.$ac_ext <<_ACEOF
                   9211: /* end confdefs.h.  */
                   9212: $ac_includes_default
                   9213: #include <$ac_header>
                   9214: _ACEOF
                   9215: rm -f conftest.$ac_objext
                   9216: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9217:   (eval $ac_compile) 2>&5
                   9218:   ac_status=$?
                   9219:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9220:   (exit $ac_status); } &&
                   9221:          { ac_try='test -s conftest.$ac_objext'
                   9222:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9223:   (eval $ac_try) 2>&5
                   9224:   ac_status=$?
                   9225:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9226:   (exit $ac_status); }; }; then
                   9227:   ac_header_compiler=yes
                   9228: else
                   9229:   echo "$as_me: failed program was:" >&5
                   9230: sed 's/^/| /' conftest.$ac_ext >&5
                   9231: 
                   9232: ac_header_compiler=no
                   9233: fi
                   9234: rm -f conftest.$ac_objext conftest.$ac_ext
                   9235: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   9236: echo "${ECHO_T}$ac_header_compiler" >&6
                   9237: 
                   9238: # Is the header present?
                   9239: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   9240: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   9241: cat >conftest.$ac_ext <<_ACEOF
                   9242: #line $LINENO "configure"
                   9243: /* confdefs.h.  */
                   9244: _ACEOF
                   9245: cat confdefs.h >>conftest.$ac_ext
                   9246: cat >>conftest.$ac_ext <<_ACEOF
                   9247: /* end confdefs.h.  */
                   9248: #include <$ac_header>
                   9249: _ACEOF
                   9250: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   9251:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   9252:   ac_status=$?
                   9253:   grep -v '^ *+' conftest.er1 >conftest.err
                   9254:   rm -f conftest.er1
                   9255:   cat conftest.err >&5
                   9256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9257:   (exit $ac_status); } >/dev/null; then
                   9258:   if test -s conftest.err; then
                   9259:     ac_cpp_err=$ac_c_preproc_warn_flag
                   9260:   else
                   9261:     ac_cpp_err=
                   9262:   fi
                   9263: else
                   9264:   ac_cpp_err=yes
                   9265: fi
                   9266: if test -z "$ac_cpp_err"; then
                   9267:   ac_header_preproc=yes
1.1       paf      9268: else
1.2       paf      9269:   echo "$as_me: failed program was:" >&5
                   9270: sed 's/^/| /' conftest.$ac_ext >&5
                   9271: 
                   9272:   ac_header_preproc=no
                   9273: fi
                   9274: rm -f conftest.err conftest.$ac_ext
                   9275: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   9276: echo "${ECHO_T}$ac_header_preproc" >&6
                   9277: 
                   9278: # So?  What about this header?
                   9279: case $ac_header_compiler:$ac_header_preproc in
                   9280:   yes:no )
                   9281:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   9282: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   9283:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9284: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9285:     (
                   9286:       cat <<\_ASBOX
                   9287: ## ------------------------------------ ##
                   9288: ## Report this to bug-autoconf@gnu.org. ##
                   9289: ## ------------------------------------ ##
                   9290: _ASBOX
                   9291:     ) |
                   9292:       sed "s/^/$as_me: WARNING:     /" >&2
                   9293:     ;;
                   9294:   no:yes )
                   9295:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   9296: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   9297:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   9298: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   9299:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9300: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9301:     (
                   9302:       cat <<\_ASBOX
                   9303: ## ------------------------------------ ##
                   9304: ## Report this to bug-autoconf@gnu.org. ##
                   9305: ## ------------------------------------ ##
                   9306: _ASBOX
                   9307:     ) |
                   9308:       sed "s/^/$as_me: WARNING:     /" >&2
                   9309:     ;;
                   9310: esac
                   9311: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9312: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9313: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9314:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      9315: else
1.2       paf      9316:   eval "$as_ac_Header=$ac_header_preproc"
1.1       paf      9317: fi
1.2       paf      9318: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9319: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   9320: 
1.1       paf      9321: fi
1.2       paf      9322: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   9323:   cat >>confdefs.h <<_ACEOF
                   9324: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   9325: _ACEOF
                   9326: 
1.1       paf      9327: fi
1.2       paf      9328: 
1.1       paf      9329: done
                   9330: 
1.2       paf      9331: 
1.4       paf      9332: echo "$as_me:$LINENO: checking for error_t" >&5
                   9333: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   9334: if test "${ac_cv_type_error_t+set}" = set; then
                   9335:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9336: else
                   9337:   cat >conftest.$ac_ext <<_ACEOF
                   9338: #line $LINENO "configure"
                   9339: /* confdefs.h.  */
                   9340: _ACEOF
                   9341: cat confdefs.h >>conftest.$ac_ext
                   9342: cat >>conftest.$ac_ext <<_ACEOF
                   9343: /* end confdefs.h.  */
                   9344: #if HAVE_ARGZ_H
                   9345: #  include <argz.h>
                   9346: #endif
                   9347: 
                   9348: int
                   9349: main ()
                   9350: {
                   9351: if ((error_t *) 0)
                   9352:   return 0;
                   9353: if (sizeof (error_t))
                   9354:   return 0;
                   9355:   ;
                   9356:   return 0;
                   9357: }
                   9358: _ACEOF
                   9359: rm -f conftest.$ac_objext
                   9360: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9361:   (eval $ac_compile) 2>&5
                   9362:   ac_status=$?
                   9363:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9364:   (exit $ac_status); } &&
                   9365:          { ac_try='test -s conftest.$ac_objext'
                   9366:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9367:   (eval $ac_try) 2>&5
                   9368:   ac_status=$?
                   9369:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9370:   (exit $ac_status); }; }; then
                   9371:   ac_cv_type_error_t=yes
                   9372: else
                   9373:   echo "$as_me: failed program was:" >&5
                   9374: sed 's/^/| /' conftest.$ac_ext >&5
                   9375: 
                   9376: ac_cv_type_error_t=no
                   9377: fi
                   9378: rm -f conftest.$ac_objext conftest.$ac_ext
                   9379: fi
                   9380: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   9381: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   9382: if test $ac_cv_type_error_t = yes; then
                   9383: 
                   9384: cat >>confdefs.h <<_ACEOF
                   9385: #define HAVE_ERROR_T 1
                   9386: _ACEOF
                   9387: 
                   9388: 
                   9389: else
                   9390: 
                   9391: cat >>confdefs.h <<\_ACEOF
                   9392: #define error_t int
                   9393: _ACEOF
                   9394: 
                   9395: fi
                   9396: 
                   9397: 
                   9398: 
                   9399: 
                   9400: 
                   9401: 
                   9402: 
                   9403: for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
                   9404: do
                   9405: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   9406: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   9407: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   9408: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   9409:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9410: else
                   9411:   cat >conftest.$ac_ext <<_ACEOF
                   9412: #line $LINENO "configure"
                   9413: /* confdefs.h.  */
                   9414: _ACEOF
                   9415: cat confdefs.h >>conftest.$ac_ext
                   9416: cat >>conftest.$ac_ext <<_ACEOF
                   9417: /* end confdefs.h.  */
                   9418: /* System header to define __stub macros and hopefully few prototypes,
                   9419:     which can conflict with char $ac_func (); below.
                   9420:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   9421:     <limits.h> exists even on freestanding compilers.  */
                   9422: #ifdef __STDC__
                   9423: # include <limits.h>
                   9424: #else
                   9425: # include <assert.h>
                   9426: #endif
                   9427: /* Override any gcc2 internal prototype to avoid an error.  */
                   9428: #ifdef __cplusplus
                   9429: extern "C"
                   9430: {
                   9431: #endif
                   9432: /* We use char because int might match the return type of a gcc2
                   9433:    builtin and then its argument prototype would still apply.  */
                   9434: char $ac_func ();
                   9435: /* The GNU C library defines this for functions which it implements
                   9436:     to always fail with ENOSYS.  Some functions are actually named
                   9437:     something starting with __ and the normal name is an alias.  */
                   9438: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   9439: choke me
                   9440: #else
                   9441: char (*f) () = $ac_func;
                   9442: #endif
                   9443: #ifdef __cplusplus
                   9444: }
                   9445: #endif
                   9446: 
                   9447: int
                   9448: main ()
                   9449: {
                   9450: return f != $ac_func;
                   9451:   ;
                   9452:   return 0;
                   9453: }
                   9454: _ACEOF
                   9455: rm -f conftest.$ac_objext conftest$ac_exeext
                   9456: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9457:   (eval $ac_link) 2>&5
                   9458:   ac_status=$?
                   9459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9460:   (exit $ac_status); } &&
                   9461:          { ac_try='test -s conftest$ac_exeext'
                   9462:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9463:   (eval $ac_try) 2>&5
                   9464:   ac_status=$?
                   9465:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9466:   (exit $ac_status); }; }; then
                   9467:   eval "$as_ac_var=yes"
                   9468: else
                   9469:   echo "$as_me: failed program was:" >&5
                   9470: sed 's/^/| /' conftest.$ac_ext >&5
                   9471: 
                   9472: eval "$as_ac_var=no"
                   9473: fi
                   9474: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   9475: fi
                   9476: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   9477: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   9478: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   9479:   cat >>confdefs.h <<_ACEOF
                   9480: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   9481: _ACEOF
                   9482: 
                   9483: fi
                   9484: done
                   9485: 
                   9486: 
                   9487: 
                   9488: 
                   9489: 
                   9490: 
                   9491: 
                   9492: 
                   9493: 
                   9494: 
                   9495: 
                   9496: 
                   9497: 
                   9498: 
                   9499: 
                   9500: 
                   9501: 
1.2       paf      9502: 
1.4       paf      9503: 
                   9504: 
                   9505: 
                   9506: 
                   9507: 
                   9508: 
                   9509: 
                   9510: 
                   9511: 
                   9512: 
                   9513: for ac_header in errno.h malloc.h memory.h stdlib.h stdio.h ctype.h unistd.h
1.1       paf      9514: do
1.2       paf      9515: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   9516: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9517:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9518: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9519: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9520:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9521: fi
                   9522: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9523: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   9524: else
                   9525:   # Is the header compilable?
                   9526: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   9527: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   9528: cat >conftest.$ac_ext <<_ACEOF
                   9529: #line $LINENO "configure"
                   9530: /* confdefs.h.  */
                   9531: _ACEOF
                   9532: cat confdefs.h >>conftest.$ac_ext
                   9533: cat >>conftest.$ac_ext <<_ACEOF
                   9534: /* end confdefs.h.  */
                   9535: $ac_includes_default
                   9536: #include <$ac_header>
                   9537: _ACEOF
                   9538: rm -f conftest.$ac_objext
                   9539: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9540:   (eval $ac_compile) 2>&5
                   9541:   ac_status=$?
                   9542:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9543:   (exit $ac_status); } &&
                   9544:          { ac_try='test -s conftest.$ac_objext'
                   9545:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9546:   (eval $ac_try) 2>&5
                   9547:   ac_status=$?
                   9548:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9549:   (exit $ac_status); }; }; then
                   9550:   ac_header_compiler=yes
                   9551: else
                   9552:   echo "$as_me: failed program was:" >&5
                   9553: sed 's/^/| /' conftest.$ac_ext >&5
                   9554: 
                   9555: ac_header_compiler=no
                   9556: fi
                   9557: rm -f conftest.$ac_objext conftest.$ac_ext
                   9558: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   9559: echo "${ECHO_T}$ac_header_compiler" >&6
                   9560: 
                   9561: # Is the header present?
                   9562: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   9563: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   9564: cat >conftest.$ac_ext <<_ACEOF
                   9565: #line $LINENO "configure"
                   9566: /* confdefs.h.  */
                   9567: _ACEOF
                   9568: cat confdefs.h >>conftest.$ac_ext
                   9569: cat >>conftest.$ac_ext <<_ACEOF
                   9570: /* end confdefs.h.  */
                   9571: #include <$ac_header>
                   9572: _ACEOF
                   9573: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   9574:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   9575:   ac_status=$?
                   9576:   grep -v '^ *+' conftest.er1 >conftest.err
                   9577:   rm -f conftest.er1
                   9578:   cat conftest.err >&5
                   9579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9580:   (exit $ac_status); } >/dev/null; then
                   9581:   if test -s conftest.err; then
                   9582:     ac_cpp_err=$ac_c_preproc_warn_flag
                   9583:   else
                   9584:     ac_cpp_err=
                   9585:   fi
                   9586: else
                   9587:   ac_cpp_err=yes
                   9588: fi
                   9589: if test -z "$ac_cpp_err"; then
                   9590:   ac_header_preproc=yes
1.1       paf      9591: else
1.2       paf      9592:   echo "$as_me: failed program was:" >&5
                   9593: sed 's/^/| /' conftest.$ac_ext >&5
                   9594: 
                   9595:   ac_header_preproc=no
                   9596: fi
                   9597: rm -f conftest.err conftest.$ac_ext
                   9598: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   9599: echo "${ECHO_T}$ac_header_preproc" >&6
                   9600: 
                   9601: # So?  What about this header?
                   9602: case $ac_header_compiler:$ac_header_preproc in
                   9603:   yes:no )
                   9604:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   9605: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   9606:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9607: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9608:     (
                   9609:       cat <<\_ASBOX
                   9610: ## ------------------------------------ ##
                   9611: ## Report this to bug-autoconf@gnu.org. ##
                   9612: ## ------------------------------------ ##
                   9613: _ASBOX
                   9614:     ) |
                   9615:       sed "s/^/$as_me: WARNING:     /" >&2
                   9616:     ;;
                   9617:   no:yes )
                   9618:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   9619: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   9620:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   9621: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   9622:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9623: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9624:     (
                   9625:       cat <<\_ASBOX
                   9626: ## ------------------------------------ ##
                   9627: ## Report this to bug-autoconf@gnu.org. ##
                   9628: ## ------------------------------------ ##
                   9629: _ASBOX
                   9630:     ) |
                   9631:       sed "s/^/$as_me: WARNING:     /" >&2
                   9632:     ;;
                   9633: esac
                   9634: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9635: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9636: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9637:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      9638: else
1.2       paf      9639:   eval "$as_ac_Header=$ac_header_preproc"
1.1       paf      9640: fi
1.2       paf      9641: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9642: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   9643: 
1.1       paf      9644: fi
1.2       paf      9645: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   9646:   cat >>confdefs.h <<_ACEOF
                   9647: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   9648: _ACEOF
1.4       paf      9649: 
1.1       paf      9650: fi
1.4       paf      9651: 
1.1       paf      9652: done
                   9653: 
1.2       paf      9654: 
                   9655: 
1.4       paf      9656: 
                   9657: for ac_header in dl.h sys/dl.h dld.h
1.1       paf      9658: do
1.4       paf      9659: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   9660: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9661:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9662: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9663: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.2       paf      9664:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.4       paf      9665: fi
                   9666: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9667: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.2       paf      9668: else
1.4       paf      9669:   # Is the header compilable?
                   9670: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   9671: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   9672: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      9673: #line $LINENO "configure"
                   9674: /* confdefs.h.  */
                   9675: _ACEOF
                   9676: cat confdefs.h >>conftest.$ac_ext
                   9677: cat >>conftest.$ac_ext <<_ACEOF
                   9678: /* end confdefs.h.  */
1.4       paf      9679: $ac_includes_default
                   9680: #include <$ac_header>
1.2       paf      9681: _ACEOF
1.4       paf      9682: rm -f conftest.$ac_objext
                   9683: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9684:   (eval $ac_compile) 2>&5
1.2       paf      9685:   ac_status=$?
                   9686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9687:   (exit $ac_status); } &&
1.4       paf      9688:          { ac_try='test -s conftest.$ac_objext'
1.2       paf      9689:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9690:   (eval $ac_try) 2>&5
                   9691:   ac_status=$?
                   9692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9693:   (exit $ac_status); }; }; then
1.4       paf      9694:   ac_header_compiler=yes
1.2       paf      9695: else
                   9696:   echo "$as_me: failed program was:" >&5
                   9697: sed 's/^/| /' conftest.$ac_ext >&5
                   9698: 
1.4       paf      9699: ac_header_compiler=no
1.2       paf      9700: fi
1.4       paf      9701: rm -f conftest.$ac_objext conftest.$ac_ext
                   9702: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   9703: echo "${ECHO_T}$ac_header_compiler" >&6
1.1       paf      9704: 
1.4       paf      9705: # Is the header present?
                   9706: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   9707: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
1.2       paf      9708: cat >conftest.$ac_ext <<_ACEOF
                   9709: #line $LINENO "configure"
                   9710: /* confdefs.h.  */
                   9711: _ACEOF
                   9712: cat confdefs.h >>conftest.$ac_ext
                   9713: cat >>conftest.$ac_ext <<_ACEOF
                   9714: /* end confdefs.h.  */
1.4       paf      9715: #include <$ac_header>
1.2       paf      9716: _ACEOF
1.4       paf      9717: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   9718:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.2       paf      9719:   ac_status=$?
1.4       paf      9720:   grep -v '^ *+' conftest.er1 >conftest.err
                   9721:   rm -f conftest.er1
                   9722:   cat conftest.err >&5
1.2       paf      9723:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      9724:   (exit $ac_status); } >/dev/null; then
                   9725:   if test -s conftest.err; then
                   9726:     ac_cpp_err=$ac_c_preproc_warn_flag
                   9727:   else
                   9728:     ac_cpp_err=
                   9729:   fi
                   9730: else
                   9731:   ac_cpp_err=yes
                   9732: fi
                   9733: if test -z "$ac_cpp_err"; then
                   9734:   ac_header_preproc=yes
1.2       paf      9735: else
                   9736:   echo "$as_me: failed program was:" >&5
                   9737: sed 's/^/| /' conftest.$ac_ext >&5
                   9738: 
1.4       paf      9739:   ac_header_preproc=no
1.2       paf      9740: fi
1.4       paf      9741: rm -f conftest.err conftest.$ac_ext
                   9742: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   9743: echo "${ECHO_T}$ac_header_preproc" >&6
                   9744: 
                   9745: # So?  What about this header?
                   9746: case $ac_header_compiler:$ac_header_preproc in
                   9747:   yes:no )
                   9748:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   9749: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   9750:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9751: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9752:     (
                   9753:       cat <<\_ASBOX
                   9754: ## ------------------------------------ ##
                   9755: ## Report this to bug-autoconf@gnu.org. ##
                   9756: ## ------------------------------------ ##
                   9757: _ASBOX
                   9758:     ) |
                   9759:       sed "s/^/$as_me: WARNING:     /" >&2
                   9760:     ;;
                   9761:   no:yes )
                   9762:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   9763: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   9764:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   9765: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   9766:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9767: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9768:     (
                   9769:       cat <<\_ASBOX
                   9770: ## ------------------------------------ ##
                   9771: ## Report this to bug-autoconf@gnu.org. ##
                   9772: ## ------------------------------------ ##
                   9773: _ASBOX
                   9774:     ) |
                   9775:       sed "s/^/$as_me: WARNING:     /" >&2
                   9776:     ;;
                   9777: esac
                   9778: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9779: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9780: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.2       paf      9781:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9782: else
1.4       paf      9783:   eval "$as_ac_Header=$ac_header_preproc"
                   9784: fi
                   9785: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9786: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.2       paf      9787: 
                   9788: fi
1.4       paf      9789: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   9790:   cat >>confdefs.h <<_ACEOF
                   9791: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.2       paf      9792: _ACEOF
1.1       paf      9793: 
                   9794: fi
                   9795: 
1.4       paf      9796: done
                   9797: 
                   9798: 
1.1       paf      9799: 
1.4       paf      9800: for ac_header in string.h strings.h
                   9801: do
                   9802: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   9803: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9804:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9805: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9806: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.2       paf      9807:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.4       paf      9808: fi
                   9809: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9810: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      9811: else
1.4       paf      9812:   # Is the header compilable?
                   9813: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   9814: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   9815: cat >conftest.$ac_ext <<_ACEOF
1.2       paf      9816: #line $LINENO "configure"
                   9817: /* confdefs.h.  */
                   9818: _ACEOF
                   9819: cat confdefs.h >>conftest.$ac_ext
                   9820: cat >>conftest.$ac_ext <<_ACEOF
                   9821: /* end confdefs.h.  */
1.4       paf      9822: $ac_includes_default
                   9823: #include <$ac_header>
1.2       paf      9824: _ACEOF
1.4       paf      9825: rm -f conftest.$ac_objext
                   9826: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9827:   (eval $ac_compile) 2>&5
1.2       paf      9828:   ac_status=$?
                   9829:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9830:   (exit $ac_status); } &&
1.4       paf      9831:          { ac_try='test -s conftest.$ac_objext'
1.2       paf      9832:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9833:   (eval $ac_try) 2>&5
                   9834:   ac_status=$?
                   9835:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9836:   (exit $ac_status); }; }; then
1.4       paf      9837:   ac_header_compiler=yes
1.2       paf      9838: else
                   9839:   echo "$as_me: failed program was:" >&5
                   9840: sed 's/^/| /' conftest.$ac_ext >&5
                   9841: 
1.4       paf      9842: ac_header_compiler=no
1.2       paf      9843: fi
1.4       paf      9844: rm -f conftest.$ac_objext conftest.$ac_ext
                   9845: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   9846: echo "${ECHO_T}$ac_header_compiler" >&6
1.1       paf      9847: 
1.4       paf      9848: # Is the header present?
                   9849: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   9850: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
1.2       paf      9851: cat >conftest.$ac_ext <<_ACEOF
                   9852: #line $LINENO "configure"
                   9853: /* confdefs.h.  */
                   9854: _ACEOF
                   9855: cat confdefs.h >>conftest.$ac_ext
                   9856: cat >>conftest.$ac_ext <<_ACEOF
                   9857: /* end confdefs.h.  */
1.4       paf      9858: #include <$ac_header>
1.2       paf      9859: _ACEOF
1.4       paf      9860: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   9861:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.2       paf      9862:   ac_status=$?
1.4       paf      9863:   grep -v '^ *+' conftest.er1 >conftest.err
                   9864:   rm -f conftest.er1
                   9865:   cat conftest.err >&5
1.2       paf      9866:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      9867:   (exit $ac_status); } >/dev/null; then
                   9868:   if test -s conftest.err; then
                   9869:     ac_cpp_err=$ac_c_preproc_warn_flag
                   9870:   else
                   9871:     ac_cpp_err=
                   9872:   fi
                   9873: else
                   9874:   ac_cpp_err=yes
                   9875: fi
                   9876: if test -z "$ac_cpp_err"; then
                   9877:   ac_header_preproc=yes
1.2       paf      9878: else
                   9879:   echo "$as_me: failed program was:" >&5
                   9880: sed 's/^/| /' conftest.$ac_ext >&5
                   9881: 
1.4       paf      9882:   ac_header_preproc=no
                   9883: fi
                   9884: rm -f conftest.err conftest.$ac_ext
                   9885: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   9886: echo "${ECHO_T}$ac_header_preproc" >&6
                   9887: 
                   9888: # So?  What about this header?
                   9889: case $ac_header_compiler:$ac_header_preproc in
                   9890:   yes:no )
                   9891:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   9892: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   9893:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9894: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9895:     (
                   9896:       cat <<\_ASBOX
                   9897: ## ------------------------------------ ##
                   9898: ## Report this to bug-autoconf@gnu.org. ##
                   9899: ## ------------------------------------ ##
                   9900: _ASBOX
                   9901:     ) |
                   9902:       sed "s/^/$as_me: WARNING:     /" >&2
                   9903:     ;;
                   9904:   no:yes )
                   9905:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   9906: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   9907:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   9908: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   9909:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   9910: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   9911:     (
                   9912:       cat <<\_ASBOX
                   9913: ## ------------------------------------ ##
                   9914: ## Report this to bug-autoconf@gnu.org. ##
                   9915: ## ------------------------------------ ##
                   9916: _ASBOX
                   9917:     ) |
                   9918:       sed "s/^/$as_me: WARNING:     /" >&2
                   9919:     ;;
                   9920: esac
                   9921: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   9922: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   9923: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   9924:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9925: else
                   9926:   eval "$as_ac_Header=$ac_header_preproc"
1.2       paf      9927: fi
1.4       paf      9928: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   9929: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   9930: 
1.2       paf      9931: fi
1.4       paf      9932: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   9933:   cat >>confdefs.h <<_ACEOF
                   9934: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.2       paf      9935: _ACEOF
1.4       paf      9936:  break
1.1       paf      9937: fi
                   9938: 
1.4       paf      9939: done
                   9940: 
                   9941: 
                   9942: 
1.1       paf      9943: 
1.4       paf      9944: for ac_func in strchr index
                   9945: do
                   9946: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   9947: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   9948: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   9949: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.2       paf      9950:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      9951: else
1.4       paf      9952:   cat >conftest.$ac_ext <<_ACEOF
1.2       paf      9953: #line $LINENO "configure"
                   9954: /* confdefs.h.  */
                   9955: _ACEOF
                   9956: cat confdefs.h >>conftest.$ac_ext
                   9957: cat >>conftest.$ac_ext <<_ACEOF
                   9958: /* end confdefs.h.  */
1.4       paf      9959: /* System header to define __stub macros and hopefully few prototypes,
                   9960:     which can conflict with char $ac_func (); below.
                   9961:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   9962:     <limits.h> exists even on freestanding compilers.  */
                   9963: #ifdef __STDC__
                   9964: # include <limits.h>
                   9965: #else
                   9966: # include <assert.h>
                   9967: #endif
1.1       paf      9968: /* Override any gcc2 internal prototype to avoid an error.  */
1.2       paf      9969: #ifdef __cplusplus
                   9970: extern "C"
1.4       paf      9971: {
1.2       paf      9972: #endif
1.1       paf      9973: /* We use char because int might match the return type of a gcc2
1.2       paf      9974:    builtin and then its argument prototype would still apply.  */
1.4       paf      9975: char $ac_func ();
                   9976: /* The GNU C library defines this for functions which it implements
                   9977:     to always fail with ENOSYS.  Some functions are actually named
                   9978:     something starting with __ and the normal name is an alias.  */
                   9979: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   9980: choke me
                   9981: #else
                   9982: char (*f) () = $ac_func;
                   9983: #endif
                   9984: #ifdef __cplusplus
                   9985: }
                   9986: #endif
                   9987: 
1.2       paf      9988: int
                   9989: main ()
                   9990: {
1.4       paf      9991: return f != $ac_func;
1.2       paf      9992:   ;
                   9993:   return 0;
                   9994: }
                   9995: _ACEOF
                   9996: rm -f conftest.$ac_objext conftest$ac_exeext
                   9997: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9998:   (eval $ac_link) 2>&5
                   9999:   ac_status=$?
                   10000:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10001:   (exit $ac_status); } &&
                   10002:          { ac_try='test -s conftest$ac_exeext'
                   10003:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10004:   (eval $ac_try) 2>&5
                   10005:   ac_status=$?
                   10006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10007:   (exit $ac_status); }; }; then
1.4       paf      10008:   eval "$as_ac_var=yes"
1.2       paf      10009: else
                   10010:   echo "$as_me: failed program was:" >&5
                   10011: sed 's/^/| /' conftest.$ac_ext >&5
                   10012: 
1.4       paf      10013: eval "$as_ac_var=no"
1.2       paf      10014: fi
                   10015: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   10016: fi
1.4       paf      10017: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10018: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10019: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10020:   cat >>confdefs.h <<_ACEOF
                   10021: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.2       paf      10022: _ACEOF
1.4       paf      10023:  break
1.1       paf      10024: fi
1.4       paf      10025: done
1.1       paf      10026: 
                   10027: 
                   10028: 
1.4       paf      10029: for ac_func in strrchr rindex
1.1       paf      10030: do
1.2       paf      10031: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   10032: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   10033: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   10034: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   10035:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10036: else
                   10037:   cat >conftest.$ac_ext <<_ACEOF
                   10038: #line $LINENO "configure"
                   10039: /* confdefs.h.  */
                   10040: _ACEOF
                   10041: cat confdefs.h >>conftest.$ac_ext
                   10042: cat >>conftest.$ac_ext <<_ACEOF
                   10043: /* end confdefs.h.  */
1.1       paf      10044: /* System header to define __stub macros and hopefully few prototypes,
1.2       paf      10045:     which can conflict with char $ac_func (); below.
                   10046:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10047:     <limits.h> exists even on freestanding compilers.  */
                   10048: #ifdef __STDC__
                   10049: # include <limits.h>
                   10050: #else
                   10051: # include <assert.h>
                   10052: #endif
1.1       paf      10053: /* Override any gcc2 internal prototype to avoid an error.  */
1.2       paf      10054: #ifdef __cplusplus
                   10055: extern "C"
                   10056: {
                   10057: #endif
1.1       paf      10058: /* We use char because int might match the return type of a gcc2
1.2       paf      10059:    builtin and then its argument prototype would still apply.  */
                   10060: char $ac_func ();
1.1       paf      10061: /* The GNU C library defines this for functions which it implements
                   10062:     to always fail with ENOSYS.  Some functions are actually named
                   10063:     something starting with __ and the normal name is an alias.  */
                   10064: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10065: choke me
                   10066: #else
1.2       paf      10067: char (*f) () = $ac_func;
                   10068: #endif
                   10069: #ifdef __cplusplus
                   10070: }
1.1       paf      10071: #endif
                   10072: 
1.2       paf      10073: int
                   10074: main ()
                   10075: {
                   10076: return f != $ac_func;
                   10077:   ;
                   10078:   return 0;
                   10079: }
                   10080: _ACEOF
                   10081: rm -f conftest.$ac_objext conftest$ac_exeext
                   10082: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10083:   (eval $ac_link) 2>&5
                   10084:   ac_status=$?
                   10085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10086:   (exit $ac_status); } &&
                   10087:          { ac_try='test -s conftest$ac_exeext'
                   10088:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10089:   (eval $ac_try) 2>&5
                   10090:   ac_status=$?
                   10091:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10092:   (exit $ac_status); }; }; then
                   10093:   eval "$as_ac_var=yes"
                   10094: else
                   10095:   echo "$as_me: failed program was:" >&5
                   10096: sed 's/^/| /' conftest.$ac_ext >&5
                   10097: 
                   10098: eval "$as_ac_var=no"
                   10099: fi
                   10100: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   10101: fi
                   10102: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10103: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10104: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10105:   cat >>confdefs.h <<_ACEOF
                   10106: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10107: _ACEOF
1.4       paf      10108:  break
1.1       paf      10109: fi
                   10110: done
                   10111: 
1.3       paf      10112: 
                   10113: 
1.4       paf      10114: for ac_func in memcpy bcopy
                   10115: do
                   10116: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   10117: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   10118: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   10119: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.3       paf      10120:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10121: else
1.4       paf      10122:   cat >conftest.$ac_ext <<_ACEOF
                   10123: #line $LINENO "configure"
                   10124: /* confdefs.h.  */
                   10125: _ACEOF
                   10126: cat confdefs.h >>conftest.$ac_ext
                   10127: cat >>conftest.$ac_ext <<_ACEOF
                   10128: /* end confdefs.h.  */
                   10129: /* System header to define __stub macros and hopefully few prototypes,
                   10130:     which can conflict with char $ac_func (); below.
                   10131:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10132:     <limits.h> exists even on freestanding compilers.  */
                   10133: #ifdef __STDC__
                   10134: # include <limits.h>
                   10135: #else
                   10136: # include <assert.h>
1.1       paf      10137: #endif
1.4       paf      10138: /* Override any gcc2 internal prototype to avoid an error.  */
1.1       paf      10139: #ifdef __cplusplus
1.4       paf      10140: extern "C"
                   10141: {
1.1       paf      10142: #endif
1.4       paf      10143: /* We use char because int might match the return type of a gcc2
                   10144:    builtin and then its argument prototype would still apply.  */
                   10145: char $ac_func ();
                   10146: /* The GNU C library defines this for functions which it implements
                   10147:     to always fail with ENOSYS.  Some functions are actually named
                   10148:     something starting with __ and the normal name is an alias.  */
                   10149: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10150: choke me
1.1       paf      10151: #else
1.4       paf      10152: char (*f) () = $ac_func;
1.1       paf      10153: #endif
                   10154: #ifdef __cplusplus
                   10155: }
                   10156: #endif
                   10157: 
1.4       paf      10158: int
                   10159: main ()
                   10160: {
                   10161: return f != $ac_func;
                   10162:   ;
                   10163:   return 0;
                   10164: }
                   10165: _ACEOF
                   10166: rm -f conftest.$ac_objext conftest$ac_exeext
                   10167: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10168:   (eval $ac_link) 2>&5
1.2       paf      10169:   ac_status=$?
                   10170:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      10171:   (exit $ac_status); } &&
                   10172:          { ac_try='test -s conftest$ac_exeext'
                   10173:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10174:   (eval $ac_try) 2>&5
1.2       paf      10175:   ac_status=$?
                   10176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      10177:   (exit $ac_status); }; }; then
                   10178:   eval "$as_ac_var=yes"
1.1       paf      10179: else
1.4       paf      10180:   echo "$as_me: failed program was:" >&5
                   10181: sed 's/^/| /' conftest.$ac_ext >&5
                   10182: 
                   10183: eval "$as_ac_var=no"
                   10184: fi
                   10185: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   10186: fi
                   10187: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10188: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10189: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10190:   cat >>confdefs.h <<_ACEOF
                   10191: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10192: _ACEOF
                   10193:  break
1.1       paf      10194: fi
1.4       paf      10195: done
1.1       paf      10196: 
                   10197: 
                   10198: 
1.4       paf      10199: for ac_func in memmove strcmp
                   10200: do
                   10201: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   10202: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   10203: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   10204: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.2       paf      10205:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      10206: else
1.2       paf      10207:   cat >conftest.$ac_ext <<_ACEOF
                   10208: #line $LINENO "configure"
                   10209: /* confdefs.h.  */
                   10210: _ACEOF
                   10211: cat confdefs.h >>conftest.$ac_ext
                   10212: cat >>conftest.$ac_ext <<_ACEOF
                   10213: /* end confdefs.h.  */
1.4       paf      10214: /* System header to define __stub macros and hopefully few prototypes,
                   10215:     which can conflict with char $ac_func (); below.
                   10216:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10217:     <limits.h> exists even on freestanding compilers.  */
                   10218: #ifdef __STDC__
                   10219: # include <limits.h>
                   10220: #else
                   10221: # include <assert.h>
                   10222: #endif
                   10223: /* Override any gcc2 internal prototype to avoid an error.  */
                   10224: #ifdef __cplusplus
                   10225: extern "C"
                   10226: {
1.1       paf      10227: #endif
1.4       paf      10228: /* We use char because int might match the return type of a gcc2
                   10229:    builtin and then its argument prototype would still apply.  */
                   10230: char $ac_func ();
                   10231: /* The GNU C library defines this for functions which it implements
                   10232:     to always fail with ENOSYS.  Some functions are actually named
                   10233:     something starting with __ and the normal name is an alias.  */
                   10234: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10235: choke me
1.1       paf      10236: #else
1.4       paf      10237: char (*f) () = $ac_func;
1.1       paf      10238: #endif
1.4       paf      10239: #ifdef __cplusplus
                   10240: }
1.1       paf      10241: #endif
                   10242: 
1.4       paf      10243: int
                   10244: main ()
                   10245: {
                   10246: return f != $ac_func;
                   10247:   ;
                   10248:   return 0;
                   10249: }
1.2       paf      10250: _ACEOF
1.4       paf      10251: rm -f conftest.$ac_objext conftest$ac_exeext
1.2       paf      10252: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10253:   (eval $ac_link) 2>&5
                   10254:   ac_status=$?
                   10255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4       paf      10256:   (exit $ac_status); } &&
                   10257:          { ac_try='test -s conftest$ac_exeext'
1.2       paf      10258:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10259:   (eval $ac_try) 2>&5
                   10260:   ac_status=$?
                   10261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10262:   (exit $ac_status); }; }; then
1.4       paf      10263:   eval "$as_ac_var=yes"
1.1       paf      10264: else
1.4       paf      10265:   echo "$as_me: failed program was:" >&5
1.2       paf      10266: sed 's/^/| /' conftest.$ac_ext >&5
                   10267: 
1.4       paf      10268: eval "$as_ac_var=no"
1.1       paf      10269: fi
1.4       paf      10270: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       paf      10271: fi
1.4       paf      10272: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10273: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10274: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10275:   cat >>confdefs.h <<_ACEOF
                   10276: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10277: _ACEOF
                   10278: 
1.1       paf      10279: fi
1.4       paf      10280: done
1.1       paf      10281: 
1.2       paf      10282: 
1.1       paf      10283: 
                   10284: 
1.2       paf      10285: cat >confcache <<\_ACEOF
1.1       paf      10286: # This file is a shell script that caches the results of configure
                   10287: # tests run on this system so they can be shared between configure
1.2       paf      10288: # scripts and configure runs, see configure's option --config-cache.
                   10289: # It is not useful on other systems.  If it contains results you don't
                   10290: # want to keep, you may remove or edit it.
1.1       paf      10291: #
1.2       paf      10292: # config.status only pays attention to the cache file if you give it
                   10293: # the --recheck option to rerun configure.
1.1       paf      10294: #
1.2       paf      10295: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   10296: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   10297: # following values.
                   10298: 
                   10299: _ACEOF
                   10300: 
1.1       paf      10301: # The following way of writing the cache mishandles newlines in values,
                   10302: # but we know of no workaround that is simple, portable, and efficient.
                   10303: # So, don't put newlines in cache variables' values.
                   10304: # Ultrix sh set writes to stderr and can't be redirected directly,
                   10305: # and sets the high bit in the cache file unless we assign to the vars.
1.2       paf      10306: {
                   10307:   (set) 2>&1 |
                   10308:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   10309:     *ac_space=\ *)
                   10310:       # `set' does not quote correctly, so add quotes (double-quote
                   10311:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   10312:       sed -n \
                   10313:         "s/'/'\\\\''/g;
                   10314:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   10315:       ;;
                   10316:     *)
                   10317:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   10318:       sed -n \
                   10319:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   10320:       ;;
                   10321:     esac;
                   10322: } |
                   10323:   sed '
                   10324:      t clear
                   10325:      : clear
                   10326:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   10327:      t end
                   10328:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   10329:      : end' >>confcache
                   10330: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      10331:   if test -w $cache_file; then
1.2       paf      10332:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   10333:     cat confcache >$cache_file
1.1       paf      10334:   else
                   10335:     echo "not updating unwritable cache $cache_file"
                   10336:   fi
                   10337: fi
                   10338: rm -f confcache
                   10339: 
                   10340: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   10341: # Let make expand exec_prefix.
                   10342: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   10343: 
1.2       paf      10344: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   10345: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   10346: # trailing colons and then remove the whole line if VPATH becomes empty
                   10347: # (actually we leave an empty line to preserve line numbers).
1.1       paf      10348: if test "x$srcdir" = x.; then
1.2       paf      10349:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   10350: s/:*\$(srcdir):*/:/;
                   10351: s/:*\${srcdir}:*/:/;
                   10352: s/:*@srcdir@:*/:/;
                   10353: s/^\([^=]*=[   ]*\):*/\1/;
                   10354: s/:*$//;
                   10355: s/^[^=]*=[     ]*$//;
                   10356: }'
1.1       paf      10357: fi
                   10358: 
1.2       paf      10359: DEFS=-DHAVE_CONFIG_H
                   10360: 
                   10361: ac_libobjs=
                   10362: ac_ltlibobjs=
                   10363: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   10364:   # 1. Remove the extension, and $U if already installed.
                   10365:   ac_i=`echo "$ac_i" |
                   10366:          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   10367:   # 2. Add them.
                   10368:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   10369:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   10370: done
                   10371: LIBOBJS=$ac_libobjs
                   10372: 
                   10373: LTLIBOBJS=$ac_ltlibobjs
                   10374: 
1.1       paf      10375: 
1.2       paf      10376: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   10377:   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
                   10378: Usually this means the macro was only invoked conditionally." >&5
                   10379: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
                   10380: Usually this means the macro was only invoked conditionally." >&2;}
                   10381:    { (exit 1); exit 1; }; }
                   10382: fi
                   10383: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   10384:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   10385: Usually this means the macro was only invoked conditionally." >&5
                   10386: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   10387: Usually this means the macro was only invoked conditionally." >&2;}
                   10388:    { (exit 1); exit 1; }; }
                   10389: fi
                   10390: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   10391:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   10392: Usually this means the macro was only invoked conditionally." >&5
                   10393: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   10394: Usually this means the macro was only invoked conditionally." >&2;}
                   10395:    { (exit 1); exit 1; }; }
                   10396: fi
1.4       paf      10397: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   10398:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   10399: Usually this means the macro was only invoked conditionally." >&5
                   10400: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   10401: Usually this means the macro was only invoked conditionally." >&2;}
                   10402:    { (exit 1); exit 1; }; }
                   10403: fi
                   10404: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   10405:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   10406: Usually this means the macro was only invoked conditionally." >&5
                   10407: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   10408: Usually this means the macro was only invoked conditionally." >&2;}
                   10409:    { (exit 1); exit 1; }; }
                   10410: fi
1.1       paf      10411: 
                   10412: : ${CONFIG_STATUS=./config.status}
1.2       paf      10413: ac_clean_files_save=$ac_clean_files
                   10414: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   10415: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   10416: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   10417: cat >$CONFIG_STATUS <<_ACEOF
                   10418: #! $SHELL
                   10419: # Generated by $as_me.
1.1       paf      10420: # Run this file to recreate the current configuration.
                   10421: # Compiler output produced by configure, useful for debugging
1.2       paf      10422: # configure, is in config.log if it exists.
                   10423: 
                   10424: debug=false
                   10425: ac_cs_recheck=false
                   10426: ac_cs_silent=false
                   10427: SHELL=\${CONFIG_SHELL-$SHELL}
                   10428: _ACEOF
                   10429: 
                   10430: cat >>$CONFIG_STATUS <<\_ACEOF
                   10431: ## --------------------- ##
                   10432: ## M4sh Initialization.  ##
                   10433: ## --------------------- ##
                   10434: 
                   10435: # Be Bourne compatible
                   10436: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   10437:   emulate sh
                   10438:   NULLCMD=:
                   10439:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   10440:   # is contrary to our usage.  Disable this feature.
                   10441:   alias -g '${1+"$@"}'='"$@"'
                   10442: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   10443:   set -o posix
                   10444: fi
                   10445: 
                   10446: # Support unset when possible.
                   10447: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   10448:   as_unset=unset
                   10449: else
                   10450:   as_unset=false
                   10451: fi
                   10452: 
                   10453: 
                   10454: # Work around bugs in pre-3.0 UWIN ksh.
                   10455: $as_unset ENV MAIL MAILPATH
                   10456: PS1='$ '
                   10457: PS2='> '
                   10458: PS4='+ '
                   10459: 
                   10460: # NLS nuisances.
                   10461: for as_var in \
                   10462:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   10463:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   10464:   LC_TELEPHONE LC_TIME
                   10465: do
                   10466:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   10467:     eval $as_var=C; export $as_var
                   10468:   else
                   10469:     $as_unset $as_var
                   10470:   fi
                   10471: done
                   10472: 
                   10473: # Required to use basename.
                   10474: if expr a : '\(a\)' >/dev/null 2>&1; then
                   10475:   as_expr=expr
                   10476: else
                   10477:   as_expr=false
                   10478: fi
                   10479: 
                   10480: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   10481:   as_basename=basename
                   10482: else
                   10483:   as_basename=false
                   10484: fi
                   10485: 
1.1       paf      10486: 
1.2       paf      10487: # Name of the executable.
                   10488: as_me=`$as_basename "$0" ||
                   10489: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   10490:         X"$0" : 'X\(//\)$' \| \
                   10491:         X"$0" : 'X\(/\)$' \| \
                   10492:         .     : '\(.\)' 2>/dev/null ||
                   10493: echo X/"$0" |
                   10494:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   10495:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   10496:          /^X\/\(\/\).*/{ s//\1/; q; }
                   10497:          s/.*/./; q'`
                   10498: 
                   10499: 
                   10500: # PATH needs CR, and LINENO needs CR and PATH.
                   10501: # Avoid depending upon Character Ranges.
                   10502: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   10503: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   10504: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   10505: as_cr_digits='0123456789'
                   10506: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   10507: 
                   10508: # The user is always right.
                   10509: if test "${PATH_SEPARATOR+set}" != set; then
                   10510:   echo "#! /bin/sh" >conf$$.sh
                   10511:   echo  "exit 0"   >>conf$$.sh
                   10512:   chmod +x conf$$.sh
                   10513:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   10514:     PATH_SEPARATOR=';'
                   10515:   else
                   10516:     PATH_SEPARATOR=:
                   10517:   fi
                   10518:   rm -f conf$$.sh
                   10519: fi
                   10520: 
                   10521: 
                   10522:   as_lineno_1=$LINENO
                   10523:   as_lineno_2=$LINENO
                   10524:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   10525:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   10526:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   10527:   # Find who we are.  Look in the path if we contain no path at all
                   10528:   # relative or not.
                   10529:   case $0 in
                   10530:     *[\\/]* ) as_myself=$0 ;;
                   10531:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10532: for as_dir in $PATH
1.1       paf      10533: do
1.2       paf      10534:   IFS=$as_save_IFS
                   10535:   test -z "$as_dir" && as_dir=.
                   10536:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   10537: done
                   10538: 
                   10539:        ;;
1.1       paf      10540:   esac
1.2       paf      10541:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   10542:   # in which case we are not to be found in the path.
                   10543:   if test "x$as_myself" = x; then
                   10544:     as_myself=$0
                   10545:   fi
                   10546:   if test ! -f "$as_myself"; then
                   10547:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   10548: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   10549:    { (exit 1); exit 1; }; }
                   10550:   fi
                   10551:   case $CONFIG_SHELL in
                   10552:   '')
                   10553:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10554: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   10555: do
                   10556:   IFS=$as_save_IFS
                   10557:   test -z "$as_dir" && as_dir=.
                   10558:   for as_base in sh bash ksh sh5; do
                   10559:         case $as_dir in
                   10560:         /*)
                   10561:           if ("$as_dir/$as_base" -c '
                   10562:   as_lineno_1=$LINENO
                   10563:   as_lineno_2=$LINENO
                   10564:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   10565:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   10566:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   10567:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   10568:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   10569:             CONFIG_SHELL=$as_dir/$as_base
                   10570:             export CONFIG_SHELL
                   10571:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   10572:           fi;;
                   10573:         esac
                   10574:        done
1.1       paf      10575: done
1.2       paf      10576: ;;
                   10577:   esac
1.1       paf      10578: 
1.2       paf      10579:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   10580:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   10581:   # line-number line before each line; the second 'sed' does the real
                   10582:   # work.  The second script uses 'N' to pair each line-number line
                   10583:   # with the numbered line, and appends trailing '-' during
                   10584:   # substitution so that $LINENO is not a special case at line end.
                   10585:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   10586:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   10587:   sed '=' <$as_myself |
                   10588:     sed '
                   10589:       N
                   10590:       s,$,-,
                   10591:       : loop
                   10592:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   10593:       t loop
                   10594:       s,-$,,
                   10595:       s,^['$as_cr_digits']*\n,,
                   10596:     ' >$as_me.lineno &&
                   10597:   chmod +x $as_me.lineno ||
                   10598:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   10599: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   10600:    { (exit 1); exit 1; }; }
                   10601: 
                   10602:   # Don't try to exec as it changes $[0], causing all sort of problems
                   10603:   # (the dirname of $[0] is not the place where we might find the
                   10604:   # original and so on.  Autoconf is especially sensible to this).
                   10605:   . ./$as_me.lineno
                   10606:   # Exit status is that of the last command.
                   10607:   exit
                   10608: }
1.1       paf      10609: 
                   10610: 
1.2       paf      10611: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   10612:   *c*,-n*) ECHO_N= ECHO_C='
                   10613: ' ECHO_T='     ' ;;
                   10614:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   10615:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   10616: esac
1.1       paf      10617: 
1.2       paf      10618: if expr a : '\(a\)' >/dev/null 2>&1; then
                   10619:   as_expr=expr
                   10620: else
                   10621:   as_expr=false
                   10622: fi
1.1       paf      10623: 
1.2       paf      10624: rm -f conf$$ conf$$.exe conf$$.file
                   10625: echo >conf$$.file
                   10626: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   10627:   # We could just check for DJGPP; but this test a) works b) is more generic
                   10628:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   10629:   if test -f conf$$.exe; then
                   10630:     # Don't use ln at all; we don't have any links
                   10631:     as_ln_s='cp -p'
1.1       paf      10632:   else
1.2       paf      10633:     as_ln_s='ln -s'
1.1       paf      10634:   fi
1.2       paf      10635: elif ln conf$$.file conf$$ 2>/dev/null; then
                   10636:   as_ln_s=ln
                   10637: else
                   10638:   as_ln_s='cp -p'
                   10639: fi
                   10640: rm -f conf$$ conf$$.exe conf$$.file
                   10641: 
                   10642: if mkdir -p . 2>/dev/null; then
                   10643:   as_mkdir_p=:
                   10644: else
                   10645:   as_mkdir_p=false
                   10646: fi
                   10647: 
                   10648: as_executable_p="test -f"
                   10649: 
                   10650: # Sed expression to map a string onto a valid CPP name.
                   10651: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   10652: 
                   10653: # Sed expression to map a string onto a valid variable name.
                   10654: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   10655: 
                   10656: 
                   10657: # IFS
                   10658: # We need space, tab and new line, in precisely that order.
                   10659: as_nl='
                   10660: '
                   10661: IFS="  $as_nl"
                   10662: 
                   10663: # CDPATH.
                   10664: $as_unset CDPATH
                   10665: 
                   10666: exec 6>&1
                   10667: 
                   10668: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   10669: # report actual input values of CONFIG_FILES etc. instead of their
                   10670: # values after options handling.  Logging --version etc. is OK.
                   10671: exec 5>>config.log
                   10672: {
                   10673:   echo
                   10674:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   10675: ## Running $as_me. ##
                   10676: _ASBOX
                   10677: } >&5
                   10678: cat >&5 <<_CSEOF
                   10679: 
                   10680: This file was extended by $as_me, which was
                   10681: generated by GNU Autoconf 2.57.  Invocation command line was
                   10682: 
                   10683:   CONFIG_FILES    = $CONFIG_FILES
                   10684:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   10685:   CONFIG_LINKS    = $CONFIG_LINKS
                   10686:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   10687:   $ $0 $@
                   10688: 
                   10689: _CSEOF
                   10690: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   10691: echo >&5
                   10692: _ACEOF
                   10693: 
                   10694: # Files that config.status was made for.
                   10695: if test -n "$ac_config_files"; then
                   10696:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   10697: fi
                   10698: 
                   10699: if test -n "$ac_config_headers"; then
                   10700:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   10701: fi
                   10702: 
                   10703: if test -n "$ac_config_links"; then
                   10704:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   10705: fi
                   10706: 
                   10707: if test -n "$ac_config_commands"; then
                   10708:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1.1       paf      10709: fi
                   10710: 
1.2       paf      10711: cat >>$CONFIG_STATUS <<\_ACEOF
                   10712: 
                   10713: ac_cs_usage="\
                   10714: \`$as_me' instantiates files from templates according to the
                   10715: current configuration.
                   10716: 
                   10717: Usage: $0 [OPTIONS] [FILE]...
                   10718: 
                   10719:   -h, --help       print this help, then exit
                   10720:   -V, --version    print version number, then exit
                   10721:   -q, --quiet      do not print progress messages
                   10722:   -d, --debug      don't remove temporary files
                   10723:       --recheck    update $as_me by reconfiguring in the same conditions
                   10724:   --header=FILE[:TEMPLATE]
                   10725:                    instantiate the configuration header FILE
                   10726: 
                   10727: Configuration headers:
                   10728: $config_headers
                   10729: 
                   10730: Configuration commands:
                   10731: $config_commands
                   10732: 
                   10733: Report bugs to <bug-autoconf@gnu.org>."
                   10734: _ACEOF
                   10735: 
                   10736: cat >>$CONFIG_STATUS <<_ACEOF
                   10737: ac_cs_version="\\
                   10738: config.status
                   10739: configured by $0, generated by GNU Autoconf 2.57,
                   10740:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   10741: 
                   10742: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   10743: Free Software Foundation, Inc.
                   10744: This config.status script is free software; the Free Software Foundation
                   10745: gives unlimited permission to copy, distribute and modify it."
                   10746: srcdir=$srcdir
                   10747: INSTALL="$INSTALL"
                   10748: _ACEOF
1.1       paf      10749: 
1.2       paf      10750: cat >>$CONFIG_STATUS <<\_ACEOF
                   10751: # If no file are specified by the user, then we need to provide default
                   10752: # value.  By we need to know if files were specified by the user.
                   10753: ac_need_defaults=:
                   10754: while test $# != 0
                   10755: do
                   10756:   case $1 in
                   10757:   --*=*)
                   10758:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   10759:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   10760:     ac_shift=:
                   10761:     ;;
                   10762:   -*)
                   10763:     ac_option=$1
                   10764:     ac_optarg=$2
                   10765:     ac_shift=shift
                   10766:     ;;
                   10767:   *) # This is not an option, so the user has probably given explicit
                   10768:      # arguments.
                   10769:      ac_option=$1
                   10770:      ac_need_defaults=false;;
1.1       paf      10771:   esac
                   10772: 
1.2       paf      10773:   case $ac_option in
                   10774:   # Handling of the options.
                   10775: _ACEOF
                   10776: cat >>$CONFIG_STATUS <<\_ACEOF
                   10777:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   10778:     ac_cs_recheck=: ;;
                   10779:   --version | --vers* | -V )
                   10780:     echo "$ac_cs_version"; exit 0 ;;
                   10781:   --he | --h)
                   10782:     # Conflict between --help and --header
                   10783:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   10784: Try \`$0 --help' for more information." >&5
                   10785: echo "$as_me: error: ambiguous option: $1
                   10786: Try \`$0 --help' for more information." >&2;}
                   10787:    { (exit 1); exit 1; }; };;
                   10788:   --help | --hel | -h )
                   10789:     echo "$ac_cs_usage"; exit 0 ;;
                   10790:   --debug | --d* | -d )
                   10791:     debug=: ;;
                   10792:   --file | --fil | --fi | --f )
                   10793:     $ac_shift
                   10794:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   10795:     ac_need_defaults=false;;
                   10796:   --header | --heade | --head | --hea )
                   10797:     $ac_shift
                   10798:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   10799:     ac_need_defaults=false;;
                   10800:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   10801:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   10802:     ac_cs_silent=: ;;
                   10803: 
                   10804:   # This is an error.
                   10805:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   10806: Try \`$0 --help' for more information." >&5
                   10807: echo "$as_me: error: unrecognized option: $1
                   10808: Try \`$0 --help' for more information." >&2;}
                   10809:    { (exit 1); exit 1; }; } ;;
                   10810: 
                   10811:   *) ac_config_targets="$ac_config_targets $1" ;;
1.1       paf      10812: 
                   10813:   esac
1.2       paf      10814:   shift
                   10815: done
                   10816: 
                   10817: ac_configure_extra_args=
                   10818: 
                   10819: if $ac_cs_silent; then
                   10820:   exec 6>/dev/null
                   10821:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   10822: fi
                   10823: 
                   10824: _ACEOF
                   10825: cat >>$CONFIG_STATUS <<_ACEOF
                   10826: if \$ac_cs_recheck; then
                   10827:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   10828:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   10829: fi
                   10830: 
                   10831: _ACEOF
                   10832: 
                   10833: cat >>$CONFIG_STATUS <<_ACEOF
                   10834: #
                   10835: # INIT-COMMANDS section.
                   10836: #
                   10837: 
                   10838: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   10839: 
                   10840: _ACEOF
1.1       paf      10841: 
1.2       paf      10842: 
                   10843: 
                   10844: cat >>$CONFIG_STATUS <<\_ACEOF
                   10845: for ac_config_target in $ac_config_targets
                   10846: do
                   10847:   case "$ac_config_target" in
                   10848:   # Handling of arguments.
                   10849:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   10850:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   10851:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   10852: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   10853:    { (exit 1); exit 1; }; };;
1.1       paf      10854:   esac
1.2       paf      10855: done
                   10856: 
                   10857: # If the user did not use the arguments to specify the items to instantiate,
                   10858: # then the envvar interface is used.  Set only those that are not.
                   10859: # We use the long form for the default assignment because of an extremely
                   10860: # bizarre bug on SunOS 4.1.3.
                   10861: if $ac_need_defaults; then
                   10862:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   10863:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   10864: fi
                   10865: 
                   10866: # Have a temporary directory for convenience.  Make it in the build tree
                   10867: # simply because there is no reason to put it here, and in addition,
                   10868: # creating and moving files from /tmp can sometimes cause problems.
                   10869: # Create a temporary directory, and hook for its removal unless debugging.
                   10870: $debug ||
                   10871: {
                   10872:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   10873:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   10874: }
                   10875: 
                   10876: # Create a (secure) tmp directory for tmp files.
                   10877: 
                   10878: {
                   10879:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   10880:   test -n "$tmp" && test -d "$tmp"
                   10881: }  ||
                   10882: {
                   10883:   tmp=./confstat$$-$RANDOM
                   10884:   (umask 077 && mkdir $tmp)
                   10885: } ||
                   10886: {
                   10887:    echo "$me: cannot create a temporary directory in ." >&2
                   10888:    { (exit 1); exit 1; }
                   10889: }
                   10890: 
                   10891: _ACEOF
1.1       paf      10892: 
1.2       paf      10893: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      10894: 
1.2       paf      10895: #
                   10896: # CONFIG_HEADER section.
                   10897: #
1.1       paf      10898: 
                   10899: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   10900: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   10901: #
                   10902: # ac_d sets the value in "#define NAME VALUE" lines.
1.2       paf      10903: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   10904: ac_dB='[       ].*$,\1#\2'
                   10905: ac_dC=' '
                   10906: ac_dD=',;t'
                   10907: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   10908: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   10909: ac_uB='$,\1#\2define\3'
1.1       paf      10910: ac_uC=' '
1.2       paf      10911: ac_uD=',;t'
1.1       paf      10912: 
1.2       paf      10913: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      10914:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.2       paf      10915:   case $ac_file in
                   10916:   - | *:- | *:-:* ) # input from stdin
                   10917:         cat >$tmp/stdin
                   10918:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   10919:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   10920:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   10921:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   10922:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      10923:   esac
                   10924: 
1.2       paf      10925:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   10926: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      10927: 
1.2       paf      10928:   # First look for the input files in the build tree, otherwise in the
                   10929:   # src tree.
                   10930:   ac_file_inputs=`IFS=:
                   10931:     for f in $ac_file_in; do
                   10932:       case $f in
                   10933:       -) echo $tmp/stdin ;;
                   10934:       [\\/$]*)
                   10935:          # Absolute (can't be DOS-style, as IFS=:)
                   10936:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   10937: echo "$as_me: error: cannot find input file: $f" >&2;}
                   10938:    { (exit 1); exit 1; }; }
                   10939:          echo $f;;
                   10940:       *) # Relative
                   10941:          if test -f "$f"; then
                   10942:            # Build tree
                   10943:            echo $f
                   10944:          elif test -f "$srcdir/$f"; then
                   10945:            # Source tree
                   10946:            echo $srcdir/$f
                   10947:          else
                   10948:            # /dev/null tree
                   10949:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   10950: echo "$as_me: error: cannot find input file: $f" >&2;}
                   10951:    { (exit 1); exit 1; }; }
                   10952:          fi;;
                   10953:       esac
                   10954:     done` || { (exit 1); exit 1; }
                   10955:   # Remove the trailing spaces.
                   10956:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
                   10957: 
                   10958: _ACEOF
                   10959: 
                   10960: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   10961: # `conftest.undefs', that substitutes the proper values into
                   10962: # config.h.in to produce config.h.  The first handles `#define'
                   10963: # templates, and the second `#undef' templates.
                   10964: # And first: Protect against being on the right side of a sed subst in
                   10965: # config.status.  Protect against being in an unquoted here document
                   10966: # in config.status.
                   10967: rm -f conftest.defines conftest.undefs
                   10968: # Using a here document instead of a string reduces the quoting nightmare.
                   10969: # Putting comments in sed scripts is not portable.
                   10970: #
                   10971: # `end' is used to avoid that the second main sed command (meant for
                   10972: # 0-ary CPP macros) applies to n-ary macro definitions.
                   10973: # See the Autoconf documentation for `clear'.
                   10974: cat >confdef2sed.sed <<\_ACEOF
                   10975: s/[\\&,]/\\&/g
                   10976: s,[\\$`],\\&,g
                   10977: t clear
                   10978: : clear
                   10979: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   10980: t end
                   10981: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   10982: : end
                   10983: _ACEOF
                   10984: # If some macros were called several times there might be several times
                   10985: # the same #defines, which is useless.  Nevertheless, we may not want to
                   10986: # sort them, since we want the *last* AC-DEFINE to be honored.
                   10987: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   10988: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   10989: rm -f confdef2sed.sed
1.1       paf      10990: 
                   10991: # This sed command replaces #undef with comments.  This is necessary, for
                   10992: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   10993: # on some systems where configure will not decide to define it.
1.2       paf      10994: cat >>conftest.undefs <<\_ACEOF
                   10995: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   10996: _ACEOF
                   10997: 
                   10998: # Break up conftest.defines because some shells have a limit on the size
                   10999: # of here documents, and old seds have small limits too (100 cmds).
                   11000: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   11001: echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   11002: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   11003: echo '  :' >>$CONFIG_STATUS
                   11004: rm -f conftest.tail
                   11005: while grep . conftest.defines >/dev/null
                   11006: do
                   11007:   # Write a limited-size here document to $tmp/defines.sed.
                   11008:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   11009:   # Speed up: don't consider the non `#define' lines.
                   11010:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   11011:   # Work around the forget-to-reset-the-flag bug.
                   11012:   echo 't clr' >>$CONFIG_STATUS
                   11013:   echo ': clr' >>$CONFIG_STATUS
                   11014:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   11015:   echo 'CEOF
                   11016:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   11017:   rm -f $tmp/in
                   11018:   mv $tmp/out $tmp/in
                   11019: ' >>$CONFIG_STATUS
                   11020:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   11021:   rm -f conftest.defines
                   11022:   mv conftest.tail conftest.defines
                   11023: done
                   11024: rm -f conftest.defines
                   11025: echo '  fi # grep' >>$CONFIG_STATUS
                   11026: echo >>$CONFIG_STATUS
                   11027: 
                   11028: # Break up conftest.undefs because some shells have a limit on the size
                   11029: # of here documents, and old seds have small limits too (100 cmds).
                   11030: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      11031: rm -f conftest.tail
1.2       paf      11032: while grep . conftest.undefs >/dev/null
1.1       paf      11033: do
1.2       paf      11034:   # Write a limited-size here document to $tmp/undefs.sed.
                   11035:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   11036:   # Speed up: don't consider the non `#undef'
                   11037:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   11038:   # Work around the forget-to-reset-the-flag bug.
                   11039:   echo 't clr' >>$CONFIG_STATUS
                   11040:   echo ': clr' >>$CONFIG_STATUS
                   11041:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      11042:   echo 'CEOF
1.2       paf      11043:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   11044:   rm -f $tmp/in
                   11045:   mv $tmp/out $tmp/in
                   11046: ' >>$CONFIG_STATUS
                   11047:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   11048:   rm -f conftest.undefs
                   11049:   mv conftest.tail conftest.undefs
                   11050: done
                   11051: rm -f conftest.undefs
                   11052: 
                   11053: cat >>$CONFIG_STATUS <<\_ACEOF
                   11054:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   11055:   # use $as_me), people would be surprised to read:
                   11056:   #    /* config.h.  Generated by config.status.  */
                   11057:   if test x"$ac_file" = x-; then
                   11058:     echo "/* Generated by configure.  */" >$tmp/config.h
                   11059:   else
                   11060:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   11061:   fi
                   11062:   cat $tmp/in >>$tmp/config.h
                   11063:   rm -f $tmp/in
                   11064:   if test x"$ac_file" != x-; then
                   11065:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   11066:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   11067: echo "$as_me: $ac_file is unchanged" >&6;}
                   11068:     else
                   11069:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   11070: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11071:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   11072:          X"$ac_file" : 'X\(//\)$' \| \
                   11073:          X"$ac_file" : 'X\(/\)' \| \
                   11074:          .     : '\(.\)' 2>/dev/null ||
                   11075: echo X"$ac_file" |
                   11076:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11077:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11078:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11079:          /^X\(\/\).*/{ s//\1/; q; }
                   11080:          s/.*/./; q'`
                   11081:       { if $as_mkdir_p; then
                   11082:     mkdir -p "$ac_dir"
                   11083:   else
                   11084:     as_dir="$ac_dir"
                   11085:     as_dirs=
                   11086:     while test ! -d "$as_dir"; do
                   11087:       as_dirs="$as_dir $as_dirs"
                   11088:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   11089: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11090:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   11091:          X"$as_dir" : 'X\(//\)$' \| \
                   11092:          X"$as_dir" : 'X\(/\)' \| \
                   11093:          .     : '\(.\)' 2>/dev/null ||
                   11094: echo X"$as_dir" |
                   11095:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11096:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11097:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11098:          /^X\(\/\).*/{ s//\1/; q; }
                   11099:          s/.*/./; q'`
                   11100:     done
                   11101:     test ! -n "$as_dirs" || mkdir $as_dirs
                   11102:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   11103: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   11104:    { (exit 1); exit 1; }; }; }
                   11105: 
                   11106:       rm -f $ac_file
                   11107:       mv $tmp/config.h $ac_file
1.1       paf      11108:     fi
1.2       paf      11109:   else
                   11110:     cat $tmp/config.h
                   11111:     rm -f $tmp/config.h
1.1       paf      11112:   fi
1.2       paf      11113: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
                   11114: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   11115: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11116:          X$ac_file : 'X\(//\)[^/]' \| \
                   11117:          X$ac_file : 'X\(//\)$' \| \
                   11118:          X$ac_file : 'X\(/\)' \| \
                   11119:          .     : '\(.\)' 2>/dev/null ||
                   11120: echo X$ac_file |
                   11121:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11122:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11123:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11124:          /^X\(\/\).*/{ s//\1/; q; }
                   11125:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   11126: done
                   11127: _ACEOF
                   11128: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      11129: 
1.2       paf      11130: #
                   11131: # CONFIG_COMMANDS section.
                   11132: #
                   11133: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   11134:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   11135:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   11136:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   11137: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11138:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   11139:          X"$ac_dest" : 'X\(//\)$' \| \
                   11140:          X"$ac_dest" : 'X\(/\)' \| \
                   11141:          .     : '\(.\)' 2>/dev/null ||
                   11142: echo X"$ac_dest" |
                   11143:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11144:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11145:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11146:          /^X\(\/\).*/{ s//\1/; q; }
                   11147:          s/.*/./; q'`
                   11148:   ac_builddir=.
                   11149: 
                   11150: if test "$ac_dir" != .; then
                   11151:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   11152:   # A "../" for each directory in $ac_dir_suffix.
                   11153:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   11154: else
                   11155:   ac_dir_suffix= ac_top_builddir=
                   11156: fi
                   11157: 
                   11158: case $srcdir in
                   11159:   .)  # No --srcdir option.  We are building in place.
                   11160:     ac_srcdir=.
                   11161:     if test -z "$ac_top_builddir"; then
                   11162:        ac_top_srcdir=.
                   11163:     else
                   11164:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   11165:     fi ;;
                   11166:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   11167:     ac_srcdir=$srcdir$ac_dir_suffix;
                   11168:     ac_top_srcdir=$srcdir ;;
                   11169:   *) # Relative path.
                   11170:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   11171:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   11172: esac
                   11173: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   11174: # absolute.
                   11175: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   11176: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   11177: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   11178: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   11179: 
                   11180: 
                   11181:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   11182: echo "$as_me: executing $ac_dest commands" >&6;}
                   11183:   case $ac_dest in
                   11184:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   11185:   # Strip MF so we end up with the name of the file.
                   11186:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   11187:   # Check whether this is an Automake generated Makefile or not.
                   11188:   # We used to match only the files named `Makefile.in', but
                   11189:   # some people rename them; so instead we look at the file content.
                   11190:   # Grep'ing the first line is not enough: some people post-process
                   11191:   # each Makefile.in and add a new line on top of each file to say so.
                   11192:   # So let's grep whole file.
                   11193:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   11194:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   11195: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11196:          X"$mf" : 'X\(//\)[^/]' \| \
                   11197:          X"$mf" : 'X\(//\)$' \| \
                   11198:          X"$mf" : 'X\(/\)' \| \
                   11199:          .     : '\(.\)' 2>/dev/null ||
                   11200: echo X"$mf" |
                   11201:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11202:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11203:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11204:          /^X\(\/\).*/{ s//\1/; q; }
                   11205:          s/.*/./; q'`
                   11206:   else
                   11207:     continue
                   11208:   fi
                   11209:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   11210:   # Extract the definition of DEP_FILES from the Makefile without
                   11211:   # running `make'.
                   11212:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   11213:   test -z "$DEPDIR" && continue
                   11214:   # When using ansi2knr, U may be empty or an underscore; expand it
                   11215:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   11216:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   11217:   # We invoke sed twice because it is the simplest approach to
                   11218:   # changing $(DEPDIR) to its actual value in the expansion.
                   11219:   for file in `sed -n -e '
                   11220:     /^DEP_FILES = .*\\\\$/ {
                   11221:       s/^DEP_FILES = //
                   11222:       :loop
                   11223:        s/\\\\$//
                   11224:        p
                   11225:        n
                   11226:        /\\\\$/ b loop
                   11227:       p
                   11228:     }
                   11229:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   11230:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   11231:     # Make sure the directory exists.
                   11232:     test -f "$dirpart/$file" && continue
                   11233:     fdir=`(dirname "$file") 2>/dev/null ||
                   11234: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11235:          X"$file" : 'X\(//\)[^/]' \| \
                   11236:          X"$file" : 'X\(//\)$' \| \
                   11237:          X"$file" : 'X\(/\)' \| \
                   11238:          .     : '\(.\)' 2>/dev/null ||
                   11239: echo X"$file" |
                   11240:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11241:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11242:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11243:          /^X\(\/\).*/{ s//\1/; q; }
                   11244:          s/.*/./; q'`
                   11245:     { if $as_mkdir_p; then
                   11246:     mkdir -p $dirpart/$fdir
                   11247:   else
                   11248:     as_dir=$dirpart/$fdir
                   11249:     as_dirs=
                   11250:     while test ! -d "$as_dir"; do
                   11251:       as_dirs="$as_dir $as_dirs"
                   11252:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   11253: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11254:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   11255:          X"$as_dir" : 'X\(//\)$' \| \
                   11256:          X"$as_dir" : 'X\(/\)' \| \
                   11257:          .     : '\(.\)' 2>/dev/null ||
                   11258: echo X"$as_dir" |
                   11259:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   11260:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   11261:          /^X\(\/\/\)$/{ s//\1/; q; }
                   11262:          /^X\(\/\).*/{ s//\1/; q; }
                   11263:          s/.*/./; q'`
                   11264:     done
                   11265:     test ! -n "$as_dirs" || mkdir $as_dirs
                   11266:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   11267: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   11268:    { (exit 1); exit 1; }; }; }
1.1       paf      11269: 
1.2       paf      11270:     # echo "creating $dirpart/$file"
                   11271:     echo '# dummy' > "$dirpart/$file"
                   11272:   done
                   11273: done
                   11274:  ;;
                   11275:   esac
                   11276: done
                   11277: _ACEOF
1.1       paf      11278: 
1.2       paf      11279: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      11280: 
1.2       paf      11281: { (exit 0); exit 0; }
                   11282: _ACEOF
1.1       paf      11283: chmod +x $CONFIG_STATUS
1.2       paf      11284: ac_clean_files=$ac_clean_files_save
                   11285: 
                   11286: 
                   11287: # configure is writing to config.log, and then calls config.status.
                   11288: # config.status does its own redirection, appending to config.log.
                   11289: # Unfortunately, on DOS this fails, as config.log is still kept open
                   11290: # by configure, so config.status won't be able to write to it; its
                   11291: # output is simply discarded.  So we exec the FD to /dev/null,
                   11292: # effectively closing config.log, so it can be properly (re)opened and
                   11293: # appended to by config.status.  When coming back to configure, we
                   11294: # need to make the FD available again.
                   11295: if test "$no_create" != yes; then
                   11296:   ac_cs_success=:
                   11297:   ac_config_status_args=
                   11298:   test "$silent" = yes &&
                   11299:     ac_config_status_args="$ac_config_status_args --quiet"
                   11300:   exec 5>/dev/null
                   11301:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   11302:   exec 5>>config.log
                   11303:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   11304:   # would make configure fail if this is the last instruction.
                   11305:   $ac_cs_success || { (exit 1); exit 1; }
                   11306: fi
1.1       paf      11307: 
                   11308: 
                   11309: # Local Variables:
                   11310: # mode:shell-script
                   11311: # sh-indentation:2
                   11312: # End:

E-mail: