Annotation of sql/mysql/configure, revision 1.23.2.1

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.15      paf         3: # Generated by GNU Autoconf 2.57.
1.1       parser      4: #
1.15      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.15      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: 
1.1       parser    401: 
1.15      paf       402: # Name of the host.
                    403: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    404: # so uname gets run too.
                    405: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    406: 
                    407: exec 6>&1
                    408: 
                    409: #
                    410: # Initializations.
                    411: #
1.1       parser    412: ac_default_prefix=/usr/local
1.15      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="parser3mysql.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.23.2.1! 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 MYSQL_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.15      paf       472: ac_subst_files=''
1.1       parser    473: 
                    474: # Initialize some variables set by options.
1.15      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.15      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.15      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.15      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.15      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.15      paf       531:     bindir=$ac_optarg ;;
1.1       parser    532: 
                    533:   -build | --build | --buil | --bui | --bu)
1.15      paf       534:     ac_prev=build_alias ;;
1.1       parser    535:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.15      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.15      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.15      paf       552:     datadir=$ac_optarg ;;
1.1       parser    553: 
                    554:   -disable-* | --disable-*)
1.15      paf       555:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       parser    556:     # Reject names that are not valid shell variable names.
1.15      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.15      paf       564:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       parser    565:     # Reject names that are not valid shell variable names.
1.15      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.15      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.15      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.15      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.15      paf       597:     ac_prev=host_alias ;;
1.1       parser    598:   -host=* | --host=* | --hos=* | --ho=*)
1.15      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.15      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.15      paf       611:     infodir=$ac_optarg ;;
1.1       parser    612: 
                    613:   -libdir | --libdir | --libdi | --libd)
                    614:     ac_prev=libdir ;;
                    615:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      paf       715:     sharedstatedir=$ac_optarg ;;
1.1       parser    716: 
                    717:   -site | --site | --sit)
                    718:     ac_prev=site ;;
                    719:   -site=* | --site=* | --sit=*)
1.15      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.15      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.15      paf       732:     sysconfdir=$ac_optarg ;;
1.1       parser    733: 
                    734:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.15      paf       735:     ac_prev=target_alias ;;
1.1       parser    736:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.15      paf       737:     target_alias=$ac_optarg ;;
1.1       parser    738: 
                    739:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    740:     verbose=yes ;;
                    741: 
1.15      paf       742:   -version | --version | --versio | --versi | --vers | -V)
                    743:     ac_init_version=: ;;
1.1       parser    744: 
                    745:   -with-* | --with-*)
1.15      paf       746:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       parser    747:     # Reject names that are not valid shell variable names.
1.15      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.15      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.15      paf       756:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       parser    757: 
                    758:   -without-* | --without-*)
1.15      paf       759:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       parser    760:     # Reject names that are not valid shell variable names.
1.15      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.15      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.15      paf       783:     x_libraries=$ac_optarg ;;
1.1       parser    784: 
1.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.15      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.23.2.1! 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.15      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-mysql-inc=DIR        DIR is the MySQL 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.23.2.1! paf      1042:   CPP         C preprocessor
1.15      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
                   1105: 
                   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
1.1       parser   1328: 
1.15      paf      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.15      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.15      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.15      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.15      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
                   1431: 
                   1432: 
                   1433: 
                   1434: 
                   1435: 
                   1436: 
                   1437: 
                   1438: 
                   1439: 
                   1440: 
                   1441: 
                   1442: 
                   1443: 
                   1444: 
                   1445: 
                   1446: 
                   1447: 
                   1448: 
                   1449: 
1.1       parser   1450: 
                   1451: 
1.15      paf      1452: am__api_version="1.7"
1.1       parser   1453: ac_aux_dir=
                   1454: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1455:   if test -f $ac_dir/install-sh; then
                   1456:     ac_aux_dir=$ac_dir
                   1457:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1458:     break
                   1459:   elif test -f $ac_dir/install.sh; then
                   1460:     ac_aux_dir=$ac_dir
                   1461:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1462:     break
1.15      paf      1463:   elif test -f $ac_dir/shtool; then
                   1464:     ac_aux_dir=$ac_dir
                   1465:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1466:     break
1.1       parser   1467:   fi
                   1468: done
                   1469: if test -z "$ac_aux_dir"; then
1.15      paf      1470:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1471: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1472:    { (exit 1); exit 1; }; }
                   1473: fi
                   1474: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1475: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1476: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       parser   1477: 
                   1478: # Find a good install program.  We prefer a C program (faster),
                   1479: # so one script is as good as another.  But avoid the broken or
                   1480: # incompatible versions:
                   1481: # SysV /etc/install, /usr/sbin/install
                   1482: # SunOS /usr/etc/install
                   1483: # IRIX /sbin/install
                   1484: # AIX /bin/install
1.15      paf      1485: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1486: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1487: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1488: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1489: # ./install, which can be erroneously created by make from ./install.sh.
1.15      paf      1490: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1491: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1492: if test -z "$INSTALL"; then
1.15      paf      1493: if test "${ac_cv_path_install+set}" = set; then
                   1494:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1495: else
1.15      paf      1496:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1497: for as_dir in $PATH
                   1498: do
                   1499:   IFS=$as_save_IFS
                   1500:   test -z "$as_dir" && as_dir=.
                   1501:   # Account for people who put trailing slashes in PATH elements.
                   1502: case $as_dir/ in
                   1503:   ./ | .// | /cC/* | \
                   1504:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1505:   /usr/ucb/* ) ;;
                   1506:   *)
                   1507:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1508:     # Don't use installbsd from OSF since it installs stuff as root
                   1509:     # by default.
                   1510:     for ac_prog in ginstall scoinst install; do
                   1511:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1512:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1513:           if test $ac_prog = install &&
                   1514:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1515:             # AIX install.  It has an incompatible calling convention.
                   1516:             :
                   1517:           elif test $ac_prog = install &&
                   1518:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1519:             # program-specific install script used by HP pwplus--don't use.
                   1520:             :
                   1521:           else
                   1522:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1523:             break 3
                   1524:           fi
                   1525:         fi
1.1       parser   1526:       done
1.15      paf      1527:     done
                   1528:     ;;
                   1529: esac
                   1530: done
                   1531: 
1.1       parser   1532: 
                   1533: fi
                   1534:   if test "${ac_cv_path_install+set}" = set; then
1.15      paf      1535:     INSTALL=$ac_cv_path_install
1.1       parser   1536:   else
                   1537:     # As a last resort, use the slow shell script.  We don't cache a
                   1538:     # path for INSTALL within a source directory, because that will
                   1539:     # break other packages using the cache if that directory is
                   1540:     # removed, or if the path is relative.
1.15      paf      1541:     INSTALL=$ac_install_sh
1.1       parser   1542:   fi
                   1543: fi
1.15      paf      1544: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1545: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1546: 
                   1547: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1548: # It thinks the first close brace ends the variable substitution.
                   1549: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1550: 
1.15      paf      1551: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1552: 
                   1553: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1554: 
1.15      paf      1555: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1556: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       parser   1557: # Just in case
                   1558: sleep 1
1.15      paf      1559: echo timestamp > conftest.file
1.1       parser   1560: # Do `set' in a subshell so we don't clobber the current shell's
                   1561: # arguments.  Must try -L first in case configure is actually a
                   1562: # symlink; some systems play weird games with the mod time of symlinks
                   1563: # (eg FreeBSD returns the mod time of the symlink's containing
                   1564: # directory).
                   1565: if (
1.15      paf      1566:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       parser   1567:    if test "$*" = "X"; then
                   1568:       # -L didn't work.
1.15      paf      1569:       set X `ls -t $srcdir/configure conftest.file`
1.1       parser   1570:    fi
1.15      paf      1571:    rm -f conftest.file
                   1572:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1573:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       parser   1574: 
                   1575:       # If neither matched, then we have a broken ls.  This can happen
                   1576:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1577:       # broken ls alias from the environment.  This has actually
                   1578:       # happened.  Such a system could not be considered "sane".
1.15      paf      1579:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1580: alias in your environment" >&5
                   1581: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1582: alias in your environment" >&2;}
                   1583:    { (exit 1); exit 1; }; }
1.1       parser   1584:    fi
                   1585: 
1.15      paf      1586:    test "$2" = conftest.file
1.1       parser   1587:    )
                   1588: then
                   1589:    # Ok.
                   1590:    :
                   1591: else
1.15      paf      1592:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1593: Check your system clock" >&5
                   1594: echo "$as_me: error: newly created file is older than distributed files!
                   1595: Check your system clock" >&2;}
                   1596:    { (exit 1); exit 1; }; }
1.1       parser   1597: fi
1.15      paf      1598: echo "$as_me:$LINENO: result: yes" >&5
                   1599: echo "${ECHO_T}yes" >&6
1.1       parser   1600: test "$program_prefix" != NONE &&
1.15      paf      1601:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       parser   1602: # Use a double $ so make ignores it.
                   1603: test "$program_suffix" != NONE &&
1.15      paf      1604:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1605: # Double any \ or $.  echo might interpret backslashes.
                   1606: # By default was `s,x,x', remove it if useless.
                   1607: cat <<\_ACEOF >conftest.sed
                   1608: s/[\\$]/&&/g;s/;s,x,x,$//
                   1609: _ACEOF
                   1610: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1611: rm conftest.sed
                   1612: 
                   1613: 
                   1614: # expand $ac_aux_dir to an absolute path
                   1615: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1616: 
                   1617: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1618: # Use eval to expand $SHELL
                   1619: if eval "$MISSING --run true"; then
                   1620:   am_missing_run="$MISSING --run "
                   1621: else
                   1622:   am_missing_run=
                   1623:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1624: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1625: fi
                   1626: 
                   1627: for ac_prog in gawk mawk nawk awk
                   1628: do
                   1629:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1630: set dummy $ac_prog; ac_word=$2
                   1631: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1632: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1633: if test "${ac_cv_prog_AWK+set}" = set; then
                   1634:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1635: else
                   1636:   if test -n "$AWK"; then
                   1637:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1638: else
                   1639: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1640: for as_dir in $PATH
                   1641: do
                   1642:   IFS=$as_save_IFS
                   1643:   test -z "$as_dir" && as_dir=.
                   1644:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1645:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1646:     ac_cv_prog_AWK="$ac_prog"
                   1647:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1648:     break 2
                   1649:   fi
                   1650: done
                   1651: done
                   1652: 
                   1653: fi
                   1654: fi
                   1655: AWK=$ac_cv_prog_AWK
                   1656: if test -n "$AWK"; then
                   1657:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1658: echo "${ECHO_T}$AWK" >&6
                   1659: else
                   1660:   echo "$as_me:$LINENO: result: no" >&5
                   1661: echo "${ECHO_T}no" >&6
                   1662: fi
1.1       parser   1663: 
1.15      paf      1664:   test -n "$AWK" && break
                   1665: done
1.1       parser   1666: 
1.15      paf      1667: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1668: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1669: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1670: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1671:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1672: else
1.15      paf      1673:   cat >conftest.make <<\_ACEOF
1.1       parser   1674: all:
1.15      paf      1675:        @echo 'ac_maketemp="$(MAKE)"'
                   1676: _ACEOF
1.1       parser   1677: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.15      paf      1678: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1679: if test -n "$ac_maketemp"; then
                   1680:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1681: else
                   1682:   eval ac_cv_prog_make_${ac_make}_set=no
                   1683: fi
1.15      paf      1684: rm -f conftest.make
1.1       parser   1685: fi
                   1686: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.15      paf      1687:   echo "$as_me:$LINENO: result: yes" >&5
                   1688: echo "${ECHO_T}yes" >&6
1.1       parser   1689:   SET_MAKE=
                   1690: else
1.15      paf      1691:   echo "$as_me:$LINENO: result: no" >&5
                   1692: echo "${ECHO_T}no" >&6
1.1       parser   1693:   SET_MAKE="MAKE=${MAKE-make}"
                   1694: fi
                   1695: 
1.15      paf      1696:  # test to see if srcdir already configured
                   1697: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1698:    test -f $srcdir/config.status; then
                   1699:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1700: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1701:    { (exit 1); exit 1; }; }
                   1702: fi
                   1703: 
                   1704: # test whether we have cygpath
                   1705: if test -z "$CYGPATH_W"; then
                   1706:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1707:     CYGPATH_W='cygpath -w'
                   1708:   else
                   1709:     CYGPATH_W=echo
                   1710:   fi
                   1711: fi
                   1712: 
                   1713: 
                   1714: # Define the identity of the package.
                   1715:  PACKAGE=parser3mysql
1.22      paf      1716:  VERSION=3.1.HEAD
1.15      paf      1717: 
                   1718: 
                   1719: # Some tools Automake needs.
                   1720: 
                   1721: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1722: 
                   1723: 
                   1724: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1       parser   1725: 
                   1726: 
1.15      paf      1727: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1728: 
                   1729: 
                   1730: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1731: 
                   1732: 
                   1733: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       parser   1734: 
                   1735: 
1.15      paf      1736: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1       parser   1737: 
1.15      paf      1738: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       parser   1739: 
1.15      paf      1740: # Installed binaries are usually stripped using `strip' when the user
                   1741: # run `make install-strip'.  However `strip' might not be the right
                   1742: # tool to use in cross-compilation environments, therefore Automake
                   1743: # will honor the `STRIP' environment variable to overrule this program.
                   1744: if test "$cross_compiling" != no; then
                   1745:   if test -n "$ac_tool_prefix"; then
                   1746:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1747: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1748: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1749: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1750: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1751:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1752: else
                   1753:   if test -n "$STRIP"; then
                   1754:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       parser   1755: else
1.15      paf      1756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1757: for as_dir in $PATH
                   1758: do
                   1759:   IFS=$as_save_IFS
                   1760:   test -z "$as_dir" && as_dir=.
                   1761:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1762:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1763:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1764:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1765:     break 2
                   1766:   fi
                   1767: done
                   1768: done
                   1769: 
                   1770: fi
                   1771: fi
                   1772: STRIP=$ac_cv_prog_STRIP
                   1773: if test -n "$STRIP"; then
                   1774:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1775: echo "${ECHO_T}$STRIP" >&6
                   1776: else
                   1777:   echo "$as_me:$LINENO: result: no" >&5
                   1778: echo "${ECHO_T}no" >&6
1.1       parser   1779: fi
                   1780: 
1.15      paf      1781: fi
                   1782: if test -z "$ac_cv_prog_STRIP"; then
                   1783:   ac_ct_STRIP=$STRIP
                   1784:   # Extract the first word of "strip", so it can be a program name with args.
                   1785: set dummy strip; ac_word=$2
                   1786: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1787: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1788: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1789:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1790: else
1.15      paf      1791:   if test -n "$ac_ct_STRIP"; then
                   1792:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   1793: else
                   1794: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1795: for as_dir in $PATH
                   1796: do
                   1797:   IFS=$as_save_IFS
                   1798:   test -z "$as_dir" && as_dir=.
                   1799:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1800:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1801:     ac_cv_prog_ac_ct_STRIP="strip"
                   1802:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1803:     break 2
                   1804:   fi
                   1805: done
                   1806: done
                   1807: 
                   1808:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1       parser   1809: fi
1.15      paf      1810: fi
                   1811: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1812: if test -n "$ac_ct_STRIP"; then
                   1813:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1814: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       parser   1815: else
1.15      paf      1816:   echo "$as_me:$LINENO: result: no" >&5
                   1817: echo "${ECHO_T}no" >&6
1.1       parser   1818: fi
                   1819: 
1.15      paf      1820:   STRIP=$ac_ct_STRIP
1.1       parser   1821: else
1.15      paf      1822:   STRIP="$ac_cv_prog_STRIP"
1.1       parser   1823: fi
                   1824: 
                   1825: fi
1.15      paf      1826: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1827: 
                   1828: # We need awk for the "check" target.  The system "awk" is bad on
                   1829: # some platforms.
1.1       parser   1830: 
                   1831: 
                   1832: 
                   1833: 
1.15      paf      1834:           ac_config_headers="$ac_config_headers config_auto.h"
                   1835: 
1.1       parser   1836: 
                   1837: 
                   1838: 
                   1839: 
1.8       paf      1840: 
                   1841: 
                   1842: 
1.4       paf      1843: # Check whether --with-mysql-inc or --without-mysql-inc was given.
1.1       parser   1844: if test "${with_mysql_inc+set}" = set; then
                   1845:   withval="$with_mysql_inc"
1.15      paf      1846: 
1.8       paf      1847:        if test -r "$withval/mysql.h"; then
                   1848:                MYSQL_INC=$withval
                   1849:        fi
                   1850: 
                   1851: 
                   1852:     if test -z "$MYSQL_INC"; then
1.15      paf      1853:                { { echo "$as_me:$LINENO: error: $MYSQL_INC does not seem to be valid MySQL includes directory" >&5
                   1854: echo "$as_me: error: $MYSQL_INC does not seem to be valid MySQL includes directory" >&2;}
                   1855:    { (exit 1); exit 1; }; }
1.8       paf      1856:     fi
                   1857: 
1.1       parser   1858: else
1.15      paf      1859:   echo "$as_me:$LINENO: checking for MYSQL_INC directory" >&5
                   1860: echo $ECHO_N "checking for MYSQL_INC directory... $ECHO_C" >&6
1.8       paf      1861:        for d in \
                   1862:                /usr/local/include/mysql \
                   1863:                /usr/include/mysql ; do
1.15      paf      1864: 
1.8       paf      1865:        if test -r "$d/mysql.h"; then
                   1866:                MYSQL_INC=$d
                   1867:        fi
                   1868: 
                   1869:        done
                   1870: 
                   1871:     if test -z "$MYSQL_INC"; then
1.15      paf      1872:        { { echo "$as_me:$LINENO: error: use --with-mysql-inc=DIR to specify MySQL includes directory" >&5
                   1873: echo "$as_me: error: use --with-mysql-inc=DIR to specify MySQL includes directory" >&2;}
                   1874:    { (exit 1); exit 1; }; }
1.8       paf      1875:     fi
                   1876: 
1.15      paf      1877:        echo "$as_me:$LINENO: result: $MYSQL_INC" >&5
                   1878: echo "${ECHO_T}$MYSQL_INC" >&6
1.1       parser   1879: 
1.15      paf      1880: fi;
1.3       parser   1881: 
1.1       parser   1882: 
                   1883: 
1.3       parser   1884: 
1.1       parser   1885: 
                   1886: # Find a good install program.  We prefer a C program (faster),
                   1887: # so one script is as good as another.  But avoid the broken or
                   1888: # incompatible versions:
                   1889: # SysV /etc/install, /usr/sbin/install
                   1890: # SunOS /usr/etc/install
                   1891: # IRIX /sbin/install
                   1892: # AIX /bin/install
1.15      paf      1893: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1894: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1895: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1896: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1897: # ./install, which can be erroneously created by make from ./install.sh.
1.15      paf      1898: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1899: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1900: if test -z "$INSTALL"; then
1.15      paf      1901: if test "${ac_cv_path_install+set}" = set; then
                   1902:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1903: else
1.15      paf      1904:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1905: for as_dir in $PATH
                   1906: do
                   1907:   IFS=$as_save_IFS
                   1908:   test -z "$as_dir" && as_dir=.
                   1909:   # Account for people who put trailing slashes in PATH elements.
                   1910: case $as_dir/ in
                   1911:   ./ | .// | /cC/* | \
                   1912:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1913:   /usr/ucb/* ) ;;
                   1914:   *)
                   1915:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1916:     # Don't use installbsd from OSF since it installs stuff as root
                   1917:     # by default.
                   1918:     for ac_prog in ginstall scoinst install; do
                   1919:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1920:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1921:           if test $ac_prog = install &&
                   1922:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1923:             # AIX install.  It has an incompatible calling convention.
                   1924:             :
                   1925:           elif test $ac_prog = install &&
                   1926:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1927:             # program-specific install script used by HP pwplus--don't use.
                   1928:             :
                   1929:           else
                   1930:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1931:             break 3
                   1932:           fi
                   1933:         fi
1.1       parser   1934:       done
1.15      paf      1935:     done
                   1936:     ;;
                   1937: esac
                   1938: done
                   1939: 
1.1       parser   1940: 
                   1941: fi
                   1942:   if test "${ac_cv_path_install+set}" = set; then
1.15      paf      1943:     INSTALL=$ac_cv_path_install
1.1       parser   1944:   else
                   1945:     # As a last resort, use the slow shell script.  We don't cache a
                   1946:     # path for INSTALL within a source directory, because that will
                   1947:     # break other packages using the cache if that directory is
                   1948:     # removed, or if the path is relative.
1.15      paf      1949:     INSTALL=$ac_install_sh
1.1       parser   1950:   fi
                   1951: fi
1.15      paf      1952: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1953: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1954: 
                   1955: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1956: # It thinks the first close brace ends the variable substitution.
                   1957: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1958: 
1.15      paf      1959: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1960: 
                   1961: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1962: 
1.15      paf      1963: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1964: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1965: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1966: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1967:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1968: else
1.15      paf      1969:   cat >conftest.make <<\_ACEOF
1.1       parser   1970: all:
1.15      paf      1971:        @echo 'ac_maketemp="$(MAKE)"'
                   1972: _ACEOF
1.1       parser   1973: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.15      paf      1974: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1975: if test -n "$ac_maketemp"; then
                   1976:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1977: else
                   1978:   eval ac_cv_prog_make_${ac_make}_set=no
                   1979: fi
1.15      paf      1980: rm -f conftest.make
1.1       parser   1981: fi
                   1982: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.15      paf      1983:   echo "$as_me:$LINENO: result: yes" >&5
                   1984: echo "${ECHO_T}yes" >&6
1.1       parser   1985:   SET_MAKE=
                   1986: else
1.15      paf      1987:   echo "$as_me:$LINENO: result: no" >&5
                   1988: echo "${ECHO_T}no" >&6
1.1       parser   1989:   SET_MAKE="MAKE=${MAKE-make}"
                   1990: fi
                   1991: 
1.15      paf      1992: for ac_prog in gawk mawk nawk awk
1.1       parser   1993: do
1.15      paf      1994:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1       parser   1995: set dummy $ac_prog; ac_word=$2
1.15      paf      1996: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1997: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1998: if test "${ac_cv_prog_AWK+set}" = set; then
                   1999:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2000: else
                   2001:   if test -n "$AWK"; then
                   2002:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2003: else
1.15      paf      2004: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2005: for as_dir in $PATH
                   2006: do
                   2007:   IFS=$as_save_IFS
                   2008:   test -z "$as_dir" && as_dir=.
                   2009:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2010:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2011:     ac_cv_prog_AWK="$ac_prog"
                   2012:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2013:     break 2
                   2014:   fi
                   2015: done
                   2016: done
                   2017: 
1.1       parser   2018: fi
                   2019: fi
1.15      paf      2020: AWK=$ac_cv_prog_AWK
1.1       parser   2021: if test -n "$AWK"; then
1.15      paf      2022:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2023: echo "${ECHO_T}$AWK" >&6
1.1       parser   2024: else
1.15      paf      2025:   echo "$as_me:$LINENO: result: no" >&5
                   2026: echo "${ECHO_T}no" >&6
1.1       parser   2027: fi
                   2028: 
1.15      paf      2029:   test -n "$AWK" && break
1.1       parser   2030: done
                   2031: 
1.15      paf      2032: ac_ext=cc
                   2033: ac_cpp='$CXXCPP $CPPFLAGS'
                   2034: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2035: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2036: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2037: if test -n "$ac_tool_prefix"; then
                   2038:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2039:   do
                   2040:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2041: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2042: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2043: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2044: if test "${ac_cv_prog_CXX+set}" = set; then
                   2045:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2046: else
                   2047:   if test -n "$CXX"; then
                   2048:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2049: else
1.15      paf      2050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2051: for as_dir in $PATH
                   2052: do
                   2053:   IFS=$as_save_IFS
                   2054:   test -z "$as_dir" && as_dir=.
                   2055:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2056:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2057:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   2058:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2059:     break 2
                   2060:   fi
                   2061: done
                   2062: done
                   2063: 
1.1       parser   2064: fi
                   2065: fi
1.15      paf      2066: CXX=$ac_cv_prog_CXX
1.1       parser   2067: if test -n "$CXX"; then
1.15      paf      2068:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2069: echo "${ECHO_T}$CXX" >&6
1.1       parser   2070: else
1.15      paf      2071:   echo "$as_me:$LINENO: result: no" >&5
                   2072: echo "${ECHO_T}no" >&6
1.1       parser   2073: fi
                   2074: 
1.15      paf      2075:     test -n "$CXX" && break
                   2076:   done
                   2077: fi
                   2078: if test -z "$CXX"; then
                   2079:   ac_ct_CXX=$CXX
                   2080:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2081: do
                   2082:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2083: set dummy $ac_prog; ac_word=$2
                   2084: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2085: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2086: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   2087:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2088: else
                   2089:   if test -n "$ac_ct_CXX"; then
                   2090:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2091: else
                   2092: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2093: for as_dir in $PATH
                   2094: do
                   2095:   IFS=$as_save_IFS
                   2096:   test -z "$as_dir" && as_dir=.
                   2097:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2098:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2099:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   2100:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2101:     break 2
                   2102:   fi
                   2103: done
1.1       parser   2104: done
                   2105: 
1.15      paf      2106: fi
                   2107: fi
                   2108: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2109: if test -n "$ac_ct_CXX"; then
                   2110:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2111: echo "${ECHO_T}$ac_ct_CXX" >&6
                   2112: else
                   2113:   echo "$as_me:$LINENO: result: no" >&5
                   2114: echo "${ECHO_T}no" >&6
                   2115: fi
1.1       parser   2116: 
1.15      paf      2117:   test -n "$ac_ct_CXX" && break
                   2118: done
                   2119: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1       parser   2120: 
1.15      paf      2121:   CXX=$ac_ct_CXX
                   2122: fi
1.1       parser   2123: 
                   2124: 
1.15      paf      2125: # Provide some information about the compiler.
                   2126: echo "$as_me:$LINENO:" \
                   2127:      "checking for C++ compiler version" >&5
                   2128: ac_compiler=`set X $ac_compile; echo $2`
                   2129: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2130:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2131:   ac_status=$?
                   2132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2133:   (exit $ac_status); }
                   2134: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2135:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2136:   ac_status=$?
                   2137:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2138:   (exit $ac_status); }
                   2139: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2140:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2141:   ac_status=$?
                   2142:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2143:   (exit $ac_status); }
                   2144: 
                   2145: cat >conftest.$ac_ext <<_ACEOF
                   2146: #line $LINENO "configure"
                   2147: /* confdefs.h.  */
                   2148: _ACEOF
                   2149: cat confdefs.h >>conftest.$ac_ext
                   2150: cat >>conftest.$ac_ext <<_ACEOF
                   2151: /* end confdefs.h.  */
                   2152: 
                   2153: int
                   2154: main ()
                   2155: {
                   2156: 
                   2157:   ;
                   2158:   return 0;
                   2159: }
                   2160: _ACEOF
                   2161: ac_clean_files_save=$ac_clean_files
                   2162: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2163: # Try to create an executable without -o first, disregard a.out.
                   2164: # It will help us diagnose broken compilers, and finding out an intuition
                   2165: # of exeext.
                   2166: echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
                   2167: echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
                   2168: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2169: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2170:   (eval $ac_link_default) 2>&5
                   2171:   ac_status=$?
                   2172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2173:   (exit $ac_status); }; then
                   2174:   # Find the output, starting from the most likely.  This scheme is
                   2175: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2176: # resort.
                   2177: 
                   2178: # Be careful to initialize this variable, since it used to be cached.
                   2179: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2180: ac_cv_exeext=
                   2181: # b.out is created by i960 compilers.
                   2182: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   2183: do
                   2184:   test -f "$ac_file" || continue
                   2185:   case $ac_file in
                   2186:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
                   2187:         ;;
                   2188:     conftest.$ac_ext )
                   2189:         # This is the source file.
                   2190:         ;;
                   2191:     [ab].out )
                   2192:         # We found the default executable, but exeext='' is most
                   2193:         # certainly right.
                   2194:         break;;
                   2195:     *.* )
                   2196:         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2197:         # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2198:         # but it would be cool to find out if it's true.  Does anybody
                   2199:         # maintain Libtool? --akim.
                   2200:         export ac_cv_exeext
                   2201:         break;;
                   2202:     * )
                   2203:         break;;
                   2204:   esac
                   2205: done
                   2206: else
                   2207:   echo "$as_me: failed program was:" >&5
                   2208: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2209: 
1.15      paf      2210: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2211: See \`config.log' for more details." >&5
                   2212: echo "$as_me: error: C++ compiler cannot create executables
                   2213: See \`config.log' for more details." >&2;}
                   2214:    { (exit 77); exit 77; }; }
                   2215: fi
                   2216: 
                   2217: ac_exeext=$ac_cv_exeext
                   2218: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2219: echo "${ECHO_T}$ac_file" >&6
                   2220: 
                   2221: # Check the compiler produces executables we can run.  If not, either
                   2222: # the compiler is broken, or we cross compile.
                   2223: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2224: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2225: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2226: # If not cross compiling, check that we can run a simple program.
                   2227: if test "$cross_compiling" != yes; then
                   2228:   if { ac_try='./$ac_file'
                   2229:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2230:   (eval $ac_try) 2>&5
                   2231:   ac_status=$?
                   2232:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2233:   (exit $ac_status); }; }; then
                   2234:     cross_compiling=no
                   2235:   else
                   2236:     if test "$cross_compiling" = maybe; then
                   2237:        cross_compiling=yes
                   2238:     else
                   2239:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2240: If you meant to cross compile, use \`--host'.
                   2241: See \`config.log' for more details." >&5
                   2242: echo "$as_me: error: cannot run C++ compiled programs.
                   2243: If you meant to cross compile, use \`--host'.
                   2244: See \`config.log' for more details." >&2;}
                   2245:    { (exit 1); exit 1; }; }
                   2246:     fi
1.1       parser   2247:   fi
1.15      paf      2248: fi
                   2249: echo "$as_me:$LINENO: result: yes" >&5
                   2250: echo "${ECHO_T}yes" >&6
                   2251: 
                   2252: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2253: ac_clean_files=$ac_clean_files_save
                   2254: # Check the compiler produces executables we can run.  If not, either
                   2255: # the compiler is broken, or we cross compile.
                   2256: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2257: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2258: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2259: echo "${ECHO_T}$cross_compiling" >&6
                   2260: 
                   2261: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2262: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2263: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2264:   (eval $ac_link) 2>&5
                   2265:   ac_status=$?
                   2266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2267:   (exit $ac_status); }; then
                   2268:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2269: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2270: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2271: # `rm'.
                   2272: for ac_file in conftest.exe conftest conftest.*; do
                   2273:   test -f "$ac_file" || continue
                   2274:   case $ac_file in
                   2275:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2276:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2277:           export ac_cv_exeext
                   2278:           break;;
                   2279:     * ) break;;
                   2280:   esac
                   2281: done
1.1       parser   2282: else
1.15      paf      2283:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2284: See \`config.log' for more details." >&5
                   2285: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2286: See \`config.log' for more details." >&2;}
                   2287:    { (exit 1); exit 1; }; }
                   2288: fi
                   2289: 
                   2290: rm -f conftest$ac_cv_exeext
                   2291: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2292: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2293: 
                   2294: rm -f conftest.$ac_ext
                   2295: EXEEXT=$ac_cv_exeext
                   2296: ac_exeext=$EXEEXT
                   2297: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2298: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2299: if test "${ac_cv_objext+set}" = set; then
                   2300:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2301: else
                   2302:   cat >conftest.$ac_ext <<_ACEOF
                   2303: #line $LINENO "configure"
                   2304: /* confdefs.h.  */
                   2305: _ACEOF
                   2306: cat confdefs.h >>conftest.$ac_ext
                   2307: cat >>conftest.$ac_ext <<_ACEOF
                   2308: /* end confdefs.h.  */
                   2309: 
                   2310: int
                   2311: main ()
                   2312: {
                   2313: 
                   2314:   ;
                   2315:   return 0;
                   2316: }
                   2317: _ACEOF
                   2318: rm -f conftest.o conftest.obj
                   2319: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2320:   (eval $ac_compile) 2>&5
                   2321:   ac_status=$?
                   2322:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2323:   (exit $ac_status); }; then
                   2324:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2325:   case $ac_file in
                   2326:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2327:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2328:        break;;
                   2329:   esac
                   2330: done
1.1       parser   2331: else
1.15      paf      2332:   echo "$as_me: failed program was:" >&5
                   2333: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2334: 
1.15      paf      2335: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2336: See \`config.log' for more details." >&5
                   2337: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2338: See \`config.log' for more details." >&2;}
                   2339:    { (exit 1); exit 1; }; }
                   2340: fi
                   2341: 
                   2342: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2343: fi
                   2344: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2345: echo "${ECHO_T}$ac_cv_objext" >&6
                   2346: OBJEXT=$ac_cv_objext
                   2347: ac_objext=$OBJEXT
                   2348: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2349: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2350: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2351:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2352: else
                   2353:   cat >conftest.$ac_ext <<_ACEOF
                   2354: #line $LINENO "configure"
                   2355: /* confdefs.h.  */
                   2356: _ACEOF
                   2357: cat confdefs.h >>conftest.$ac_ext
                   2358: cat >>conftest.$ac_ext <<_ACEOF
                   2359: /* end confdefs.h.  */
                   2360: 
                   2361: int
                   2362: main ()
                   2363: {
                   2364: #ifndef __GNUC__
                   2365:        choke me
                   2366: #endif
1.1       parser   2367: 
1.15      paf      2368:   ;
                   2369:   return 0;
                   2370: }
                   2371: _ACEOF
                   2372: rm -f conftest.$ac_objext
                   2373: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2374:   (eval $ac_compile) 2>&5
                   2375:   ac_status=$?
                   2376:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2377:   (exit $ac_status); } &&
                   2378:          { ac_try='test -s conftest.$ac_objext'
                   2379:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2380:   (eval $ac_try) 2>&5
                   2381:   ac_status=$?
                   2382:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2383:   (exit $ac_status); }; }; then
                   2384:   ac_compiler_gnu=yes
                   2385: else
                   2386:   echo "$as_me: failed program was:" >&5
                   2387: sed 's/^/| /' conftest.$ac_ext >&5
                   2388: 
                   2389: ac_compiler_gnu=no
                   2390: fi
                   2391: rm -f conftest.$ac_objext conftest.$ac_ext
                   2392: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2393: 
                   2394: fi
                   2395: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2396: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2397: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2398: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2399: ac_save_CXXFLAGS=$CXXFLAGS
                   2400: CXXFLAGS="-g"
                   2401: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2402: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2403: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2404:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2405: else
                   2406:   cat >conftest.$ac_ext <<_ACEOF
                   2407: #line $LINENO "configure"
                   2408: /* confdefs.h.  */
                   2409: _ACEOF
                   2410: cat confdefs.h >>conftest.$ac_ext
                   2411: cat >>conftest.$ac_ext <<_ACEOF
                   2412: /* end confdefs.h.  */
                   2413: 
                   2414: int
                   2415: main ()
                   2416: {
                   2417: 
                   2418:   ;
                   2419:   return 0;
                   2420: }
                   2421: _ACEOF
                   2422: rm -f conftest.$ac_objext
                   2423: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2424:   (eval $ac_compile) 2>&5
                   2425:   ac_status=$?
                   2426:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2427:   (exit $ac_status); } &&
                   2428:          { ac_try='test -s conftest.$ac_objext'
                   2429:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2430:   (eval $ac_try) 2>&5
                   2431:   ac_status=$?
                   2432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2433:   (exit $ac_status); }; }; then
                   2434:   ac_cv_prog_cxx_g=yes
1.1       parser   2435: else
1.15      paf      2436:   echo "$as_me: failed program was:" >&5
                   2437: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2438: 
1.15      paf      2439: ac_cv_prog_cxx_g=no
1.1       parser   2440: fi
1.15      paf      2441: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       parser   2442: fi
1.15      paf      2443: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2444: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1       parser   2445: if test "$ac_test_CXXFLAGS" = set; then
1.15      paf      2446:   CXXFLAGS=$ac_save_CXXFLAGS
1.1       parser   2447: elif test $ac_cv_prog_cxx_g = yes; then
                   2448:   if test "$GXX" = yes; then
                   2449:     CXXFLAGS="-g -O2"
                   2450:   else
                   2451:     CXXFLAGS="-g"
                   2452:   fi
                   2453: else
                   2454:   if test "$GXX" = yes; then
                   2455:     CXXFLAGS="-O2"
                   2456:   else
                   2457:     CXXFLAGS=
                   2458:   fi
                   2459: fi
1.15      paf      2460: for ac_declaration in \
                   2461:    ''\
                   2462:    '#include <stdlib.h>' \
                   2463:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2464:    'extern "C" void std::exit (int); using std::exit;' \
                   2465:    'extern "C" void exit (int) throw ();' \
                   2466:    'extern "C" void exit (int);' \
                   2467:    'void exit (int);'
                   2468: do
                   2469:   cat >conftest.$ac_ext <<_ACEOF
                   2470: #line $LINENO "configure"
                   2471: /* confdefs.h.  */
                   2472: _ACEOF
                   2473: cat confdefs.h >>conftest.$ac_ext
                   2474: cat >>conftest.$ac_ext <<_ACEOF
                   2475: /* end confdefs.h.  */
                   2476: #include <stdlib.h>
                   2477: $ac_declaration
                   2478: int
                   2479: main ()
                   2480: {
                   2481: exit (42);
                   2482:   ;
                   2483:   return 0;
                   2484: }
                   2485: _ACEOF
                   2486: rm -f conftest.$ac_objext
                   2487: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2488:   (eval $ac_compile) 2>&5
                   2489:   ac_status=$?
                   2490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2491:   (exit $ac_status); } &&
                   2492:          { ac_try='test -s conftest.$ac_objext'
                   2493:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2494:   (eval $ac_try) 2>&5
                   2495:   ac_status=$?
                   2496:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2497:   (exit $ac_status); }; }; then
                   2498:   :
                   2499: else
                   2500:   echo "$as_me: failed program was:" >&5
                   2501: sed 's/^/| /' conftest.$ac_ext >&5
                   2502: 
                   2503: continue
                   2504: fi
                   2505: rm -f conftest.$ac_objext conftest.$ac_ext
                   2506:   cat >conftest.$ac_ext <<_ACEOF
                   2507: #line $LINENO "configure"
                   2508: /* confdefs.h.  */
                   2509: _ACEOF
                   2510: cat confdefs.h >>conftest.$ac_ext
                   2511: cat >>conftest.$ac_ext <<_ACEOF
                   2512: /* end confdefs.h.  */
                   2513: $ac_declaration
                   2514: int
                   2515: main ()
                   2516: {
                   2517: exit (42);
                   2518:   ;
                   2519:   return 0;
                   2520: }
                   2521: _ACEOF
                   2522: rm -f conftest.$ac_objext
                   2523: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2524:   (eval $ac_compile) 2>&5
                   2525:   ac_status=$?
                   2526:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2527:   (exit $ac_status); } &&
                   2528:          { ac_try='test -s conftest.$ac_objext'
                   2529:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2530:   (eval $ac_try) 2>&5
                   2531:   ac_status=$?
                   2532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2533:   (exit $ac_status); }; }; then
                   2534:   break
                   2535: else
                   2536:   echo "$as_me: failed program was:" >&5
                   2537: sed 's/^/| /' conftest.$ac_ext >&5
                   2538: 
                   2539: fi
                   2540: rm -f conftest.$ac_objext conftest.$ac_ext
                   2541: done
                   2542: rm -f conftest*
                   2543: if test -n "$ac_declaration"; then
                   2544:   echo '#ifdef __cplusplus' >>confdefs.h
                   2545:   echo $ac_declaration      >>confdefs.h
                   2546:   echo '#endif'             >>confdefs.h
                   2547: fi
                   2548: 
1.23.2.1! paf      2549: ac_ext=c
        !          2550: ac_cpp='$CPP $CPPFLAGS'
        !          2551: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2552: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2553: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      2554: rm -f .deps 2>/dev/null
                   2555: mkdir .deps 2>/dev/null
                   2556: if test -d .deps; then
                   2557:   DEPDIR=.deps
                   2558: else
                   2559:   # MS-DOS does not allow filenames that begin with a dot.
                   2560:   DEPDIR=_deps
                   2561: fi
                   2562: rmdir .deps 2>/dev/null
                   2563: 
                   2564: 
                   2565:           ac_config_commands="$ac_config_commands depfiles"
                   2566: 
                   2567: 
                   2568: am_make=${MAKE-make}
                   2569: cat > confinc << 'END'
                   2570: doit:
                   2571:        @echo done
                   2572: END
                   2573: # If we don't find an include directive, just comment out the code.
                   2574: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2575: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2576: am__include="#"
                   2577: am__quote=
                   2578: _am_result=none
                   2579: # First try GNU make style include.
                   2580: echo "include confinc" > confmf
                   2581: # We grep out `Entering directory' and `Leaving directory'
                   2582: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2583: # In particular we don't look at `^make:' because GNU make might
                   2584: # be invoked under some other name (usually "gmake"), in which
                   2585: # case it prints its new name instead of `make'.
                   2586: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2587:    am__include=include
                   2588:    am__quote=
                   2589:    _am_result=GNU
                   2590: fi
                   2591: # Now try BSD make style include.
                   2592: if test "$am__include" = "#"; then
                   2593:    echo '.include "confinc"' > confmf
                   2594:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2595:       am__include=.include
                   2596:       am__quote="\""
                   2597:       _am_result=BSD
                   2598:    fi
                   2599: fi
                   2600: 
                   2601: 
                   2602: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2603: echo "${ECHO_T}$_am_result" >&6
                   2604: rm -f confinc confmf
                   2605: 
                   2606: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2607: if test "${enable_dependency_tracking+set}" = set; then
                   2608:   enableval="$enable_dependency_tracking"
                   2609: 
                   2610: fi;
                   2611: if test "x$enable_dependency_tracking" != xno; then
                   2612:   am_depcomp="$ac_aux_dir/depcomp"
                   2613:   AMDEPBACKSLASH='\'
                   2614: fi
                   2615: 
                   2616: 
                   2617: if test "x$enable_dependency_tracking" != xno; then
                   2618:   AMDEP_TRUE=
                   2619:   AMDEP_FALSE='#'
                   2620: else
                   2621:   AMDEP_TRUE='#'
                   2622:   AMDEP_FALSE=
                   2623: fi
                   2624: 
                   2625: 
                   2626: 
                   2627: 
                   2628: depcc="$CXX"  am_compiler_list=
                   2629: 
                   2630: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2631: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2632: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2633:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2634: else
                   2635:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2636:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2637:   # making bogus files that we don't know about and never remove.  For
                   2638:   # instance it was reported that on HP-UX the gcc test will end up
                   2639:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2640:   # in D'.
                   2641:   mkdir conftest.dir
                   2642:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2643:   # using a relative directory.
                   2644:   cp "$am_depcomp" conftest.dir
                   2645:   cd conftest.dir
                   2646: 
                   2647:   am_cv_CXX_dependencies_compiler_type=none
                   2648:   if test "$am_compiler_list" = ""; then
                   2649:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2650:   fi
                   2651:   for depmode in $am_compiler_list; do
                   2652:     # We need to recreate these files for each test, as the compiler may
                   2653:     # overwrite some of them when testing with obscure command lines.
                   2654:     # This happens at least with the AIX C compiler.
                   2655:     echo '#include "conftest.h"' > conftest.c
                   2656:     echo 'int i;' > conftest.h
                   2657:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2658: 
                   2659:     case $depmode in
                   2660:     nosideeffect)
                   2661:       # after this tag, mechanisms are not by side-effect, so they'll
                   2662:       # only be used when explicitly requested
                   2663:       if test "x$enable_dependency_tracking" = xyes; then
                   2664:        continue
                   2665:       else
                   2666:        break
                   2667:       fi
                   2668:       ;;
                   2669:     none) break ;;
                   2670:     esac
                   2671:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2672:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2673:     # handle `-M -o', and we need to detect this.
                   2674:     if depmode=$depmode \
                   2675:        source=conftest.c object=conftest.o \
                   2676:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2677:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   2678:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2679:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2680:       am_cv_CXX_dependencies_compiler_type=$depmode
                   2681:       break
                   2682:     fi
                   2683:   done
                   2684: 
                   2685:   cd ..
                   2686:   rm -rf conftest.dir
                   2687: else
                   2688:   am_cv_CXX_dependencies_compiler_type=none
                   2689: fi
                   2690: 
                   2691: fi
                   2692: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2693: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2694: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2695: 
                   2696: 
                   2697: 
                   2698: if
                   2699:   test "x$enable_dependency_tracking" != xno \
                   2700:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2701:   am__fastdepCXX_TRUE=
                   2702:   am__fastdepCXX_FALSE='#'
                   2703: else
                   2704:   am__fastdepCXX_TRUE='#'
                   2705:   am__fastdepCXX_FALSE=
                   2706: fi
                   2707: 
1.1       parser   2708: 
1.15      paf      2709: ac_ext=c
                   2710: ac_cpp='$CPP $CPPFLAGS'
                   2711: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2712: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2713: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2714: if test -n "$ac_tool_prefix"; then
                   2715:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2716: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2717: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2718: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2719: if test "${ac_cv_prog_CC+set}" = set; then
                   2720:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2721: else
                   2722:   if test -n "$CC"; then
                   2723:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2724: else
                   2725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2726: for as_dir in $PATH
                   2727: do
                   2728:   IFS=$as_save_IFS
                   2729:   test -z "$as_dir" && as_dir=.
                   2730:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2731:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2732:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2733:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2734:     break 2
                   2735:   fi
                   2736: done
                   2737: done
1.1       parser   2738: 
1.15      paf      2739: fi
                   2740: fi
                   2741: CC=$ac_cv_prog_CC
                   2742: if test -n "$CC"; then
                   2743:   echo "$as_me:$LINENO: result: $CC" >&5
                   2744: echo "${ECHO_T}$CC" >&6
                   2745: else
                   2746:   echo "$as_me:$LINENO: result: no" >&5
                   2747: echo "${ECHO_T}no" >&6
                   2748: fi
1.1       parser   2749: 
1.15      paf      2750: fi
                   2751: if test -z "$ac_cv_prog_CC"; then
                   2752:   ac_ct_CC=$CC
                   2753:   # Extract the first word of "gcc", so it can be a program name with args.
                   2754: set dummy gcc; ac_word=$2
                   2755: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2756: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2757: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2758:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2759: else
1.15      paf      2760:   if test -n "$ac_ct_CC"; then
                   2761:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   2762: else
1.15      paf      2763: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2764: for as_dir in $PATH
                   2765: do
                   2766:   IFS=$as_save_IFS
                   2767:   test -z "$as_dir" && as_dir=.
                   2768:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2769:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2770:     ac_cv_prog_ac_ct_CC="gcc"
                   2771:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2772:     break 2
                   2773:   fi
                   2774: done
                   2775: done
                   2776: 
                   2777: fi
1.1       parser   2778: fi
1.15      paf      2779: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2780: if test -n "$ac_ct_CC"; then
                   2781:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2782: echo "${ECHO_T}$ac_ct_CC" >&6
                   2783: else
                   2784:   echo "$as_me:$LINENO: result: no" >&5
                   2785: echo "${ECHO_T}no" >&6
1.1       parser   2786: fi
1.15      paf      2787: 
                   2788:   CC=$ac_ct_CC
1.1       parser   2789: else
1.15      paf      2790:   CC="$ac_cv_prog_CC"
1.1       parser   2791: fi
                   2792: 
1.15      paf      2793: if test -z "$CC"; then
                   2794:   if test -n "$ac_tool_prefix"; then
                   2795:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2796: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2797: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2798: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2799: if test "${ac_cv_prog_CC+set}" = set; then
                   2800:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2801: else
                   2802:   if test -n "$CC"; then
                   2803:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2804: else
1.15      paf      2805: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2806: for as_dir in $PATH
                   2807: do
                   2808:   IFS=$as_save_IFS
                   2809:   test -z "$as_dir" && as_dir=.
                   2810:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2811:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2812:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2813:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2814:     break 2
                   2815:   fi
                   2816: done
                   2817: done
                   2818: 
1.1       parser   2819: fi
                   2820: fi
1.15      paf      2821: CC=$ac_cv_prog_CC
1.1       parser   2822: if test -n "$CC"; then
1.15      paf      2823:   echo "$as_me:$LINENO: result: $CC" >&5
                   2824: echo "${ECHO_T}$CC" >&6
                   2825: else
                   2826:   echo "$as_me:$LINENO: result: no" >&5
                   2827: echo "${ECHO_T}no" >&6
                   2828: fi
                   2829: 
                   2830: fi
                   2831: if test -z "$ac_cv_prog_CC"; then
                   2832:   ac_ct_CC=$CC
                   2833:   # Extract the first word of "cc", so it can be a program name with args.
                   2834: set dummy cc; ac_word=$2
                   2835: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2836: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2837: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2838:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2839: else
                   2840:   if test -n "$ac_ct_CC"; then
                   2841:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2842: else
                   2843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2844: for as_dir in $PATH
                   2845: do
                   2846:   IFS=$as_save_IFS
                   2847:   test -z "$as_dir" && as_dir=.
                   2848:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2849:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2850:     ac_cv_prog_ac_ct_CC="cc"
                   2851:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2852:     break 2
                   2853:   fi
                   2854: done
                   2855: done
                   2856: 
                   2857: fi
                   2858: fi
                   2859: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2860: if test -n "$ac_ct_CC"; then
                   2861:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2862: echo "${ECHO_T}$ac_ct_CC" >&6
                   2863: else
                   2864:   echo "$as_me:$LINENO: result: no" >&5
                   2865: echo "${ECHO_T}no" >&6
                   2866: fi
                   2867: 
                   2868:   CC=$ac_ct_CC
1.1       parser   2869: else
1.15      paf      2870:   CC="$ac_cv_prog_CC"
1.1       parser   2871: fi
                   2872: 
1.15      paf      2873: fi
1.1       parser   2874: if test -z "$CC"; then
                   2875:   # Extract the first word of "cc", so it can be a program name with args.
                   2876: set dummy cc; ac_word=$2
1.15      paf      2877: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2878: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2879: if test "${ac_cv_prog_CC+set}" = set; then
                   2880:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2881: else
                   2882:   if test -n "$CC"; then
                   2883:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2884: else
                   2885:   ac_prog_rejected=no
1.15      paf      2886: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2887: for as_dir in $PATH
                   2888: do
                   2889:   IFS=$as_save_IFS
                   2890:   test -z "$as_dir" && as_dir=.
                   2891:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2892:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2893:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2894:        ac_prog_rejected=yes
                   2895:        continue
                   2896:      fi
                   2897:     ac_cv_prog_CC="cc"
                   2898:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2899:     break 2
                   2900:   fi
                   2901: done
                   2902: done
                   2903: 
1.1       parser   2904: if test $ac_prog_rejected = yes; then
                   2905:   # We found a bogon in the path, so make sure we never use it.
                   2906:   set dummy $ac_cv_prog_CC
                   2907:   shift
1.15      paf      2908:   if test $# != 0; then
1.1       parser   2909:     # We chose a different compiler from the bogus one.
                   2910:     # However, it has the same basename, so the bogon will be chosen
                   2911:     # first if we set CC to just the basename; use the full file name.
                   2912:     shift
1.15      paf      2913:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   2914:   fi
                   2915: fi
                   2916: fi
                   2917: fi
1.15      paf      2918: CC=$ac_cv_prog_CC
1.1       parser   2919: if test -n "$CC"; then
1.15      paf      2920:   echo "$as_me:$LINENO: result: $CC" >&5
                   2921: echo "${ECHO_T}$CC" >&6
1.1       parser   2922: else
1.15      paf      2923:   echo "$as_me:$LINENO: result: no" >&5
                   2924: echo "${ECHO_T}no" >&6
1.1       parser   2925: fi
                   2926: 
1.15      paf      2927: fi
                   2928: if test -z "$CC"; then
                   2929:   if test -n "$ac_tool_prefix"; then
                   2930:   for ac_prog in cl
                   2931:   do
                   2932:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2933: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2934: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2935: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2936: if test "${ac_cv_prog_CC+set}" = set; then
                   2937:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2938: else
                   2939:   if test -n "$CC"; then
                   2940:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2941: else
1.15      paf      2942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2943: for as_dir in $PATH
                   2944: do
                   2945:   IFS=$as_save_IFS
                   2946:   test -z "$as_dir" && as_dir=.
                   2947:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2948:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2949:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2950:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2951:     break 2
                   2952:   fi
                   2953: done
                   2954: done
                   2955: 
1.1       parser   2956: fi
                   2957: fi
1.15      paf      2958: CC=$ac_cv_prog_CC
1.1       parser   2959: if test -n "$CC"; then
1.15      paf      2960:   echo "$as_me:$LINENO: result: $CC" >&5
                   2961: echo "${ECHO_T}$CC" >&6
1.1       parser   2962: else
1.15      paf      2963:   echo "$as_me:$LINENO: result: no" >&5
                   2964: echo "${ECHO_T}no" >&6
                   2965: fi
                   2966: 
                   2967:     test -n "$CC" && break
                   2968:   done
1.1       parser   2969: fi
1.15      paf      2970: if test -z "$CC"; then
                   2971:   ac_ct_CC=$CC
                   2972:   for ac_prog in cl
                   2973: do
                   2974:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2975: set dummy $ac_prog; ac_word=$2
                   2976: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2977: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2978: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2979:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2980: else
                   2981:   if test -n "$ac_ct_CC"; then
                   2982:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2983: else
                   2984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2985: for as_dir in $PATH
                   2986: do
                   2987:   IFS=$as_save_IFS
                   2988:   test -z "$as_dir" && as_dir=.
                   2989:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2990:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2991:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2992:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2993:     break 2
1.1       parser   2994:   fi
1.15      paf      2995: done
                   2996: done
                   2997: 
                   2998: fi
                   2999: fi
                   3000: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3001: if test -n "$ac_ct_CC"; then
                   3002:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3003: echo "${ECHO_T}$ac_ct_CC" >&6
                   3004: else
                   3005:   echo "$as_me:$LINENO: result: no" >&5
                   3006: echo "${ECHO_T}no" >&6
1.1       parser   3007: fi
                   3008: 
1.15      paf      3009:   test -n "$ac_ct_CC" && break
                   3010: done
1.1       parser   3011: 
1.15      paf      3012:   CC=$ac_ct_CC
                   3013: fi
1.1       parser   3014: 
1.15      paf      3015: fi
1.1       parser   3016: 
                   3017: 
1.15      paf      3018: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3019: See \`config.log' for more details." >&5
                   3020: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3021: See \`config.log' for more details." >&2;}
                   3022:    { (exit 1); exit 1; }; }
                   3023: 
                   3024: # Provide some information about the compiler.
                   3025: echo "$as_me:$LINENO:" \
                   3026:      "checking for C compiler version" >&5
                   3027: ac_compiler=`set X $ac_compile; echo $2`
                   3028: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3029:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3030:   ac_status=$?
                   3031:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3032:   (exit $ac_status); }
                   3033: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3034:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3035:   ac_status=$?
                   3036:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3037:   (exit $ac_status); }
                   3038: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3039:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3040:   ac_status=$?
                   3041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3042:   (exit $ac_status); }
                   3043: 
                   3044: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3045: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3046: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   3047:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3048: else
                   3049:   cat >conftest.$ac_ext <<_ACEOF
                   3050: #line $LINENO "configure"
                   3051: /* confdefs.h.  */
                   3052: _ACEOF
                   3053: cat confdefs.h >>conftest.$ac_ext
                   3054: cat >>conftest.$ac_ext <<_ACEOF
                   3055: /* end confdefs.h.  */
                   3056: 
                   3057: int
                   3058: main ()
                   3059: {
                   3060: #ifndef __GNUC__
                   3061:        choke me
1.1       parser   3062: #endif
                   3063: 
1.15      paf      3064:   ;
                   3065:   return 0;
                   3066: }
                   3067: _ACEOF
                   3068: rm -f conftest.$ac_objext
                   3069: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3070:   (eval $ac_compile) 2>&5
                   3071:   ac_status=$?
                   3072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3073:   (exit $ac_status); } &&
                   3074:          { ac_try='test -s conftest.$ac_objext'
                   3075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3076:   (eval $ac_try) 2>&5
                   3077:   ac_status=$?
                   3078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3079:   (exit $ac_status); }; }; then
                   3080:   ac_compiler_gnu=yes
                   3081: else
                   3082:   echo "$as_me: failed program was:" >&5
                   3083: sed 's/^/| /' conftest.$ac_ext >&5
                   3084: 
                   3085: ac_compiler_gnu=no
                   3086: fi
                   3087: rm -f conftest.$ac_objext conftest.$ac_ext
                   3088: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3089: 
                   3090: fi
                   3091: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3092: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3093: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3094: ac_test_CFLAGS=${CFLAGS+set}
                   3095: ac_save_CFLAGS=$CFLAGS
                   3096: CFLAGS="-g"
                   3097: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3098: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3099: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3100:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3101: else
                   3102:   cat >conftest.$ac_ext <<_ACEOF
                   3103: #line $LINENO "configure"
                   3104: /* confdefs.h.  */
                   3105: _ACEOF
                   3106: cat confdefs.h >>conftest.$ac_ext
                   3107: cat >>conftest.$ac_ext <<_ACEOF
                   3108: /* end confdefs.h.  */
                   3109: 
                   3110: int
                   3111: main ()
                   3112: {
                   3113: 
                   3114:   ;
                   3115:   return 0;
                   3116: }
                   3117: _ACEOF
                   3118: rm -f conftest.$ac_objext
                   3119: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3120:   (eval $ac_compile) 2>&5
                   3121:   ac_status=$?
                   3122:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3123:   (exit $ac_status); } &&
                   3124:          { ac_try='test -s conftest.$ac_objext'
                   3125:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3126:   (eval $ac_try) 2>&5
                   3127:   ac_status=$?
                   3128:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3129:   (exit $ac_status); }; }; then
                   3130:   ac_cv_prog_cc_g=yes
1.1       parser   3131: else
1.15      paf      3132:   echo "$as_me: failed program was:" >&5
                   3133: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3134: 
1.15      paf      3135: ac_cv_prog_cc_g=no
1.1       parser   3136: fi
1.15      paf      3137: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       parser   3138: fi
1.15      paf      3139: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3140: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       parser   3141: if test "$ac_test_CFLAGS" = set; then
1.15      paf      3142:   CFLAGS=$ac_save_CFLAGS
1.1       parser   3143: elif test $ac_cv_prog_cc_g = yes; then
                   3144:   if test "$GCC" = yes; then
                   3145:     CFLAGS="-g -O2"
                   3146:   else
                   3147:     CFLAGS="-g"
                   3148:   fi
                   3149: else
                   3150:   if test "$GCC" = yes; then
                   3151:     CFLAGS="-O2"
                   3152:   else
                   3153:     CFLAGS=
                   3154:   fi
                   3155: fi
1.15      paf      3156: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3157: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3158: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3159:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3160: else
                   3161:   ac_cv_prog_cc_stdc=no
                   3162: ac_save_CC=$CC
                   3163: cat >conftest.$ac_ext <<_ACEOF
                   3164: #line $LINENO "configure"
                   3165: /* confdefs.h.  */
                   3166: _ACEOF
                   3167: cat confdefs.h >>conftest.$ac_ext
                   3168: cat >>conftest.$ac_ext <<_ACEOF
                   3169: /* end confdefs.h.  */
                   3170: #include <stdarg.h>
                   3171: #include <stdio.h>
                   3172: #include <sys/types.h>
                   3173: #include <sys/stat.h>
                   3174: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3175: struct buf { int x; };
                   3176: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3177: static char *e (p, i)
                   3178:      char **p;
                   3179:      int i;
                   3180: {
                   3181:   return p[i];
                   3182: }
                   3183: static char *f (char * (*g) (char **, int), char **p, ...)
                   3184: {
                   3185:   char *s;
                   3186:   va_list v;
                   3187:   va_start (v,p);
                   3188:   s = g (p, va_arg (v,int));
                   3189:   va_end (v);
                   3190:   return s;
                   3191: }
                   3192: int test (int i, double x);
                   3193: struct s1 {int (*f) (int a);};
                   3194: struct s2 {int (*f) (double a);};
                   3195: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3196: int argc;
                   3197: char **argv;
                   3198: int
                   3199: main ()
                   3200: {
                   3201: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3202:   ;
                   3203:   return 0;
                   3204: }
                   3205: _ACEOF
                   3206: # Don't try gcc -ansi; that turns off useful extensions and
                   3207: # breaks some systems' header files.
                   3208: # AIX                  -qlanglvl=ansi
                   3209: # Ultrix and OSF/1     -std1
                   3210: # HP-UX 10.20 and later        -Ae
                   3211: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3212: # SVR4                 -Xc -D__EXTENSIONS__
                   3213: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3214: do
                   3215:   CC="$ac_save_CC $ac_arg"
                   3216:   rm -f conftest.$ac_objext
                   3217: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3218:   (eval $ac_compile) 2>&5
                   3219:   ac_status=$?
                   3220:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3221:   (exit $ac_status); } &&
                   3222:          { ac_try='test -s conftest.$ac_objext'
                   3223:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3224:   (eval $ac_try) 2>&5
                   3225:   ac_status=$?
                   3226:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3227:   (exit $ac_status); }; }; then
                   3228:   ac_cv_prog_cc_stdc=$ac_arg
                   3229: break
                   3230: else
                   3231:   echo "$as_me: failed program was:" >&5
                   3232: sed 's/^/| /' conftest.$ac_ext >&5
                   3233: 
                   3234: fi
                   3235: rm -f conftest.$ac_objext
                   3236: done
                   3237: rm -f conftest.$ac_ext conftest.$ac_objext
                   3238: CC=$ac_save_CC
                   3239: 
                   3240: fi
                   3241: 
                   3242: case "x$ac_cv_prog_cc_stdc" in
                   3243:   x|xno)
                   3244:     echo "$as_me:$LINENO: result: none needed" >&5
                   3245: echo "${ECHO_T}none needed" >&6 ;;
                   3246:   *)
                   3247:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3248: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3249:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3250: esac
                   3251: 
                   3252: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3253: # in C++ we need to declare it.  In case someone uses the same compiler
                   3254: # for both compiling C and C++ we need to have the C++ compiler decide
                   3255: # the declaration of exit, since it's the most demanding environment.
                   3256: cat >conftest.$ac_ext <<_ACEOF
                   3257: #ifndef __cplusplus
                   3258:   choke me
                   3259: #endif
                   3260: _ACEOF
                   3261: rm -f conftest.$ac_objext
                   3262: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3263:   (eval $ac_compile) 2>&5
                   3264:   ac_status=$?
                   3265:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3266:   (exit $ac_status); } &&
                   3267:          { ac_try='test -s conftest.$ac_objext'
                   3268:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3269:   (eval $ac_try) 2>&5
                   3270:   ac_status=$?
                   3271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3272:   (exit $ac_status); }; }; then
                   3273:   for ac_declaration in \
                   3274:    ''\
                   3275:    '#include <stdlib.h>' \
                   3276:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3277:    'extern "C" void std::exit (int); using std::exit;' \
                   3278:    'extern "C" void exit (int) throw ();' \
                   3279:    'extern "C" void exit (int);' \
                   3280:    'void exit (int);'
                   3281: do
                   3282:   cat >conftest.$ac_ext <<_ACEOF
                   3283: #line $LINENO "configure"
                   3284: /* confdefs.h.  */
                   3285: _ACEOF
                   3286: cat confdefs.h >>conftest.$ac_ext
                   3287: cat >>conftest.$ac_ext <<_ACEOF
                   3288: /* end confdefs.h.  */
                   3289: #include <stdlib.h>
                   3290: $ac_declaration
                   3291: int
                   3292: main ()
                   3293: {
                   3294: exit (42);
                   3295:   ;
                   3296:   return 0;
                   3297: }
                   3298: _ACEOF
                   3299: rm -f conftest.$ac_objext
                   3300: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3301:   (eval $ac_compile) 2>&5
                   3302:   ac_status=$?
                   3303:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3304:   (exit $ac_status); } &&
                   3305:          { ac_try='test -s conftest.$ac_objext'
                   3306:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3307:   (eval $ac_try) 2>&5
                   3308:   ac_status=$?
                   3309:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3310:   (exit $ac_status); }; }; then
                   3311:   :
                   3312: else
                   3313:   echo "$as_me: failed program was:" >&5
                   3314: sed 's/^/| /' conftest.$ac_ext >&5
                   3315: 
                   3316: continue
                   3317: fi
                   3318: rm -f conftest.$ac_objext conftest.$ac_ext
                   3319:   cat >conftest.$ac_ext <<_ACEOF
                   3320: #line $LINENO "configure"
                   3321: /* confdefs.h.  */
                   3322: _ACEOF
                   3323: cat confdefs.h >>conftest.$ac_ext
                   3324: cat >>conftest.$ac_ext <<_ACEOF
                   3325: /* end confdefs.h.  */
                   3326: $ac_declaration
                   3327: int
                   3328: main ()
                   3329: {
                   3330: exit (42);
                   3331:   ;
                   3332:   return 0;
                   3333: }
                   3334: _ACEOF
                   3335: rm -f conftest.$ac_objext
                   3336: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3337:   (eval $ac_compile) 2>&5
                   3338:   ac_status=$?
                   3339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3340:   (exit $ac_status); } &&
                   3341:          { ac_try='test -s conftest.$ac_objext'
                   3342:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3343:   (eval $ac_try) 2>&5
                   3344:   ac_status=$?
                   3345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3346:   (exit $ac_status); }; }; then
                   3347:   break
                   3348: else
                   3349:   echo "$as_me: failed program was:" >&5
                   3350: sed 's/^/| /' conftest.$ac_ext >&5
                   3351: 
                   3352: fi
                   3353: rm -f conftest.$ac_objext conftest.$ac_ext
                   3354: done
                   3355: rm -f conftest*
                   3356: if test -n "$ac_declaration"; then
                   3357:   echo '#ifdef __cplusplus' >>confdefs.h
                   3358:   echo $ac_declaration      >>confdefs.h
                   3359:   echo '#endif'             >>confdefs.h
                   3360: fi
                   3361: 
                   3362: else
                   3363:   echo "$as_me: failed program was:" >&5
                   3364: sed 's/^/| /' conftest.$ac_ext >&5
                   3365: 
                   3366: fi
                   3367: rm -f conftest.$ac_objext conftest.$ac_ext
1.23.2.1! paf      3368: ac_ext=c
        !          3369: ac_cpp='$CPP $CPPFLAGS'
        !          3370: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3371: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3372: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      3373: 
                   3374: depcc="$CC"   am_compiler_list=
                   3375: 
                   3376: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3377: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   3378: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3379:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3380: else
                   3381:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3382:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3383:   # making bogus files that we don't know about and never remove.  For
                   3384:   # instance it was reported that on HP-UX the gcc test will end up
                   3385:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3386:   # in D'.
                   3387:   mkdir conftest.dir
                   3388:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3389:   # using a relative directory.
                   3390:   cp "$am_depcomp" conftest.dir
                   3391:   cd conftest.dir
                   3392: 
                   3393:   am_cv_CC_dependencies_compiler_type=none
                   3394:   if test "$am_compiler_list" = ""; then
                   3395:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3396:   fi
                   3397:   for depmode in $am_compiler_list; do
                   3398:     # We need to recreate these files for each test, as the compiler may
                   3399:     # overwrite some of them when testing with obscure command lines.
                   3400:     # This happens at least with the AIX C compiler.
                   3401:     echo '#include "conftest.h"' > conftest.c
                   3402:     echo 'int i;' > conftest.h
                   3403:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   3404: 
                   3405:     case $depmode in
                   3406:     nosideeffect)
                   3407:       # after this tag, mechanisms are not by side-effect, so they'll
                   3408:       # only be used when explicitly requested
                   3409:       if test "x$enable_dependency_tracking" = xyes; then
                   3410:        continue
                   3411:       else
                   3412:        break
                   3413:       fi
                   3414:       ;;
                   3415:     none) break ;;
                   3416:     esac
                   3417:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3418:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3419:     # handle `-M -o', and we need to detect this.
                   3420:     if depmode=$depmode \
                   3421:        source=conftest.c object=conftest.o \
                   3422:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   3423:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   3424:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   3425:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3426:       am_cv_CC_dependencies_compiler_type=$depmode
                   3427:       break
                   3428:     fi
                   3429:   done
                   3430: 
                   3431:   cd ..
                   3432:   rm -rf conftest.dir
                   3433: else
                   3434:   am_cv_CC_dependencies_compiler_type=none
                   3435: fi
                   3436: 
                   3437: fi
                   3438: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3439: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3440: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3441: 
                   3442: 
                   3443: 
                   3444: if
                   3445:   test "x$enable_dependency_tracking" != xno \
                   3446:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3447:   am__fastdepCC_TRUE=
                   3448:   am__fastdepCC_FALSE='#'
                   3449: else
                   3450:   am__fastdepCC_TRUE='#'
                   3451:   am__fastdepCC_FALSE=
                   3452: fi
                   3453: 
                   3454: 
1.23.2.1! paf      3455: 
        !          3456: ac_ext=c
        !          3457: ac_cpp='$CPP $CPPFLAGS'
        !          3458: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3459: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3460: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3461: 
        !          3462: 
        !          3463:   case $enable_ltdl_convenience in
        !          3464:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
        !          3465: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
        !          3466:    { (exit 1); exit 1; }; } ;;
        !          3467:   "") enable_ltdl_convenience=yes
        !          3468:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
        !          3469:   esac
        !          3470:   LIBLTDL='${top_builddir}/''libltdl'/libltdlc.la
        !          3471:   LTDLINCL='-I${top_srcdir}/''libltdl'
        !          3472:   # For backwards non-gettext consistent compatibility...
        !          3473:   INCLTDL="$LTDLINCL"
        !          3474: 
        !          3475: 
        !          3476: 
        !          3477: 
        !          3478: # Check whether --enable-static or --disable-static was given.
        !          3479: if test "${enable_static+set}" = set; then
        !          3480:   enableval="$enable_static"
        !          3481:   p=${PACKAGE-default}
        !          3482: case $enableval in
        !          3483: yes) enable_static=yes ;;
        !          3484: no) enable_static=no ;;
        !          3485: *)
        !          3486:   enable_static=no
        !          3487:   # Look at the argument we got.  We use all the common list separators.
        !          3488:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3489:   for pkg in $enableval; do
        !          3490:     if test "X$pkg" = "X$p"; then
        !          3491:       enable_static=yes
        !          3492:     fi
        !          3493:   done
        !          3494:   IFS="$ac_save_ifs"
        !          3495:   ;;
        !          3496: esac
        !          3497: else
        !          3498:   enable_static=no
        !          3499: fi;
        !          3500: 
        !          3501: # Check whether --enable-shared or --disable-shared was given.
        !          3502: if test "${enable_shared+set}" = set; then
        !          3503:   enableval="$enable_shared"
        !          3504:   p=${PACKAGE-default}
        !          3505: case $enableval in
        !          3506: yes) enable_shared=yes ;;
        !          3507: no) enable_shared=no ;;
        !          3508: *)
        !          3509:   enable_shared=no
        !          3510:   # Look at the argument we got.  We use all the common list separators.
        !          3511:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3512:   for pkg in $enableval; do
        !          3513:     if test "X$pkg" = "X$p"; then
        !          3514:       enable_shared=yes
        !          3515:     fi
        !          3516:   done
        !          3517:   IFS="$ac_save_ifs"
        !          3518:   ;;
        !          3519: esac
        !          3520: else
        !          3521:   enable_shared=yes
        !          3522: fi;
        !          3523: # Check whether --enable-fast-install or --disable-fast-install was given.
        !          3524: if test "${enable_fast_install+set}" = set; then
        !          3525:   enableval="$enable_fast_install"
        !          3526:   p=${PACKAGE-default}
        !          3527: case $enableval in
        !          3528: yes) enable_fast_install=yes ;;
        !          3529: no) enable_fast_install=no ;;
        !          3530: *)
        !          3531:   enable_fast_install=no
        !          3532:   # Look at the argument we got.  We use all the common list separators.
        !          3533:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3534:   for pkg in $enableval; do
        !          3535:     if test "X$pkg" = "X$p"; then
        !          3536:       enable_fast_install=yes
        !          3537:     fi
        !          3538:   done
        !          3539:   IFS="$ac_save_ifs"
        !          3540:   ;;
        !          3541: esac
        !          3542: else
        !          3543:   enable_fast_install=yes
        !          3544: fi;
        !          3545: # Make sure we can run config.sub.
        !          3546: $ac_config_sub sun4 >/dev/null 2>&1 ||
        !          3547:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
        !          3548: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
        !          3549:    { (exit 1); exit 1; }; }
        !          3550: 
        !          3551: echo "$as_me:$LINENO: checking build system type" >&5
        !          3552: echo $ECHO_N "checking build system type... $ECHO_C" >&6
        !          3553: if test "${ac_cv_build+set}" = set; then
        !          3554:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3555: else
        !          3556:   ac_cv_build_alias=$build_alias
        !          3557: test -z "$ac_cv_build_alias" &&
        !          3558:   ac_cv_build_alias=`$ac_config_guess`
        !          3559: test -z "$ac_cv_build_alias" &&
        !          3560:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
        !          3561: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
        !          3562:    { (exit 1); exit 1; }; }
        !          3563: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
        !          3564:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
        !          3565: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
        !          3566:    { (exit 1); exit 1; }; }
        !          3567: 
        !          3568: fi
        !          3569: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
        !          3570: echo "${ECHO_T}$ac_cv_build" >&6
        !          3571: build=$ac_cv_build
        !          3572: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          3573: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          3574: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          3575: 
        !          3576: 
        !          3577: echo "$as_me:$LINENO: checking host system type" >&5
        !          3578: echo $ECHO_N "checking host system type... $ECHO_C" >&6
        !          3579: if test "${ac_cv_host+set}" = set; then
        !          3580:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3581: else
        !          3582:   ac_cv_host_alias=$host_alias
        !          3583: test -z "$ac_cv_host_alias" &&
        !          3584:   ac_cv_host_alias=$ac_cv_build_alias
        !          3585: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
        !          3586:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
        !          3587: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
        !          3588:    { (exit 1); exit 1; }; }
        !          3589: 
        !          3590: fi
        !          3591: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
        !          3592: echo "${ECHO_T}$ac_cv_host" >&6
        !          3593: host=$ac_cv_host
        !          3594: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          3595: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          3596: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          3597: 
        !          3598: 
1.15      paf      3599: # Find the correct PATH separator.  Usually this is `:', but
                   3600: # DJGPP uses `;' like DOS.
                   3601: if test "X${PATH_SEPARATOR+set}" != Xset; then
                   3602:   UNAME=${UNAME-`uname 2>/dev/null`}
                   3603:   case X$UNAME in
                   3604:     *-DOS) lt_cv_sys_path_separator=';' ;;
                   3605:     *)     lt_cv_sys_path_separator=':' ;;
                   3606:   esac
                   3607:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                   3608: fi
                   3609: 
1.1       parser   3610: 
                   3611: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3612: if test "${with_gnu_ld+set}" = set; then
                   3613:   withval="$with_gnu_ld"
                   3614:   test "$withval" = no || with_gnu_ld=yes
                   3615: else
                   3616:   with_gnu_ld=no
1.15      paf      3617: fi;
1.1       parser   3618: ac_prog=ld
1.15      paf      3619: if test "$GCC" = yes; then
1.1       parser   3620:   # Check if gcc -print-prog-name=ld gives a path.
1.15      paf      3621:   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
                   3622: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
                   3623:   case $host in
                   3624:   *-*-mingw*)
                   3625:     # gcc leaves a trailing carriage return which upsets mingw
                   3626:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3627:   *)
                   3628:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3629:   esac
                   3630:   case $ac_prog in
1.1       parser   3631:     # Accept absolute paths.
                   3632:     [\\/]* | [A-Za-z]:[\\/]*)
                   3633:       re_direlt='/[^/][^/]*/\.\./'
                   3634:       # Canonicalize the path of ld
                   3635:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   3636:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   3637:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   3638:       done
                   3639:       test -z "$LD" && LD="$ac_prog"
                   3640:       ;;
                   3641:   "")
                   3642:     # If it fails, then pretend we aren't using GCC.
                   3643:     ac_prog=ld
                   3644:     ;;
                   3645:   *)
                   3646:     # If it is relative, then search for the first ld in PATH.
                   3647:     with_gnu_ld=unknown
                   3648:     ;;
                   3649:   esac
                   3650: elif test "$with_gnu_ld" = yes; then
1.15      paf      3651:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3652: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1       parser   3653: else
1.15      paf      3654:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3655: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1       parser   3656: fi
1.15      paf      3657: if test "${lt_cv_path_LD+set}" = set; then
                   3658:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3659: else
                   3660:   if test -z "$LD"; then
1.15      paf      3661:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3662:   for ac_dir in $PATH; do
                   3663:     test -z "$ac_dir" && ac_dir=.
                   3664:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.15      paf      3665:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   3666:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   3667:       # but apparently some GNU ld's only accept -v.
                   3668:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.15      paf      3669:       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1.1       parser   3670:        test "$with_gnu_ld" != no && break
                   3671:       else
                   3672:        test "$with_gnu_ld" != yes && break
                   3673:       fi
                   3674:     fi
                   3675:   done
                   3676:   IFS="$ac_save_ifs"
                   3677: else
1.15      paf      3678:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   3679: fi
                   3680: fi
                   3681: 
1.15      paf      3682: LD="$lt_cv_path_LD"
1.1       parser   3683: if test -n "$LD"; then
1.15      paf      3684:   echo "$as_me:$LINENO: result: $LD" >&5
                   3685: echo "${ECHO_T}$LD" >&6
1.1       parser   3686: else
1.15      paf      3687:   echo "$as_me:$LINENO: result: no" >&5
                   3688: echo "${ECHO_T}no" >&6
1.1       parser   3689: fi
1.15      paf      3690: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3691: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3692:    { (exit 1); exit 1; }; }
                   3693: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3694: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3695: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3696:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3697: else
                   3698:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   3699: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1.15      paf      3700:   lt_cv_prog_gnu_ld=yes
1.1       parser   3701: else
1.15      paf      3702:   lt_cv_prog_gnu_ld=no
1.1       parser   3703: fi
                   3704: fi
1.15      paf      3705: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3706: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3707: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   3708: 
                   3709: 
1.15      paf      3710: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   3711: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   3712: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   3713:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3714: else
                   3715:   lt_cv_ld_reload_flag='-r'
                   3716: fi
                   3717: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   3718: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   3719: reload_flag=$lt_cv_ld_reload_flag
                   3720: test -n "$reload_flag" && reload_flag=" $reload_flag"
1.1       parser   3721: 
1.15      paf      3722: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
                   3723: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
                   3724: if test "${lt_cv_path_NM+set}" = set; then
                   3725:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3726: else
                   3727:   if test -n "$NM"; then
                   3728:   # Let the user override the test.
1.15      paf      3729:   lt_cv_path_NM="$NM"
1.1       parser   3730: else
1.15      paf      3731:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3732:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   3733:     test -z "$ac_dir" && ac_dir=.
1.15      paf      3734:     tmp_nm=$ac_dir/${ac_tool_prefix}nm
                   3735:     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1.1       parser   3736:       # Check to see if the nm accepts a BSD-compat flag.
                   3737:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3738:       #   nm: unknown option "B" ignored
1.15      paf      3739:       # Tru64's nm complains that /dev/null is an invalid object file
                   3740:       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
                   3741:        lt_cv_path_NM="$tmp_nm -B"
1.1       parser   3742:        break
1.15      paf      3743:       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   3744:        lt_cv_path_NM="$tmp_nm -p"
1.1       parser   3745:        break
                   3746:       else
1.15      paf      3747:        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1.1       parser   3748:        continue # so that we can try to find one that supports BSD flags
                   3749:       fi
                   3750:     fi
                   3751:   done
                   3752:   IFS="$ac_save_ifs"
1.15      paf      3753:   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1.1       parser   3754: fi
                   3755: fi
                   3756: 
1.15      paf      3757: NM="$lt_cv_path_NM"
                   3758: echo "$as_me:$LINENO: result: $NM" >&5
                   3759: echo "${ECHO_T}$NM" >&6
1.1       parser   3760: 
1.15      paf      3761: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3762: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3763: if test "${lt_cv_path_SED+set}" = set; then
                   3764:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3765: else
1.15      paf      3766:   # Loop through the user's path and test for sed and gsed.
                   3767: # Then use that list of sed's as ones to test for truncation.
                   3768: as_executable_p="test -f"
                   3769: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3770: for as_dir in $PATH
                   3771: do
                   3772:   IFS=$as_save_IFS
                   3773:   test -z "$as_dir" && as_dir=.
                   3774:   for ac_prog in sed gsed; do
                   3775:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3776:       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   3777:         _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
                   3778:       fi
                   3779:     done
                   3780:   done
                   3781: done
                   3782: 
                   3783:   # Create a temporary directory, and hook for its removal unless debugging.
                   3784: $debug ||
                   3785: {
                   3786:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   3787:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   3788: }
                   3789: 
                   3790: # Create a (secure) tmp directory for tmp files.
                   3791: : ${TMPDIR=/tmp}
                   3792: {
                   3793:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
                   3794:   test -n "$tmp" && test -d "$tmp"
                   3795: }  ||
                   3796: {
                   3797:   tmp=$TMPDIR/sed$$-$RANDOM
                   3798:   (umask 077 && mkdir $tmp)
                   3799: } ||
                   3800: {
                   3801:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   3802:    { (exit 1); exit 1; }
                   3803: }
                   3804:   _max=0
                   3805:   _count=0
                   3806:   # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   3807:   # along with /bin/sed that truncates output.
                   3808:   for _sed in $_sed_list /usr/xpg4/bin/sed; do
                   3809:     test ! -f ${_sed} && break
                   3810:     cat /dev/null > "$tmp/sed.in"
                   3811:     _count=0
                   3812:     echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
                   3813:     # Check for GNU sed and select it if it is found.
                   3814:     if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
                   3815:       lt_cv_path_SED=${_sed}
                   3816:       break
                   3817:     fi
                   3818:     while true; do
                   3819:       cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
                   3820:       mv "$tmp/sed.tmp" "$tmp/sed.in"
                   3821:       cp "$tmp/sed.in" "$tmp/sed.nl"
                   3822:       echo >>"$tmp/sed.nl"
                   3823:       ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
                   3824:       cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
                   3825:       # 40000 chars as input seems more than enough
                   3826:       test $_count -gt 10 && break
                   3827:       _count=`expr $_count + 1`
                   3828:       if test $_count -gt $_max; then
                   3829:         _max=$_count
                   3830:         lt_cv_path_SED=$_sed
                   3831:       fi
                   3832:     done
                   3833:   done
                   3834:   rm -rf "$tmp"
                   3835: 
1.1       parser   3836: fi
                   3837: 
1.15      paf      3838: if test "X$SED" != "X"; then
                   3839:   lt_cv_path_SED=$SED
1.11      paf      3840: else
1.15      paf      3841:   SED=$lt_cv_path_SED
1.11      paf      3842: fi
1.15      paf      3843: echo "$as_me:$LINENO: result: $SED" >&5
                   3844: echo "${ECHO_T}$SED" >&6
                   3845: 
                   3846: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   3847: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   3848: LN_S=$as_ln_s
                   3849: if test "$LN_S" = "ln -s"; then
                   3850:   echo "$as_me:$LINENO: result: yes" >&5
                   3851: echo "${ECHO_T}yes" >&6
                   3852: else
                   3853:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   3854: echo "${ECHO_T}no, using $LN_S" >&6
                   3855: fi
                   3856: 
                   3857: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
                   3858: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
                   3859: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   3860:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3861: else
                   3862:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   3863: lt_cv_file_magic_test_file=
                   3864: lt_cv_deplibs_check_method='unknown'
                   3865: # Need to set the preceding variable on all platforms that support
                   3866: # interlibrary dependencies.
                   3867: # 'none' -- dependencies not supported.
                   3868: # `unknown' -- same as none, but documents that we really don't know.
                   3869: # 'pass_all' -- all dependencies passed with no checks.
                   3870: # 'test_compile' -- check by making test program.
                   3871: # 'file_magic [[regex]]' -- check by looking for files in library path
                   3872: # which responds to the $file_magic_cmd with a given egrep regex.
                   3873: # If you have `file' or equivalent on your system and you're not sure
                   3874: # whether `pass_all' will *always* work, you probably want this one.
                   3875: 
                   3876: case $host_os in
                   3877: aix4* | aix5*)
                   3878:   lt_cv_deplibs_check_method=pass_all
                   3879:   ;;
1.11      paf      3880: 
1.15      paf      3881: beos*)
                   3882:   lt_cv_deplibs_check_method=pass_all
                   3883:   ;;
1.1       parser   3884: 
1.15      paf      3885: bsdi4*)
                   3886:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   3887:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3888:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3889:   ;;
1.1       parser   3890: 
1.15      paf      3891: cygwin* | mingw* | pw32*)
                   3892:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
                   3893:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   3894:   ;;
1.1       parser   3895: 
1.15      paf      3896: darwin* | rhapsody*)
                   3897:   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
                   3898:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   3899:   case "$host_os" in
                   3900:   rhapsody* | darwin1.[012])
                   3901:     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
                   3902:     ;;
                   3903:   *) # Darwin 1.3 on
                   3904:     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
                   3905:     ;;
                   3906:   esac
                   3907:   ;;
1.1       parser   3908: 
1.15      paf      3909: freebsd*)
                   3910:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3911:     case $host_cpu in
                   3912:     i*86 )
                   3913:       # Not sure whether the presence of OpenBSD here was a mistake.
                   3914:       # Let's accept both of them until this is cleared up.
                   3915:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
                   3916:       lt_cv_file_magic_cmd=/usr/bin/file
                   3917:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   3918:       ;;
                   3919:     esac
1.15      paf      3920:   else
                   3921:     lt_cv_deplibs_check_method=pass_all
1.1       parser   3922:   fi
                   3923:   ;;
                   3924: 
1.15      paf      3925: gnu*)
                   3926:   lt_cv_deplibs_check_method=pass_all
                   3927:   ;;
1.1       parser   3928: 
1.15      paf      3929: hpux10.20*|hpux11*)
                   3930:   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
                   3931:   lt_cv_file_magic_cmd=/usr/bin/file
                   3932:   lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   3933:   ;;
1.1       parser   3934: 
1.15      paf      3935: irix5* | irix6* | nonstopux*)
                   3936:   case $host_os in
                   3937:   irix5* | nonstopux*)
                   3938:     # this will be overridden with pass_all, but let us keep it just in case
                   3939:     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
                   3940:     ;;
                   3941:   *)
                   3942:     case $LD in
                   3943:     *-32|*"-32 ") libmagic=32-bit;;
                   3944:     *-n32|*"-n32 ") libmagic=N32;;
                   3945:     *-64|*"-64 ") libmagic=64-bit;;
                   3946:     *) libmagic=never-match;;
                   3947:     esac
                   3948:     # this will be overridden with pass_all, but let us keep it just in case
                   3949:     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
                   3950:     ;;
                   3951:   esac
                   3952:   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
                   3953:   lt_cv_deplibs_check_method=pass_all
                   3954:   ;;
                   3955: 
                   3956: # This must be Linux ELF.
                   3957: linux-gnu*)
                   3958:   case $host_cpu in
                   3959:   alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
                   3960:     lt_cv_deplibs_check_method=pass_all ;;
                   3961:   *)
                   3962:     # glibc up to 2.1.1 does not perform some relocations on ARM
                   3963:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
                   3964:   esac
                   3965:   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
                   3966:   ;;
                   3967: 
                   3968: netbsd*)
                   3969:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   3970:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
                   3971:   else
                   3972:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
                   3973:   fi
                   3974:   ;;
                   3975: 
                   3976: newos6*)
                   3977:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   3978:   lt_cv_file_magic_cmd=/usr/bin/file
                   3979:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   3980:   ;;
1.1       parser   3981: 
1.15      paf      3982: openbsd*)
                   3983:   lt_cv_file_magic_cmd=/usr/bin/file
                   3984:   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   3985:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   3986:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
                   3987:   else
                   3988:     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1.1       parser   3989:   fi
                   3990:   ;;
                   3991: 
1.15      paf      3992: osf3* | osf4* | osf5*)
                   3993:   # this will be overridden with pass_all, but let us keep it just in case
                   3994:   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
                   3995:   lt_cv_file_magic_test_file=/shlib/libc.so
                   3996:   lt_cv_deplibs_check_method=pass_all
                   3997:   ;;
                   3998: 
                   3999: sco3.2v5*)
                   4000:   lt_cv_deplibs_check_method=pass_all
                   4001:   ;;
                   4002: 
                   4003: solaris*)
                   4004:   lt_cv_deplibs_check_method=pass_all
                   4005:   lt_cv_file_magic_test_file=/lib/libc.so
                   4006:   ;;
                   4007: 
                   4008: sysv5uw[78]* | sysv4*uw2*)
                   4009:   lt_cv_deplibs_check_method=pass_all
                   4010:   ;;
                   4011: 
                   4012: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   4013:   case $host_vendor in
                   4014:   motorola)
                   4015:     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]'
                   4016:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   4017:     ;;
                   4018:   ncr)
                   4019:     lt_cv_deplibs_check_method=pass_all
                   4020:     ;;
                   4021:   sequent)
                   4022:     lt_cv_file_magic_cmd='/bin/file'
                   4023:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   4024:     ;;
                   4025:   sni)
                   4026:     lt_cv_file_magic_cmd='/bin/file'
                   4027:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   4028:     lt_cv_file_magic_test_file=/lib/libc.so
                   4029:     ;;
                   4030:   siemens)
                   4031:     lt_cv_deplibs_check_method=pass_all
                   4032:     ;;
                   4033:   esac
                   4034:   ;;
                   4035: esac
                   4036: 
                   4037: fi
                   4038: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   4039: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   4040: file_magic_cmd=$lt_cv_file_magic_cmd
                   4041: deplibs_check_method=$lt_cv_deplibs_check_method
                   4042: 
                   4043: 
                   4044: 
                   4045: 
                   4046: 
                   4047: 
                   4048: 
                   4049: 
                   4050: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   4051: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
                   4052: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
                   4053: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   4054:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.11      paf      4055: else
1.15      paf      4056: 
                   4057: # These are sane defaults that work on at least a few old systems.
                   4058: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   4059: 
                   4060: # Character class describing NM global symbol codes.
                   4061: symcode='[BCDEGRST]'
                   4062: 
                   4063: # Regexp to match symbols that can be accessed directly from C.
                   4064: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   4065: 
                   4066: # Transform the above into a raw symbol and a C symbol.
                   4067: symxfrm='\1 \2\3 \3'
                   4068: 
                   4069: # Transform an extracted symbol line into a proper C declaration
                   4070: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
                   4071: 
                   4072: # Transform an extracted symbol line into symbol name and symbol address
                   4073: 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'"
                   4074: 
                   4075: # Define system-specific variables.
                   4076: case $host_os in
                   4077: aix*)
                   4078:   symcode='[BCDT]'
                   4079:   ;;
                   4080: cygwin* | mingw* | pw32*)
                   4081:   symcode='[ABCDGISTW]'
                   4082:   ;;
                   4083: hpux*) # Its linker distinguishes data from code symbols
                   4084:   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   4085:   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'"
                   4086:   ;;
                   4087: irix* | nonstopux*)
                   4088:   symcode='[BCDEGRST]'
                   4089:   ;;
                   4090: osf*)
                   4091:   symcode='[BCDEGQRST]'
                   4092:   ;;
                   4093: solaris* | sysv5*)
                   4094:   symcode='[BDT]'
                   4095:   ;;
                   4096: sysv4)
                   4097:   symcode='[DFNSTU]'
                   4098:   ;;
                   4099: esac
                   4100: 
                   4101: # Handle CRLF in mingw tool chain
                   4102: opt_cr=
                   4103: case $host_os in
                   4104: mingw*)
                   4105:   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   4106:   ;;
                   4107: esac
                   4108: 
                   4109: # If we're using GNU nm, then use its standard symbol codes.
                   4110: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
                   4111:   symcode='[ABCDGISTW]'
                   4112: fi
                   4113: 
                   4114: # Try without a prefix undercore, then with it.
                   4115: for ac_symprfx in "" "_"; do
                   4116: 
                   4117:   # Write the raw and C identifiers.
                   4118: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[        ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
                   4119: 
                   4120:   # Check to see that the pipe works correctly.
                   4121:   pipe_works=no
                   4122:   rm -f conftest*
                   4123:   cat > conftest.$ac_ext <<EOF
                   4124: #ifdef __cplusplus
                   4125: extern "C" {
                   4126: #endif
                   4127: char nm_test_var;
                   4128: void nm_test_func(){}
                   4129: #ifdef __cplusplus
                   4130: }
                   4131: #endif
                   4132: int main(){nm_test_var='a';nm_test_func();return(0);}
                   4133: EOF
                   4134: 
                   4135:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4136:   (eval $ac_compile) 2>&5
                   4137:   ac_status=$?
                   4138:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4139:   (exit $ac_status); }; then
                   4140:     # Now try to grab the symbols.
                   4141:     nlist=conftest.nm
                   4142:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
                   4143:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
                   4144:   ac_status=$?
                   4145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4146:   (exit $ac_status); } && test -s "$nlist"; then
                   4147:       # Try sorting and uniquifying the output.
                   4148:       if sort "$nlist" | uniq > "$nlist"T; then
                   4149:        mv -f "$nlist"T "$nlist"
                   4150:       else
                   4151:        rm -f "$nlist"T
                   4152:       fi
                   4153: 
                   4154:       # Make sure that we snagged all the symbols we need.
                   4155:       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
                   4156:        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
                   4157:          cat <<EOF > conftest.$ac_ext
                   4158: #ifdef __cplusplus
                   4159: extern "C" {
                   4160: #endif
                   4161: 
                   4162: EOF
                   4163:          # Now generate the symbol file.
                   4164:          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
                   4165: 
                   4166:          cat <<EOF >> conftest.$ac_ext
                   4167: #if defined (__STDC__) && __STDC__
                   4168: # define lt_ptr void *
                   4169: #else
                   4170: # define lt_ptr char *
                   4171: # define const
                   4172: #endif
                   4173: 
                   4174: /* The mapping between symbol names and symbols. */
                   4175: const struct {
                   4176:   const char *name;
                   4177:   lt_ptr address;
                   4178: }
                   4179: lt_preloaded_symbols[] =
                   4180: {
                   4181: EOF
                   4182:          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
                   4183:          cat <<\EOF >> conftest.$ac_ext
                   4184:   {0, (lt_ptr) 0}
                   4185: };
                   4186: 
                   4187: #ifdef __cplusplus
                   4188: }
                   4189: #endif
                   4190: EOF
                   4191:          # Now try linking the two files.
                   4192:          mv conftest.$ac_objext conftstm.$ac_objext
                   4193:          save_LIBS="$LIBS"
                   4194:          save_CFLAGS="$CFLAGS"
                   4195:          LIBS="conftstm.$ac_objext"
                   4196:          CFLAGS="$CFLAGS$no_builtin_flag"
                   4197:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4198:   (eval $ac_link) 2>&5
                   4199:   ac_status=$?
                   4200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4201:   (exit $ac_status); } && test -s conftest$ac_exeext; then
                   4202:            pipe_works=yes
                   4203:          fi
                   4204:          LIBS="$save_LIBS"
                   4205:          CFLAGS="$save_CFLAGS"
                   4206:        else
                   4207:          echo "cannot find nm_test_func in $nlist" >&5
                   4208:        fi
                   4209:       else
                   4210:        echo "cannot find nm_test_var in $nlist" >&5
                   4211:       fi
                   4212:     else
                   4213:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
1.11      paf      4214:     fi
1.15      paf      4215:   else
                   4216:     echo "$progname: failed program was:" >&5
                   4217:     cat conftest.$ac_ext >&5
                   4218:   fi
                   4219:   rm -f conftest* conftst*
                   4220: 
                   4221:   # Do not use the global_symbol_pipe unless it works.
                   4222:   if test "$pipe_works" = yes; then
                   4223:     break
                   4224:   else
                   4225:     lt_cv_sys_global_symbol_pipe=
                   4226:   fi
                   4227: done
                   4228: 
1.11      paf      4229: fi
1.15      paf      4230: 
                   4231: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
                   4232: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   4233:   global_symbol_to_cdecl=
                   4234:   global_symbol_to_c_name_address=
                   4235: else
                   4236:   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
                   4237:   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
1.11      paf      4238: fi
1.15      paf      4239: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
                   4240: then
                   4241:   echo "$as_me:$LINENO: result: failed" >&5
                   4242: echo "${ECHO_T}failed" >&6
1.11      paf      4243: else
1.15      paf      4244:   echo "$as_me:$LINENO: result: ok" >&5
                   4245: echo "${ECHO_T}ok" >&6
1.11      paf      4246: fi
                   4247: 
1.23.2.1! paf      4248: ac_ext=c
        !          4249: ac_cpp='$CPP $CPPFLAGS'
        !          4250: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4251: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4252: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4253: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
        !          4254: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
        !          4255: # On Suns, sometimes $CPP names a directory.
        !          4256: if test -n "$CPP" && test -d "$CPP"; then
        !          4257:   CPP=
        !          4258: fi
        !          4259: if test -z "$CPP"; then
        !          4260:   if test "${ac_cv_prog_CPP+set}" = set; then
1.15      paf      4261:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.11      paf      4262: else
1.23.2.1! paf      4263:       # Double quotes because CPP needs to be expanded
        !          4264:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.15      paf      4265:     do
                   4266:       ac_preproc_ok=false
1.23.2.1! paf      4267: for ac_c_preproc_warn_flag in '' yes
1.15      paf      4268: do
                   4269:   # Use a header file that comes with gcc, so configuring glibc
                   4270:   # with a fresh cross-compiler works.
                   4271:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4272:   # <limits.h> exists even on freestanding compilers.
                   4273:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4274:   # not just through cpp. "Syntax error" is here to catch this case.
                   4275:   cat >conftest.$ac_ext <<_ACEOF
                   4276: #line $LINENO "configure"
                   4277: /* confdefs.h.  */
                   4278: _ACEOF
                   4279: cat confdefs.h >>conftest.$ac_ext
                   4280: cat >>conftest.$ac_ext <<_ACEOF
                   4281: /* end confdefs.h.  */
                   4282: #ifdef __STDC__
                   4283: # include <limits.h>
                   4284: #else
                   4285: # include <assert.h>
                   4286: #endif
                   4287:                      Syntax error
                   4288: _ACEOF
                   4289: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4290:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4291:   ac_status=$?
                   4292:   grep -v '^ *+' conftest.er1 >conftest.err
                   4293:   rm -f conftest.er1
                   4294:   cat conftest.err >&5
                   4295:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4296:   (exit $ac_status); } >/dev/null; then
                   4297:   if test -s conftest.err; then
1.23.2.1! paf      4298:     ac_cpp_err=$ac_c_preproc_warn_flag
1.15      paf      4299:   else
                   4300:     ac_cpp_err=
                   4301:   fi
1.11      paf      4302: else
1.15      paf      4303:   ac_cpp_err=yes
1.11      paf      4304: fi
1.15      paf      4305: if test -z "$ac_cpp_err"; then
                   4306:   :
1.11      paf      4307: else
1.15      paf      4308:   echo "$as_me: failed program was:" >&5
                   4309: sed 's/^/| /' conftest.$ac_ext >&5
                   4310: 
                   4311:   # Broken: fails on valid input.
                   4312: continue
1.11      paf      4313: fi
1.15      paf      4314: rm -f conftest.err conftest.$ac_ext
1.11      paf      4315: 
1.15      paf      4316:   # OK, works on sane cases.  Now check whether non-existent headers
                   4317:   # can be detected and how.
                   4318:   cat >conftest.$ac_ext <<_ACEOF
                   4319: #line $LINENO "configure"
                   4320: /* confdefs.h.  */
                   4321: _ACEOF
                   4322: cat confdefs.h >>conftest.$ac_ext
                   4323: cat >>conftest.$ac_ext <<_ACEOF
                   4324: /* end confdefs.h.  */
                   4325: #include <ac_nonexistent.h>
                   4326: _ACEOF
                   4327: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4328:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4329:   ac_status=$?
                   4330:   grep -v '^ *+' conftest.er1 >conftest.err
                   4331:   rm -f conftest.er1
                   4332:   cat conftest.err >&5
                   4333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4334:   (exit $ac_status); } >/dev/null; then
                   4335:   if test -s conftest.err; then
1.23.2.1! paf      4336:     ac_cpp_err=$ac_c_preproc_warn_flag
1.15      paf      4337:   else
                   4338:     ac_cpp_err=
                   4339:   fi
1.11      paf      4340: else
1.15      paf      4341:   ac_cpp_err=yes
1.11      paf      4342: fi
1.15      paf      4343: if test -z "$ac_cpp_err"; then
                   4344:   # Broken: success on invalid input.
                   4345: continue
                   4346: else
                   4347:   echo "$as_me: failed program was:" >&5
                   4348: sed 's/^/| /' conftest.$ac_ext >&5
                   4349: 
                   4350:   # Passes both tests.
                   4351: ac_preproc_ok=:
                   4352: break
1.11      paf      4353: fi
1.15      paf      4354: rm -f conftest.err conftest.$ac_ext
1.11      paf      4355: 
1.15      paf      4356: done
                   4357: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4358: rm -f conftest.err conftest.$ac_ext
                   4359: if $ac_preproc_ok; then
                   4360:   break
1.11      paf      4361: fi
1.15      paf      4362: 
                   4363:     done
1.23.2.1! paf      4364:     ac_cv_prog_CPP=$CPP
1.15      paf      4365: 
1.11      paf      4366: fi
1.23.2.1! paf      4367:   CPP=$ac_cv_prog_CPP
1.11      paf      4368: else
1.23.2.1! paf      4369:   ac_cv_prog_CPP=$CPP
1.11      paf      4370: fi
1.23.2.1! paf      4371: echo "$as_me:$LINENO: result: $CPP" >&5
        !          4372: echo "${ECHO_T}$CPP" >&6
1.15      paf      4373: ac_preproc_ok=false
1.23.2.1! paf      4374: for ac_c_preproc_warn_flag in '' yes
1.15      paf      4375: do
                   4376:   # Use a header file that comes with gcc, so configuring glibc
                   4377:   # with a fresh cross-compiler works.
                   4378:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4379:   # <limits.h> exists even on freestanding compilers.
                   4380:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4381:   # not just through cpp. "Syntax error" is here to catch this case.
                   4382:   cat >conftest.$ac_ext <<_ACEOF
                   4383: #line $LINENO "configure"
                   4384: /* confdefs.h.  */
                   4385: _ACEOF
                   4386: cat confdefs.h >>conftest.$ac_ext
                   4387: cat >>conftest.$ac_ext <<_ACEOF
                   4388: /* end confdefs.h.  */
                   4389: #ifdef __STDC__
                   4390: # include <limits.h>
                   4391: #else
                   4392: # include <assert.h>
                   4393: #endif
                   4394:                      Syntax error
                   4395: _ACEOF
                   4396: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4397:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4398:   ac_status=$?
                   4399:   grep -v '^ *+' conftest.er1 >conftest.err
                   4400:   rm -f conftest.er1
                   4401:   cat conftest.err >&5
                   4402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4403:   (exit $ac_status); } >/dev/null; then
                   4404:   if test -s conftest.err; then
1.23.2.1! paf      4405:     ac_cpp_err=$ac_c_preproc_warn_flag
1.15      paf      4406:   else
                   4407:     ac_cpp_err=
                   4408:   fi
1.11      paf      4409: else
1.15      paf      4410:   ac_cpp_err=yes
1.11      paf      4411: fi
1.15      paf      4412: if test -z "$ac_cpp_err"; then
                   4413:   :
1.11      paf      4414: else
1.15      paf      4415:   echo "$as_me: failed program was:" >&5
                   4416: sed 's/^/| /' conftest.$ac_ext >&5
                   4417: 
                   4418:   # Broken: fails on valid input.
                   4419: continue
1.11      paf      4420: fi
1.15      paf      4421: rm -f conftest.err conftest.$ac_ext
1.11      paf      4422: 
1.15      paf      4423:   # OK, works on sane cases.  Now check whether non-existent headers
                   4424:   # can be detected and how.
                   4425:   cat >conftest.$ac_ext <<_ACEOF
                   4426: #line $LINENO "configure"
                   4427: /* confdefs.h.  */
                   4428: _ACEOF
                   4429: cat confdefs.h >>conftest.$ac_ext
                   4430: cat >>conftest.$ac_ext <<_ACEOF
                   4431: /* end confdefs.h.  */
                   4432: #include <ac_nonexistent.h>
                   4433: _ACEOF
                   4434: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4435:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4436:   ac_status=$?
                   4437:   grep -v '^ *+' conftest.er1 >conftest.err
                   4438:   rm -f conftest.er1
                   4439:   cat conftest.err >&5
                   4440:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4441:   (exit $ac_status); } >/dev/null; then
                   4442:   if test -s conftest.err; then
1.23.2.1! paf      4443:     ac_cpp_err=$ac_c_preproc_warn_flag
1.15      paf      4444:   else
                   4445:     ac_cpp_err=
                   4446:   fi
1.11      paf      4447: else
1.15      paf      4448:   ac_cpp_err=yes
1.11      paf      4449: fi
1.15      paf      4450: if test -z "$ac_cpp_err"; then
                   4451:   # Broken: success on invalid input.
                   4452: continue
                   4453: else
                   4454:   echo "$as_me: failed program was:" >&5
                   4455: sed 's/^/| /' conftest.$ac_ext >&5
                   4456: 
                   4457:   # Passes both tests.
                   4458: ac_preproc_ok=:
                   4459: break
1.11      paf      4460: fi
1.15      paf      4461: rm -f conftest.err conftest.$ac_ext
1.11      paf      4462: 
1.15      paf      4463: done
                   4464: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4465: rm -f conftest.err conftest.$ac_ext
                   4466: if $ac_preproc_ok; then
                   4467:   :
1.11      paf      4468: else
1.23.2.1! paf      4469:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.15      paf      4470: See \`config.log' for more details." >&5
1.23.2.1! paf      4471: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.15      paf      4472: See \`config.log' for more details." >&2;}
                   4473:    { (exit 1); exit 1; }; }
1.11      paf      4474: fi
                   4475: 
1.23.2.1! paf      4476: ac_ext=c
        !          4477: ac_cpp='$CPP $CPPFLAGS'
        !          4478: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4479: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4480: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      4481: 
1.11      paf      4482: 
1.15      paf      4483: echo "$as_me:$LINENO: checking for egrep" >&5
                   4484: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4485: if test "${ac_cv_prog_egrep+set}" = set; then
                   4486:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4487: else
                   4488:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4489:     then ac_cv_prog_egrep='grep -E'
                   4490:     else ac_cv_prog_egrep='egrep'
1.11      paf      4491:     fi
                   4492: fi
1.15      paf      4493: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4494: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4495:  EGREP=$ac_cv_prog_egrep
                   4496: 
                   4497: 
                   4498: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4499: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4500: if test "${ac_cv_header_stdc+set}" = set; then
                   4501:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4502: else
                   4503:   cat >conftest.$ac_ext <<_ACEOF
                   4504: #line $LINENO "configure"
                   4505: /* confdefs.h.  */
                   4506: _ACEOF
                   4507: cat confdefs.h >>conftest.$ac_ext
                   4508: cat >>conftest.$ac_ext <<_ACEOF
                   4509: /* end confdefs.h.  */
                   4510: #include <stdlib.h>
                   4511: #include <stdarg.h>
                   4512: #include <string.h>
                   4513: #include <float.h>
                   4514: 
                   4515: int
                   4516: main ()
                   4517: {
                   4518: 
                   4519:   ;
                   4520:   return 0;
                   4521: }
                   4522: _ACEOF
                   4523: rm -f conftest.$ac_objext
                   4524: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4525:   (eval $ac_compile) 2>&5
                   4526:   ac_status=$?
                   4527:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4528:   (exit $ac_status); } &&
                   4529:          { ac_try='test -s conftest.$ac_objext'
                   4530:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4531:   (eval $ac_try) 2>&5
                   4532:   ac_status=$?
                   4533:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4534:   (exit $ac_status); }; }; then
                   4535:   ac_cv_header_stdc=yes
1.11      paf      4536: else
1.15      paf      4537:   echo "$as_me: failed program was:" >&5
                   4538: sed 's/^/| /' conftest.$ac_ext >&5
                   4539: 
                   4540: ac_cv_header_stdc=no
1.11      paf      4541: fi
1.15      paf      4542: rm -f conftest.$ac_objext conftest.$ac_ext
                   4543: 
                   4544: if test $ac_cv_header_stdc = yes; then
                   4545:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4546:   cat >conftest.$ac_ext <<_ACEOF
                   4547: #line $LINENO "configure"
                   4548: /* confdefs.h.  */
                   4549: _ACEOF
                   4550: cat confdefs.h >>conftest.$ac_ext
                   4551: cat >>conftest.$ac_ext <<_ACEOF
                   4552: /* end confdefs.h.  */
                   4553: #include <string.h>
1.11      paf      4554: 
1.15      paf      4555: _ACEOF
                   4556: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4557:   $EGREP "memchr" >/dev/null 2>&1; then
                   4558:   :
1.11      paf      4559: else
1.15      paf      4560:   ac_cv_header_stdc=no
1.11      paf      4561: fi
1.15      paf      4562: rm -f conftest*
                   4563: 
1.11      paf      4564: fi
                   4565: 
1.15      paf      4566: if test $ac_cv_header_stdc = yes; then
                   4567:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4568:   cat >conftest.$ac_ext <<_ACEOF
                   4569: #line $LINENO "configure"
                   4570: /* confdefs.h.  */
                   4571: _ACEOF
                   4572: cat confdefs.h >>conftest.$ac_ext
                   4573: cat >>conftest.$ac_ext <<_ACEOF
                   4574: /* end confdefs.h.  */
                   4575: #include <stdlib.h>
1.1       parser   4576: 
1.15      paf      4577: _ACEOF
                   4578: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4579:   $EGREP "free" >/dev/null 2>&1; then
1.1       parser   4580:   :
                   4581: else
1.15      paf      4582:   ac_cv_header_stdc=no
1.1       parser   4583: fi
1.15      paf      4584: rm -f conftest*
1.1       parser   4585: 
1.15      paf      4586: fi
1.1       parser   4587: 
1.15      paf      4588: if test $ac_cv_header_stdc = yes; then
                   4589:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4590:   if test "$cross_compiling" = yes; then
                   4591:   :
                   4592: else
                   4593:   cat >conftest.$ac_ext <<_ACEOF
                   4594: #line $LINENO "configure"
                   4595: /* confdefs.h.  */
                   4596: _ACEOF
                   4597: cat confdefs.h >>conftest.$ac_ext
                   4598: cat >>conftest.$ac_ext <<_ACEOF
                   4599: /* end confdefs.h.  */
                   4600: #include <ctype.h>
                   4601: #if ((' ' & 0x0FF) == 0x020)
                   4602: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4603: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4604: #else
                   4605: # define ISLOWER(c) \
                   4606:                    (('a' <= (c) && (c) <= 'i') \
                   4607:                      || ('j' <= (c) && (c) <= 'r') \
                   4608:                      || ('s' <= (c) && (c) <= 'z'))
                   4609: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4610: #endif
1.1       parser   4611: 
1.15      paf      4612: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4613: int
                   4614: main ()
                   4615: {
                   4616:   int i;
                   4617:   for (i = 0; i < 256; i++)
                   4618:     if (XOR (islower (i), ISLOWER (i))
                   4619:         || toupper (i) != TOUPPER (i))
                   4620:       exit(2);
                   4621:   exit (0);
                   4622: }
                   4623: _ACEOF
                   4624: rm -f conftest$ac_exeext
                   4625: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4626:   (eval $ac_link) 2>&5
                   4627:   ac_status=$?
                   4628:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4629:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4630:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4631:   (eval $ac_try) 2>&5
                   4632:   ac_status=$?
                   4633:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4634:   (exit $ac_status); }; }; then
                   4635:   :
1.1       parser   4636: else
1.15      paf      4637:   echo "$as_me: program exited with status $ac_status" >&5
                   4638: echo "$as_me: failed program was:" >&5
                   4639: sed 's/^/| /' conftest.$ac_ext >&5
                   4640: 
                   4641: ( exit $ac_status )
                   4642: ac_cv_header_stdc=no
                   4643: fi
                   4644: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       parser   4645: fi
1.15      paf      4646: fi
                   4647: fi
                   4648: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4649: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4650: if test $ac_cv_header_stdc = yes; then
1.1       parser   4651: 
1.15      paf      4652: cat >>confdefs.h <<\_ACEOF
                   4653: #define STDC_HEADERS 1
                   4654: _ACEOF
1.1       parser   4655: 
1.15      paf      4656: fi
1.1       parser   4657: 
1.15      paf      4658: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.1       parser   4659: 
                   4660: 
                   4661: 
                   4662: 
                   4663: 
                   4664: 
1.15      paf      4665: 
                   4666: 
                   4667: 
                   4668: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4669:                   inttypes.h stdint.h unistd.h
                   4670: do
                   4671: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4672: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4673: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4674: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4675:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4676: else
                   4677:   cat >conftest.$ac_ext <<_ACEOF
                   4678: #line $LINENO "configure"
                   4679: /* confdefs.h.  */
                   4680: _ACEOF
                   4681: cat confdefs.h >>conftest.$ac_ext
                   4682: cat >>conftest.$ac_ext <<_ACEOF
                   4683: /* end confdefs.h.  */
                   4684: $ac_includes_default
                   4685: 
                   4686: #include <$ac_header>
                   4687: _ACEOF
                   4688: rm -f conftest.$ac_objext
                   4689: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4690:   (eval $ac_compile) 2>&5
                   4691:   ac_status=$?
                   4692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4693:   (exit $ac_status); } &&
                   4694:          { ac_try='test -s conftest.$ac_objext'
                   4695:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4696:   (eval $ac_try) 2>&5
                   4697:   ac_status=$?
                   4698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4699:   (exit $ac_status); }; }; then
                   4700:   eval "$as_ac_Header=yes"
                   4701: else
                   4702:   echo "$as_me: failed program was:" >&5
                   4703: sed 's/^/| /' conftest.$ac_ext >&5
                   4704: 
                   4705: eval "$as_ac_Header=no"
                   4706: fi
                   4707: rm -f conftest.$ac_objext conftest.$ac_ext
                   4708: fi
                   4709: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4710: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4711: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4712:   cat >>confdefs.h <<_ACEOF
                   4713: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4714: _ACEOF
                   4715: 
                   4716: fi
                   4717: 
                   4718: done
                   4719: 
                   4720: 
                   4721: 
                   4722: for ac_header in dlfcn.h
                   4723: do
                   4724: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4725: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4726:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4727: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4728: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4729:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4730: fi
                   4731: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4732: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4733: else
                   4734:   # Is the header compilable?
                   4735: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   4736: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   4737: cat >conftest.$ac_ext <<_ACEOF
                   4738: #line $LINENO "configure"
                   4739: /* confdefs.h.  */
                   4740: _ACEOF
                   4741: cat confdefs.h >>conftest.$ac_ext
                   4742: cat >>conftest.$ac_ext <<_ACEOF
                   4743: /* end confdefs.h.  */
                   4744: $ac_includes_default
                   4745: #include <$ac_header>
                   4746: _ACEOF
                   4747: rm -f conftest.$ac_objext
                   4748: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4749:   (eval $ac_compile) 2>&5
                   4750:   ac_status=$?
                   4751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4752:   (exit $ac_status); } &&
                   4753:          { ac_try='test -s conftest.$ac_objext'
                   4754:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4755:   (eval $ac_try) 2>&5
                   4756:   ac_status=$?
                   4757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4758:   (exit $ac_status); }; }; then
                   4759:   ac_header_compiler=yes
                   4760: else
                   4761:   echo "$as_me: failed program was:" >&5
                   4762: sed 's/^/| /' conftest.$ac_ext >&5
                   4763: 
                   4764: ac_header_compiler=no
                   4765: fi
                   4766: rm -f conftest.$ac_objext conftest.$ac_ext
                   4767: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   4768: echo "${ECHO_T}$ac_header_compiler" >&6
                   4769: 
                   4770: # Is the header present?
                   4771: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   4772: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   4773: cat >conftest.$ac_ext <<_ACEOF
                   4774: #line $LINENO "configure"
                   4775: /* confdefs.h.  */
                   4776: _ACEOF
                   4777: cat confdefs.h >>conftest.$ac_ext
                   4778: cat >>conftest.$ac_ext <<_ACEOF
                   4779: /* end confdefs.h.  */
                   4780: #include <$ac_header>
                   4781: _ACEOF
                   4782: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4783:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4784:   ac_status=$?
                   4785:   grep -v '^ *+' conftest.er1 >conftest.err
                   4786:   rm -f conftest.er1
                   4787:   cat conftest.err >&5
                   4788:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4789:   (exit $ac_status); } >/dev/null; then
                   4790:   if test -s conftest.err; then
1.23.2.1! paf      4791:     ac_cpp_err=$ac_c_preproc_warn_flag
1.15      paf      4792:   else
                   4793:     ac_cpp_err=
                   4794:   fi
                   4795: else
                   4796:   ac_cpp_err=yes
                   4797: fi
                   4798: if test -z "$ac_cpp_err"; then
                   4799:   ac_header_preproc=yes
                   4800: else
                   4801:   echo "$as_me: failed program was:" >&5
                   4802: sed 's/^/| /' conftest.$ac_ext >&5
                   4803: 
                   4804:   ac_header_preproc=no
                   4805: fi
                   4806: rm -f conftest.err conftest.$ac_ext
                   4807: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   4808: echo "${ECHO_T}$ac_header_preproc" >&6
                   4809: 
                   4810: # So?  What about this header?
                   4811: case $ac_header_compiler:$ac_header_preproc in
                   4812:   yes:no )
                   4813:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   4814: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   4815:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4816: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   4817:     (
                   4818:       cat <<\_ASBOX
                   4819: ## ------------------------------------ ##
                   4820: ## Report this to bug-autoconf@gnu.org. ##
                   4821: ## ------------------------------------ ##
                   4822: _ASBOX
                   4823:     ) |
                   4824:       sed "s/^/$as_me: WARNING:     /" >&2
                   4825:     ;;
                   4826:   no:yes )
                   4827:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   4828: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   4829:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   4830: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   4831:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4832: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   4833:     (
                   4834:       cat <<\_ASBOX
                   4835: ## ------------------------------------ ##
                   4836: ## Report this to bug-autoconf@gnu.org. ##
                   4837: ## ------------------------------------ ##
                   4838: _ASBOX
                   4839:     ) |
                   4840:       sed "s/^/$as_me: WARNING:     /" >&2
                   4841:     ;;
                   4842: esac
                   4843: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4844: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4845: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4846:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   4847: else
1.15      paf      4848:   eval "$as_ac_Header=$ac_header_preproc"
                   4849: fi
                   4850: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4851: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4852: 
                   4853: fi
                   4854: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4855:   cat >>confdefs.h <<_ACEOF
                   4856: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4857: _ACEOF
                   4858: 
                   4859: fi
                   4860: 
                   4861: done
                   4862: 
                   4863: 
                   4864: 
                   4865: 
                   4866: 
                   4867: 
                   4868: # Only perform the check for file, if the check method requires it
                   4869: case $deplibs_check_method in
                   4870: file_magic*)
                   4871:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   4872:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   4873: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   4874: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4875:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4876: else
                   4877:   case $MAGIC_CMD in
                   4878:   /*)
                   4879:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4880:   ;;
                   4881:   ?:/*)
                   4882:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4883:   ;;
                   4884:   *)
                   4885:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4886:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4887:   ac_dummy="/usr/bin:$PATH"
                   4888:   for ac_dir in $ac_dummy; do
                   4889:     test -z "$ac_dir" && ac_dir=.
                   4890:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   4891:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   4892:       if test -n "$file_magic_test_file"; then
                   4893:        case $deplibs_check_method in
                   4894:        "file_magic "*)
                   4895:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4896:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4897:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4898:            egrep "$file_magic_regex" > /dev/null; then
                   4899:            :
                   4900:          else
                   4901:            cat <<EOF 1>&2
                   4902: 
                   4903: *** Warning: the command libtool uses to detect shared libraries,
                   4904: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4905: *** The result is that libtool may fail to recognize shared libraries
                   4906: *** as such.  This will affect the creation of libtool libraries that
                   4907: *** depend on shared libraries, but programs linked with such libtool
                   4908: *** libraries will work regardless of this problem.  Nevertheless, you
                   4909: *** may want to report the problem to your system manager and/or to
                   4910: *** bug-libtool@gnu.org
                   4911: 
                   4912: EOF
                   4913:          fi ;;
                   4914:        esac
                   4915:       fi
                   4916:       break
                   4917:     fi
                   4918:   done
                   4919:   IFS="$ac_save_ifs"
                   4920:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4921:   ;;
                   4922: esac
                   4923: fi
                   4924: 
                   4925: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4926: if test -n "$MAGIC_CMD"; then
                   4927:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   4928: echo "${ECHO_T}$MAGIC_CMD" >&6
                   4929: else
                   4930:   echo "$as_me:$LINENO: result: no" >&5
                   4931: echo "${ECHO_T}no" >&6
                   4932: fi
                   4933: 
                   4934: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   4935:   if test -n "$ac_tool_prefix"; then
                   4936:     echo "$as_me:$LINENO: checking for file" >&5
                   4937: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   4938: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   4939:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4940: else
                   4941:   case $MAGIC_CMD in
                   4942:   /*)
                   4943:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   4944:   ;;
                   4945:   ?:/*)
                   4946:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   4947:   ;;
                   4948:   *)
                   4949:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   4950:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   4951:   ac_dummy="/usr/bin:$PATH"
                   4952:   for ac_dir in $ac_dummy; do
                   4953:     test -z "$ac_dir" && ac_dir=.
                   4954:     if test -f $ac_dir/file; then
                   4955:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   4956:       if test -n "$file_magic_test_file"; then
                   4957:        case $deplibs_check_method in
                   4958:        "file_magic "*)
                   4959:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   4960:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4961:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   4962:            egrep "$file_magic_regex" > /dev/null; then
                   4963:            :
                   4964:          else
                   4965:            cat <<EOF 1>&2
                   4966: 
                   4967: *** Warning: the command libtool uses to detect shared libraries,
                   4968: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   4969: *** The result is that libtool may fail to recognize shared libraries
                   4970: *** as such.  This will affect the creation of libtool libraries that
                   4971: *** depend on shared libraries, but programs linked with such libtool
                   4972: *** libraries will work regardless of this problem.  Nevertheless, you
                   4973: *** may want to report the problem to your system manager and/or to
                   4974: *** bug-libtool@gnu.org
                   4975: 
1.1       parser   4976: EOF
1.15      paf      4977:          fi ;;
                   4978:        esac
                   4979:       fi
                   4980:       break
                   4981:     fi
                   4982:   done
                   4983:   IFS="$ac_save_ifs"
                   4984:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   4985:   ;;
                   4986: esac
                   4987: fi
                   4988: 
                   4989: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   4990: if test -n "$MAGIC_CMD"; then
                   4991:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   4992: echo "${ECHO_T}$MAGIC_CMD" >&6
1.1       parser   4993: else
1.15      paf      4994:   echo "$as_me:$LINENO: result: no" >&5
                   4995: echo "${ECHO_T}no" >&6
1.1       parser   4996: fi
1.15      paf      4997: 
                   4998:   else
                   4999:     MAGIC_CMD=:
                   5000:   fi
1.1       parser   5001: fi
                   5002: 
1.15      paf      5003:   fi
                   5004:   ;;
                   5005: esac
1.1       parser   5006: 
1.15      paf      5007: if test -n "$ac_tool_prefix"; then
                   5008:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5009: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5010: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5011: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5012: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5013:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5014: else
                   5015:   if test -n "$RANLIB"; then
                   5016:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5017: else
                   5018: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5019: for as_dir in $PATH
1.1       parser   5020: do
1.15      paf      5021:   IFS=$as_save_IFS
                   5022:   test -z "$as_dir" && as_dir=.
                   5023:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5024:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5025:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5026:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5027:     break 2
                   5028:   fi
                   5029: done
                   5030: done
                   5031: 
                   5032: fi
                   5033: fi
                   5034: RANLIB=$ac_cv_prog_RANLIB
                   5035: if test -n "$RANLIB"; then
                   5036:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5037: echo "${ECHO_T}$RANLIB" >&6
                   5038: else
                   5039:   echo "$as_me:$LINENO: result: no" >&5
                   5040: echo "${ECHO_T}no" >&6
                   5041: fi
                   5042: 
                   5043: fi
                   5044: if test -z "$ac_cv_prog_RANLIB"; then
                   5045:   ac_ct_RANLIB=$RANLIB
                   5046:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5047: set dummy ranlib; ac_word=$2
                   5048: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5049: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5050: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5051:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   5052: else
1.15      paf      5053:   if test -n "$ac_ct_RANLIB"; then
                   5054:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.1       parser   5055: else
1.15      paf      5056: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5057: for as_dir in $PATH
                   5058: do
                   5059:   IFS=$as_save_IFS
                   5060:   test -z "$as_dir" && as_dir=.
                   5061:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5062:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5063:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5064:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5065:     break 2
                   5066:   fi
                   5067: done
                   5068: done
                   5069: 
                   5070:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5071: fi
1.1       parser   5072: fi
1.15      paf      5073: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5074: if test -n "$ac_ct_RANLIB"; then
                   5075:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5076: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5077: else
                   5078:   echo "$as_me:$LINENO: result: no" >&5
                   5079: echo "${ECHO_T}no" >&6
1.1       parser   5080: fi
1.15      paf      5081: 
                   5082:   RANLIB=$ac_ct_RANLIB
1.1       parser   5083: else
1.15      paf      5084:   RANLIB="$ac_cv_prog_RANLIB"
1.1       parser   5085: fi
1.15      paf      5086: 
                   5087: if test -n "$ac_tool_prefix"; then
                   5088:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5089: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5090: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5091: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5092: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5093:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5094: else
                   5095:   if test -n "$STRIP"; then
                   5096:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5097: else
                   5098: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5099: for as_dir in $PATH
                   5100: do
                   5101:   IFS=$as_save_IFS
                   5102:   test -z "$as_dir" && as_dir=.
                   5103:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5104:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5105:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5106:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5107:     break 2
                   5108:   fi
1.1       parser   5109: done
1.15      paf      5110: done
                   5111: 
                   5112: fi
                   5113: fi
                   5114: STRIP=$ac_cv_prog_STRIP
                   5115: if test -n "$STRIP"; then
                   5116:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5117: echo "${ECHO_T}$STRIP" >&6
                   5118: else
                   5119:   echo "$as_me:$LINENO: result: no" >&5
                   5120: echo "${ECHO_T}no" >&6
                   5121: fi
1.1       parser   5122: 
1.15      paf      5123: fi
                   5124: if test -z "$ac_cv_prog_STRIP"; then
                   5125:   ac_ct_STRIP=$STRIP
                   5126:   # Extract the first word of "strip", so it can be a program name with args.
                   5127: set dummy strip; ac_word=$2
                   5128: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5129: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5130: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5131:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5132: else
                   5133:   if test -n "$ac_ct_STRIP"; then
                   5134:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5135: else
                   5136: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5137: for as_dir in $PATH
                   5138: do
                   5139:   IFS=$as_save_IFS
                   5140:   test -z "$as_dir" && as_dir=.
                   5141:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5142:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5143:     ac_cv_prog_ac_ct_STRIP="strip"
                   5144:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5145:     break 2
                   5146:   fi
                   5147: done
                   5148: done
1.1       parser   5149: 
1.15      paf      5150:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5151: fi
                   5152: fi
                   5153: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5154: if test -n "$ac_ct_STRIP"; then
                   5155:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5156: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5157: else
                   5158:   echo "$as_me:$LINENO: result: no" >&5
                   5159: echo "${ECHO_T}no" >&6
                   5160: fi
1.1       parser   5161: 
1.15      paf      5162:   STRIP=$ac_ct_STRIP
1.1       parser   5163: else
1.15      paf      5164:   STRIP="$ac_cv_prog_STRIP"
                   5165: fi
                   5166: 
                   5167: 
                   5168: enable_dlopen=no
                   5169: enable_win32_dll=no
                   5170: 
                   5171: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   5172: if test "${enable_libtool_lock+set}" = set; then
                   5173:   enableval="$enable_libtool_lock"
                   5174: 
                   5175: fi;
                   5176: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   5177: 
                   5178: # Some flags need to be propagated to the compiler or linker for good
                   5179: # libtool support.
                   5180: case $host in
                   5181: *-*-irix6*)
                   5182:   # Find out which ABI we are using.
1.23.2.1! paf      5183:   echo '#line 5183 "configure"' > conftest.$ac_ext
1.15      paf      5184:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5185:   (eval $ac_compile) 2>&5
                   5186:   ac_status=$?
                   5187:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5188:   (exit $ac_status); }; then
                   5189:     case `/usr/bin/file conftest.$ac_objext` in
                   5190:     *32-bit*)
                   5191:       LD="${LD-ld} -32"
                   5192:       ;;
                   5193:     *N32*)
                   5194:       LD="${LD-ld} -n32"
                   5195:       ;;
                   5196:     *64-bit*)
                   5197:       LD="${LD-ld} -64"
                   5198:       ;;
                   5199:     esac
                   5200:   fi
1.1       parser   5201:   rm -rf conftest*
1.15      paf      5202:   ;;
                   5203: 
                   5204: *-*-sco3.2v5*)
                   5205:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5206:   SAVE_CFLAGS="$CFLAGS"
                   5207:   CFLAGS="$CFLAGS -belf"
                   5208:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   5209: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   5210: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   5211:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   5212: else
                   5213: 
1.15      paf      5214: 
                   5215:      ac_ext=c
                   5216: ac_cpp='$CPP $CPPFLAGS'
                   5217: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5218: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5219: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5220: 
                   5221:      cat >conftest.$ac_ext <<_ACEOF
                   5222: #line $LINENO "configure"
                   5223: /* confdefs.h.  */
                   5224: _ACEOF
                   5225: cat confdefs.h >>conftest.$ac_ext
                   5226: cat >>conftest.$ac_ext <<_ACEOF
                   5227: /* end confdefs.h.  */
                   5228: 
                   5229: int
                   5230: main ()
                   5231: {
                   5232: 
                   5233:   ;
                   5234:   return 0;
                   5235: }
                   5236: _ACEOF
                   5237: rm -f conftest.$ac_objext conftest$ac_exeext
                   5238: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5239:   (eval $ac_link) 2>&5
                   5240:   ac_status=$?
                   5241:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5242:   (exit $ac_status); } &&
                   5243:          { ac_try='test -s conftest$ac_exeext'
                   5244:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5245:   (eval $ac_try) 2>&5
                   5246:   ac_status=$?
                   5247:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5248:   (exit $ac_status); }; }; then
                   5249:   lt_cv_cc_needs_belf=yes
1.1       parser   5250: else
1.15      paf      5251:   echo "$as_me: failed program was:" >&5
                   5252: sed 's/^/| /' conftest.$ac_ext >&5
                   5253: 
                   5254: lt_cv_cc_needs_belf=no
1.1       parser   5255: fi
1.15      paf      5256: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.23.2.1! paf      5257:      ac_ext=c
        !          5258: ac_cpp='$CPP $CPPFLAGS'
        !          5259: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5260: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5261: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   5262: 
                   5263: fi
1.15      paf      5264: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   5265: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   5266:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   5267:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   5268:     CFLAGS="$SAVE_CFLAGS"
                   5269:   fi
                   5270:   ;;
                   5271: 
                   5272: 
                   5273: esac
                   5274: 
                   5275: # Sed substitution that helps us do robust quoting.  It backslashifies
                   5276: # metacharacters that are still active within double-quoted strings.
                   5277: Xsed='sed -e s/^X//'
                   5278: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
                   5279: 
                   5280: # Same as above, but do not quote variable references.
                   5281: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
                   5282: 
                   5283: # Sed substitution to delay expansion of an escaped shell variable in a
                   5284: # double_quote_subst'ed string.
                   5285: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   5286: 
                   5287: # Constants:
                   5288: rm="rm -f"
                   5289: 
                   5290: # Global variables:
                   5291: default_ofile=libtool
                   5292: can_build_shared=yes
                   5293: 
                   5294: # All known linkers require a `.a' archive for static linking (except M$VC,
                   5295: # which needs '.lib').
                   5296: libext=a
                   5297: ltmain="$ac_aux_dir/ltmain.sh"
                   5298: ofile="$default_ofile"
                   5299: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   5300: need_locks="$enable_libtool_lock"
                   5301: 
                   5302: old_CC="$CC"
                   5303: old_CFLAGS="$CFLAGS"
                   5304: 
                   5305: # Set sane defaults for various variables
                   5306: test -z "$AR" && AR=ar
                   5307: test -z "$AR_FLAGS" && AR_FLAGS=cru
                   5308: test -z "$AS" && AS=as
                   5309: test -z "$CC" && CC=cc
                   5310: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5311: test -z "$LD" && LD=ld
                   5312: test -z "$LN_S" && LN_S="ln -s"
                   5313: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   5314: test -z "$NM" && NM=nm
                   5315: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5316: test -z "$RANLIB" && RANLIB=:
                   5317: test -z "$STRIP" && STRIP=:
                   5318: test -z "$ac_objext" && ac_objext=o
1.1       parser   5319: 
1.15      paf      5320: if test x"$host" != x"$build"; then
                   5321:   ac_tool_prefix=${host_alias}-
1.1       parser   5322: else
1.15      paf      5323:   ac_tool_prefix=
1.1       parser   5324: fi
                   5325: 
1.15      paf      5326: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
                   5327: case $host_os in
                   5328: linux-gnu*) ;;
                   5329: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
                   5330: esac
                   5331: 
                   5332: case $host_os in
                   5333: aix3*)
                   5334:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   5335:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   5336:   # vanish in a puff of smoke.
                   5337:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   5338:     COLLECT_NAMES=
                   5339:     export COLLECT_NAMES
                   5340:   fi
                   5341:   ;;
                   5342: esac
                   5343: 
                   5344: # Determine commands to create old-style static archives.
                   5345: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
                   5346: old_postinstall_cmds='chmod 644 $oldlib'
                   5347: old_postuninstall_cmds=
                   5348: 
                   5349: if test -n "$RANLIB"; then
                   5350:   case $host_os in
                   5351:   openbsd*)
                   5352:     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
                   5353:     ;;
                   5354:   *)
                   5355:     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
                   5356:     ;;
                   5357:   esac
                   5358:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1.1       parser   5359: fi
                   5360: 
1.15      paf      5361: # Allow CC to be a program name with arguments.
                   5362: set dummy $CC
                   5363: compiler="$2"
                   5364: 
                   5365: echo "$as_me:$LINENO: checking for objdir" >&5
                   5366: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   5367: rm -f .libs 2>/dev/null
                   5368: mkdir .libs 2>/dev/null
                   5369: if test -d .libs; then
                   5370:   objdir=.libs
                   5371: else
                   5372:   # MS-DOS does not allow filenames that begin with a dot.
                   5373:   objdir=_libs
                   5374: fi
                   5375: rmdir .libs 2>/dev/null
                   5376: echo "$as_me:$LINENO: result: $objdir" >&5
                   5377: echo "${ECHO_T}$objdir" >&6
                   5378: 
                   5379: 
                   5380: 
                   5381: # Check whether --with-pic or --without-pic was given.
                   5382: if test "${with_pic+set}" = set; then
                   5383:   withval="$with_pic"
                   5384:   pic_mode="$withval"
                   5385: else
                   5386:   pic_mode=default
                   5387: fi;
                   5388: test -z "$pic_mode" && pic_mode=default
                   5389: 
                   5390: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
                   5391: # in isolation, and that seeing it set (from the cache) indicates that
                   5392: # the associated values are set (in the cache) correctly too.
                   5393: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   5394: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   5395: if test "${lt_cv_prog_cc_pic+set}" = set; then
                   5396:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5397: else
                   5398:    lt_cv_prog_cc_pic=
                   5399:   lt_cv_prog_cc_shlib=
                   5400:   lt_cv_prog_cc_wl=
                   5401:   lt_cv_prog_cc_static=
                   5402:   lt_cv_prog_cc_no_builtin=
                   5403:   lt_cv_prog_cc_can_build_shared=$can_build_shared
                   5404: 
                   5405:   if test "$GCC" = yes; then
                   5406:     lt_cv_prog_cc_wl='-Wl,'
                   5407:     lt_cv_prog_cc_static='-static'
1.1       parser   5408: 
1.15      paf      5409:     case $host_os in
                   5410:     aix*)
                   5411:       # Below there is a dirty hack to force normal static linking with -ldl
                   5412:       # The problem is because libdl dynamically linked with both libc and
                   5413:       # libC (AIX C++ library), which obviously doesn't included in libraries
                   5414:       # list by gcc. This cause undefined symbols with -static flags.
                   5415:       # This hack allows C programs to be linked with "-static -ldl", but
                   5416:       # not sure about C++ programs.
                   5417:       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
                   5418:       ;;
                   5419:     amigaos*)
                   5420:       # FIXME: we need at least 68020 code to build shared libraries, but
                   5421:       # adding the `-m68020' flag to GCC prevents building anything better,
                   5422:       # like `-m68040'.
                   5423:       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
                   5424:       ;;
                   5425:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   5426:       # PIC is the default for these OSes.
                   5427:       ;;
                   5428:     darwin* | rhapsody*)
                   5429:       # PIC is the default on this platform
                   5430:       # Common symbols not allowed in MH_DYLIB files
                   5431:       lt_cv_prog_cc_pic='-fno-common'
                   5432:       ;;
                   5433:     cygwin* | mingw* | pw32* | os2*)
                   5434:       # This hack is so that the source file can tell whether it is being
                   5435:       # built for inclusion in a dll (and should export symbols for example).
                   5436:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5437:       ;;
                   5438:     sysv4*MP*)
                   5439:       if test -d /usr/nec; then
                   5440:         lt_cv_prog_cc_pic=-Kconform_pic
                   5441:       fi
                   5442:       ;;
                   5443:     *)
                   5444:       lt_cv_prog_cc_pic='-fPIC'
                   5445:       ;;
                   5446:     esac
                   5447:   else
                   5448:     # PORTME Check for PIC flags for the system compiler.
                   5449:     case $host_os in
                   5450:     aix3* | aix4* | aix5*)
                   5451:       lt_cv_prog_cc_wl='-Wl,'
                   5452:       # All AIX code is PIC.
                   5453:       if test "$host_cpu" = ia64; then
                   5454:        # AIX 5 now supports IA64 processor
                   5455:        lt_cv_prog_cc_static='-Bstatic'
                   5456:       else
                   5457:        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
                   5458:       fi
                   5459:       ;;
                   5460: 
                   5461:     hpux9* | hpux10* | hpux11*)
                   5462:       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
                   5463:       lt_cv_prog_cc_wl='-Wl,'
                   5464:       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
                   5465:       lt_cv_prog_cc_pic='+Z'
                   5466:       ;;
                   5467: 
                   5468:     irix5* | irix6* | nonstopux*)
                   5469:       lt_cv_prog_cc_wl='-Wl,'
                   5470:       lt_cv_prog_cc_static='-non_shared'
                   5471:       # PIC (with -KPIC) is the default.
                   5472:       ;;
                   5473: 
                   5474:     cygwin* | mingw* | pw32* | os2*)
                   5475:       # This hack is so that the source file can tell whether it is being
                   5476:       # built for inclusion in a dll (and should export symbols for example).
                   5477:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5478:       ;;
                   5479: 
                   5480:     newsos6)
                   5481:       lt_cv_prog_cc_pic='-KPIC'
                   5482:       lt_cv_prog_cc_static='-Bstatic'
                   5483:       ;;
                   5484: 
                   5485:     osf3* | osf4* | osf5*)
                   5486:       # All OSF/1 code is PIC.
                   5487:       lt_cv_prog_cc_wl='-Wl,'
                   5488:       lt_cv_prog_cc_static='-non_shared'
                   5489:       ;;
                   5490: 
                   5491:     sco3.2v5*)
                   5492:       lt_cv_prog_cc_pic='-Kpic'
                   5493:       lt_cv_prog_cc_static='-dn'
                   5494:       lt_cv_prog_cc_shlib='-belf'
                   5495:       ;;
                   5496: 
                   5497:     solaris*)
                   5498:       lt_cv_prog_cc_pic='-KPIC'
                   5499:       lt_cv_prog_cc_static='-Bstatic'
                   5500:       lt_cv_prog_cc_wl='-Wl,'
                   5501:       ;;
                   5502: 
                   5503:     sunos4*)
                   5504:       lt_cv_prog_cc_pic='-PIC'
                   5505:       lt_cv_prog_cc_static='-Bstatic'
                   5506:       lt_cv_prog_cc_wl='-Qoption ld '
                   5507:       ;;
                   5508: 
                   5509:     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   5510:       lt_cv_prog_cc_pic='-KPIC'
                   5511:       lt_cv_prog_cc_static='-Bstatic'
                   5512:       lt_cv_prog_cc_wl='-Wl,'
                   5513:       ;;
                   5514: 
                   5515:     uts4*)
                   5516:       lt_cv_prog_cc_pic='-pic'
                   5517:       lt_cv_prog_cc_static='-Bstatic'
                   5518:       ;;
                   5519: 
                   5520:     sysv4*MP*)
                   5521:       if test -d /usr/nec ;then
                   5522:        lt_cv_prog_cc_pic='-Kconform_pic'
                   5523:        lt_cv_prog_cc_static='-Bstatic'
                   5524:       fi
                   5525:       ;;
                   5526: 
                   5527:     *)
                   5528:       lt_cv_prog_cc_can_build_shared=no
                   5529:       ;;
                   5530:     esac
                   5531:   fi
                   5532: 
                   5533: fi
                   5534: 
                   5535: if test -z "$lt_cv_prog_cc_pic"; then
                   5536:   echo "$as_me:$LINENO: result: none" >&5
                   5537: echo "${ECHO_T}none" >&6
                   5538: else
                   5539:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
                   5540: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
                   5541: 
                   5542:   # Check to make sure the pic_flag actually works.
                   5543:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
                   5544: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
                   5545:   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
                   5546:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5547: else
                   5548:       save_CFLAGS="$CFLAGS"
                   5549:     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
                   5550:     cat >conftest.$ac_ext <<_ACEOF
                   5551: #line $LINENO "configure"
                   5552: /* confdefs.h.  */
                   5553: _ACEOF
                   5554: cat confdefs.h >>conftest.$ac_ext
                   5555: cat >>conftest.$ac_ext <<_ACEOF
                   5556: /* end confdefs.h.  */
                   5557: 
                   5558: int
                   5559: main ()
                   5560: {
                   5561: 
                   5562:   ;
                   5563:   return 0;
                   5564: }
                   5565: _ACEOF
                   5566: rm -f conftest.$ac_objext
                   5567: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5568:   (eval $ac_compile) 2>&5
                   5569:   ac_status=$?
                   5570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5571:   (exit $ac_status); } &&
                   5572:          { ac_try='test -s conftest.$ac_objext'
                   5573:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5574:   (eval $ac_try) 2>&5
                   5575:   ac_status=$?
                   5576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5577:   (exit $ac_status); }; }; then
                   5578:         case $host_os in
                   5579:       hpux9* | hpux10* | hpux11*)
                   5580:        # On HP-UX, both CC and GCC only warn that PIC is supported... then
                   5581:        # they create non-PIC objects.  So, if there were any warnings, we
                   5582:        # assume that PIC is not supported.
                   5583:        if test -s conftest.err; then
                   5584:          lt_cv_prog_cc_pic_works=no
                   5585:        else
                   5586:          lt_cv_prog_cc_pic_works=yes
                   5587:        fi
                   5588:        ;;
                   5589:       *)
                   5590:        lt_cv_prog_cc_pic_works=yes
                   5591:        ;;
                   5592:       esac
                   5593: 
                   5594: else
                   5595:   echo "$as_me: failed program was:" >&5
                   5596: sed 's/^/| /' conftest.$ac_ext >&5
                   5597: 
                   5598:       lt_cv_prog_cc_pic_works=no
                   5599: 
                   5600: fi
                   5601: rm -f conftest.$ac_objext conftest.$ac_ext
                   5602:     CFLAGS="$save_CFLAGS"
                   5603: 
                   5604: fi
                   5605: 
                   5606: 
                   5607:   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
                   5608:     lt_cv_prog_cc_pic=
                   5609:     lt_cv_prog_cc_can_build_shared=no
                   5610:   else
                   5611:     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
                   5612:   fi
                   5613: 
                   5614:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
                   5615: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
                   5616: fi
                   5617: 
                   5618: # Check for any special shared library compilation flags.
                   5619: if test -n "$lt_cv_prog_cc_shlib"; then
                   5620:   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
                   5621: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
                   5622:   if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
                   5623:   else
                   5624:    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
                   5625: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
                   5626:     lt_cv_prog_cc_can_build_shared=no
                   5627:   fi
                   5628: fi
                   5629: 
                   5630: echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
                   5631: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
                   5632: if test "${lt_cv_prog_cc_static_works+set}" = set; then
                   5633:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5634: else
                   5635:     lt_cv_prog_cc_static_works=no
                   5636:   save_LDFLAGS="$LDFLAGS"
                   5637:   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
                   5638:   cat >conftest.$ac_ext <<_ACEOF
                   5639: #line $LINENO "configure"
                   5640: /* confdefs.h.  */
                   5641: _ACEOF
                   5642: cat confdefs.h >>conftest.$ac_ext
                   5643: cat >>conftest.$ac_ext <<_ACEOF
                   5644: /* end confdefs.h.  */
                   5645: 
                   5646: int
                   5647: main ()
                   5648: {
                   5649: 
                   5650:   ;
                   5651:   return 0;
                   5652: }
                   5653: _ACEOF
                   5654: rm -f conftest.$ac_objext conftest$ac_exeext
                   5655: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5656:   (eval $ac_link) 2>&5
                   5657:   ac_status=$?
                   5658:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5659:   (exit $ac_status); } &&
                   5660:          { ac_try='test -s conftest$ac_exeext'
                   5661:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5662:   (eval $ac_try) 2>&5
                   5663:   ac_status=$?
                   5664:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5665:   (exit $ac_status); }; }; then
                   5666:   lt_cv_prog_cc_static_works=yes
                   5667: else
                   5668:   echo "$as_me: failed program was:" >&5
                   5669: sed 's/^/| /' conftest.$ac_ext >&5
                   5670: 
                   5671: fi
                   5672: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5673:   LDFLAGS="$save_LDFLAGS"
                   5674: 
                   5675: fi
                   5676: 
                   5677: 
                   5678: # Belt *and* braces to stop my trousers falling down:
                   5679: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
                   5680: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
                   5681: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
                   5682: 
                   5683: pic_flag="$lt_cv_prog_cc_pic"
                   5684: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
                   5685: wl="$lt_cv_prog_cc_wl"
                   5686: link_static_flag="$lt_cv_prog_cc_static"
                   5687: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
                   5688: can_build_shared="$lt_cv_prog_cc_can_build_shared"
                   5689: 
                   5690: 
                   5691: # Check to see if options -o and -c are simultaneously supported by compiler
                   5692: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   5693: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   5694: if test "${lt_cv_compiler_c_o+set}" = set; then
                   5695:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5696: else
                   5697: 
                   5698: $rm -r conftest 2>/dev/null
                   5699: mkdir conftest
                   5700: cd conftest
                   5701: echo "int some_variable = 0;" > conftest.$ac_ext
                   5702: mkdir out
                   5703: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
                   5704: # that will create temporary files in the current directory regardless of
                   5705: # the output directory.  Thus, making CWD read-only will cause this test
                   5706: # to fail, enabling locking or at least warning the user not to do parallel
                   5707: # builds.
                   5708: chmod -w .
                   5709: save_CFLAGS="$CFLAGS"
                   5710: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
                   5711: compiler_c_o=no
1.23.2.1! paf      5712: if { (eval echo configure:5712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
1.15      paf      5713:   # The compiler can only warn and ignore the option if not recognized
                   5714:   # So say no if there are warnings
                   5715:   if test -s out/conftest.err; then
                   5716:     lt_cv_compiler_c_o=no
                   5717:   else
                   5718:     lt_cv_compiler_c_o=yes
                   5719:   fi
                   5720: else
                   5721:   # Append any errors to the config.log.
                   5722:   cat out/conftest.err 1>&5
                   5723:   lt_cv_compiler_c_o=no
                   5724: fi
                   5725: CFLAGS="$save_CFLAGS"
                   5726: chmod u+w .
                   5727: $rm conftest* out/*
                   5728: rmdir out
                   5729: cd ..
                   5730: rmdir conftest
                   5731: $rm -r conftest 2>/dev/null
                   5732: 
                   5733: fi
                   5734: 
                   5735: compiler_c_o=$lt_cv_compiler_c_o
                   5736: echo "$as_me:$LINENO: result: $compiler_c_o" >&5
                   5737: echo "${ECHO_T}$compiler_c_o" >&6
                   5738: 
                   5739: if test x"$compiler_c_o" = x"yes"; then
                   5740:   # Check to see if we can write to a .lo
                   5741:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
                   5742: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
                   5743:   if test "${lt_cv_compiler_o_lo+set}" = set; then
                   5744:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5745: else
                   5746: 
                   5747:   lt_cv_compiler_o_lo=no
                   5748:   save_CFLAGS="$CFLAGS"
                   5749:   CFLAGS="$CFLAGS -c -o conftest.lo"
                   5750:   save_objext="$ac_objext"
                   5751:   ac_objext=lo
                   5752:   cat >conftest.$ac_ext <<_ACEOF
                   5753: #line $LINENO "configure"
                   5754: /* confdefs.h.  */
                   5755: _ACEOF
                   5756: cat confdefs.h >>conftest.$ac_ext
                   5757: cat >>conftest.$ac_ext <<_ACEOF
                   5758: /* end confdefs.h.  */
                   5759: 
                   5760: int
                   5761: main ()
                   5762: {
                   5763: int some_variable = 0;
                   5764:   ;
                   5765:   return 0;
                   5766: }
                   5767: _ACEOF
                   5768: rm -f conftest.$ac_objext
                   5769: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5770:   (eval $ac_compile) 2>&5
                   5771:   ac_status=$?
                   5772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5773:   (exit $ac_status); } &&
                   5774:          { ac_try='test -s conftest.$ac_objext'
                   5775:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5776:   (eval $ac_try) 2>&5
                   5777:   ac_status=$?
                   5778:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5779:   (exit $ac_status); }; }; then
                   5780:       # The compiler can only warn and ignore the option if not recognized
                   5781:     # So say no if there are warnings
                   5782:     if test -s conftest.err; then
                   5783:       lt_cv_compiler_o_lo=no
                   5784:     else
                   5785:       lt_cv_compiler_o_lo=yes
                   5786:     fi
                   5787: 
                   5788: else
                   5789:   echo "$as_me: failed program was:" >&5
                   5790: sed 's/^/| /' conftest.$ac_ext >&5
                   5791: 
                   5792: fi
                   5793: rm -f conftest.$ac_objext conftest.$ac_ext
                   5794:   ac_objext="$save_objext"
                   5795:   CFLAGS="$save_CFLAGS"
                   5796: 
                   5797: fi
                   5798: 
                   5799:   compiler_o_lo=$lt_cv_compiler_o_lo
                   5800:   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
                   5801: echo "${ECHO_T}$compiler_o_lo" >&6
                   5802: else
                   5803:   compiler_o_lo=no
                   5804: fi
                   5805: 
                   5806: # Check to see if we can do hard links to lock some files if needed
                   5807: hard_links="nottested"
                   5808: if test "$compiler_c_o" = no && test "$need_locks" != no; then
                   5809:   # do not overwrite the value of need_locks provided by the user
                   5810:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   5811: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   5812:   hard_links=yes
                   5813:   $rm conftest*
                   5814:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5815:   touch conftest.a
                   5816:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   5817:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   5818:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   5819: echo "${ECHO_T}$hard_links" >&6
                   5820:   if test "$hard_links" = no; then
                   5821:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   5822: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   5823:     need_locks=warn
                   5824:   fi
                   5825: else
                   5826:   need_locks=no
                   5827: fi
                   5828: 
                   5829: if test "$GCC" = yes; then
                   5830:   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
                   5831:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   5832: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   5833:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5834:   save_CFLAGS="$CFLAGS"
                   5835:   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
                   5836:   compiler_rtti_exceptions=no
                   5837:   cat >conftest.$ac_ext <<_ACEOF
                   5838: #line $LINENO "configure"
                   5839: /* confdefs.h.  */
                   5840: _ACEOF
                   5841: cat confdefs.h >>conftest.$ac_ext
                   5842: cat >>conftest.$ac_ext <<_ACEOF
                   5843: /* end confdefs.h.  */
                   5844: 
                   5845: int
                   5846: main ()
                   5847: {
                   5848: int some_variable = 0;
                   5849:   ;
                   5850:   return 0;
                   5851: }
                   5852: _ACEOF
                   5853: rm -f conftest.$ac_objext
                   5854: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5855:   (eval $ac_compile) 2>&5
                   5856:   ac_status=$?
                   5857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5858:   (exit $ac_status); } &&
                   5859:          { ac_try='test -s conftest.$ac_objext'
                   5860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5861:   (eval $ac_try) 2>&5
                   5862:   ac_status=$?
                   5863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5864:   (exit $ac_status); }; }; then
                   5865:       # The compiler can only warn and ignore the option if not recognized
                   5866:     # So say no if there are warnings
                   5867:     if test -s conftest.err; then
                   5868:       compiler_rtti_exceptions=no
                   5869:     else
                   5870:       compiler_rtti_exceptions=yes
                   5871:     fi
                   5872: 
                   5873: else
                   5874:   echo "$as_me: failed program was:" >&5
                   5875: sed 's/^/| /' conftest.$ac_ext >&5
                   5876: 
                   5877: fi
                   5878: rm -f conftest.$ac_objext conftest.$ac_ext
                   5879:   CFLAGS="$save_CFLAGS"
                   5880:   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
                   5881: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
                   5882: 
                   5883:   if test "$compiler_rtti_exceptions" = "yes"; then
                   5884:     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
                   5885:   else
                   5886:     no_builtin_flag=' -fno-builtin'
                   5887:   fi
                   5888: fi
                   5889: 
                   5890: # See if the linker supports building shared libraries.
                   5891: echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
                   5892: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
                   5893: 
                   5894: allow_undefined_flag=
                   5895: no_undefined_flag=
                   5896: need_lib_prefix=unknown
                   5897: need_version=unknown
                   5898: # when you set need_version to no, make sure it does not cause -set_version
                   5899: # flags to be left without arguments
                   5900: archive_cmds=
                   5901: archive_expsym_cmds=
                   5902: old_archive_from_new_cmds=
                   5903: old_archive_from_expsyms_cmds=
                   5904: export_dynamic_flag_spec=
                   5905: whole_archive_flag_spec=
                   5906: thread_safe_flag_spec=
                   5907: hardcode_into_libs=no
                   5908: hardcode_libdir_flag_spec=
                   5909: hardcode_libdir_separator=
                   5910: hardcode_direct=no
                   5911: hardcode_minus_L=no
                   5912: hardcode_shlibpath_var=unsupported
                   5913: runpath_var=
                   5914: link_all_deplibs=unknown
                   5915: always_export_symbols=no
                   5916: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   5917: # include_expsyms should be a list of space-separated symbols to be *always*
                   5918: # included in the symbol list
                   5919: include_expsyms=
                   5920: # exclude_expsyms can be an egrep regular expression of symbols to exclude
                   5921: # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   5922: # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   5923: # as well as any symbol that contains `d'.
                   5924: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
                   5925: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   5926: # platforms (ab)use it in PIC code, but their linkers get confused if
                   5927: # the symbol is explicitly referenced.  Since portable code cannot
                   5928: # rely on this symbol name, it's probably fine to never include it in
                   5929: # preloaded symbol tables.
                   5930: extract_expsyms_cmds=
                   5931: 
                   5932: case $host_os in
                   5933: cygwin* | mingw* | pw32*)
                   5934:   # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   5935:   # When not using gcc, we currently assume that we are using
                   5936:   # Microsoft Visual C++.
                   5937:   if test "$GCC" != yes; then
                   5938:     with_gnu_ld=no
                   5939:   fi
                   5940:   ;;
                   5941: openbsd*)
                   5942:   with_gnu_ld=no
                   5943:   ;;
                   5944: esac
                   5945: 
                   5946: ld_shlibs=yes
                   5947: if test "$with_gnu_ld" = yes; then
                   5948:   # If archive_cmds runs LD, not CC, wlarc should be empty
                   5949:   wlarc='${wl}'
                   5950: 
                   5951:   # See if GNU ld supports shared libraries.
                   5952:   case $host_os in
                   5953:   aix3* | aix4* | aix5*)
                   5954:     # On AIX, the GNU linker is very broken
                   5955:     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
                   5956:     ld_shlibs=no
                   5957:     cat <<EOF 1>&2
                   5958: 
                   5959: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
                   5960: *** to be unable to reliably create shared libraries on AIX.
                   5961: *** Therefore, libtool is disabling shared libraries support.  If you
                   5962: *** really care for shared libraries, you may want to modify your PATH
                   5963: *** so that a non-GNU linker is found, and then restart.
                   5964: 
                   5965: EOF
                   5966:     ;;
                   5967: 
                   5968:   amigaos*)
                   5969:     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)'
                   5970:     hardcode_libdir_flag_spec='-L$libdir'
                   5971:     hardcode_minus_L=yes
                   5972: 
                   5973:     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
                   5974:     # that the semantics of dynamic libraries on AmigaOS, at least up
                   5975:     # to version 4, is to share data among multiple programs linked
                   5976:     # with the same dynamic library.  Since this doesn't match the
                   5977:     # behavior of shared libraries on other platforms, we can use
                   5978:     # them.
                   5979:     ld_shlibs=no
                   5980:     ;;
                   5981: 
                   5982:   beos*)
                   5983:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   5984:       allow_undefined_flag=unsupported
                   5985:       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   5986:       # support --undefined.  This deserves some investigation.  FIXME
                   5987:       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   5988:     else
                   5989:       ld_shlibs=no
                   5990:     fi
                   5991:     ;;
                   5992: 
                   5993:   cygwin* | mingw* | pw32*)
                   5994:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   5995:     # no search path for DLLs.
                   5996:     hardcode_libdir_flag_spec='-L$libdir'
                   5997:     allow_undefined_flag=unsupported
                   5998:     always_export_symbols=yes
                   5999: 
                   6000:     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
                   6001:       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
                   6002:       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
                   6003:       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
                   6004:       else $CC -o impgen impgen.c ; fi)~
                   6005:       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
                   6006: 
                   6007:     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
                   6008: 
                   6009:     # cygwin and mingw dlls have different entry points and sets of symbols
                   6010:     # to exclude.
                   6011:     # FIXME: what about values for MSVC?
                   6012:     dll_entry=__cygwin_dll_entry@12
                   6013:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
                   6014:     case $host_os in
                   6015:     mingw*)
                   6016:       # mingw values
                   6017:       dll_entry=_DllMainCRTStartup@12
                   6018:       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
                   6019:       ;;
                   6020:     esac
                   6021: 
                   6022:     # mingw and cygwin differ, and it's simplest to just exclude the union
                   6023:     # of the two symbol sets.
                   6024:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
                   6025: 
                   6026:     # recent cygwin and mingw systems supply a stub DllMain which the user
                   6027:     # can override, but on older systems we have to supply one (in ltdll.c)
                   6028:     if test "x$lt_cv_need_dllmain" = "xyes"; then
                   6029:       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
                   6030:       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~
                   6031:        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
                   6032:     else
                   6033:       ltdll_obj=
                   6034:       ltdll_cmds=
                   6035:     fi
                   6036: 
                   6037:     # Extract the symbol export list from an `--export-all' def file,
                   6038:     # then regenerate the def file from the symbol export list, so that
                   6039:     # the compiled dll only exports the symbol export list.
                   6040:     # Be careful not to strip the DATA tag left be newer dlltools.
                   6041:     export_symbols_cmds="$ltdll_cmds"'
                   6042:       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
                   6043:       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
                   6044: 
                   6045:     # If the export-symbols file already is a .def file (1st line
                   6046:     # is EXPORTS), use it as is.
                   6047:     # If DATA tags from a recent dlltool are present, honour them!
                   6048:     archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
                   6049:        cp $export_symbols $output_objdir/$soname-def;
                   6050:       else
                   6051:        echo EXPORTS > $output_objdir/$soname-def;
                   6052:        _lt_hint=1;
                   6053:        cat $export_symbols | while read symbol; do
                   6054:         set dummy \$symbol;
                   6055:         case \$# in
                   6056:           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                   6057:           4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
                   6058:           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
                   6059:         esac;
                   6060:         _lt_hint=`expr 1 + \$_lt_hint`;
                   6061:        done;
                   6062:       fi~
                   6063:       '"$ltdll_cmds"'
                   6064:       $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~
                   6065:       $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~
                   6066:       $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~
                   6067:       $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~
                   6068:       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
                   6069:     ;;
                   6070: 
                   6071:   netbsd*)
                   6072:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6073:       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   6074:       wlarc=
                   6075:     else
                   6076:       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6077:       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6078:     fi
                   6079:     ;;
                   6080: 
                   6081:   solaris* | sysv5*)
                   6082:     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
                   6083:       ld_shlibs=no
                   6084:       cat <<EOF 1>&2
                   6085: 
                   6086: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   6087: *** create shared libraries on Solaris systems.  Therefore, libtool
                   6088: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   6089: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   6090: *** your PATH or compiler configuration so that the native linker is
                   6091: *** used, and then restart.
                   6092: 
                   6093: EOF
                   6094:     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6095:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6096:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6097:     else
                   6098:       ld_shlibs=no
                   6099:     fi
                   6100:     ;;
                   6101: 
                   6102:   sunos4*)
                   6103:     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6104:     wlarc=
                   6105:     hardcode_direct=yes
                   6106:     hardcode_shlibpath_var=no
                   6107:     ;;
                   6108: 
                   6109:   *)
                   6110:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6111:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6112:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6113:     else
                   6114:       ld_shlibs=no
                   6115:     fi
                   6116:     ;;
                   6117:   esac
                   6118: 
                   6119:   if test "$ld_shlibs" = yes; then
                   6120:     runpath_var=LD_RUN_PATH
                   6121:     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
                   6122:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   6123:     case $host_os in
                   6124:     cygwin* | mingw* | pw32*)
                   6125:       # dlltool doesn't understand --whole-archive et. al.
                   6126:       whole_archive_flag_spec=
                   6127:       ;;
                   6128:     *)
                   6129:       # ancient GNU ld didn't support --whole-archive et. al.
                   6130:       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
                   6131:        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   6132:       else
                   6133:        whole_archive_flag_spec=
                   6134:       fi
                   6135:       ;;
                   6136:     esac
                   6137:   fi
                   6138: else
                   6139:   # PORTME fill in a description of your system's linker (not GNU ld)
                   6140:   case $host_os in
                   6141:   aix3*)
                   6142:     allow_undefined_flag=unsupported
                   6143:     always_export_symbols=yes
                   6144:     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'
                   6145:     # Note: this linker hardcodes the directories in LIBPATH if there
                   6146:     # are no directories specified by -L.
                   6147:     hardcode_minus_L=yes
                   6148:     if test "$GCC" = yes && test -z "$link_static_flag"; then
                   6149:       # Neither direct hardcoding nor static linking is supported with a
                   6150:       # broken collect2.
                   6151:       hardcode_direct=unsupported
                   6152:     fi
                   6153:     ;;
                   6154: 
                   6155:   aix4* | aix5*)
                   6156:     if test "$host_cpu" = ia64; then
                   6157:       # On IA64, the linker does run time linking by default, so we don't
                   6158:       # have to do anything special.
                   6159:       aix_use_runtimelinking=no
                   6160:       exp_sym_flag='-Bexport'
                   6161:       no_entry_flag=""
                   6162:     else
                   6163:       aix_use_runtimelinking=no
                   6164: 
                   6165:       # Test if we are trying to use run time linking or normal
                   6166:       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   6167:       # need to do runtime linking.
                   6168:       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
                   6169:        for ld_flag in $LDFLAGS; do
                   6170:          case $ld_flag in
                   6171:          *-brtl*)
                   6172:            aix_use_runtimelinking=yes
                   6173:            break
                   6174:          ;;
                   6175:          esac
                   6176:        done
                   6177:       esac
                   6178: 
                   6179:       exp_sym_flag='-bexport'
                   6180:       no_entry_flag='-bnoentry'
                   6181:     fi
                   6182: 
                   6183:     # When large executables or shared objects are built, AIX ld can
                   6184:     # have problems creating the table of contents.  If linking a library
                   6185:     # or program results in "error TOC overflow" add -mminimal-toc to
                   6186:     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   6187:     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   6188: 
                   6189:     hardcode_direct=yes
                   6190:     archive_cmds=''
                   6191:     hardcode_libdir_separator=':'
                   6192:     if test "$GCC" = yes; then
                   6193:       case $host_os in aix4.[012]|aix4.[012].*)
                   6194:        collect2name=`${CC} -print-prog-name=collect2`
                   6195:        if test -f "$collect2name" && \
                   6196:          strings "$collect2name" | grep resolve_lib_name >/dev/null
                   6197:        then
                   6198:          # We have reworked collect2
                   6199:          hardcode_direct=yes
                   6200:        else
                   6201:          # We have old collect2
                   6202:          hardcode_direct=unsupported
                   6203:          # It fails to find uninstalled libraries when the uninstalled
                   6204:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   6205:          # to unsupported forces relinking
                   6206:          hardcode_minus_L=yes
                   6207:          hardcode_libdir_flag_spec='-L$libdir'
                   6208:          hardcode_libdir_separator=
                   6209:        fi
                   6210:       esac
                   6211: 
                   6212:       shared_flag='-shared'
                   6213:     else
                   6214:       # not using gcc
                   6215:       if test "$host_cpu" = ia64; then
                   6216:        shared_flag='${wl}-G'
                   6217:       else
                   6218:        if test "$aix_use_runtimelinking" = yes; then
                   6219:          shared_flag='${wl}-G'
                   6220:        else
                   6221:          shared_flag='${wl}-bM:SRE'
                   6222:        fi
                   6223:       fi
                   6224:     fi
                   6225: 
                   6226:     # It seems that -bexpall can do strange things, so it is better to
                   6227:     # generate a list of symbols to export.
                   6228:     always_export_symbols=yes
                   6229:     if test "$aix_use_runtimelinking" = yes; then
                   6230:       # Warning - without using the other runtime loading flags (-brtl),
                   6231:       # -berok will link without error, but may produce a broken library.
                   6232:       allow_undefined_flag='-berok'
                   6233:       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
                   6234:       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"
                   6235:     else
                   6236:       if test "$host_cpu" = ia64; then
                   6237:        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   6238:        allow_undefined_flag="-z nodefs"
                   6239:        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"
                   6240:       else
                   6241:        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
                   6242:        # Warning - without using the other run time loading flags,
                   6243:        # -berok will link without error, but may produce a broken library.
                   6244:        allow_undefined_flag='${wl}-berok'
                   6245:        # This is a bit strange, but is similar to how AIX traditionally builds
                   6246:        # it's shared libraries.
                   6247:        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'
                   6248:       fi
                   6249:     fi
                   6250:     ;;
                   6251: 
                   6252:   amigaos*)
                   6253:     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)'
                   6254:     hardcode_libdir_flag_spec='-L$libdir'
                   6255:     hardcode_minus_L=yes
                   6256:     # see comment about different semantics on the GNU ld section
                   6257:     ld_shlibs=no
                   6258:     ;;
                   6259: 
                   6260:   cygwin* | mingw* | pw32*)
                   6261:     # When not using gcc, we currently assume that we are using
                   6262:     # Microsoft Visual C++.
                   6263:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   6264:     # no search path for DLLs.
                   6265:     hardcode_libdir_flag_spec=' '
                   6266:     allow_undefined_flag=unsupported
                   6267:     # Tell ltmain to make .lib files, not .a files.
                   6268:     libext=lib
                   6269:     # FIXME: Setting linknames here is a bad hack.
                   6270:     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
                   6271:     # The linker will automatically build a .lib file if we build a DLL.
                   6272:     old_archive_from_new_cmds='true'
                   6273:     # FIXME: Should let the user specify the lib program.
                   6274:     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
                   6275:     fix_srcfile_path='`cygpath -w "$srcfile"`'
                   6276:     ;;
                   6277: 
                   6278:   darwin* | rhapsody*)
                   6279:     case "$host_os" in
                   6280:     rhapsody* | darwin1.[012])
                   6281:       allow_undefined_flag='-undefined suppress'
                   6282:       ;;
                   6283:     *) # Darwin 1.3 on
                   6284:       allow_undefined_flag='-flat_namespace -undefined suppress'
                   6285:       ;;
                   6286:     esac
                   6287:     # FIXME: Relying on posixy $() will cause problems for
                   6288:     #        cross-compilation, but unfortunately the echo tests do not
                   6289:     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
                   6290:     #       `"' quotes if we put them in here... so don't!
                   6291:     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)'
                   6292:     # We need to add '_' to the symbols in $export_symbols first
                   6293:     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
                   6294:     hardcode_direct=yes
                   6295:     hardcode_shlibpath_var=no
                   6296:     whole_archive_flag_spec='-all_load $convenience'
                   6297:     ;;
                   6298: 
                   6299:   freebsd1*)
                   6300:     ld_shlibs=no
                   6301:     ;;
                   6302: 
                   6303:   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   6304:   # support.  Future versions do this automatically, but an explicit c++rt0.o
                   6305:   # does not break anything, and helps significantly (at the cost of a little
                   6306:   # extra space).
                   6307:   freebsd2.2*)
                   6308:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   6309:     hardcode_libdir_flag_spec='-R$libdir'
                   6310:     hardcode_direct=yes
                   6311:     hardcode_shlibpath_var=no
                   6312:     ;;
                   6313: 
                   6314:   # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   6315:   freebsd2*)
                   6316:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6317:     hardcode_direct=yes
                   6318:     hardcode_minus_L=yes
                   6319:     hardcode_shlibpath_var=no
                   6320:     ;;
                   6321: 
                   6322:   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   6323:   freebsd*)
                   6324:     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
                   6325:     hardcode_libdir_flag_spec='-R$libdir'
                   6326:     hardcode_direct=yes
                   6327:     hardcode_shlibpath_var=no
                   6328:     ;;
                   6329: 
                   6330:   hpux9* | hpux10* | hpux11*)
                   6331:     case $host_os in
                   6332:     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' ;;
                   6333:     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
                   6334:     esac
                   6335:     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   6336:     hardcode_libdir_separator=:
                   6337:     hardcode_direct=yes
                   6338:     hardcode_minus_L=yes # Not in the search PATH, but as the default
                   6339:                         # location of the library.
                   6340:     export_dynamic_flag_spec='${wl}-E'
                   6341:     ;;
                   6342: 
                   6343:   irix5* | irix6* | nonstopux*)
                   6344:     if test "$GCC" = yes; then
                   6345:       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'
                   6346:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6347:     else
                   6348:       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'
                   6349:       hardcode_libdir_flag_spec='-rpath $libdir'
                   6350:     fi
                   6351:     hardcode_libdir_separator=:
                   6352:     link_all_deplibs=yes
                   6353:     ;;
                   6354: 
                   6355:   netbsd*)
                   6356:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6357:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   6358:     else
                   6359:       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   6360:     fi
                   6361:     hardcode_libdir_flag_spec='-R$libdir'
                   6362:     hardcode_direct=yes
                   6363:     hardcode_shlibpath_var=no
                   6364:     ;;
                   6365: 
                   6366:   newsos6)
                   6367:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6368:     hardcode_direct=yes
                   6369:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6370:     hardcode_libdir_separator=:
                   6371:     hardcode_shlibpath_var=no
                   6372:     ;;
                   6373: 
                   6374:   openbsd*)
                   6375:     hardcode_direct=yes
                   6376:     hardcode_shlibpath_var=no
                   6377:     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6378:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   6379:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   6380:       export_dynamic_flag_spec='${wl}-E'
                   6381:     else
                   6382:       case "$host_os" in
                   6383:       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   6384:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6385:        hardcode_libdir_flag_spec='-R$libdir'
                   6386:         ;;
                   6387:       *)
                   6388:         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   6389:         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   6390:         ;;
                   6391:       esac
                   6392:     fi
                   6393:     ;;
                   6394: 
                   6395:   os2*)
                   6396:     hardcode_libdir_flag_spec='-L$libdir'
                   6397:     hardcode_minus_L=yes
                   6398:     allow_undefined_flag=unsupported
                   6399:     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'
                   6400:     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   6401:     ;;
                   6402: 
                   6403:   osf3*)
                   6404:     if test "$GCC" = yes; then
                   6405:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   6406:       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'
                   6407:     else
                   6408:       allow_undefined_flag=' -expect_unresolved \*'
                   6409:       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'
                   6410:     fi
                   6411:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6412:     hardcode_libdir_separator=:
                   6413:     ;;
                   6414: 
                   6415:   osf4* | osf5*)       # as osf3* with the addition of -msym flag
                   6416:     if test "$GCC" = yes; then
                   6417:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   6418:       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'
                   6419:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6420:     else
                   6421:       allow_undefined_flag=' -expect_unresolved \*'
                   6422:       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'
                   6423:       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
                   6424:       $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'
                   6425: 
                   6426:       #Both c and cxx compiler support -rpath directly
                   6427:       hardcode_libdir_flag_spec='-rpath $libdir'
                   6428:     fi
                   6429:     hardcode_libdir_separator=:
                   6430:     ;;
                   6431: 
                   6432:   sco3.2v5*)
                   6433:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6434:     hardcode_shlibpath_var=no
                   6435:     runpath_var=LD_RUN_PATH
                   6436:     hardcode_runpath_var=yes
                   6437:     export_dynamic_flag_spec='${wl}-Bexport'
                   6438:     ;;
                   6439: 
                   6440:   solaris*)
                   6441:     # gcc --version < 3.0 without binutils cannot create self contained
                   6442:     # shared libraries reliably, requiring libgcc.a to resolve some of
                   6443:     # the object symbols generated in some cases.  Libraries that use
                   6444:     # assert need libgcc.a to resolve __eprintf, for example.  Linking
                   6445:     # a copy of libgcc.a into every shared library to guarantee resolving
                   6446:     # such symbols causes other problems:  According to Tim Van Holder
                   6447:     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
                   6448:     # (to the application) exception stack for one thing.
                   6449:     no_undefined_flag=' -z defs'
                   6450:     if test "$GCC" = yes; then
                   6451:       case `$CC --version 2>/dev/null` in
                   6452:       [12].*)
                   6453:        cat <<EOF 1>&2
                   6454: 
                   6455: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
                   6456: *** create self contained shared libraries on Solaris systems, without
                   6457: *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
                   6458: *** -no-undefined support, which will at least allow you to build shared
                   6459: *** libraries.  However, you may find that when you link such libraries
                   6460: *** into an application without using GCC, you have to manually add
                   6461: *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
                   6462: *** upgrade to a newer version of GCC.  Another option is to rebuild your
                   6463: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
                   6464: 
                   6465: EOF
                   6466:         no_undefined_flag=
                   6467:        ;;
                   6468:       esac
                   6469:     fi
                   6470:     # $CC -shared without GNU ld will not create a library from C++
                   6471:     # object files and a static libstdc++, better avoid it by now
                   6472:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6473:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6474:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6475:     hardcode_libdir_flag_spec='-R$libdir'
                   6476:     hardcode_shlibpath_var=no
                   6477:     case $host_os in
                   6478:     solaris2.[0-5] | solaris2.[0-5].*) ;;
                   6479:     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
                   6480:       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
                   6481:     esac
                   6482:     link_all_deplibs=yes
                   6483:     ;;
                   6484: 
                   6485:   sunos4*)
                   6486:     if test "x$host_vendor" = xsequent; then
                   6487:       # Use $CC to link under sequent, because it throws in some extra .o
                   6488:       # files that make .init and .fini sections work.
                   6489:       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   6490:     else
                   6491:       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   6492:     fi
                   6493:     hardcode_libdir_flag_spec='-L$libdir'
                   6494:     hardcode_direct=yes
                   6495:     hardcode_minus_L=yes
                   6496:     hardcode_shlibpath_var=no
                   6497:     ;;
                   6498: 
                   6499:   sysv4)
                   6500:     case $host_vendor in
                   6501:       sni)
                   6502:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6503:         hardcode_direct=yes # is this really true???
                   6504:         ;;
                   6505:       siemens)
                   6506:         ## LD is ld it makes a PLAMLIB
                   6507:         ## CC just makes a GrossModule.
                   6508:         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6509:         reload_cmds='$CC -r -o $output$reload_objs'
                   6510:         hardcode_direct=no
                   6511:         ;;
                   6512:       motorola)
                   6513:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6514:         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   6515:         ;;
                   6516:     esac
                   6517:     runpath_var='LD_RUN_PATH'
                   6518:     hardcode_shlibpath_var=no
                   6519:     ;;
                   6520: 
                   6521:   sysv4.3*)
                   6522:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6523:     hardcode_shlibpath_var=no
                   6524:     export_dynamic_flag_spec='-Bexport'
                   6525:     ;;
                   6526: 
                   6527:   sysv5*)
                   6528:     no_undefined_flag=' -z text'
                   6529:     # $CC -shared without GNU ld will not create a library from C++
                   6530:     # object files and a static libstdc++, better avoid it by now
                   6531:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6532:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6533:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6534:     hardcode_libdir_flag_spec=
                   6535:     hardcode_shlibpath_var=no
                   6536:     runpath_var='LD_RUN_PATH'
                   6537:     ;;
                   6538: 
                   6539:   uts4*)
                   6540:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6541:     hardcode_libdir_flag_spec='-L$libdir'
                   6542:     hardcode_shlibpath_var=no
                   6543:     ;;
                   6544: 
                   6545:   dgux*)
                   6546:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6547:     hardcode_libdir_flag_spec='-L$libdir'
                   6548:     hardcode_shlibpath_var=no
                   6549:     ;;
                   6550: 
                   6551:   sysv4*MP*)
                   6552:     if test -d /usr/nec; then
                   6553:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6554:       hardcode_shlibpath_var=no
                   6555:       runpath_var=LD_RUN_PATH
                   6556:       hardcode_runpath_var=yes
                   6557:       ld_shlibs=yes
                   6558:     fi
                   6559:     ;;
                   6560: 
                   6561:   sysv4.2uw2*)
                   6562:     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6563:     hardcode_direct=yes
                   6564:     hardcode_minus_L=no
                   6565:     hardcode_shlibpath_var=no
                   6566:     hardcode_runpath_var=yes
                   6567:     runpath_var=LD_RUN_PATH
                   6568:     ;;
                   6569: 
                   6570:   sysv5uw7* | unixware7*)
                   6571:     no_undefined_flag='${wl}-z ${wl}text'
                   6572:     if test "$GCC" = yes; then
                   6573:       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6574:     else
                   6575:       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6576:     fi
                   6577:     runpath_var='LD_RUN_PATH'
                   6578:     hardcode_shlibpath_var=no
                   6579:     ;;
                   6580: 
                   6581:   *)
                   6582:     ld_shlibs=no
                   6583:     ;;
                   6584:   esac
                   6585: fi
                   6586: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   6587: echo "${ECHO_T}$ld_shlibs" >&6
                   6588: test "$ld_shlibs" = no && can_build_shared=no
                   6589: 
                   6590: # Check hardcoding attributes.
                   6591: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   6592: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   6593: hardcode_action=
                   6594: if test -n "$hardcode_libdir_flag_spec" || \
                   6595:    test -n "$runpath_var"; then
                   6596: 
                   6597:   # We can hardcode non-existant directories.
                   6598:   if test "$hardcode_direct" != no &&
                   6599:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   6600:      # have to relink, otherwise we might link with an installed library
                   6601:      # when we should be linking with a yet-to-be-installed one
                   6602:      ## test "$hardcode_shlibpath_var" != no &&
                   6603:      test "$hardcode_minus_L" != no; then
                   6604:     # Linking always hardcodes the temporary library directory.
                   6605:     hardcode_action=relink
                   6606:   else
                   6607:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   6608:     hardcode_action=immediate
                   6609:   fi
                   6610: else
                   6611:   # We cannot hardcode anything, or else we can only hardcode existing
                   6612:   # directories.
                   6613:   hardcode_action=unsupported
                   6614: fi
                   6615: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   6616: echo "${ECHO_T}$hardcode_action" >&6
                   6617: 
                   6618: striplib=
                   6619: old_striplib=
                   6620: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   6621: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   6622: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
                   6623:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   6624:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   6625:   echo "$as_me:$LINENO: result: yes" >&5
                   6626: echo "${ECHO_T}yes" >&6
                   6627: else
                   6628:   echo "$as_me:$LINENO: result: no" >&5
                   6629: echo "${ECHO_T}no" >&6
                   6630: fi
                   6631: 
                   6632: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6633: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6634: 
                   6635: # PORTME Fill in your ld.so characteristics
                   6636: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   6637: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   6638: library_names_spec=
                   6639: libname_spec='lib$name'
                   6640: soname_spec=
                   6641: postinstall_cmds=
                   6642: postuninstall_cmds=
                   6643: finish_cmds=
                   6644: finish_eval=
                   6645: shlibpath_var=
                   6646: shlibpath_overrides_runpath=unknown
                   6647: version_type=none
                   6648: dynamic_linker="$host_os ld.so"
                   6649: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   6650: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   6651: 
                   6652: case $host_os in
                   6653: aix3*)
                   6654:   version_type=linux
                   6655:   library_names_spec='${libname}${release}.so$versuffix $libname.a'
                   6656:   shlibpath_var=LIBPATH
                   6657: 
                   6658:   # AIX has no versioning support, so we append a major version to the name.
                   6659:   soname_spec='${libname}${release}.so$major'
                   6660:   ;;
                   6661: 
                   6662: aix4* | aix5*)
                   6663:   version_type=linux
                   6664:   need_lib_prefix=no
                   6665:   need_version=no
                   6666:   hardcode_into_libs=yes
                   6667:   if test "$host_cpu" = ia64; then
                   6668:     # AIX 5 supports IA64
                   6669:     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
                   6670:     shlibpath_var=LD_LIBRARY_PATH
                   6671:   else
                   6672:     # With GCC up to 2.95.x, collect2 would create an import file
                   6673:     # for dependence libraries.  The import file would start with
                   6674:     # the line `#! .'.  This would cause the generated library to
                   6675:     # depend on `.', always an invalid library.  This was fixed in
                   6676:     # development snapshots of GCC prior to 3.0.
                   6677:     case $host_os in
                   6678:       aix4 | aix4.[01] | aix4.[01].*)
                   6679:        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   6680:             echo ' yes '
                   6681:             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
                   6682:          :
                   6683:        else
                   6684:          can_build_shared=no
                   6685:        fi
                   6686:        ;;
                   6687:     esac
                   6688:     # AIX (on Power*) has no versioning support, so currently we can
                   6689:     # not hardcode correct soname into executable. Probably we can
                   6690:     # add versioning support to collect2, so additional links can
                   6691:     # be useful in future.
                   6692:     if test "$aix_use_runtimelinking" = yes; then
                   6693:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   6694:       # instead of lib<name>.a to let people know that these are not
                   6695:       # typical AIX shared libraries.
                   6696:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6697:     else
                   6698:       # We preserve .a as extension for shared libraries through AIX4.2
                   6699:       # and later when we are not doing run time linking.
                   6700:       library_names_spec='${libname}${release}.a $libname.a'
                   6701:       soname_spec='${libname}${release}.so$major'
                   6702:     fi
                   6703:     shlibpath_var=LIBPATH
                   6704:   fi
                   6705:   hardcode_into_libs=yes
                   6706:   ;;
                   6707: 
                   6708: amigaos*)
                   6709:   library_names_spec='$libname.ixlibrary $libname.a'
                   6710:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   6711:   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'
                   6712:   ;;
                   6713: 
                   6714: beos*)
                   6715:   library_names_spec='${libname}.so'
                   6716:   dynamic_linker="$host_os ld.so"
                   6717:   shlibpath_var=LIBRARY_PATH
                   6718:   ;;
                   6719: 
                   6720: bsdi4*)
                   6721:   version_type=linux
                   6722:   need_version=no
                   6723:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6724:   soname_spec='${libname}${release}.so$major'
                   6725:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   6726:   shlibpath_var=LD_LIBRARY_PATH
                   6727:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   6728:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   6729:   export_dynamic_flag_spec=-rdynamic
                   6730:   # the default ld.so.conf also contains /usr/contrib/lib and
                   6731:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   6732:   # libtool to hard-code these into programs
                   6733:   ;;
                   6734: 
                   6735: cygwin* | mingw* | pw32*)
                   6736:   version_type=windows
                   6737:   need_version=no
                   6738:   need_lib_prefix=no
                   6739:   case $GCC,$host_os in
                   6740:   yes,cygwin*)
                   6741:     library_names_spec='$libname.dll.a'
                   6742:     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6743:     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
                   6744:       dldir=$destdir/`dirname \$dlpath`~
                   6745:       test -d \$dldir || mkdir -p \$dldir~
                   6746:       $install_prog .libs/$dlname \$dldir/$dlname'
                   6747:     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   6748:       dlpath=$dir/\$dldll~
                   6749:        $rm \$dlpath'
                   6750:     ;;
                   6751:   yes,mingw*)
                   6752:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   6753:     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
                   6754:     ;;
                   6755:   yes,pw32*)
                   6756:     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
                   6757:     ;;
                   6758:   *)
                   6759:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
                   6760:     ;;
                   6761:   esac
                   6762:   dynamic_linker='Win32 ld.exe'
                   6763:   # FIXME: first we should search . and the directory the executable is in
                   6764:   shlibpath_var=PATH
                   6765:   ;;
                   6766: 
                   6767: darwin* | rhapsody*)
                   6768:   dynamic_linker="$host_os dyld"
                   6769:   version_type=darwin
                   6770:   need_lib_prefix=no
                   6771:   need_version=no
                   6772:   # FIXME: Relying on posixy $() will cause problems for
                   6773:   #        cross-compilation, but unfortunately the echo tests do not
                   6774:   #        yet detect zsh echo's removal of \ escapes.
                   6775:   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)'
                   6776:   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
                   6777:   shlibpath_overrides_runpath=yes
                   6778:   shlibpath_var=DYLD_LIBRARY_PATH
                   6779:   ;;
                   6780: 
                   6781: freebsd1*)
                   6782:   dynamic_linker=no
                   6783:   ;;
                   6784: 
                   6785: freebsd*)
                   6786:   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
                   6787:   version_type=freebsd-$objformat
                   6788:   case $version_type in
                   6789:     freebsd-elf*)
                   6790:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
                   6791:       need_version=no
                   6792:       need_lib_prefix=no
                   6793:       ;;
                   6794:     freebsd-*)
                   6795:       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
                   6796:       need_version=yes
                   6797:       ;;
                   6798:   esac
                   6799:   shlibpath_var=LD_LIBRARY_PATH
                   6800:   case $host_os in
                   6801:   freebsd2*)
                   6802:     shlibpath_overrides_runpath=yes
                   6803:     ;;
                   6804:   *)
                   6805:     shlibpath_overrides_runpath=no
                   6806:     hardcode_into_libs=yes
                   6807:     ;;
                   6808:   esac
                   6809:   ;;
                   6810: 
                   6811: gnu*)
                   6812:   version_type=linux
                   6813:   need_lib_prefix=no
                   6814:   need_version=no
                   6815:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
                   6816:   soname_spec='${libname}${release}.so$major'
                   6817:   shlibpath_var=LD_LIBRARY_PATH
                   6818:   hardcode_into_libs=yes
                   6819:   ;;
                   6820: 
                   6821: hpux9* | hpux10* | hpux11*)
                   6822:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   6823:   # link against other versions.
                   6824:   dynamic_linker="$host_os dld.sl"
                   6825:   version_type=sunos
                   6826:   need_lib_prefix=no
                   6827:   need_version=no
                   6828:   shlibpath_var=SHLIB_PATH
                   6829:   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   6830:   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
                   6831:   soname_spec='${libname}${release}.sl$major'
                   6832:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
                   6833:   postinstall_cmds='chmod 555 $lib'
                   6834:   ;;
                   6835: 
                   6836: irix5* | irix6* | nonstopux*)
                   6837:   case $host_os in
                   6838:     nonstopux*) version_type=nonstopux ;;
                   6839:     *)          version_type=irix ;;
                   6840:   esac
                   6841:   need_lib_prefix=no
                   6842:   need_version=no
                   6843:   soname_spec='${libname}${release}.so$major'
                   6844:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
                   6845:   case $host_os in
                   6846:   irix5* | nonstopux*)
                   6847:     libsuff= shlibsuff=
                   6848:     ;;
                   6849:   *)
                   6850:     case $LD in # libtool.m4 will add one of these switches to LD
                   6851:     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
                   6852:     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
                   6853:     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   6854:     *) libsuff= shlibsuff= libmagic=never-match;;
                   6855:     esac
                   6856:     ;;
                   6857:   esac
                   6858:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   6859:   shlibpath_overrides_runpath=no
                   6860:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   6861:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   6862:   ;;
                   6863: 
                   6864: # No shared lib support for Linux oldld, aout, or coff.
                   6865: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
                   6866:   dynamic_linker=no
                   6867:   ;;
                   6868: 
                   6869: # This must be Linux ELF.
                   6870: linux-gnu*)
                   6871:   version_type=linux
                   6872:   need_lib_prefix=no
                   6873:   need_version=no
                   6874:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6875:   soname_spec='${libname}${release}.so$major'
                   6876:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   6877:   shlibpath_var=LD_LIBRARY_PATH
                   6878:   shlibpath_overrides_runpath=no
                   6879:   # This implies no fast_install, which is unacceptable.
                   6880:   # Some rework will be needed to allow for fast_install
                   6881:   # before this can be enabled.
                   6882:   hardcode_into_libs=yes
                   6883: 
                   6884:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   6885:   # powerpc, because MkLinux only supported shared libraries with the
                   6886:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   6887:   # most powerpc-linux boxes support dynamic linking these days and
                   6888:   # people can always --disable-shared, the test was removed, and we
                   6889:   # assume the GNU/Linux dynamic linker is in use.
                   6890:   dynamic_linker='GNU/Linux ld.so'
                   6891:   ;;
                   6892: 
                   6893: netbsd*)
                   6894:   version_type=sunos
                   6895:   need_lib_prefix=no
                   6896:   need_version=no
                   6897:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6898:     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6899:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6900:     dynamic_linker='NetBSD (a.out) ld.so'
                   6901:   else
                   6902:     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
                   6903:     soname_spec='${libname}${release}.so$major'
                   6904:     dynamic_linker='NetBSD ld.elf_so'
                   6905:   fi
                   6906:   shlibpath_var=LD_LIBRARY_PATH
                   6907:   shlibpath_overrides_runpath=yes
                   6908:   hardcode_into_libs=yes
                   6909:   ;;
                   6910: 
                   6911: newsos6)
                   6912:   version_type=linux
                   6913:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6914:   shlibpath_var=LD_LIBRARY_PATH
                   6915:   shlibpath_overrides_runpath=yes
                   6916:   ;;
                   6917: 
                   6918: openbsd*)
                   6919:   version_type=sunos
                   6920:   need_lib_prefix=no
                   6921:   need_version=no
                   6922:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6923:     case "$host_os" in
                   6924:     openbsd2.[89] | openbsd2.[89].*)
                   6925:       shlibpath_overrides_runpath=no
                   6926:       ;;
                   6927:     *)
                   6928:       shlibpath_overrides_runpath=yes
                   6929:       ;;
                   6930:     esac
                   6931:   else
                   6932:     shlibpath_overrides_runpath=yes
                   6933:   fi
                   6934:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6935:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   6936:   shlibpath_var=LD_LIBRARY_PATH
                   6937:   ;;
                   6938: 
                   6939: os2*)
                   6940:   libname_spec='$name'
                   6941:   need_lib_prefix=no
                   6942:   library_names_spec='$libname.dll $libname.a'
                   6943:   dynamic_linker='OS/2 ld.exe'
                   6944:   shlibpath_var=LIBPATH
                   6945:   ;;
                   6946: 
                   6947: osf3* | osf4* | osf5*)
                   6948:   version_type=osf
                   6949:   need_version=no
                   6950:   soname_spec='${libname}${release}.so$major'
                   6951:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6952:   shlibpath_var=LD_LIBRARY_PATH
                   6953:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   6954:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   6955:   hardcode_into_libs=yes
                   6956:   ;;
                   6957: 
                   6958: sco3.2v5*)
                   6959:   version_type=osf
                   6960:   soname_spec='${libname}${release}.so$major'
                   6961:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6962:   shlibpath_var=LD_LIBRARY_PATH
                   6963:   ;;
                   6964: 
                   6965: solaris*)
                   6966:   version_type=linux
                   6967:   need_lib_prefix=no
                   6968:   need_version=no
                   6969:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6970:   soname_spec='${libname}${release}.so$major'
                   6971:   shlibpath_var=LD_LIBRARY_PATH
                   6972:   shlibpath_overrides_runpath=yes
                   6973:   hardcode_into_libs=yes
                   6974:   # ldd complains unless libraries are executable
                   6975:   postinstall_cmds='chmod +x $lib'
                   6976:   ;;
                   6977: 
                   6978: sunos4*)
                   6979:   version_type=sunos
                   6980:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   6981:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   6982:   shlibpath_var=LD_LIBRARY_PATH
                   6983:   shlibpath_overrides_runpath=yes
                   6984:   if test "$with_gnu_ld" = yes; then
                   6985:     need_lib_prefix=no
                   6986:   fi
                   6987:   need_version=yes
                   6988:   ;;
                   6989: 
                   6990: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   6991:   version_type=linux
                   6992:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   6993:   soname_spec='${libname}${release}.so$major'
                   6994:   shlibpath_var=LD_LIBRARY_PATH
                   6995:   case $host_vendor in
                   6996:     sni)
                   6997:       shlibpath_overrides_runpath=no
                   6998:       need_lib_prefix=no
                   6999:       export_dynamic_flag_spec='${wl}-Blargedynsym'
                   7000:       runpath_var=LD_RUN_PATH
                   7001:       ;;
                   7002:     siemens)
                   7003:       need_lib_prefix=no
                   7004:       ;;
                   7005:     motorola)
                   7006:       need_lib_prefix=no
                   7007:       need_version=no
                   7008:       shlibpath_overrides_runpath=no
                   7009:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   7010:       ;;
                   7011:   esac
                   7012:   ;;
                   7013: 
                   7014: uts4*)
                   7015:   version_type=linux
                   7016:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7017:   soname_spec='${libname}${release}.so$major'
                   7018:   shlibpath_var=LD_LIBRARY_PATH
                   7019:   ;;
                   7020: 
                   7021: dgux*)
                   7022:   version_type=linux
                   7023:   need_lib_prefix=no
                   7024:   need_version=no
                   7025:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7026:   soname_spec='${libname}${release}.so$major'
                   7027:   shlibpath_var=LD_LIBRARY_PATH
                   7028:   ;;
                   7029: 
                   7030: sysv4*MP*)
                   7031:   if test -d /usr/nec ;then
                   7032:     version_type=linux
                   7033:     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
                   7034:     soname_spec='$libname.so.$major'
                   7035:     shlibpath_var=LD_LIBRARY_PATH
                   7036:   fi
                   7037:   ;;
                   7038: 
                   7039: *)
                   7040:   dynamic_linker=no
                   7041:   ;;
                   7042: esac
                   7043: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   7044: echo "${ECHO_T}$dynamic_linker" >&6
                   7045: test "$dynamic_linker" = no && can_build_shared=no
                   7046: 
                   7047: # Report the final consequences.
                   7048: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   7049: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   7050: echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   7051: echo "${ECHO_T}$can_build_shared" >&6
                   7052: 
                   7053: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   7054: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   7055: test "$can_build_shared" = "no" && enable_shared=no
                   7056: 
                   7057: # On AIX, shared libraries and static libraries use the same namespace, and
                   7058: # are all built from PIC.
                   7059: case "$host_os" in
                   7060: aix3*)
                   7061:   test "$enable_shared" = yes && enable_static=no
                   7062:   if test -n "$RANLIB"; then
                   7063:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   7064:     postinstall_cmds='$RANLIB $lib'
                   7065:   fi
                   7066:   ;;
                   7067: 
                   7068: aix4*)
                   7069:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   7070:     test "$enable_shared" = yes && enable_static=no
                   7071:   fi
                   7072:   ;;
                   7073: esac
                   7074: echo "$as_me:$LINENO: result: $enable_shared" >&5
                   7075: echo "${ECHO_T}$enable_shared" >&6
                   7076: 
                   7077: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   7078: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   7079: # Make sure either enable_shared or enable_static is yes.
                   7080: test "$enable_shared" = yes || enable_static=yes
                   7081: echo "$as_me:$LINENO: result: $enable_static" >&5
                   7082: echo "${ECHO_T}$enable_static" >&6
                   7083: 
                   7084: if test "$hardcode_action" = relink; then
                   7085:   # Fast installation is not supported
                   7086:   enable_fast_install=no
                   7087: elif test "$shlibpath_overrides_runpath" = yes ||
                   7088:      test "$enable_shared" = no; then
                   7089:   # Fast installation is not necessary
                   7090:   enable_fast_install=needless
                   7091: fi
                   7092: 
                   7093: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   7094: if test "$GCC" = yes; then
                   7095:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   7096: fi
                   7097: 
                   7098: if test "x$enable_dlopen" != xyes; then
                   7099:   enable_dlopen=unknown
                   7100:   enable_dlopen_self=unknown
                   7101:   enable_dlopen_self_static=unknown
                   7102: else
                   7103:   lt_cv_dlopen=no
                   7104:   lt_cv_dlopen_libs=
                   7105: 
                   7106:   case $host_os in
                   7107:   beos*)
                   7108:     lt_cv_dlopen="load_add_on"
                   7109:     lt_cv_dlopen_libs=
                   7110:     lt_cv_dlopen_self=yes
                   7111:     ;;
                   7112: 
                   7113:   cygwin* | mingw* | pw32*)
                   7114:     lt_cv_dlopen="LoadLibrary"
                   7115:     lt_cv_dlopen_libs=
                   7116:    ;;
                   7117: 
                   7118:   *)
                   7119:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   7120: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   7121: if test "${ac_cv_func_shl_load+set}" = set; then
                   7122:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7123: else
                   7124:   cat >conftest.$ac_ext <<_ACEOF
                   7125: #line $LINENO "configure"
                   7126: /* confdefs.h.  */
                   7127: _ACEOF
                   7128: cat confdefs.h >>conftest.$ac_ext
                   7129: cat >>conftest.$ac_ext <<_ACEOF
                   7130: /* end confdefs.h.  */
                   7131: /* System header to define __stub macros and hopefully few prototypes,
                   7132:     which can conflict with char shl_load (); below.
                   7133:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7134:     <limits.h> exists even on freestanding compilers.  */
                   7135: #ifdef __STDC__
                   7136: # include <limits.h>
                   7137: #else
                   7138: # include <assert.h>
                   7139: #endif
                   7140: /* Override any gcc2 internal prototype to avoid an error.  */
                   7141: #ifdef __cplusplus
                   7142: extern "C"
                   7143: {
                   7144: #endif
                   7145: /* We use char because int might match the return type of a gcc2
                   7146:    builtin and then its argument prototype would still apply.  */
                   7147: char shl_load ();
                   7148: /* The GNU C library defines this for functions which it implements
                   7149:     to always fail with ENOSYS.  Some functions are actually named
                   7150:     something starting with __ and the normal name is an alias.  */
                   7151: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   7152: choke me
                   7153: #else
                   7154: char (*f) () = shl_load;
                   7155: #endif
                   7156: #ifdef __cplusplus
                   7157: }
                   7158: #endif
                   7159: 
                   7160: int
                   7161: main ()
                   7162: {
                   7163: return f != shl_load;
                   7164:   ;
                   7165:   return 0;
                   7166: }
                   7167: _ACEOF
                   7168: rm -f conftest.$ac_objext conftest$ac_exeext
                   7169: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7170:   (eval $ac_link) 2>&5
                   7171:   ac_status=$?
                   7172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7173:   (exit $ac_status); } &&
                   7174:          { ac_try='test -s conftest$ac_exeext'
                   7175:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7176:   (eval $ac_try) 2>&5
                   7177:   ac_status=$?
                   7178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7179:   (exit $ac_status); }; }; then
                   7180:   ac_cv_func_shl_load=yes
                   7181: else
                   7182:   echo "$as_me: failed program was:" >&5
                   7183: sed 's/^/| /' conftest.$ac_ext >&5
                   7184: 
                   7185: ac_cv_func_shl_load=no
                   7186: fi
                   7187: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7188: fi
                   7189: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   7190: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   7191: if test $ac_cv_func_shl_load = yes; then
                   7192:   lt_cv_dlopen="shl_load"
                   7193: else
                   7194:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   7195: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   7196: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   7197:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7198: else
                   7199:   ac_check_lib_save_LIBS=$LIBS
                   7200: LIBS="-ldld  $LIBS"
                   7201: cat >conftest.$ac_ext <<_ACEOF
                   7202: #line $LINENO "configure"
                   7203: /* confdefs.h.  */
                   7204: _ACEOF
                   7205: cat confdefs.h >>conftest.$ac_ext
                   7206: cat >>conftest.$ac_ext <<_ACEOF
                   7207: /* end confdefs.h.  */
                   7208: 
                   7209: /* Override any gcc2 internal prototype to avoid an error.  */
                   7210: #ifdef __cplusplus
                   7211: extern "C"
                   7212: #endif
                   7213: /* We use char because int might match the return type of a gcc2
                   7214:    builtin and then its argument prototype would still apply.  */
                   7215: char shl_load ();
                   7216: int
                   7217: main ()
                   7218: {
                   7219: shl_load ();
                   7220:   ;
                   7221:   return 0;
                   7222: }
                   7223: _ACEOF
                   7224: rm -f conftest.$ac_objext conftest$ac_exeext
                   7225: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7226:   (eval $ac_link) 2>&5
                   7227:   ac_status=$?
                   7228:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7229:   (exit $ac_status); } &&
                   7230:          { ac_try='test -s conftest$ac_exeext'
                   7231:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7232:   (eval $ac_try) 2>&5
                   7233:   ac_status=$?
                   7234:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7235:   (exit $ac_status); }; }; then
                   7236:   ac_cv_lib_dld_shl_load=yes
                   7237: else
                   7238:   echo "$as_me: failed program was:" >&5
                   7239: sed 's/^/| /' conftest.$ac_ext >&5
                   7240: 
                   7241: ac_cv_lib_dld_shl_load=no
                   7242: fi
                   7243: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7244: LIBS=$ac_check_lib_save_LIBS
                   7245: fi
                   7246: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   7247: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   7248: if test $ac_cv_lib_dld_shl_load = yes; then
                   7249:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
                   7250: else
                   7251:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   7252: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   7253: if test "${ac_cv_func_dlopen+set}" = set; then
                   7254:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7255: else
                   7256:   cat >conftest.$ac_ext <<_ACEOF
                   7257: #line $LINENO "configure"
                   7258: /* confdefs.h.  */
                   7259: _ACEOF
                   7260: cat confdefs.h >>conftest.$ac_ext
                   7261: cat >>conftest.$ac_ext <<_ACEOF
                   7262: /* end confdefs.h.  */
                   7263: /* System header to define __stub macros and hopefully few prototypes,
                   7264:     which can conflict with char dlopen (); below.
                   7265:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7266:     <limits.h> exists even on freestanding compilers.  */
                   7267: #ifdef __STDC__
                   7268: # include <limits.h>
                   7269: #else
                   7270: # include <assert.h>
                   7271: #endif
                   7272: /* Override any gcc2 internal prototype to avoid an error.  */
                   7273: #ifdef __cplusplus
                   7274: extern "C"
                   7275: {
                   7276: #endif
                   7277: /* We use char because int might match the return type of a gcc2
                   7278:    builtin and then its argument prototype would still apply.  */
                   7279: char dlopen ();
                   7280: /* The GNU C library defines this for functions which it implements
                   7281:     to always fail with ENOSYS.  Some functions are actually named
                   7282:     something starting with __ and the normal name is an alias.  */
                   7283: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   7284: choke me
                   7285: #else
                   7286: char (*f) () = dlopen;
                   7287: #endif
                   7288: #ifdef __cplusplus
                   7289: }
                   7290: #endif
                   7291: 
                   7292: int
                   7293: main ()
                   7294: {
                   7295: return f != dlopen;
                   7296:   ;
                   7297:   return 0;
                   7298: }
                   7299: _ACEOF
                   7300: rm -f conftest.$ac_objext conftest$ac_exeext
                   7301: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7302:   (eval $ac_link) 2>&5
                   7303:   ac_status=$?
                   7304:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7305:   (exit $ac_status); } &&
                   7306:          { ac_try='test -s conftest$ac_exeext'
                   7307:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7308:   (eval $ac_try) 2>&5
                   7309:   ac_status=$?
                   7310:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7311:   (exit $ac_status); }; }; then
                   7312:   ac_cv_func_dlopen=yes
                   7313: else
                   7314:   echo "$as_me: failed program was:" >&5
                   7315: sed 's/^/| /' conftest.$ac_ext >&5
                   7316: 
                   7317: ac_cv_func_dlopen=no
                   7318: fi
                   7319: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7320: fi
                   7321: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   7322: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   7323: if test $ac_cv_func_dlopen = yes; then
                   7324:   lt_cv_dlopen="dlopen"
                   7325: else
                   7326:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   7327: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   7328: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   7329:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7330: else
                   7331:   ac_check_lib_save_LIBS=$LIBS
                   7332: LIBS="-ldl  $LIBS"
                   7333: cat >conftest.$ac_ext <<_ACEOF
                   7334: #line $LINENO "configure"
                   7335: /* confdefs.h.  */
                   7336: _ACEOF
                   7337: cat confdefs.h >>conftest.$ac_ext
                   7338: cat >>conftest.$ac_ext <<_ACEOF
                   7339: /* end confdefs.h.  */
                   7340: 
                   7341: /* Override any gcc2 internal prototype to avoid an error.  */
                   7342: #ifdef __cplusplus
                   7343: extern "C"
                   7344: #endif
                   7345: /* We use char because int might match the return type of a gcc2
                   7346:    builtin and then its argument prototype would still apply.  */
                   7347: char dlopen ();
                   7348: int
                   7349: main ()
                   7350: {
                   7351: dlopen ();
                   7352:   ;
                   7353:   return 0;
                   7354: }
                   7355: _ACEOF
                   7356: rm -f conftest.$ac_objext conftest$ac_exeext
                   7357: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7358:   (eval $ac_link) 2>&5
                   7359:   ac_status=$?
                   7360:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7361:   (exit $ac_status); } &&
                   7362:          { ac_try='test -s conftest$ac_exeext'
                   7363:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7364:   (eval $ac_try) 2>&5
                   7365:   ac_status=$?
                   7366:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7367:   (exit $ac_status); }; }; then
                   7368:   ac_cv_lib_dl_dlopen=yes
                   7369: else
                   7370:   echo "$as_me: failed program was:" >&5
                   7371: sed 's/^/| /' conftest.$ac_ext >&5
                   7372: 
                   7373: ac_cv_lib_dl_dlopen=no
                   7374: fi
                   7375: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7376: LIBS=$ac_check_lib_save_LIBS
                   7377: fi
                   7378: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   7379: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   7380: if test $ac_cv_lib_dl_dlopen = yes; then
                   7381:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   7382: else
                   7383:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   7384: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   7385: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   7386:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7387: else
                   7388:   ac_check_lib_save_LIBS=$LIBS
                   7389: LIBS="-lsvld  $LIBS"
                   7390: cat >conftest.$ac_ext <<_ACEOF
                   7391: #line $LINENO "configure"
                   7392: /* confdefs.h.  */
                   7393: _ACEOF
                   7394: cat confdefs.h >>conftest.$ac_ext
                   7395: cat >>conftest.$ac_ext <<_ACEOF
                   7396: /* end confdefs.h.  */
                   7397: 
                   7398: /* Override any gcc2 internal prototype to avoid an error.  */
                   7399: #ifdef __cplusplus
                   7400: extern "C"
                   7401: #endif
                   7402: /* We use char because int might match the return type of a gcc2
                   7403:    builtin and then its argument prototype would still apply.  */
                   7404: char dlopen ();
                   7405: int
                   7406: main ()
                   7407: {
                   7408: dlopen ();
                   7409:   ;
                   7410:   return 0;
                   7411: }
                   7412: _ACEOF
                   7413: rm -f conftest.$ac_objext conftest$ac_exeext
                   7414: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7415:   (eval $ac_link) 2>&5
                   7416:   ac_status=$?
                   7417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7418:   (exit $ac_status); } &&
                   7419:          { ac_try='test -s conftest$ac_exeext'
                   7420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7421:   (eval $ac_try) 2>&5
                   7422:   ac_status=$?
                   7423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7424:   (exit $ac_status); }; }; then
                   7425:   ac_cv_lib_svld_dlopen=yes
                   7426: else
                   7427:   echo "$as_me: failed program was:" >&5
                   7428: sed 's/^/| /' conftest.$ac_ext >&5
                   7429: 
                   7430: ac_cv_lib_svld_dlopen=no
                   7431: fi
                   7432: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7433: LIBS=$ac_check_lib_save_LIBS
                   7434: fi
                   7435: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   7436: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   7437: if test $ac_cv_lib_svld_dlopen = yes; then
                   7438:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   7439: else
                   7440:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   7441: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   7442: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   7443:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7444: else
                   7445:   ac_check_lib_save_LIBS=$LIBS
                   7446: LIBS="-ldld  $LIBS"
                   7447: cat >conftest.$ac_ext <<_ACEOF
                   7448: #line $LINENO "configure"
                   7449: /* confdefs.h.  */
                   7450: _ACEOF
                   7451: cat confdefs.h >>conftest.$ac_ext
                   7452: cat >>conftest.$ac_ext <<_ACEOF
                   7453: /* end confdefs.h.  */
                   7454: 
                   7455: /* Override any gcc2 internal prototype to avoid an error.  */
                   7456: #ifdef __cplusplus
                   7457: extern "C"
                   7458: #endif
                   7459: /* We use char because int might match the return type of a gcc2
                   7460:    builtin and then its argument prototype would still apply.  */
                   7461: char dld_link ();
                   7462: int
                   7463: main ()
                   7464: {
                   7465: dld_link ();
                   7466:   ;
                   7467:   return 0;
                   7468: }
                   7469: _ACEOF
                   7470: rm -f conftest.$ac_objext conftest$ac_exeext
                   7471: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7472:   (eval $ac_link) 2>&5
                   7473:   ac_status=$?
                   7474:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7475:   (exit $ac_status); } &&
                   7476:          { ac_try='test -s conftest$ac_exeext'
                   7477:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7478:   (eval $ac_try) 2>&5
                   7479:   ac_status=$?
                   7480:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7481:   (exit $ac_status); }; }; then
                   7482:   ac_cv_lib_dld_dld_link=yes
                   7483: else
                   7484:   echo "$as_me: failed program was:" >&5
                   7485: sed 's/^/| /' conftest.$ac_ext >&5
                   7486: 
                   7487: ac_cv_lib_dld_dld_link=no
                   7488: fi
                   7489: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7490: LIBS=$ac_check_lib_save_LIBS
                   7491: fi
                   7492: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   7493: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   7494: if test $ac_cv_lib_dld_dld_link = yes; then
                   7495:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
                   7496: fi
                   7497: 
                   7498: 
                   7499: fi
                   7500: 
                   7501: 
                   7502: fi
                   7503: 
                   7504: 
                   7505: fi
                   7506: 
                   7507: 
                   7508: fi
                   7509: 
                   7510: 
                   7511: fi
                   7512: 
                   7513:     ;;
                   7514:   esac
                   7515: 
                   7516:   if test "x$lt_cv_dlopen" != xno; then
                   7517:     enable_dlopen=yes
                   7518:   else
                   7519:     enable_dlopen=no
                   7520:   fi
                   7521: 
                   7522:   case $lt_cv_dlopen in
                   7523:   dlopen)
                   7524:     save_CPPFLAGS="$CPPFLAGS"
                   7525:         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   7526: 
                   7527:     save_LDFLAGS="$LDFLAGS"
                   7528:     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   7529: 
                   7530:     save_LIBS="$LIBS"
                   7531:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   7532: 
                   7533:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   7534: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   7535: if test "${lt_cv_dlopen_self+set}" = set; then
                   7536:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7537: else
                   7538:          if test "$cross_compiling" = yes; then :
                   7539:   lt_cv_dlopen_self=cross
                   7540: else
                   7541:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7542:   lt_status=$lt_dlunknown
                   7543:   cat > conftest.$ac_ext <<EOF
1.23.2.1! paf      7544: #line 7544 "configure"
1.15      paf      7545: #include "confdefs.h"
                   7546: 
                   7547: #if HAVE_DLFCN_H
                   7548: #include <dlfcn.h>
                   7549: #endif
                   7550: 
                   7551: #include <stdio.h>
                   7552: 
                   7553: #ifdef RTLD_GLOBAL
                   7554: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7555: #else
                   7556: #  ifdef DL_GLOBAL
                   7557: #    define LT_DLGLOBAL                DL_GLOBAL
                   7558: #  else
                   7559: #    define LT_DLGLOBAL                0
                   7560: #  endif
                   7561: #endif
                   7562: 
                   7563: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7564:    find out it does not work in some platform. */
                   7565: #ifndef LT_DLLAZY_OR_NOW
                   7566: #  ifdef RTLD_LAZY
                   7567: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   7568: #  else
                   7569: #    ifdef DL_LAZY
                   7570: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   7571: #    else
                   7572: #      ifdef RTLD_NOW
                   7573: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   7574: #      else
                   7575: #        ifdef DL_NOW
                   7576: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   7577: #        else
                   7578: #          define LT_DLLAZY_OR_NOW     0
                   7579: #        endif
                   7580: #      endif
                   7581: #    endif
                   7582: #  endif
                   7583: #endif
                   7584: 
                   7585: #ifdef __cplusplus
                   7586: extern "C" void exit (int);
                   7587: #endif
                   7588: 
                   7589: void fnord() { int i=42;}
                   7590: int main ()
                   7591: {
                   7592:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   7593:   int status = $lt_dlunknown;
                   7594: 
                   7595:   if (self)
                   7596:     {
                   7597:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   7598:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   7599:       /* dlclose (self); */
                   7600:     }
                   7601: 
                   7602:     exit (status);
                   7603: }
                   7604: EOF
                   7605:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7606:   (eval $ac_link) 2>&5
                   7607:   ac_status=$?
                   7608:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7609:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   7610:     (./conftest; exit; ) 2>/dev/null
                   7611:     lt_status=$?
                   7612:     case x$lt_status in
                   7613:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   7614:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   7615:       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
                   7616:     esac
                   7617:   else :
                   7618:     # compilation failed
                   7619:     lt_cv_dlopen_self=no
                   7620:   fi
                   7621: fi
                   7622: rm -fr conftest*
                   7623: 
                   7624: 
                   7625: fi
                   7626: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   7627: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   7628: 
                   7629:     if test "x$lt_cv_dlopen_self" = xyes; then
                   7630:       LDFLAGS="$LDFLAGS $link_static_flag"
                   7631:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   7632: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   7633: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   7634:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7635: else
                   7636:          if test "$cross_compiling" = yes; then :
                   7637:   lt_cv_dlopen_self_static=cross
                   7638: else
                   7639:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7640:   lt_status=$lt_dlunknown
                   7641:   cat > conftest.$ac_ext <<EOF
1.23.2.1! paf      7642: #line 7642 "configure"
1.15      paf      7643: #include "confdefs.h"
                   7644: 
                   7645: #if HAVE_DLFCN_H
                   7646: #include <dlfcn.h>
                   7647: #endif
                   7648: 
                   7649: #include <stdio.h>
                   7650: 
                   7651: #ifdef RTLD_GLOBAL
                   7652: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7653: #else
                   7654: #  ifdef DL_GLOBAL
                   7655: #    define LT_DLGLOBAL                DL_GLOBAL
                   7656: #  else
                   7657: #    define LT_DLGLOBAL                0
                   7658: #  endif
                   7659: #endif
                   7660: 
                   7661: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7662:    find out it does not work in some platform. */
                   7663: #ifndef LT_DLLAZY_OR_NOW
                   7664: #  ifdef RTLD_LAZY
                   7665: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   7666: #  else
                   7667: #    ifdef DL_LAZY
                   7668: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   7669: #    else
                   7670: #      ifdef RTLD_NOW
                   7671: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   7672: #      else
                   7673: #        ifdef DL_NOW
                   7674: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   7675: #        else
                   7676: #          define LT_DLLAZY_OR_NOW     0
                   7677: #        endif
                   7678: #      endif
                   7679: #    endif
                   7680: #  endif
                   7681: #endif
                   7682: 
                   7683: #ifdef __cplusplus
                   7684: extern "C" void exit (int);
                   7685: #endif
                   7686: 
                   7687: void fnord() { int i=42;}
                   7688: int main ()
                   7689: {
                   7690:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   7691:   int status = $lt_dlunknown;
                   7692: 
                   7693:   if (self)
                   7694:     {
                   7695:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   7696:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   7697:       /* dlclose (self); */
                   7698:     }
                   7699: 
                   7700:     exit (status);
                   7701: }
1.1       parser   7702: EOF
1.15      paf      7703:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7704:   (eval $ac_link) 2>&5
                   7705:   ac_status=$?
                   7706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7707:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   7708:     (./conftest; exit; ) 2>/dev/null
                   7709:     lt_status=$?
                   7710:     case x$lt_status in
                   7711:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   7712:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   7713:       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
                   7714:     esac
                   7715:   else :
                   7716:     # compilation failed
                   7717:     lt_cv_dlopen_self_static=no
                   7718:   fi
                   7719: fi
                   7720: rm -fr conftest*
                   7721: 
                   7722: 
                   7723: fi
                   7724: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   7725: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   7726:     fi
                   7727: 
                   7728:     CPPFLAGS="$save_CPPFLAGS"
                   7729:     LDFLAGS="$save_LDFLAGS"
                   7730:     LIBS="$save_LIBS"
                   7731:     ;;
                   7732:   esac
                   7733: 
                   7734:   case $lt_cv_dlopen_self in
                   7735:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   7736:   *) enable_dlopen_self=unknown ;;
                   7737:   esac
                   7738: 
                   7739:   case $lt_cv_dlopen_self_static in
                   7740:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   7741:   *) enable_dlopen_self_static=unknown ;;
                   7742:   esac
                   7743: fi
                   7744: 
                   7745: 
                   7746: if test "$enable_shared" = yes && test "$GCC" = yes; then
                   7747:   case $archive_cmds in
                   7748:   *'~'*)
                   7749:     # FIXME: we may have to deal with multi-command sequences.
                   7750:     ;;
                   7751:   '$CC '*)
                   7752:     # Test whether the compiler implicitly links with -lc since on some
                   7753:     # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   7754:     # to ld, don't add -lc before -lgcc.
                   7755:     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   7756: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   7757:     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   7758:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7759: else
                   7760:   $rm conftest*
                   7761:     echo 'static int dummy;' > conftest.$ac_ext
                   7762: 
                   7763:     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7764:   (eval $ac_compile) 2>&5
                   7765:   ac_status=$?
                   7766:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7767:   (exit $ac_status); }; then
                   7768:       soname=conftest
                   7769:       lib=conftest
                   7770:       libobjs=conftest.$ac_objext
                   7771:       deplibs=
                   7772:       wl=$lt_cv_prog_cc_wl
                   7773:       compiler_flags=-v
                   7774:       linker_flags=-v
                   7775:       verstring=
                   7776:       output_objdir=.
                   7777:       libname=conftest
                   7778:       save_allow_undefined_flag=$allow_undefined_flag
                   7779:       allow_undefined_flag=
                   7780:       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   7781:   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   7782:   ac_status=$?
                   7783:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7784:   (exit $ac_status); }
                   7785:       then
                   7786:        lt_cv_archive_cmds_need_lc=no
                   7787:       else
                   7788:        lt_cv_archive_cmds_need_lc=yes
                   7789:       fi
                   7790:       allow_undefined_flag=$save_allow_undefined_flag
                   7791:     else
                   7792:       cat conftest.err 1>&5
                   7793:     fi
                   7794: fi
                   7795: 
                   7796:     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   7797: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   7798:     ;;
                   7799:   esac
                   7800: fi
                   7801: need_lc=${lt_cv_archive_cmds_need_lc-yes}
                   7802: 
                   7803: # The second clause should only fire when bootstrapping the
                   7804: # libtool distribution, otherwise you forgot to ship ltmain.sh
                   7805: # with your package, and you will get complaints that there are
                   7806: # no rules to generate ltmain.sh.
                   7807: if test -f "$ltmain"; then
1.1       parser   7808:   :
                   7809: else
1.15      paf      7810:   # If there is no Makefile yet, we rely on a make rule to execute
                   7811:   # `config.status --recheck' to rerun these tests and create the
                   7812:   # libtool script then.
                   7813:   test -f Makefile && make "$ltmain"
                   7814: fi
                   7815: 
                   7816: if test -f "$ltmain"; then
                   7817:   trap "$rm \"${ofile}T\"; exit 1" 1 2 15
                   7818:   $rm -f "${ofile}T"
                   7819: 
                   7820:   echo creating $ofile
                   7821: 
                   7822:   # Now quote all the things that may contain metacharacters while being
                   7823:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
                   7824:   # variables and quote the copies for generation of the libtool script.
                   7825:   for var in echo old_CC old_CFLAGS SED \
                   7826:     AR AR_FLAGS CC LD LN_S NM SHELL \
                   7827:     reload_flag reload_cmds wl \
                   7828:     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
                   7829:     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
                   7830:     library_names_spec soname_spec \
                   7831:     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
                   7832:     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
                   7833:     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
                   7834:     old_striplib striplib file_magic_cmd export_symbols_cmds \
                   7835:     deplibs_check_method allow_undefined_flag no_undefined_flag \
                   7836:     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
                   7837:     global_symbol_to_c_name_address \
                   7838:     hardcode_libdir_flag_spec hardcode_libdir_separator  \
                   7839:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
                   7840:     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
                   7841: 
                   7842:     case $var in
                   7843:     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
                   7844:     old_postinstall_cmds | old_postuninstall_cmds | \
                   7845:     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
                   7846:     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
                   7847:     postinstall_cmds | postuninstall_cmds | \
                   7848:     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
                   7849:       # Double-quote double-evaled strings.
                   7850:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
                   7851:       ;;
                   7852:     *)
                   7853:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
                   7854:       ;;
                   7855:     esac
                   7856:   done
                   7857: 
                   7858:   cat <<__EOF__ > "${ofile}T"
                   7859: #! $SHELL
                   7860: 
                   7861: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   7862: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
                   7863: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   7864: #
                   7865: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
                   7866: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
                   7867: #
                   7868: # This program is free software; you can redistribute it and/or modify
                   7869: # it under the terms of the GNU General Public License as published by
                   7870: # the Free Software Foundation; either version 2 of the License, or
                   7871: # (at your option) any later version.
                   7872: #
                   7873: # This program is distributed in the hope that it will be useful, but
                   7874: # WITHOUT ANY WARRANTY; without even the implied warranty of
                   7875: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                   7876: # General Public License for more details.
                   7877: #
                   7878: # You should have received a copy of the GNU General Public License
                   7879: # along with this program; if not, write to the Free Software
                   7880: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   7881: #
                   7882: # As a special exception to the GNU General Public License, if you
                   7883: # distribute this file as part of a program that contains a
                   7884: # configuration script generated by Autoconf, you may include it under
                   7885: # the same distribution terms that you use for the rest of that program.
                   7886: 
                   7887: # A sed that does not truncate output.
                   7888: SED=$lt_SED
                   7889: 
                   7890: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   7891: Xsed="${SED} -e s/^X//"
                   7892: 
                   7893: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   7894: # if CDPATH is set.
                   7895: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                   7896: 
                   7897: # ### BEGIN LIBTOOL CONFIG
                   7898: 
                   7899: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   7900: 
                   7901: # Shell to use when invoking shell scripts.
                   7902: SHELL=$lt_SHELL
                   7903: 
                   7904: # Whether or not to build shared libraries.
                   7905: build_libtool_libs=$enable_shared
                   7906: 
                   7907: # Whether or not to build static libraries.
                   7908: build_old_libs=$enable_static
                   7909: 
                   7910: # Whether or not to add -lc for building shared libraries.
                   7911: build_libtool_need_lc=$need_lc
                   7912: 
                   7913: # Whether or not to optimize for fast installation.
                   7914: fast_install=$enable_fast_install
                   7915: 
                   7916: # The host system.
                   7917: host_alias=$host_alias
                   7918: host=$host
                   7919: 
                   7920: # An echo program that does not interpret backslashes.
                   7921: echo=$lt_echo
                   7922: 
                   7923: # The archiver.
                   7924: AR=$lt_AR
                   7925: AR_FLAGS=$lt_AR_FLAGS
                   7926: 
                   7927: # The default C compiler.
                   7928: CC=$lt_CC
                   7929: 
                   7930: # Is the compiler the GNU C compiler?
                   7931: with_gcc=$GCC
                   7932: 
                   7933: # The linker used to build libraries.
                   7934: LD=$lt_LD
                   7935: 
                   7936: # Whether we need hard or soft links.
                   7937: LN_S=$lt_LN_S
                   7938: 
                   7939: # A BSD-compatible nm program.
                   7940: NM=$lt_NM
                   7941: 
                   7942: # A symbol stripping program
                   7943: STRIP=$STRIP
                   7944: 
                   7945: # Used to examine libraries when file_magic_cmd begins "file"
                   7946: MAGIC_CMD=$MAGIC_CMD
                   7947: 
                   7948: # Used on cygwin: DLL creation program.
                   7949: DLLTOOL="$DLLTOOL"
                   7950: 
                   7951: # Used on cygwin: object dumper.
                   7952: OBJDUMP="$OBJDUMP"
                   7953: 
                   7954: # Used on cygwin: assembler.
                   7955: AS="$AS"
                   7956: 
                   7957: # The name of the directory that contains temporary libtool files.
                   7958: objdir=$objdir
                   7959: 
                   7960: # How to create reloadable object files.
                   7961: reload_flag=$lt_reload_flag
                   7962: reload_cmds=$lt_reload_cmds
                   7963: 
                   7964: # How to pass a linker flag through the compiler.
                   7965: wl=$lt_wl
                   7966: 
                   7967: # Object file suffix (normally "o").
                   7968: objext="$ac_objext"
                   7969: 
                   7970: # Old archive suffix (normally "a").
                   7971: libext="$libext"
                   7972: 
                   7973: # Executable file suffix (normally "").
                   7974: exeext="$exeext"
                   7975: 
                   7976: # Additional compiler flags for building library objects.
                   7977: pic_flag=$lt_pic_flag
                   7978: pic_mode=$pic_mode
                   7979: 
                   7980: # Does compiler simultaneously support -c and -o options?
                   7981: compiler_c_o=$lt_compiler_c_o
                   7982: 
                   7983: # Can we write directly to a .lo ?
                   7984: compiler_o_lo=$lt_compiler_o_lo
                   7985: 
                   7986: # Must we lock files when doing compilation ?
                   7987: need_locks=$lt_need_locks
                   7988: 
                   7989: # Do we need the lib prefix for modules?
                   7990: need_lib_prefix=$need_lib_prefix
                   7991: 
                   7992: # Do we need a version for libraries?
                   7993: need_version=$need_version
                   7994: 
                   7995: # Whether dlopen is supported.
                   7996: dlopen_support=$enable_dlopen
                   7997: 
                   7998: # Whether dlopen of programs is supported.
                   7999: dlopen_self=$enable_dlopen_self
                   8000: 
                   8001: # Whether dlopen of statically linked programs is supported.
                   8002: dlopen_self_static=$enable_dlopen_self_static
                   8003: 
                   8004: # Compiler flag to prevent dynamic linking.
                   8005: link_static_flag=$lt_link_static_flag
                   8006: 
                   8007: # Compiler flag to turn off builtin functions.
                   8008: no_builtin_flag=$lt_no_builtin_flag
                   8009: 
                   8010: # Compiler flag to allow reflexive dlopens.
                   8011: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   8012: 
                   8013: # Compiler flag to generate shared objects directly from archives.
                   8014: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   8015: 
                   8016: # Compiler flag to generate thread-safe objects.
                   8017: thread_safe_flag_spec=$lt_thread_safe_flag_spec
                   8018: 
                   8019: # Library versioning type.
                   8020: version_type=$version_type
                   8021: 
                   8022: # Format of library name prefix.
                   8023: libname_spec=$lt_libname_spec
                   8024: 
                   8025: # List of archive names.  First name is the real one, the rest are links.
                   8026: # The last name is the one that the linker finds with -lNAME.
                   8027: library_names_spec=$lt_library_names_spec
                   8028: 
                   8029: # The coded name of the library, if different from the real name.
                   8030: soname_spec=$lt_soname_spec
                   8031: 
                   8032: # Commands used to build and install an old-style archive.
                   8033: RANLIB=$lt_RANLIB
                   8034: old_archive_cmds=$lt_old_archive_cmds
                   8035: old_postinstall_cmds=$lt_old_postinstall_cmds
                   8036: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   8037: 
                   8038: # Create an old-style archive from a shared archive.
                   8039: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   8040: 
                   8041: # Create a temporary old-style archive to link instead of a shared archive.
                   8042: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   8043: 
                   8044: # Commands used to build and install a shared archive.
                   8045: archive_cmds=$lt_archive_cmds
                   8046: archive_expsym_cmds=$lt_archive_expsym_cmds
                   8047: postinstall_cmds=$lt_postinstall_cmds
                   8048: postuninstall_cmds=$lt_postuninstall_cmds
                   8049: 
                   8050: # Commands to strip libraries.
                   8051: old_striplib=$lt_old_striplib
                   8052: striplib=$lt_striplib
                   8053: 
                   8054: # Method to check whether dependent libraries are shared objects.
                   8055: deplibs_check_method=$lt_deplibs_check_method
                   8056: 
                   8057: # Command to use when deplibs_check_method == file_magic.
                   8058: file_magic_cmd=$lt_file_magic_cmd
                   8059: 
                   8060: # Flag that allows shared libraries with undefined symbols to be built.
                   8061: allow_undefined_flag=$lt_allow_undefined_flag
                   8062: 
                   8063: # Flag that forces no undefined symbols.
                   8064: no_undefined_flag=$lt_no_undefined_flag
                   8065: 
                   8066: # Commands used to finish a libtool library installation in a directory.
                   8067: finish_cmds=$lt_finish_cmds
                   8068: 
                   8069: # Same as above, but a single script fragment to be evaled but not shown.
                   8070: finish_eval=$lt_finish_eval
                   8071: 
                   8072: # Take the output of nm and produce a listing of raw symbols and C names.
                   8073: global_symbol_pipe=$lt_global_symbol_pipe
                   8074: 
                   8075: # Transform the output of nm in a proper C declaration
                   8076: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
                   8077: 
                   8078: # Transform the output of nm in a C name address pair
                   8079: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
                   8080: 
                   8081: # This is the shared library runtime path variable.
                   8082: runpath_var=$runpath_var
                   8083: 
                   8084: # This is the shared library path variable.
                   8085: shlibpath_var=$shlibpath_var
                   8086: 
                   8087: # Is shlibpath searched before the hard-coded library search path?
                   8088: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   8089: 
                   8090: # How to hardcode a shared library path into an executable.
                   8091: hardcode_action=$hardcode_action
                   8092: 
                   8093: # Whether we should hardcode library paths into libraries.
                   8094: hardcode_into_libs=$hardcode_into_libs
                   8095: 
                   8096: # Flag to hardcode \$libdir into a binary during linking.
                   8097: # This must work even if \$libdir does not exist.
                   8098: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   8099: 
                   8100: # Whether we need a single -rpath flag with a separated argument.
                   8101: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   8102: 
                   8103: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
                   8104: # resulting binary.
                   8105: hardcode_direct=$hardcode_direct
                   8106: 
                   8107: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
                   8108: # resulting binary.
                   8109: hardcode_minus_L=$hardcode_minus_L
                   8110: 
                   8111: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
                   8112: # the resulting binary.
                   8113: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   8114: 
                   8115: # Variables whose values should be saved in libtool wrapper scripts and
                   8116: # restored at relink time.
                   8117: variables_saved_for_relink="$variables_saved_for_relink"
                   8118: 
                   8119: # Whether libtool must link a program against all its dependency libraries.
                   8120: link_all_deplibs=$link_all_deplibs
                   8121: 
                   8122: # Compile-time system search path for libraries
                   8123: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   8124: 
                   8125: # Run-time system search path for libraries
                   8126: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   8127: 
                   8128: # Fix the shell variable \$srcfile for the compiler.
                   8129: fix_srcfile_path="$fix_srcfile_path"
                   8130: 
                   8131: # Set to yes if exported symbols are required.
                   8132: always_export_symbols=$always_export_symbols
                   8133: 
                   8134: # The commands to list exported symbols.
                   8135: export_symbols_cmds=$lt_export_symbols_cmds
                   8136: 
                   8137: # The commands to extract the exported symbol list from a shared archive.
                   8138: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   8139: 
                   8140: # Symbols that should not be listed in the preloaded symbols.
                   8141: exclude_expsyms=$lt_exclude_expsyms
                   8142: 
                   8143: # Symbols that must always be exported.
                   8144: include_expsyms=$lt_include_expsyms
                   8145: 
                   8146: # ### END LIBTOOL CONFIG
                   8147: 
                   8148: __EOF__
                   8149: 
                   8150:   case $host_os in
                   8151:   aix3*)
                   8152:     cat <<\EOF >> "${ofile}T"
                   8153: 
                   8154: # AIX sometimes has problems with the GCC collect2 program.  For some
                   8155: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8156: # vanish in a puff of smoke.
                   8157: if test "X${COLLECT_NAMES+set}" != Xset; then
                   8158:   COLLECT_NAMES=
                   8159:   export COLLECT_NAMES
                   8160: fi
                   8161: EOF
                   8162:     ;;
                   8163:   esac
                   8164: 
                   8165:   case $host_os in
                   8166:   cygwin* | mingw* | pw32* | os2*)
                   8167:     cat <<'EOF' >> "${ofile}T"
                   8168:       # This is a source program that is used to create dlls on Windows
                   8169:       # Don't remove nor modify the starting and closing comments
                   8170: # /* ltdll.c starts here */
                   8171: # #define WIN32_LEAN_AND_MEAN
                   8172: # #include <windows.h>
                   8173: # #undef WIN32_LEAN_AND_MEAN
                   8174: # #include <stdio.h>
                   8175: #
                   8176: # #ifndef __CYGWIN__
                   8177: # #  ifdef __CYGWIN32__
                   8178: # #    define __CYGWIN__ __CYGWIN32__
                   8179: # #  endif
                   8180: # #endif
                   8181: #
                   8182: # #ifdef __cplusplus
                   8183: # extern "C" {
                   8184: # #endif
                   8185: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
                   8186: # #ifdef __cplusplus
                   8187: # }
                   8188: # #endif
                   8189: #
                   8190: # #ifdef __CYGWIN__
                   8191: # #include <cygwin/cygwin_dll.h>
                   8192: # DECLARE_CYGWIN_DLL( DllMain );
                   8193: # #endif
                   8194: # HINSTANCE __hDllInstance_base;
                   8195: #
                   8196: # BOOL APIENTRY
                   8197: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
                   8198: # {
                   8199: #   __hDllInstance_base = hInst;
                   8200: #   return TRUE;
                   8201: # }
                   8202: # /* ltdll.c ends here */
                   8203:        # This is a source program that is used to create import libraries
                   8204:        # on Windows for dlls which lack them. Don't remove nor modify the
                   8205:        # starting and closing comments
                   8206: # /* impgen.c starts here */
                   8207: # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
                   8208: #
                   8209: #  This file is part of GNU libtool.
                   8210: #
                   8211: #  This program is free software; you can redistribute it and/or modify
                   8212: #  it under the terms of the GNU General Public License as published by
                   8213: #  the Free Software Foundation; either version 2 of the License, or
                   8214: #  (at your option) any later version.
                   8215: #
                   8216: #  This program is distributed in the hope that it will be useful,
                   8217: #  but WITHOUT ANY WARRANTY; without even the implied warranty of
                   8218: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   8219: #  GNU General Public License for more details.
                   8220: #
                   8221: #  You should have received a copy of the GNU General Public License
                   8222: #  along with this program; if not, write to the Free Software
                   8223: #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   8224: #  */
                   8225: #
                   8226: # #include <stdio.h>           /* for printf() */
                   8227: # #include <unistd.h>          /* for open(), lseek(), read() */
                   8228: # #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
                   8229: # #include <string.h>          /* for strdup() */
                   8230: #
                   8231: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
                   8232: # #ifndef O_BINARY
                   8233: # #define O_BINARY 0
                   8234: # #endif
                   8235: #
                   8236: # static unsigned int
                   8237: # pe_get16 (fd, offset)
                   8238: #      int fd;
                   8239: #      int offset;
                   8240: # {
                   8241: #   unsigned char b[2];
                   8242: #   lseek (fd, offset, SEEK_SET);
                   8243: #   read (fd, b, 2);
                   8244: #   return b[0] + (b[1]<<8);
                   8245: # }
                   8246: #
                   8247: # static unsigned int
                   8248: # pe_get32 (fd, offset)
                   8249: #     int fd;
                   8250: #     int offset;
                   8251: # {
                   8252: #   unsigned char b[4];
                   8253: #   lseek (fd, offset, SEEK_SET);
                   8254: #   read (fd, b, 4);
                   8255: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   8256: # }
                   8257: #
                   8258: # static unsigned int
                   8259: # pe_as32 (ptr)
                   8260: #      void *ptr;
                   8261: # {
                   8262: #   unsigned char *b = ptr;
                   8263: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   8264: # }
                   8265: #
                   8266: # int
                   8267: # main (argc, argv)
                   8268: #     int argc;
                   8269: #     char *argv[];
                   8270: # {
                   8271: #     int dll;
                   8272: #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
                   8273: #     unsigned long export_rva, export_size, nsections, secptr, expptr;
                   8274: #     unsigned long name_rvas, nexp;
                   8275: #     unsigned char *expdata, *erva;
                   8276: #     char *filename, *dll_name;
                   8277: #
                   8278: #     filename = argv[1];
                   8279: #
                   8280: #     dll = open(filename, O_RDONLY|O_BINARY);
                   8281: #     if (dll < 1)
                   8282: #      return 1;
                   8283: #
                   8284: #     dll_name = filename;
                   8285: #
                   8286: #     for (i=0; filename[i]; i++)
                   8287: #      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
                   8288: #          dll_name = filename + i +1;
                   8289: #
                   8290: #     pe_header_offset = pe_get32 (dll, 0x3c);
                   8291: #     opthdr_ofs = pe_header_offset + 4 + 20;
                   8292: #     num_entries = pe_get32 (dll, opthdr_ofs + 92);
                   8293: #
                   8294: #     if (num_entries < 1) /* no exports */
                   8295: #      return 1;
                   8296: #
                   8297: #     export_rva = pe_get32 (dll, opthdr_ofs + 96);
                   8298: #     export_size = pe_get32 (dll, opthdr_ofs + 100);
                   8299: #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
                   8300: #     secptr = (pe_header_offset + 4 + 20 +
                   8301: #            pe_get16 (dll, pe_header_offset + 4 + 16));
                   8302: #
                   8303: #     expptr = 0;
                   8304: #     for (i = 0; i < nsections; i++)
                   8305: #     {
                   8306: #      char sname[8];
                   8307: #      unsigned long secptr1 = secptr + 40 * i;
                   8308: #      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
                   8309: #      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
                   8310: #      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
                   8311: #      lseek(dll, secptr1, SEEK_SET);
                   8312: #      read(dll, sname, 8);
                   8313: #      if (vaddr <= export_rva && vaddr+vsize > export_rva)
                   8314: #      {
                   8315: #          expptr = fptr + (export_rva - vaddr);
                   8316: #          if (export_rva + export_size > vaddr + vsize)
                   8317: #              export_size = vsize - (export_rva - vaddr);
                   8318: #          break;
                   8319: #      }
                   8320: #     }
                   8321: #
                   8322: #     expdata = (unsigned char*)malloc(export_size);
                   8323: #     lseek (dll, expptr, SEEK_SET);
                   8324: #     read (dll, expdata, export_size);
                   8325: #     erva = expdata - export_rva;
                   8326: #
                   8327: #     nexp = pe_as32 (expdata+24);
                   8328: #     name_rvas = pe_as32 (expdata+32);
                   8329: #
                   8330: #     printf ("EXPORTS\n");
                   8331: #     for (i = 0; i<nexp; i++)
                   8332: #     {
                   8333: #      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
                   8334: #      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
                   8335: #     }
                   8336: #
                   8337: #     return 0;
                   8338: # }
                   8339: # /* impgen.c ends here */
                   8340: 
                   8341: EOF
                   8342:     ;;
                   8343:   esac
                   8344: 
                   8345:   # We use sed instead of cat because bash on DJGPP gets confused if
                   8346:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   8347:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   8348:   # is reportedly fixed, but why not run on old versions too?
                   8349:   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
                   8350: 
                   8351:   mv -f "${ofile}T" "$ofile" || \
                   8352:     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
                   8353:   chmod +x "$ofile"
                   8354: fi
                   8355: 
                   8356: 
                   8357: 
                   8358: 
                   8359: 
                   8360: # This can be used to rebuild libtool when needed
                   8361: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
                   8362: 
1.17      paf      8363: # Always use rootdir libtool.
                   8364: LIBTOOL="$ac_aux_dir/libtool"
1.15      paf      8365: 
                   8366: # Prevent multiple expansion
                   8367: 
                   8368: 
                   8369: 
                   8370: 
                   8371: subdirs="$subdirs libltdl"
                   8372: 
                   8373: 
                   8374: 
                   8375: 
                   8376: 
                   8377: 
                   8378: 
                   8379: 
1.23      paf      8380: 
1.15      paf      8381: for ac_header in stdio.h \
                   8382: stdlib.h \
                   8383: string.h \
1.23      paf      8384: setjmp.h \
                   8385: ctype.h
1.15      paf      8386: 
                   8387: do
                   8388: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8389: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8390:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8391: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8392: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8393:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8394: fi
                   8395: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8396: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8397: else
                   8398:   # Is the header compilable?
                   8399: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   8400: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   8401: cat >conftest.$ac_ext <<_ACEOF
                   8402: #line $LINENO "configure"
                   8403: /* confdefs.h.  */
                   8404: _ACEOF
                   8405: cat confdefs.h >>conftest.$ac_ext
                   8406: cat >>conftest.$ac_ext <<_ACEOF
                   8407: /* end confdefs.h.  */
                   8408: $ac_includes_default
                   8409: #include <$ac_header>
                   8410: _ACEOF
                   8411: rm -f conftest.$ac_objext
                   8412: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8413:   (eval $ac_compile) 2>&5
                   8414:   ac_status=$?
                   8415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8416:   (exit $ac_status); } &&
                   8417:          { ac_try='test -s conftest.$ac_objext'
                   8418:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8419:   (eval $ac_try) 2>&5
                   8420:   ac_status=$?
                   8421:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8422:   (exit $ac_status); }; }; then
                   8423:   ac_header_compiler=yes
                   8424: else
                   8425:   echo "$as_me: failed program was:" >&5
                   8426: sed 's/^/| /' conftest.$ac_ext >&5
                   8427: 
                   8428: ac_header_compiler=no
                   8429: fi
                   8430: rm -f conftest.$ac_objext conftest.$ac_ext
                   8431: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   8432: echo "${ECHO_T}$ac_header_compiler" >&6
                   8433: 
                   8434: # Is the header present?
                   8435: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   8436: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   8437: cat >conftest.$ac_ext <<_ACEOF
                   8438: #line $LINENO "configure"
                   8439: /* confdefs.h.  */
                   8440: _ACEOF
                   8441: cat confdefs.h >>conftest.$ac_ext
                   8442: cat >>conftest.$ac_ext <<_ACEOF
                   8443: /* end confdefs.h.  */
                   8444: #include <$ac_header>
                   8445: _ACEOF
                   8446: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   8447:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   8448:   ac_status=$?
                   8449:   grep -v '^ *+' conftest.er1 >conftest.err
                   8450:   rm -f conftest.er1
                   8451:   cat conftest.err >&5
                   8452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8453:   (exit $ac_status); } >/dev/null; then
                   8454:   if test -s conftest.err; then
1.23.2.1! paf      8455:     ac_cpp_err=$ac_c_preproc_warn_flag
1.15      paf      8456:   else
                   8457:     ac_cpp_err=
                   8458:   fi
                   8459: else
                   8460:   ac_cpp_err=yes
                   8461: fi
                   8462: if test -z "$ac_cpp_err"; then
                   8463:   ac_header_preproc=yes
                   8464: else
                   8465:   echo "$as_me: failed program was:" >&5
                   8466: sed 's/^/| /' conftest.$ac_ext >&5
                   8467: 
                   8468:   ac_header_preproc=no
                   8469: fi
                   8470: rm -f conftest.err conftest.$ac_ext
                   8471: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   8472: echo "${ECHO_T}$ac_header_preproc" >&6
                   8473: 
                   8474: # So?  What about this header?
                   8475: case $ac_header_compiler:$ac_header_preproc in
                   8476:   yes:no )
                   8477:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   8478: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   8479:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8480: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   8481:     (
                   8482:       cat <<\_ASBOX
                   8483: ## ------------------------------------ ##
                   8484: ## Report this to bug-autoconf@gnu.org. ##
                   8485: ## ------------------------------------ ##
                   8486: _ASBOX
                   8487:     ) |
                   8488:       sed "s/^/$as_me: WARNING:     /" >&2
                   8489:     ;;
                   8490:   no:yes )
                   8491:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   8492: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   8493:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   8494: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   8495:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8496: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   8497:     (
                   8498:       cat <<\_ASBOX
                   8499: ## ------------------------------------ ##
                   8500: ## Report this to bug-autoconf@gnu.org. ##
                   8501: ## ------------------------------------ ##
                   8502: _ASBOX
                   8503:     ) |
                   8504:       sed "s/^/$as_me: WARNING:     /" >&2
                   8505:     ;;
                   8506: esac
                   8507: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8508: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8509: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8510:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8511: else
                   8512:   eval "$as_ac_Header=$ac_header_preproc"
1.1       parser   8513: fi
1.15      paf      8514: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8515: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8516: 
1.1       parser   8517: fi
1.15      paf      8518: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   8519:   cat >>confdefs.h <<_ACEOF
                   8520: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8521: _ACEOF
1.1       parser   8522: 
                   8523: fi
                   8524: 
1.15      paf      8525: done
                   8526: 
1.1       parser   8527: 
                   8528: 
1.15      paf      8529: echo "$as_me:$LINENO: checking for size_t" >&5
                   8530: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   8531: if test "${ac_cv_type_size_t+set}" = set; then
                   8532:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8533: else
                   8534:   cat >conftest.$ac_ext <<_ACEOF
                   8535: #line $LINENO "configure"
                   8536: /* confdefs.h.  */
                   8537: _ACEOF
                   8538: cat confdefs.h >>conftest.$ac_ext
                   8539: cat >>conftest.$ac_ext <<_ACEOF
                   8540: /* end confdefs.h.  */
                   8541: $ac_includes_default
                   8542: int
                   8543: main ()
                   8544: {
                   8545: if ((size_t *) 0)
                   8546:   return 0;
                   8547: if (sizeof (size_t))
                   8548:   return 0;
                   8549:   ;
                   8550:   return 0;
                   8551: }
                   8552: _ACEOF
                   8553: rm -f conftest.$ac_objext
                   8554: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8555:   (eval $ac_compile) 2>&5
                   8556:   ac_status=$?
                   8557:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8558:   (exit $ac_status); } &&
                   8559:          { ac_try='test -s conftest.$ac_objext'
                   8560:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8561:   (eval $ac_try) 2>&5
                   8562:   ac_status=$?
                   8563:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8564:   (exit $ac_status); }; }; then
1.1       parser   8565:   ac_cv_type_size_t=yes
                   8566: else
1.15      paf      8567:   echo "$as_me: failed program was:" >&5
                   8568: sed 's/^/| /' conftest.$ac_ext >&5
                   8569: 
                   8570: ac_cv_type_size_t=no
                   8571: fi
                   8572: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       parser   8573: fi
1.15      paf      8574: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   8575: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   8576: if test $ac_cv_type_size_t = yes; then
                   8577:   :
                   8578: else
1.1       parser   8579: 
1.15      paf      8580: cat >>confdefs.h <<_ACEOF
1.1       parser   8581: #define size_t unsigned
1.15      paf      8582: _ACEOF
1.1       parser   8583: 
                   8584: fi
                   8585: 
                   8586: 
                   8587: 
                   8588: 
1.15      paf      8589:           ac_config_files="$ac_config_files Makefile"
                   8590: cat >confcache <<\_ACEOF
1.1       parser   8591: # This file is a shell script that caches the results of configure
                   8592: # tests run on this system so they can be shared between configure
1.15      paf      8593: # scripts and configure runs, see configure's option --config-cache.
                   8594: # It is not useful on other systems.  If it contains results you don't
                   8595: # want to keep, you may remove or edit it.
1.1       parser   8596: #
1.15      paf      8597: # config.status only pays attention to the cache file if you give it
                   8598: # the --recheck option to rerun configure.
1.1       parser   8599: #
1.15      paf      8600: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   8601: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   8602: # following values.
                   8603: 
                   8604: _ACEOF
                   8605: 
1.1       parser   8606: # The following way of writing the cache mishandles newlines in values,
                   8607: # but we know of no workaround that is simple, portable, and efficient.
                   8608: # So, don't put newlines in cache variables' values.
                   8609: # Ultrix sh set writes to stderr and can't be redirected directly,
                   8610: # and sets the high bit in the cache file unless we assign to the vars.
1.15      paf      8611: {
                   8612:   (set) 2>&1 |
                   8613:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   8614:     *ac_space=\ *)
                   8615:       # `set' does not quote correctly, so add quotes (double-quote
                   8616:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   8617:       sed -n \
                   8618:         "s/'/'\\\\''/g;
                   8619:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   8620:       ;;
                   8621:     *)
                   8622:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   8623:       sed -n \
                   8624:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   8625:       ;;
                   8626:     esac;
                   8627: } |
                   8628:   sed '
                   8629:      t clear
                   8630:      : clear
                   8631:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   8632:      t end
                   8633:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   8634:      : end' >>confcache
                   8635: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       parser   8636:   if test -w $cache_file; then
1.15      paf      8637:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   8638:     cat confcache >$cache_file
1.1       parser   8639:   else
                   8640:     echo "not updating unwritable cache $cache_file"
                   8641:   fi
                   8642: fi
                   8643: rm -f confcache
                   8644: 
                   8645: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   8646: # Let make expand exec_prefix.
                   8647: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   8648: 
1.15      paf      8649: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   8650: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   8651: # trailing colons and then remove the whole line if VPATH becomes empty
                   8652: # (actually we leave an empty line to preserve line numbers).
1.1       parser   8653: if test "x$srcdir" = x.; then
1.15      paf      8654:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   8655: s/:*\$(srcdir):*/:/;
                   8656: s/:*\${srcdir}:*/:/;
                   8657: s/:*@srcdir@:*/:/;
                   8658: s/^\([^=]*=[   ]*\):*/\1/;
                   8659: s/:*$//;
                   8660: s/^[^=]*=[     ]*$//;
                   8661: }'
1.1       parser   8662: fi
                   8663: 
1.15      paf      8664: DEFS=-DHAVE_CONFIG_H
                   8665: 
                   8666: ac_libobjs=
                   8667: ac_ltlibobjs=
                   8668: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   8669:   # 1. Remove the extension, and $U if already installed.
                   8670:   ac_i=`echo "$ac_i" |
                   8671:          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   8672:   # 2. Add them.
                   8673:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   8674:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   8675: done
                   8676: LIBOBJS=$ac_libobjs
                   8677: 
                   8678: LTLIBOBJS=$ac_ltlibobjs
                   8679: 
1.1       parser   8680: 
1.15      paf      8681: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   8682:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   8683: Usually this means the macro was only invoked conditionally." >&5
                   8684: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   8685: Usually this means the macro was only invoked conditionally." >&2;}
                   8686:    { (exit 1); exit 1; }; }
                   8687: fi
                   8688: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   8689:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   8690: Usually this means the macro was only invoked conditionally." >&5
                   8691: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   8692: Usually this means the macro was only invoked conditionally." >&2;}
                   8693:    { (exit 1); exit 1; }; }
                   8694: fi
                   8695: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   8696:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   8697: Usually this means the macro was only invoked conditionally." >&5
                   8698: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   8699: Usually this means the macro was only invoked conditionally." >&2;}
                   8700:    { (exit 1); exit 1; }; }
                   8701: fi
1.1       parser   8702: 
                   8703: : ${CONFIG_STATUS=./config.status}
1.15      paf      8704: ac_clean_files_save=$ac_clean_files
                   8705: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   8706: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   8707: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   8708: cat >$CONFIG_STATUS <<_ACEOF
                   8709: #! $SHELL
                   8710: # Generated by $as_me.
                   8711: # Run this file to recreate the current configuration.
                   8712: # Compiler output produced by configure, useful for debugging
                   8713: # configure, is in config.log if it exists.
                   8714: 
                   8715: debug=false
                   8716: ac_cs_recheck=false
                   8717: ac_cs_silent=false
                   8718: SHELL=\${CONFIG_SHELL-$SHELL}
                   8719: _ACEOF
                   8720: 
                   8721: cat >>$CONFIG_STATUS <<\_ACEOF
                   8722: ## --------------------- ##
                   8723: ## M4sh Initialization.  ##
                   8724: ## --------------------- ##
                   8725: 
                   8726: # Be Bourne compatible
                   8727: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   8728:   emulate sh
                   8729:   NULLCMD=:
                   8730:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   8731:   # is contrary to our usage.  Disable this feature.
                   8732:   alias -g '${1+"$@"}'='"$@"'
                   8733: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   8734:   set -o posix
                   8735: fi
                   8736: 
                   8737: # Support unset when possible.
                   8738: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   8739:   as_unset=unset
                   8740: else
                   8741:   as_unset=false
                   8742: fi
                   8743: 
                   8744: 
                   8745: # Work around bugs in pre-3.0 UWIN ksh.
                   8746: $as_unset ENV MAIL MAILPATH
                   8747: PS1='$ '
                   8748: PS2='> '
                   8749: PS4='+ '
                   8750: 
                   8751: # NLS nuisances.
                   8752: for as_var in \
                   8753:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   8754:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   8755:   LC_TELEPHONE LC_TIME
                   8756: do
                   8757:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   8758:     eval $as_var=C; export $as_var
                   8759:   else
                   8760:     $as_unset $as_var
                   8761:   fi
                   8762: done
                   8763: 
                   8764: # Required to use basename.
                   8765: if expr a : '\(a\)' >/dev/null 2>&1; then
                   8766:   as_expr=expr
                   8767: else
                   8768:   as_expr=false
                   8769: fi
                   8770: 
                   8771: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   8772:   as_basename=basename
                   8773: else
                   8774:   as_basename=false
                   8775: fi
                   8776: 
                   8777: 
                   8778: # Name of the executable.
                   8779: as_me=`$as_basename "$0" ||
                   8780: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   8781:         X"$0" : 'X\(//\)$' \| \
                   8782:         X"$0" : 'X\(/\)$' \| \
                   8783:         .     : '\(.\)' 2>/dev/null ||
                   8784: echo X/"$0" |
                   8785:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   8786:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   8787:          /^X\/\(\/\).*/{ s//\1/; q; }
                   8788:          s/.*/./; q'`
                   8789: 
                   8790: 
                   8791: # PATH needs CR, and LINENO needs CR and PATH.
                   8792: # Avoid depending upon Character Ranges.
                   8793: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   8794: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   8795: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   8796: as_cr_digits='0123456789'
                   8797: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   8798: 
                   8799: # The user is always right.
                   8800: if test "${PATH_SEPARATOR+set}" != set; then
                   8801:   echo "#! /bin/sh" >conf$$.sh
                   8802:   echo  "exit 0"   >>conf$$.sh
                   8803:   chmod +x conf$$.sh
                   8804:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   8805:     PATH_SEPARATOR=';'
                   8806:   else
                   8807:     PATH_SEPARATOR=:
                   8808:   fi
                   8809:   rm -f conf$$.sh
                   8810: fi
                   8811: 
                   8812: 
                   8813:   as_lineno_1=$LINENO
                   8814:   as_lineno_2=$LINENO
                   8815:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   8816:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   8817:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   8818:   # Find who we are.  Look in the path if we contain no path at all
                   8819:   # relative or not.
                   8820:   case $0 in
                   8821:     *[\\/]* ) as_myself=$0 ;;
                   8822:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8823: for as_dir in $PATH
                   8824: do
                   8825:   IFS=$as_save_IFS
                   8826:   test -z "$as_dir" && as_dir=.
                   8827:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   8828: done
                   8829: 
                   8830:        ;;
                   8831:   esac
                   8832:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   8833:   # in which case we are not to be found in the path.
                   8834:   if test "x$as_myself" = x; then
                   8835:     as_myself=$0
                   8836:   fi
                   8837:   if test ! -f "$as_myself"; then
                   8838:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   8839: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   8840:    { (exit 1); exit 1; }; }
                   8841:   fi
                   8842:   case $CONFIG_SHELL in
                   8843:   '')
                   8844:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8845: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   8846: do
                   8847:   IFS=$as_save_IFS
                   8848:   test -z "$as_dir" && as_dir=.
                   8849:   for as_base in sh bash ksh sh5; do
                   8850:         case $as_dir in
                   8851:         /*)
                   8852:           if ("$as_dir/$as_base" -c '
                   8853:   as_lineno_1=$LINENO
                   8854:   as_lineno_2=$LINENO
                   8855:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   8856:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   8857:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   8858:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   8859:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   8860:             CONFIG_SHELL=$as_dir/$as_base
                   8861:             export CONFIG_SHELL
                   8862:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   8863:           fi;;
                   8864:         esac
                   8865:        done
                   8866: done
                   8867: ;;
                   8868:   esac
                   8869: 
                   8870:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   8871:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   8872:   # line-number line before each line; the second 'sed' does the real
                   8873:   # work.  The second script uses 'N' to pair each line-number line
                   8874:   # with the numbered line, and appends trailing '-' during
                   8875:   # substitution so that $LINENO is not a special case at line end.
                   8876:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   8877:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   8878:   sed '=' <$as_myself |
                   8879:     sed '
                   8880:       N
                   8881:       s,$,-,
                   8882:       : loop
                   8883:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   8884:       t loop
                   8885:       s,-$,,
                   8886:       s,^['$as_cr_digits']*\n,,
                   8887:     ' >$as_me.lineno &&
                   8888:   chmod +x $as_me.lineno ||
                   8889:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   8890: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   8891:    { (exit 1); exit 1; }; }
                   8892: 
                   8893:   # Don't try to exec as it changes $[0], causing all sort of problems
                   8894:   # (the dirname of $[0] is not the place where we might find the
                   8895:   # original and so on.  Autoconf is especially sensible to this).
                   8896:   . ./$as_me.lineno
                   8897:   # Exit status is that of the last command.
                   8898:   exit
                   8899: }
                   8900: 
                   8901: 
                   8902: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   8903:   *c*,-n*) ECHO_N= ECHO_C='
                   8904: ' ECHO_T='     ' ;;
                   8905:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   8906:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   8907: esac
                   8908: 
                   8909: if expr a : '\(a\)' >/dev/null 2>&1; then
                   8910:   as_expr=expr
                   8911: else
                   8912:   as_expr=false
                   8913: fi
                   8914: 
                   8915: rm -f conf$$ conf$$.exe conf$$.file
                   8916: echo >conf$$.file
                   8917: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   8918:   # We could just check for DJGPP; but this test a) works b) is more generic
                   8919:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   8920:   if test -f conf$$.exe; then
                   8921:     # Don't use ln at all; we don't have any links
                   8922:     as_ln_s='cp -p'
                   8923:   else
                   8924:     as_ln_s='ln -s'
                   8925:   fi
                   8926: elif ln conf$$.file conf$$ 2>/dev/null; then
                   8927:   as_ln_s=ln
                   8928: else
                   8929:   as_ln_s='cp -p'
                   8930: fi
                   8931: rm -f conf$$ conf$$.exe conf$$.file
                   8932: 
                   8933: if mkdir -p . 2>/dev/null; then
                   8934:   as_mkdir_p=:
                   8935: else
                   8936:   as_mkdir_p=false
                   8937: fi
                   8938: 
                   8939: as_executable_p="test -f"
                   8940: 
                   8941: # Sed expression to map a string onto a valid CPP name.
                   8942: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   8943: 
                   8944: # Sed expression to map a string onto a valid variable name.
                   8945: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   8946: 
                   8947: 
                   8948: # IFS
                   8949: # We need space, tab and new line, in precisely that order.
                   8950: as_nl='
                   8951: '
                   8952: IFS="  $as_nl"
                   8953: 
                   8954: # CDPATH.
                   8955: $as_unset CDPATH
                   8956: 
                   8957: exec 6>&1
                   8958: 
                   8959: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   8960: # report actual input values of CONFIG_FILES etc. instead of their
                   8961: # values after options handling.  Logging --version etc. is OK.
                   8962: exec 5>>config.log
                   8963: {
                   8964:   echo
                   8965:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   8966: ## Running $as_me. ##
                   8967: _ASBOX
                   8968: } >&5
                   8969: cat >&5 <<_CSEOF
                   8970: 
                   8971: This file was extended by $as_me, which was
                   8972: generated by GNU Autoconf 2.57.  Invocation command line was
                   8973: 
                   8974:   CONFIG_FILES    = $CONFIG_FILES
                   8975:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   8976:   CONFIG_LINKS    = $CONFIG_LINKS
                   8977:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   8978:   $ $0 $@
                   8979: 
                   8980: _CSEOF
                   8981: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   8982: echo >&5
                   8983: _ACEOF
                   8984: 
                   8985: # Files that config.status was made for.
                   8986: if test -n "$ac_config_files"; then
                   8987:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   8988: fi
                   8989: 
                   8990: if test -n "$ac_config_headers"; then
                   8991:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   8992: fi
                   8993: 
                   8994: if test -n "$ac_config_links"; then
                   8995:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   8996: fi
                   8997: 
                   8998: if test -n "$ac_config_commands"; then
                   8999:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   9000: fi
                   9001: 
                   9002: cat >>$CONFIG_STATUS <<\_ACEOF
                   9003: 
                   9004: ac_cs_usage="\
                   9005: \`$as_me' instantiates files from templates according to the
                   9006: current configuration.
                   9007: 
                   9008: Usage: $0 [OPTIONS] [FILE]...
                   9009: 
                   9010:   -h, --help       print this help, then exit
                   9011:   -V, --version    print version number, then exit
                   9012:   -q, --quiet      do not print progress messages
                   9013:   -d, --debug      don't remove temporary files
                   9014:       --recheck    update $as_me by reconfiguring in the same conditions
                   9015:   --file=FILE[:TEMPLATE]
                   9016:                    instantiate the configuration file FILE
                   9017:   --header=FILE[:TEMPLATE]
                   9018:                    instantiate the configuration header FILE
                   9019: 
                   9020: Configuration files:
                   9021: $config_files
                   9022: 
                   9023: Configuration headers:
                   9024: $config_headers
                   9025: 
                   9026: Configuration commands:
                   9027: $config_commands
                   9028: 
                   9029: Report bugs to <bug-autoconf@gnu.org>."
                   9030: _ACEOF
                   9031: 
                   9032: cat >>$CONFIG_STATUS <<_ACEOF
                   9033: ac_cs_version="\\
                   9034: config.status
                   9035: configured by $0, generated by GNU Autoconf 2.57,
                   9036:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   9037: 
                   9038: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   9039: Free Software Foundation, Inc.
                   9040: This config.status script is free software; the Free Software Foundation
                   9041: gives unlimited permission to copy, distribute and modify it."
                   9042: srcdir=$srcdir
                   9043: INSTALL="$INSTALL"
                   9044: _ACEOF
                   9045: 
                   9046: cat >>$CONFIG_STATUS <<\_ACEOF
                   9047: # If no file are specified by the user, then we need to provide default
                   9048: # value.  By we need to know if files were specified by the user.
                   9049: ac_need_defaults=:
                   9050: while test $# != 0
                   9051: do
                   9052:   case $1 in
                   9053:   --*=*)
                   9054:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   9055:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   9056:     ac_shift=:
                   9057:     ;;
                   9058:   -*)
                   9059:     ac_option=$1
                   9060:     ac_optarg=$2
                   9061:     ac_shift=shift
                   9062:     ;;
                   9063:   *) # This is not an option, so the user has probably given explicit
                   9064:      # arguments.
                   9065:      ac_option=$1
                   9066:      ac_need_defaults=false;;
                   9067:   esac
                   9068: 
                   9069:   case $ac_option in
                   9070:   # Handling of the options.
                   9071: _ACEOF
                   9072: cat >>$CONFIG_STATUS <<\_ACEOF
                   9073:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9074:     ac_cs_recheck=: ;;
                   9075:   --version | --vers* | -V )
                   9076:     echo "$ac_cs_version"; exit 0 ;;
                   9077:   --he | --h)
                   9078:     # Conflict between --help and --header
                   9079:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   9080: Try \`$0 --help' for more information." >&5
                   9081: echo "$as_me: error: ambiguous option: $1
                   9082: Try \`$0 --help' for more information." >&2;}
                   9083:    { (exit 1); exit 1; }; };;
                   9084:   --help | --hel | -h )
                   9085:     echo "$ac_cs_usage"; exit 0 ;;
                   9086:   --debug | --d* | -d )
                   9087:     debug=: ;;
                   9088:   --file | --fil | --fi | --f )
                   9089:     $ac_shift
                   9090:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   9091:     ac_need_defaults=false;;
                   9092:   --header | --heade | --head | --hea )
                   9093:     $ac_shift
                   9094:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   9095:     ac_need_defaults=false;;
                   9096:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9097:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9098:     ac_cs_silent=: ;;
                   9099: 
                   9100:   # This is an error.
                   9101:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   9102: Try \`$0 --help' for more information." >&5
                   9103: echo "$as_me: error: unrecognized option: $1
                   9104: Try \`$0 --help' for more information." >&2;}
                   9105:    { (exit 1); exit 1; }; } ;;
                   9106: 
                   9107:   *) ac_config_targets="$ac_config_targets $1" ;;
1.1       parser   9108: 
1.15      paf      9109:   esac
                   9110:   shift
                   9111: done
                   9112: 
                   9113: ac_configure_extra_args=
                   9114: 
                   9115: if $ac_cs_silent; then
                   9116:   exec 6>/dev/null
                   9117:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9118: fi
                   9119: 
                   9120: _ACEOF
                   9121: cat >>$CONFIG_STATUS <<_ACEOF
                   9122: if \$ac_cs_recheck; then
                   9123:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   9124:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   9125: fi
                   9126: 
                   9127: _ACEOF
                   9128: 
                   9129: cat >>$CONFIG_STATUS <<_ACEOF
1.1       parser   9130: #
1.15      paf      9131: # INIT-COMMANDS section.
1.1       parser   9132: #
                   9133: 
1.15      paf      9134: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   9135: 
                   9136: _ACEOF
                   9137: 
                   9138: 
                   9139: 
                   9140: cat >>$CONFIG_STATUS <<\_ACEOF
                   9141: for ac_config_target in $ac_config_targets
1.1       parser   9142: do
1.15      paf      9143:   case "$ac_config_target" in
                   9144:   # Handling of arguments.
                   9145:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   9146:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   9147:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   9148:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   9149: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   9150:    { (exit 1); exit 1; }; };;
1.1       parser   9151:   esac
                   9152: done
                   9153: 
1.15      paf      9154: # If the user did not use the arguments to specify the items to instantiate,
                   9155: # then the envvar interface is used.  Set only those that are not.
                   9156: # We use the long form for the default assignment because of an extremely
                   9157: # bizarre bug on SunOS 4.1.3.
                   9158: if $ac_need_defaults; then
                   9159:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   9160:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   9161:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   9162: fi
                   9163: 
                   9164: # Have a temporary directory for convenience.  Make it in the build tree
                   9165: # simply because there is no reason to put it here, and in addition,
                   9166: # creating and moving files from /tmp can sometimes cause problems.
                   9167: # Create a temporary directory, and hook for its removal unless debugging.
                   9168: $debug ||
                   9169: {
                   9170:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   9171:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   9172: }
                   9173: 
                   9174: # Create a (secure) tmp directory for tmp files.
                   9175: 
                   9176: {
                   9177:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   9178:   test -n "$tmp" && test -d "$tmp"
                   9179: }  ||
                   9180: {
                   9181:   tmp=./confstat$$-$RANDOM
                   9182:   (umask 077 && mkdir $tmp)
                   9183: } ||
                   9184: {
                   9185:    echo "$me: cannot create a temporary directory in ." >&2
                   9186:    { (exit 1); exit 1; }
                   9187: }
                   9188: 
                   9189: _ACEOF
1.1       parser   9190: 
1.15      paf      9191: cat >>$CONFIG_STATUS <<_ACEOF
1.1       parser   9192: 
1.15      paf      9193: #
                   9194: # CONFIG_FILES section.
                   9195: #
1.1       parser   9196: 
1.15      paf      9197: # No need to generate the scripts if there are no CONFIG_FILES.
                   9198: # This happens for instance when ./config.status config.h
                   9199: if test -n "\$CONFIG_FILES"; then
                   9200:   # Protect against being on the right side of a sed subst in config.status.
                   9201:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   9202:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   9203: s,@SHELL@,$SHELL,;t t
                   9204: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   9205: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   9206: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   9207: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   9208: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   9209: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   9210: s,@exec_prefix@,$exec_prefix,;t t
                   9211: s,@prefix@,$prefix,;t t
                   9212: s,@program_transform_name@,$program_transform_name,;t t
                   9213: s,@bindir@,$bindir,;t t
                   9214: s,@sbindir@,$sbindir,;t t
                   9215: s,@libexecdir@,$libexecdir,;t t
                   9216: s,@datadir@,$datadir,;t t
                   9217: s,@sysconfdir@,$sysconfdir,;t t
                   9218: s,@sharedstatedir@,$sharedstatedir,;t t
                   9219: s,@localstatedir@,$localstatedir,;t t
                   9220: s,@libdir@,$libdir,;t t
                   9221: s,@includedir@,$includedir,;t t
                   9222: s,@oldincludedir@,$oldincludedir,;t t
                   9223: s,@infodir@,$infodir,;t t
                   9224: s,@mandir@,$mandir,;t t
                   9225: s,@build_alias@,$build_alias,;t t
                   9226: s,@host_alias@,$host_alias,;t t
                   9227: s,@target_alias@,$target_alias,;t t
                   9228: s,@DEFS@,$DEFS,;t t
                   9229: s,@ECHO_C@,$ECHO_C,;t t
                   9230: s,@ECHO_N@,$ECHO_N,;t t
                   9231: s,@ECHO_T@,$ECHO_T,;t t
                   9232: s,@LIBS@,$LIBS,;t t
                   9233: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   9234: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   9235: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   9236: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   9237: s,@PACKAGE@,$PACKAGE,;t t
                   9238: s,@VERSION@,$VERSION,;t t
                   9239: s,@ACLOCAL@,$ACLOCAL,;t t
                   9240: s,@AUTOCONF@,$AUTOCONF,;t t
                   9241: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   9242: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   9243: s,@MAKEINFO@,$MAKEINFO,;t t
                   9244: s,@AMTAR@,$AMTAR,;t t
                   9245: s,@install_sh@,$install_sh,;t t
                   9246: s,@STRIP@,$STRIP,;t t
                   9247: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   9248: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   9249: s,@AWK@,$AWK,;t t
                   9250: s,@SET_MAKE@,$SET_MAKE,;t t
                   9251: s,@MYSQL_INC@,$MYSQL_INC,;t t
                   9252: s,@CXX@,$CXX,;t t
                   9253: s,@CXXFLAGS@,$CXXFLAGS,;t t
                   9254: s,@LDFLAGS@,$LDFLAGS,;t t
                   9255: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   9256: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   9257: s,@EXEEXT@,$EXEEXT,;t t
                   9258: s,@OBJEXT@,$OBJEXT,;t t
                   9259: s,@DEPDIR@,$DEPDIR,;t t
                   9260: s,@am__include@,$am__include,;t t
                   9261: s,@am__quote@,$am__quote,;t t
                   9262: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   9263: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   9264: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   9265: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   9266: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   9267: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
1.23.2.1! paf      9268: s,@CC@,$CC,;t t
        !          9269: s,@CFLAGS@,$CFLAGS,;t t
        !          9270: s,@ac_ct_CC@,$ac_ct_CC,;t t
        !          9271: s,@CCDEPMODE@,$CCDEPMODE,;t t
        !          9272: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
        !          9273: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
1.15      paf      9274: s,@INCLTDL@,$INCLTDL,;t t
                   9275: s,@LIBLTDL@,$LIBLTDL,;t t
                   9276: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   9277: s,@build@,$build,;t t
                   9278: s,@build_cpu@,$build_cpu,;t t
                   9279: s,@build_vendor@,$build_vendor,;t t
                   9280: s,@build_os@,$build_os,;t t
                   9281: s,@host@,$host,;t t
                   9282: s,@host_cpu@,$host_cpu,;t t
                   9283: s,@host_vendor@,$host_vendor,;t t
                   9284: s,@host_os@,$host_os,;t t
                   9285: s,@LN_S@,$LN_S,;t t
                   9286: s,@ECHO@,$ECHO,;t t
                   9287: s,@RANLIB@,$RANLIB,;t t
                   9288: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
1.23.2.1! paf      9289: s,@CPP@,$CPP,;t t
1.15      paf      9290: s,@EGREP@,$EGREP,;t t
                   9291: s,@LIBTOOL@,$LIBTOOL,;t t
                   9292: s,@subdirs@,$subdirs,;t t
                   9293: s,@LIBOBJS@,$LIBOBJS,;t t
                   9294: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       parser   9295: CEOF
                   9296: 
1.15      paf      9297: _ACEOF
1.1       parser   9298: 
1.15      paf      9299:   cat >>$CONFIG_STATUS <<\_ACEOF
                   9300:   # Split the substitutions into bite-sized pieces for seds with
                   9301:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   9302:   ac_max_sed_lines=48
                   9303:   ac_sed_frag=1 # Number of current file.
                   9304:   ac_beg=1 # First line for current file.
                   9305:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   9306:   ac_more_lines=:
                   9307:   ac_sed_cmds=
                   9308:   while $ac_more_lines; do
                   9309:     if test $ac_beg -gt 1; then
                   9310:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   9311:     else
                   9312:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   9313:     fi
                   9314:     if test ! -s $tmp/subs.frag; then
                   9315:       ac_more_lines=false
                   9316:     else
                   9317:       # The purpose of the label and of the branching condition is to
                   9318:       # speed up the sed processing (if there are no `@' at all, there
                   9319:       # is no need to browse any of the substitutions).
                   9320:       # These are the two extra sed commands mentioned above.
                   9321:       (echo ':t
                   9322:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   9323:       if test -z "$ac_sed_cmds"; then
                   9324:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   9325:       else
                   9326:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   9327:       fi
                   9328:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   9329:       ac_beg=$ac_end
                   9330:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   9331:     fi
                   9332:   done
                   9333:   if test -z "$ac_sed_cmds"; then
                   9334:     ac_sed_cmds=cat
1.1       parser   9335:   fi
1.15      paf      9336: fi # test -n "$CONFIG_FILES"
1.1       parser   9337: 
1.15      paf      9338: _ACEOF
                   9339: cat >>$CONFIG_STATUS <<\_ACEOF
                   9340: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   9341:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   9342:   case $ac_file in
                   9343:   - | *:- | *:-:* ) # input from stdin
                   9344:         cat >$tmp/stdin
                   9345:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9346:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9347:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9348:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9349:   * )   ac_file_in=$ac_file.in ;;
                   9350:   esac
1.1       parser   9351: 
1.15      paf      9352:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   9353:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   9354: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9355:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   9356:          X"$ac_file" : 'X\(//\)$' \| \
                   9357:          X"$ac_file" : 'X\(/\)' \| \
                   9358:          .     : '\(.\)' 2>/dev/null ||
                   9359: echo X"$ac_file" |
                   9360:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9361:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9362:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9363:          /^X\(\/\).*/{ s//\1/; q; }
                   9364:          s/.*/./; q'`
                   9365:   { if $as_mkdir_p; then
                   9366:     mkdir -p "$ac_dir"
                   9367:   else
                   9368:     as_dir="$ac_dir"
                   9369:     as_dirs=
                   9370:     while test ! -d "$as_dir"; do
                   9371:       as_dirs="$as_dir $as_dirs"
                   9372:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9373: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9374:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9375:          X"$as_dir" : 'X\(//\)$' \| \
                   9376:          X"$as_dir" : 'X\(/\)' \| \
                   9377:          .     : '\(.\)' 2>/dev/null ||
                   9378: echo X"$as_dir" |
                   9379:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9380:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9381:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9382:          /^X\(\/\).*/{ s//\1/; q; }
                   9383:          s/.*/./; q'`
                   9384:     done
                   9385:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9386:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9387: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9388:    { (exit 1); exit 1; }; }; }
                   9389: 
                   9390:   ac_builddir=.
                   9391: 
                   9392: if test "$ac_dir" != .; then
                   9393:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9394:   # A "../" for each directory in $ac_dir_suffix.
                   9395:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9396: else
                   9397:   ac_dir_suffix= ac_top_builddir=
                   9398: fi
                   9399: 
                   9400: case $srcdir in
                   9401:   .)  # No --srcdir option.  We are building in place.
                   9402:     ac_srcdir=.
                   9403:     if test -z "$ac_top_builddir"; then
                   9404:        ac_top_srcdir=.
                   9405:     else
                   9406:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   9407:     fi ;;
                   9408:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   9409:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9410:     ac_top_srcdir=$srcdir ;;
1.1       parser   9411:   *) # Relative path.
1.15      paf      9412:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   9413:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   9414: esac
                   9415: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   9416: # absolute.
                   9417: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   9418: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   9419: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   9420: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   9421: 
                   9422: 
                   9423:   case $INSTALL in
                   9424:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   9425:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       parser   9426:   esac
                   9427: 
1.15      paf      9428:   if test x"$ac_file" != x-; then
                   9429:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   9430: echo "$as_me: creating $ac_file" >&6;}
                   9431:     rm -f "$ac_file"
                   9432:   fi
                   9433:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   9434:   # use $as_me), people would be surprised to read:
                   9435:   #    /* config.h.  Generated by config.status.  */
                   9436:   if test x"$ac_file" = x-; then
                   9437:     configure_input=
                   9438:   else
                   9439:     configure_input="$ac_file.  "
                   9440:   fi
                   9441:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   9442:                                      sed 's,.*/,,'` by configure."
                   9443: 
                   9444:   # First look for the input files in the build tree, otherwise in the
                   9445:   # src tree.
                   9446:   ac_file_inputs=`IFS=:
                   9447:     for f in $ac_file_in; do
                   9448:       case $f in
                   9449:       -) echo $tmp/stdin ;;
                   9450:       [\\/$]*)
                   9451:          # Absolute (can't be DOS-style, as IFS=:)
                   9452:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9453: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9454:    { (exit 1); exit 1; }; }
                   9455:          echo $f;;
                   9456:       *) # Relative
                   9457:          if test -f "$f"; then
                   9458:            # Build tree
                   9459:            echo $f
                   9460:          elif test -f "$srcdir/$f"; then
                   9461:            # Source tree
                   9462:            echo $srcdir/$f
                   9463:          else
                   9464:            # /dev/null tree
                   9465:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9466: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9467:    { (exit 1); exit 1; }; }
                   9468:          fi;;
                   9469:       esac
                   9470:     done` || { (exit 1); exit 1; }
                   9471: _ACEOF
                   9472: cat >>$CONFIG_STATUS <<_ACEOF
                   9473:   sed "$ac_vpsub
                   9474: $extrasub
                   9475: _ACEOF
                   9476: cat >>$CONFIG_STATUS <<\_ACEOF
                   9477: :t
                   9478: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   9479: s,@configure_input@,$configure_input,;t t
                   9480: s,@srcdir@,$ac_srcdir,;t t
                   9481: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   9482: s,@top_srcdir@,$ac_top_srcdir,;t t
                   9483: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   9484: s,@builddir@,$ac_builddir,;t t
                   9485: s,@abs_builddir@,$ac_abs_builddir,;t t
                   9486: s,@top_builddir@,$ac_top_builddir,;t t
                   9487: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   9488: s,@INSTALL@,$ac_INSTALL,;t t
                   9489: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   9490:   rm -f $tmp/stdin
                   9491:   if test x"$ac_file" != x-; then
                   9492:     mv $tmp/out $ac_file
                   9493:   else
                   9494:     cat $tmp/out
                   9495:     rm -f $tmp/out
                   9496:   fi
                   9497: 
                   9498: done
                   9499: _ACEOF
                   9500: cat >>$CONFIG_STATUS <<\_ACEOF
                   9501: 
                   9502: #
                   9503: # CONFIG_HEADER section.
                   9504: #
1.1       parser   9505: 
                   9506: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   9507: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   9508: #
                   9509: # ac_d sets the value in "#define NAME VALUE" lines.
1.15      paf      9510: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   9511: ac_dB='[       ].*$,\1#\2'
                   9512: ac_dC=' '
                   9513: ac_dD=',;t'
                   9514: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   9515: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   9516: ac_uB='$,\1#\2define\3'
1.1       parser   9517: ac_uC=' '
1.15      paf      9518: ac_uD=',;t'
1.1       parser   9519: 
1.15      paf      9520: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       parser   9521:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.15      paf      9522:   case $ac_file in
                   9523:   - | *:- | *:-:* ) # input from stdin
                   9524:         cat >$tmp/stdin
                   9525:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9526:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9527:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9528:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   9529:   * )   ac_file_in=$ac_file.in ;;
1.1       parser   9530:   esac
                   9531: 
1.15      paf      9532:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   9533: echo "$as_me: creating $ac_file" >&6;}
1.1       parser   9534: 
1.15      paf      9535:   # First look for the input files in the build tree, otherwise in the
                   9536:   # src tree.
                   9537:   ac_file_inputs=`IFS=:
                   9538:     for f in $ac_file_in; do
                   9539:       case $f in
                   9540:       -) echo $tmp/stdin ;;
                   9541:       [\\/$]*)
                   9542:          # Absolute (can't be DOS-style, as IFS=:)
                   9543:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9544: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9545:    { (exit 1); exit 1; }; }
                   9546:          echo $f;;
                   9547:       *) # Relative
                   9548:          if test -f "$f"; then
                   9549:            # Build tree
                   9550:            echo $f
                   9551:          elif test -f "$srcdir/$f"; then
                   9552:            # Source tree
                   9553:            echo $srcdir/$f
                   9554:          else
                   9555:            # /dev/null tree
                   9556:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   9557: echo "$as_me: error: cannot find input file: $f" >&2;}
                   9558:    { (exit 1); exit 1; }; }
                   9559:          fi;;
                   9560:       esac
                   9561:     done` || { (exit 1); exit 1; }
                   9562:   # Remove the trailing spaces.
                   9563:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
                   9564: 
                   9565: _ACEOF
                   9566: 
                   9567: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   9568: # `conftest.undefs', that substitutes the proper values into
                   9569: # config.h.in to produce config.h.  The first handles `#define'
                   9570: # templates, and the second `#undef' templates.
                   9571: # And first: Protect against being on the right side of a sed subst in
                   9572: # config.status.  Protect against being in an unquoted here document
                   9573: # in config.status.
                   9574: rm -f conftest.defines conftest.undefs
                   9575: # Using a here document instead of a string reduces the quoting nightmare.
                   9576: # Putting comments in sed scripts is not portable.
                   9577: #
                   9578: # `end' is used to avoid that the second main sed command (meant for
                   9579: # 0-ary CPP macros) applies to n-ary macro definitions.
                   9580: # See the Autoconf documentation for `clear'.
                   9581: cat >confdef2sed.sed <<\_ACEOF
                   9582: s/[\\&,]/\\&/g
                   9583: s,[\\$`],\\&,g
                   9584: t clear
                   9585: : clear
                   9586: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   9587: t end
                   9588: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   9589: : end
                   9590: _ACEOF
                   9591: # If some macros were called several times there might be several times
                   9592: # the same #defines, which is useless.  Nevertheless, we may not want to
                   9593: # sort them, since we want the *last* AC-DEFINE to be honored.
                   9594: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   9595: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   9596: rm -f confdef2sed.sed
1.1       parser   9597: 
                   9598: # This sed command replaces #undef with comments.  This is necessary, for
                   9599: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   9600: # on some systems where configure will not decide to define it.
1.15      paf      9601: cat >>conftest.undefs <<\_ACEOF
                   9602: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   9603: _ACEOF
                   9604: 
                   9605: # Break up conftest.defines because some shells have a limit on the size
                   9606: # of here documents, and old seds have small limits too (100 cmds).
                   9607: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   9608: echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   9609: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   9610: echo '  :' >>$CONFIG_STATUS
                   9611: rm -f conftest.tail
                   9612: while grep . conftest.defines >/dev/null
                   9613: do
                   9614:   # Write a limited-size here document to $tmp/defines.sed.
                   9615:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   9616:   # Speed up: don't consider the non `#define' lines.
                   9617:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   9618:   # Work around the forget-to-reset-the-flag bug.
                   9619:   echo 't clr' >>$CONFIG_STATUS
                   9620:   echo ': clr' >>$CONFIG_STATUS
                   9621:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   9622:   echo 'CEOF
                   9623:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   9624:   rm -f $tmp/in
                   9625:   mv $tmp/out $tmp/in
                   9626: ' >>$CONFIG_STATUS
                   9627:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   9628:   rm -f conftest.defines
                   9629:   mv conftest.tail conftest.defines
                   9630: done
                   9631: rm -f conftest.defines
                   9632: echo '  fi # grep' >>$CONFIG_STATUS
                   9633: echo >>$CONFIG_STATUS
                   9634: 
                   9635: # Break up conftest.undefs because some shells have a limit on the size
                   9636: # of here documents, and old seds have small limits too (100 cmds).
                   9637: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       parser   9638: rm -f conftest.tail
1.15      paf      9639: while grep . conftest.undefs >/dev/null
1.1       parser   9640: do
1.15      paf      9641:   # Write a limited-size here document to $tmp/undefs.sed.
                   9642:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   9643:   # Speed up: don't consider the non `#undef'
                   9644:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   9645:   # Work around the forget-to-reset-the-flag bug.
                   9646:   echo 't clr' >>$CONFIG_STATUS
                   9647:   echo ': clr' >>$CONFIG_STATUS
                   9648:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       parser   9649:   echo 'CEOF
1.15      paf      9650:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   9651:   rm -f $tmp/in
                   9652:   mv $tmp/out $tmp/in
                   9653: ' >>$CONFIG_STATUS
                   9654:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   9655:   rm -f conftest.undefs
                   9656:   mv conftest.tail conftest.undefs
                   9657: done
                   9658: rm -f conftest.undefs
                   9659: 
                   9660: cat >>$CONFIG_STATUS <<\_ACEOF
                   9661:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   9662:   # use $as_me), people would be surprised to read:
                   9663:   #    /* config.h.  Generated by config.status.  */
                   9664:   if test x"$ac_file" = x-; then
                   9665:     echo "/* Generated by configure.  */" >$tmp/config.h
                   9666:   else
                   9667:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   9668:   fi
                   9669:   cat $tmp/in >>$tmp/config.h
                   9670:   rm -f $tmp/in
                   9671:   if test x"$ac_file" != x-; then
                   9672:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   9673:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   9674: echo "$as_me: $ac_file is unchanged" >&6;}
                   9675:     else
                   9676:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   9677: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9678:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   9679:          X"$ac_file" : 'X\(//\)$' \| \
                   9680:          X"$ac_file" : 'X\(/\)' \| \
                   9681:          .     : '\(.\)' 2>/dev/null ||
                   9682: echo X"$ac_file" |
                   9683:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9684:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9685:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9686:          /^X\(\/\).*/{ s//\1/; q; }
                   9687:          s/.*/./; q'`
                   9688:       { if $as_mkdir_p; then
                   9689:     mkdir -p "$ac_dir"
                   9690:   else
                   9691:     as_dir="$ac_dir"
                   9692:     as_dirs=
                   9693:     while test ! -d "$as_dir"; do
                   9694:       as_dirs="$as_dir $as_dirs"
                   9695:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9696: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9697:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9698:          X"$as_dir" : 'X\(//\)$' \| \
                   9699:          X"$as_dir" : 'X\(/\)' \| \
                   9700:          .     : '\(.\)' 2>/dev/null ||
                   9701: echo X"$as_dir" |
                   9702:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9703:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9704:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9705:          /^X\(\/\).*/{ s//\1/; q; }
                   9706:          s/.*/./; q'`
                   9707:     done
                   9708:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9709:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9710: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9711:    { (exit 1); exit 1; }; }; }
                   9712: 
                   9713:       rm -f $ac_file
                   9714:       mv $tmp/config.h $ac_file
1.1       parser   9715:     fi
1.15      paf      9716:   else
                   9717:     cat $tmp/config.h
                   9718:     rm -f $tmp/config.h
1.1       parser   9719:   fi
1.15      paf      9720: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
                   9721: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   9722: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9723:          X$ac_file : 'X\(//\)[^/]' \| \
                   9724:          X$ac_file : 'X\(//\)$' \| \
                   9725:          X$ac_file : 'X\(/\)' \| \
                   9726:          .     : '\(.\)' 2>/dev/null ||
                   9727: echo X$ac_file |
                   9728:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9729:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9730:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9731:          /^X\(\/\).*/{ s//\1/; q; }
                   9732:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   9733: done
                   9734: _ACEOF
                   9735: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   9736: 
1.15      paf      9737: #
                   9738: # CONFIG_COMMANDS section.
                   9739: #
                   9740: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   9741:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   9742:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9743:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   9744: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9745:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   9746:          X"$ac_dest" : 'X\(//\)$' \| \
                   9747:          X"$ac_dest" : 'X\(/\)' \| \
                   9748:          .     : '\(.\)' 2>/dev/null ||
                   9749: echo X"$ac_dest" |
                   9750:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9751:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9752:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9753:          /^X\(\/\).*/{ s//\1/; q; }
                   9754:          s/.*/./; q'`
                   9755:   ac_builddir=.
                   9756: 
                   9757: if test "$ac_dir" != .; then
                   9758:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9759:   # A "../" for each directory in $ac_dir_suffix.
                   9760:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9761: else
                   9762:   ac_dir_suffix= ac_top_builddir=
                   9763: fi
                   9764: 
                   9765: case $srcdir in
                   9766:   .)  # No --srcdir option.  We are building in place.
                   9767:     ac_srcdir=.
                   9768:     if test -z "$ac_top_builddir"; then
                   9769:        ac_top_srcdir=.
                   9770:     else
                   9771:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   9772:     fi ;;
                   9773:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   9774:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9775:     ac_top_srcdir=$srcdir ;;
                   9776:   *) # Relative path.
                   9777:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   9778:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   9779: esac
                   9780: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   9781: # absolute.
                   9782: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   9783: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   9784: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   9785: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   9786: 
                   9787: 
                   9788:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   9789: echo "$as_me: executing $ac_dest commands" >&6;}
                   9790:   case $ac_dest in
                   9791:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   9792:   # Strip MF so we end up with the name of the file.
                   9793:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   9794:   # Check whether this is an Automake generated Makefile or not.
                   9795:   # We used to match only the files named `Makefile.in', but
                   9796:   # some people rename them; so instead we look at the file content.
                   9797:   # Grep'ing the first line is not enough: some people post-process
                   9798:   # each Makefile.in and add a new line on top of each file to say so.
                   9799:   # So let's grep whole file.
                   9800:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   9801:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   9802: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9803:          X"$mf" : 'X\(//\)[^/]' \| \
                   9804:          X"$mf" : 'X\(//\)$' \| \
                   9805:          X"$mf" : 'X\(/\)' \| \
                   9806:          .     : '\(.\)' 2>/dev/null ||
                   9807: echo X"$mf" |
                   9808:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9809:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9810:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9811:          /^X\(\/\).*/{ s//\1/; q; }
                   9812:          s/.*/./; q'`
                   9813:   else
                   9814:     continue
                   9815:   fi
                   9816:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   9817:   # Extract the definition of DEP_FILES from the Makefile without
                   9818:   # running `make'.
                   9819:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   9820:   test -z "$DEPDIR" && continue
                   9821:   # When using ansi2knr, U may be empty or an underscore; expand it
                   9822:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   9823:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   9824:   # We invoke sed twice because it is the simplest approach to
                   9825:   # changing $(DEPDIR) to its actual value in the expansion.
                   9826:   for file in `sed -n -e '
                   9827:     /^DEP_FILES = .*\\\\$/ {
                   9828:       s/^DEP_FILES = //
                   9829:       :loop
                   9830:        s/\\\\$//
                   9831:        p
                   9832:        n
                   9833:        /\\\\$/ b loop
                   9834:       p
                   9835:     }
                   9836:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   9837:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   9838:     # Make sure the directory exists.
                   9839:     test -f "$dirpart/$file" && continue
                   9840:     fdir=`(dirname "$file") 2>/dev/null ||
                   9841: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9842:          X"$file" : 'X\(//\)[^/]' \| \
                   9843:          X"$file" : 'X\(//\)$' \| \
                   9844:          X"$file" : 'X\(/\)' \| \
                   9845:          .     : '\(.\)' 2>/dev/null ||
                   9846: echo X"$file" |
                   9847:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9848:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9849:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9850:          /^X\(\/\).*/{ s//\1/; q; }
                   9851:          s/.*/./; q'`
                   9852:     { if $as_mkdir_p; then
                   9853:     mkdir -p $dirpart/$fdir
                   9854:   else
                   9855:     as_dir=$dirpart/$fdir
                   9856:     as_dirs=
                   9857:     while test ! -d "$as_dir"; do
                   9858:       as_dirs="$as_dir $as_dirs"
                   9859:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9860: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9861:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9862:          X"$as_dir" : 'X\(//\)$' \| \
                   9863:          X"$as_dir" : 'X\(/\)' \| \
                   9864:          .     : '\(.\)' 2>/dev/null ||
                   9865: echo X"$as_dir" |
                   9866:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9867:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9868:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9869:          /^X\(\/\).*/{ s//\1/; q; }
                   9870:          s/.*/./; q'`
                   9871:     done
                   9872:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9873:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   9874: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   9875:    { (exit 1); exit 1; }; }; }
1.1       parser   9876: 
1.15      paf      9877:     # echo "creating $dirpart/$file"
                   9878:     echo '# dummy' > "$dirpart/$file"
                   9879:   done
                   9880: done
                   9881:  ;;
                   9882:   esac
                   9883: done
                   9884: _ACEOF
1.1       parser   9885: 
1.15      paf      9886: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   9887: 
1.15      paf      9888: { (exit 0); exit 0; }
                   9889: _ACEOF
1.1       parser   9890: chmod +x $CONFIG_STATUS
1.15      paf      9891: ac_clean_files=$ac_clean_files_save
                   9892: 
                   9893: 
                   9894: # configure is writing to config.log, and then calls config.status.
                   9895: # config.status does its own redirection, appending to config.log.
                   9896: # Unfortunately, on DOS this fails, as config.log is still kept open
                   9897: # by configure, so config.status won't be able to write to it; its
                   9898: # output is simply discarded.  So we exec the FD to /dev/null,
                   9899: # effectively closing config.log, so it can be properly (re)opened and
                   9900: # appended to by config.status.  When coming back to configure, we
                   9901: # need to make the FD available again.
                   9902: if test "$no_create" != yes; then
                   9903:   ac_cs_success=:
                   9904:   ac_config_status_args=
                   9905:   test "$silent" = yes &&
                   9906:     ac_config_status_args="$ac_config_status_args --quiet"
                   9907:   exec 5>/dev/null
                   9908:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   9909:   exec 5>>config.log
                   9910:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   9911:   # would make configure fail if this is the last instruction.
                   9912:   $ac_cs_success || { (exit 1); exit 1; }
                   9913: fi
1.1       parser   9914: 
1.15      paf      9915: #
                   9916: # CONFIG_SUBDIRS section.
                   9917: #
1.1       parser   9918: if test "$no_recursion" != yes; then
                   9919: 
                   9920:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   9921:   ac_sub_configure_args=
                   9922:   ac_prev=
                   9923:   for ac_arg in $ac_configure_args; do
                   9924:     if test -n "$ac_prev"; then
                   9925:       ac_prev=
                   9926:       continue
                   9927:     fi
1.15      paf      9928:     case $ac_arg in
1.1       parser   9929:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   9930:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   9931:       ac_prev=cache_file ;;
                   9932:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.15      paf      9933:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   9934:     | --c=*)
                   9935:       ;;
                   9936:     --config-cache | -C)
1.1       parser   9937:       ;;
                   9938:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   9939:       ac_prev=srcdir ;;
                   9940:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   9941:       ;;
1.15      paf      9942:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   9943:       ac_prev=prefix ;;
                   9944:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   9945:       ;;
1.1       parser   9946:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   9947:     esac
                   9948:   done
                   9949: 
1.15      paf      9950:   # Always prepend --prefix to ensure using the same prefix
                   9951:   # in subdir configurations.
                   9952:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   9953: 
                   9954:   ac_popdir=`pwd`
                   9955:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   9956: 
                   9957:     # Do not complain, so a configure script can configure whichever
                   9958:     # parts of a large source tree are present.
1.15      paf      9959:     test -d $srcdir/$ac_dir || continue
1.1       parser   9960: 
1.15      paf      9961:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   9962: echo "$as_me: configuring in $ac_dir" >&6;}
                   9963:     { if $as_mkdir_p; then
                   9964:     mkdir -p "$ac_dir"
                   9965:   else
                   9966:     as_dir="$ac_dir"
                   9967:     as_dirs=
                   9968:     while test ! -d "$as_dir"; do
                   9969:       as_dirs="$as_dir $as_dirs"
                   9970:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9971: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9972:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   9973:          X"$as_dir" : 'X\(//\)$' \| \
                   9974:          X"$as_dir" : 'X\(/\)' \| \
                   9975:          .     : '\(.\)' 2>/dev/null ||
                   9976: echo X"$as_dir" |
                   9977:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9978:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9979:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9980:          /^X\(\/\).*/{ s//\1/; q; }
                   9981:          s/.*/./; q'`
                   9982:     done
                   9983:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9984:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9985: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9986:    { (exit 1); exit 1; }; }; }
                   9987: 
                   9988:     ac_builddir=.
                   9989: 
                   9990: if test "$ac_dir" != .; then
                   9991:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9992:   # A "../" for each directory in $ac_dir_suffix.
                   9993:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9994: else
                   9995:   ac_dir_suffix= ac_top_builddir=
                   9996: fi
                   9997: 
                   9998: case $srcdir in
                   9999:   .)  # No --srcdir option.  We are building in place.
                   10000:     ac_srcdir=.
                   10001:     if test -z "$ac_top_builddir"; then
                   10002:        ac_top_srcdir=.
                   10003:     else
                   10004:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   10005:     fi ;;
                   10006:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   10007:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10008:     ac_top_srcdir=$srcdir ;;
                   10009:   *) # Relative path.
                   10010:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   10011:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   10012: esac
                   10013: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   10014: # absolute.
                   10015: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   10016: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   10017: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   10018: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1       parser   10019: 
                   10020: 
1.15      paf      10021:     cd $ac_dir
1.1       parser   10022: 
                   10023:     # Check for guested configure; otherwise get Cygnus style configure.
1.15      paf      10024:     if test -f $ac_srcdir/configure.gnu; then
                   10025:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   10026:     elif test -f $ac_srcdir/configure; then
                   10027:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   10028:     elif test -f $ac_srcdir/configure.in; then
1.1       parser   10029:       ac_sub_configure=$ac_configure
                   10030:     else
1.15      paf      10031:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   10032: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   10033:       ac_sub_configure=
                   10034:     fi
                   10035: 
                   10036:     # The recursion is here.
                   10037:     if test -n "$ac_sub_configure"; then
                   10038:       # Make the cache file name correct relative to the subdirectory.
1.15      paf      10039:       case $cache_file in
                   10040:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       parser   10041:       *) # Relative path.
1.15      paf      10042:         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       parser   10043:       esac
                   10044: 
1.15      paf      10045:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   10046: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       parser   10047:       # The eval makes quoting arguments work.
1.15      paf      10048:       eval $ac_sub_configure $ac_sub_configure_args \
                   10049:            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   10050:         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
                   10051: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   10052:    { (exit 1); exit 1; }; }
1.1       parser   10053:     fi
                   10054: 
                   10055:     cd $ac_popdir
                   10056:   done
                   10057: fi
                   10058: 

E-mail: