Annotation of sql/pgsql/configure, revision 1.15

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.10      paf         3: # Generated by GNU Autoconf 2.57.
1.1       parser      4: #
1.10      paf         5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                      6: # Free Software Foundation, Inc.
1.1       parser      7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
1.10      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: 
                    232: 
                    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: 
                    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: 
                    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`
1.1       parser    406: 
1.10      paf       407: exec 6>&1
                    408: 
                    409: #
                    410: # Initializations.
                    411: #
1.1       parser    412: ac_default_prefix=/usr/local
1.10      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="parser3pgsql.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: 
                    470: ac_subdirs_all="$ac_subdirs_all libltdl"
1.15    ! paf       471: 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 PGSQL_INC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE INCLTDL LIBLTDL LIBADD_DL build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL subdirs LIBOBJS LTLIBOBJS'
1.10      paf       472: ac_subst_files=''
1.1       parser    473: 
                    474: # Initialize some variables set by options.
1.10      paf       475: ac_init_help=
                    476: ac_init_version=false
1.1       parser    477: # The variables have the same names as the options, with
                    478: # dashes changed to underlines.
1.10      paf       479: cache_file=/dev/null
1.1       parser    480: exec_prefix=NONE
                    481: no_create=
                    482: no_recursion=
                    483: prefix=NONE
                    484: program_prefix=NONE
                    485: program_suffix=NONE
                    486: program_transform_name=s,x,x,
                    487: silent=
                    488: site=
                    489: srcdir=
                    490: verbose=
                    491: x_includes=NONE
                    492: x_libraries=NONE
1.10      paf       493: 
                    494: # Installation directory options.
                    495: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    496: # and all the variables that are supposed to be based on exec_prefix
                    497: # by default will actually change.
                    498: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       parser    499: bindir='${exec_prefix}/bin'
                    500: sbindir='${exec_prefix}/sbin'
                    501: libexecdir='${exec_prefix}/libexec'
                    502: datadir='${prefix}/share'
                    503: sysconfdir='${prefix}/etc'
                    504: sharedstatedir='${prefix}/com'
                    505: localstatedir='${prefix}/var'
                    506: libdir='${exec_prefix}/lib'
                    507: includedir='${prefix}/include'
                    508: oldincludedir='/usr/include'
                    509: infodir='${prefix}/info'
                    510: mandir='${prefix}/man'
                    511: 
                    512: ac_prev=
                    513: for ac_option
                    514: do
                    515:   # If the previous option needs an argument, assign it.
                    516:   if test -n "$ac_prev"; then
                    517:     eval "$ac_prev=\$ac_option"
                    518:     ac_prev=
                    519:     continue
                    520:   fi
                    521: 
1.10      paf       522:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       parser    523: 
                    524:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    525: 
1.10      paf       526:   case $ac_option in
1.1       parser    527: 
                    528:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    529:     ac_prev=bindir ;;
                    530:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.10      paf       531:     bindir=$ac_optarg ;;
1.1       parser    532: 
                    533:   -build | --build | --buil | --bui | --bu)
1.10      paf       534:     ac_prev=build_alias ;;
1.1       parser    535:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.10      paf       536:     build_alias=$ac_optarg ;;
1.1       parser    537: 
                    538:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    539:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    540:     ac_prev=cache_file ;;
                    541:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    542:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.10      paf       543:     cache_file=$ac_optarg ;;
                    544: 
                    545:   --config-cache | -C)
                    546:     cache_file=config.cache ;;
1.1       parser    547: 
                    548:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    549:     ac_prev=datadir ;;
                    550:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    551:   | --da=*)
1.10      paf       552:     datadir=$ac_optarg ;;
1.1       parser    553: 
                    554:   -disable-* | --disable-*)
1.10      paf       555:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       parser    556:     # Reject names that are not valid shell variable names.
1.10      paf       557:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    558:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    559:    { (exit 1); exit 1; }; }
                    560:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    561:     eval "enable_$ac_feature=no" ;;
1.1       parser    562: 
                    563:   -enable-* | --enable-*)
1.10      paf       564:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       parser    565:     # Reject names that are not valid shell variable names.
1.10      paf       566:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    567:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    568:    { (exit 1); exit 1; }; }
                    569:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    570:     case $ac_option in
                    571:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    572:       *) ac_optarg=yes ;;
                    573:     esac
1.10      paf       574:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       parser    575: 
                    576:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    577:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    578:   | --exec | --exe | --ex)
                    579:     ac_prev=exec_prefix ;;
                    580:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    581:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    582:   | --exec=* | --exe=* | --ex=*)
1.10      paf       583:     exec_prefix=$ac_optarg ;;
1.1       parser    584: 
                    585:   -gas | --gas | --ga | --g)
                    586:     # Obsolete; use --with-gas.
                    587:     with_gas=yes ;;
                    588: 
1.10      paf       589:   -help | --help | --hel | --he | -h)
                    590:     ac_init_help=long ;;
                    591:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    592:     ac_init_help=recursive ;;
                    593:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    594:     ac_init_help=short ;;
1.1       parser    595: 
                    596:   -host | --host | --hos | --ho)
1.10      paf       597:     ac_prev=host_alias ;;
1.1       parser    598:   -host=* | --host=* | --hos=* | --ho=*)
1.10      paf       599:     host_alias=$ac_optarg ;;
1.1       parser    600: 
                    601:   -includedir | --includedir | --includedi | --included | --include \
                    602:   | --includ | --inclu | --incl | --inc)
                    603:     ac_prev=includedir ;;
                    604:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    605:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.10      paf       606:     includedir=$ac_optarg ;;
1.1       parser    607: 
                    608:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    609:     ac_prev=infodir ;;
                    610:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.10      paf       611:     infodir=$ac_optarg ;;
1.1       parser    612: 
                    613:   -libdir | --libdir | --libdi | --libd)
                    614:     ac_prev=libdir ;;
                    615:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.10      paf       616:     libdir=$ac_optarg ;;
1.1       parser    617: 
                    618:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    619:   | --libexe | --libex | --libe)
                    620:     ac_prev=libexecdir ;;
                    621:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    622:   | --libexe=* | --libex=* | --libe=*)
1.10      paf       623:     libexecdir=$ac_optarg ;;
1.1       parser    624: 
                    625:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    626:   | --localstate | --localstat | --localsta | --localst \
                    627:   | --locals | --local | --loca | --loc | --lo)
                    628:     ac_prev=localstatedir ;;
                    629:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    630:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    631:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.10      paf       632:     localstatedir=$ac_optarg ;;
1.1       parser    633: 
                    634:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    635:     ac_prev=mandir ;;
                    636:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.10      paf       637:     mandir=$ac_optarg ;;
1.1       parser    638: 
                    639:   -nfp | --nfp | --nf)
                    640:     # Obsolete; use --without-fp.
                    641:     with_fp=no ;;
                    642: 
                    643:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.10      paf       644:   | --no-cr | --no-c | -n)
1.1       parser    645:     no_create=yes ;;
                    646: 
                    647:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    648:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    649:     no_recursion=yes ;;
                    650: 
                    651:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    652:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    653:   | --oldin | --oldi | --old | --ol | --o)
                    654:     ac_prev=oldincludedir ;;
                    655:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    656:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    657:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.10      paf       658:     oldincludedir=$ac_optarg ;;
1.1       parser    659: 
                    660:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    661:     ac_prev=prefix ;;
                    662:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.10      paf       663:     prefix=$ac_optarg ;;
1.1       parser    664: 
                    665:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    666:   | --program-pre | --program-pr | --program-p)
                    667:     ac_prev=program_prefix ;;
                    668:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    669:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.10      paf       670:     program_prefix=$ac_optarg ;;
1.1       parser    671: 
                    672:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    673:   | --program-suf | --program-su | --program-s)
                    674:     ac_prev=program_suffix ;;
                    675:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    676:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.10      paf       677:     program_suffix=$ac_optarg ;;
1.1       parser    678: 
                    679:   -program-transform-name | --program-transform-name \
                    680:   | --program-transform-nam | --program-transform-na \
                    681:   | --program-transform-n | --program-transform- \
                    682:   | --program-transform | --program-transfor \
                    683:   | --program-transfo | --program-transf \
                    684:   | --program-trans | --program-tran \
                    685:   | --progr-tra | --program-tr | --program-t)
                    686:     ac_prev=program_transform_name ;;
                    687:   -program-transform-name=* | --program-transform-name=* \
                    688:   | --program-transform-nam=* | --program-transform-na=* \
                    689:   | --program-transform-n=* | --program-transform-=* \
                    690:   | --program-transform=* | --program-transfor=* \
                    691:   | --program-transfo=* | --program-transf=* \
                    692:   | --program-trans=* | --program-tran=* \
                    693:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.10      paf       694:     program_transform_name=$ac_optarg ;;
1.1       parser    695: 
                    696:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    697:   | -silent | --silent | --silen | --sile | --sil)
                    698:     silent=yes ;;
                    699: 
                    700:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    701:     ac_prev=sbindir ;;
                    702:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    703:   | --sbi=* | --sb=*)
1.10      paf       704:     sbindir=$ac_optarg ;;
1.1       parser    705: 
                    706:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    707:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    708:   | --sharedst | --shareds | --shared | --share | --shar \
                    709:   | --sha | --sh)
                    710:     ac_prev=sharedstatedir ;;
                    711:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    712:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    713:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    714:   | --sha=* | --sh=*)
1.10      paf       715:     sharedstatedir=$ac_optarg ;;
1.1       parser    716: 
                    717:   -site | --site | --sit)
                    718:     ac_prev=site ;;
                    719:   -site=* | --site=* | --sit=*)
1.10      paf       720:     site=$ac_optarg ;;
1.1       parser    721: 
                    722:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    723:     ac_prev=srcdir ;;
                    724:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.10      paf       725:     srcdir=$ac_optarg ;;
1.1       parser    726: 
                    727:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    728:   | --syscon | --sysco | --sysc | --sys | --sy)
                    729:     ac_prev=sysconfdir ;;
                    730:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    731:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.10      paf       732:     sysconfdir=$ac_optarg ;;
1.1       parser    733: 
                    734:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.10      paf       735:     ac_prev=target_alias ;;
1.1       parser    736:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.10      paf       737:     target_alias=$ac_optarg ;;
1.1       parser    738: 
                    739:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    740:     verbose=yes ;;
                    741: 
1.10      paf       742:   -version | --version | --versio | --versi | --vers | -V)
                    743:     ac_init_version=: ;;
1.1       parser    744: 
                    745:   -with-* | --with-*)
1.10      paf       746:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       parser    747:     # Reject names that are not valid shell variable names.
1.10      paf       748:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    749:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    750:    { (exit 1); exit 1; }; }
1.1       parser    751:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.10      paf       752:     case $ac_option in
                    753:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    754:       *) ac_optarg=yes ;;
                    755:     esac
1.10      paf       756:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       parser    757: 
                    758:   -without-* | --without-*)
1.10      paf       759:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       parser    760:     # Reject names that are not valid shell variable names.
1.10      paf       761:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    762:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    763:    { (exit 1); exit 1; }; }
                    764:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    765:     eval "with_$ac_package=no" ;;
1.1       parser    766: 
                    767:   --x)
                    768:     # Obsolete; use --with-x.
                    769:     with_x=yes ;;
                    770: 
                    771:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    772:   | --x-incl | --x-inc | --x-in | --x-i)
                    773:     ac_prev=x_includes ;;
                    774:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    775:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.10      paf       776:     x_includes=$ac_optarg ;;
1.1       parser    777: 
                    778:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    779:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    780:     ac_prev=x_libraries ;;
                    781:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    782:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.10      paf       783:     x_libraries=$ac_optarg ;;
1.1       parser    784: 
1.10      paf       785:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    786: Try \`$0 --help' for more information." >&2
                    787:    { (exit 1); exit 1; }; }
1.1       parser    788:     ;;
                    789: 
1.10      paf       790:   *=*)
                    791:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    792:     # Reject names that are not valid shell variable names.
                    793:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    794:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    795:    { (exit 1); exit 1; }; }
                    796:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    797:     eval "$ac_envvar='$ac_optarg'"
                    798:     export $ac_envvar ;;
                    799: 
1.1       parser    800:   *)
1.10      paf       801:     # FIXME: should be removed in autoconf 3.0.
                    802:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    803:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    804:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    805:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       parser    806:     ;;
                    807: 
                    808:   esac
                    809: done
                    810: 
                    811: if test -n "$ac_prev"; then
1.10      paf       812:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    813:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    814:    { (exit 1); exit 1; }; }
1.1       parser    815: fi
                    816: 
1.10      paf       817: # Be sure to have absolute paths.
                    818: for ac_var in exec_prefix prefix
                    819: do
                    820:   eval ac_val=$`echo $ac_var`
                    821:   case $ac_val in
                    822:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    823:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    824:    { (exit 1); exit 1; }; };;
                    825:   esac
                    826: done
1.1       parser    827: 
1.10      paf       828: # Be sure to have absolute paths.
                    829: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    830:               localstatedir libdir includedir oldincludedir infodir mandir
1.1       parser    831: do
1.10      paf       832:   eval ac_val=$`echo $ac_var`
                    833:   case $ac_val in
                    834:     [\\/$]* | ?:[\\/]* ) ;;
                    835:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    836:    { (exit 1); exit 1; }; };;
1.1       parser    837:   esac
                    838: done
                    839: 
1.10      paf       840: # There might be people who depend on the old broken behavior: `$host'
                    841: # used to hold the argument of --host etc.
                    842: # FIXME: To remove some day.
                    843: build=$build_alias
                    844: host=$host_alias
                    845: target=$target_alias
                    846: 
                    847: # FIXME: To remove some day.
                    848: if test "x$host_alias" != x; then
                    849:   if test "x$build_alias" = x; then
                    850:     cross_compiling=maybe
                    851:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    852:     If a cross compiler is detected then cross compile mode will be used." >&2
                    853:   elif test "x$build_alias" != "x$host_alias"; then
                    854:     cross_compiling=yes
                    855:   fi
                    856: fi
                    857: 
                    858: ac_tool_prefix=
                    859: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       parser    860: 
1.10      paf       861: test "$silent" = yes && exec 6>/dev/null
1.1       parser    862: 
                    863: 
                    864: # Find the source files, if location was not specified.
                    865: if test -z "$srcdir"; then
                    866:   ac_srcdir_defaulted=yes
                    867:   # Try the directory containing this script, then its parent.
1.10      paf       868:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    869: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    870:          X"$0" : 'X\(//\)[^/]' \| \
                    871:          X"$0" : 'X\(//\)$' \| \
                    872:          X"$0" : 'X\(/\)' \| \
                    873:          .     : '\(.\)' 2>/dev/null ||
                    874: echo X"$0" |
                    875:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    876:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    877:          /^X\(\/\/\)$/{ s//\1/; q; }
                    878:          /^X\(\/\).*/{ s//\1/; q; }
                    879:          s/.*/./; q'`
1.1       parser    880:   srcdir=$ac_confdir
                    881:   if test ! -r $srcdir/$ac_unique_file; then
                    882:     srcdir=..
                    883:   fi
                    884: else
                    885:   ac_srcdir_defaulted=no
                    886: fi
                    887: if test ! -r $srcdir/$ac_unique_file; then
                    888:   if test "$ac_srcdir_defaulted" = yes; then
1.10      paf       889:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    890:    { (exit 1); exit 1; }; }
1.1       parser    891:   else
1.10      paf       892:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    893:    { (exit 1); exit 1; }; }
1.1       parser    894:   fi
                    895: fi
1.10      paf       896: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    897:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    898:    { (exit 1); exit 1; }; }
                    899: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    900: ac_env_build_alias_set=${build_alias+set}
                    901: ac_env_build_alias_value=$build_alias
                    902: ac_cv_env_build_alias_set=${build_alias+set}
                    903: ac_cv_env_build_alias_value=$build_alias
                    904: ac_env_host_alias_set=${host_alias+set}
                    905: ac_env_host_alias_value=$host_alias
                    906: ac_cv_env_host_alias_set=${host_alias+set}
                    907: ac_cv_env_host_alias_value=$host_alias
                    908: ac_env_target_alias_set=${target_alias+set}
                    909: ac_env_target_alias_value=$target_alias
                    910: ac_cv_env_target_alias_set=${target_alias+set}
                    911: ac_cv_env_target_alias_value=$target_alias
                    912: ac_env_CXX_set=${CXX+set}
                    913: ac_env_CXX_value=$CXX
                    914: ac_cv_env_CXX_set=${CXX+set}
                    915: ac_cv_env_CXX_value=$CXX
                    916: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    917: ac_env_CXXFLAGS_value=$CXXFLAGS
                    918: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    919: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    920: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    921: ac_env_LDFLAGS_value=$LDFLAGS
                    922: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    923: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    924: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    925: ac_env_CPPFLAGS_value=$CPPFLAGS
                    926: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    927: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    928: ac_env_CC_set=${CC+set}
                    929: ac_env_CC_value=$CC
                    930: ac_cv_env_CC_set=${CC+set}
                    931: ac_cv_env_CC_value=$CC
                    932: ac_env_CFLAGS_set=${CFLAGS+set}
                    933: ac_env_CFLAGS_value=$CFLAGS
                    934: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    935: ac_cv_env_CFLAGS_value=$CFLAGS
1.15    ! paf       936: ac_env_CPP_set=${CPP+set}
        !           937: ac_env_CPP_value=$CPP
        !           938: ac_cv_env_CPP_set=${CPP+set}
        !           939: ac_cv_env_CPP_value=$CPP
1.10      paf       940: 
                    941: #
                    942: # Report the --help message.
                    943: #
                    944: if test "$ac_init_help" = "long"; then
                    945:   # Omit some internal or obsolete options to make the list less imposing.
                    946:   # This message is too long to be a string in the A/UX 3.1 sh.
                    947:   cat <<_ACEOF
                    948: \`configure' configures this package to adapt to many kinds of systems.
                    949: 
                    950: Usage: $0 [OPTION]... [VAR=VALUE]...
                    951: 
                    952: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    953: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    954: 
                    955: Defaults for the options are specified in brackets.
                    956: 
                    957: Configuration:
                    958:   -h, --help              display this help and exit
                    959:       --help=short        display options specific to this package
                    960:       --help=recursive    display the short help of all the included packages
                    961:   -V, --version           display version information and exit
                    962:   -q, --quiet, --silent   do not print \`checking...' messages
                    963:       --cache-file=FILE   cache test results in FILE [disabled]
                    964:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    965:   -n, --no-create         do not create output files
                    966:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    967: 
                    968: _ACEOF
                    969: 
                    970:   cat <<_ACEOF
                    971: Installation directories:
                    972:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    973:                           [$ac_default_prefix]
                    974:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    975:                           [PREFIX]
                    976: 
                    977: By default, \`make install' will install all the files in
                    978: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    979: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    980: for instance \`--prefix=\$HOME'.
                    981: 
                    982: For better control, use the options below.
                    983: 
                    984: Fine tuning of the installation directories:
                    985:   --bindir=DIR           user executables [EPREFIX/bin]
                    986:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    987:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    988:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    989:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    990:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    991:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    992:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    993:   --includedir=DIR       C header files [PREFIX/include]
                    994:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    995:   --infodir=DIR          info documentation [PREFIX/info]
                    996:   --mandir=DIR           man documentation [PREFIX/man]
                    997: _ACEOF
                    998: 
                    999:   cat <<\_ACEOF
                   1000: 
                   1001: Program names:
                   1002:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1003:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1004:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1005: 
                   1006: System types:
                   1007:   --build=BUILD     configure for building on BUILD [guessed]
                   1008:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1009: _ACEOF
                   1010: fi
                   1011: 
                   1012: if test -n "$ac_init_help"; then
                   1013: 
                   1014:   cat <<\_ACEOF
                   1015: 
                   1016: Optional Features:
                   1017:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1018:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1019:   --disable-dependency-tracking Speeds up one-time builds
                   1020:   --enable-dependency-tracking  Do not reject slow dependency extractors
                   1021:   --enable-static=PKGS  build static libraries default=no
                   1022:   --enable-shared=PKGS  build shared libraries default=yes
                   1023:   --enable-fast-install=PKGS  optimize for fast installation default=yes
                   1024:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1025: 
                   1026: Optional Packages:
                   1027:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1028:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1029:   --with-pgsql-inc=DIR      DIR is the PgSQL includes directory
                   1030:   --with-gnu-ld           assume the C compiler uses GNU ld default=no
                   1031:   --with-pic              try to use only PIC/non-PIC objects default=use both
                   1032: 
                   1033: Some influential environment variables:
                   1034:   CXX         C++ compiler command
                   1035:   CXXFLAGS    C++ compiler flags
                   1036:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1037:               nonstandard directory <lib dir>
                   1038:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                   1039:               headers in a nonstandard directory <include dir>
                   1040:   CC          C compiler command
                   1041:   CFLAGS      C compiler flags
1.15    ! paf      1042:   CPP         C preprocessor
1.10      paf      1043: 
                   1044: Use these variables to override the choices made by `configure' or to help
                   1045: it to find libraries and programs with nonstandard names/locations.
                   1046: 
                   1047: _ACEOF
                   1048: fi
                   1049: 
                   1050: if test "$ac_init_help" = "recursive"; then
                   1051:   # If there are subdirs, report their specific --help.
                   1052:   ac_popdir=`pwd`
                   1053:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1054:     test -d $ac_dir || continue
                   1055:     ac_builddir=.
                   1056: 
                   1057: if test "$ac_dir" != .; then
                   1058:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   1059:   # A "../" for each directory in $ac_dir_suffix.
                   1060:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   1061: else
                   1062:   ac_dir_suffix= ac_top_builddir=
                   1063: fi
                   1064: 
                   1065: case $srcdir in
                   1066:   .)  # No --srcdir option.  We are building in place.
                   1067:     ac_srcdir=.
                   1068:     if test -z "$ac_top_builddir"; then
                   1069:        ac_top_srcdir=.
                   1070:     else
                   1071:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   1072:     fi ;;
                   1073:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   1074:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1075:     ac_top_srcdir=$srcdir ;;
                   1076:   *) # Relative path.
                   1077:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   1078:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   1079: esac
                   1080: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   1081: # absolute.
                   1082: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   1083: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   1084: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   1085: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   1086: 
                   1087:     cd $ac_dir
                   1088:     # Check for guested configure; otherwise get Cygnus style configure.
                   1089:     if test -f $ac_srcdir/configure.gnu; then
                   1090:       echo
                   1091:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1092:     elif test -f $ac_srcdir/configure; then
                   1093:       echo
                   1094:       $SHELL $ac_srcdir/configure  --help=recursive
                   1095:     elif test -f $ac_srcdir/configure.ac ||
                   1096:            test -f $ac_srcdir/configure.in; then
                   1097:       echo
                   1098:       $ac_configure --help
                   1099:     else
                   1100:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1101:     fi
                   1102:     cd $ac_popdir
                   1103:   done
                   1104: fi
1.1       parser   1105: 
1.10      paf      1106: test -n "$ac_init_help" && exit 0
                   1107: if $ac_init_version; then
                   1108:   cat <<\_ACEOF
                   1109: 
                   1110: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                   1111: Free Software Foundation, Inc.
                   1112: This configure script is free software; the Free Software Foundation
                   1113: gives unlimited permission to copy, distribute and modify it.
                   1114: _ACEOF
                   1115:   exit 0
                   1116: fi
                   1117: exec 5>config.log
                   1118: cat >&5 <<_ACEOF
                   1119: This file contains any messages produced by compilers while
                   1120: running configure, to aid debugging if configure makes a mistake.
                   1121: 
                   1122: It was created by $as_me, which was
                   1123: generated by GNU Autoconf 2.57.  Invocation command line was
                   1124: 
                   1125:   $ $0 $@
                   1126: 
                   1127: _ACEOF
                   1128: {
                   1129: cat <<_ASUNAME
                   1130: ## --------- ##
                   1131: ## Platform. ##
                   1132: ## --------- ##
                   1133: 
                   1134: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1135: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1136: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1137: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1138: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1139: 
                   1140: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1141: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1142: 
                   1143: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1144: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1145: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1146: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1147: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1148: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1149: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1150: 
                   1151: _ASUNAME
                   1152: 
                   1153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1154: for as_dir in $PATH
                   1155: do
                   1156:   IFS=$as_save_IFS
                   1157:   test -z "$as_dir" && as_dir=.
                   1158:   echo "PATH: $as_dir"
                   1159: done
                   1160: 
                   1161: } >&5
                   1162: 
                   1163: cat >&5 <<_ACEOF
                   1164: 
                   1165: 
                   1166: ## ----------- ##
                   1167: ## Core tests. ##
                   1168: ## ----------- ##
                   1169: 
                   1170: _ACEOF
                   1171: 
                   1172: 
                   1173: # Keep a trace of the command line.
                   1174: # Strip out --no-create and --no-recursion so they do not pile up.
                   1175: # Strip out --silent because we don't want to record it for future runs.
                   1176: # Also quote any args containing shell meta-characters.
                   1177: # Make two passes to allow for proper duplicate-argument suppression.
                   1178: ac_configure_args=
                   1179: ac_configure_args0=
                   1180: ac_configure_args1=
                   1181: ac_sep=
                   1182: ac_must_keep_next=false
                   1183: for ac_pass in 1 2
                   1184: do
                   1185:   for ac_arg
                   1186:   do
                   1187:     case $ac_arg in
                   1188:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1189:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1190:     | -silent | --silent | --silen | --sile | --sil)
                   1191:       continue ;;
                   1192:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1193:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1194:     esac
                   1195:     case $ac_pass in
                   1196:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1197:     2)
                   1198:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1199:       if test $ac_must_keep_next = true; then
                   1200:         ac_must_keep_next=false # Got value, back to normal.
                   1201:       else
                   1202:         case $ac_arg in
                   1203:           *=* | --config-cache | -C | -disable-* | --disable-* \
                   1204:           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1205:           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1206:           | -with-* | --with-* | -without-* | --without-* | --x)
                   1207:             case "$ac_configure_args0 " in
                   1208:               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1209:             esac
                   1210:             ;;
                   1211:           -* ) ac_must_keep_next=true ;;
                   1212:         esac
                   1213:       fi
                   1214:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1215:       # Get rid of the leading space.
                   1216:       ac_sep=" "
                   1217:       ;;
                   1218:     esac
                   1219:   done
                   1220: done
                   1221: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1222: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1223: 
                   1224: # When interrupted or exit'd, cleanup temporary files, and complete
                   1225: # config.log.  We remove comments because anyway the quotes in there
                   1226: # would cause problems or look ugly.
                   1227: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1228: # such as our DU 5.0 friend, will then `close' the trap.
                   1229: trap 'exit_status=$?
                   1230:   # Save into config.log some information that might help in debugging.
                   1231:   {
                   1232:     echo
                   1233: 
                   1234:     cat <<\_ASBOX
                   1235: ## ---------------- ##
                   1236: ## Cache variables. ##
                   1237: ## ---------------- ##
                   1238: _ASBOX
                   1239:     echo
                   1240:     # The following way of writing the cache mishandles newlines in values,
                   1241: {
                   1242:   (set) 2>&1 |
                   1243:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1244:     *ac_space=\ *)
                   1245:       sed -n \
                   1246:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1247:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1248:       ;;
                   1249:     *)
                   1250:       sed -n \
                   1251:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   1252:       ;;
                   1253:     esac;
                   1254: }
                   1255:     echo
                   1256: 
                   1257:     cat <<\_ASBOX
                   1258: ## ----------------- ##
                   1259: ## Output variables. ##
                   1260: ## ----------------- ##
                   1261: _ASBOX
                   1262:     echo
                   1263:     for ac_var in $ac_subst_vars
                   1264:     do
                   1265:       eval ac_val=$`echo $ac_var`
                   1266:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1267:     done | sort
                   1268:     echo
                   1269: 
                   1270:     if test -n "$ac_subst_files"; then
                   1271:       cat <<\_ASBOX
                   1272: ## ------------- ##
                   1273: ## Output files. ##
                   1274: ## ------------- ##
                   1275: _ASBOX
                   1276:       echo
                   1277:       for ac_var in $ac_subst_files
                   1278:       do
                   1279:        eval ac_val=$`echo $ac_var`
                   1280:         echo "$ac_var='"'"'$ac_val'"'"'"
                   1281:       done | sort
                   1282:       echo
                   1283:     fi
                   1284: 
                   1285:     if test -s confdefs.h; then
                   1286:       cat <<\_ASBOX
                   1287: ## ----------- ##
                   1288: ## confdefs.h. ##
                   1289: ## ----------- ##
                   1290: _ASBOX
                   1291:       echo
                   1292:       sed "/^$/d" confdefs.h | sort
                   1293:       echo
                   1294:     fi
                   1295:     test "$ac_signal" != 0 &&
                   1296:       echo "$as_me: caught signal $ac_signal"
                   1297:     echo "$as_me: exit $exit_status"
                   1298:   } >&5
                   1299:   rm -f core core.* *.core &&
                   1300:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1301:     exit $exit_status
                   1302:      ' 0
                   1303: for ac_signal in 1 2 13 15; do
                   1304:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1305: done
                   1306: ac_signal=0
                   1307: 
                   1308: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1309: rm -rf conftest* confdefs.h
                   1310: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1311: echo >confdefs.h
                   1312: 
                   1313: # Predefined preprocessor variables.
                   1314: 
                   1315: cat >>confdefs.h <<_ACEOF
                   1316: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1317: _ACEOF
                   1318: 
                   1319: 
                   1320: cat >>confdefs.h <<_ACEOF
                   1321: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1322: _ACEOF
                   1323: 
                   1324: 
                   1325: cat >>confdefs.h <<_ACEOF
                   1326: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1327: _ACEOF
                   1328: 
                   1329: 
                   1330: cat >>confdefs.h <<_ACEOF
                   1331: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1332: _ACEOF
                   1333: 
                   1334: 
                   1335: cat >>confdefs.h <<_ACEOF
                   1336: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1337: _ACEOF
                   1338: 
                   1339: 
                   1340: # Let the site file select an alternate cache file if it wants to.
1.1       parser   1341: # Prefer explicitly selected file to automatically selected ones.
                   1342: if test -z "$CONFIG_SITE"; then
                   1343:   if test "x$prefix" != xNONE; then
                   1344:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1345:   else
                   1346:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1347:   fi
                   1348: fi
                   1349: for ac_site_file in $CONFIG_SITE; do
                   1350:   if test -r "$ac_site_file"; then
1.10      paf      1351:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1352: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1353:     sed 's/^/| /' "$ac_site_file" >&5
1.1       parser   1354:     . "$ac_site_file"
                   1355:   fi
                   1356: done
                   1357: 
                   1358: if test -r "$cache_file"; then
1.10      paf      1359:   # Some versions of bash will fail to source /dev/null (special
                   1360:   # files actually), so we avoid doing that.
                   1361:   if test -f "$cache_file"; then
                   1362:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1363: echo "$as_me: loading cache $cache_file" >&6;}
                   1364:     case $cache_file in
                   1365:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1366:       *)                      . ./$cache_file;;
                   1367:     esac
                   1368:   fi
1.1       parser   1369: else
1.10      paf      1370:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1371: echo "$as_me: creating cache $cache_file" >&6;}
                   1372:   >$cache_file
                   1373: fi
                   1374: 
                   1375: # Check that the precious variables saved in the cache have kept the same
                   1376: # value.
                   1377: ac_cache_corrupted=false
                   1378: for ac_var in `(set) 2>&1 |
                   1379:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1380:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1381:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1382:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1383:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1384:   case $ac_old_set,$ac_new_set in
                   1385:     set,)
                   1386:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1387: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1388:       ac_cache_corrupted=: ;;
                   1389:     ,set)
                   1390:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1391: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1392:       ac_cache_corrupted=: ;;
                   1393:     ,);;
                   1394:     *)
                   1395:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1396:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1397: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1398:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1399: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1400:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1401: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1402:         ac_cache_corrupted=:
                   1403:       fi;;
                   1404:   esac
                   1405:   # Pass precious variables to config.status.
                   1406:   if test "$ac_new_set" = set; then
                   1407:     case $ac_new_val in
                   1408:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1409:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1410:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1411:     esac
                   1412:     case " $ac_configure_args " in
                   1413:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1414:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1415:     esac
                   1416:   fi
                   1417: done
                   1418: if $ac_cache_corrupted; then
                   1419:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1420: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1421:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1422: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1423:    { (exit 1); exit 1; }; }
1.1       parser   1424: fi
                   1425: 
                   1426: ac_ext=c
                   1427: ac_cpp='$CPP $CPPFLAGS'
1.10      paf      1428: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1429: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1430: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   1431: 
                   1432: 
1.10      paf      1433: 
                   1434: 
                   1435: 
                   1436: 
                   1437: 
                   1438: 
                   1439: 
                   1440: 
                   1441: 
                   1442: 
                   1443: 
                   1444: 
                   1445: 
                   1446: 
                   1447: 
                   1448: 
                   1449: 
                   1450: am__api_version="1.7"
1.1       parser   1451: ac_aux_dir=
                   1452: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1453:   if test -f $ac_dir/install-sh; then
                   1454:     ac_aux_dir=$ac_dir
                   1455:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1456:     break
                   1457:   elif test -f $ac_dir/install.sh; then
                   1458:     ac_aux_dir=$ac_dir
                   1459:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1460:     break
1.10      paf      1461:   elif test -f $ac_dir/shtool; then
                   1462:     ac_aux_dir=$ac_dir
                   1463:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1464:     break
1.1       parser   1465:   fi
                   1466: done
                   1467: if test -z "$ac_aux_dir"; then
1.10      paf      1468:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1469: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1470:    { (exit 1); exit 1; }; }
                   1471: fi
                   1472: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1473: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1474: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       parser   1475: 
                   1476: # Find a good install program.  We prefer a C program (faster),
                   1477: # so one script is as good as another.  But avoid the broken or
                   1478: # incompatible versions:
                   1479: # SysV /etc/install, /usr/sbin/install
                   1480: # SunOS /usr/etc/install
                   1481: # IRIX /sbin/install
                   1482: # AIX /bin/install
1.10      paf      1483: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1484: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1485: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1486: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1487: # ./install, which can be erroneously created by make from ./install.sh.
1.10      paf      1488: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1489: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1490: if test -z "$INSTALL"; then
1.10      paf      1491: if test "${ac_cv_path_install+set}" = set; then
                   1492:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1493: else
1.10      paf      1494:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1495: for as_dir in $PATH
                   1496: do
                   1497:   IFS=$as_save_IFS
                   1498:   test -z "$as_dir" && as_dir=.
                   1499:   # Account for people who put trailing slashes in PATH elements.
                   1500: case $as_dir/ in
                   1501:   ./ | .// | /cC/* | \
                   1502:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1503:   /usr/ucb/* ) ;;
                   1504:   *)
                   1505:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1506:     # Don't use installbsd from OSF since it installs stuff as root
                   1507:     # by default.
                   1508:     for ac_prog in ginstall scoinst install; do
                   1509:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1510:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1511:           if test $ac_prog = install &&
                   1512:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1513:             # AIX install.  It has an incompatible calling convention.
                   1514:             :
                   1515:           elif test $ac_prog = install &&
                   1516:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1517:             # program-specific install script used by HP pwplus--don't use.
                   1518:             :
                   1519:           else
                   1520:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1521:             break 3
                   1522:           fi
                   1523:         fi
1.1       parser   1524:       done
1.10      paf      1525:     done
                   1526:     ;;
                   1527: esac
                   1528: done
                   1529: 
1.1       parser   1530: 
                   1531: fi
                   1532:   if test "${ac_cv_path_install+set}" = set; then
1.10      paf      1533:     INSTALL=$ac_cv_path_install
1.1       parser   1534:   else
                   1535:     # As a last resort, use the slow shell script.  We don't cache a
                   1536:     # path for INSTALL within a source directory, because that will
                   1537:     # break other packages using the cache if that directory is
                   1538:     # removed, or if the path is relative.
1.10      paf      1539:     INSTALL=$ac_install_sh
1.1       parser   1540:   fi
                   1541: fi
1.10      paf      1542: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1543: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1544: 
                   1545: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1546: # It thinks the first close brace ends the variable substitution.
                   1547: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1548: 
1.10      paf      1549: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1550: 
                   1551: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1552: 
1.10      paf      1553: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1554: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       parser   1555: # Just in case
                   1556: sleep 1
1.10      paf      1557: echo timestamp > conftest.file
1.1       parser   1558: # Do `set' in a subshell so we don't clobber the current shell's
                   1559: # arguments.  Must try -L first in case configure is actually a
                   1560: # symlink; some systems play weird games with the mod time of symlinks
                   1561: # (eg FreeBSD returns the mod time of the symlink's containing
                   1562: # directory).
                   1563: if (
1.10      paf      1564:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       parser   1565:    if test "$*" = "X"; then
                   1566:       # -L didn't work.
1.10      paf      1567:       set X `ls -t $srcdir/configure conftest.file`
1.1       parser   1568:    fi
1.10      paf      1569:    rm -f conftest.file
                   1570:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1571:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       parser   1572: 
                   1573:       # If neither matched, then we have a broken ls.  This can happen
                   1574:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1575:       # broken ls alias from the environment.  This has actually
                   1576:       # happened.  Such a system could not be considered "sane".
1.10      paf      1577:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1578: alias in your environment" >&5
                   1579: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1580: alias in your environment" >&2;}
                   1581:    { (exit 1); exit 1; }; }
1.1       parser   1582:    fi
                   1583: 
1.10      paf      1584:    test "$2" = conftest.file
1.1       parser   1585:    )
                   1586: then
                   1587:    # Ok.
                   1588:    :
                   1589: else
1.10      paf      1590:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1591: Check your system clock" >&5
                   1592: echo "$as_me: error: newly created file is older than distributed files!
                   1593: Check your system clock" >&2;}
                   1594:    { (exit 1); exit 1; }; }
1.1       parser   1595: fi
1.10      paf      1596: echo "$as_me:$LINENO: result: yes" >&5
                   1597: echo "${ECHO_T}yes" >&6
1.1       parser   1598: test "$program_prefix" != NONE &&
1.10      paf      1599:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       parser   1600: # Use a double $ so make ignores it.
                   1601: test "$program_suffix" != NONE &&
1.10      paf      1602:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1603: # Double any \ or $.  echo might interpret backslashes.
                   1604: # By default was `s,x,x', remove it if useless.
                   1605: cat <<\_ACEOF >conftest.sed
                   1606: s/[\\$]/&&/g;s/;s,x,x,$//
                   1607: _ACEOF
                   1608: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1609: rm conftest.sed
                   1610: 
                   1611: 
                   1612: # expand $ac_aux_dir to an absolute path
                   1613: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1614: 
                   1615: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1616: # Use eval to expand $SHELL
                   1617: if eval "$MISSING --run true"; then
                   1618:   am_missing_run="$MISSING --run "
                   1619: else
                   1620:   am_missing_run=
                   1621:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1622: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1623: fi
                   1624: 
                   1625: for ac_prog in gawk mawk nawk awk
                   1626: do
                   1627:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1628: set dummy $ac_prog; ac_word=$2
                   1629: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1630: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1631: if test "${ac_cv_prog_AWK+set}" = set; then
                   1632:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1633: else
                   1634:   if test -n "$AWK"; then
                   1635:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1636: else
                   1637: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1638: for as_dir in $PATH
                   1639: do
                   1640:   IFS=$as_save_IFS
                   1641:   test -z "$as_dir" && as_dir=.
                   1642:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1643:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1644:     ac_cv_prog_AWK="$ac_prog"
                   1645:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1646:     break 2
                   1647:   fi
                   1648: done
                   1649: done
                   1650: 
                   1651: fi
                   1652: fi
                   1653: AWK=$ac_cv_prog_AWK
                   1654: if test -n "$AWK"; then
                   1655:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1656: echo "${ECHO_T}$AWK" >&6
                   1657: else
                   1658:   echo "$as_me:$LINENO: result: no" >&5
                   1659: echo "${ECHO_T}no" >&6
                   1660: fi
1.1       parser   1661: 
1.10      paf      1662:   test -n "$AWK" && break
                   1663: done
1.1       parser   1664: 
1.10      paf      1665: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1666: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1667: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1668: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1669:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1670: else
1.10      paf      1671:   cat >conftest.make <<\_ACEOF
1.1       parser   1672: all:
1.10      paf      1673:        @echo 'ac_maketemp="$(MAKE)"'
                   1674: _ACEOF
1.1       parser   1675: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.10      paf      1676: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1677: if test -n "$ac_maketemp"; then
                   1678:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1679: else
                   1680:   eval ac_cv_prog_make_${ac_make}_set=no
                   1681: fi
1.10      paf      1682: rm -f conftest.make
1.1       parser   1683: fi
                   1684: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.10      paf      1685:   echo "$as_me:$LINENO: result: yes" >&5
                   1686: echo "${ECHO_T}yes" >&6
1.1       parser   1687:   SET_MAKE=
                   1688: else
1.10      paf      1689:   echo "$as_me:$LINENO: result: no" >&5
                   1690: echo "${ECHO_T}no" >&6
1.1       parser   1691:   SET_MAKE="MAKE=${MAKE-make}"
                   1692: fi
                   1693: 
1.10      paf      1694:  # test to see if srcdir already configured
                   1695: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1696:    test -f $srcdir/config.status; then
                   1697:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1698: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1699:    { (exit 1); exit 1; }; }
                   1700: fi
                   1701: 
                   1702: # test whether we have cygpath
                   1703: if test -z "$CYGPATH_W"; then
                   1704:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1705:     CYGPATH_W='cygpath -w'
                   1706:   else
                   1707:     CYGPATH_W=echo
                   1708:   fi
                   1709: fi
                   1710: 
                   1711: 
                   1712: # Define the identity of the package.
                   1713:  PACKAGE=parser3pgsql
1.13      paf      1714:  VERSION=3.1.HEAD
1.1       parser   1715: 
                   1716: 
1.10      paf      1717: # Some tools Automake needs.
                   1718: 
                   1719: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1720: 
                   1721: 
                   1722: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1723: 
                   1724: 
                   1725: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1726: 
                   1727: 
                   1728: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1729: 
                   1730: 
                   1731: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       parser   1732: 
                   1733: 
1.10      paf      1734: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1       parser   1735: 
1.10      paf      1736: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       parser   1737: 
1.10      paf      1738: # Installed binaries are usually stripped using `strip' when the user
                   1739: # run `make install-strip'.  However `strip' might not be the right
                   1740: # tool to use in cross-compilation environments, therefore Automake
                   1741: # will honor the `STRIP' environment variable to overrule this program.
                   1742: if test "$cross_compiling" != no; then
                   1743:   if test -n "$ac_tool_prefix"; then
                   1744:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1745: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1746: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1747: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1748: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1749:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1750: else
1.10      paf      1751:   if test -n "$STRIP"; then
                   1752:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1753: else
                   1754: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1755: for as_dir in $PATH
                   1756: do
                   1757:   IFS=$as_save_IFS
                   1758:   test -z "$as_dir" && as_dir=.
                   1759:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1760:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1761:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1762:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1763:     break 2
                   1764:   fi
                   1765: done
                   1766: done
                   1767: 
                   1768: fi
                   1769: fi
                   1770: STRIP=$ac_cv_prog_STRIP
                   1771: if test -n "$STRIP"; then
                   1772:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1773: echo "${ECHO_T}$STRIP" >&6
                   1774: else
                   1775:   echo "$as_me:$LINENO: result: no" >&5
                   1776: echo "${ECHO_T}no" >&6
1.1       parser   1777: fi
                   1778: 
1.10      paf      1779: fi
                   1780: if test -z "$ac_cv_prog_STRIP"; then
                   1781:   ac_ct_STRIP=$STRIP
                   1782:   # Extract the first word of "strip", so it can be a program name with args.
                   1783: set dummy strip; ac_word=$2
                   1784: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1785: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1786: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1787:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1788: else
                   1789:   if test -n "$ac_ct_STRIP"; then
                   1790:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   1791: else
1.10      paf      1792: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1793: for as_dir in $PATH
                   1794: do
                   1795:   IFS=$as_save_IFS
                   1796:   test -z "$as_dir" && as_dir=.
                   1797:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1798:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1799:     ac_cv_prog_ac_ct_STRIP="strip"
                   1800:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1801:     break 2
                   1802:   fi
                   1803: done
                   1804: done
                   1805: 
                   1806:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1807: fi
1.1       parser   1808: fi
1.10      paf      1809: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1810: if test -n "$ac_ct_STRIP"; then
                   1811:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1812: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       parser   1813: else
1.10      paf      1814:   echo "$as_me:$LINENO: result: no" >&5
                   1815: echo "${ECHO_T}no" >&6
1.1       parser   1816: fi
                   1817: 
1.10      paf      1818:   STRIP=$ac_ct_STRIP
1.1       parser   1819: else
1.10      paf      1820:   STRIP="$ac_cv_prog_STRIP"
1.1       parser   1821: fi
                   1822: 
                   1823: fi
1.10      paf      1824: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1       parser   1825: 
1.10      paf      1826: # We need awk for the "check" target.  The system "awk" is bad on
                   1827: # some platforms.
1.1       parser   1828: 
                   1829: 
                   1830: 
                   1831: 
1.10      paf      1832:           ac_config_headers="$ac_config_headers config_auto.h"
                   1833: 
1.1       parser   1834: 
                   1835: 
                   1836: 
1.2       parser   1837: # Check whether --with-pgsql-inc or --without-pgsql-inc was given.
1.1       parser   1838: if test "${with_pgsql_inc+set}" = set; then
                   1839:   withval="$with_pgsql_inc"
1.10      paf      1840: 
1.1       parser   1841: else
                   1842:   withval="/usr/local/pgsql/include"
                   1843: 
1.10      paf      1844: fi;
1.1       parser   1845: PGSQL_INC=$withval
                   1846: 
                   1847: 
1.2       parser   1848: if test \! -f "$PGSQL_INC/libpq-fe.h"; then
1.10      paf      1849:        { { echo "$as_me:$LINENO: error: $PGSQL_INC does not seem to be valid PgSQL includes directory" >&5
                   1850: echo "$as_me: error: $PGSQL_INC does not seem to be valid PgSQL includes directory" >&2;}
                   1851:    { (exit 1); exit 1; }; }
1.2       parser   1852: fi
1.1       parser   1853: 
                   1854: # Find a good install program.  We prefer a C program (faster),
                   1855: # so one script is as good as another.  But avoid the broken or
                   1856: # incompatible versions:
                   1857: # SysV /etc/install, /usr/sbin/install
                   1858: # SunOS /usr/etc/install
                   1859: # IRIX /sbin/install
                   1860: # AIX /bin/install
1.10      paf      1861: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1862: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1863: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1864: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1865: # ./install, which can be erroneously created by make from ./install.sh.
1.10      paf      1866: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1867: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1868: if test -z "$INSTALL"; then
1.10      paf      1869: if test "${ac_cv_path_install+set}" = set; then
                   1870:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1871: else
1.10      paf      1872:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1873: for as_dir in $PATH
                   1874: do
                   1875:   IFS=$as_save_IFS
                   1876:   test -z "$as_dir" && as_dir=.
                   1877:   # Account for people who put trailing slashes in PATH elements.
                   1878: case $as_dir/ in
                   1879:   ./ | .// | /cC/* | \
                   1880:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1881:   /usr/ucb/* ) ;;
                   1882:   *)
                   1883:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1884:     # Don't use installbsd from OSF since it installs stuff as root
                   1885:     # by default.
                   1886:     for ac_prog in ginstall scoinst install; do
                   1887:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1888:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1889:           if test $ac_prog = install &&
                   1890:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1891:             # AIX install.  It has an incompatible calling convention.
                   1892:             :
                   1893:           elif test $ac_prog = install &&
                   1894:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1895:             # program-specific install script used by HP pwplus--don't use.
                   1896:             :
                   1897:           else
                   1898:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1899:             break 3
                   1900:           fi
                   1901:         fi
1.1       parser   1902:       done
1.10      paf      1903:     done
                   1904:     ;;
                   1905: esac
                   1906: done
                   1907: 
1.1       parser   1908: 
                   1909: fi
                   1910:   if test "${ac_cv_path_install+set}" = set; then
1.10      paf      1911:     INSTALL=$ac_cv_path_install
1.1       parser   1912:   else
                   1913:     # As a last resort, use the slow shell script.  We don't cache a
                   1914:     # path for INSTALL within a source directory, because that will
                   1915:     # break other packages using the cache if that directory is
                   1916:     # removed, or if the path is relative.
1.10      paf      1917:     INSTALL=$ac_install_sh
1.1       parser   1918:   fi
                   1919: fi
1.10      paf      1920: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1921: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1922: 
                   1923: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1924: # It thinks the first close brace ends the variable substitution.
                   1925: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1926: 
1.10      paf      1927: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1928: 
                   1929: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1930: 
1.10      paf      1931: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1932: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1933: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1934: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1935:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1936: else
1.10      paf      1937:   cat >conftest.make <<\_ACEOF
1.1       parser   1938: all:
1.10      paf      1939:        @echo 'ac_maketemp="$(MAKE)"'
                   1940: _ACEOF
1.1       parser   1941: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.10      paf      1942: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1943: if test -n "$ac_maketemp"; then
                   1944:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1945: else
                   1946:   eval ac_cv_prog_make_${ac_make}_set=no
                   1947: fi
1.10      paf      1948: rm -f conftest.make
1.1       parser   1949: fi
                   1950: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.10      paf      1951:   echo "$as_me:$LINENO: result: yes" >&5
                   1952: echo "${ECHO_T}yes" >&6
1.1       parser   1953:   SET_MAKE=
                   1954: else
1.10      paf      1955:   echo "$as_me:$LINENO: result: no" >&5
                   1956: echo "${ECHO_T}no" >&6
1.1       parser   1957:   SET_MAKE="MAKE=${MAKE-make}"
                   1958: fi
                   1959: 
1.10      paf      1960: for ac_prog in gawk mawk nawk awk
1.1       parser   1961: do
1.10      paf      1962:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1       parser   1963: set dummy $ac_prog; ac_word=$2
1.10      paf      1964: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1965: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1966: if test "${ac_cv_prog_AWK+set}" = set; then
                   1967:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1968: else
                   1969:   if test -n "$AWK"; then
                   1970:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1971: else
1.10      paf      1972: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1973: for as_dir in $PATH
                   1974: do
                   1975:   IFS=$as_save_IFS
                   1976:   test -z "$as_dir" && as_dir=.
                   1977:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1978:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1979:     ac_cv_prog_AWK="$ac_prog"
                   1980:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1981:     break 2
                   1982:   fi
                   1983: done
                   1984: done
                   1985: 
1.1       parser   1986: fi
                   1987: fi
1.10      paf      1988: AWK=$ac_cv_prog_AWK
1.1       parser   1989: if test -n "$AWK"; then
1.10      paf      1990:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1991: echo "${ECHO_T}$AWK" >&6
1.1       parser   1992: else
1.10      paf      1993:   echo "$as_me:$LINENO: result: no" >&5
                   1994: echo "${ECHO_T}no" >&6
1.1       parser   1995: fi
                   1996: 
1.10      paf      1997:   test -n "$AWK" && break
1.1       parser   1998: done
                   1999: 
1.10      paf      2000: ac_ext=cc
                   2001: ac_cpp='$CXXCPP $CPPFLAGS'
                   2002: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2003: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2004: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2005: if test -n "$ac_tool_prefix"; then
                   2006:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2007:   do
                   2008:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2009: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2010: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2011: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2012: if test "${ac_cv_prog_CXX+set}" = set; then
                   2013:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2014: else
                   2015:   if test -n "$CXX"; then
                   2016:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2017: else
1.10      paf      2018: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2019: for as_dir in $PATH
                   2020: do
                   2021:   IFS=$as_save_IFS
                   2022:   test -z "$as_dir" && as_dir=.
                   2023:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2024:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2025:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   2026:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2027:     break 2
                   2028:   fi
                   2029: done
                   2030: done
                   2031: 
1.1       parser   2032: fi
                   2033: fi
1.10      paf      2034: CXX=$ac_cv_prog_CXX
1.1       parser   2035: if test -n "$CXX"; then
1.10      paf      2036:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2037: echo "${ECHO_T}$CXX" >&6
1.1       parser   2038: else
1.10      paf      2039:   echo "$as_me:$LINENO: result: no" >&5
                   2040: echo "${ECHO_T}no" >&6
1.1       parser   2041: fi
                   2042: 
1.10      paf      2043:     test -n "$CXX" && break
                   2044:   done
                   2045: fi
                   2046: if test -z "$CXX"; then
                   2047:   ac_ct_CXX=$CXX
                   2048:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2049: do
                   2050:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2051: set dummy $ac_prog; ac_word=$2
                   2052: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2053: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2054: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   2055:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2056: else
                   2057:   if test -n "$ac_ct_CXX"; then
                   2058:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2059: else
                   2060: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2061: for as_dir in $PATH
                   2062: do
                   2063:   IFS=$as_save_IFS
                   2064:   test -z "$as_dir" && as_dir=.
                   2065:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2066:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2067:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   2068:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2069:     break 2
                   2070:   fi
                   2071: done
1.1       parser   2072: done
                   2073: 
1.10      paf      2074: fi
                   2075: fi
                   2076: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2077: if test -n "$ac_ct_CXX"; then
                   2078:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2079: echo "${ECHO_T}$ac_ct_CXX" >&6
                   2080: else
                   2081:   echo "$as_me:$LINENO: result: no" >&5
                   2082: echo "${ECHO_T}no" >&6
                   2083: fi
1.1       parser   2084: 
1.10      paf      2085:   test -n "$ac_ct_CXX" && break
                   2086: done
                   2087: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1       parser   2088: 
1.10      paf      2089:   CXX=$ac_ct_CXX
                   2090: fi
1.1       parser   2091: 
                   2092: 
1.10      paf      2093: # Provide some information about the compiler.
                   2094: echo "$as_me:$LINENO:" \
                   2095:      "checking for C++ compiler version" >&5
                   2096: ac_compiler=`set X $ac_compile; echo $2`
                   2097: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2098:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2099:   ac_status=$?
                   2100:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2101:   (exit $ac_status); }
                   2102: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2103:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2104:   ac_status=$?
                   2105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2106:   (exit $ac_status); }
                   2107: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2108:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2109:   ac_status=$?
                   2110:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2111:   (exit $ac_status); }
                   2112: 
                   2113: cat >conftest.$ac_ext <<_ACEOF
                   2114: #line $LINENO "configure"
                   2115: /* confdefs.h.  */
                   2116: _ACEOF
                   2117: cat confdefs.h >>conftest.$ac_ext
                   2118: cat >>conftest.$ac_ext <<_ACEOF
                   2119: /* end confdefs.h.  */
                   2120: 
                   2121: int
                   2122: main ()
                   2123: {
                   2124: 
                   2125:   ;
                   2126:   return 0;
                   2127: }
                   2128: _ACEOF
                   2129: ac_clean_files_save=$ac_clean_files
                   2130: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2131: # Try to create an executable without -o first, disregard a.out.
                   2132: # It will help us diagnose broken compilers, and finding out an intuition
                   2133: # of exeext.
                   2134: echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
                   2135: echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
                   2136: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2137: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2138:   (eval $ac_link_default) 2>&5
                   2139:   ac_status=$?
                   2140:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2141:   (exit $ac_status); }; then
                   2142:   # Find the output, starting from the most likely.  This scheme is
                   2143: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2144: # resort.
                   2145: 
                   2146: # Be careful to initialize this variable, since it used to be cached.
                   2147: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2148: ac_cv_exeext=
                   2149: # b.out is created by i960 compilers.
                   2150: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   2151: do
                   2152:   test -f "$ac_file" || continue
                   2153:   case $ac_file in
                   2154:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
                   2155:         ;;
                   2156:     conftest.$ac_ext )
                   2157:         # This is the source file.
                   2158:         ;;
                   2159:     [ab].out )
                   2160:         # We found the default executable, but exeext='' is most
                   2161:         # certainly right.
                   2162:         break;;
                   2163:     *.* )
                   2164:         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2165:         # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2166:         # but it would be cool to find out if it's true.  Does anybody
                   2167:         # maintain Libtool? --akim.
                   2168:         export ac_cv_exeext
                   2169:         break;;
                   2170:     * )
                   2171:         break;;
                   2172:   esac
                   2173: done
                   2174: else
                   2175:   echo "$as_me: failed program was:" >&5
                   2176: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2177: 
1.10      paf      2178: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2179: See \`config.log' for more details." >&5
                   2180: echo "$as_me: error: C++ compiler cannot create executables
                   2181: See \`config.log' for more details." >&2;}
                   2182:    { (exit 77); exit 77; }; }
                   2183: fi
                   2184: 
                   2185: ac_exeext=$ac_cv_exeext
                   2186: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2187: echo "${ECHO_T}$ac_file" >&6
                   2188: 
                   2189: # Check the compiler produces executables we can run.  If not, either
                   2190: # the compiler is broken, or we cross compile.
                   2191: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2192: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2193: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2194: # If not cross compiling, check that we can run a simple program.
                   2195: if test "$cross_compiling" != yes; then
                   2196:   if { ac_try='./$ac_file'
                   2197:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2198:   (eval $ac_try) 2>&5
                   2199:   ac_status=$?
                   2200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2201:   (exit $ac_status); }; }; then
                   2202:     cross_compiling=no
                   2203:   else
                   2204:     if test "$cross_compiling" = maybe; then
                   2205:        cross_compiling=yes
                   2206:     else
                   2207:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2208: If you meant to cross compile, use \`--host'.
                   2209: See \`config.log' for more details." >&5
                   2210: echo "$as_me: error: cannot run C++ compiled programs.
                   2211: If you meant to cross compile, use \`--host'.
                   2212: See \`config.log' for more details." >&2;}
                   2213:    { (exit 1); exit 1; }; }
                   2214:     fi
1.1       parser   2215:   fi
1.10      paf      2216: fi
                   2217: echo "$as_me:$LINENO: result: yes" >&5
                   2218: echo "${ECHO_T}yes" >&6
                   2219: 
                   2220: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2221: ac_clean_files=$ac_clean_files_save
                   2222: # Check the compiler produces executables we can run.  If not, either
                   2223: # the compiler is broken, or we cross compile.
                   2224: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2225: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2226: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2227: echo "${ECHO_T}$cross_compiling" >&6
                   2228: 
                   2229: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2230: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2231: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2232:   (eval $ac_link) 2>&5
                   2233:   ac_status=$?
                   2234:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2235:   (exit $ac_status); }; then
                   2236:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2237: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2238: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2239: # `rm'.
                   2240: for ac_file in conftest.exe conftest conftest.*; do
                   2241:   test -f "$ac_file" || continue
                   2242:   case $ac_file in
                   2243:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2244:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2245:           export ac_cv_exeext
                   2246:           break;;
                   2247:     * ) break;;
                   2248:   esac
                   2249: done
1.1       parser   2250: else
1.10      paf      2251:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2252: See \`config.log' for more details." >&5
                   2253: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2254: See \`config.log' for more details." >&2;}
                   2255:    { (exit 1); exit 1; }; }
                   2256: fi
                   2257: 
                   2258: rm -f conftest$ac_cv_exeext
                   2259: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2260: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2261: 
                   2262: rm -f conftest.$ac_ext
                   2263: EXEEXT=$ac_cv_exeext
                   2264: ac_exeext=$EXEEXT
                   2265: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2266: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2267: if test "${ac_cv_objext+set}" = set; then
                   2268:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2269: else
                   2270:   cat >conftest.$ac_ext <<_ACEOF
                   2271: #line $LINENO "configure"
                   2272: /* confdefs.h.  */
                   2273: _ACEOF
                   2274: cat confdefs.h >>conftest.$ac_ext
                   2275: cat >>conftest.$ac_ext <<_ACEOF
                   2276: /* end confdefs.h.  */
                   2277: 
                   2278: int
                   2279: main ()
                   2280: {
                   2281: 
                   2282:   ;
                   2283:   return 0;
                   2284: }
                   2285: _ACEOF
                   2286: rm -f conftest.o conftest.obj
                   2287: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2288:   (eval $ac_compile) 2>&5
                   2289:   ac_status=$?
                   2290:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2291:   (exit $ac_status); }; then
                   2292:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2293:   case $ac_file in
                   2294:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2295:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2296:        break;;
                   2297:   esac
                   2298: done
1.1       parser   2299: else
1.10      paf      2300:   echo "$as_me: failed program was:" >&5
                   2301: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2302: 
1.10      paf      2303: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2304: See \`config.log' for more details." >&5
                   2305: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2306: See \`config.log' for more details." >&2;}
                   2307:    { (exit 1); exit 1; }; }
                   2308: fi
                   2309: 
                   2310: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2311: fi
                   2312: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2313: echo "${ECHO_T}$ac_cv_objext" >&6
                   2314: OBJEXT=$ac_cv_objext
                   2315: ac_objext=$OBJEXT
                   2316: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2317: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2318: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2319:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2320: else
                   2321:   cat >conftest.$ac_ext <<_ACEOF
                   2322: #line $LINENO "configure"
                   2323: /* confdefs.h.  */
                   2324: _ACEOF
                   2325: cat confdefs.h >>conftest.$ac_ext
                   2326: cat >>conftest.$ac_ext <<_ACEOF
                   2327: /* end confdefs.h.  */
                   2328: 
                   2329: int
                   2330: main ()
                   2331: {
                   2332: #ifndef __GNUC__
                   2333:        choke me
                   2334: #endif
1.1       parser   2335: 
1.10      paf      2336:   ;
                   2337:   return 0;
                   2338: }
                   2339: _ACEOF
                   2340: rm -f conftest.$ac_objext
                   2341: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2342:   (eval $ac_compile) 2>&5
                   2343:   ac_status=$?
                   2344:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2345:   (exit $ac_status); } &&
                   2346:          { ac_try='test -s conftest.$ac_objext'
                   2347:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2348:   (eval $ac_try) 2>&5
                   2349:   ac_status=$?
                   2350:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2351:   (exit $ac_status); }; }; then
                   2352:   ac_compiler_gnu=yes
                   2353: else
                   2354:   echo "$as_me: failed program was:" >&5
                   2355: sed 's/^/| /' conftest.$ac_ext >&5
                   2356: 
                   2357: ac_compiler_gnu=no
                   2358: fi
                   2359: rm -f conftest.$ac_objext conftest.$ac_ext
                   2360: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2361: 
                   2362: fi
                   2363: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2364: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2365: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2366: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2367: ac_save_CXXFLAGS=$CXXFLAGS
                   2368: CXXFLAGS="-g"
                   2369: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2370: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2371: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2372:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2373: else
                   2374:   cat >conftest.$ac_ext <<_ACEOF
                   2375: #line $LINENO "configure"
                   2376: /* confdefs.h.  */
                   2377: _ACEOF
                   2378: cat confdefs.h >>conftest.$ac_ext
                   2379: cat >>conftest.$ac_ext <<_ACEOF
                   2380: /* end confdefs.h.  */
                   2381: 
                   2382: int
                   2383: main ()
                   2384: {
                   2385: 
                   2386:   ;
                   2387:   return 0;
                   2388: }
                   2389: _ACEOF
                   2390: rm -f conftest.$ac_objext
                   2391: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2392:   (eval $ac_compile) 2>&5
                   2393:   ac_status=$?
                   2394:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2395:   (exit $ac_status); } &&
                   2396:          { ac_try='test -s conftest.$ac_objext'
                   2397:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2398:   (eval $ac_try) 2>&5
                   2399:   ac_status=$?
                   2400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2401:   (exit $ac_status); }; }; then
                   2402:   ac_cv_prog_cxx_g=yes
1.1       parser   2403: else
1.10      paf      2404:   echo "$as_me: failed program was:" >&5
                   2405: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2406: 
1.10      paf      2407: ac_cv_prog_cxx_g=no
1.1       parser   2408: fi
1.10      paf      2409: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       parser   2410: fi
1.10      paf      2411: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2412: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1       parser   2413: if test "$ac_test_CXXFLAGS" = set; then
1.10      paf      2414:   CXXFLAGS=$ac_save_CXXFLAGS
1.1       parser   2415: elif test $ac_cv_prog_cxx_g = yes; then
                   2416:   if test "$GXX" = yes; then
                   2417:     CXXFLAGS="-g -O2"
                   2418:   else
                   2419:     CXXFLAGS="-g"
                   2420:   fi
                   2421: else
                   2422:   if test "$GXX" = yes; then
                   2423:     CXXFLAGS="-O2"
                   2424:   else
                   2425:     CXXFLAGS=
                   2426:   fi
                   2427: fi
1.10      paf      2428: for ac_declaration in \
                   2429:    ''\
                   2430:    '#include <stdlib.h>' \
                   2431:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2432:    'extern "C" void std::exit (int); using std::exit;' \
                   2433:    'extern "C" void exit (int) throw ();' \
                   2434:    'extern "C" void exit (int);' \
                   2435:    'void exit (int);'
                   2436: do
                   2437:   cat >conftest.$ac_ext <<_ACEOF
                   2438: #line $LINENO "configure"
                   2439: /* confdefs.h.  */
                   2440: _ACEOF
                   2441: cat confdefs.h >>conftest.$ac_ext
                   2442: cat >>conftest.$ac_ext <<_ACEOF
                   2443: /* end confdefs.h.  */
                   2444: #include <stdlib.h>
                   2445: $ac_declaration
                   2446: int
                   2447: main ()
                   2448: {
                   2449: exit (42);
                   2450:   ;
                   2451:   return 0;
                   2452: }
                   2453: _ACEOF
                   2454: rm -f conftest.$ac_objext
                   2455: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2456:   (eval $ac_compile) 2>&5
                   2457:   ac_status=$?
                   2458:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2459:   (exit $ac_status); } &&
                   2460:          { ac_try='test -s conftest.$ac_objext'
                   2461:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2462:   (eval $ac_try) 2>&5
                   2463:   ac_status=$?
                   2464:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2465:   (exit $ac_status); }; }; then
                   2466:   :
                   2467: else
                   2468:   echo "$as_me: failed program was:" >&5
                   2469: sed 's/^/| /' conftest.$ac_ext >&5
                   2470: 
                   2471: continue
                   2472: fi
                   2473: rm -f conftest.$ac_objext conftest.$ac_ext
                   2474:   cat >conftest.$ac_ext <<_ACEOF
                   2475: #line $LINENO "configure"
                   2476: /* confdefs.h.  */
                   2477: _ACEOF
                   2478: cat confdefs.h >>conftest.$ac_ext
                   2479: cat >>conftest.$ac_ext <<_ACEOF
                   2480: /* end confdefs.h.  */
                   2481: $ac_declaration
                   2482: int
                   2483: main ()
                   2484: {
                   2485: exit (42);
                   2486:   ;
                   2487:   return 0;
                   2488: }
                   2489: _ACEOF
                   2490: rm -f conftest.$ac_objext
                   2491: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2492:   (eval $ac_compile) 2>&5
                   2493:   ac_status=$?
                   2494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2495:   (exit $ac_status); } &&
                   2496:          { ac_try='test -s conftest.$ac_objext'
                   2497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2498:   (eval $ac_try) 2>&5
                   2499:   ac_status=$?
                   2500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2501:   (exit $ac_status); }; }; then
                   2502:   break
                   2503: else
                   2504:   echo "$as_me: failed program was:" >&5
                   2505: sed 's/^/| /' conftest.$ac_ext >&5
                   2506: 
                   2507: fi
                   2508: rm -f conftest.$ac_objext conftest.$ac_ext
                   2509: done
                   2510: rm -f conftest*
                   2511: if test -n "$ac_declaration"; then
                   2512:   echo '#ifdef __cplusplus' >>confdefs.h
                   2513:   echo $ac_declaration      >>confdefs.h
                   2514:   echo '#endif'             >>confdefs.h
                   2515: fi
                   2516: 
1.15    ! paf      2517: ac_ext=c
        !          2518: ac_cpp='$CPP $CPPFLAGS'
        !          2519: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2520: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2521: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      2522: rm -f .deps 2>/dev/null
                   2523: mkdir .deps 2>/dev/null
                   2524: if test -d .deps; then
                   2525:   DEPDIR=.deps
                   2526: else
                   2527:   # MS-DOS does not allow filenames that begin with a dot.
                   2528:   DEPDIR=_deps
                   2529: fi
                   2530: rmdir .deps 2>/dev/null
                   2531: 
                   2532: 
                   2533:           ac_config_commands="$ac_config_commands depfiles"
                   2534: 
                   2535: 
                   2536: am_make=${MAKE-make}
                   2537: cat > confinc << 'END'
                   2538: doit:
                   2539:        @echo done
                   2540: END
                   2541: # If we don't find an include directive, just comment out the code.
                   2542: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2543: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2544: am__include="#"
                   2545: am__quote=
                   2546: _am_result=none
                   2547: # First try GNU make style include.
                   2548: echo "include confinc" > confmf
                   2549: # We grep out `Entering directory' and `Leaving directory'
                   2550: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2551: # In particular we don't look at `^make:' because GNU make might
                   2552: # be invoked under some other name (usually "gmake"), in which
                   2553: # case it prints its new name instead of `make'.
                   2554: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2555:    am__include=include
                   2556:    am__quote=
                   2557:    _am_result=GNU
                   2558: fi
                   2559: # Now try BSD make style include.
                   2560: if test "$am__include" = "#"; then
                   2561:    echo '.include "confinc"' > confmf
                   2562:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2563:       am__include=.include
                   2564:       am__quote="\""
                   2565:       _am_result=BSD
                   2566:    fi
                   2567: fi
                   2568: 
                   2569: 
                   2570: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2571: echo "${ECHO_T}$_am_result" >&6
                   2572: rm -f confinc confmf
                   2573: 
                   2574: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2575: if test "${enable_dependency_tracking+set}" = set; then
                   2576:   enableval="$enable_dependency_tracking"
                   2577: 
                   2578: fi;
                   2579: if test "x$enable_dependency_tracking" != xno; then
                   2580:   am_depcomp="$ac_aux_dir/depcomp"
                   2581:   AMDEPBACKSLASH='\'
                   2582: fi
                   2583: 
                   2584: 
                   2585: if test "x$enable_dependency_tracking" != xno; then
                   2586:   AMDEP_TRUE=
                   2587:   AMDEP_FALSE='#'
                   2588: else
                   2589:   AMDEP_TRUE='#'
                   2590:   AMDEP_FALSE=
                   2591: fi
                   2592: 
                   2593: 
                   2594: 
                   2595: 
                   2596: depcc="$CXX"  am_compiler_list=
                   2597: 
                   2598: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2599: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2600: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2601:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2602: else
                   2603:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2604:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2605:   # making bogus files that we don't know about and never remove.  For
                   2606:   # instance it was reported that on HP-UX the gcc test will end up
                   2607:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2608:   # in D'.
                   2609:   mkdir conftest.dir
                   2610:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2611:   # using a relative directory.
                   2612:   cp "$am_depcomp" conftest.dir
                   2613:   cd conftest.dir
                   2614: 
                   2615:   am_cv_CXX_dependencies_compiler_type=none
                   2616:   if test "$am_compiler_list" = ""; then
                   2617:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2618:   fi
                   2619:   for depmode in $am_compiler_list; do
                   2620:     # We need to recreate these files for each test, as the compiler may
                   2621:     # overwrite some of them when testing with obscure command lines.
                   2622:     # This happens at least with the AIX C compiler.
                   2623:     echo '#include "conftest.h"' > conftest.c
                   2624:     echo 'int i;' > conftest.h
                   2625:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2626: 
                   2627:     case $depmode in
                   2628:     nosideeffect)
                   2629:       # after this tag, mechanisms are not by side-effect, so they'll
                   2630:       # only be used when explicitly requested
                   2631:       if test "x$enable_dependency_tracking" = xyes; then
                   2632:        continue
                   2633:       else
                   2634:        break
                   2635:       fi
                   2636:       ;;
                   2637:     none) break ;;
                   2638:     esac
                   2639:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2640:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2641:     # handle `-M -o', and we need to detect this.
                   2642:     if depmode=$depmode \
                   2643:        source=conftest.c object=conftest.o \
                   2644:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2645:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   2646:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2647:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2648:       am_cv_CXX_dependencies_compiler_type=$depmode
                   2649:       break
                   2650:     fi
                   2651:   done
                   2652: 
                   2653:   cd ..
                   2654:   rm -rf conftest.dir
                   2655: else
                   2656:   am_cv_CXX_dependencies_compiler_type=none
                   2657: fi
                   2658: 
                   2659: fi
                   2660: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2661: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2662: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2663: 
                   2664: 
                   2665: 
                   2666: if
                   2667:   test "x$enable_dependency_tracking" != xno \
                   2668:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2669:   am__fastdepCXX_TRUE=
                   2670:   am__fastdepCXX_FALSE='#'
                   2671: else
                   2672:   am__fastdepCXX_TRUE='#'
                   2673:   am__fastdepCXX_FALSE=
                   2674: fi
                   2675: 
1.1       parser   2676: 
1.10      paf      2677: ac_ext=c
                   2678: ac_cpp='$CPP $CPPFLAGS'
                   2679: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2680: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2681: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2682: if test -n "$ac_tool_prefix"; then
                   2683:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2684: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2685: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2686: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2687: if test "${ac_cv_prog_CC+set}" = set; then
                   2688:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2689: else
                   2690:   if test -n "$CC"; then
                   2691:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2692: else
                   2693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2694: for as_dir in $PATH
                   2695: do
                   2696:   IFS=$as_save_IFS
                   2697:   test -z "$as_dir" && as_dir=.
                   2698:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2699:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2700:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2701:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2702:     break 2
                   2703:   fi
                   2704: done
                   2705: done
1.1       parser   2706: 
1.10      paf      2707: fi
                   2708: fi
                   2709: CC=$ac_cv_prog_CC
                   2710: if test -n "$CC"; then
                   2711:   echo "$as_me:$LINENO: result: $CC" >&5
                   2712: echo "${ECHO_T}$CC" >&6
                   2713: else
                   2714:   echo "$as_me:$LINENO: result: no" >&5
                   2715: echo "${ECHO_T}no" >&6
                   2716: fi
1.1       parser   2717: 
1.10      paf      2718: fi
                   2719: if test -z "$ac_cv_prog_CC"; then
                   2720:   ac_ct_CC=$CC
                   2721:   # Extract the first word of "gcc", so it can be a program name with args.
                   2722: set dummy gcc; ac_word=$2
                   2723: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2724: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2725: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2726:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2727: else
1.10      paf      2728:   if test -n "$ac_ct_CC"; then
                   2729:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   2730: else
1.10      paf      2731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2732: for as_dir in $PATH
                   2733: do
                   2734:   IFS=$as_save_IFS
                   2735:   test -z "$as_dir" && as_dir=.
                   2736:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2737:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2738:     ac_cv_prog_ac_ct_CC="gcc"
                   2739:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2740:     break 2
                   2741:   fi
                   2742: done
                   2743: done
                   2744: 
                   2745: fi
1.1       parser   2746: fi
1.10      paf      2747: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2748: if test -n "$ac_ct_CC"; then
                   2749:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2750: echo "${ECHO_T}$ac_ct_CC" >&6
                   2751: else
                   2752:   echo "$as_me:$LINENO: result: no" >&5
                   2753: echo "${ECHO_T}no" >&6
1.1       parser   2754: fi
1.10      paf      2755: 
                   2756:   CC=$ac_ct_CC
1.1       parser   2757: else
1.10      paf      2758:   CC="$ac_cv_prog_CC"
1.1       parser   2759: fi
                   2760: 
1.10      paf      2761: if test -z "$CC"; then
                   2762:   if test -n "$ac_tool_prefix"; then
                   2763:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2764: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2765: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2766: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2767: if test "${ac_cv_prog_CC+set}" = set; then
                   2768:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2769: else
                   2770:   if test -n "$CC"; then
                   2771:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2772: else
1.10      paf      2773: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2774: for as_dir in $PATH
                   2775: do
                   2776:   IFS=$as_save_IFS
                   2777:   test -z "$as_dir" && as_dir=.
                   2778:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2779:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2780:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2781:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2782:     break 2
                   2783:   fi
                   2784: done
                   2785: done
                   2786: 
1.1       parser   2787: fi
                   2788: fi
1.10      paf      2789: CC=$ac_cv_prog_CC
1.1       parser   2790: if test -n "$CC"; then
1.10      paf      2791:   echo "$as_me:$LINENO: result: $CC" >&5
                   2792: echo "${ECHO_T}$CC" >&6
                   2793: else
                   2794:   echo "$as_me:$LINENO: result: no" >&5
                   2795: echo "${ECHO_T}no" >&6
                   2796: fi
                   2797: 
                   2798: fi
                   2799: if test -z "$ac_cv_prog_CC"; then
                   2800:   ac_ct_CC=$CC
                   2801:   # Extract the first word of "cc", so it can be a program name with args.
                   2802: set dummy cc; ac_word=$2
                   2803: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2804: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2805: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2806:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2807: else
                   2808:   if test -n "$ac_ct_CC"; then
                   2809:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2810: else
                   2811: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2812: for as_dir in $PATH
                   2813: do
                   2814:   IFS=$as_save_IFS
                   2815:   test -z "$as_dir" && as_dir=.
                   2816:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2817:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2818:     ac_cv_prog_ac_ct_CC="cc"
                   2819:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2820:     break 2
                   2821:   fi
                   2822: done
                   2823: done
                   2824: 
                   2825: fi
                   2826: fi
                   2827: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2828: if test -n "$ac_ct_CC"; then
                   2829:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2830: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       parser   2831: else
1.10      paf      2832:   echo "$as_me:$LINENO: result: no" >&5
                   2833: echo "${ECHO_T}no" >&6
1.1       parser   2834: fi
                   2835: 
1.10      paf      2836:   CC=$ac_ct_CC
                   2837: else
                   2838:   CC="$ac_cv_prog_CC"
                   2839: fi
                   2840: 
                   2841: fi
1.1       parser   2842: if test -z "$CC"; then
                   2843:   # Extract the first word of "cc", so it can be a program name with args.
                   2844: set dummy cc; ac_word=$2
1.10      paf      2845: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2846: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2847: if test "${ac_cv_prog_CC+set}" = set; then
                   2848:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2849: else
                   2850:   if test -n "$CC"; then
                   2851:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2852: else
                   2853:   ac_prog_rejected=no
1.10      paf      2854: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2855: for as_dir in $PATH
                   2856: do
                   2857:   IFS=$as_save_IFS
                   2858:   test -z "$as_dir" && as_dir=.
                   2859:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2860:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2861:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2862:        ac_prog_rejected=yes
                   2863:        continue
                   2864:      fi
                   2865:     ac_cv_prog_CC="cc"
                   2866:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2867:     break 2
                   2868:   fi
                   2869: done
                   2870: done
                   2871: 
1.1       parser   2872: if test $ac_prog_rejected = yes; then
                   2873:   # We found a bogon in the path, so make sure we never use it.
                   2874:   set dummy $ac_cv_prog_CC
                   2875:   shift
1.10      paf      2876:   if test $# != 0; then
1.1       parser   2877:     # We chose a different compiler from the bogus one.
                   2878:     # However, it has the same basename, so the bogon will be chosen
                   2879:     # first if we set CC to just the basename; use the full file name.
                   2880:     shift
1.10      paf      2881:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   2882:   fi
                   2883: fi
                   2884: fi
                   2885: fi
1.10      paf      2886: CC=$ac_cv_prog_CC
1.1       parser   2887: if test -n "$CC"; then
1.10      paf      2888:   echo "$as_me:$LINENO: result: $CC" >&5
                   2889: echo "${ECHO_T}$CC" >&6
1.1       parser   2890: else
1.10      paf      2891:   echo "$as_me:$LINENO: result: no" >&5
                   2892: echo "${ECHO_T}no" >&6
1.1       parser   2893: fi
                   2894: 
1.10      paf      2895: fi
                   2896: if test -z "$CC"; then
                   2897:   if test -n "$ac_tool_prefix"; then
                   2898:   for ac_prog in cl
                   2899:   do
                   2900:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2901: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2902: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2903: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2904: if test "${ac_cv_prog_CC+set}" = set; then
                   2905:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2906: else
                   2907:   if test -n "$CC"; then
                   2908:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2909: else
1.10      paf      2910: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2911: for as_dir in $PATH
                   2912: do
                   2913:   IFS=$as_save_IFS
                   2914:   test -z "$as_dir" && as_dir=.
                   2915:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2916:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2917:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2918:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2919:     break 2
                   2920:   fi
                   2921: done
                   2922: done
                   2923: 
1.1       parser   2924: fi
                   2925: fi
1.10      paf      2926: CC=$ac_cv_prog_CC
1.1       parser   2927: if test -n "$CC"; then
1.10      paf      2928:   echo "$as_me:$LINENO: result: $CC" >&5
                   2929: echo "${ECHO_T}$CC" >&6
1.1       parser   2930: else
1.10      paf      2931:   echo "$as_me:$LINENO: result: no" >&5
                   2932: echo "${ECHO_T}no" >&6
                   2933: fi
                   2934: 
                   2935:     test -n "$CC" && break
                   2936:   done
1.1       parser   2937: fi
1.10      paf      2938: if test -z "$CC"; then
                   2939:   ac_ct_CC=$CC
                   2940:   for ac_prog in cl
                   2941: do
                   2942:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2943: set dummy $ac_prog; ac_word=$2
                   2944: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2945: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2946: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2947:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2948: else
                   2949:   if test -n "$ac_ct_CC"; then
                   2950:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2951: else
                   2952: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2953: for as_dir in $PATH
                   2954: do
                   2955:   IFS=$as_save_IFS
                   2956:   test -z "$as_dir" && as_dir=.
                   2957:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2958:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2959:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2960:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2961:     break 2
1.1       parser   2962:   fi
1.10      paf      2963: done
                   2964: done
                   2965: 
                   2966: fi
                   2967: fi
                   2968: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2969: if test -n "$ac_ct_CC"; then
                   2970:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2971: echo "${ECHO_T}$ac_ct_CC" >&6
                   2972: else
                   2973:   echo "$as_me:$LINENO: result: no" >&5
                   2974: echo "${ECHO_T}no" >&6
1.1       parser   2975: fi
                   2976: 
1.10      paf      2977:   test -n "$ac_ct_CC" && break
                   2978: done
1.1       parser   2979: 
1.10      paf      2980:   CC=$ac_ct_CC
                   2981: fi
1.1       parser   2982: 
1.10      paf      2983: fi
1.1       parser   2984: 
                   2985: 
1.10      paf      2986: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2987: See \`config.log' for more details." >&5
                   2988: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2989: See \`config.log' for more details." >&2;}
                   2990:    { (exit 1); exit 1; }; }
                   2991: 
                   2992: # Provide some information about the compiler.
                   2993: echo "$as_me:$LINENO:" \
                   2994:      "checking for C compiler version" >&5
                   2995: ac_compiler=`set X $ac_compile; echo $2`
                   2996: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2997:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2998:   ac_status=$?
                   2999:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3000:   (exit $ac_status); }
                   3001: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3002:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3003:   ac_status=$?
                   3004:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3005:   (exit $ac_status); }
                   3006: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3007:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3008:   ac_status=$?
                   3009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3010:   (exit $ac_status); }
                   3011: 
                   3012: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3013: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3014: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   3015:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3016: else
                   3017:   cat >conftest.$ac_ext <<_ACEOF
                   3018: #line $LINENO "configure"
                   3019: /* confdefs.h.  */
                   3020: _ACEOF
                   3021: cat confdefs.h >>conftest.$ac_ext
                   3022: cat >>conftest.$ac_ext <<_ACEOF
                   3023: /* end confdefs.h.  */
                   3024: 
                   3025: int
                   3026: main ()
                   3027: {
                   3028: #ifndef __GNUC__
                   3029:        choke me
1.1       parser   3030: #endif
                   3031: 
1.10      paf      3032:   ;
                   3033:   return 0;
                   3034: }
                   3035: _ACEOF
                   3036: rm -f conftest.$ac_objext
                   3037: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3038:   (eval $ac_compile) 2>&5
                   3039:   ac_status=$?
                   3040:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3041:   (exit $ac_status); } &&
                   3042:          { ac_try='test -s conftest.$ac_objext'
                   3043:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3044:   (eval $ac_try) 2>&5
                   3045:   ac_status=$?
                   3046:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3047:   (exit $ac_status); }; }; then
                   3048:   ac_compiler_gnu=yes
                   3049: else
                   3050:   echo "$as_me: failed program was:" >&5
                   3051: sed 's/^/| /' conftest.$ac_ext >&5
                   3052: 
                   3053: ac_compiler_gnu=no
                   3054: fi
                   3055: rm -f conftest.$ac_objext conftest.$ac_ext
                   3056: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3057: 
                   3058: fi
                   3059: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3060: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3061: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3062: ac_test_CFLAGS=${CFLAGS+set}
                   3063: ac_save_CFLAGS=$CFLAGS
                   3064: CFLAGS="-g"
                   3065: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3066: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3067: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3068:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3069: else
                   3070:   cat >conftest.$ac_ext <<_ACEOF
                   3071: #line $LINENO "configure"
                   3072: /* confdefs.h.  */
                   3073: _ACEOF
                   3074: cat confdefs.h >>conftest.$ac_ext
                   3075: cat >>conftest.$ac_ext <<_ACEOF
                   3076: /* end confdefs.h.  */
                   3077: 
                   3078: int
                   3079: main ()
                   3080: {
                   3081: 
                   3082:   ;
                   3083:   return 0;
                   3084: }
                   3085: _ACEOF
                   3086: rm -f conftest.$ac_objext
                   3087: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3088:   (eval $ac_compile) 2>&5
                   3089:   ac_status=$?
                   3090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3091:   (exit $ac_status); } &&
                   3092:          { ac_try='test -s conftest.$ac_objext'
                   3093:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3094:   (eval $ac_try) 2>&5
                   3095:   ac_status=$?
                   3096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3097:   (exit $ac_status); }; }; then
                   3098:   ac_cv_prog_cc_g=yes
1.1       parser   3099: else
1.10      paf      3100:   echo "$as_me: failed program was:" >&5
                   3101: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3102: 
1.10      paf      3103: ac_cv_prog_cc_g=no
1.1       parser   3104: fi
1.10      paf      3105: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       parser   3106: fi
1.10      paf      3107: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3108: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       parser   3109: if test "$ac_test_CFLAGS" = set; then
1.10      paf      3110:   CFLAGS=$ac_save_CFLAGS
1.1       parser   3111: elif test $ac_cv_prog_cc_g = yes; then
                   3112:   if test "$GCC" = yes; then
                   3113:     CFLAGS="-g -O2"
                   3114:   else
                   3115:     CFLAGS="-g"
                   3116:   fi
                   3117: else
                   3118:   if test "$GCC" = yes; then
                   3119:     CFLAGS="-O2"
                   3120:   else
                   3121:     CFLAGS=
                   3122:   fi
                   3123: fi
1.10      paf      3124: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3125: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3126: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3127:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3128: else
                   3129:   ac_cv_prog_cc_stdc=no
                   3130: ac_save_CC=$CC
                   3131: cat >conftest.$ac_ext <<_ACEOF
                   3132: #line $LINENO "configure"
                   3133: /* confdefs.h.  */
                   3134: _ACEOF
                   3135: cat confdefs.h >>conftest.$ac_ext
                   3136: cat >>conftest.$ac_ext <<_ACEOF
                   3137: /* end confdefs.h.  */
                   3138: #include <stdarg.h>
                   3139: #include <stdio.h>
                   3140: #include <sys/types.h>
                   3141: #include <sys/stat.h>
                   3142: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3143: struct buf { int x; };
                   3144: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3145: static char *e (p, i)
                   3146:      char **p;
                   3147:      int i;
                   3148: {
                   3149:   return p[i];
                   3150: }
                   3151: static char *f (char * (*g) (char **, int), char **p, ...)
                   3152: {
                   3153:   char *s;
                   3154:   va_list v;
                   3155:   va_start (v,p);
                   3156:   s = g (p, va_arg (v,int));
                   3157:   va_end (v);
                   3158:   return s;
                   3159: }
                   3160: int test (int i, double x);
                   3161: struct s1 {int (*f) (int a);};
                   3162: struct s2 {int (*f) (double a);};
                   3163: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3164: int argc;
                   3165: char **argv;
                   3166: int
                   3167: main ()
                   3168: {
                   3169: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3170:   ;
                   3171:   return 0;
                   3172: }
                   3173: _ACEOF
                   3174: # Don't try gcc -ansi; that turns off useful extensions and
                   3175: # breaks some systems' header files.
                   3176: # AIX                  -qlanglvl=ansi
                   3177: # Ultrix and OSF/1     -std1
                   3178: # HP-UX 10.20 and later        -Ae
                   3179: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3180: # SVR4                 -Xc -D__EXTENSIONS__
                   3181: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3182: do
                   3183:   CC="$ac_save_CC $ac_arg"
                   3184:   rm -f conftest.$ac_objext
                   3185: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3186:   (eval $ac_compile) 2>&5
                   3187:   ac_status=$?
                   3188:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3189:   (exit $ac_status); } &&
                   3190:          { ac_try='test -s conftest.$ac_objext'
                   3191:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3192:   (eval $ac_try) 2>&5
                   3193:   ac_status=$?
                   3194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3195:   (exit $ac_status); }; }; then
                   3196:   ac_cv_prog_cc_stdc=$ac_arg
                   3197: break
                   3198: else
                   3199:   echo "$as_me: failed program was:" >&5
                   3200: sed 's/^/| /' conftest.$ac_ext >&5
                   3201: 
                   3202: fi
                   3203: rm -f conftest.$ac_objext
                   3204: done
                   3205: rm -f conftest.$ac_ext conftest.$ac_objext
                   3206: CC=$ac_save_CC
                   3207: 
                   3208: fi
                   3209: 
                   3210: case "x$ac_cv_prog_cc_stdc" in
                   3211:   x|xno)
                   3212:     echo "$as_me:$LINENO: result: none needed" >&5
                   3213: echo "${ECHO_T}none needed" >&6 ;;
                   3214:   *)
                   3215:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3216: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3217:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3218: esac
                   3219: 
                   3220: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3221: # in C++ we need to declare it.  In case someone uses the same compiler
                   3222: # for both compiling C and C++ we need to have the C++ compiler decide
                   3223: # the declaration of exit, since it's the most demanding environment.
                   3224: cat >conftest.$ac_ext <<_ACEOF
                   3225: #ifndef __cplusplus
                   3226:   choke me
                   3227: #endif
                   3228: _ACEOF
                   3229: rm -f conftest.$ac_objext
                   3230: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3231:   (eval $ac_compile) 2>&5
                   3232:   ac_status=$?
                   3233:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3234:   (exit $ac_status); } &&
                   3235:          { ac_try='test -s conftest.$ac_objext'
                   3236:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3237:   (eval $ac_try) 2>&5
                   3238:   ac_status=$?
                   3239:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3240:   (exit $ac_status); }; }; then
                   3241:   for ac_declaration in \
                   3242:    ''\
                   3243:    '#include <stdlib.h>' \
                   3244:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3245:    'extern "C" void std::exit (int); using std::exit;' \
                   3246:    'extern "C" void exit (int) throw ();' \
                   3247:    'extern "C" void exit (int);' \
                   3248:    'void exit (int);'
                   3249: do
                   3250:   cat >conftest.$ac_ext <<_ACEOF
                   3251: #line $LINENO "configure"
                   3252: /* confdefs.h.  */
                   3253: _ACEOF
                   3254: cat confdefs.h >>conftest.$ac_ext
                   3255: cat >>conftest.$ac_ext <<_ACEOF
                   3256: /* end confdefs.h.  */
                   3257: #include <stdlib.h>
                   3258: $ac_declaration
                   3259: int
                   3260: main ()
                   3261: {
                   3262: exit (42);
                   3263:   ;
                   3264:   return 0;
                   3265: }
                   3266: _ACEOF
                   3267: rm -f conftest.$ac_objext
                   3268: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3269:   (eval $ac_compile) 2>&5
                   3270:   ac_status=$?
                   3271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3272:   (exit $ac_status); } &&
                   3273:          { ac_try='test -s conftest.$ac_objext'
                   3274:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3275:   (eval $ac_try) 2>&5
                   3276:   ac_status=$?
                   3277:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3278:   (exit $ac_status); }; }; then
                   3279:   :
                   3280: else
                   3281:   echo "$as_me: failed program was:" >&5
                   3282: sed 's/^/| /' conftest.$ac_ext >&5
                   3283: 
                   3284: continue
                   3285: fi
                   3286: rm -f conftest.$ac_objext conftest.$ac_ext
                   3287:   cat >conftest.$ac_ext <<_ACEOF
                   3288: #line $LINENO "configure"
                   3289: /* confdefs.h.  */
                   3290: _ACEOF
                   3291: cat confdefs.h >>conftest.$ac_ext
                   3292: cat >>conftest.$ac_ext <<_ACEOF
                   3293: /* end confdefs.h.  */
                   3294: $ac_declaration
                   3295: int
                   3296: main ()
                   3297: {
                   3298: exit (42);
                   3299:   ;
                   3300:   return 0;
                   3301: }
                   3302: _ACEOF
                   3303: rm -f conftest.$ac_objext
                   3304: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3305:   (eval $ac_compile) 2>&5
                   3306:   ac_status=$?
                   3307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3308:   (exit $ac_status); } &&
                   3309:          { ac_try='test -s conftest.$ac_objext'
                   3310:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3311:   (eval $ac_try) 2>&5
                   3312:   ac_status=$?
                   3313:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3314:   (exit $ac_status); }; }; then
                   3315:   break
                   3316: else
                   3317:   echo "$as_me: failed program was:" >&5
                   3318: sed 's/^/| /' conftest.$ac_ext >&5
                   3319: 
                   3320: fi
                   3321: rm -f conftest.$ac_objext conftest.$ac_ext
                   3322: done
                   3323: rm -f conftest*
                   3324: if test -n "$ac_declaration"; then
                   3325:   echo '#ifdef __cplusplus' >>confdefs.h
                   3326:   echo $ac_declaration      >>confdefs.h
                   3327:   echo '#endif'             >>confdefs.h
                   3328: fi
                   3329: 
                   3330: else
                   3331:   echo "$as_me: failed program was:" >&5
                   3332: sed 's/^/| /' conftest.$ac_ext >&5
                   3333: 
                   3334: fi
                   3335: rm -f conftest.$ac_objext conftest.$ac_ext
1.15    ! paf      3336: ac_ext=c
        !          3337: ac_cpp='$CPP $CPPFLAGS'
        !          3338: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3339: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3340: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      3341: 
                   3342: depcc="$CC"   am_compiler_list=
                   3343: 
                   3344: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3345: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   3346: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3347:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3348: else
                   3349:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3350:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3351:   # making bogus files that we don't know about and never remove.  For
                   3352:   # instance it was reported that on HP-UX the gcc test will end up
                   3353:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3354:   # in D'.
                   3355:   mkdir conftest.dir
                   3356:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3357:   # using a relative directory.
                   3358:   cp "$am_depcomp" conftest.dir
                   3359:   cd conftest.dir
                   3360: 
                   3361:   am_cv_CC_dependencies_compiler_type=none
                   3362:   if test "$am_compiler_list" = ""; then
                   3363:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3364:   fi
                   3365:   for depmode in $am_compiler_list; do
                   3366:     # We need to recreate these files for each test, as the compiler may
                   3367:     # overwrite some of them when testing with obscure command lines.
                   3368:     # This happens at least with the AIX C compiler.
                   3369:     echo '#include "conftest.h"' > conftest.c
                   3370:     echo 'int i;' > conftest.h
                   3371:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   3372: 
                   3373:     case $depmode in
                   3374:     nosideeffect)
                   3375:       # after this tag, mechanisms are not by side-effect, so they'll
                   3376:       # only be used when explicitly requested
                   3377:       if test "x$enable_dependency_tracking" = xyes; then
                   3378:        continue
                   3379:       else
                   3380:        break
                   3381:       fi
                   3382:       ;;
                   3383:     none) break ;;
                   3384:     esac
                   3385:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3386:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3387:     # handle `-M -o', and we need to detect this.
                   3388:     if depmode=$depmode \
                   3389:        source=conftest.c object=conftest.o \
                   3390:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   3391:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   3392:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   3393:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3394:       am_cv_CC_dependencies_compiler_type=$depmode
                   3395:       break
                   3396:     fi
                   3397:   done
                   3398: 
                   3399:   cd ..
                   3400:   rm -rf conftest.dir
                   3401: else
                   3402:   am_cv_CC_dependencies_compiler_type=none
                   3403: fi
                   3404: 
                   3405: fi
                   3406: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3407: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3408: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3409: 
                   3410: 
                   3411: 
                   3412: if
                   3413:   test "x$enable_dependency_tracking" != xno \
                   3414:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3415:   am__fastdepCC_TRUE=
                   3416:   am__fastdepCC_FALSE='#'
                   3417: else
                   3418:   am__fastdepCC_TRUE='#'
                   3419:   am__fastdepCC_FALSE=
                   3420: fi
                   3421: 
                   3422: 
1.15    ! paf      3423: 
        !          3424: ac_ext=c
        !          3425: ac_cpp='$CPP $CPPFLAGS'
        !          3426: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3427: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3428: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3429: 
        !          3430: 
        !          3431:   case $enable_ltdl_convenience in
        !          3432:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
        !          3433: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
        !          3434:    { (exit 1); exit 1; }; } ;;
        !          3435:   "") enable_ltdl_convenience=yes
        !          3436:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
        !          3437:   esac
        !          3438:   LIBLTDL='${top_builddir}/''libltdl'/libltdlc.la
        !          3439:   LTDLINCL='-I${top_srcdir}/''libltdl'
        !          3440:   # For backwards non-gettext consistent compatibility...
        !          3441:   INCLTDL="$LTDLINCL"
        !          3442: 
        !          3443: 
        !          3444: 
        !          3445: 
        !          3446: # Check whether --enable-static or --disable-static was given.
        !          3447: if test "${enable_static+set}" = set; then
        !          3448:   enableval="$enable_static"
        !          3449:   p=${PACKAGE-default}
        !          3450: case $enableval in
        !          3451: yes) enable_static=yes ;;
        !          3452: no) enable_static=no ;;
        !          3453: *)
        !          3454:   enable_static=no
        !          3455:   # Look at the argument we got.  We use all the common list separators.
        !          3456:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3457:   for pkg in $enableval; do
        !          3458:     if test "X$pkg" = "X$p"; then
        !          3459:       enable_static=yes
        !          3460:     fi
        !          3461:   done
        !          3462:   IFS="$ac_save_ifs"
        !          3463:   ;;
        !          3464: esac
        !          3465: else
        !          3466:   enable_static=no
        !          3467: fi;
        !          3468: 
        !          3469: # Check whether --enable-shared or --disable-shared was given.
        !          3470: if test "${enable_shared+set}" = set; then
        !          3471:   enableval="$enable_shared"
        !          3472:   p=${PACKAGE-default}
        !          3473: case $enableval in
        !          3474: yes) enable_shared=yes ;;
        !          3475: no) enable_shared=no ;;
        !          3476: *)
        !          3477:   enable_shared=no
        !          3478:   # Look at the argument we got.  We use all the common list separators.
        !          3479:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3480:   for pkg in $enableval; do
        !          3481:     if test "X$pkg" = "X$p"; then
        !          3482:       enable_shared=yes
        !          3483:     fi
        !          3484:   done
        !          3485:   IFS="$ac_save_ifs"
        !          3486:   ;;
        !          3487: esac
        !          3488: else
        !          3489:   enable_shared=yes
        !          3490: fi;
        !          3491: # Check whether --enable-fast-install or --disable-fast-install was given.
        !          3492: if test "${enable_fast_install+set}" = set; then
        !          3493:   enableval="$enable_fast_install"
        !          3494:   p=${PACKAGE-default}
        !          3495: case $enableval in
        !          3496: yes) enable_fast_install=yes ;;
        !          3497: no) enable_fast_install=no ;;
        !          3498: *)
        !          3499:   enable_fast_install=no
        !          3500:   # Look at the argument we got.  We use all the common list separators.
        !          3501:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3502:   for pkg in $enableval; do
        !          3503:     if test "X$pkg" = "X$p"; then
        !          3504:       enable_fast_install=yes
        !          3505:     fi
        !          3506:   done
        !          3507:   IFS="$ac_save_ifs"
        !          3508:   ;;
        !          3509: esac
        !          3510: else
        !          3511:   enable_fast_install=yes
        !          3512: fi;
        !          3513: # Make sure we can run config.sub.
        !          3514: $ac_config_sub sun4 >/dev/null 2>&1 ||
        !          3515:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
        !          3516: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
        !          3517:    { (exit 1); exit 1; }; }
        !          3518: 
        !          3519: echo "$as_me:$LINENO: checking build system type" >&5
        !          3520: echo $ECHO_N "checking build system type... $ECHO_C" >&6
        !          3521: if test "${ac_cv_build+set}" = set; then
        !          3522:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3523: else
        !          3524:   ac_cv_build_alias=$build_alias
        !          3525: test -z "$ac_cv_build_alias" &&
        !          3526:   ac_cv_build_alias=`$ac_config_guess`
        !          3527: test -z "$ac_cv_build_alias" &&
        !          3528:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
        !          3529: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
        !          3530:    { (exit 1); exit 1; }; }
        !          3531: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
        !          3532:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
        !          3533: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
        !          3534:    { (exit 1); exit 1; }; }
        !          3535: 
        !          3536: fi
        !          3537: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
        !          3538: echo "${ECHO_T}$ac_cv_build" >&6
        !          3539: build=$ac_cv_build
        !          3540: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          3541: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          3542: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          3543: 
        !          3544: 
        !          3545: echo "$as_me:$LINENO: checking host system type" >&5
        !          3546: echo $ECHO_N "checking host system type... $ECHO_C" >&6
        !          3547: if test "${ac_cv_host+set}" = set; then
        !          3548:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3549: else
        !          3550:   ac_cv_host_alias=$host_alias
        !          3551: test -z "$ac_cv_host_alias" &&
        !          3552:   ac_cv_host_alias=$ac_cv_build_alias
        !          3553: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
        !          3554:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
        !          3555: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
        !          3556:    { (exit 1); exit 1; }; }
        !          3557: 
        !          3558: fi
        !          3559: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
        !          3560: echo "${ECHO_T}$ac_cv_host" >&6
        !          3561: host=$ac_cv_host
        !          3562: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          3563: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          3564: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          3565: 
        !          3566: 
1.10      paf      3567: # Find the correct PATH separator.  Usually this is `:', but
                   3568: # DJGPP uses `;' like DOS.
                   3569: if test "X${PATH_SEPARATOR+set}" != Xset; then
                   3570:   UNAME=${UNAME-`uname 2>/dev/null`}
                   3571:   case X$UNAME in
                   3572:     *-DOS) lt_cv_sys_path_separator=';' ;;
                   3573:     *)     lt_cv_sys_path_separator=':' ;;
                   3574:   esac
                   3575:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                   3576: fi
                   3577: 
1.1       parser   3578: 
                   3579: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3580: if test "${with_gnu_ld+set}" = set; then
                   3581:   withval="$with_gnu_ld"
                   3582:   test "$withval" = no || with_gnu_ld=yes
                   3583: else
                   3584:   with_gnu_ld=no
1.10      paf      3585: fi;
1.1       parser   3586: ac_prog=ld
1.10      paf      3587: if test "$GCC" = yes; then
1.1       parser   3588:   # Check if gcc -print-prog-name=ld gives a path.
1.10      paf      3589:   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
                   3590: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
                   3591:   case $host in
                   3592:   *-*-mingw*)
                   3593:     # gcc leaves a trailing carriage return which upsets mingw
                   3594:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3595:   *)
                   3596:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3597:   esac
                   3598:   case $ac_prog in
1.1       parser   3599:     # Accept absolute paths.
                   3600:     [\\/]* | [A-Za-z]:[\\/]*)
                   3601:       re_direlt='/[^/][^/]*/\.\./'
                   3602:       # Canonicalize the path of ld
                   3603:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   3604:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   3605:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   3606:       done
                   3607:       test -z "$LD" && LD="$ac_prog"
                   3608:       ;;
                   3609:   "")
                   3610:     # If it fails, then pretend we aren't using GCC.
                   3611:     ac_prog=ld
                   3612:     ;;
                   3613:   *)
                   3614:     # If it is relative, then search for the first ld in PATH.
                   3615:     with_gnu_ld=unknown
                   3616:     ;;
                   3617:   esac
                   3618: elif test "$with_gnu_ld" = yes; then
1.10      paf      3619:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3620: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1       parser   3621: else
1.10      paf      3622:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3623: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1       parser   3624: fi
1.10      paf      3625: if test "${lt_cv_path_LD+set}" = set; then
                   3626:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3627: else
                   3628:   if test -z "$LD"; then
1.10      paf      3629:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3630:   for ac_dir in $PATH; do
                   3631:     test -z "$ac_dir" && ac_dir=.
                   3632:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.10      paf      3633:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   3634:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   3635:       # but apparently some GNU ld's only accept -v.
                   3636:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.10      paf      3637:       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1.1       parser   3638:        test "$with_gnu_ld" != no && break
                   3639:       else
                   3640:        test "$with_gnu_ld" != yes && break
                   3641:       fi
                   3642:     fi
                   3643:   done
                   3644:   IFS="$ac_save_ifs"
                   3645: else
1.10      paf      3646:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   3647: fi
                   3648: fi
                   3649: 
1.10      paf      3650: LD="$lt_cv_path_LD"
1.1       parser   3651: if test -n "$LD"; then
1.10      paf      3652:   echo "$as_me:$LINENO: result: $LD" >&5
                   3653: echo "${ECHO_T}$LD" >&6
1.1       parser   3654: else
1.10      paf      3655:   echo "$as_me:$LINENO: result: no" >&5
                   3656: echo "${ECHO_T}no" >&6
1.1       parser   3657: fi
1.10      paf      3658: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3659: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3660:    { (exit 1); exit 1; }; }
                   3661: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3662: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3663: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3664:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3665: else
                   3666:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   3667: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1.10      paf      3668:   lt_cv_prog_gnu_ld=yes
1.1       parser   3669: else
1.10      paf      3670:   lt_cv_prog_gnu_ld=no
1.1       parser   3671: fi
                   3672: fi
1.10      paf      3673: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3674: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3675: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   3676: 
                   3677: 
1.10      paf      3678: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   3679: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   3680: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   3681:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3682: else
                   3683:   lt_cv_ld_reload_flag='-r'
                   3684: fi
                   3685: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   3686: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   3687: reload_flag=$lt_cv_ld_reload_flag
                   3688: test -n "$reload_flag" && reload_flag=" $reload_flag"
1.1       parser   3689: 
1.10      paf      3690: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
                   3691: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
                   3692: if test "${lt_cv_path_NM+set}" = set; then
                   3693:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3694: else
                   3695:   if test -n "$NM"; then
                   3696:   # Let the user override the test.
1.10      paf      3697:   lt_cv_path_NM="$NM"
1.1       parser   3698: else
1.10      paf      3699:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3700:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   3701:     test -z "$ac_dir" && ac_dir=.
1.10      paf      3702:     tmp_nm=$ac_dir/${ac_tool_prefix}nm
                   3703:     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1.1       parser   3704:       # Check to see if the nm accepts a BSD-compat flag.
                   3705:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3706:       #   nm: unknown option "B" ignored
1.10      paf      3707:       # Tru64's nm complains that /dev/null is an invalid object file
                   3708:       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
                   3709:        lt_cv_path_NM="$tmp_nm -B"
1.1       parser   3710:        break
1.10      paf      3711:       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   3712:        lt_cv_path_NM="$tmp_nm -p"
1.1       parser   3713:        break
                   3714:       else
1.10      paf      3715:        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1.1       parser   3716:        continue # so that we can try to find one that supports BSD flags
                   3717:       fi
                   3718:     fi
                   3719:   done
                   3720:   IFS="$ac_save_ifs"
1.10      paf      3721:   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1.1       parser   3722: fi
                   3723: fi
                   3724: 
1.10      paf      3725: NM="$lt_cv_path_NM"
                   3726: echo "$as_me:$LINENO: result: $NM" >&5
                   3727: echo "${ECHO_T}$NM" >&6
1.1       parser   3728: 
1.10      paf      3729: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3730: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3731: if test "${lt_cv_path_SED+set}" = set; then
                   3732:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3733: else
1.10      paf      3734:   # Loop through the user's path and test for sed and gsed.
                   3735: # Then use that list of sed's as ones to test for truncation.
                   3736: as_executable_p="test -f"
                   3737: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3738: for as_dir in $PATH
                   3739: do
                   3740:   IFS=$as_save_IFS
                   3741:   test -z "$as_dir" && as_dir=.
                   3742:   for ac_prog in sed gsed; do
                   3743:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3744:       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   3745:         _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
                   3746:       fi
                   3747:     done
                   3748:   done
                   3749: done
                   3750: 
                   3751:   # Create a temporary directory, and hook for its removal unless debugging.
                   3752: $debug ||
                   3753: {
                   3754:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   3755:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   3756: }
                   3757: 
                   3758: # Create a (secure) tmp directory for tmp files.
                   3759: : ${TMPDIR=/tmp}
                   3760: {
                   3761:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
                   3762:   test -n "$tmp" && test -d "$tmp"
                   3763: }  ||
                   3764: {
                   3765:   tmp=$TMPDIR/sed$$-$RANDOM
                   3766:   (umask 077 && mkdir $tmp)
                   3767: } ||
                   3768: {
                   3769:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   3770:    { (exit 1); exit 1; }
                   3771: }
                   3772:   _max=0
                   3773:   _count=0
                   3774:   # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   3775:   # along with /bin/sed that truncates output.
                   3776:   for _sed in $_sed_list /usr/xpg4/bin/sed; do
                   3777:     test ! -f ${_sed} && break
                   3778:     cat /dev/null > "$tmp/sed.in"
                   3779:     _count=0
                   3780:     echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
                   3781:     # Check for GNU sed and select it if it is found.
                   3782:     if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
                   3783:       lt_cv_path_SED=${_sed}
                   3784:       break
                   3785:     fi
                   3786:     while true; do
                   3787:       cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
                   3788:       mv "$tmp/sed.tmp" "$tmp/sed.in"
                   3789:       cp "$tmp/sed.in" "$tmp/sed.nl"
                   3790:       echo >>"$tmp/sed.nl"
                   3791:       ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
                   3792:       cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
                   3793:       # 40000 chars as input seems more than enough
                   3794:       test $_count -gt 10 && break
                   3795:       _count=`expr $_count + 1`
                   3796:       if test $_count -gt $_max; then
                   3797:         _max=$_count
                   3798:         lt_cv_path_SED=$_sed
                   3799:       fi
                   3800:     done
                   3801:   done
                   3802:   rm -rf "$tmp"
                   3803: 
1.1       parser   3804: fi
                   3805: 
1.10      paf      3806: if test "X$SED" != "X"; then
                   3807:   lt_cv_path_SED=$SED
1.6       paf      3808: else
1.10      paf      3809:   SED=$lt_cv_path_SED
1.6       paf      3810: fi
1.10      paf      3811: echo "$as_me:$LINENO: result: $SED" >&5
                   3812: echo "${ECHO_T}$SED" >&6
                   3813: 
                   3814: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   3815: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   3816: LN_S=$as_ln_s
                   3817: if test "$LN_S" = "ln -s"; then
                   3818:   echo "$as_me:$LINENO: result: yes" >&5
                   3819: echo "${ECHO_T}yes" >&6
                   3820: else
                   3821:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   3822: echo "${ECHO_T}no, using $LN_S" >&6
                   3823: fi
                   3824: 
                   3825: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
                   3826: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
                   3827: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   3828:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3829: else
                   3830:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   3831: lt_cv_file_magic_test_file=
                   3832: lt_cv_deplibs_check_method='unknown'
                   3833: # Need to set the preceding variable on all platforms that support
                   3834: # interlibrary dependencies.
                   3835: # 'none' -- dependencies not supported.
                   3836: # `unknown' -- same as none, but documents that we really don't know.
                   3837: # 'pass_all' -- all dependencies passed with no checks.
                   3838: # 'test_compile' -- check by making test program.
                   3839: # 'file_magic [[regex]]' -- check by looking for files in library path
                   3840: # which responds to the $file_magic_cmd with a given egrep regex.
                   3841: # If you have `file' or equivalent on your system and you're not sure
                   3842: # whether `pass_all' will *always* work, you probably want this one.
                   3843: 
                   3844: case $host_os in
                   3845: aix4* | aix5*)
                   3846:   lt_cv_deplibs_check_method=pass_all
                   3847:   ;;
1.6       paf      3848: 
1.10      paf      3849: beos*)
                   3850:   lt_cv_deplibs_check_method=pass_all
                   3851:   ;;
1.1       parser   3852: 
1.10      paf      3853: bsdi4*)
                   3854:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   3855:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3856:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3857:   ;;
1.1       parser   3858: 
1.10      paf      3859: cygwin* | mingw* | pw32*)
                   3860:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
                   3861:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   3862:   ;;
1.1       parser   3863: 
1.10      paf      3864: darwin* | rhapsody*)
                   3865:   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
                   3866:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3867:   case "$host_os" in
                   3868:   rhapsody* | darwin1.[012])
                   3869:     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
                   3870:     ;;
                   3871:   *) # Darwin 1.3 on
                   3872:     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
                   3873:     ;;
                   3874:   esac
                   3875:   ;;
1.1       parser   3876: 
1.10      paf      3877: freebsd*)
                   3878:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3879:     case $host_cpu in
                   3880:     i*86 )
                   3881:       # Not sure whether the presence of OpenBSD here was a mistake.
                   3882:       # Let's accept both of them until this is cleared up.
                   3883:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
                   3884:       lt_cv_file_magic_cmd=/usr/bin/file
                   3885:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   3886:       ;;
                   3887:     esac
1.10      paf      3888:   else
                   3889:     lt_cv_deplibs_check_method=pass_all
1.1       parser   3890:   fi
                   3891:   ;;
                   3892: 
1.10      paf      3893: gnu*)
                   3894:   lt_cv_deplibs_check_method=pass_all
                   3895:   ;;
                   3896: 
                   3897: hpux10.20*|hpux11*)
                   3898:   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
                   3899:   lt_cv_file_magic_cmd=/usr/bin/file
                   3900:   lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   3901:   ;;
1.1       parser   3902: 
1.10      paf      3903: irix5* | irix6* | nonstopux*)
                   3904:   case $host_os in
                   3905:   irix5* | nonstopux*)
                   3906:     # this will be overridden with pass_all, but let us keep it just in case
                   3907:     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
                   3908:     ;;
                   3909:   *)
                   3910:     case $LD in
                   3911:     *-32|*"-32 ") libmagic=32-bit;;
                   3912:     *-n32|*"-n32 ") libmagic=N32;;
                   3913:     *-64|*"-64 ") libmagic=64-bit;;
                   3914:     *) libmagic=never-match;;
                   3915:     esac
                   3916:     # this will be overridden with pass_all, but let us keep it just in case
                   3917:     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
                   3918:     ;;
                   3919:   esac
                   3920:   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
                   3921:   lt_cv_deplibs_check_method=pass_all
                   3922:   ;;
1.1       parser   3923: 
1.10      paf      3924: # This must be Linux ELF.
                   3925: linux-gnu*)
                   3926:   case $host_cpu in
                   3927:   alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
                   3928:     lt_cv_deplibs_check_method=pass_all ;;
                   3929:   *)
                   3930:     # glibc up to 2.1.1 does not perform some relocations on ARM
                   3931:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
                   3932:   esac
                   3933:   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
                   3934:   ;;
                   3935: 
                   3936: netbsd*)
                   3937:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3938:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
                   3939:   else
                   3940:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
                   3941:   fi
                   3942:   ;;
                   3943: 
                   3944: newos6*)
                   3945:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   3946:   lt_cv_file_magic_cmd=/usr/bin/file
                   3947:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   3948:   ;;
1.1       parser   3949: 
1.10      paf      3950: openbsd*)
                   3951:   lt_cv_file_magic_cmd=/usr/bin/file
                   3952:   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   3953:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   3954:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
                   3955:   else
                   3956:     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1.1       parser   3957:   fi
                   3958:   ;;
                   3959: 
1.10      paf      3960: osf3* | osf4* | osf5*)
                   3961:   # this will be overridden with pass_all, but let us keep it just in case
                   3962:   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
                   3963:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3964:   lt_cv_deplibs_check_method=pass_all
                   3965:   ;;
                   3966: 
                   3967: sco3.2v5*)
                   3968:   lt_cv_deplibs_check_method=pass_all
                   3969:   ;;
                   3970: 
                   3971: solaris*)
                   3972:   lt_cv_deplibs_check_method=pass_all
                   3973:   lt_cv_file_magic_test_file=/lib/libc.so
                   3974:   ;;
                   3975: 
                   3976: sysv5uw[78]* | sysv4*uw2*)
                   3977:   lt_cv_deplibs_check_method=pass_all
                   3978:   ;;
                   3979: 
                   3980: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   3981:   case $host_vendor in
                   3982:   motorola)
                   3983:     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]'
                   3984:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   3985:     ;;
                   3986:   ncr)
                   3987:     lt_cv_deplibs_check_method=pass_all
                   3988:     ;;
                   3989:   sequent)
                   3990:     lt_cv_file_magic_cmd='/bin/file'
                   3991:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   3992:     ;;
                   3993:   sni)
                   3994:     lt_cv_file_magic_cmd='/bin/file'
                   3995:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   3996:     lt_cv_file_magic_test_file=/lib/libc.so
                   3997:     ;;
                   3998:   siemens)
                   3999:     lt_cv_deplibs_check_method=pass_all
                   4000:     ;;
                   4001:   esac
                   4002:   ;;
                   4003: esac
                   4004: 
                   4005: fi
                   4006: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   4007: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   4008: file_magic_cmd=$lt_cv_file_magic_cmd
                   4009: deplibs_check_method=$lt_cv_deplibs_check_method
                   4010: 
                   4011: 
                   4012: 
                   4013: 
                   4014: 
                   4015: 
                   4016: 
                   4017: 
                   4018: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   4019: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
                   4020: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
                   4021: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   4022:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.6       paf      4023: else
1.10      paf      4024: 
                   4025: # These are sane defaults that work on at least a few old systems.
                   4026: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   4027: 
                   4028: # Character class describing NM global symbol codes.
                   4029: symcode='[BCDEGRST]'
                   4030: 
                   4031: # Regexp to match symbols that can be accessed directly from C.
                   4032: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   4033: 
                   4034: # Transform the above into a raw symbol and a C symbol.
                   4035: symxfrm='\1 \2\3 \3'
                   4036: 
                   4037: # Transform an extracted symbol line into a proper C declaration
                   4038: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
                   4039: 
                   4040: # Transform an extracted symbol line into symbol name and symbol address
                   4041: 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'"
                   4042: 
                   4043: # Define system-specific variables.
                   4044: case $host_os in
                   4045: aix*)
                   4046:   symcode='[BCDT]'
                   4047:   ;;
                   4048: cygwin* | mingw* | pw32*)
                   4049:   symcode='[ABCDGISTW]'
                   4050:   ;;
                   4051: hpux*) # Its linker distinguishes data from code symbols
                   4052:   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   4053:   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'"
                   4054:   ;;
                   4055: irix* | nonstopux*)
                   4056:   symcode='[BCDEGRST]'
                   4057:   ;;
                   4058: osf*)
                   4059:   symcode='[BCDEGQRST]'
                   4060:   ;;
                   4061: solaris* | sysv5*)
                   4062:   symcode='[BDT]'
                   4063:   ;;
                   4064: sysv4)
                   4065:   symcode='[DFNSTU]'
                   4066:   ;;
                   4067: esac
                   4068: 
                   4069: # Handle CRLF in mingw tool chain
                   4070: opt_cr=
                   4071: case $host_os in
                   4072: mingw*)
                   4073:   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   4074:   ;;
                   4075: esac
                   4076: 
                   4077: # If we're using GNU nm, then use its standard symbol codes.
                   4078: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
                   4079:   symcode='[ABCDGISTW]'
                   4080: fi
                   4081: 
                   4082: # Try without a prefix undercore, then with it.
                   4083: for ac_symprfx in "" "_"; do
                   4084: 
                   4085:   # Write the raw and C identifiers.
                   4086: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[        ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
                   4087: 
                   4088:   # Check to see that the pipe works correctly.
                   4089:   pipe_works=no
                   4090:   rm -f conftest*
                   4091:   cat > conftest.$ac_ext <<EOF
                   4092: #ifdef __cplusplus
                   4093: extern "C" {
                   4094: #endif
                   4095: char nm_test_var;
                   4096: void nm_test_func(){}
                   4097: #ifdef __cplusplus
                   4098: }
                   4099: #endif
                   4100: int main(){nm_test_var='a';nm_test_func();return(0);}
                   4101: EOF
                   4102: 
                   4103:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4104:   (eval $ac_compile) 2>&5
                   4105:   ac_status=$?
                   4106:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4107:   (exit $ac_status); }; then
                   4108:     # Now try to grab the symbols.
                   4109:     nlist=conftest.nm
                   4110:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
                   4111:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
                   4112:   ac_status=$?
                   4113:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4114:   (exit $ac_status); } && test -s "$nlist"; then
                   4115:       # Try sorting and uniquifying the output.
                   4116:       if sort "$nlist" | uniq > "$nlist"T; then
                   4117:        mv -f "$nlist"T "$nlist"
                   4118:       else
                   4119:        rm -f "$nlist"T
                   4120:       fi
                   4121: 
                   4122:       # Make sure that we snagged all the symbols we need.
                   4123:       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
                   4124:        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
                   4125:          cat <<EOF > conftest.$ac_ext
                   4126: #ifdef __cplusplus
                   4127: extern "C" {
                   4128: #endif
                   4129: 
                   4130: EOF
                   4131:          # Now generate the symbol file.
                   4132:          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
                   4133: 
                   4134:          cat <<EOF >> conftest.$ac_ext
                   4135: #if defined (__STDC__) && __STDC__
                   4136: # define lt_ptr void *
                   4137: #else
                   4138: # define lt_ptr char *
                   4139: # define const
                   4140: #endif
                   4141: 
                   4142: /* The mapping between symbol names and symbols. */
                   4143: const struct {
                   4144:   const char *name;
                   4145:   lt_ptr address;
                   4146: }
                   4147: lt_preloaded_symbols[] =
                   4148: {
                   4149: EOF
                   4150:          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
                   4151:          cat <<\EOF >> conftest.$ac_ext
                   4152:   {0, (lt_ptr) 0}
                   4153: };
                   4154: 
                   4155: #ifdef __cplusplus
                   4156: }
                   4157: #endif
                   4158: EOF
                   4159:          # Now try linking the two files.
                   4160:          mv conftest.$ac_objext conftstm.$ac_objext
                   4161:          save_LIBS="$LIBS"
                   4162:          save_CFLAGS="$CFLAGS"
                   4163:          LIBS="conftstm.$ac_objext"
                   4164:          CFLAGS="$CFLAGS$no_builtin_flag"
                   4165:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4166:   (eval $ac_link) 2>&5
                   4167:   ac_status=$?
                   4168:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4169:   (exit $ac_status); } && test -s conftest$ac_exeext; then
                   4170:            pipe_works=yes
                   4171:          fi
                   4172:          LIBS="$save_LIBS"
                   4173:          CFLAGS="$save_CFLAGS"
                   4174:        else
                   4175:          echo "cannot find nm_test_func in $nlist" >&5
                   4176:        fi
                   4177:       else
                   4178:        echo "cannot find nm_test_var in $nlist" >&5
                   4179:       fi
                   4180:     else
                   4181:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
1.6       paf      4182:     fi
1.10      paf      4183:   else
                   4184:     echo "$progname: failed program was:" >&5
                   4185:     cat conftest.$ac_ext >&5
                   4186:   fi
                   4187:   rm -f conftest* conftst*
                   4188: 
                   4189:   # Do not use the global_symbol_pipe unless it works.
                   4190:   if test "$pipe_works" = yes; then
                   4191:     break
                   4192:   else
                   4193:     lt_cv_sys_global_symbol_pipe=
                   4194:   fi
                   4195: done
                   4196: 
1.6       paf      4197: fi
1.10      paf      4198: 
                   4199: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
                   4200: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   4201:   global_symbol_to_cdecl=
                   4202:   global_symbol_to_c_name_address=
                   4203: else
                   4204:   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
                   4205:   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
1.6       paf      4206: fi
1.10      paf      4207: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
                   4208: then
                   4209:   echo "$as_me:$LINENO: result: failed" >&5
                   4210: echo "${ECHO_T}failed" >&6
1.6       paf      4211: else
1.10      paf      4212:   echo "$as_me:$LINENO: result: ok" >&5
                   4213: echo "${ECHO_T}ok" >&6
1.6       paf      4214: fi
                   4215: 
1.15    ! paf      4216: ac_ext=c
        !          4217: ac_cpp='$CPP $CPPFLAGS'
        !          4218: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4219: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4220: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4221: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
        !          4222: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
        !          4223: # On Suns, sometimes $CPP names a directory.
        !          4224: if test -n "$CPP" && test -d "$CPP"; then
        !          4225:   CPP=
        !          4226: fi
        !          4227: if test -z "$CPP"; then
        !          4228:   if test "${ac_cv_prog_CPP+set}" = set; then
1.10      paf      4229:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.6       paf      4230: else
1.15    ! paf      4231:       # Double quotes because CPP needs to be expanded
        !          4232:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.10      paf      4233:     do
                   4234:       ac_preproc_ok=false
1.15    ! paf      4235: for ac_c_preproc_warn_flag in '' yes
1.10      paf      4236: do
                   4237:   # Use a header file that comes with gcc, so configuring glibc
                   4238:   # with a fresh cross-compiler works.
                   4239:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4240:   # <limits.h> exists even on freestanding compilers.
                   4241:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4242:   # not just through cpp. "Syntax error" is here to catch this case.
                   4243:   cat >conftest.$ac_ext <<_ACEOF
                   4244: #line $LINENO "configure"
                   4245: /* confdefs.h.  */
                   4246: _ACEOF
                   4247: cat confdefs.h >>conftest.$ac_ext
                   4248: cat >>conftest.$ac_ext <<_ACEOF
                   4249: /* end confdefs.h.  */
                   4250: #ifdef __STDC__
                   4251: # include <limits.h>
                   4252: #else
                   4253: # include <assert.h>
                   4254: #endif
                   4255:                      Syntax error
                   4256: _ACEOF
                   4257: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4258:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4259:   ac_status=$?
                   4260:   grep -v '^ *+' conftest.er1 >conftest.err
                   4261:   rm -f conftest.er1
                   4262:   cat conftest.err >&5
                   4263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4264:   (exit $ac_status); } >/dev/null; then
                   4265:   if test -s conftest.err; then
1.15    ! paf      4266:     ac_cpp_err=$ac_c_preproc_warn_flag
1.10      paf      4267:   else
                   4268:     ac_cpp_err=
                   4269:   fi
1.6       paf      4270: else
1.10      paf      4271:   ac_cpp_err=yes
1.6       paf      4272: fi
1.10      paf      4273: if test -z "$ac_cpp_err"; then
                   4274:   :
                   4275: else
                   4276:   echo "$as_me: failed program was:" >&5
                   4277: sed 's/^/| /' conftest.$ac_ext >&5
                   4278: 
                   4279:   # Broken: fails on valid input.
                   4280: continue
1.6       paf      4281: fi
1.10      paf      4282: rm -f conftest.err conftest.$ac_ext
                   4283: 
                   4284:   # OK, works on sane cases.  Now check whether non-existent headers
                   4285:   # can be detected and how.
                   4286:   cat >conftest.$ac_ext <<_ACEOF
                   4287: #line $LINENO "configure"
                   4288: /* confdefs.h.  */
                   4289: _ACEOF
                   4290: cat confdefs.h >>conftest.$ac_ext
                   4291: cat >>conftest.$ac_ext <<_ACEOF
                   4292: /* end confdefs.h.  */
                   4293: #include <ac_nonexistent.h>
                   4294: _ACEOF
                   4295: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4296:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4297:   ac_status=$?
                   4298:   grep -v '^ *+' conftest.er1 >conftest.err
                   4299:   rm -f conftest.er1
                   4300:   cat conftest.err >&5
                   4301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4302:   (exit $ac_status); } >/dev/null; then
                   4303:   if test -s conftest.err; then
1.15    ! paf      4304:     ac_cpp_err=$ac_c_preproc_warn_flag
1.10      paf      4305:   else
                   4306:     ac_cpp_err=
                   4307:   fi
1.6       paf      4308: else
1.10      paf      4309:   ac_cpp_err=yes
1.6       paf      4310: fi
1.10      paf      4311: if test -z "$ac_cpp_err"; then
                   4312:   # Broken: success on invalid input.
                   4313: continue
                   4314: else
                   4315:   echo "$as_me: failed program was:" >&5
                   4316: sed 's/^/| /' conftest.$ac_ext >&5
1.6       paf      4317: 
1.10      paf      4318:   # Passes both tests.
                   4319: ac_preproc_ok=:
                   4320: break
1.6       paf      4321: fi
1.10      paf      4322: rm -f conftest.err conftest.$ac_ext
                   4323: 
                   4324: done
                   4325: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4326: rm -f conftest.err conftest.$ac_ext
                   4327: if $ac_preproc_ok; then
                   4328:   break
1.6       paf      4329: fi
                   4330: 
1.10      paf      4331:     done
1.15    ! paf      4332:     ac_cv_prog_CPP=$CPP
1.10      paf      4333: 
                   4334: fi
1.15    ! paf      4335:   CPP=$ac_cv_prog_CPP
1.6       paf      4336: else
1.15    ! paf      4337:   ac_cv_prog_CPP=$CPP
1.10      paf      4338: fi
1.15    ! paf      4339: echo "$as_me:$LINENO: result: $CPP" >&5
        !          4340: echo "${ECHO_T}$CPP" >&6
1.10      paf      4341: ac_preproc_ok=false
1.15    ! paf      4342: for ac_c_preproc_warn_flag in '' yes
1.10      paf      4343: do
                   4344:   # Use a header file that comes with gcc, so configuring glibc
                   4345:   # with a fresh cross-compiler works.
                   4346:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4347:   # <limits.h> exists even on freestanding compilers.
                   4348:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4349:   # not just through cpp. "Syntax error" is here to catch this case.
                   4350:   cat >conftest.$ac_ext <<_ACEOF
                   4351: #line $LINENO "configure"
                   4352: /* confdefs.h.  */
                   4353: _ACEOF
                   4354: cat confdefs.h >>conftest.$ac_ext
                   4355: cat >>conftest.$ac_ext <<_ACEOF
                   4356: /* end confdefs.h.  */
                   4357: #ifdef __STDC__
                   4358: # include <limits.h>
                   4359: #else
                   4360: # include <assert.h>
                   4361: #endif
                   4362:                      Syntax error
                   4363: _ACEOF
                   4364: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4365:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4366:   ac_status=$?
                   4367:   grep -v '^ *+' conftest.er1 >conftest.err
                   4368:   rm -f conftest.er1
                   4369:   cat conftest.err >&5
                   4370:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4371:   (exit $ac_status); } >/dev/null; then
                   4372:   if test -s conftest.err; then
1.15    ! paf      4373:     ac_cpp_err=$ac_c_preproc_warn_flag
1.10      paf      4374:   else
                   4375:     ac_cpp_err=
                   4376:   fi
1.6       paf      4377: else
1.10      paf      4378:   ac_cpp_err=yes
1.6       paf      4379: fi
1.10      paf      4380: if test -z "$ac_cpp_err"; then
                   4381:   :
1.6       paf      4382: else
1.10      paf      4383:   echo "$as_me: failed program was:" >&5
                   4384: sed 's/^/| /' conftest.$ac_ext >&5
                   4385: 
                   4386:   # Broken: fails on valid input.
                   4387: continue
1.6       paf      4388: fi
1.10      paf      4389: rm -f conftest.err conftest.$ac_ext
1.6       paf      4390: 
1.10      paf      4391:   # OK, works on sane cases.  Now check whether non-existent headers
                   4392:   # can be detected and how.
                   4393:   cat >conftest.$ac_ext <<_ACEOF
                   4394: #line $LINENO "configure"
                   4395: /* confdefs.h.  */
                   4396: _ACEOF
                   4397: cat confdefs.h >>conftest.$ac_ext
                   4398: cat >>conftest.$ac_ext <<_ACEOF
                   4399: /* end confdefs.h.  */
                   4400: #include <ac_nonexistent.h>
                   4401: _ACEOF
                   4402: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4403:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4404:   ac_status=$?
                   4405:   grep -v '^ *+' conftest.er1 >conftest.err
                   4406:   rm -f conftest.er1
                   4407:   cat conftest.err >&5
                   4408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4409:   (exit $ac_status); } >/dev/null; then
                   4410:   if test -s conftest.err; then
1.15    ! paf      4411:     ac_cpp_err=$ac_c_preproc_warn_flag
1.10      paf      4412:   else
                   4413:     ac_cpp_err=
                   4414:   fi
1.6       paf      4415: else
1.10      paf      4416:   ac_cpp_err=yes
1.6       paf      4417: fi
1.10      paf      4418: if test -z "$ac_cpp_err"; then
                   4419:   # Broken: success on invalid input.
                   4420: continue
1.6       paf      4421: else
1.10      paf      4422:   echo "$as_me: failed program was:" >&5
                   4423: sed 's/^/| /' conftest.$ac_ext >&5
                   4424: 
                   4425:   # Passes both tests.
                   4426: ac_preproc_ok=:
                   4427: break
1.6       paf      4428: fi
1.10      paf      4429: rm -f conftest.err conftest.$ac_ext
1.6       paf      4430: 
1.10      paf      4431: done
                   4432: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4433: rm -f conftest.err conftest.$ac_ext
                   4434: if $ac_preproc_ok; then
                   4435:   :
1.6       paf      4436: else
1.15    ! paf      4437:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.10      paf      4438: See \`config.log' for more details." >&5
1.15    ! paf      4439: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.10      paf      4440: See \`config.log' for more details." >&2;}
                   4441:    { (exit 1); exit 1; }; }
1.6       paf      4442: fi
                   4443: 
1.15    ! paf      4444: ac_ext=c
        !          4445: ac_cpp='$CPP $CPPFLAGS'
        !          4446: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4447: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4448: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      4449: 
                   4450: 
                   4451: echo "$as_me:$LINENO: checking for egrep" >&5
                   4452: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4453: if test "${ac_cv_prog_egrep+set}" = set; then
                   4454:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4455: else
                   4456:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4457:     then ac_cv_prog_egrep='grep -E'
                   4458:     else ac_cv_prog_egrep='egrep'
1.6       paf      4459:     fi
                   4460: fi
1.10      paf      4461: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4462: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4463:  EGREP=$ac_cv_prog_egrep
                   4464: 
                   4465: 
                   4466: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4467: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4468: if test "${ac_cv_header_stdc+set}" = set; then
                   4469:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4470: else
                   4471:   cat >conftest.$ac_ext <<_ACEOF
                   4472: #line $LINENO "configure"
                   4473: /* confdefs.h.  */
                   4474: _ACEOF
                   4475: cat confdefs.h >>conftest.$ac_ext
                   4476: cat >>conftest.$ac_ext <<_ACEOF
                   4477: /* end confdefs.h.  */
                   4478: #include <stdlib.h>
                   4479: #include <stdarg.h>
                   4480: #include <string.h>
                   4481: #include <float.h>
                   4482: 
                   4483: int
                   4484: main ()
                   4485: {
                   4486: 
                   4487:   ;
                   4488:   return 0;
                   4489: }
                   4490: _ACEOF
                   4491: rm -f conftest.$ac_objext
                   4492: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4493:   (eval $ac_compile) 2>&5
                   4494:   ac_status=$?
                   4495:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4496:   (exit $ac_status); } &&
                   4497:          { ac_try='test -s conftest.$ac_objext'
                   4498:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4499:   (eval $ac_try) 2>&5
                   4500:   ac_status=$?
                   4501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4502:   (exit $ac_status); }; }; then
                   4503:   ac_cv_header_stdc=yes
1.6       paf      4504: else
1.10      paf      4505:   echo "$as_me: failed program was:" >&5
                   4506: sed 's/^/| /' conftest.$ac_ext >&5
                   4507: 
                   4508: ac_cv_header_stdc=no
1.6       paf      4509: fi
1.10      paf      4510: rm -f conftest.$ac_objext conftest.$ac_ext
1.6       paf      4511: 
1.10      paf      4512: if test $ac_cv_header_stdc = yes; then
                   4513:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4514:   cat >conftest.$ac_ext <<_ACEOF
                   4515: #line $LINENO "configure"
                   4516: /* confdefs.h.  */
                   4517: _ACEOF
                   4518: cat confdefs.h >>conftest.$ac_ext
                   4519: cat >>conftest.$ac_ext <<_ACEOF
                   4520: /* end confdefs.h.  */
                   4521: #include <string.h>
1.6       paf      4522: 
1.10      paf      4523: _ACEOF
                   4524: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4525:   $EGREP "memchr" >/dev/null 2>&1; then
                   4526:   :
1.6       paf      4527: else
1.10      paf      4528:   ac_cv_header_stdc=no
1.6       paf      4529: fi
1.10      paf      4530: rm -f conftest*
                   4531: 
1.6       paf      4532: fi
1.10      paf      4533: 
                   4534: if test $ac_cv_header_stdc = yes; then
                   4535:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4536:   cat >conftest.$ac_ext <<_ACEOF
                   4537: #line $LINENO "configure"
                   4538: /* confdefs.h.  */
                   4539: _ACEOF
                   4540: cat confdefs.h >>conftest.$ac_ext
                   4541: cat >>conftest.$ac_ext <<_ACEOF
                   4542: /* end confdefs.h.  */
                   4543: #include <stdlib.h>
                   4544: 
                   4545: _ACEOF
                   4546: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4547:   $EGREP "free" >/dev/null 2>&1; then
                   4548:   :
1.6       paf      4549: else
1.10      paf      4550:   ac_cv_header_stdc=no
1.6       paf      4551: fi
1.10      paf      4552: rm -f conftest*
1.6       paf      4553: 
                   4554: fi
                   4555: 
1.10      paf      4556: if test $ac_cv_header_stdc = yes; then
                   4557:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4558:   if test "$cross_compiling" = yes; then
                   4559:   :
                   4560: else
                   4561:   cat >conftest.$ac_ext <<_ACEOF
                   4562: #line $LINENO "configure"
                   4563: /* confdefs.h.  */
                   4564: _ACEOF
                   4565: cat confdefs.h >>conftest.$ac_ext
                   4566: cat >>conftest.$ac_ext <<_ACEOF
                   4567: /* end confdefs.h.  */
                   4568: #include <ctype.h>
                   4569: #if ((' ' & 0x0FF) == 0x020)
                   4570: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4571: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4572: #else
                   4573: # define ISLOWER(c) \
                   4574:                    (('a' <= (c) && (c) <= 'i') \
                   4575:                      || ('j' <= (c) && (c) <= 'r') \
                   4576:                      || ('s' <= (c) && (c) <= 'z'))
                   4577: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4578: #endif
1.1       parser   4579: 
1.10      paf      4580: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4581: int
                   4582: main ()
                   4583: {
                   4584:   int i;
                   4585:   for (i = 0; i < 256; i++)
                   4586:     if (XOR (islower (i), ISLOWER (i))
                   4587:         || toupper (i) != TOUPPER (i))
                   4588:       exit(2);
                   4589:   exit (0);
                   4590: }
                   4591: _ACEOF
                   4592: rm -f conftest$ac_exeext
                   4593: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4594:   (eval $ac_link) 2>&5
                   4595:   ac_status=$?
                   4596:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4597:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4598:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4599:   (eval $ac_try) 2>&5
                   4600:   ac_status=$?
                   4601:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4602:   (exit $ac_status); }; }; then
1.1       parser   4603:   :
                   4604: else
1.10      paf      4605:   echo "$as_me: program exited with status $ac_status" >&5
                   4606: echo "$as_me: failed program was:" >&5
                   4607: sed 's/^/| /' conftest.$ac_ext >&5
                   4608: 
                   4609: ( exit $ac_status )
                   4610: ac_cv_header_stdc=no
                   4611: fi
                   4612: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   4613: fi
                   4614: fi
1.1       parser   4615: fi
1.10      paf      4616: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4617: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4618: if test $ac_cv_header_stdc = yes; then
                   4619: 
                   4620: cat >>confdefs.h <<\_ACEOF
                   4621: #define STDC_HEADERS 1
                   4622: _ACEOF
1.1       parser   4623: 
1.10      paf      4624: fi
1.1       parser   4625: 
1.10      paf      4626: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.1       parser   4627: 
                   4628: 
                   4629: 
                   4630: 
                   4631: 
                   4632: 
                   4633: 
                   4634: 
                   4635: 
1.10      paf      4636: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4637:                   inttypes.h stdint.h unistd.h
                   4638: do
                   4639: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4640: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4641: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4642: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4643:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4644: else
                   4645:   cat >conftest.$ac_ext <<_ACEOF
                   4646: #line $LINENO "configure"
                   4647: /* confdefs.h.  */
                   4648: _ACEOF
                   4649: cat confdefs.h >>conftest.$ac_ext
                   4650: cat >>conftest.$ac_ext <<_ACEOF
                   4651: /* end confdefs.h.  */
                   4652: $ac_includes_default
                   4653: 
                   4654: #include <$ac_header>
                   4655: _ACEOF
                   4656: rm -f conftest.$ac_objext
                   4657: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4658:   (eval $ac_compile) 2>&5
                   4659:   ac_status=$?
                   4660:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4661:   (exit $ac_status); } &&
                   4662:          { ac_try='test -s conftest.$ac_objext'
                   4663:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4664:   (eval $ac_try) 2>&5
                   4665:   ac_status=$?
                   4666:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4667:   (exit $ac_status); }; }; then
                   4668:   eval "$as_ac_Header=yes"
                   4669: else
                   4670:   echo "$as_me: failed program was:" >&5
                   4671: sed 's/^/| /' conftest.$ac_ext >&5
                   4672: 
                   4673: eval "$as_ac_Header=no"
                   4674: fi
                   4675: rm -f conftest.$ac_objext conftest.$ac_ext
                   4676: fi
                   4677: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4678: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4679: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4680:   cat >>confdefs.h <<_ACEOF
                   4681: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4682: _ACEOF
1.1       parser   4683: 
1.10      paf      4684: fi
                   4685: 
                   4686: done
                   4687: 
                   4688: 
                   4689: 
                   4690: for ac_header in dlfcn.h
                   4691: do
                   4692: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4693: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4694:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4695: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4696: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4697:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4698: fi
                   4699: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4700: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4701: else
                   4702:   # Is the header compilable?
                   4703: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   4704: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   4705: cat >conftest.$ac_ext <<_ACEOF
                   4706: #line $LINENO "configure"
                   4707: /* confdefs.h.  */
                   4708: _ACEOF
                   4709: cat confdefs.h >>conftest.$ac_ext
                   4710: cat >>conftest.$ac_ext <<_ACEOF
                   4711: /* end confdefs.h.  */
                   4712: $ac_includes_default
                   4713: #include <$ac_header>
                   4714: _ACEOF
                   4715: rm -f conftest.$ac_objext
                   4716: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4717:   (eval $ac_compile) 2>&5
                   4718:   ac_status=$?
                   4719:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4720:   (exit $ac_status); } &&
                   4721:          { ac_try='test -s conftest.$ac_objext'
                   4722:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4723:   (eval $ac_try) 2>&5
                   4724:   ac_status=$?
                   4725:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4726:   (exit $ac_status); }; }; then
                   4727:   ac_header_compiler=yes
                   4728: else
                   4729:   echo "$as_me: failed program was:" >&5
                   4730: sed 's/^/| /' conftest.$ac_ext >&5
                   4731: 
                   4732: ac_header_compiler=no
                   4733: fi
                   4734: rm -f conftest.$ac_objext conftest.$ac_ext
                   4735: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   4736: echo "${ECHO_T}$ac_header_compiler" >&6
                   4737: 
                   4738: # Is the header present?
                   4739: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   4740: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   4741: cat >conftest.$ac_ext <<_ACEOF
                   4742: #line $LINENO "configure"
                   4743: /* confdefs.h.  */
                   4744: _ACEOF
                   4745: cat confdefs.h >>conftest.$ac_ext
                   4746: cat >>conftest.$ac_ext <<_ACEOF
                   4747: /* end confdefs.h.  */
                   4748: #include <$ac_header>
                   4749: _ACEOF
                   4750: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4751:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4752:   ac_status=$?
                   4753:   grep -v '^ *+' conftest.er1 >conftest.err
                   4754:   rm -f conftest.er1
                   4755:   cat conftest.err >&5
                   4756:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4757:   (exit $ac_status); } >/dev/null; then
                   4758:   if test -s conftest.err; then
1.15    ! paf      4759:     ac_cpp_err=$ac_c_preproc_warn_flag
1.10      paf      4760:   else
                   4761:     ac_cpp_err=
                   4762:   fi
                   4763: else
                   4764:   ac_cpp_err=yes
                   4765: fi
                   4766: if test -z "$ac_cpp_err"; then
                   4767:   ac_header_preproc=yes
                   4768: else
                   4769:   echo "$as_me: failed program was:" >&5
                   4770: sed 's/^/| /' conftest.$ac_ext >&5
                   4771: 
                   4772:   ac_header_preproc=no
                   4773: fi
                   4774: rm -f conftest.err conftest.$ac_ext
                   4775: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   4776: echo "${ECHO_T}$ac_header_preproc" >&6
                   4777: 
                   4778: # So?  What about this header?
                   4779: case $ac_header_compiler:$ac_header_preproc in
                   4780:   yes:no )
                   4781:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   4782: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   4783:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4784: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   4785:     (
                   4786:       cat <<\_ASBOX
                   4787: ## ------------------------------------ ##
                   4788: ## Report this to bug-autoconf@gnu.org. ##
                   4789: ## ------------------------------------ ##
                   4790: _ASBOX
                   4791:     ) |
                   4792:       sed "s/^/$as_me: WARNING:     /" >&2
                   4793:     ;;
                   4794:   no:yes )
                   4795:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   4796: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   4797:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   4798: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   4799:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4800: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   4801:     (
                   4802:       cat <<\_ASBOX
                   4803: ## ------------------------------------ ##
                   4804: ## Report this to bug-autoconf@gnu.org. ##
                   4805: ## ------------------------------------ ##
                   4806: _ASBOX
                   4807:     ) |
                   4808:       sed "s/^/$as_me: WARNING:     /" >&2
                   4809:     ;;
                   4810: esac
                   4811: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4812: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4813: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4814:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   4815: else
1.10      paf      4816:   eval "$as_ac_Header=$ac_header_preproc"
                   4817: fi
                   4818: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4819: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4820: 
                   4821: fi
                   4822: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4823:   cat >>confdefs.h <<_ACEOF
                   4824: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4825: _ACEOF
                   4826: 
                   4827: fi
                   4828: 
                   4829: done
                   4830: 
                   4831: 
                   4832: 
                   4833: 
                   4834: 
                   4835: 
                   4836: # Only perform the check for file, if the check method requires it
                   4837: case $deplibs_check_method in
                   4838: file_magic*)
                   4839:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   4840:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   4841: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   4842: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4843:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4844: else
                   4845:   case $MAGIC_CMD in
                   4846:   /*)
                   4847:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4848:   ;;
                   4849:   ?:/*)
                   4850:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4851:   ;;
                   4852:   *)
                   4853:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4854:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4855:   ac_dummy="/usr/bin:$PATH"
                   4856:   for ac_dir in $ac_dummy; do
                   4857:     test -z "$ac_dir" && ac_dir=.
                   4858:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   4859:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   4860:       if test -n "$file_magic_test_file"; then
                   4861:        case $deplibs_check_method in
                   4862:        "file_magic "*)
                   4863:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4864:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4865:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4866:            egrep "$file_magic_regex" > /dev/null; then
                   4867:            :
                   4868:          else
                   4869:            cat <<EOF 1>&2
                   4870: 
                   4871: *** Warning: the command libtool uses to detect shared libraries,
                   4872: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4873: *** The result is that libtool may fail to recognize shared libraries
                   4874: *** as such.  This will affect the creation of libtool libraries that
                   4875: *** depend on shared libraries, but programs linked with such libtool
                   4876: *** libraries will work regardless of this problem.  Nevertheless, you
                   4877: *** may want to report the problem to your system manager and/or to
                   4878: *** bug-libtool@gnu.org
                   4879: 
                   4880: EOF
                   4881:          fi ;;
                   4882:        esac
                   4883:       fi
                   4884:       break
                   4885:     fi
                   4886:   done
                   4887:   IFS="$ac_save_ifs"
                   4888:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4889:   ;;
                   4890: esac
                   4891: fi
                   4892: 
                   4893: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4894: if test -n "$MAGIC_CMD"; then
                   4895:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   4896: echo "${ECHO_T}$MAGIC_CMD" >&6
                   4897: else
                   4898:   echo "$as_me:$LINENO: result: no" >&5
                   4899: echo "${ECHO_T}no" >&6
                   4900: fi
                   4901: 
                   4902: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   4903:   if test -n "$ac_tool_prefix"; then
                   4904:     echo "$as_me:$LINENO: checking for file" >&5
                   4905: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   4906: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4907:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4908: else
                   4909:   case $MAGIC_CMD in
                   4910:   /*)
                   4911:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4912:   ;;
                   4913:   ?:/*)
                   4914:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4915:   ;;
                   4916:   *)
                   4917:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4918:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4919:   ac_dummy="/usr/bin:$PATH"
                   4920:   for ac_dir in $ac_dummy; do
                   4921:     test -z "$ac_dir" && ac_dir=.
                   4922:     if test -f $ac_dir/file; then
                   4923:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   4924:       if test -n "$file_magic_test_file"; then
                   4925:        case $deplibs_check_method in
                   4926:        "file_magic "*)
                   4927:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4928:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4929:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4930:            egrep "$file_magic_regex" > /dev/null; then
                   4931:            :
                   4932:          else
                   4933:            cat <<EOF 1>&2
                   4934: 
                   4935: *** Warning: the command libtool uses to detect shared libraries,
                   4936: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4937: *** The result is that libtool may fail to recognize shared libraries
                   4938: *** as such.  This will affect the creation of libtool libraries that
                   4939: *** depend on shared libraries, but programs linked with such libtool
                   4940: *** libraries will work regardless of this problem.  Nevertheless, you
                   4941: *** may want to report the problem to your system manager and/or to
                   4942: *** bug-libtool@gnu.org
                   4943: 
1.1       parser   4944: EOF
1.10      paf      4945:          fi ;;
                   4946:        esac
                   4947:       fi
                   4948:       break
                   4949:     fi
                   4950:   done
                   4951:   IFS="$ac_save_ifs"
                   4952:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4953:   ;;
                   4954: esac
                   4955: fi
                   4956: 
                   4957: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4958: if test -n "$MAGIC_CMD"; then
                   4959:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   4960: echo "${ECHO_T}$MAGIC_CMD" >&6
1.1       parser   4961: else
1.10      paf      4962:   echo "$as_me:$LINENO: result: no" >&5
                   4963: echo "${ECHO_T}no" >&6
1.1       parser   4964: fi
1.10      paf      4965: 
                   4966:   else
                   4967:     MAGIC_CMD=:
                   4968:   fi
1.1       parser   4969: fi
                   4970: 
1.10      paf      4971:   fi
                   4972:   ;;
                   4973: esac
1.1       parser   4974: 
1.10      paf      4975: if test -n "$ac_tool_prefix"; then
                   4976:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   4977: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   4978: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4979: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4980: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   4981:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4982: else
                   4983:   if test -n "$RANLIB"; then
                   4984:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   4985: else
                   4986: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4987: for as_dir in $PATH
1.1       parser   4988: do
1.10      paf      4989:   IFS=$as_save_IFS
                   4990:   test -z "$as_dir" && as_dir=.
                   4991:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4992:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4993:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   4994:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4995:     break 2
                   4996:   fi
                   4997: done
                   4998: done
                   4999: 
                   5000: fi
                   5001: fi
                   5002: RANLIB=$ac_cv_prog_RANLIB
                   5003: if test -n "$RANLIB"; then
                   5004:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5005: echo "${ECHO_T}$RANLIB" >&6
                   5006: else
                   5007:   echo "$as_me:$LINENO: result: no" >&5
                   5008: echo "${ECHO_T}no" >&6
                   5009: fi
                   5010: 
                   5011: fi
                   5012: if test -z "$ac_cv_prog_RANLIB"; then
                   5013:   ac_ct_RANLIB=$RANLIB
                   5014:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5015: set dummy ranlib; ac_word=$2
                   5016: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5017: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5018: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5019:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   5020: else
1.10      paf      5021:   if test -n "$ac_ct_RANLIB"; then
                   5022:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.1       parser   5023: else
1.10      paf      5024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5025: for as_dir in $PATH
                   5026: do
                   5027:   IFS=$as_save_IFS
                   5028:   test -z "$as_dir" && as_dir=.
                   5029:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5030:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5031:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5032:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5033:     break 2
                   5034:   fi
                   5035: done
                   5036: done
                   5037: 
                   5038:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5039: fi
1.1       parser   5040: fi
1.10      paf      5041: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5042: if test -n "$ac_ct_RANLIB"; then
                   5043:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5044: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5045: else
                   5046:   echo "$as_me:$LINENO: result: no" >&5
                   5047: echo "${ECHO_T}no" >&6
1.1       parser   5048: fi
1.10      paf      5049: 
                   5050:   RANLIB=$ac_ct_RANLIB
1.1       parser   5051: else
1.10      paf      5052:   RANLIB="$ac_cv_prog_RANLIB"
1.1       parser   5053: fi
1.10      paf      5054: 
                   5055: if test -n "$ac_tool_prefix"; then
                   5056:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5057: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5058: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5059: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5060: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5061:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5062: else
                   5063:   if test -n "$STRIP"; then
                   5064:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5065: else
                   5066: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5067: for as_dir in $PATH
                   5068: do
                   5069:   IFS=$as_save_IFS
                   5070:   test -z "$as_dir" && as_dir=.
                   5071:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5072:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5073:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5074:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5075:     break 2
                   5076:   fi
                   5077: done
1.1       parser   5078: done
                   5079: 
1.10      paf      5080: fi
                   5081: fi
                   5082: STRIP=$ac_cv_prog_STRIP
                   5083: if test -n "$STRIP"; then
                   5084:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5085: echo "${ECHO_T}$STRIP" >&6
                   5086: else
                   5087:   echo "$as_me:$LINENO: result: no" >&5
                   5088: echo "${ECHO_T}no" >&6
                   5089: fi
                   5090: 
                   5091: fi
                   5092: if test -z "$ac_cv_prog_STRIP"; then
                   5093:   ac_ct_STRIP=$STRIP
                   5094:   # Extract the first word of "strip", so it can be a program name with args.
                   5095: set dummy strip; ac_word=$2
                   5096: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5097: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5098: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5099:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5100: else
                   5101:   if test -n "$ac_ct_STRIP"; then
                   5102:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5103: else
                   5104: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5105: for as_dir in $PATH
                   5106: do
                   5107:   IFS=$as_save_IFS
                   5108:   test -z "$as_dir" && as_dir=.
                   5109:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5110:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5111:     ac_cv_prog_ac_ct_STRIP="strip"
                   5112:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5113:     break 2
                   5114:   fi
                   5115: done
                   5116: done
1.1       parser   5117: 
1.10      paf      5118:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5119: fi
                   5120: fi
                   5121: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5122: if test -n "$ac_ct_STRIP"; then
                   5123:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5124: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5125: else
                   5126:   echo "$as_me:$LINENO: result: no" >&5
                   5127: echo "${ECHO_T}no" >&6
                   5128: fi
1.1       parser   5129: 
1.10      paf      5130:   STRIP=$ac_ct_STRIP
1.1       parser   5131: else
1.10      paf      5132:   STRIP="$ac_cv_prog_STRIP"
                   5133: fi
                   5134: 
                   5135: 
                   5136: enable_dlopen=no
                   5137: enable_win32_dll=no
                   5138: 
                   5139: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   5140: if test "${enable_libtool_lock+set}" = set; then
                   5141:   enableval="$enable_libtool_lock"
                   5142: 
                   5143: fi;
                   5144: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   5145: 
                   5146: # Some flags need to be propagated to the compiler or linker for good
                   5147: # libtool support.
                   5148: case $host in
                   5149: *-*-irix6*)
                   5150:   # Find out which ABI we are using.
1.15    ! paf      5151:   echo '#line 5151 "configure"' > conftest.$ac_ext
1.10      paf      5152:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5153:   (eval $ac_compile) 2>&5
                   5154:   ac_status=$?
                   5155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5156:   (exit $ac_status); }; then
                   5157:     case `/usr/bin/file conftest.$ac_objext` in
                   5158:     *32-bit*)
                   5159:       LD="${LD-ld} -32"
                   5160:       ;;
                   5161:     *N32*)
                   5162:       LD="${LD-ld} -n32"
                   5163:       ;;
                   5164:     *64-bit*)
                   5165:       LD="${LD-ld} -64"
                   5166:       ;;
                   5167:     esac
                   5168:   fi
1.1       parser   5169:   rm -rf conftest*
1.10      paf      5170:   ;;
                   5171: 
                   5172: *-*-sco3.2v5*)
                   5173:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5174:   SAVE_CFLAGS="$CFLAGS"
                   5175:   CFLAGS="$CFLAGS -belf"
                   5176:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   5177: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   5178: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   5179:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   5180: else
                   5181: 
1.10      paf      5182: 
                   5183:      ac_ext=c
                   5184: ac_cpp='$CPP $CPPFLAGS'
                   5185: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5186: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5187: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5188: 
                   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_cc_needs_belf=yes
1.1       parser   5218: else
1.10      paf      5219:   echo "$as_me: failed program was:" >&5
                   5220: sed 's/^/| /' conftest.$ac_ext >&5
                   5221: 
                   5222: lt_cv_cc_needs_belf=no
1.1       parser   5223: fi
1.10      paf      5224: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.15    ! paf      5225:      ac_ext=c
        !          5226: ac_cpp='$CPP $CPPFLAGS'
        !          5227: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5228: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5229: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   5230: 
                   5231: fi
1.10      paf      5232: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   5233: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   5234:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   5235:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   5236:     CFLAGS="$SAVE_CFLAGS"
                   5237:   fi
                   5238:   ;;
                   5239: 
                   5240: 
                   5241: esac
1.1       parser   5242: 
1.10      paf      5243: # Sed substitution that helps us do robust quoting.  It backslashifies
                   5244: # metacharacters that are still active within double-quoted strings.
                   5245: Xsed='sed -e s/^X//'
                   5246: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
                   5247: 
                   5248: # Same as above, but do not quote variable references.
                   5249: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
                   5250: 
                   5251: # Sed substitution to delay expansion of an escaped shell variable in a
                   5252: # double_quote_subst'ed string.
                   5253: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   5254: 
                   5255: # Constants:
                   5256: rm="rm -f"
                   5257: 
                   5258: # Global variables:
                   5259: default_ofile=libtool
                   5260: can_build_shared=yes
                   5261: 
                   5262: # All known linkers require a `.a' archive for static linking (except M$VC,
                   5263: # which needs '.lib').
                   5264: libext=a
                   5265: ltmain="$ac_aux_dir/ltmain.sh"
                   5266: ofile="$default_ofile"
                   5267: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   5268: need_locks="$enable_libtool_lock"
                   5269: 
                   5270: old_CC="$CC"
                   5271: old_CFLAGS="$CFLAGS"
                   5272: 
                   5273: # Set sane defaults for various variables
                   5274: test -z "$AR" && AR=ar
                   5275: test -z "$AR_FLAGS" && AR_FLAGS=cru
                   5276: test -z "$AS" && AS=as
                   5277: test -z "$CC" && CC=cc
                   5278: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5279: test -z "$LD" && LD=ld
                   5280: test -z "$LN_S" && LN_S="ln -s"
                   5281: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   5282: test -z "$NM" && NM=nm
                   5283: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5284: test -z "$RANLIB" && RANLIB=:
                   5285: test -z "$STRIP" && STRIP=:
                   5286: test -z "$ac_objext" && ac_objext=o
                   5287: 
                   5288: if test x"$host" != x"$build"; then
                   5289:   ac_tool_prefix=${host_alias}-
1.1       parser   5290: else
1.10      paf      5291:   ac_tool_prefix=
1.1       parser   5292: fi
                   5293: 
1.10      paf      5294: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
                   5295: case $host_os in
                   5296: linux-gnu*) ;;
                   5297: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
                   5298: esac
                   5299: 
                   5300: case $host_os in
                   5301: aix3*)
                   5302:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   5303:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   5304:   # vanish in a puff of smoke.
                   5305:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   5306:     COLLECT_NAMES=
                   5307:     export COLLECT_NAMES
                   5308:   fi
                   5309:   ;;
                   5310: esac
                   5311: 
                   5312: # Determine commands to create old-style static archives.
                   5313: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
                   5314: old_postinstall_cmds='chmod 644 $oldlib'
                   5315: old_postuninstall_cmds=
                   5316: 
                   5317: if test -n "$RANLIB"; then
                   5318:   case $host_os in
                   5319:   openbsd*)
                   5320:     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
                   5321:     ;;
                   5322:   *)
                   5323:     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
                   5324:     ;;
                   5325:   esac
                   5326:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1.1       parser   5327: fi
                   5328: 
1.10      paf      5329: # Allow CC to be a program name with arguments.
                   5330: set dummy $CC
                   5331: compiler="$2"
                   5332: 
                   5333: echo "$as_me:$LINENO: checking for objdir" >&5
                   5334: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   5335: rm -f .libs 2>/dev/null
                   5336: mkdir .libs 2>/dev/null
                   5337: if test -d .libs; then
                   5338:   objdir=.libs
                   5339: else
                   5340:   # MS-DOS does not allow filenames that begin with a dot.
                   5341:   objdir=_libs
                   5342: fi
                   5343: rmdir .libs 2>/dev/null
                   5344: echo "$as_me:$LINENO: result: $objdir" >&5
                   5345: echo "${ECHO_T}$objdir" >&6
                   5346: 
                   5347: 
                   5348: 
                   5349: # Check whether --with-pic or --without-pic was given.
                   5350: if test "${with_pic+set}" = set; then
                   5351:   withval="$with_pic"
                   5352:   pic_mode="$withval"
                   5353: else
                   5354:   pic_mode=default
                   5355: fi;
                   5356: test -z "$pic_mode" && pic_mode=default
                   5357: 
                   5358: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
                   5359: # in isolation, and that seeing it set (from the cache) indicates that
                   5360: # the associated values are set (in the cache) correctly too.
                   5361: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   5362: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   5363: if test "${lt_cv_prog_cc_pic+set}" = set; then
                   5364:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5365: else
                   5366:    lt_cv_prog_cc_pic=
                   5367:   lt_cv_prog_cc_shlib=
                   5368:   lt_cv_prog_cc_wl=
                   5369:   lt_cv_prog_cc_static=
                   5370:   lt_cv_prog_cc_no_builtin=
                   5371:   lt_cv_prog_cc_can_build_shared=$can_build_shared
                   5372: 
                   5373:   if test "$GCC" = yes; then
                   5374:     lt_cv_prog_cc_wl='-Wl,'
                   5375:     lt_cv_prog_cc_static='-static'
1.1       parser   5376: 
1.10      paf      5377:     case $host_os in
                   5378:     aix*)
                   5379:       # Below there is a dirty hack to force normal static linking with -ldl
                   5380:       # The problem is because libdl dynamically linked with both libc and
                   5381:       # libC (AIX C++ library), which obviously doesn't included in libraries
                   5382:       # list by gcc. This cause undefined symbols with -static flags.
                   5383:       # This hack allows C programs to be linked with "-static -ldl", but
                   5384:       # not sure about C++ programs.
                   5385:       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
                   5386:       ;;
                   5387:     amigaos*)
                   5388:       # FIXME: we need at least 68020 code to build shared libraries, but
                   5389:       # adding the `-m68020' flag to GCC prevents building anything better,
                   5390:       # like `-m68040'.
                   5391:       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
                   5392:       ;;
                   5393:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   5394:       # PIC is the default for these OSes.
                   5395:       ;;
                   5396:     darwin* | rhapsody*)
                   5397:       # PIC is the default on this platform
                   5398:       # Common symbols not allowed in MH_DYLIB files
                   5399:       lt_cv_prog_cc_pic='-fno-common'
                   5400:       ;;
                   5401:     cygwin* | mingw* | pw32* | os2*)
                   5402:       # This hack is so that the source file can tell whether it is being
                   5403:       # built for inclusion in a dll (and should export symbols for example).
                   5404:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5405:       ;;
                   5406:     sysv4*MP*)
                   5407:       if test -d /usr/nec; then
                   5408:         lt_cv_prog_cc_pic=-Kconform_pic
                   5409:       fi
                   5410:       ;;
                   5411:     *)
                   5412:       lt_cv_prog_cc_pic='-fPIC'
                   5413:       ;;
                   5414:     esac
                   5415:   else
                   5416:     # PORTME Check for PIC flags for the system compiler.
                   5417:     case $host_os in
                   5418:     aix3* | aix4* | aix5*)
                   5419:       lt_cv_prog_cc_wl='-Wl,'
                   5420:       # All AIX code is PIC.
                   5421:       if test "$host_cpu" = ia64; then
                   5422:        # AIX 5 now supports IA64 processor
                   5423:        lt_cv_prog_cc_static='-Bstatic'
                   5424:       else
                   5425:        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
                   5426:       fi
                   5427:       ;;
                   5428: 
                   5429:     hpux9* | hpux10* | hpux11*)
                   5430:       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
                   5431:       lt_cv_prog_cc_wl='-Wl,'
                   5432:       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
                   5433:       lt_cv_prog_cc_pic='+Z'
                   5434:       ;;
                   5435: 
                   5436:     irix5* | irix6* | nonstopux*)
                   5437:       lt_cv_prog_cc_wl='-Wl,'
                   5438:       lt_cv_prog_cc_static='-non_shared'
                   5439:       # PIC (with -KPIC) is the default.
                   5440:       ;;
                   5441: 
                   5442:     cygwin* | mingw* | pw32* | os2*)
                   5443:       # This hack is so that the source file can tell whether it is being
                   5444:       # built for inclusion in a dll (and should export symbols for example).
                   5445:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5446:       ;;
                   5447: 
                   5448:     newsos6)
                   5449:       lt_cv_prog_cc_pic='-KPIC'
                   5450:       lt_cv_prog_cc_static='-Bstatic'
                   5451:       ;;
                   5452: 
                   5453:     osf3* | osf4* | osf5*)
                   5454:       # All OSF/1 code is PIC.
                   5455:       lt_cv_prog_cc_wl='-Wl,'
                   5456:       lt_cv_prog_cc_static='-non_shared'
                   5457:       ;;
                   5458: 
                   5459:     sco3.2v5*)
                   5460:       lt_cv_prog_cc_pic='-Kpic'
                   5461:       lt_cv_prog_cc_static='-dn'
                   5462:       lt_cv_prog_cc_shlib='-belf'
                   5463:       ;;
                   5464: 
                   5465:     solaris*)
                   5466:       lt_cv_prog_cc_pic='-KPIC'
                   5467:       lt_cv_prog_cc_static='-Bstatic'
                   5468:       lt_cv_prog_cc_wl='-Wl,'
                   5469:       ;;
                   5470: 
                   5471:     sunos4*)
                   5472:       lt_cv_prog_cc_pic='-PIC'
                   5473:       lt_cv_prog_cc_static='-Bstatic'
                   5474:       lt_cv_prog_cc_wl='-Qoption ld '
                   5475:       ;;
                   5476: 
                   5477:     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   5478:       lt_cv_prog_cc_pic='-KPIC'
                   5479:       lt_cv_prog_cc_static='-Bstatic'
                   5480:       lt_cv_prog_cc_wl='-Wl,'
                   5481:       ;;
                   5482: 
                   5483:     uts4*)
                   5484:       lt_cv_prog_cc_pic='-pic'
                   5485:       lt_cv_prog_cc_static='-Bstatic'
                   5486:       ;;
                   5487: 
                   5488:     sysv4*MP*)
                   5489:       if test -d /usr/nec ;then
                   5490:        lt_cv_prog_cc_pic='-Kconform_pic'
                   5491:        lt_cv_prog_cc_static='-Bstatic'
                   5492:       fi
                   5493:       ;;
                   5494: 
                   5495:     *)
                   5496:       lt_cv_prog_cc_can_build_shared=no
                   5497:       ;;
                   5498:     esac
                   5499:   fi
                   5500: 
                   5501: fi
                   5502: 
                   5503: if test -z "$lt_cv_prog_cc_pic"; then
                   5504:   echo "$as_me:$LINENO: result: none" >&5
                   5505: echo "${ECHO_T}none" >&6
                   5506: else
                   5507:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
                   5508: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
                   5509: 
                   5510:   # Check to make sure the pic_flag actually works.
                   5511:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
                   5512: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
                   5513:   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
                   5514:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5515: else
                   5516:       save_CFLAGS="$CFLAGS"
                   5517:     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
                   5518:     cat >conftest.$ac_ext <<_ACEOF
                   5519: #line $LINENO "configure"
                   5520: /* confdefs.h.  */
                   5521: _ACEOF
                   5522: cat confdefs.h >>conftest.$ac_ext
                   5523: cat >>conftest.$ac_ext <<_ACEOF
                   5524: /* end confdefs.h.  */
                   5525: 
                   5526: int
                   5527: main ()
                   5528: {
                   5529: 
                   5530:   ;
                   5531:   return 0;
                   5532: }
                   5533: _ACEOF
                   5534: rm -f conftest.$ac_objext
                   5535: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5536:   (eval $ac_compile) 2>&5
                   5537:   ac_status=$?
                   5538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5539:   (exit $ac_status); } &&
                   5540:          { ac_try='test -s conftest.$ac_objext'
                   5541:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5542:   (eval $ac_try) 2>&5
                   5543:   ac_status=$?
                   5544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5545:   (exit $ac_status); }; }; then
                   5546:         case $host_os in
                   5547:       hpux9* | hpux10* | hpux11*)
                   5548:        # On HP-UX, both CC and GCC only warn that PIC is supported... then
                   5549:        # they create non-PIC objects.  So, if there were any warnings, we
                   5550:        # assume that PIC is not supported.
                   5551:        if test -s conftest.err; then
                   5552:          lt_cv_prog_cc_pic_works=no
                   5553:        else
                   5554:          lt_cv_prog_cc_pic_works=yes
                   5555:        fi
                   5556:        ;;
                   5557:       *)
                   5558:        lt_cv_prog_cc_pic_works=yes
                   5559:        ;;
                   5560:       esac
                   5561: 
                   5562: else
                   5563:   echo "$as_me: failed program was:" >&5
                   5564: sed 's/^/| /' conftest.$ac_ext >&5
                   5565: 
                   5566:       lt_cv_prog_cc_pic_works=no
                   5567: 
                   5568: fi
                   5569: rm -f conftest.$ac_objext conftest.$ac_ext
                   5570:     CFLAGS="$save_CFLAGS"
                   5571: 
                   5572: fi
                   5573: 
                   5574: 
                   5575:   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
                   5576:     lt_cv_prog_cc_pic=
                   5577:     lt_cv_prog_cc_can_build_shared=no
                   5578:   else
                   5579:     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
                   5580:   fi
                   5581: 
                   5582:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
                   5583: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
                   5584: fi
                   5585: 
                   5586: # Check for any special shared library compilation flags.
                   5587: if test -n "$lt_cv_prog_cc_shlib"; then
                   5588:   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
                   5589: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
                   5590:   if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
                   5591:   else
                   5592:    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
                   5593: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
                   5594:     lt_cv_prog_cc_can_build_shared=no
                   5595:   fi
                   5596: fi
                   5597: 
                   5598: echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
                   5599: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
                   5600: if test "${lt_cv_prog_cc_static_works+set}" = set; then
                   5601:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5602: else
                   5603:     lt_cv_prog_cc_static_works=no
                   5604:   save_LDFLAGS="$LDFLAGS"
                   5605:   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
                   5606:   cat >conftest.$ac_ext <<_ACEOF
                   5607: #line $LINENO "configure"
                   5608: /* confdefs.h.  */
                   5609: _ACEOF
                   5610: cat confdefs.h >>conftest.$ac_ext
                   5611: cat >>conftest.$ac_ext <<_ACEOF
                   5612: /* end confdefs.h.  */
                   5613: 
                   5614: int
                   5615: main ()
                   5616: {
                   5617: 
                   5618:   ;
                   5619:   return 0;
                   5620: }
                   5621: _ACEOF
                   5622: rm -f conftest.$ac_objext conftest$ac_exeext
                   5623: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5624:   (eval $ac_link) 2>&5
                   5625:   ac_status=$?
                   5626:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5627:   (exit $ac_status); } &&
                   5628:          { ac_try='test -s conftest$ac_exeext'
                   5629:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5630:   (eval $ac_try) 2>&5
                   5631:   ac_status=$?
                   5632:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5633:   (exit $ac_status); }; }; then
                   5634:   lt_cv_prog_cc_static_works=yes
                   5635: else
                   5636:   echo "$as_me: failed program was:" >&5
                   5637: sed 's/^/| /' conftest.$ac_ext >&5
                   5638: 
                   5639: fi
                   5640: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5641:   LDFLAGS="$save_LDFLAGS"
                   5642: 
                   5643: fi
                   5644: 
                   5645: 
                   5646: # Belt *and* braces to stop my trousers falling down:
                   5647: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
                   5648: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
                   5649: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
                   5650: 
                   5651: pic_flag="$lt_cv_prog_cc_pic"
                   5652: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
                   5653: wl="$lt_cv_prog_cc_wl"
                   5654: link_static_flag="$lt_cv_prog_cc_static"
                   5655: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
                   5656: can_build_shared="$lt_cv_prog_cc_can_build_shared"
                   5657: 
                   5658: 
                   5659: # Check to see if options -o and -c are simultaneously supported by compiler
                   5660: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   5661: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   5662: if test "${lt_cv_compiler_c_o+set}" = set; then
                   5663:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5664: else
                   5665: 
                   5666: $rm -r conftest 2>/dev/null
                   5667: mkdir conftest
                   5668: cd conftest
                   5669: echo "int some_variable = 0;" > conftest.$ac_ext
                   5670: mkdir out
                   5671: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
                   5672: # that will create temporary files in the current directory regardless of
                   5673: # the output directory.  Thus, making CWD read-only will cause this test
                   5674: # to fail, enabling locking or at least warning the user not to do parallel
                   5675: # builds.
                   5676: chmod -w .
                   5677: save_CFLAGS="$CFLAGS"
                   5678: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
                   5679: compiler_c_o=no
1.15    ! paf      5680: if { (eval echo configure:5680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
1.10      paf      5681:   # The compiler can only warn and ignore the option if not recognized
                   5682:   # So say no if there are warnings
                   5683:   if test -s out/conftest.err; then
                   5684:     lt_cv_compiler_c_o=no
                   5685:   else
                   5686:     lt_cv_compiler_c_o=yes
                   5687:   fi
                   5688: else
                   5689:   # Append any errors to the config.log.
                   5690:   cat out/conftest.err 1>&5
                   5691:   lt_cv_compiler_c_o=no
                   5692: fi
                   5693: CFLAGS="$save_CFLAGS"
                   5694: chmod u+w .
                   5695: $rm conftest* out/*
                   5696: rmdir out
                   5697: cd ..
                   5698: rmdir conftest
                   5699: $rm -r conftest 2>/dev/null
                   5700: 
                   5701: fi
                   5702: 
                   5703: compiler_c_o=$lt_cv_compiler_c_o
                   5704: echo "$as_me:$LINENO: result: $compiler_c_o" >&5
                   5705: echo "${ECHO_T}$compiler_c_o" >&6
                   5706: 
                   5707: if test x"$compiler_c_o" = x"yes"; then
                   5708:   # Check to see if we can write to a .lo
                   5709:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
                   5710: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
                   5711:   if test "${lt_cv_compiler_o_lo+set}" = set; then
                   5712:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5713: else
                   5714: 
                   5715:   lt_cv_compiler_o_lo=no
                   5716:   save_CFLAGS="$CFLAGS"
                   5717:   CFLAGS="$CFLAGS -c -o conftest.lo"
                   5718:   save_objext="$ac_objext"
                   5719:   ac_objext=lo
                   5720:   cat >conftest.$ac_ext <<_ACEOF
                   5721: #line $LINENO "configure"
                   5722: /* confdefs.h.  */
                   5723: _ACEOF
                   5724: cat confdefs.h >>conftest.$ac_ext
                   5725: cat >>conftest.$ac_ext <<_ACEOF
                   5726: /* end confdefs.h.  */
                   5727: 
                   5728: int
                   5729: main ()
                   5730: {
                   5731: int some_variable = 0;
                   5732:   ;
                   5733:   return 0;
                   5734: }
                   5735: _ACEOF
                   5736: rm -f conftest.$ac_objext
                   5737: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5738:   (eval $ac_compile) 2>&5
                   5739:   ac_status=$?
                   5740:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5741:   (exit $ac_status); } &&
                   5742:          { ac_try='test -s conftest.$ac_objext'
                   5743:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5744:   (eval $ac_try) 2>&5
                   5745:   ac_status=$?
                   5746:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5747:   (exit $ac_status); }; }; then
                   5748:       # The compiler can only warn and ignore the option if not recognized
                   5749:     # So say no if there are warnings
                   5750:     if test -s conftest.err; then
                   5751:       lt_cv_compiler_o_lo=no
                   5752:     else
                   5753:       lt_cv_compiler_o_lo=yes
                   5754:     fi
                   5755: 
                   5756: else
                   5757:   echo "$as_me: failed program was:" >&5
                   5758: sed 's/^/| /' conftest.$ac_ext >&5
                   5759: 
                   5760: fi
                   5761: rm -f conftest.$ac_objext conftest.$ac_ext
                   5762:   ac_objext="$save_objext"
                   5763:   CFLAGS="$save_CFLAGS"
                   5764: 
                   5765: fi
                   5766: 
                   5767:   compiler_o_lo=$lt_cv_compiler_o_lo
                   5768:   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
                   5769: echo "${ECHO_T}$compiler_o_lo" >&6
                   5770: else
                   5771:   compiler_o_lo=no
                   5772: fi
                   5773: 
                   5774: # Check to see if we can do hard links to lock some files if needed
                   5775: hard_links="nottested"
                   5776: if test "$compiler_c_o" = no && test "$need_locks" != no; then
                   5777:   # do not overwrite the value of need_locks provided by the user
                   5778:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   5779: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   5780:   hard_links=yes
                   5781:   $rm conftest*
                   5782:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5783:   touch conftest.a
                   5784:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   5785:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5786:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   5787: echo "${ECHO_T}$hard_links" >&6
                   5788:   if test "$hard_links" = no; then
                   5789:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   5790: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   5791:     need_locks=warn
                   5792:   fi
                   5793: else
                   5794:   need_locks=no
                   5795: fi
                   5796: 
                   5797: if test "$GCC" = yes; then
                   5798:   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
                   5799:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   5800: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   5801:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5802:   save_CFLAGS="$CFLAGS"
                   5803:   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
                   5804:   compiler_rtti_exceptions=no
                   5805:   cat >conftest.$ac_ext <<_ACEOF
                   5806: #line $LINENO "configure"
                   5807: /* confdefs.h.  */
                   5808: _ACEOF
                   5809: cat confdefs.h >>conftest.$ac_ext
                   5810: cat >>conftest.$ac_ext <<_ACEOF
                   5811: /* end confdefs.h.  */
                   5812: 
                   5813: int
                   5814: main ()
                   5815: {
                   5816: int some_variable = 0;
                   5817:   ;
                   5818:   return 0;
                   5819: }
                   5820: _ACEOF
                   5821: rm -f conftest.$ac_objext
                   5822: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5823:   (eval $ac_compile) 2>&5
                   5824:   ac_status=$?
                   5825:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5826:   (exit $ac_status); } &&
                   5827:          { ac_try='test -s conftest.$ac_objext'
                   5828:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5829:   (eval $ac_try) 2>&5
                   5830:   ac_status=$?
                   5831:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5832:   (exit $ac_status); }; }; then
                   5833:       # The compiler can only warn and ignore the option if not recognized
                   5834:     # So say no if there are warnings
                   5835:     if test -s conftest.err; then
                   5836:       compiler_rtti_exceptions=no
                   5837:     else
                   5838:       compiler_rtti_exceptions=yes
                   5839:     fi
                   5840: 
                   5841: else
                   5842:   echo "$as_me: failed program was:" >&5
                   5843: sed 's/^/| /' conftest.$ac_ext >&5
                   5844: 
                   5845: fi
                   5846: rm -f conftest.$ac_objext conftest.$ac_ext
                   5847:   CFLAGS="$save_CFLAGS"
                   5848:   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
                   5849: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
                   5850: 
                   5851:   if test "$compiler_rtti_exceptions" = "yes"; then
                   5852:     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
                   5853:   else
                   5854:     no_builtin_flag=' -fno-builtin'
                   5855:   fi
                   5856: fi
                   5857: 
                   5858: # See if the linker supports building shared libraries.
                   5859: echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
                   5860: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
                   5861: 
                   5862: allow_undefined_flag=
                   5863: no_undefined_flag=
                   5864: need_lib_prefix=unknown
                   5865: need_version=unknown
                   5866: # when you set need_version to no, make sure it does not cause -set_version
                   5867: # flags to be left without arguments
                   5868: archive_cmds=
                   5869: archive_expsym_cmds=
                   5870: old_archive_from_new_cmds=
                   5871: old_archive_from_expsyms_cmds=
                   5872: export_dynamic_flag_spec=
                   5873: whole_archive_flag_spec=
                   5874: thread_safe_flag_spec=
                   5875: hardcode_into_libs=no
                   5876: hardcode_libdir_flag_spec=
                   5877: hardcode_libdir_separator=
                   5878: hardcode_direct=no
                   5879: hardcode_minus_L=no
                   5880: hardcode_shlibpath_var=unsupported
                   5881: runpath_var=
                   5882: link_all_deplibs=unknown
                   5883: always_export_symbols=no
                   5884: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   5885: # include_expsyms should be a list of space-separated symbols to be *always*
                   5886: # included in the symbol list
                   5887: include_expsyms=
                   5888: # exclude_expsyms can be an egrep regular expression of symbols to exclude
                   5889: # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   5890: # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   5891: # as well as any symbol that contains `d'.
                   5892: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
                   5893: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   5894: # platforms (ab)use it in PIC code, but their linkers get confused if
                   5895: # the symbol is explicitly referenced.  Since portable code cannot
                   5896: # rely on this symbol name, it's probably fine to never include it in
                   5897: # preloaded symbol tables.
                   5898: extract_expsyms_cmds=
                   5899: 
                   5900: case $host_os in
                   5901: cygwin* | mingw* | pw32*)
                   5902:   # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   5903:   # When not using gcc, we currently assume that we are using
                   5904:   # Microsoft Visual C++.
                   5905:   if test "$GCC" != yes; then
                   5906:     with_gnu_ld=no
                   5907:   fi
                   5908:   ;;
                   5909: openbsd*)
                   5910:   with_gnu_ld=no
                   5911:   ;;
                   5912: esac
                   5913: 
                   5914: ld_shlibs=yes
                   5915: if test "$with_gnu_ld" = yes; then
                   5916:   # If archive_cmds runs LD, not CC, wlarc should be empty
                   5917:   wlarc='${wl}'
                   5918: 
                   5919:   # See if GNU ld supports shared libraries.
                   5920:   case $host_os in
                   5921:   aix3* | aix4* | aix5*)
                   5922:     # On AIX, the GNU linker is very broken
                   5923:     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
                   5924:     ld_shlibs=no
                   5925:     cat <<EOF 1>&2
                   5926: 
                   5927: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
                   5928: *** to be unable to reliably create shared libraries on AIX.
                   5929: *** Therefore, libtool is disabling shared libraries support.  If you
                   5930: *** really care for shared libraries, you may want to modify your PATH
                   5931: *** so that a non-GNU linker is found, and then restart.
                   5932: 
                   5933: EOF
                   5934:     ;;
                   5935: 
                   5936:   amigaos*)
                   5937:     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)'
                   5938:     hardcode_libdir_flag_spec='-L$libdir'
                   5939:     hardcode_minus_L=yes
                   5940: 
                   5941:     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
                   5942:     # that the semantics of dynamic libraries on AmigaOS, at least up
                   5943:     # to version 4, is to share data among multiple programs linked
                   5944:     # with the same dynamic library.  Since this doesn't match the
                   5945:     # behavior of shared libraries on other platforms, we can use
                   5946:     # them.
                   5947:     ld_shlibs=no
                   5948:     ;;
                   5949: 
                   5950:   beos*)
                   5951:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5952:       allow_undefined_flag=unsupported
                   5953:       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   5954:       # support --undefined.  This deserves some investigation.  FIXME
                   5955:       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5956:     else
                   5957:       ld_shlibs=no
                   5958:     fi
                   5959:     ;;
                   5960: 
                   5961:   cygwin* | mingw* | pw32*)
                   5962:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   5963:     # no search path for DLLs.
                   5964:     hardcode_libdir_flag_spec='-L$libdir'
                   5965:     allow_undefined_flag=unsupported
                   5966:     always_export_symbols=yes
                   5967: 
                   5968:     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
                   5969:       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
                   5970:       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
                   5971:       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
                   5972:       else $CC -o impgen impgen.c ; fi)~
                   5973:       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
                   5974: 
                   5975:     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
                   5976: 
                   5977:     # cygwin and mingw dlls have different entry points and sets of symbols
                   5978:     # to exclude.
                   5979:     # FIXME: what about values for MSVC?
                   5980:     dll_entry=__cygwin_dll_entry@12
                   5981:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
                   5982:     case $host_os in
                   5983:     mingw*)
                   5984:       # mingw values
                   5985:       dll_entry=_DllMainCRTStartup@12
                   5986:       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
                   5987:       ;;
                   5988:     esac
                   5989: 
                   5990:     # mingw and cygwin differ, and it's simplest to just exclude the union
                   5991:     # of the two symbol sets.
                   5992:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
                   5993: 
                   5994:     # recent cygwin and mingw systems supply a stub DllMain which the user
                   5995:     # can override, but on older systems we have to supply one (in ltdll.c)
                   5996:     if test "x$lt_cv_need_dllmain" = "xyes"; then
                   5997:       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
                   5998:       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~
                   5999:        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
                   6000:     else
                   6001:       ltdll_obj=
                   6002:       ltdll_cmds=
                   6003:     fi
                   6004: 
                   6005:     # Extract the symbol export list from an `--export-all' def file,
                   6006:     # then regenerate the def file from the symbol export list, so that
                   6007:     # the compiled dll only exports the symbol export list.
                   6008:     # Be careful not to strip the DATA tag left be newer dlltools.
                   6009:     export_symbols_cmds="$ltdll_cmds"'
                   6010:       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
                   6011:       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
                   6012: 
                   6013:     # If the export-symbols file already is a .def file (1st line
                   6014:     # is EXPORTS), use it as is.
                   6015:     # If DATA tags from a recent dlltool are present, honour them!
                   6016:     archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
                   6017:        cp $export_symbols $output_objdir/$soname-def;
                   6018:       else
                   6019:        echo EXPORTS > $output_objdir/$soname-def;
                   6020:        _lt_hint=1;
                   6021:        cat $export_symbols | while read symbol; do
                   6022:         set dummy \$symbol;
                   6023:         case \$# in
                   6024:           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                   6025:           4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
                   6026:           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
                   6027:         esac;
                   6028:         _lt_hint=`expr 1 + \$_lt_hint`;
                   6029:        done;
                   6030:       fi~
                   6031:       '"$ltdll_cmds"'
                   6032:       $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~
                   6033:       $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~
                   6034:       $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~
                   6035:       $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~
                   6036:       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
                   6037:     ;;
                   6038: 
                   6039:   netbsd*)
                   6040:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6041:       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   6042:       wlarc=
                   6043:     else
                   6044:       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6045:       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6046:     fi
                   6047:     ;;
                   6048: 
                   6049:   solaris* | sysv5*)
                   6050:     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
                   6051:       ld_shlibs=no
                   6052:       cat <<EOF 1>&2
                   6053: 
                   6054: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   6055: *** create shared libraries on Solaris systems.  Therefore, libtool
                   6056: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   6057: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   6058: *** your PATH or compiler configuration so that the native linker is
                   6059: *** used, and then restart.
                   6060: 
                   6061: EOF
                   6062:     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6063:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6064:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6065:     else
                   6066:       ld_shlibs=no
                   6067:     fi
                   6068:     ;;
                   6069: 
                   6070:   sunos4*)
                   6071:     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6072:     wlarc=
                   6073:     hardcode_direct=yes
                   6074:     hardcode_shlibpath_var=no
                   6075:     ;;
                   6076: 
                   6077:   *)
                   6078:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6079:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6080:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6081:     else
                   6082:       ld_shlibs=no
                   6083:     fi
                   6084:     ;;
                   6085:   esac
                   6086: 
                   6087:   if test "$ld_shlibs" = yes; then
                   6088:     runpath_var=LD_RUN_PATH
                   6089:     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
                   6090:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   6091:     case $host_os in
                   6092:     cygwin* | mingw* | pw32*)
                   6093:       # dlltool doesn't understand --whole-archive et. al.
                   6094:       whole_archive_flag_spec=
                   6095:       ;;
                   6096:     *)
                   6097:       # ancient GNU ld didn't support --whole-archive et. al.
                   6098:       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
                   6099:        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   6100:       else
                   6101:        whole_archive_flag_spec=
                   6102:       fi
                   6103:       ;;
                   6104:     esac
                   6105:   fi
                   6106: else
                   6107:   # PORTME fill in a description of your system's linker (not GNU ld)
                   6108:   case $host_os in
                   6109:   aix3*)
                   6110:     allow_undefined_flag=unsupported
                   6111:     always_export_symbols=yes
                   6112:     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'
                   6113:     # Note: this linker hardcodes the directories in LIBPATH if there
                   6114:     # are no directories specified by -L.
                   6115:     hardcode_minus_L=yes
                   6116:     if test "$GCC" = yes && test -z "$link_static_flag"; then
                   6117:       # Neither direct hardcoding nor static linking is supported with a
                   6118:       # broken collect2.
                   6119:       hardcode_direct=unsupported
                   6120:     fi
                   6121:     ;;
                   6122: 
                   6123:   aix4* | aix5*)
                   6124:     if test "$host_cpu" = ia64; then
                   6125:       # On IA64, the linker does run time linking by default, so we don't
                   6126:       # have to do anything special.
                   6127:       aix_use_runtimelinking=no
                   6128:       exp_sym_flag='-Bexport'
                   6129:       no_entry_flag=""
                   6130:     else
                   6131:       aix_use_runtimelinking=no
                   6132: 
                   6133:       # Test if we are trying to use run time linking or normal
                   6134:       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   6135:       # need to do runtime linking.
                   6136:       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
                   6137:        for ld_flag in $LDFLAGS; do
                   6138:          case $ld_flag in
                   6139:          *-brtl*)
                   6140:            aix_use_runtimelinking=yes
                   6141:            break
                   6142:          ;;
                   6143:          esac
                   6144:        done
                   6145:       esac
                   6146: 
                   6147:       exp_sym_flag='-bexport'
                   6148:       no_entry_flag='-bnoentry'
                   6149:     fi
                   6150: 
                   6151:     # When large executables or shared objects are built, AIX ld can
                   6152:     # have problems creating the table of contents.  If linking a library
                   6153:     # or program results in "error TOC overflow" add -mminimal-toc to
                   6154:     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   6155:     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   6156: 
                   6157:     hardcode_direct=yes
                   6158:     archive_cmds=''
                   6159:     hardcode_libdir_separator=':'
                   6160:     if test "$GCC" = yes; then
                   6161:       case $host_os in aix4.[012]|aix4.[012].*)
                   6162:        collect2name=`${CC} -print-prog-name=collect2`
                   6163:        if test -f "$collect2name" && \
                   6164:          strings "$collect2name" | grep resolve_lib_name >/dev/null
                   6165:        then
                   6166:          # We have reworked collect2
                   6167:          hardcode_direct=yes
                   6168:        else
                   6169:          # We have old collect2
                   6170:          hardcode_direct=unsupported
                   6171:          # It fails to find uninstalled libraries when the uninstalled
                   6172:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   6173:          # to unsupported forces relinking
                   6174:          hardcode_minus_L=yes
                   6175:          hardcode_libdir_flag_spec='-L$libdir'
                   6176:          hardcode_libdir_separator=
                   6177:        fi
                   6178:       esac
                   6179: 
                   6180:       shared_flag='-shared'
                   6181:     else
                   6182:       # not using gcc
                   6183:       if test "$host_cpu" = ia64; then
                   6184:        shared_flag='${wl}-G'
                   6185:       else
                   6186:        if test "$aix_use_runtimelinking" = yes; then
                   6187:          shared_flag='${wl}-G'
                   6188:        else
                   6189:          shared_flag='${wl}-bM:SRE'
                   6190:        fi
                   6191:       fi
                   6192:     fi
                   6193: 
                   6194:     # It seems that -bexpall can do strange things, so it is better to
                   6195:     # generate a list of symbols to export.
                   6196:     always_export_symbols=yes
                   6197:     if test "$aix_use_runtimelinking" = yes; then
                   6198:       # Warning - without using the other runtime loading flags (-brtl),
                   6199:       # -berok will link without error, but may produce a broken library.
                   6200:       allow_undefined_flag='-berok'
                   6201:       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
                   6202:       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"
                   6203:     else
                   6204:       if test "$host_cpu" = ia64; then
                   6205:        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   6206:        allow_undefined_flag="-z nodefs"
                   6207:        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"
                   6208:       else
                   6209:        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
                   6210:        # Warning - without using the other run time loading flags,
                   6211:        # -berok will link without error, but may produce a broken library.
                   6212:        allow_undefined_flag='${wl}-berok'
                   6213:        # This is a bit strange, but is similar to how AIX traditionally builds
                   6214:        # it's shared libraries.
                   6215:        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'
                   6216:       fi
                   6217:     fi
                   6218:     ;;
                   6219: 
                   6220:   amigaos*)
                   6221:     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)'
                   6222:     hardcode_libdir_flag_spec='-L$libdir'
                   6223:     hardcode_minus_L=yes
                   6224:     # see comment about different semantics on the GNU ld section
                   6225:     ld_shlibs=no
                   6226:     ;;
                   6227: 
                   6228:   cygwin* | mingw* | pw32*)
                   6229:     # When not using gcc, we currently assume that we are using
                   6230:     # Microsoft Visual C++.
                   6231:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   6232:     # no search path for DLLs.
                   6233:     hardcode_libdir_flag_spec=' '
                   6234:     allow_undefined_flag=unsupported
                   6235:     # Tell ltmain to make .lib files, not .a files.
                   6236:     libext=lib
                   6237:     # FIXME: Setting linknames here is a bad hack.
                   6238:     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
                   6239:     # The linker will automatically build a .lib file if we build a DLL.
                   6240:     old_archive_from_new_cmds='true'
                   6241:     # FIXME: Should let the user specify the lib program.
                   6242:     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
                   6243:     fix_srcfile_path='`cygpath -w "$srcfile"`'
                   6244:     ;;
                   6245: 
                   6246:   darwin* | rhapsody*)
                   6247:     case "$host_os" in
                   6248:     rhapsody* | darwin1.[012])
                   6249:       allow_undefined_flag='-undefined suppress'
                   6250:       ;;
                   6251:     *) # Darwin 1.3 on
                   6252:       allow_undefined_flag='-flat_namespace -undefined suppress'
                   6253:       ;;
                   6254:     esac
                   6255:     # FIXME: Relying on posixy $() will cause problems for
                   6256:     #        cross-compilation, but unfortunately the echo tests do not
                   6257:     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
                   6258:     #       `"' quotes if we put them in here... so don't!
                   6259:     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)'
                   6260:     # We need to add '_' to the symbols in $export_symbols first
                   6261:     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
                   6262:     hardcode_direct=yes
                   6263:     hardcode_shlibpath_var=no
                   6264:     whole_archive_flag_spec='-all_load $convenience'
                   6265:     ;;
                   6266: 
                   6267:   freebsd1*)
                   6268:     ld_shlibs=no
                   6269:     ;;
                   6270: 
                   6271:   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   6272:   # support.  Future versions do this automatically, but an explicit c++rt0.o
                   6273:   # does not break anything, and helps significantly (at the cost of a little
                   6274:   # extra space).
                   6275:   freebsd2.2*)
                   6276:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   6277:     hardcode_libdir_flag_spec='-R$libdir'
                   6278:     hardcode_direct=yes
                   6279:     hardcode_shlibpath_var=no
                   6280:     ;;
                   6281: 
                   6282:   # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   6283:   freebsd2*)
                   6284:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6285:     hardcode_direct=yes
                   6286:     hardcode_minus_L=yes
                   6287:     hardcode_shlibpath_var=no
                   6288:     ;;
                   6289: 
                   6290:   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   6291:   freebsd*)
                   6292:     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
                   6293:     hardcode_libdir_flag_spec='-R$libdir'
                   6294:     hardcode_direct=yes
                   6295:     hardcode_shlibpath_var=no
                   6296:     ;;
                   6297: 
                   6298:   hpux9* | hpux10* | hpux11*)
                   6299:     case $host_os in
                   6300:     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' ;;
                   6301:     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
                   6302:     esac
                   6303:     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   6304:     hardcode_libdir_separator=:
                   6305:     hardcode_direct=yes
                   6306:     hardcode_minus_L=yes # Not in the search PATH, but as the default
                   6307:                         # location of the library.
                   6308:     export_dynamic_flag_spec='${wl}-E'
                   6309:     ;;
                   6310: 
                   6311:   irix5* | irix6* | nonstopux*)
                   6312:     if test "$GCC" = yes; then
                   6313:       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'
                   6314:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6315:     else
                   6316:       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'
                   6317:       hardcode_libdir_flag_spec='-rpath $libdir'
                   6318:     fi
                   6319:     hardcode_libdir_separator=:
                   6320:     link_all_deplibs=yes
                   6321:     ;;
                   6322: 
                   6323:   netbsd*)
                   6324:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6325:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   6326:     else
                   6327:       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   6328:     fi
                   6329:     hardcode_libdir_flag_spec='-R$libdir'
                   6330:     hardcode_direct=yes
                   6331:     hardcode_shlibpath_var=no
                   6332:     ;;
                   6333: 
                   6334:   newsos6)
                   6335:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6336:     hardcode_direct=yes
                   6337:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6338:     hardcode_libdir_separator=:
                   6339:     hardcode_shlibpath_var=no
                   6340:     ;;
                   6341: 
                   6342:   openbsd*)
                   6343:     hardcode_direct=yes
                   6344:     hardcode_shlibpath_var=no
                   6345:     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6346:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   6347:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   6348:       export_dynamic_flag_spec='${wl}-E'
                   6349:     else
                   6350:       case "$host_os" in
                   6351:       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   6352:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6353:        hardcode_libdir_flag_spec='-R$libdir'
                   6354:         ;;
                   6355:       *)
                   6356:         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   6357:         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   6358:         ;;
                   6359:       esac
                   6360:     fi
                   6361:     ;;
                   6362: 
                   6363:   os2*)
                   6364:     hardcode_libdir_flag_spec='-L$libdir'
                   6365:     hardcode_minus_L=yes
                   6366:     allow_undefined_flag=unsupported
                   6367:     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'
                   6368:     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   6369:     ;;
                   6370: 
                   6371:   osf3*)
                   6372:     if test "$GCC" = yes; then
                   6373:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   6374:       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'
                   6375:     else
                   6376:       allow_undefined_flag=' -expect_unresolved \*'
                   6377:       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'
                   6378:     fi
                   6379:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6380:     hardcode_libdir_separator=:
                   6381:     ;;
                   6382: 
                   6383:   osf4* | osf5*)       # as osf3* with the addition of -msym flag
                   6384:     if test "$GCC" = yes; then
                   6385:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   6386:       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'
                   6387:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6388:     else
                   6389:       allow_undefined_flag=' -expect_unresolved \*'
                   6390:       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'
                   6391:       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
                   6392:       $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'
                   6393: 
                   6394:       #Both c and cxx compiler support -rpath directly
                   6395:       hardcode_libdir_flag_spec='-rpath $libdir'
                   6396:     fi
                   6397:     hardcode_libdir_separator=:
                   6398:     ;;
                   6399: 
                   6400:   sco3.2v5*)
                   6401:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6402:     hardcode_shlibpath_var=no
                   6403:     runpath_var=LD_RUN_PATH
                   6404:     hardcode_runpath_var=yes
                   6405:     export_dynamic_flag_spec='${wl}-Bexport'
                   6406:     ;;
                   6407: 
                   6408:   solaris*)
                   6409:     # gcc --version < 3.0 without binutils cannot create self contained
                   6410:     # shared libraries reliably, requiring libgcc.a to resolve some of
                   6411:     # the object symbols generated in some cases.  Libraries that use
                   6412:     # assert need libgcc.a to resolve __eprintf, for example.  Linking
                   6413:     # a copy of libgcc.a into every shared library to guarantee resolving
                   6414:     # such symbols causes other problems:  According to Tim Van Holder
                   6415:     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
                   6416:     # (to the application) exception stack for one thing.
                   6417:     no_undefined_flag=' -z defs'
                   6418:     if test "$GCC" = yes; then
                   6419:       case `$CC --version 2>/dev/null` in
                   6420:       [12].*)
                   6421:        cat <<EOF 1>&2
                   6422: 
                   6423: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
                   6424: *** create self contained shared libraries on Solaris systems, without
                   6425: *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
                   6426: *** -no-undefined support, which will at least allow you to build shared
                   6427: *** libraries.  However, you may find that when you link such libraries
                   6428: *** into an application without using GCC, you have to manually add
                   6429: *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
                   6430: *** upgrade to a newer version of GCC.  Another option is to rebuild your
                   6431: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
                   6432: 
                   6433: EOF
                   6434:         no_undefined_flag=
                   6435:        ;;
                   6436:       esac
                   6437:     fi
                   6438:     # $CC -shared without GNU ld will not create a library from C++
                   6439:     # object files and a static libstdc++, better avoid it by now
                   6440:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6441:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6442:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6443:     hardcode_libdir_flag_spec='-R$libdir'
                   6444:     hardcode_shlibpath_var=no
                   6445:     case $host_os in
                   6446:     solaris2.[0-5] | solaris2.[0-5].*) ;;
                   6447:     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
                   6448:       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
                   6449:     esac
                   6450:     link_all_deplibs=yes
                   6451:     ;;
                   6452: 
                   6453:   sunos4*)
                   6454:     if test "x$host_vendor" = xsequent; then
                   6455:       # Use $CC to link under sequent, because it throws in some extra .o
                   6456:       # files that make .init and .fini sections work.
                   6457:       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   6458:     else
                   6459:       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   6460:     fi
                   6461:     hardcode_libdir_flag_spec='-L$libdir'
                   6462:     hardcode_direct=yes
                   6463:     hardcode_minus_L=yes
                   6464:     hardcode_shlibpath_var=no
                   6465:     ;;
                   6466: 
                   6467:   sysv4)
                   6468:     case $host_vendor in
                   6469:       sni)
                   6470:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6471:         hardcode_direct=yes # is this really true???
                   6472:         ;;
                   6473:       siemens)
                   6474:         ## LD is ld it makes a PLAMLIB
                   6475:         ## CC just makes a GrossModule.
                   6476:         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6477:         reload_cmds='$CC -r -o $output$reload_objs'
                   6478:         hardcode_direct=no
                   6479:         ;;
                   6480:       motorola)
                   6481:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6482:         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   6483:         ;;
                   6484:     esac
                   6485:     runpath_var='LD_RUN_PATH'
                   6486:     hardcode_shlibpath_var=no
                   6487:     ;;
                   6488: 
                   6489:   sysv4.3*)
                   6490:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6491:     hardcode_shlibpath_var=no
                   6492:     export_dynamic_flag_spec='-Bexport'
                   6493:     ;;
                   6494: 
                   6495:   sysv5*)
                   6496:     no_undefined_flag=' -z text'
                   6497:     # $CC -shared without GNU ld will not create a library from C++
                   6498:     # object files and a static libstdc++, better avoid it by now
                   6499:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6500:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6501:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6502:     hardcode_libdir_flag_spec=
                   6503:     hardcode_shlibpath_var=no
                   6504:     runpath_var='LD_RUN_PATH'
                   6505:     ;;
                   6506: 
                   6507:   uts4*)
                   6508:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6509:     hardcode_libdir_flag_spec='-L$libdir'
                   6510:     hardcode_shlibpath_var=no
                   6511:     ;;
                   6512: 
                   6513:   dgux*)
                   6514:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6515:     hardcode_libdir_flag_spec='-L$libdir'
                   6516:     hardcode_shlibpath_var=no
                   6517:     ;;
                   6518: 
                   6519:   sysv4*MP*)
                   6520:     if test -d /usr/nec; then
                   6521:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6522:       hardcode_shlibpath_var=no
                   6523:       runpath_var=LD_RUN_PATH
                   6524:       hardcode_runpath_var=yes
                   6525:       ld_shlibs=yes
                   6526:     fi
                   6527:     ;;
                   6528: 
                   6529:   sysv4.2uw2*)
                   6530:     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6531:     hardcode_direct=yes
                   6532:     hardcode_minus_L=no
                   6533:     hardcode_shlibpath_var=no
                   6534:     hardcode_runpath_var=yes
                   6535:     runpath_var=LD_RUN_PATH
                   6536:     ;;
                   6537: 
                   6538:   sysv5uw7* | unixware7*)
                   6539:     no_undefined_flag='${wl}-z ${wl}text'
                   6540:     if test "$GCC" = yes; then
                   6541:       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6542:     else
                   6543:       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6544:     fi
                   6545:     runpath_var='LD_RUN_PATH'
                   6546:     hardcode_shlibpath_var=no
                   6547:     ;;
                   6548: 
                   6549:   *)
                   6550:     ld_shlibs=no
                   6551:     ;;
                   6552:   esac
                   6553: fi
                   6554: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   6555: echo "${ECHO_T}$ld_shlibs" >&6
                   6556: test "$ld_shlibs" = no && can_build_shared=no
                   6557: 
                   6558: # Check hardcoding attributes.
                   6559: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   6560: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   6561: hardcode_action=
                   6562: if test -n "$hardcode_libdir_flag_spec" || \
                   6563:    test -n "$runpath_var"; then
                   6564: 
                   6565:   # We can hardcode non-existant directories.
                   6566:   if test "$hardcode_direct" != no &&
                   6567:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   6568:      # have to relink, otherwise we might link with an installed library
                   6569:      # when we should be linking with a yet-to-be-installed one
                   6570:      ## test "$hardcode_shlibpath_var" != no &&
                   6571:      test "$hardcode_minus_L" != no; then
                   6572:     # Linking always hardcodes the temporary library directory.
                   6573:     hardcode_action=relink
                   6574:   else
                   6575:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   6576:     hardcode_action=immediate
                   6577:   fi
                   6578: else
                   6579:   # We cannot hardcode anything, or else we can only hardcode existing
                   6580:   # directories.
                   6581:   hardcode_action=unsupported
                   6582: fi
                   6583: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   6584: echo "${ECHO_T}$hardcode_action" >&6
                   6585: 
                   6586: striplib=
                   6587: old_striplib=
                   6588: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   6589: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   6590: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
                   6591:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   6592:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   6593:   echo "$as_me:$LINENO: result: yes" >&5
                   6594: echo "${ECHO_T}yes" >&6
                   6595: else
                   6596:   echo "$as_me:$LINENO: result: no" >&5
                   6597: echo "${ECHO_T}no" >&6
                   6598: fi
                   6599: 
                   6600: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6601: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6602: 
                   6603: # PORTME Fill in your ld.so characteristics
                   6604: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   6605: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   6606: library_names_spec=
                   6607: libname_spec='lib$name'
                   6608: soname_spec=
                   6609: postinstall_cmds=
                   6610: postuninstall_cmds=
                   6611: finish_cmds=
                   6612: finish_eval=
                   6613: shlibpath_var=
                   6614: shlibpath_overrides_runpath=unknown
                   6615: version_type=none
                   6616: dynamic_linker="$host_os ld.so"
                   6617: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   6618: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   6619: 
                   6620: case $host_os in
                   6621: aix3*)
                   6622:   version_type=linux
                   6623:   library_names_spec='${libname}${release}.so$versuffix $libname.a'
                   6624:   shlibpath_var=LIBPATH
                   6625: 
                   6626:   # AIX has no versioning support, so we append a major version to the name.
                   6627:   soname_spec='${libname}${release}.so$major'
                   6628:   ;;
                   6629: 
                   6630: aix4* | aix5*)
                   6631:   version_type=linux
                   6632:   need_lib_prefix=no
                   6633:   need_version=no
                   6634:   hardcode_into_libs=yes
                   6635:   if test "$host_cpu" = ia64; then
                   6636:     # AIX 5 supports IA64
                   6637:     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
                   6638:     shlibpath_var=LD_LIBRARY_PATH
                   6639:   else
                   6640:     # With GCC up to 2.95.x, collect2 would create an import file
                   6641:     # for dependence libraries.  The import file would start with
                   6642:     # the line `#! .'.  This would cause the generated library to
                   6643:     # depend on `.', always an invalid library.  This was fixed in
                   6644:     # development snapshots of GCC prior to 3.0.
                   6645:     case $host_os in
                   6646:       aix4 | aix4.[01] | aix4.[01].*)
                   6647:        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   6648:             echo ' yes '
                   6649:             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
                   6650:          :
                   6651:        else
                   6652:          can_build_shared=no
                   6653:        fi
                   6654:        ;;
                   6655:     esac
                   6656:     # AIX (on Power*) has no versioning support, so currently we can
                   6657:     # not hardcode correct soname into executable. Probably we can
                   6658:     # add versioning support to collect2, so additional links can
                   6659:     # be useful in future.
                   6660:     if test "$aix_use_runtimelinking" = yes; then
                   6661:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   6662:       # instead of lib<name>.a to let people know that these are not
                   6663:       # typical AIX shared libraries.
                   6664:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6665:     else
                   6666:       # We preserve .a as extension for shared libraries through AIX4.2
                   6667:       # and later when we are not doing run time linking.
                   6668:       library_names_spec='${libname}${release}.a $libname.a'
                   6669:       soname_spec='${libname}${release}.so$major'
                   6670:     fi
                   6671:     shlibpath_var=LIBPATH
                   6672:   fi
                   6673:   hardcode_into_libs=yes
                   6674:   ;;
                   6675: 
                   6676: amigaos*)
                   6677:   library_names_spec='$libname.ixlibrary $libname.a'
                   6678:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   6679:   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'
                   6680:   ;;
                   6681: 
                   6682: beos*)
                   6683:   library_names_spec='${libname}.so'
                   6684:   dynamic_linker="$host_os ld.so"
                   6685:   shlibpath_var=LIBRARY_PATH
                   6686:   ;;
                   6687: 
                   6688: bsdi4*)
                   6689:   version_type=linux
                   6690:   need_version=no
                   6691:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6692:   soname_spec='${libname}${release}.so$major'
                   6693:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   6694:   shlibpath_var=LD_LIBRARY_PATH
                   6695:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   6696:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   6697:   export_dynamic_flag_spec=-rdynamic
                   6698:   # the default ld.so.conf also contains /usr/contrib/lib and
                   6699:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   6700:   # libtool to hard-code these into programs
                   6701:   ;;
                   6702: 
                   6703: cygwin* | mingw* | pw32*)
                   6704:   version_type=windows
                   6705:   need_version=no
                   6706:   need_lib_prefix=no
                   6707:   case $GCC,$host_os in
                   6708:   yes,cygwin*)
                   6709:     library_names_spec='$libname.dll.a'
                   6710:     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6711:     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
                   6712:       dldir=$destdir/`dirname \$dlpath`~
                   6713:       test -d \$dldir || mkdir -p \$dldir~
                   6714:       $install_prog .libs/$dlname \$dldir/$dlname'
                   6715:     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   6716:       dlpath=$dir/\$dldll~
                   6717:        $rm \$dlpath'
                   6718:     ;;
                   6719:   yes,mingw*)
                   6720:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6721:     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
                   6722:     ;;
                   6723:   yes,pw32*)
                   6724:     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
                   6725:     ;;
                   6726:   *)
                   6727:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
                   6728:     ;;
                   6729:   esac
                   6730:   dynamic_linker='Win32 ld.exe'
                   6731:   # FIXME: first we should search . and the directory the executable is in
                   6732:   shlibpath_var=PATH
                   6733:   ;;
                   6734: 
                   6735: darwin* | rhapsody*)
                   6736:   dynamic_linker="$host_os dyld"
                   6737:   version_type=darwin
                   6738:   need_lib_prefix=no
                   6739:   need_version=no
                   6740:   # FIXME: Relying on posixy $() will cause problems for
                   6741:   #        cross-compilation, but unfortunately the echo tests do not
                   6742:   #        yet detect zsh echo's removal of \ escapes.
                   6743:   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)'
                   6744:   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
                   6745:   shlibpath_overrides_runpath=yes
                   6746:   shlibpath_var=DYLD_LIBRARY_PATH
                   6747:   ;;
                   6748: 
                   6749: freebsd1*)
                   6750:   dynamic_linker=no
                   6751:   ;;
                   6752: 
                   6753: freebsd*)
                   6754:   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
                   6755:   version_type=freebsd-$objformat
                   6756:   case $version_type in
                   6757:     freebsd-elf*)
                   6758:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
                   6759:       need_version=no
                   6760:       need_lib_prefix=no
                   6761:       ;;
                   6762:     freebsd-*)
                   6763:       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
                   6764:       need_version=yes
                   6765:       ;;
                   6766:   esac
                   6767:   shlibpath_var=LD_LIBRARY_PATH
                   6768:   case $host_os in
                   6769:   freebsd2*)
                   6770:     shlibpath_overrides_runpath=yes
                   6771:     ;;
                   6772:   *)
                   6773:     shlibpath_overrides_runpath=no
                   6774:     hardcode_into_libs=yes
                   6775:     ;;
                   6776:   esac
                   6777:   ;;
                   6778: 
                   6779: gnu*)
                   6780:   version_type=linux
                   6781:   need_lib_prefix=no
                   6782:   need_version=no
                   6783:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
                   6784:   soname_spec='${libname}${release}.so$major'
                   6785:   shlibpath_var=LD_LIBRARY_PATH
                   6786:   hardcode_into_libs=yes
                   6787:   ;;
                   6788: 
                   6789: hpux9* | hpux10* | hpux11*)
                   6790:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   6791:   # link against other versions.
                   6792:   dynamic_linker="$host_os dld.sl"
                   6793:   version_type=sunos
                   6794:   need_lib_prefix=no
                   6795:   need_version=no
                   6796:   shlibpath_var=SHLIB_PATH
                   6797:   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   6798:   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
                   6799:   soname_spec='${libname}${release}.sl$major'
                   6800:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
                   6801:   postinstall_cmds='chmod 555 $lib'
                   6802:   ;;
                   6803: 
                   6804: irix5* | irix6* | nonstopux*)
                   6805:   case $host_os in
                   6806:     nonstopux*) version_type=nonstopux ;;
                   6807:     *)          version_type=irix ;;
                   6808:   esac
                   6809:   need_lib_prefix=no
                   6810:   need_version=no
                   6811:   soname_spec='${libname}${release}.so$major'
                   6812:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
                   6813:   case $host_os in
                   6814:   irix5* | nonstopux*)
                   6815:     libsuff= shlibsuff=
                   6816:     ;;
                   6817:   *)
                   6818:     case $LD in # libtool.m4 will add one of these switches to LD
                   6819:     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
                   6820:     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
                   6821:     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   6822:     *) libsuff= shlibsuff= libmagic=never-match;;
                   6823:     esac
                   6824:     ;;
                   6825:   esac
                   6826:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   6827:   shlibpath_overrides_runpath=no
                   6828:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   6829:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   6830:   ;;
                   6831: 
                   6832: # No shared lib support for Linux oldld, aout, or coff.
                   6833: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
                   6834:   dynamic_linker=no
                   6835:   ;;
                   6836: 
                   6837: # This must be Linux ELF.
                   6838: linux-gnu*)
                   6839:   version_type=linux
                   6840:   need_lib_prefix=no
                   6841:   need_version=no
                   6842:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6843:   soname_spec='${libname}${release}.so$major'
                   6844:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   6845:   shlibpath_var=LD_LIBRARY_PATH
                   6846:   shlibpath_overrides_runpath=no
                   6847:   # This implies no fast_install, which is unacceptable.
                   6848:   # Some rework will be needed to allow for fast_install
                   6849:   # before this can be enabled.
                   6850:   hardcode_into_libs=yes
                   6851: 
                   6852:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   6853:   # powerpc, because MkLinux only supported shared libraries with the
                   6854:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   6855:   # most powerpc-linux boxes support dynamic linking these days and
                   6856:   # people can always --disable-shared, the test was removed, and we
                   6857:   # assume the GNU/Linux dynamic linker is in use.
                   6858:   dynamic_linker='GNU/Linux ld.so'
                   6859:   ;;
                   6860: 
                   6861: netbsd*)
                   6862:   version_type=sunos
                   6863:   need_lib_prefix=no
                   6864:   need_version=no
                   6865:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6866:     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6867:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6868:     dynamic_linker='NetBSD (a.out) ld.so'
                   6869:   else
                   6870:     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
                   6871:     soname_spec='${libname}${release}.so$major'
                   6872:     dynamic_linker='NetBSD ld.elf_so'
                   6873:   fi
                   6874:   shlibpath_var=LD_LIBRARY_PATH
                   6875:   shlibpath_overrides_runpath=yes
                   6876:   hardcode_into_libs=yes
                   6877:   ;;
                   6878: 
                   6879: newsos6)
                   6880:   version_type=linux
                   6881:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6882:   shlibpath_var=LD_LIBRARY_PATH
                   6883:   shlibpath_overrides_runpath=yes
                   6884:   ;;
                   6885: 
                   6886: openbsd*)
                   6887:   version_type=sunos
                   6888:   need_lib_prefix=no
                   6889:   need_version=no
                   6890:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6891:     case "$host_os" in
                   6892:     openbsd2.[89] | openbsd2.[89].*)
                   6893:       shlibpath_overrides_runpath=no
                   6894:       ;;
                   6895:     *)
                   6896:       shlibpath_overrides_runpath=yes
                   6897:       ;;
                   6898:     esac
                   6899:   else
                   6900:     shlibpath_overrides_runpath=yes
                   6901:   fi
                   6902:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6903:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6904:   shlibpath_var=LD_LIBRARY_PATH
                   6905:   ;;
                   6906: 
                   6907: os2*)
                   6908:   libname_spec='$name'
                   6909:   need_lib_prefix=no
                   6910:   library_names_spec='$libname.dll $libname.a'
                   6911:   dynamic_linker='OS/2 ld.exe'
                   6912:   shlibpath_var=LIBPATH
                   6913:   ;;
                   6914: 
                   6915: osf3* | osf4* | osf5*)
                   6916:   version_type=osf
                   6917:   need_version=no
                   6918:   soname_spec='${libname}${release}.so$major'
                   6919:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6920:   shlibpath_var=LD_LIBRARY_PATH
                   6921:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   6922:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   6923:   hardcode_into_libs=yes
                   6924:   ;;
                   6925: 
                   6926: sco3.2v5*)
                   6927:   version_type=osf
                   6928:   soname_spec='${libname}${release}.so$major'
                   6929:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6930:   shlibpath_var=LD_LIBRARY_PATH
                   6931:   ;;
                   6932: 
                   6933: solaris*)
                   6934:   version_type=linux
                   6935:   need_lib_prefix=no
                   6936:   need_version=no
                   6937:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6938:   soname_spec='${libname}${release}.so$major'
                   6939:   shlibpath_var=LD_LIBRARY_PATH
                   6940:   shlibpath_overrides_runpath=yes
                   6941:   hardcode_into_libs=yes
                   6942:   # ldd complains unless libraries are executable
                   6943:   postinstall_cmds='chmod +x $lib'
                   6944:   ;;
                   6945: 
                   6946: sunos4*)
                   6947:   version_type=sunos
                   6948:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6949:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   6950:   shlibpath_var=LD_LIBRARY_PATH
                   6951:   shlibpath_overrides_runpath=yes
                   6952:   if test "$with_gnu_ld" = yes; then
                   6953:     need_lib_prefix=no
                   6954:   fi
                   6955:   need_version=yes
                   6956:   ;;
                   6957: 
                   6958: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   6959:   version_type=linux
                   6960:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6961:   soname_spec='${libname}${release}.so$major'
                   6962:   shlibpath_var=LD_LIBRARY_PATH
                   6963:   case $host_vendor in
                   6964:     sni)
                   6965:       shlibpath_overrides_runpath=no
                   6966:       need_lib_prefix=no
                   6967:       export_dynamic_flag_spec='${wl}-Blargedynsym'
                   6968:       runpath_var=LD_RUN_PATH
                   6969:       ;;
                   6970:     siemens)
                   6971:       need_lib_prefix=no
                   6972:       ;;
                   6973:     motorola)
                   6974:       need_lib_prefix=no
                   6975:       need_version=no
                   6976:       shlibpath_overrides_runpath=no
                   6977:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   6978:       ;;
                   6979:   esac
                   6980:   ;;
                   6981: 
                   6982: uts4*)
                   6983:   version_type=linux
                   6984:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6985:   soname_spec='${libname}${release}.so$major'
                   6986:   shlibpath_var=LD_LIBRARY_PATH
                   6987:   ;;
                   6988: 
                   6989: dgux*)
                   6990:   version_type=linux
                   6991:   need_lib_prefix=no
                   6992:   need_version=no
                   6993:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6994:   soname_spec='${libname}${release}.so$major'
                   6995:   shlibpath_var=LD_LIBRARY_PATH
                   6996:   ;;
                   6997: 
                   6998: sysv4*MP*)
                   6999:   if test -d /usr/nec ;then
                   7000:     version_type=linux
                   7001:     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
                   7002:     soname_spec='$libname.so.$major'
                   7003:     shlibpath_var=LD_LIBRARY_PATH
                   7004:   fi
                   7005:   ;;
                   7006: 
                   7007: *)
                   7008:   dynamic_linker=no
                   7009:   ;;
                   7010: esac
                   7011: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   7012: echo "${ECHO_T}$dynamic_linker" >&6
                   7013: test "$dynamic_linker" = no && can_build_shared=no
                   7014: 
                   7015: # Report the final consequences.
                   7016: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   7017: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   7018: echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   7019: echo "${ECHO_T}$can_build_shared" >&6
                   7020: 
                   7021: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   7022: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   7023: test "$can_build_shared" = "no" && enable_shared=no
                   7024: 
                   7025: # On AIX, shared libraries and static libraries use the same namespace, and
                   7026: # are all built from PIC.
                   7027: case "$host_os" in
                   7028: aix3*)
                   7029:   test "$enable_shared" = yes && enable_static=no
                   7030:   if test -n "$RANLIB"; then
                   7031:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   7032:     postinstall_cmds='$RANLIB $lib'
                   7033:   fi
                   7034:   ;;
                   7035: 
                   7036: aix4*)
                   7037:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   7038:     test "$enable_shared" = yes && enable_static=no
                   7039:   fi
                   7040:   ;;
                   7041: esac
                   7042: echo "$as_me:$LINENO: result: $enable_shared" >&5
                   7043: echo "${ECHO_T}$enable_shared" >&6
                   7044: 
                   7045: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   7046: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   7047: # Make sure either enable_shared or enable_static is yes.
                   7048: test "$enable_shared" = yes || enable_static=yes
                   7049: echo "$as_me:$LINENO: result: $enable_static" >&5
                   7050: echo "${ECHO_T}$enable_static" >&6
                   7051: 
                   7052: if test "$hardcode_action" = relink; then
                   7053:   # Fast installation is not supported
                   7054:   enable_fast_install=no
                   7055: elif test "$shlibpath_overrides_runpath" = yes ||
                   7056:      test "$enable_shared" = no; then
                   7057:   # Fast installation is not necessary
                   7058:   enable_fast_install=needless
                   7059: fi
                   7060: 
                   7061: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   7062: if test "$GCC" = yes; then
                   7063:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   7064: fi
                   7065: 
                   7066: if test "x$enable_dlopen" != xyes; then
                   7067:   enable_dlopen=unknown
                   7068:   enable_dlopen_self=unknown
                   7069:   enable_dlopen_self_static=unknown
                   7070: else
                   7071:   lt_cv_dlopen=no
                   7072:   lt_cv_dlopen_libs=
                   7073: 
                   7074:   case $host_os in
                   7075:   beos*)
                   7076:     lt_cv_dlopen="load_add_on"
                   7077:     lt_cv_dlopen_libs=
                   7078:     lt_cv_dlopen_self=yes
                   7079:     ;;
                   7080: 
                   7081:   cygwin* | mingw* | pw32*)
                   7082:     lt_cv_dlopen="LoadLibrary"
                   7083:     lt_cv_dlopen_libs=
                   7084:    ;;
                   7085: 
                   7086:   *)
                   7087:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   7088: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   7089: if test "${ac_cv_func_shl_load+set}" = set; then
                   7090:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7091: else
                   7092:   cat >conftest.$ac_ext <<_ACEOF
                   7093: #line $LINENO "configure"
                   7094: /* confdefs.h.  */
                   7095: _ACEOF
                   7096: cat confdefs.h >>conftest.$ac_ext
                   7097: cat >>conftest.$ac_ext <<_ACEOF
                   7098: /* end confdefs.h.  */
                   7099: /* System header to define __stub macros and hopefully few prototypes,
                   7100:     which can conflict with char shl_load (); below.
                   7101:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7102:     <limits.h> exists even on freestanding compilers.  */
                   7103: #ifdef __STDC__
                   7104: # include <limits.h>
                   7105: #else
                   7106: # include <assert.h>
                   7107: #endif
                   7108: /* Override any gcc2 internal prototype to avoid an error.  */
                   7109: #ifdef __cplusplus
                   7110: extern "C"
                   7111: {
                   7112: #endif
                   7113: /* We use char because int might match the return type of a gcc2
                   7114:    builtin and then its argument prototype would still apply.  */
                   7115: char shl_load ();
                   7116: /* The GNU C library defines this for functions which it implements
                   7117:     to always fail with ENOSYS.  Some functions are actually named
                   7118:     something starting with __ and the normal name is an alias.  */
                   7119: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   7120: choke me
                   7121: #else
                   7122: char (*f) () = shl_load;
                   7123: #endif
                   7124: #ifdef __cplusplus
                   7125: }
                   7126: #endif
                   7127: 
                   7128: int
                   7129: main ()
                   7130: {
                   7131: return f != shl_load;
                   7132:   ;
                   7133:   return 0;
                   7134: }
                   7135: _ACEOF
                   7136: rm -f conftest.$ac_objext conftest$ac_exeext
                   7137: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7138:   (eval $ac_link) 2>&5
                   7139:   ac_status=$?
                   7140:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7141:   (exit $ac_status); } &&
                   7142:          { ac_try='test -s conftest$ac_exeext'
                   7143:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7144:   (eval $ac_try) 2>&5
                   7145:   ac_status=$?
                   7146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7147:   (exit $ac_status); }; }; then
                   7148:   ac_cv_func_shl_load=yes
                   7149: else
                   7150:   echo "$as_me: failed program was:" >&5
                   7151: sed 's/^/| /' conftest.$ac_ext >&5
                   7152: 
                   7153: ac_cv_func_shl_load=no
                   7154: fi
                   7155: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7156: fi
                   7157: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   7158: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   7159: if test $ac_cv_func_shl_load = yes; then
                   7160:   lt_cv_dlopen="shl_load"
                   7161: else
                   7162:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   7163: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   7164: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   7165:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7166: else
                   7167:   ac_check_lib_save_LIBS=$LIBS
                   7168: LIBS="-ldld  $LIBS"
                   7169: cat >conftest.$ac_ext <<_ACEOF
                   7170: #line $LINENO "configure"
                   7171: /* confdefs.h.  */
                   7172: _ACEOF
                   7173: cat confdefs.h >>conftest.$ac_ext
                   7174: cat >>conftest.$ac_ext <<_ACEOF
                   7175: /* end confdefs.h.  */
                   7176: 
                   7177: /* Override any gcc2 internal prototype to avoid an error.  */
                   7178: #ifdef __cplusplus
                   7179: extern "C"
                   7180: #endif
                   7181: /* We use char because int might match the return type of a gcc2
                   7182:    builtin and then its argument prototype would still apply.  */
                   7183: char shl_load ();
                   7184: int
                   7185: main ()
                   7186: {
                   7187: shl_load ();
                   7188:   ;
                   7189:   return 0;
                   7190: }
                   7191: _ACEOF
                   7192: rm -f conftest.$ac_objext conftest$ac_exeext
                   7193: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7194:   (eval $ac_link) 2>&5
                   7195:   ac_status=$?
                   7196:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7197:   (exit $ac_status); } &&
                   7198:          { ac_try='test -s conftest$ac_exeext'
                   7199:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7200:   (eval $ac_try) 2>&5
                   7201:   ac_status=$?
                   7202:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7203:   (exit $ac_status); }; }; then
                   7204:   ac_cv_lib_dld_shl_load=yes
                   7205: else
                   7206:   echo "$as_me: failed program was:" >&5
                   7207: sed 's/^/| /' conftest.$ac_ext >&5
                   7208: 
                   7209: ac_cv_lib_dld_shl_load=no
                   7210: fi
                   7211: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7212: LIBS=$ac_check_lib_save_LIBS
                   7213: fi
                   7214: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   7215: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   7216: if test $ac_cv_lib_dld_shl_load = yes; then
                   7217:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
                   7218: else
                   7219:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   7220: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   7221: if test "${ac_cv_func_dlopen+set}" = set; then
                   7222:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7223: else
                   7224:   cat >conftest.$ac_ext <<_ACEOF
                   7225: #line $LINENO "configure"
                   7226: /* confdefs.h.  */
                   7227: _ACEOF
                   7228: cat confdefs.h >>conftest.$ac_ext
                   7229: cat >>conftest.$ac_ext <<_ACEOF
                   7230: /* end confdefs.h.  */
                   7231: /* System header to define __stub macros and hopefully few prototypes,
                   7232:     which can conflict with char dlopen (); below.
                   7233:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7234:     <limits.h> exists even on freestanding compilers.  */
                   7235: #ifdef __STDC__
                   7236: # include <limits.h>
                   7237: #else
                   7238: # include <assert.h>
                   7239: #endif
                   7240: /* Override any gcc2 internal prototype to avoid an error.  */
                   7241: #ifdef __cplusplus
                   7242: extern "C"
                   7243: {
                   7244: #endif
                   7245: /* We use char because int might match the return type of a gcc2
                   7246:    builtin and then its argument prototype would still apply.  */
                   7247: char dlopen ();
                   7248: /* The GNU C library defines this for functions which it implements
                   7249:     to always fail with ENOSYS.  Some functions are actually named
                   7250:     something starting with __ and the normal name is an alias.  */
                   7251: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   7252: choke me
                   7253: #else
                   7254: char (*f) () = dlopen;
                   7255: #endif
                   7256: #ifdef __cplusplus
                   7257: }
                   7258: #endif
                   7259: 
                   7260: int
                   7261: main ()
                   7262: {
                   7263: return f != dlopen;
                   7264:   ;
                   7265:   return 0;
                   7266: }
                   7267: _ACEOF
                   7268: rm -f conftest.$ac_objext conftest$ac_exeext
                   7269: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7270:   (eval $ac_link) 2>&5
                   7271:   ac_status=$?
                   7272:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7273:   (exit $ac_status); } &&
                   7274:          { ac_try='test -s conftest$ac_exeext'
                   7275:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7276:   (eval $ac_try) 2>&5
                   7277:   ac_status=$?
                   7278:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7279:   (exit $ac_status); }; }; then
                   7280:   ac_cv_func_dlopen=yes
                   7281: else
                   7282:   echo "$as_me: failed program was:" >&5
                   7283: sed 's/^/| /' conftest.$ac_ext >&5
                   7284: 
                   7285: ac_cv_func_dlopen=no
                   7286: fi
                   7287: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7288: fi
                   7289: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   7290: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   7291: if test $ac_cv_func_dlopen = yes; then
                   7292:   lt_cv_dlopen="dlopen"
                   7293: else
                   7294:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   7295: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   7296: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   7297:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7298: else
                   7299:   ac_check_lib_save_LIBS=$LIBS
                   7300: LIBS="-ldl  $LIBS"
                   7301: cat >conftest.$ac_ext <<_ACEOF
                   7302: #line $LINENO "configure"
                   7303: /* confdefs.h.  */
                   7304: _ACEOF
                   7305: cat confdefs.h >>conftest.$ac_ext
                   7306: cat >>conftest.$ac_ext <<_ACEOF
                   7307: /* end confdefs.h.  */
                   7308: 
                   7309: /* Override any gcc2 internal prototype to avoid an error.  */
                   7310: #ifdef __cplusplus
                   7311: extern "C"
                   7312: #endif
                   7313: /* We use char because int might match the return type of a gcc2
                   7314:    builtin and then its argument prototype would still apply.  */
                   7315: char dlopen ();
                   7316: int
                   7317: main ()
                   7318: {
                   7319: dlopen ();
                   7320:   ;
                   7321:   return 0;
                   7322: }
                   7323: _ACEOF
                   7324: rm -f conftest.$ac_objext conftest$ac_exeext
                   7325: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7326:   (eval $ac_link) 2>&5
                   7327:   ac_status=$?
                   7328:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7329:   (exit $ac_status); } &&
                   7330:          { ac_try='test -s conftest$ac_exeext'
                   7331:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7332:   (eval $ac_try) 2>&5
                   7333:   ac_status=$?
                   7334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7335:   (exit $ac_status); }; }; then
                   7336:   ac_cv_lib_dl_dlopen=yes
                   7337: else
                   7338:   echo "$as_me: failed program was:" >&5
                   7339: sed 's/^/| /' conftest.$ac_ext >&5
                   7340: 
                   7341: ac_cv_lib_dl_dlopen=no
                   7342: fi
                   7343: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7344: LIBS=$ac_check_lib_save_LIBS
                   7345: fi
                   7346: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   7347: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   7348: if test $ac_cv_lib_dl_dlopen = yes; then
                   7349:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   7350: else
                   7351:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   7352: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   7353: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   7354:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7355: else
                   7356:   ac_check_lib_save_LIBS=$LIBS
                   7357: LIBS="-lsvld  $LIBS"
                   7358: cat >conftest.$ac_ext <<_ACEOF
                   7359: #line $LINENO "configure"
                   7360: /* confdefs.h.  */
                   7361: _ACEOF
                   7362: cat confdefs.h >>conftest.$ac_ext
                   7363: cat >>conftest.$ac_ext <<_ACEOF
                   7364: /* end confdefs.h.  */
                   7365: 
                   7366: /* Override any gcc2 internal prototype to avoid an error.  */
                   7367: #ifdef __cplusplus
                   7368: extern "C"
                   7369: #endif
                   7370: /* We use char because int might match the return type of a gcc2
                   7371:    builtin and then its argument prototype would still apply.  */
                   7372: char dlopen ();
                   7373: int
                   7374: main ()
                   7375: {
                   7376: dlopen ();
                   7377:   ;
                   7378:   return 0;
                   7379: }
                   7380: _ACEOF
                   7381: rm -f conftest.$ac_objext conftest$ac_exeext
                   7382: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7383:   (eval $ac_link) 2>&5
                   7384:   ac_status=$?
                   7385:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7386:   (exit $ac_status); } &&
                   7387:          { ac_try='test -s conftest$ac_exeext'
                   7388:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7389:   (eval $ac_try) 2>&5
                   7390:   ac_status=$?
                   7391:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7392:   (exit $ac_status); }; }; then
                   7393:   ac_cv_lib_svld_dlopen=yes
                   7394: else
                   7395:   echo "$as_me: failed program was:" >&5
                   7396: sed 's/^/| /' conftest.$ac_ext >&5
                   7397: 
                   7398: ac_cv_lib_svld_dlopen=no
                   7399: fi
                   7400: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7401: LIBS=$ac_check_lib_save_LIBS
                   7402: fi
                   7403: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   7404: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   7405: if test $ac_cv_lib_svld_dlopen = yes; then
                   7406:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   7407: else
                   7408:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   7409: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   7410: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   7411:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7412: else
                   7413:   ac_check_lib_save_LIBS=$LIBS
                   7414: LIBS="-ldld  $LIBS"
                   7415: cat >conftest.$ac_ext <<_ACEOF
                   7416: #line $LINENO "configure"
                   7417: /* confdefs.h.  */
                   7418: _ACEOF
                   7419: cat confdefs.h >>conftest.$ac_ext
                   7420: cat >>conftest.$ac_ext <<_ACEOF
                   7421: /* end confdefs.h.  */
                   7422: 
                   7423: /* Override any gcc2 internal prototype to avoid an error.  */
                   7424: #ifdef __cplusplus
                   7425: extern "C"
                   7426: #endif
                   7427: /* We use char because int might match the return type of a gcc2
                   7428:    builtin and then its argument prototype would still apply.  */
                   7429: char dld_link ();
                   7430: int
                   7431: main ()
                   7432: {
                   7433: dld_link ();
                   7434:   ;
                   7435:   return 0;
                   7436: }
                   7437: _ACEOF
                   7438: rm -f conftest.$ac_objext conftest$ac_exeext
                   7439: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7440:   (eval $ac_link) 2>&5
                   7441:   ac_status=$?
                   7442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7443:   (exit $ac_status); } &&
                   7444:          { ac_try='test -s conftest$ac_exeext'
                   7445:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7446:   (eval $ac_try) 2>&5
                   7447:   ac_status=$?
                   7448:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7449:   (exit $ac_status); }; }; then
                   7450:   ac_cv_lib_dld_dld_link=yes
                   7451: else
                   7452:   echo "$as_me: failed program was:" >&5
                   7453: sed 's/^/| /' conftest.$ac_ext >&5
                   7454: 
                   7455: ac_cv_lib_dld_dld_link=no
                   7456: fi
                   7457: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7458: LIBS=$ac_check_lib_save_LIBS
                   7459: fi
                   7460: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   7461: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   7462: if test $ac_cv_lib_dld_dld_link = yes; then
                   7463:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
                   7464: fi
                   7465: 
                   7466: 
                   7467: fi
                   7468: 
                   7469: 
                   7470: fi
                   7471: 
                   7472: 
                   7473: fi
                   7474: 
                   7475: 
                   7476: fi
                   7477: 
                   7478: 
                   7479: fi
                   7480: 
                   7481:     ;;
                   7482:   esac
                   7483: 
                   7484:   if test "x$lt_cv_dlopen" != xno; then
                   7485:     enable_dlopen=yes
                   7486:   else
                   7487:     enable_dlopen=no
                   7488:   fi
                   7489: 
                   7490:   case $lt_cv_dlopen in
                   7491:   dlopen)
                   7492:     save_CPPFLAGS="$CPPFLAGS"
                   7493:         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   7494: 
                   7495:     save_LDFLAGS="$LDFLAGS"
                   7496:     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   7497: 
                   7498:     save_LIBS="$LIBS"
                   7499:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   7500: 
                   7501:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   7502: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   7503: if test "${lt_cv_dlopen_self+set}" = set; then
                   7504:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7505: else
                   7506:          if test "$cross_compiling" = yes; then :
                   7507:   lt_cv_dlopen_self=cross
                   7508: else
                   7509:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7510:   lt_status=$lt_dlunknown
                   7511:   cat > conftest.$ac_ext <<EOF
1.15    ! paf      7512: #line 7512 "configure"
1.10      paf      7513: #include "confdefs.h"
                   7514: 
                   7515: #if HAVE_DLFCN_H
                   7516: #include <dlfcn.h>
                   7517: #endif
                   7518: 
                   7519: #include <stdio.h>
                   7520: 
                   7521: #ifdef RTLD_GLOBAL
                   7522: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7523: #else
                   7524: #  ifdef DL_GLOBAL
                   7525: #    define LT_DLGLOBAL                DL_GLOBAL
                   7526: #  else
                   7527: #    define LT_DLGLOBAL                0
                   7528: #  endif
                   7529: #endif
                   7530: 
                   7531: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7532:    find out it does not work in some platform. */
                   7533: #ifndef LT_DLLAZY_OR_NOW
                   7534: #  ifdef RTLD_LAZY
                   7535: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   7536: #  else
                   7537: #    ifdef DL_LAZY
                   7538: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   7539: #    else
                   7540: #      ifdef RTLD_NOW
                   7541: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   7542: #      else
                   7543: #        ifdef DL_NOW
                   7544: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   7545: #        else
                   7546: #          define LT_DLLAZY_OR_NOW     0
                   7547: #        endif
                   7548: #      endif
                   7549: #    endif
                   7550: #  endif
                   7551: #endif
                   7552: 
                   7553: #ifdef __cplusplus
                   7554: extern "C" void exit (int);
                   7555: #endif
                   7556: 
                   7557: void fnord() { int i=42;}
                   7558: int main ()
                   7559: {
                   7560:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   7561:   int status = $lt_dlunknown;
                   7562: 
                   7563:   if (self)
                   7564:     {
                   7565:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   7566:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   7567:       /* dlclose (self); */
                   7568:     }
                   7569: 
                   7570:     exit (status);
                   7571: }
                   7572: EOF
                   7573:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7574:   (eval $ac_link) 2>&5
                   7575:   ac_status=$?
                   7576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7577:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   7578:     (./conftest; exit; ) 2>/dev/null
                   7579:     lt_status=$?
                   7580:     case x$lt_status in
                   7581:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   7582:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   7583:       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
                   7584:     esac
                   7585:   else :
                   7586:     # compilation failed
                   7587:     lt_cv_dlopen_self=no
                   7588:   fi
                   7589: fi
                   7590: rm -fr conftest*
                   7591: 
                   7592: 
                   7593: fi
                   7594: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   7595: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   7596: 
                   7597:     if test "x$lt_cv_dlopen_self" = xyes; then
                   7598:       LDFLAGS="$LDFLAGS $link_static_flag"
                   7599:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   7600: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   7601: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   7602:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7603: else
                   7604:          if test "$cross_compiling" = yes; then :
                   7605:   lt_cv_dlopen_self_static=cross
                   7606: else
                   7607:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7608:   lt_status=$lt_dlunknown
                   7609:   cat > conftest.$ac_ext <<EOF
1.15    ! paf      7610: #line 7610 "configure"
1.10      paf      7611: #include "confdefs.h"
                   7612: 
                   7613: #if HAVE_DLFCN_H
                   7614: #include <dlfcn.h>
                   7615: #endif
                   7616: 
                   7617: #include <stdio.h>
                   7618: 
                   7619: #ifdef RTLD_GLOBAL
                   7620: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7621: #else
                   7622: #  ifdef DL_GLOBAL
                   7623: #    define LT_DLGLOBAL                DL_GLOBAL
                   7624: #  else
                   7625: #    define LT_DLGLOBAL                0
                   7626: #  endif
                   7627: #endif
                   7628: 
                   7629: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7630:    find out it does not work in some platform. */
                   7631: #ifndef LT_DLLAZY_OR_NOW
                   7632: #  ifdef RTLD_LAZY
                   7633: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   7634: #  else
                   7635: #    ifdef DL_LAZY
                   7636: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   7637: #    else
                   7638: #      ifdef RTLD_NOW
                   7639: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   7640: #      else
                   7641: #        ifdef DL_NOW
                   7642: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   7643: #        else
                   7644: #          define LT_DLLAZY_OR_NOW     0
                   7645: #        endif
                   7646: #      endif
                   7647: #    endif
                   7648: #  endif
                   7649: #endif
                   7650: 
                   7651: #ifdef __cplusplus
                   7652: extern "C" void exit (int);
                   7653: #endif
                   7654: 
                   7655: void fnord() { int i=42;}
                   7656: int main ()
                   7657: {
                   7658:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   7659:   int status = $lt_dlunknown;
                   7660: 
                   7661:   if (self)
                   7662:     {
                   7663:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   7664:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   7665:       /* dlclose (self); */
                   7666:     }
                   7667: 
                   7668:     exit (status);
                   7669: }
1.1       parser   7670: EOF
1.10      paf      7671:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7672:   (eval $ac_link) 2>&5
                   7673:   ac_status=$?
                   7674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7675:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   7676:     (./conftest; exit; ) 2>/dev/null
                   7677:     lt_status=$?
                   7678:     case x$lt_status in
                   7679:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   7680:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   7681:       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
                   7682:     esac
                   7683:   else :
                   7684:     # compilation failed
                   7685:     lt_cv_dlopen_self_static=no
                   7686:   fi
                   7687: fi
                   7688: rm -fr conftest*
                   7689: 
                   7690: 
                   7691: fi
                   7692: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   7693: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   7694:     fi
                   7695: 
                   7696:     CPPFLAGS="$save_CPPFLAGS"
                   7697:     LDFLAGS="$save_LDFLAGS"
                   7698:     LIBS="$save_LIBS"
                   7699:     ;;
                   7700:   esac
                   7701: 
                   7702:   case $lt_cv_dlopen_self in
                   7703:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   7704:   *) enable_dlopen_self=unknown ;;
                   7705:   esac
                   7706: 
                   7707:   case $lt_cv_dlopen_self_static in
                   7708:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   7709:   *) enable_dlopen_self_static=unknown ;;
                   7710:   esac
                   7711: fi
                   7712: 
                   7713: 
                   7714: if test "$enable_shared" = yes && test "$GCC" = yes; then
                   7715:   case $archive_cmds in
                   7716:   *'~'*)
                   7717:     # FIXME: we may have to deal with multi-command sequences.
                   7718:     ;;
                   7719:   '$CC '*)
                   7720:     # Test whether the compiler implicitly links with -lc since on some
                   7721:     # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   7722:     # to ld, don't add -lc before -lgcc.
                   7723:     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   7724: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   7725:     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   7726:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7727: else
                   7728:   $rm conftest*
                   7729:     echo 'static int dummy;' > conftest.$ac_ext
                   7730: 
                   7731:     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7732:   (eval $ac_compile) 2>&5
                   7733:   ac_status=$?
                   7734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7735:   (exit $ac_status); }; then
                   7736:       soname=conftest
                   7737:       lib=conftest
                   7738:       libobjs=conftest.$ac_objext
                   7739:       deplibs=
                   7740:       wl=$lt_cv_prog_cc_wl
                   7741:       compiler_flags=-v
                   7742:       linker_flags=-v
                   7743:       verstring=
                   7744:       output_objdir=.
                   7745:       libname=conftest
                   7746:       save_allow_undefined_flag=$allow_undefined_flag
                   7747:       allow_undefined_flag=
                   7748:       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   7749:   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   7750:   ac_status=$?
                   7751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7752:   (exit $ac_status); }
                   7753:       then
                   7754:        lt_cv_archive_cmds_need_lc=no
                   7755:       else
                   7756:        lt_cv_archive_cmds_need_lc=yes
                   7757:       fi
                   7758:       allow_undefined_flag=$save_allow_undefined_flag
                   7759:     else
                   7760:       cat conftest.err 1>&5
                   7761:     fi
                   7762: fi
                   7763: 
                   7764:     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   7765: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   7766:     ;;
                   7767:   esac
                   7768: fi
                   7769: need_lc=${lt_cv_archive_cmds_need_lc-yes}
                   7770: 
                   7771: # The second clause should only fire when bootstrapping the
                   7772: # libtool distribution, otherwise you forgot to ship ltmain.sh
                   7773: # with your package, and you will get complaints that there are
                   7774: # no rules to generate ltmain.sh.
                   7775: if test -f "$ltmain"; then
1.1       parser   7776:   :
                   7777: else
1.10      paf      7778:   # If there is no Makefile yet, we rely on a make rule to execute
                   7779:   # `config.status --recheck' to rerun these tests and create the
                   7780:   # libtool script then.
                   7781:   test -f Makefile && make "$ltmain"
                   7782: fi
                   7783: 
                   7784: if test -f "$ltmain"; then
                   7785:   trap "$rm \"${ofile}T\"; exit 1" 1 2 15
                   7786:   $rm -f "${ofile}T"
                   7787: 
                   7788:   echo creating $ofile
                   7789: 
                   7790:   # Now quote all the things that may contain metacharacters while being
                   7791:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
                   7792:   # variables and quote the copies for generation of the libtool script.
                   7793:   for var in echo old_CC old_CFLAGS SED \
                   7794:     AR AR_FLAGS CC LD LN_S NM SHELL \
                   7795:     reload_flag reload_cmds wl \
                   7796:     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
                   7797:     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
                   7798:     library_names_spec soname_spec \
                   7799:     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
                   7800:     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
                   7801:     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
                   7802:     old_striplib striplib file_magic_cmd export_symbols_cmds \
                   7803:     deplibs_check_method allow_undefined_flag no_undefined_flag \
                   7804:     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
                   7805:     global_symbol_to_c_name_address \
                   7806:     hardcode_libdir_flag_spec hardcode_libdir_separator  \
                   7807:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
                   7808:     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
                   7809: 
                   7810:     case $var in
                   7811:     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
                   7812:     old_postinstall_cmds | old_postuninstall_cmds | \
                   7813:     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
                   7814:     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
                   7815:     postinstall_cmds | postuninstall_cmds | \
                   7816:     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
                   7817:       # Double-quote double-evaled strings.
                   7818:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
                   7819:       ;;
                   7820:     *)
                   7821:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
                   7822:       ;;
                   7823:     esac
                   7824:   done
                   7825: 
                   7826:   cat <<__EOF__ > "${ofile}T"
                   7827: #! $SHELL
                   7828: 
                   7829: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   7830: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
                   7831: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   7832: #
                   7833: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
                   7834: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
                   7835: #
                   7836: # This program is free software; you can redistribute it and/or modify
                   7837: # it under the terms of the GNU General Public License as published by
                   7838: # the Free Software Foundation; either version 2 of the License, or
                   7839: # (at your option) any later version.
                   7840: #
                   7841: # This program is distributed in the hope that it will be useful, but
                   7842: # WITHOUT ANY WARRANTY; without even the implied warranty of
                   7843: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                   7844: # General Public License for more details.
                   7845: #
                   7846: # You should have received a copy of the GNU General Public License
                   7847: # along with this program; if not, write to the Free Software
                   7848: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   7849: #
                   7850: # As a special exception to the GNU General Public License, if you
                   7851: # distribute this file as part of a program that contains a
                   7852: # configuration script generated by Autoconf, you may include it under
                   7853: # the same distribution terms that you use for the rest of that program.
                   7854: 
                   7855: # A sed that does not truncate output.
                   7856: SED=$lt_SED
                   7857: 
                   7858: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   7859: Xsed="${SED} -e s/^X//"
                   7860: 
                   7861: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   7862: # if CDPATH is set.
                   7863: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                   7864: 
                   7865: # ### BEGIN LIBTOOL CONFIG
                   7866: 
                   7867: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   7868: 
                   7869: # Shell to use when invoking shell scripts.
                   7870: SHELL=$lt_SHELL
                   7871: 
                   7872: # Whether or not to build shared libraries.
                   7873: build_libtool_libs=$enable_shared
                   7874: 
                   7875: # Whether or not to build static libraries.
                   7876: build_old_libs=$enable_static
                   7877: 
                   7878: # Whether or not to add -lc for building shared libraries.
                   7879: build_libtool_need_lc=$need_lc
                   7880: 
                   7881: # Whether or not to optimize for fast installation.
                   7882: fast_install=$enable_fast_install
                   7883: 
                   7884: # The host system.
                   7885: host_alias=$host_alias
                   7886: host=$host
                   7887: 
                   7888: # An echo program that does not interpret backslashes.
                   7889: echo=$lt_echo
                   7890: 
                   7891: # The archiver.
                   7892: AR=$lt_AR
                   7893: AR_FLAGS=$lt_AR_FLAGS
                   7894: 
                   7895: # The default C compiler.
                   7896: CC=$lt_CC
                   7897: 
                   7898: # Is the compiler the GNU C compiler?
                   7899: with_gcc=$GCC
                   7900: 
                   7901: # The linker used to build libraries.
                   7902: LD=$lt_LD
                   7903: 
                   7904: # Whether we need hard or soft links.
                   7905: LN_S=$lt_LN_S
                   7906: 
                   7907: # A BSD-compatible nm program.
                   7908: NM=$lt_NM
                   7909: 
                   7910: # A symbol stripping program
                   7911: STRIP=$STRIP
                   7912: 
                   7913: # Used to examine libraries when file_magic_cmd begins "file"
                   7914: MAGIC_CMD=$MAGIC_CMD
                   7915: 
                   7916: # Used on cygwin: DLL creation program.
                   7917: DLLTOOL="$DLLTOOL"
                   7918: 
                   7919: # Used on cygwin: object dumper.
                   7920: OBJDUMP="$OBJDUMP"
                   7921: 
                   7922: # Used on cygwin: assembler.
                   7923: AS="$AS"
                   7924: 
                   7925: # The name of the directory that contains temporary libtool files.
                   7926: objdir=$objdir
                   7927: 
                   7928: # How to create reloadable object files.
                   7929: reload_flag=$lt_reload_flag
                   7930: reload_cmds=$lt_reload_cmds
                   7931: 
                   7932: # How to pass a linker flag through the compiler.
                   7933: wl=$lt_wl
                   7934: 
                   7935: # Object file suffix (normally "o").
                   7936: objext="$ac_objext"
                   7937: 
                   7938: # Old archive suffix (normally "a").
                   7939: libext="$libext"
                   7940: 
                   7941: # Executable file suffix (normally "").
                   7942: exeext="$exeext"
                   7943: 
                   7944: # Additional compiler flags for building library objects.
                   7945: pic_flag=$lt_pic_flag
                   7946: pic_mode=$pic_mode
                   7947: 
                   7948: # Does compiler simultaneously support -c and -o options?
                   7949: compiler_c_o=$lt_compiler_c_o
                   7950: 
                   7951: # Can we write directly to a .lo ?
                   7952: compiler_o_lo=$lt_compiler_o_lo
                   7953: 
                   7954: # Must we lock files when doing compilation ?
                   7955: need_locks=$lt_need_locks
                   7956: 
                   7957: # Do we need the lib prefix for modules?
                   7958: need_lib_prefix=$need_lib_prefix
                   7959: 
                   7960: # Do we need a version for libraries?
                   7961: need_version=$need_version
                   7962: 
                   7963: # Whether dlopen is supported.
                   7964: dlopen_support=$enable_dlopen
                   7965: 
                   7966: # Whether dlopen of programs is supported.
                   7967: dlopen_self=$enable_dlopen_self
                   7968: 
                   7969: # Whether dlopen of statically linked programs is supported.
                   7970: dlopen_self_static=$enable_dlopen_self_static
                   7971: 
                   7972: # Compiler flag to prevent dynamic linking.
                   7973: link_static_flag=$lt_link_static_flag
                   7974: 
                   7975: # Compiler flag to turn off builtin functions.
                   7976: no_builtin_flag=$lt_no_builtin_flag
                   7977: 
                   7978: # Compiler flag to allow reflexive dlopens.
                   7979: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   7980: 
                   7981: # Compiler flag to generate shared objects directly from archives.
                   7982: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   7983: 
                   7984: # Compiler flag to generate thread-safe objects.
                   7985: thread_safe_flag_spec=$lt_thread_safe_flag_spec
                   7986: 
                   7987: # Library versioning type.
                   7988: version_type=$version_type
                   7989: 
                   7990: # Format of library name prefix.
                   7991: libname_spec=$lt_libname_spec
                   7992: 
                   7993: # List of archive names.  First name is the real one, the rest are links.
                   7994: # The last name is the one that the linker finds with -lNAME.
                   7995: library_names_spec=$lt_library_names_spec
                   7996: 
                   7997: # The coded name of the library, if different from the real name.
                   7998: soname_spec=$lt_soname_spec
                   7999: 
                   8000: # Commands used to build and install an old-style archive.
                   8001: RANLIB=$lt_RANLIB
                   8002: old_archive_cmds=$lt_old_archive_cmds
                   8003: old_postinstall_cmds=$lt_old_postinstall_cmds
                   8004: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   8005: 
                   8006: # Create an old-style archive from a shared archive.
                   8007: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   8008: 
                   8009: # Create a temporary old-style archive to link instead of a shared archive.
                   8010: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   8011: 
                   8012: # Commands used to build and install a shared archive.
                   8013: archive_cmds=$lt_archive_cmds
                   8014: archive_expsym_cmds=$lt_archive_expsym_cmds
                   8015: postinstall_cmds=$lt_postinstall_cmds
                   8016: postuninstall_cmds=$lt_postuninstall_cmds
                   8017: 
                   8018: # Commands to strip libraries.
                   8019: old_striplib=$lt_old_striplib
                   8020: striplib=$lt_striplib
                   8021: 
                   8022: # Method to check whether dependent libraries are shared objects.
                   8023: deplibs_check_method=$lt_deplibs_check_method
                   8024: 
                   8025: # Command to use when deplibs_check_method == file_magic.
                   8026: file_magic_cmd=$lt_file_magic_cmd
                   8027: 
                   8028: # Flag that allows shared libraries with undefined symbols to be built.
                   8029: allow_undefined_flag=$lt_allow_undefined_flag
                   8030: 
                   8031: # Flag that forces no undefined symbols.
                   8032: no_undefined_flag=$lt_no_undefined_flag
                   8033: 
                   8034: # Commands used to finish a libtool library installation in a directory.
                   8035: finish_cmds=$lt_finish_cmds
                   8036: 
                   8037: # Same as above, but a single script fragment to be evaled but not shown.
                   8038: finish_eval=$lt_finish_eval
                   8039: 
                   8040: # Take the output of nm and produce a listing of raw symbols and C names.
                   8041: global_symbol_pipe=$lt_global_symbol_pipe
                   8042: 
                   8043: # Transform the output of nm in a proper C declaration
                   8044: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
                   8045: 
                   8046: # Transform the output of nm in a C name address pair
                   8047: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
                   8048: 
                   8049: # This is the shared library runtime path variable.
                   8050: runpath_var=$runpath_var
                   8051: 
                   8052: # This is the shared library path variable.
                   8053: shlibpath_var=$shlibpath_var
                   8054: 
                   8055: # Is shlibpath searched before the hard-coded library search path?
                   8056: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   8057: 
                   8058: # How to hardcode a shared library path into an executable.
                   8059: hardcode_action=$hardcode_action
                   8060: 
                   8061: # Whether we should hardcode library paths into libraries.
                   8062: hardcode_into_libs=$hardcode_into_libs
                   8063: 
                   8064: # Flag to hardcode \$libdir into a binary during linking.
                   8065: # This must work even if \$libdir does not exist.
                   8066: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   8067: 
                   8068: # Whether we need a single -rpath flag with a separated argument.
                   8069: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   8070: 
                   8071: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
                   8072: # resulting binary.
                   8073: hardcode_direct=$hardcode_direct
                   8074: 
                   8075: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
                   8076: # resulting binary.
                   8077: hardcode_minus_L=$hardcode_minus_L
                   8078: 
                   8079: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
                   8080: # the resulting binary.
                   8081: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   8082: 
                   8083: # Variables whose values should be saved in libtool wrapper scripts and
                   8084: # restored at relink time.
                   8085: variables_saved_for_relink="$variables_saved_for_relink"
                   8086: 
                   8087: # Whether libtool must link a program against all its dependency libraries.
                   8088: link_all_deplibs=$link_all_deplibs
                   8089: 
                   8090: # Compile-time system search path for libraries
                   8091: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   8092: 
                   8093: # Run-time system search path for libraries
                   8094: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   8095: 
                   8096: # Fix the shell variable \$srcfile for the compiler.
                   8097: fix_srcfile_path="$fix_srcfile_path"
                   8098: 
                   8099: # Set to yes if exported symbols are required.
                   8100: always_export_symbols=$always_export_symbols
                   8101: 
                   8102: # The commands to list exported symbols.
                   8103: export_symbols_cmds=$lt_export_symbols_cmds
                   8104: 
                   8105: # The commands to extract the exported symbol list from a shared archive.
                   8106: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   8107: 
                   8108: # Symbols that should not be listed in the preloaded symbols.
                   8109: exclude_expsyms=$lt_exclude_expsyms
                   8110: 
                   8111: # Symbols that must always be exported.
                   8112: include_expsyms=$lt_include_expsyms
                   8113: 
                   8114: # ### END LIBTOOL CONFIG
                   8115: 
                   8116: __EOF__
                   8117: 
                   8118:   case $host_os in
                   8119:   aix3*)
                   8120:     cat <<\EOF >> "${ofile}T"
                   8121: 
                   8122: # AIX sometimes has problems with the GCC collect2 program.  For some
                   8123: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8124: # vanish in a puff of smoke.
                   8125: if test "X${COLLECT_NAMES+set}" != Xset; then
                   8126:   COLLECT_NAMES=
                   8127:   export COLLECT_NAMES
                   8128: fi
                   8129: EOF
                   8130:     ;;
                   8131:   esac
                   8132: 
                   8133:   case $host_os in
                   8134:   cygwin* | mingw* | pw32* | os2*)
                   8135:     cat <<'EOF' >> "${ofile}T"
                   8136:       # This is a source program that is used to create dlls on Windows
                   8137:       # Don't remove nor modify the starting and closing comments
                   8138: # /* ltdll.c starts here */
                   8139: # #define WIN32_LEAN_AND_MEAN
                   8140: # #include <windows.h>
                   8141: # #undef WIN32_LEAN_AND_MEAN
                   8142: # #include <stdio.h>
                   8143: #
                   8144: # #ifndef __CYGWIN__
                   8145: # #  ifdef __CYGWIN32__
                   8146: # #    define __CYGWIN__ __CYGWIN32__
                   8147: # #  endif
                   8148: # #endif
                   8149: #
                   8150: # #ifdef __cplusplus
                   8151: # extern "C" {
                   8152: # #endif
                   8153: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
                   8154: # #ifdef __cplusplus
                   8155: # }
                   8156: # #endif
                   8157: #
                   8158: # #ifdef __CYGWIN__
                   8159: # #include <cygwin/cygwin_dll.h>
                   8160: # DECLARE_CYGWIN_DLL( DllMain );
                   8161: # #endif
                   8162: # HINSTANCE __hDllInstance_base;
                   8163: #
                   8164: # BOOL APIENTRY
                   8165: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
                   8166: # {
                   8167: #   __hDllInstance_base = hInst;
                   8168: #   return TRUE;
                   8169: # }
                   8170: # /* ltdll.c ends here */
                   8171:        # This is a source program that is used to create import libraries
                   8172:        # on Windows for dlls which lack them. Don't remove nor modify the
                   8173:        # starting and closing comments
                   8174: # /* impgen.c starts here */
                   8175: # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
                   8176: #
                   8177: #  This file is part of GNU libtool.
                   8178: #
                   8179: #  This program is free software; you can redistribute it and/or modify
                   8180: #  it under the terms of the GNU General Public License as published by
                   8181: #  the Free Software Foundation; either version 2 of the License, or
                   8182: #  (at your option) any later version.
                   8183: #
                   8184: #  This program is distributed in the hope that it will be useful,
                   8185: #  but WITHOUT ANY WARRANTY; without even the implied warranty of
                   8186: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   8187: #  GNU General Public License for more details.
                   8188: #
                   8189: #  You should have received a copy of the GNU General Public License
                   8190: #  along with this program; if not, write to the Free Software
                   8191: #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   8192: #  */
                   8193: #
                   8194: # #include <stdio.h>           /* for printf() */
                   8195: # #include <unistd.h>          /* for open(), lseek(), read() */
                   8196: # #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
                   8197: # #include <string.h>          /* for strdup() */
                   8198: #
                   8199: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
                   8200: # #ifndef O_BINARY
                   8201: # #define O_BINARY 0
                   8202: # #endif
                   8203: #
                   8204: # static unsigned int
                   8205: # pe_get16 (fd, offset)
                   8206: #      int fd;
                   8207: #      int offset;
                   8208: # {
                   8209: #   unsigned char b[2];
                   8210: #   lseek (fd, offset, SEEK_SET);
                   8211: #   read (fd, b, 2);
                   8212: #   return b[0] + (b[1]<<8);
                   8213: # }
                   8214: #
                   8215: # static unsigned int
                   8216: # pe_get32 (fd, offset)
                   8217: #     int fd;
                   8218: #     int offset;
                   8219: # {
                   8220: #   unsigned char b[4];
                   8221: #   lseek (fd, offset, SEEK_SET);
                   8222: #   read (fd, b, 4);
                   8223: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   8224: # }
                   8225: #
                   8226: # static unsigned int
                   8227: # pe_as32 (ptr)
                   8228: #      void *ptr;
                   8229: # {
                   8230: #   unsigned char *b = ptr;
                   8231: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   8232: # }
                   8233: #
                   8234: # int
                   8235: # main (argc, argv)
                   8236: #     int argc;
                   8237: #     char *argv[];
                   8238: # {
                   8239: #     int dll;
                   8240: #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
                   8241: #     unsigned long export_rva, export_size, nsections, secptr, expptr;
                   8242: #     unsigned long name_rvas, nexp;
                   8243: #     unsigned char *expdata, *erva;
                   8244: #     char *filename, *dll_name;
                   8245: #
                   8246: #     filename = argv[1];
                   8247: #
                   8248: #     dll = open(filename, O_RDONLY|O_BINARY);
                   8249: #     if (dll < 1)
                   8250: #      return 1;
                   8251: #
                   8252: #     dll_name = filename;
                   8253: #
                   8254: #     for (i=0; filename[i]; i++)
                   8255: #      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
                   8256: #          dll_name = filename + i +1;
                   8257: #
                   8258: #     pe_header_offset = pe_get32 (dll, 0x3c);
                   8259: #     opthdr_ofs = pe_header_offset + 4 + 20;
                   8260: #     num_entries = pe_get32 (dll, opthdr_ofs + 92);
                   8261: #
                   8262: #     if (num_entries < 1) /* no exports */
                   8263: #      return 1;
                   8264: #
                   8265: #     export_rva = pe_get32 (dll, opthdr_ofs + 96);
                   8266: #     export_size = pe_get32 (dll, opthdr_ofs + 100);
                   8267: #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
                   8268: #     secptr = (pe_header_offset + 4 + 20 +
                   8269: #            pe_get16 (dll, pe_header_offset + 4 + 16));
                   8270: #
                   8271: #     expptr = 0;
                   8272: #     for (i = 0; i < nsections; i++)
                   8273: #     {
                   8274: #      char sname[8];
                   8275: #      unsigned long secptr1 = secptr + 40 * i;
                   8276: #      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
                   8277: #      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
                   8278: #      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
                   8279: #      lseek(dll, secptr1, SEEK_SET);
                   8280: #      read(dll, sname, 8);
                   8281: #      if (vaddr <= export_rva && vaddr+vsize > export_rva)
                   8282: #      {
                   8283: #          expptr = fptr + (export_rva - vaddr);
                   8284: #          if (export_rva + export_size > vaddr + vsize)
                   8285: #              export_size = vsize - (export_rva - vaddr);
                   8286: #          break;
                   8287: #      }
                   8288: #     }
                   8289: #
                   8290: #     expdata = (unsigned char*)malloc(export_size);
                   8291: #     lseek (dll, expptr, SEEK_SET);
                   8292: #     read (dll, expdata, export_size);
                   8293: #     erva = expdata - export_rva;
                   8294: #
                   8295: #     nexp = pe_as32 (expdata+24);
                   8296: #     name_rvas = pe_as32 (expdata+32);
                   8297: #
                   8298: #     printf ("EXPORTS\n");
                   8299: #     for (i = 0; i<nexp; i++)
                   8300: #     {
                   8301: #      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
                   8302: #      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
                   8303: #     }
                   8304: #
                   8305: #     return 0;
                   8306: # }
                   8307: # /* impgen.c ends here */
                   8308: 
                   8309: EOF
                   8310:     ;;
                   8311:   esac
                   8312: 
                   8313:   # We use sed instead of cat because bash on DJGPP gets confused if
                   8314:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   8315:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   8316:   # is reportedly fixed, but why not run on old versions too?
                   8317:   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
                   8318: 
                   8319:   mv -f "${ofile}T" "$ofile" || \
                   8320:     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
                   8321:   chmod +x "$ofile"
                   8322: fi
                   8323: 
                   8324: 
                   8325: 
                   8326: 
                   8327: 
                   8328: # This can be used to rebuild libtool when needed
                   8329: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
                   8330: 
                   8331: # Always use rootdir libtool.
                   8332: LIBTOOL="$ac_aux_dir/libtool"
                   8333: 
                   8334: # Prevent multiple expansion
                   8335: 
                   8336: 
                   8337: 
                   8338: 
                   8339: subdirs="$subdirs libltdl"
                   8340: 
                   8341: 
                   8342: 
                   8343: 
                   8344: 
                   8345: 
                   8346: 
                   8347: 
1.13      paf      8348: 
1.10      paf      8349: for ac_header in stdio.h \
                   8350: stdlib.h \
                   8351: string.h \
1.13      paf      8352: setjmp.h \
                   8353: ctype.h
1.10      paf      8354: 
                   8355: do
                   8356: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8357: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8358:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8359: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8360: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8361:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8362: fi
                   8363: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8364: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8365: else
                   8366:   # Is the header compilable?
                   8367: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   8368: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   8369: cat >conftest.$ac_ext <<_ACEOF
                   8370: #line $LINENO "configure"
                   8371: /* confdefs.h.  */
                   8372: _ACEOF
                   8373: cat confdefs.h >>conftest.$ac_ext
                   8374: cat >>conftest.$ac_ext <<_ACEOF
                   8375: /* end confdefs.h.  */
                   8376: $ac_includes_default
                   8377: #include <$ac_header>
                   8378: _ACEOF
                   8379: rm -f conftest.$ac_objext
                   8380: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8381:   (eval $ac_compile) 2>&5
                   8382:   ac_status=$?
                   8383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8384:   (exit $ac_status); } &&
                   8385:          { ac_try='test -s conftest.$ac_objext'
                   8386:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8387:   (eval $ac_try) 2>&5
                   8388:   ac_status=$?
                   8389:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8390:   (exit $ac_status); }; }; then
                   8391:   ac_header_compiler=yes
                   8392: else
                   8393:   echo "$as_me: failed program was:" >&5
                   8394: sed 's/^/| /' conftest.$ac_ext >&5
                   8395: 
                   8396: ac_header_compiler=no
                   8397: fi
                   8398: rm -f conftest.$ac_objext conftest.$ac_ext
                   8399: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   8400: echo "${ECHO_T}$ac_header_compiler" >&6
                   8401: 
                   8402: # Is the header present?
                   8403: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   8404: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   8405: cat >conftest.$ac_ext <<_ACEOF
                   8406: #line $LINENO "configure"
                   8407: /* confdefs.h.  */
                   8408: _ACEOF
                   8409: cat confdefs.h >>conftest.$ac_ext
                   8410: cat >>conftest.$ac_ext <<_ACEOF
                   8411: /* end confdefs.h.  */
                   8412: #include <$ac_header>
                   8413: _ACEOF
                   8414: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   8415:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   8416:   ac_status=$?
                   8417:   grep -v '^ *+' conftest.er1 >conftest.err
                   8418:   rm -f conftest.er1
                   8419:   cat conftest.err >&5
                   8420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8421:   (exit $ac_status); } >/dev/null; then
                   8422:   if test -s conftest.err; then
1.15    ! paf      8423:     ac_cpp_err=$ac_c_preproc_warn_flag
1.10      paf      8424:   else
                   8425:     ac_cpp_err=
                   8426:   fi
                   8427: else
                   8428:   ac_cpp_err=yes
                   8429: fi
                   8430: if test -z "$ac_cpp_err"; then
                   8431:   ac_header_preproc=yes
                   8432: else
                   8433:   echo "$as_me: failed program was:" >&5
                   8434: sed 's/^/| /' conftest.$ac_ext >&5
                   8435: 
                   8436:   ac_header_preproc=no
                   8437: fi
                   8438: rm -f conftest.err conftest.$ac_ext
                   8439: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   8440: echo "${ECHO_T}$ac_header_preproc" >&6
                   8441: 
                   8442: # So?  What about this header?
                   8443: case $ac_header_compiler:$ac_header_preproc in
                   8444:   yes:no )
                   8445:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   8446: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   8447:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8448: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   8449:     (
                   8450:       cat <<\_ASBOX
                   8451: ## ------------------------------------ ##
                   8452: ## Report this to bug-autoconf@gnu.org. ##
                   8453: ## ------------------------------------ ##
                   8454: _ASBOX
                   8455:     ) |
                   8456:       sed "s/^/$as_me: WARNING:     /" >&2
                   8457:     ;;
                   8458:   no:yes )
                   8459:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   8460: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   8461:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   8462: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   8463:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8464: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   8465:     (
                   8466:       cat <<\_ASBOX
                   8467: ## ------------------------------------ ##
                   8468: ## Report this to bug-autoconf@gnu.org. ##
                   8469: ## ------------------------------------ ##
                   8470: _ASBOX
                   8471:     ) |
                   8472:       sed "s/^/$as_me: WARNING:     /" >&2
                   8473:     ;;
                   8474: esac
                   8475: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8476: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8477: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8478:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8479: else
                   8480:   eval "$as_ac_Header=$ac_header_preproc"
1.1       parser   8481: fi
1.10      paf      8482: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8483: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8484: 
1.1       parser   8485: fi
1.10      paf      8486: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   8487:   cat >>confdefs.h <<_ACEOF
                   8488: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8489: _ACEOF
1.1       parser   8490: 
                   8491: fi
                   8492: 
1.10      paf      8493: done
                   8494: 
1.1       parser   8495: 
                   8496: 
1.10      paf      8497: echo "$as_me:$LINENO: checking for size_t" >&5
                   8498: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   8499: if test "${ac_cv_type_size_t+set}" = set; then
                   8500:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8501: else
                   8502:   cat >conftest.$ac_ext <<_ACEOF
                   8503: #line $LINENO "configure"
                   8504: /* confdefs.h.  */
                   8505: _ACEOF
                   8506: cat confdefs.h >>conftest.$ac_ext
                   8507: cat >>conftest.$ac_ext <<_ACEOF
                   8508: /* end confdefs.h.  */
                   8509: $ac_includes_default
                   8510: int
                   8511: main ()
                   8512: {
                   8513: if ((size_t *) 0)
                   8514:   return 0;
                   8515: if (sizeof (size_t))
                   8516:   return 0;
                   8517:   ;
                   8518:   return 0;
                   8519: }
                   8520: _ACEOF
                   8521: rm -f conftest.$ac_objext
                   8522: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8523:   (eval $ac_compile) 2>&5
                   8524:   ac_status=$?
                   8525:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8526:   (exit $ac_status); } &&
                   8527:          { ac_try='test -s conftest.$ac_objext'
                   8528:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8529:   (eval $ac_try) 2>&5
                   8530:   ac_status=$?
                   8531:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8532:   (exit $ac_status); }; }; then
1.1       parser   8533:   ac_cv_type_size_t=yes
                   8534: else
1.10      paf      8535:   echo "$as_me: failed program was:" >&5
                   8536: sed 's/^/| /' conftest.$ac_ext >&5
                   8537: 
                   8538: ac_cv_type_size_t=no
                   8539: fi
                   8540: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       parser   8541: fi
1.10      paf      8542: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   8543: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   8544: if test $ac_cv_type_size_t = yes; then
                   8545:   :
                   8546: else
1.1       parser   8547: 
1.10      paf      8548: cat >>confdefs.h <<_ACEOF
1.1       parser   8549: #define size_t unsigned
1.10      paf      8550: _ACEOF
1.1       parser   8551: 
                   8552: fi
                   8553: 
                   8554: 
                   8555: 
                   8556: 
1.10      paf      8557:           ac_config_files="$ac_config_files Makefile"
                   8558: cat >confcache <<\_ACEOF
1.1       parser   8559: # This file is a shell script that caches the results of configure
                   8560: # tests run on this system so they can be shared between configure
1.10      paf      8561: # scripts and configure runs, see configure's option --config-cache.
                   8562: # It is not useful on other systems.  If it contains results you don't
                   8563: # want to keep, you may remove or edit it.
1.1       parser   8564: #
1.10      paf      8565: # config.status only pays attention to the cache file if you give it
                   8566: # the --recheck option to rerun configure.
1.1       parser   8567: #
1.10      paf      8568: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   8569: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   8570: # following values.
                   8571: 
                   8572: _ACEOF
                   8573: 
1.1       parser   8574: # The following way of writing the cache mishandles newlines in values,
                   8575: # but we know of no workaround that is simple, portable, and efficient.
                   8576: # So, don't put newlines in cache variables' values.
                   8577: # Ultrix sh set writes to stderr and can't be redirected directly,
                   8578: # and sets the high bit in the cache file unless we assign to the vars.
1.10      paf      8579: {
                   8580:   (set) 2>&1 |
                   8581:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   8582:     *ac_space=\ *)
                   8583:       # `set' does not quote correctly, so add quotes (double-quote
                   8584:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   8585:       sed -n \
                   8586:         "s/'/'\\\\''/g;
                   8587:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   8588:       ;;
                   8589:     *)
                   8590:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   8591:       sed -n \
                   8592:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   8593:       ;;
                   8594:     esac;
                   8595: } |
                   8596:   sed '
                   8597:      t clear
                   8598:      : clear
                   8599:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   8600:      t end
                   8601:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   8602:      : end' >>confcache
                   8603: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       parser   8604:   if test -w $cache_file; then
1.10      paf      8605:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   8606:     cat confcache >$cache_file
1.1       parser   8607:   else
                   8608:     echo "not updating unwritable cache $cache_file"
                   8609:   fi
                   8610: fi
                   8611: rm -f confcache
                   8612: 
                   8613: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   8614: # Let make expand exec_prefix.
                   8615: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   8616: 
1.10      paf      8617: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   8618: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   8619: # trailing colons and then remove the whole line if VPATH becomes empty
                   8620: # (actually we leave an empty line to preserve line numbers).
1.1       parser   8621: if test "x$srcdir" = x.; then
1.10      paf      8622:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   8623: s/:*\$(srcdir):*/:/;
                   8624: s/:*\${srcdir}:*/:/;
                   8625: s/:*@srcdir@:*/:/;
                   8626: s/^\([^=]*=[   ]*\):*/\1/;
                   8627: s/:*$//;
                   8628: s/^[^=]*=[     ]*$//;
                   8629: }'
1.1       parser   8630: fi
                   8631: 
1.10      paf      8632: DEFS=-DHAVE_CONFIG_H
                   8633: 
                   8634: ac_libobjs=
                   8635: ac_ltlibobjs=
                   8636: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   8637:   # 1. Remove the extension, and $U if already installed.
                   8638:   ac_i=`echo "$ac_i" |
                   8639:          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   8640:   # 2. Add them.
                   8641:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   8642:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   8643: done
                   8644: LIBOBJS=$ac_libobjs
                   8645: 
                   8646: LTLIBOBJS=$ac_ltlibobjs
                   8647: 
1.1       parser   8648: 
1.10      paf      8649: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   8650:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   8651: Usually this means the macro was only invoked conditionally." >&5
                   8652: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   8653: Usually this means the macro was only invoked conditionally." >&2;}
                   8654:    { (exit 1); exit 1; }; }
                   8655: fi
                   8656: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   8657:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   8658: Usually this means the macro was only invoked conditionally." >&5
                   8659: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   8660: Usually this means the macro was only invoked conditionally." >&2;}
                   8661:    { (exit 1); exit 1; }; }
                   8662: fi
                   8663: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   8664:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   8665: Usually this means the macro was only invoked conditionally." >&5
                   8666: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   8667: Usually this means the macro was only invoked conditionally." >&2;}
                   8668:    { (exit 1); exit 1; }; }
                   8669: fi
1.1       parser   8670: 
                   8671: : ${CONFIG_STATUS=./config.status}
1.10      paf      8672: ac_clean_files_save=$ac_clean_files
                   8673: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   8674: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   8675: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   8676: cat >$CONFIG_STATUS <<_ACEOF
                   8677: #! $SHELL
                   8678: # Generated by $as_me.
                   8679: # Run this file to recreate the current configuration.
                   8680: # Compiler output produced by configure, useful for debugging
                   8681: # configure, is in config.log if it exists.
                   8682: 
                   8683: debug=false
                   8684: ac_cs_recheck=false
                   8685: ac_cs_silent=false
                   8686: SHELL=\${CONFIG_SHELL-$SHELL}
                   8687: _ACEOF
                   8688: 
                   8689: cat >>$CONFIG_STATUS <<\_ACEOF
                   8690: ## --------------------- ##
                   8691: ## M4sh Initialization.  ##
                   8692: ## --------------------- ##
                   8693: 
                   8694: # Be Bourne compatible
                   8695: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   8696:   emulate sh
                   8697:   NULLCMD=:
                   8698:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   8699:   # is contrary to our usage.  Disable this feature.
                   8700:   alias -g '${1+"$@"}'='"$@"'
                   8701: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   8702:   set -o posix
                   8703: fi
                   8704: 
                   8705: # Support unset when possible.
                   8706: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   8707:   as_unset=unset
                   8708: else
                   8709:   as_unset=false
                   8710: fi
                   8711: 
                   8712: 
                   8713: # Work around bugs in pre-3.0 UWIN ksh.
                   8714: $as_unset ENV MAIL MAILPATH
                   8715: PS1='$ '
                   8716: PS2='> '
                   8717: PS4='+ '
                   8718: 
                   8719: # NLS nuisances.
                   8720: for as_var in \
                   8721:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   8722:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   8723:   LC_TELEPHONE LC_TIME
                   8724: do
                   8725:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   8726:     eval $as_var=C; export $as_var
                   8727:   else
                   8728:     $as_unset $as_var
                   8729:   fi
                   8730: done
                   8731: 
                   8732: # Required to use basename.
                   8733: if expr a : '\(a\)' >/dev/null 2>&1; then
                   8734:   as_expr=expr
                   8735: else
                   8736:   as_expr=false
                   8737: fi
                   8738: 
                   8739: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   8740:   as_basename=basename
                   8741: else
                   8742:   as_basename=false
                   8743: fi
                   8744: 
                   8745: 
                   8746: # Name of the executable.
                   8747: as_me=`$as_basename "$0" ||
                   8748: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   8749:         X"$0" : 'X\(//\)$' \| \
                   8750:         X"$0" : 'X\(/\)$' \| \
                   8751:         .     : '\(.\)' 2>/dev/null ||
                   8752: echo X/"$0" |
                   8753:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   8754:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   8755:          /^X\/\(\/\).*/{ s//\1/; q; }
                   8756:          s/.*/./; q'`
                   8757: 
                   8758: 
                   8759: # PATH needs CR, and LINENO needs CR and PATH.
                   8760: # Avoid depending upon Character Ranges.
                   8761: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   8762: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   8763: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   8764: as_cr_digits='0123456789'
                   8765: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   8766: 
                   8767: # The user is always right.
                   8768: if test "${PATH_SEPARATOR+set}" != set; then
                   8769:   echo "#! /bin/sh" >conf$$.sh
                   8770:   echo  "exit 0"   >>conf$$.sh
                   8771:   chmod +x conf$$.sh
                   8772:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   8773:     PATH_SEPARATOR=';'
                   8774:   else
                   8775:     PATH_SEPARATOR=:
                   8776:   fi
                   8777:   rm -f conf$$.sh
                   8778: fi
                   8779: 
                   8780: 
                   8781:   as_lineno_1=$LINENO
                   8782:   as_lineno_2=$LINENO
                   8783:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   8784:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   8785:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   8786:   # Find who we are.  Look in the path if we contain no path at all
                   8787:   # relative or not.
                   8788:   case $0 in
                   8789:     *[\\/]* ) as_myself=$0 ;;
                   8790:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8791: for as_dir in $PATH
                   8792: do
                   8793:   IFS=$as_save_IFS
                   8794:   test -z "$as_dir" && as_dir=.
                   8795:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   8796: done
                   8797: 
                   8798:        ;;
                   8799:   esac
                   8800:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   8801:   # in which case we are not to be found in the path.
                   8802:   if test "x$as_myself" = x; then
                   8803:     as_myself=$0
                   8804:   fi
                   8805:   if test ! -f "$as_myself"; then
                   8806:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   8807: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   8808:    { (exit 1); exit 1; }; }
                   8809:   fi
                   8810:   case $CONFIG_SHELL in
                   8811:   '')
                   8812:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8813: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   8814: do
                   8815:   IFS=$as_save_IFS
                   8816:   test -z "$as_dir" && as_dir=.
                   8817:   for as_base in sh bash ksh sh5; do
                   8818:         case $as_dir in
                   8819:         /*)
                   8820:           if ("$as_dir/$as_base" -c '
                   8821:   as_lineno_1=$LINENO
                   8822:   as_lineno_2=$LINENO
                   8823:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   8824:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   8825:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   8826:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   8827:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   8828:             CONFIG_SHELL=$as_dir/$as_base
                   8829:             export CONFIG_SHELL
                   8830:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   8831:           fi;;
                   8832:         esac
                   8833:        done
                   8834: done
                   8835: ;;
                   8836:   esac
                   8837: 
                   8838:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   8839:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   8840:   # line-number line before each line; the second 'sed' does the real
                   8841:   # work.  The second script uses 'N' to pair each line-number line
                   8842:   # with the numbered line, and appends trailing '-' during
                   8843:   # substitution so that $LINENO is not a special case at line end.
                   8844:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   8845:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   8846:   sed '=' <$as_myself |
                   8847:     sed '
                   8848:       N
                   8849:       s,$,-,
                   8850:       : loop
                   8851:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   8852:       t loop
                   8853:       s,-$,,
                   8854:       s,^['$as_cr_digits']*\n,,
                   8855:     ' >$as_me.lineno &&
                   8856:   chmod +x $as_me.lineno ||
                   8857:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   8858: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   8859:    { (exit 1); exit 1; }; }
                   8860: 
                   8861:   # Don't try to exec as it changes $[0], causing all sort of problems
                   8862:   # (the dirname of $[0] is not the place where we might find the
                   8863:   # original and so on.  Autoconf is especially sensible to this).
                   8864:   . ./$as_me.lineno
                   8865:   # Exit status is that of the last command.
                   8866:   exit
                   8867: }
                   8868: 
                   8869: 
                   8870: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   8871:   *c*,-n*) ECHO_N= ECHO_C='
                   8872: ' ECHO_T='     ' ;;
                   8873:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   8874:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   8875: esac
                   8876: 
                   8877: if expr a : '\(a\)' >/dev/null 2>&1; then
                   8878:   as_expr=expr
                   8879: else
                   8880:   as_expr=false
                   8881: fi
                   8882: 
                   8883: rm -f conf$$ conf$$.exe conf$$.file
                   8884: echo >conf$$.file
                   8885: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   8886:   # We could just check for DJGPP; but this test a) works b) is more generic
                   8887:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   8888:   if test -f conf$$.exe; then
                   8889:     # Don't use ln at all; we don't have any links
                   8890:     as_ln_s='cp -p'
                   8891:   else
                   8892:     as_ln_s='ln -s'
                   8893:   fi
                   8894: elif ln conf$$.file conf$$ 2>/dev/null; then
                   8895:   as_ln_s=ln
                   8896: else
                   8897:   as_ln_s='cp -p'
                   8898: fi
                   8899: rm -f conf$$ conf$$.exe conf$$.file
                   8900: 
                   8901: if mkdir -p . 2>/dev/null; then
                   8902:   as_mkdir_p=:
                   8903: else
                   8904:   as_mkdir_p=false
                   8905: fi
                   8906: 
                   8907: as_executable_p="test -f"
                   8908: 
                   8909: # Sed expression to map a string onto a valid CPP name.
                   8910: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   8911: 
                   8912: # Sed expression to map a string onto a valid variable name.
                   8913: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   8914: 
                   8915: 
                   8916: # IFS
                   8917: # We need space, tab and new line, in precisely that order.
                   8918: as_nl='
                   8919: '
                   8920: IFS="  $as_nl"
                   8921: 
                   8922: # CDPATH.
                   8923: $as_unset CDPATH
                   8924: 
                   8925: exec 6>&1
                   8926: 
                   8927: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   8928: # report actual input values of CONFIG_FILES etc. instead of their
                   8929: # values after options handling.  Logging --version etc. is OK.
                   8930: exec 5>>config.log
                   8931: {
                   8932:   echo
                   8933:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   8934: ## Running $as_me. ##
                   8935: _ASBOX
                   8936: } >&5
                   8937: cat >&5 <<_CSEOF
                   8938: 
                   8939: This file was extended by $as_me, which was
                   8940: generated by GNU Autoconf 2.57.  Invocation command line was
                   8941: 
                   8942:   CONFIG_FILES    = $CONFIG_FILES
                   8943:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   8944:   CONFIG_LINKS    = $CONFIG_LINKS
                   8945:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   8946:   $ $0 $@
                   8947: 
                   8948: _CSEOF
                   8949: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   8950: echo >&5
                   8951: _ACEOF
                   8952: 
                   8953: # Files that config.status was made for.
                   8954: if test -n "$ac_config_files"; then
                   8955:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   8956: fi
                   8957: 
                   8958: if test -n "$ac_config_headers"; then
                   8959:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   8960: fi
                   8961: 
                   8962: if test -n "$ac_config_links"; then
                   8963:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   8964: fi
                   8965: 
                   8966: if test -n "$ac_config_commands"; then
                   8967:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   8968: fi
                   8969: 
                   8970: cat >>$CONFIG_STATUS <<\_ACEOF
                   8971: 
                   8972: ac_cs_usage="\
                   8973: \`$as_me' instantiates files from templates according to the
                   8974: current configuration.
                   8975: 
                   8976: Usage: $0 [OPTIONS] [FILE]...
                   8977: 
                   8978:   -h, --help       print this help, then exit
                   8979:   -V, --version    print version number, then exit
                   8980:   -q, --quiet      do not print progress messages
                   8981:   -d, --debug      don't remove temporary files
                   8982:       --recheck    update $as_me by reconfiguring in the same conditions
                   8983:   --file=FILE[:TEMPLATE]
                   8984:                    instantiate the configuration file FILE
                   8985:   --header=FILE[:TEMPLATE]
                   8986:                    instantiate the configuration header FILE
                   8987: 
                   8988: Configuration files:
                   8989: $config_files
                   8990: 
                   8991: Configuration headers:
                   8992: $config_headers
                   8993: 
                   8994: Configuration commands:
                   8995: $config_commands
                   8996: 
                   8997: Report bugs to <bug-autoconf@gnu.org>."
                   8998: _ACEOF
                   8999: 
                   9000: cat >>$CONFIG_STATUS <<_ACEOF
                   9001: ac_cs_version="\\
                   9002: config.status
                   9003: configured by $0, generated by GNU Autoconf 2.57,
                   9004:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   9005: 
                   9006: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   9007: Free Software Foundation, Inc.
                   9008: This config.status script is free software; the Free Software Foundation
                   9009: gives unlimited permission to copy, distribute and modify it."
                   9010: srcdir=$srcdir
                   9011: INSTALL="$INSTALL"
                   9012: _ACEOF
                   9013: 
                   9014: cat >>$CONFIG_STATUS <<\_ACEOF
                   9015: # If no file are specified by the user, then we need to provide default
                   9016: # value.  By we need to know if files were specified by the user.
                   9017: ac_need_defaults=:
                   9018: while test $# != 0
                   9019: do
                   9020:   case $1 in
                   9021:   --*=*)
                   9022:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   9023:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   9024:     ac_shift=:
                   9025:     ;;
                   9026:   -*)
                   9027:     ac_option=$1
                   9028:     ac_optarg=$2
                   9029:     ac_shift=shift
                   9030:     ;;
                   9031:   *) # This is not an option, so the user has probably given explicit
                   9032:      # arguments.
                   9033:      ac_option=$1
                   9034:      ac_need_defaults=false;;
                   9035:   esac
                   9036: 
                   9037:   case $ac_option in
                   9038:   # Handling of the options.
                   9039: _ACEOF
                   9040: cat >>$CONFIG_STATUS <<\_ACEOF
                   9041:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9042:     ac_cs_recheck=: ;;
                   9043:   --version | --vers* | -V )
                   9044:     echo "$ac_cs_version"; exit 0 ;;
                   9045:   --he | --h)
                   9046:     # Conflict between --help and --header
                   9047:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   9048: Try \`$0 --help' for more information." >&5
                   9049: echo "$as_me: error: ambiguous option: $1
                   9050: Try \`$0 --help' for more information." >&2;}
                   9051:    { (exit 1); exit 1; }; };;
                   9052:   --help | --hel | -h )
                   9053:     echo "$ac_cs_usage"; exit 0 ;;
                   9054:   --debug | --d* | -d )
                   9055:     debug=: ;;
                   9056:   --file | --fil | --fi | --f )
                   9057:     $ac_shift
                   9058:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   9059:     ac_need_defaults=false;;
                   9060:   --header | --heade | --head | --hea )
                   9061:     $ac_shift
                   9062:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   9063:     ac_need_defaults=false;;
                   9064:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9065:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9066:     ac_cs_silent=: ;;
                   9067: 
                   9068:   # This is an error.
                   9069:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   9070: Try \`$0 --help' for more information." >&5
                   9071: echo "$as_me: error: unrecognized option: $1
                   9072: Try \`$0 --help' for more information." >&2;}
                   9073:    { (exit 1); exit 1; }; } ;;
                   9074: 
                   9075:   *) ac_config_targets="$ac_config_targets $1" ;;
1.1       parser   9076: 
1.10      paf      9077:   esac
                   9078:   shift
                   9079: done
                   9080: 
                   9081: ac_configure_extra_args=
                   9082: 
                   9083: if $ac_cs_silent; then
                   9084:   exec 6>/dev/null
                   9085:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9086: fi
                   9087: 
                   9088: _ACEOF
                   9089: cat >>$CONFIG_STATUS <<_ACEOF
                   9090: if \$ac_cs_recheck; then
                   9091:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   9092:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   9093: fi
                   9094: 
                   9095: _ACEOF
                   9096: 
                   9097: cat >>$CONFIG_STATUS <<_ACEOF
1.1       parser   9098: #
1.10      paf      9099: # INIT-COMMANDS section.
1.1       parser   9100: #
                   9101: 
1.10      paf      9102: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   9103: 
                   9104: _ACEOF
                   9105: 
                   9106: 
                   9107: 
                   9108: cat >>$CONFIG_STATUS <<\_ACEOF
                   9109: for ac_config_target in $ac_config_targets
1.1       parser   9110: do
1.10      paf      9111:   case "$ac_config_target" in
                   9112:   # Handling of arguments.
                   9113:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   9114:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   9115:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   9116:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   9117: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   9118:    { (exit 1); exit 1; }; };;
1.1       parser   9119:   esac
                   9120: done
                   9121: 
1.10      paf      9122: # If the user did not use the arguments to specify the items to instantiate,
                   9123: # then the envvar interface is used.  Set only those that are not.
                   9124: # We use the long form for the default assignment because of an extremely
                   9125: # bizarre bug on SunOS 4.1.3.
                   9126: if $ac_need_defaults; then
                   9127:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   9128:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   9129:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   9130: fi
                   9131: 
                   9132: # Have a temporary directory for convenience.  Make it in the build tree
                   9133: # simply because there is no reason to put it here, and in addition,
                   9134: # creating and moving files from /tmp can sometimes cause problems.
                   9135: # Create a temporary directory, and hook for its removal unless debugging.
                   9136: $debug ||
                   9137: {
                   9138:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   9139:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   9140: }
                   9141: 
                   9142: # Create a (secure) tmp directory for tmp files.
                   9143: 
                   9144: {
                   9145:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   9146:   test -n "$tmp" && test -d "$tmp"
                   9147: }  ||
                   9148: {
                   9149:   tmp=./confstat$$-$RANDOM
                   9150:   (umask 077 && mkdir $tmp)
                   9151: } ||
                   9152: {
                   9153:    echo "$me: cannot create a temporary directory in ." >&2
                   9154:    { (exit 1); exit 1; }
                   9155: }
                   9156: 
                   9157: _ACEOF
1.1       parser   9158: 
1.10      paf      9159: cat >>$CONFIG_STATUS <<_ACEOF
1.1       parser   9160: 
1.10      paf      9161: #
                   9162: # CONFIG_FILES section.
                   9163: #
1.1       parser   9164: 
1.10      paf      9165: # No need to generate the scripts if there are no CONFIG_FILES.
                   9166: # This happens for instance when ./config.status config.h
                   9167: if test -n "\$CONFIG_FILES"; then
                   9168:   # Protect against being on the right side of a sed subst in config.status.
                   9169:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   9170:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   9171: s,@SHELL@,$SHELL,;t t
                   9172: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   9173: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   9174: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   9175: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   9176: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   9177: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   9178: s,@exec_prefix@,$exec_prefix,;t t
                   9179: s,@prefix@,$prefix,;t t
                   9180: s,@program_transform_name@,$program_transform_name,;t t
                   9181: s,@bindir@,$bindir,;t t
                   9182: s,@sbindir@,$sbindir,;t t
                   9183: s,@libexecdir@,$libexecdir,;t t
                   9184: s,@datadir@,$datadir,;t t
                   9185: s,@sysconfdir@,$sysconfdir,;t t
                   9186: s,@sharedstatedir@,$sharedstatedir,;t t
                   9187: s,@localstatedir@,$localstatedir,;t t
                   9188: s,@libdir@,$libdir,;t t
                   9189: s,@includedir@,$includedir,;t t
                   9190: s,@oldincludedir@,$oldincludedir,;t t
                   9191: s,@infodir@,$infodir,;t t
                   9192: s,@mandir@,$mandir,;t t
                   9193: s,@build_alias@,$build_alias,;t t
                   9194: s,@host_alias@,$host_alias,;t t
                   9195: s,@target_alias@,$target_alias,;t t
                   9196: s,@DEFS@,$DEFS,;t t
                   9197: s,@ECHO_C@,$ECHO_C,;t t
                   9198: s,@ECHO_N@,$ECHO_N,;t t
                   9199: s,@ECHO_T@,$ECHO_T,;t t
                   9200: s,@LIBS@,$LIBS,;t t
                   9201: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   9202: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   9203: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   9204: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   9205: s,@PACKAGE@,$PACKAGE,;t t
                   9206: s,@VERSION@,$VERSION,;t t
                   9207: s,@ACLOCAL@,$ACLOCAL,;t t
                   9208: s,@AUTOCONF@,$AUTOCONF,;t t
                   9209: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   9210: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   9211: s,@MAKEINFO@,$MAKEINFO,;t t
                   9212: s,@AMTAR@,$AMTAR,;t t
                   9213: s,@install_sh@,$install_sh,;t t
                   9214: s,@STRIP@,$STRIP,;t t
                   9215: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   9216: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   9217: s,@AWK@,$AWK,;t t
                   9218: s,@SET_MAKE@,$SET_MAKE,;t t
                   9219: s,@PGSQL_INC@,$PGSQL_INC,;t t
                   9220: s,@CXX@,$CXX,;t t
                   9221: s,@CXXFLAGS@,$CXXFLAGS,;t t
                   9222: s,@LDFLAGS@,$LDFLAGS,;t t
                   9223: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   9224: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   9225: s,@EXEEXT@,$EXEEXT,;t t
                   9226: s,@OBJEXT@,$OBJEXT,;t t
                   9227: s,@DEPDIR@,$DEPDIR,;t t
                   9228: s,@am__include@,$am__include,;t t
                   9229: s,@am__quote@,$am__quote,;t t
                   9230: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   9231: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   9232: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   9233: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   9234: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   9235: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
1.15    ! paf      9236: s,@CC@,$CC,;t t
        !          9237: s,@CFLAGS@,$CFLAGS,;t t
        !          9238: s,@ac_ct_CC@,$ac_ct_CC,;t t
        !          9239: s,@CCDEPMODE@,$CCDEPMODE,;t t
        !          9240: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
        !          9241: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
1.10      paf      9242: s,@INCLTDL@,$INCLTDL,;t t
                   9243: s,@LIBLTDL@,$LIBLTDL,;t t
                   9244: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   9245: s,@build@,$build,;t t
                   9246: s,@build_cpu@,$build_cpu,;t t
                   9247: s,@build_vendor@,$build_vendor,;t t
                   9248: s,@build_os@,$build_os,;t t
                   9249: s,@host@,$host,;t t
                   9250: s,@host_cpu@,$host_cpu,;t t
                   9251: s,@host_vendor@,$host_vendor,;t t
                   9252: s,@host_os@,$host_os,;t t
                   9253: s,@LN_S@,$LN_S,;t t
                   9254: s,@ECHO@,$ECHO,;t t
                   9255: s,@RANLIB@,$RANLIB,;t t
                   9256: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
1.15    ! paf      9257: s,@CPP@,$CPP,;t t
1.10      paf      9258: s,@EGREP@,$EGREP,;t t
                   9259: s,@LIBTOOL@,$LIBTOOL,;t t
                   9260: s,@subdirs@,$subdirs,;t t
                   9261: s,@LIBOBJS@,$LIBOBJS,;t t
                   9262: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       parser   9263: CEOF
                   9264: 
1.10      paf      9265: _ACEOF
1.1       parser   9266: 
1.10      paf      9267:   cat >>$CONFIG_STATUS <<\_ACEOF
                   9268:   # Split the substitutions into bite-sized pieces for seds with
                   9269:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   9270:   ac_max_sed_lines=48
                   9271:   ac_sed_frag=1 # Number of current file.
                   9272:   ac_beg=1 # First line for current file.
                   9273:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   9274:   ac_more_lines=:
                   9275:   ac_sed_cmds=
                   9276:   while $ac_more_lines; do
                   9277:     if test $ac_beg -gt 1; then
                   9278:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   9279:     else
                   9280:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   9281:     fi
                   9282:     if test ! -s $tmp/subs.frag; then
                   9283:       ac_more_lines=false
                   9284:     else
                   9285:       # The purpose of the label and of the branching condition is to
                   9286:       # speed up the sed processing (if there are no `@' at all, there
                   9287:       # is no need to browse any of the substitutions).
                   9288:       # These are the two extra sed commands mentioned above.
                   9289:       (echo ':t
                   9290:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   9291:       if test -z "$ac_sed_cmds"; then
                   9292:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   9293:       else
                   9294:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   9295:       fi
                   9296:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   9297:       ac_beg=$ac_end
                   9298:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   9299:     fi
                   9300:   done
                   9301:   if test -z "$ac_sed_cmds"; then
                   9302:     ac_sed_cmds=cat
1.1       parser   9303:   fi
1.10      paf      9304: fi # test -n "$CONFIG_FILES"
1.1       parser   9305: 
1.10      paf      9306: _ACEOF
                   9307: cat >>$CONFIG_STATUS <<\_ACEOF
                   9308: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   9309:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   9310:   case $ac_file in
                   9311:   - | *:- | *:-:* ) # input from stdin
                   9312:         cat >$tmp/stdin
                   9313:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9314:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9315:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9316:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9317:   * )   ac_file_in=$ac_file.in ;;
                   9318:   esac
1.1       parser   9319: 
1.10      paf      9320:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   9321:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   9322: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9323:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   9324:          X"$ac_file" : 'X\(//\)$' \| \
                   9325:          X"$ac_file" : 'X\(/\)' \| \
                   9326:          .     : '\(.\)' 2>/dev/null ||
                   9327: echo X"$ac_file" |
                   9328:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9329:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9330:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9331:          /^X\(\/\).*/{ s//\1/; q; }
                   9332:          s/.*/./; q'`
                   9333:   { if $as_mkdir_p; then
                   9334:     mkdir -p "$ac_dir"
                   9335:   else
                   9336:     as_dir="$ac_dir"
                   9337:     as_dirs=
                   9338:     while test ! -d "$as_dir"; do
                   9339:       as_dirs="$as_dir $as_dirs"
                   9340:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9342:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9343:          X"$as_dir" : 'X\(//\)$' \| \
                   9344:          X"$as_dir" : 'X\(/\)' \| \
                   9345:          .     : '\(.\)' 2>/dev/null ||
                   9346: echo X"$as_dir" |
                   9347:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9348:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9349:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9350:          /^X\(\/\).*/{ s//\1/; q; }
                   9351:          s/.*/./; q'`
                   9352:     done
                   9353:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9354:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9355: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9356:    { (exit 1); exit 1; }; }; }
                   9357: 
                   9358:   ac_builddir=.
                   9359: 
                   9360: if test "$ac_dir" != .; then
                   9361:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9362:   # A "../" for each directory in $ac_dir_suffix.
                   9363:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9364: else
                   9365:   ac_dir_suffix= ac_top_builddir=
                   9366: fi
                   9367: 
                   9368: case $srcdir in
                   9369:   .)  # No --srcdir option.  We are building in place.
                   9370:     ac_srcdir=.
                   9371:     if test -z "$ac_top_builddir"; then
                   9372:        ac_top_srcdir=.
                   9373:     else
                   9374:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   9375:     fi ;;
                   9376:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   9377:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9378:     ac_top_srcdir=$srcdir ;;
1.1       parser   9379:   *) # Relative path.
1.10      paf      9380:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   9381:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   9382: esac
                   9383: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   9384: # absolute.
                   9385: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   9386: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   9387: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   9388: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   9389: 
                   9390: 
                   9391:   case $INSTALL in
                   9392:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   9393:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       parser   9394:   esac
                   9395: 
1.10      paf      9396:   if test x"$ac_file" != x-; then
                   9397:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   9398: echo "$as_me: creating $ac_file" >&6;}
                   9399:     rm -f "$ac_file"
                   9400:   fi
                   9401:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   9402:   # use $as_me), people would be surprised to read:
                   9403:   #    /* config.h.  Generated by config.status.  */
                   9404:   if test x"$ac_file" = x-; then
                   9405:     configure_input=
                   9406:   else
                   9407:     configure_input="$ac_file.  "
                   9408:   fi
                   9409:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   9410:                                      sed 's,.*/,,'` by configure."
                   9411: 
                   9412:   # First look for the input files in the build tree, otherwise in the
                   9413:   # src tree.
                   9414:   ac_file_inputs=`IFS=:
                   9415:     for f in $ac_file_in; do
                   9416:       case $f in
                   9417:       -) echo $tmp/stdin ;;
                   9418:       [\\/$]*)
                   9419:          # Absolute (can't be DOS-style, as IFS=:)
                   9420:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9421: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9422:    { (exit 1); exit 1; }; }
                   9423:          echo $f;;
                   9424:       *) # Relative
                   9425:          if test -f "$f"; then
                   9426:            # Build tree
                   9427:            echo $f
                   9428:          elif test -f "$srcdir/$f"; then
                   9429:            # Source tree
                   9430:            echo $srcdir/$f
                   9431:          else
                   9432:            # /dev/null tree
                   9433:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9434: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9435:    { (exit 1); exit 1; }; }
                   9436:          fi;;
                   9437:       esac
                   9438:     done` || { (exit 1); exit 1; }
                   9439: _ACEOF
                   9440: cat >>$CONFIG_STATUS <<_ACEOF
                   9441:   sed "$ac_vpsub
                   9442: $extrasub
                   9443: _ACEOF
                   9444: cat >>$CONFIG_STATUS <<\_ACEOF
                   9445: :t
                   9446: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   9447: s,@configure_input@,$configure_input,;t t
                   9448: s,@srcdir@,$ac_srcdir,;t t
                   9449: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   9450: s,@top_srcdir@,$ac_top_srcdir,;t t
                   9451: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   9452: s,@builddir@,$ac_builddir,;t t
                   9453: s,@abs_builddir@,$ac_abs_builddir,;t t
                   9454: s,@top_builddir@,$ac_top_builddir,;t t
                   9455: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   9456: s,@INSTALL@,$ac_INSTALL,;t t
                   9457: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   9458:   rm -f $tmp/stdin
                   9459:   if test x"$ac_file" != x-; then
                   9460:     mv $tmp/out $ac_file
                   9461:   else
                   9462:     cat $tmp/out
                   9463:     rm -f $tmp/out
                   9464:   fi
                   9465: 
                   9466: done
                   9467: _ACEOF
                   9468: cat >>$CONFIG_STATUS <<\_ACEOF
                   9469: 
                   9470: #
                   9471: # CONFIG_HEADER section.
                   9472: #
1.1       parser   9473: 
                   9474: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   9475: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   9476: #
                   9477: # ac_d sets the value in "#define NAME VALUE" lines.
1.10      paf      9478: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   9479: ac_dB='[       ].*$,\1#\2'
                   9480: ac_dC=' '
                   9481: ac_dD=',;t'
                   9482: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   9483: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   9484: ac_uB='$,\1#\2define\3'
1.1       parser   9485: ac_uC=' '
1.10      paf      9486: ac_uD=',;t'
1.1       parser   9487: 
1.10      paf      9488: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       parser   9489:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.10      paf      9490:   case $ac_file in
                   9491:   - | *:- | *:-:* ) # input from stdin
                   9492:         cat >$tmp/stdin
                   9493:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9494:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9495:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9496:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9497:   * )   ac_file_in=$ac_file.in ;;
1.1       parser   9498:   esac
                   9499: 
1.10      paf      9500:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   9501: echo "$as_me: creating $ac_file" >&6;}
1.1       parser   9502: 
1.10      paf      9503:   # First look for the input files in the build tree, otherwise in the
                   9504:   # src tree.
                   9505:   ac_file_inputs=`IFS=:
                   9506:     for f in $ac_file_in; do
                   9507:       case $f in
                   9508:       -) echo $tmp/stdin ;;
                   9509:       [\\/$]*)
                   9510:          # Absolute (can't be DOS-style, as IFS=:)
                   9511:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9512: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9513:    { (exit 1); exit 1; }; }
                   9514:          echo $f;;
                   9515:       *) # Relative
                   9516:          if test -f "$f"; then
                   9517:            # Build tree
                   9518:            echo $f
                   9519:          elif test -f "$srcdir/$f"; then
                   9520:            # Source tree
                   9521:            echo $srcdir/$f
                   9522:          else
                   9523:            # /dev/null tree
                   9524:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9525: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9526:    { (exit 1); exit 1; }; }
                   9527:          fi;;
                   9528:       esac
                   9529:     done` || { (exit 1); exit 1; }
                   9530:   # Remove the trailing spaces.
                   9531:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
                   9532: 
                   9533: _ACEOF
                   9534: 
                   9535: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   9536: # `conftest.undefs', that substitutes the proper values into
                   9537: # config.h.in to produce config.h.  The first handles `#define'
                   9538: # templates, and the second `#undef' templates.
                   9539: # And first: Protect against being on the right side of a sed subst in
                   9540: # config.status.  Protect against being in an unquoted here document
                   9541: # in config.status.
                   9542: rm -f conftest.defines conftest.undefs
                   9543: # Using a here document instead of a string reduces the quoting nightmare.
                   9544: # Putting comments in sed scripts is not portable.
                   9545: #
                   9546: # `end' is used to avoid that the second main sed command (meant for
                   9547: # 0-ary CPP macros) applies to n-ary macro definitions.
                   9548: # See the Autoconf documentation for `clear'.
                   9549: cat >confdef2sed.sed <<\_ACEOF
                   9550: s/[\\&,]/\\&/g
                   9551: s,[\\$`],\\&,g
                   9552: t clear
                   9553: : clear
                   9554: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   9555: t end
                   9556: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   9557: : end
                   9558: _ACEOF
                   9559: # If some macros were called several times there might be several times
                   9560: # the same #defines, which is useless.  Nevertheless, we may not want to
                   9561: # sort them, since we want the *last* AC-DEFINE to be honored.
                   9562: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   9563: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   9564: rm -f confdef2sed.sed
1.1       parser   9565: 
                   9566: # This sed command replaces #undef with comments.  This is necessary, for
                   9567: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   9568: # on some systems where configure will not decide to define it.
1.10      paf      9569: cat >>conftest.undefs <<\_ACEOF
                   9570: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   9571: _ACEOF
                   9572: 
                   9573: # Break up conftest.defines because some shells have a limit on the size
                   9574: # of here documents, and old seds have small limits too (100 cmds).
                   9575: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   9576: echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   9577: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   9578: echo '  :' >>$CONFIG_STATUS
                   9579: rm -f conftest.tail
                   9580: while grep . conftest.defines >/dev/null
                   9581: do
                   9582:   # Write a limited-size here document to $tmp/defines.sed.
                   9583:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   9584:   # Speed up: don't consider the non `#define' lines.
                   9585:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   9586:   # Work around the forget-to-reset-the-flag bug.
                   9587:   echo 't clr' >>$CONFIG_STATUS
                   9588:   echo ': clr' >>$CONFIG_STATUS
                   9589:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   9590:   echo 'CEOF
                   9591:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   9592:   rm -f $tmp/in
                   9593:   mv $tmp/out $tmp/in
                   9594: ' >>$CONFIG_STATUS
                   9595:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   9596:   rm -f conftest.defines
                   9597:   mv conftest.tail conftest.defines
                   9598: done
                   9599: rm -f conftest.defines
                   9600: echo '  fi # grep' >>$CONFIG_STATUS
                   9601: echo >>$CONFIG_STATUS
                   9602: 
                   9603: # Break up conftest.undefs because some shells have a limit on the size
                   9604: # of here documents, and old seds have small limits too (100 cmds).
                   9605: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       parser   9606: rm -f conftest.tail
1.10      paf      9607: while grep . conftest.undefs >/dev/null
1.1       parser   9608: do
1.10      paf      9609:   # Write a limited-size here document to $tmp/undefs.sed.
                   9610:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   9611:   # Speed up: don't consider the non `#undef'
                   9612:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   9613:   # Work around the forget-to-reset-the-flag bug.
                   9614:   echo 't clr' >>$CONFIG_STATUS
                   9615:   echo ': clr' >>$CONFIG_STATUS
                   9616:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       parser   9617:   echo 'CEOF
1.10      paf      9618:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   9619:   rm -f $tmp/in
                   9620:   mv $tmp/out $tmp/in
                   9621: ' >>$CONFIG_STATUS
                   9622:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   9623:   rm -f conftest.undefs
                   9624:   mv conftest.tail conftest.undefs
                   9625: done
                   9626: rm -f conftest.undefs
                   9627: 
                   9628: cat >>$CONFIG_STATUS <<\_ACEOF
                   9629:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   9630:   # use $as_me), people would be surprised to read:
                   9631:   #    /* config.h.  Generated by config.status.  */
                   9632:   if test x"$ac_file" = x-; then
                   9633:     echo "/* Generated by configure.  */" >$tmp/config.h
                   9634:   else
                   9635:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   9636:   fi
                   9637:   cat $tmp/in >>$tmp/config.h
                   9638:   rm -f $tmp/in
                   9639:   if test x"$ac_file" != x-; then
                   9640:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   9641:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   9642: echo "$as_me: $ac_file is unchanged" >&6;}
                   9643:     else
                   9644:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   9645: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9646:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   9647:          X"$ac_file" : 'X\(//\)$' \| \
                   9648:          X"$ac_file" : 'X\(/\)' \| \
                   9649:          .     : '\(.\)' 2>/dev/null ||
                   9650: echo X"$ac_file" |
                   9651:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9652:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9653:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9654:          /^X\(\/\).*/{ s//\1/; q; }
                   9655:          s/.*/./; q'`
                   9656:       { if $as_mkdir_p; then
                   9657:     mkdir -p "$ac_dir"
                   9658:   else
                   9659:     as_dir="$ac_dir"
                   9660:     as_dirs=
                   9661:     while test ! -d "$as_dir"; do
                   9662:       as_dirs="$as_dir $as_dirs"
                   9663:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9664: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9665:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9666:          X"$as_dir" : 'X\(//\)$' \| \
                   9667:          X"$as_dir" : 'X\(/\)' \| \
                   9668:          .     : '\(.\)' 2>/dev/null ||
                   9669: echo X"$as_dir" |
                   9670:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9671:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9672:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9673:          /^X\(\/\).*/{ s//\1/; q; }
                   9674:          s/.*/./; q'`
                   9675:     done
                   9676:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9677:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9678: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9679:    { (exit 1); exit 1; }; }; }
                   9680: 
                   9681:       rm -f $ac_file
                   9682:       mv $tmp/config.h $ac_file
1.1       parser   9683:     fi
1.10      paf      9684:   else
                   9685:     cat $tmp/config.h
                   9686:     rm -f $tmp/config.h
1.1       parser   9687:   fi
1.10      paf      9688: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
                   9689: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   9690: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9691:          X$ac_file : 'X\(//\)[^/]' \| \
                   9692:          X$ac_file : 'X\(//\)$' \| \
                   9693:          X$ac_file : 'X\(/\)' \| \
                   9694:          .     : '\(.\)' 2>/dev/null ||
                   9695: echo X$ac_file |
                   9696:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9697:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9698:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9699:          /^X\(\/\).*/{ s//\1/; q; }
                   9700:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   9701: done
                   9702: _ACEOF
                   9703: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   9704: 
1.10      paf      9705: #
                   9706: # CONFIG_COMMANDS section.
                   9707: #
                   9708: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   9709:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   9710:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9711:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   9712: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9713:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   9714:          X"$ac_dest" : 'X\(//\)$' \| \
                   9715:          X"$ac_dest" : 'X\(/\)' \| \
                   9716:          .     : '\(.\)' 2>/dev/null ||
                   9717: echo X"$ac_dest" |
                   9718:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9719:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9720:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9721:          /^X\(\/\).*/{ s//\1/; q; }
                   9722:          s/.*/./; q'`
                   9723:   ac_builddir=.
                   9724: 
                   9725: if test "$ac_dir" != .; then
                   9726:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9727:   # A "../" for each directory in $ac_dir_suffix.
                   9728:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9729: else
                   9730:   ac_dir_suffix= ac_top_builddir=
                   9731: fi
                   9732: 
                   9733: case $srcdir in
                   9734:   .)  # No --srcdir option.  We are building in place.
                   9735:     ac_srcdir=.
                   9736:     if test -z "$ac_top_builddir"; then
                   9737:        ac_top_srcdir=.
                   9738:     else
                   9739:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   9740:     fi ;;
                   9741:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   9742:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9743:     ac_top_srcdir=$srcdir ;;
                   9744:   *) # Relative path.
                   9745:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   9746:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   9747: esac
                   9748: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   9749: # absolute.
                   9750: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   9751: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   9752: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   9753: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   9754: 
                   9755: 
                   9756:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   9757: echo "$as_me: executing $ac_dest commands" >&6;}
                   9758:   case $ac_dest in
                   9759:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   9760:   # Strip MF so we end up with the name of the file.
                   9761:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   9762:   # Check whether this is an Automake generated Makefile or not.
                   9763:   # We used to match only the files named `Makefile.in', but
                   9764:   # some people rename them; so instead we look at the file content.
                   9765:   # Grep'ing the first line is not enough: some people post-process
                   9766:   # each Makefile.in and add a new line on top of each file to say so.
                   9767:   # So let's grep whole file.
                   9768:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   9769:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   9770: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9771:          X"$mf" : 'X\(//\)[^/]' \| \
                   9772:          X"$mf" : 'X\(//\)$' \| \
                   9773:          X"$mf" : 'X\(/\)' \| \
                   9774:          .     : '\(.\)' 2>/dev/null ||
                   9775: echo X"$mf" |
                   9776:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9777:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9778:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9779:          /^X\(\/\).*/{ s//\1/; q; }
                   9780:          s/.*/./; q'`
                   9781:   else
                   9782:     continue
                   9783:   fi
                   9784:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   9785:   # Extract the definition of DEP_FILES from the Makefile without
                   9786:   # running `make'.
                   9787:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   9788:   test -z "$DEPDIR" && continue
                   9789:   # When using ansi2knr, U may be empty or an underscore; expand it
                   9790:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   9791:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   9792:   # We invoke sed twice because it is the simplest approach to
                   9793:   # changing $(DEPDIR) to its actual value in the expansion.
                   9794:   for file in `sed -n -e '
                   9795:     /^DEP_FILES = .*\\\\$/ {
                   9796:       s/^DEP_FILES = //
                   9797:       :loop
                   9798:        s/\\\\$//
                   9799:        p
                   9800:        n
                   9801:        /\\\\$/ b loop
                   9802:       p
                   9803:     }
                   9804:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   9805:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   9806:     # Make sure the directory exists.
                   9807:     test -f "$dirpart/$file" && continue
                   9808:     fdir=`(dirname "$file") 2>/dev/null ||
                   9809: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9810:          X"$file" : 'X\(//\)[^/]' \| \
                   9811:          X"$file" : 'X\(//\)$' \| \
                   9812:          X"$file" : 'X\(/\)' \| \
                   9813:          .     : '\(.\)' 2>/dev/null ||
                   9814: echo X"$file" |
                   9815:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9816:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9817:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9818:          /^X\(\/\).*/{ s//\1/; q; }
                   9819:          s/.*/./; q'`
                   9820:     { if $as_mkdir_p; then
                   9821:     mkdir -p $dirpart/$fdir
                   9822:   else
                   9823:     as_dir=$dirpart/$fdir
                   9824:     as_dirs=
                   9825:     while test ! -d "$as_dir"; do
                   9826:       as_dirs="$as_dir $as_dirs"
                   9827:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9828: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9829:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9830:          X"$as_dir" : 'X\(//\)$' \| \
                   9831:          X"$as_dir" : 'X\(/\)' \| \
                   9832:          .     : '\(.\)' 2>/dev/null ||
                   9833: echo X"$as_dir" |
                   9834:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9835:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9836:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9837:          /^X\(\/\).*/{ s//\1/; q; }
                   9838:          s/.*/./; q'`
                   9839:     done
                   9840:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9841:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   9842: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   9843:    { (exit 1); exit 1; }; }; }
1.1       parser   9844: 
1.10      paf      9845:     # echo "creating $dirpart/$file"
                   9846:     echo '# dummy' > "$dirpart/$file"
                   9847:   done
                   9848: done
                   9849:  ;;
                   9850:   esac
                   9851: done
                   9852: _ACEOF
1.1       parser   9853: 
1.10      paf      9854: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   9855: 
1.10      paf      9856: { (exit 0); exit 0; }
                   9857: _ACEOF
1.1       parser   9858: chmod +x $CONFIG_STATUS
1.10      paf      9859: ac_clean_files=$ac_clean_files_save
                   9860: 
                   9861: 
                   9862: # configure is writing to config.log, and then calls config.status.
                   9863: # config.status does its own redirection, appending to config.log.
                   9864: # Unfortunately, on DOS this fails, as config.log is still kept open
                   9865: # by configure, so config.status won't be able to write to it; its
                   9866: # output is simply discarded.  So we exec the FD to /dev/null,
                   9867: # effectively closing config.log, so it can be properly (re)opened and
                   9868: # appended to by config.status.  When coming back to configure, we
                   9869: # need to make the FD available again.
                   9870: if test "$no_create" != yes; then
                   9871:   ac_cs_success=:
                   9872:   ac_config_status_args=
                   9873:   test "$silent" = yes &&
                   9874:     ac_config_status_args="$ac_config_status_args --quiet"
                   9875:   exec 5>/dev/null
                   9876:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   9877:   exec 5>>config.log
                   9878:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   9879:   # would make configure fail if this is the last instruction.
                   9880:   $ac_cs_success || { (exit 1); exit 1; }
                   9881: fi
1.1       parser   9882: 
1.10      paf      9883: #
                   9884: # CONFIG_SUBDIRS section.
                   9885: #
1.1       parser   9886: if test "$no_recursion" != yes; then
                   9887: 
                   9888:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   9889:   ac_sub_configure_args=
                   9890:   ac_prev=
                   9891:   for ac_arg in $ac_configure_args; do
                   9892:     if test -n "$ac_prev"; then
                   9893:       ac_prev=
                   9894:       continue
                   9895:     fi
1.10      paf      9896:     case $ac_arg in
1.1       parser   9897:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   9898:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   9899:       ac_prev=cache_file ;;
                   9900:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.10      paf      9901:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   9902:     | --c=*)
                   9903:       ;;
                   9904:     --config-cache | -C)
1.1       parser   9905:       ;;
                   9906:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   9907:       ac_prev=srcdir ;;
                   9908:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   9909:       ;;
1.10      paf      9910:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   9911:       ac_prev=prefix ;;
                   9912:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   9913:       ;;
1.1       parser   9914:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   9915:     esac
                   9916:   done
                   9917: 
1.10      paf      9918:   # Always prepend --prefix to ensure using the same prefix
                   9919:   # in subdir configurations.
                   9920:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   9921: 
                   9922:   ac_popdir=`pwd`
                   9923:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   9924: 
                   9925:     # Do not complain, so a configure script can configure whichever
                   9926:     # parts of a large source tree are present.
1.10      paf      9927:     test -d $srcdir/$ac_dir || continue
1.1       parser   9928: 
1.10      paf      9929:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   9930: echo "$as_me: configuring in $ac_dir" >&6;}
                   9931:     { if $as_mkdir_p; then
                   9932:     mkdir -p "$ac_dir"
                   9933:   else
                   9934:     as_dir="$ac_dir"
                   9935:     as_dirs=
                   9936:     while test ! -d "$as_dir"; do
                   9937:       as_dirs="$as_dir $as_dirs"
                   9938:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9939: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9940:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9941:          X"$as_dir" : 'X\(//\)$' \| \
                   9942:          X"$as_dir" : 'X\(/\)' \| \
                   9943:          .     : '\(.\)' 2>/dev/null ||
                   9944: echo X"$as_dir" |
                   9945:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9946:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9947:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9948:          /^X\(\/\).*/{ s//\1/; q; }
                   9949:          s/.*/./; q'`
                   9950:     done
                   9951:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9952:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9953: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9954:    { (exit 1); exit 1; }; }; }
                   9955: 
                   9956:     ac_builddir=.
                   9957: 
                   9958: if test "$ac_dir" != .; then
                   9959:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9960:   # A "../" for each directory in $ac_dir_suffix.
                   9961:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9962: else
                   9963:   ac_dir_suffix= ac_top_builddir=
                   9964: fi
                   9965: 
                   9966: case $srcdir in
                   9967:   .)  # No --srcdir option.  We are building in place.
                   9968:     ac_srcdir=.
                   9969:     if test -z "$ac_top_builddir"; then
                   9970:        ac_top_srcdir=.
                   9971:     else
                   9972:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   9973:     fi ;;
                   9974:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   9975:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9976:     ac_top_srcdir=$srcdir ;;
                   9977:   *) # Relative path.
                   9978:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   9979:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   9980: esac
                   9981: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   9982: # absolute.
                   9983: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   9984: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   9985: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   9986: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1       parser   9987: 
                   9988: 
1.10      paf      9989:     cd $ac_dir
1.1       parser   9990: 
                   9991:     # Check for guested configure; otherwise get Cygnus style configure.
1.10      paf      9992:     if test -f $ac_srcdir/configure.gnu; then
                   9993:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   9994:     elif test -f $ac_srcdir/configure; then
                   9995:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   9996:     elif test -f $ac_srcdir/configure.in; then
1.1       parser   9997:       ac_sub_configure=$ac_configure
                   9998:     else
1.10      paf      9999:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   10000: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   10001:       ac_sub_configure=
                   10002:     fi
                   10003: 
                   10004:     # The recursion is here.
                   10005:     if test -n "$ac_sub_configure"; then
                   10006:       # Make the cache file name correct relative to the subdirectory.
1.10      paf      10007:       case $cache_file in
                   10008:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       parser   10009:       *) # Relative path.
1.10      paf      10010:         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       parser   10011:       esac
                   10012: 
1.10      paf      10013:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   10014: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       parser   10015:       # The eval makes quoting arguments work.
1.10      paf      10016:       eval $ac_sub_configure $ac_sub_configure_args \
                   10017:            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   10018:         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
                   10019: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   10020:    { (exit 1); exit 1; }; }
1.1       parser   10021:     fi
                   10022: 
                   10023:     cd $ac_popdir
                   10024:   done
                   10025: fi
                   10026: 

E-mail: