Annotation of sql/oracle/configure, revision 1.23.2.1

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.18      paf         3: # Generated by GNU Autoconf 2.59.
1.1       parser      4: #
1.18      paf         5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       parser      6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.11      paf         8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
                     11: 
                     12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     14:   emulate sh
                     15:   NULLCMD=:
                     16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
                     19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
                     21: fi
1.18      paf        22: DUALCASE=1; export DUALCASE # for MKS sh
1.11      paf        23: 
                     24: # Support unset when possible.
1.18      paf        25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.11      paf        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
1.18      paf        44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.11      paf        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
1.18      paf       221:   test -d ./-p && rmdir ./-p
1.11      paf       222:   as_mkdir_p=false
                    223: fi
                    224: 
                    225: as_executable_p="test -f"
                    226: 
                    227: # Sed expression to map a string onto a valid CPP name.
1.18      paf       228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.11      paf       229: 
                    230: # Sed expression to map a string onto a valid variable name.
1.18      paf       231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.11      paf       232: 
                    233: 
                    234: # IFS
                    235: # We need space, tab and new line, in precisely that order.
                    236: as_nl='
                    237: '
                    238: IFS="  $as_nl"
                    239: 
                    240: # CDPATH.
                    241: $as_unset CDPATH
                    242: 
                    243: 
                    244: # Find the correct PATH separator.  Usually this is `:', but
                    245: # DJGPP uses `;' like DOS.
                    246: if test "X${PATH_SEPARATOR+set}" != Xset; then
                    247:   UNAME=${UNAME-`uname 2>/dev/null`}
                    248:   case X$UNAME in
                    249:     *-DOS) lt_cv_sys_path_separator=';' ;;
                    250:     *)     lt_cv_sys_path_separator=':' ;;
                    251:   esac
                    252:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                    253: fi
                    254: 
                    255: 
                    256: # Check that we are running under the correct shell.
                    257: SHELL=${CONFIG_SHELL-/bin/sh}
                    258: 
                    259: case X$ECHO in
                    260: X*--fallback-echo)
                    261:   # Remove one level of quotation (which was required for Make).
                    262:   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
                    263:   ;;
                    264: esac
                    265: 
                    266: echo=${ECHO-echo}
                    267: if test "X$1" = X--no-reexec; then
                    268:   # Discard the --no-reexec flag, and continue.
                    269:   shift
                    270: elif test "X$1" = X--fallback-echo; then
                    271:   # Avoid inline document here, it may be left over
                    272:   :
                    273: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
                    274:   # Yippee, $echo works!
                    275:   :
                    276: else
                    277:   # Restart under the correct shell.
                    278:   exec $SHELL "$0" --no-reexec ${1+"$@"}
                    279: fi
                    280: 
                    281: if test "X$1" = X--fallback-echo; then
                    282:   # used as fallback echo
                    283:   shift
                    284:   cat <<EOF
                    285: 
                    286: EOF
                    287:   exit 0
                    288: fi
                    289: 
                    290: # The HP-UX ksh and POSIX shell print the target directory to stdout
                    291: # if CDPATH is set.
                    292: if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                    293: 
                    294: if test -z "$ECHO"; then
                    295: if test "X${echo_test_string+set}" != Xset; then
                    296: # find a string as large as possible, as long as the shell can cope with it
                    297:   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
                    298:     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
                    299:     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
                    300:        echo_test_string="`eval $cmd`" &&
                    301:        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
                    302:     then
                    303:       break
                    304:     fi
                    305:   done
                    306: fi
                    307: 
                    308: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    309:    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    310:    test "X$echo_testing_string" = "X$echo_test_string"; then
                    311:   :
                    312: else
                    313:   # The Solaris, AIX, and Digital Unix default echo programs unquote
                    314:   # backslashes.  This makes it impossible to quote backslashes using
                    315:   #   echo "$something" | sed 's/\\/\\\\/g'
                    316:   #
                    317:   # So, first we look for a working echo in the user's PATH.
                    318: 
                    319:   IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                    320:   for dir in $PATH /usr/ucb; do
                    321:     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
                    322:        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
                    323:        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
                    324:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    325:       echo="$dir/echo"
                    326:       break
                    327:     fi
                    328:   done
                    329:   IFS="$save_ifs"
                    330: 
                    331:   if test "X$echo" = Xecho; then
                    332:     # We didn't find a better echo, so look for alternatives.
                    333:     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
                    334:        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
                    335:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    336:       # This shell has a builtin print -r that does the trick.
                    337:       echo='print -r'
                    338:     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
                    339:         test "X$CONFIG_SHELL" != X/bin/ksh; then
                    340:       # If we have ksh, try running configure again with it.
                    341:       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
                    342:       export ORIGINAL_CONFIG_SHELL
                    343:       CONFIG_SHELL=/bin/ksh
                    344:       export CONFIG_SHELL
                    345:       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
                    346:     else
                    347:       # Try using printf.
                    348:       echo='printf %s\n'
                    349:       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    350:         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    351:         test "X$echo_testing_string" = "X$echo_test_string"; then
                    352:        # Cool, printf works
                    353:        :
                    354:       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    355:           test "X$echo_testing_string" = 'X\t' &&
                    356:           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    357:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    358:        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
                    359:        export CONFIG_SHELL
                    360:        SHELL="$CONFIG_SHELL"
                    361:        export SHELL
                    362:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    363:       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    364:           test "X$echo_testing_string" = 'X\t' &&
                    365:           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    366:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    367:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    368:       else
                    369:        # maybe with a smaller string...
                    370:        prev=:
                    371: 
                    372:        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
                    373:          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
                    374:          then
                    375:            break
                    376:          fi
                    377:          prev="$cmd"
                    378:        done
                    379: 
                    380:        if test "$prev" != 'sed 50q "$0"'; then
                    381:          echo_test_string=`eval $prev`
                    382:          export echo_test_string
                    383:          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
                    384:        else
                    385:          # Oops.  We lost completely, so just stick with echo.
                    386:          echo=echo
                    387:        fi
                    388:       fi
                    389:     fi
                    390:   fi
                    391: fi
                    392: fi
                    393: 
                    394: # Copy echo and quote the copy suitably for passing to libtool from
                    395: # the Makefile, instead of quoting the original, which is used later.
                    396: ECHO=$echo
                    397: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
                    398:    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
                    399: fi
                    400: 
                    401: 
                    402: 
                    403: # Name of the host.
                    404: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    405: # so uname gets run too.
                    406: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.1       parser    407: 
1.11      paf       408: exec 6>&1
                    409: 
                    410: #
                    411: # Initializations.
                    412: #
1.1       parser    413: ac_default_prefix=/usr/local
1.11      paf       414: ac_config_libobj_dir=.
                    415: cross_compiling=no
                    416: subdirs=
                    417: MFLAGS=
                    418: MAKEFLAGS=
                    419: SHELL=${CONFIG_SHELL-/bin/sh}
                    420: 
                    421: # Maximum number of lines to put in a shell here document.
                    422: # This variable seems obsolete.  It should probably be removed, and
                    423: # only ac_max_sed_lines should be used.
                    424: : ${ac_max_here_lines=38}
                    425: 
                    426: # Identity of this package.
                    427: PACKAGE_NAME=
                    428: PACKAGE_TARNAME=
                    429: PACKAGE_VERSION=
                    430: PACKAGE_STRING=
                    431: PACKAGE_BUGREPORT=
                    432: 
                    433: ac_unique_file="parser3oracle.C"
                    434: # Factoring default headers for most tests.
                    435: ac_includes_default="\
                    436: #include <stdio.h>
                    437: #if HAVE_SYS_TYPES_H
                    438: # include <sys/types.h>
                    439: #endif
                    440: #if HAVE_SYS_STAT_H
                    441: # include <sys/stat.h>
                    442: #endif
                    443: #if STDC_HEADERS
                    444: # include <stdlib.h>
                    445: # include <stddef.h>
                    446: #else
                    447: # if HAVE_STDLIB_H
                    448: #  include <stdlib.h>
                    449: # endif
                    450: #endif
                    451: #if HAVE_STRING_H
                    452: # if !STDC_HEADERS && HAVE_MEMORY_H
                    453: #  include <memory.h>
                    454: # endif
                    455: # include <string.h>
                    456: #endif
                    457: #if HAVE_STRINGS_H
                    458: # include <strings.h>
                    459: #endif
                    460: #if HAVE_INTTYPES_H
                    461: # include <inttypes.h>
                    462: #else
                    463: # if HAVE_STDINT_H
                    464: #  include <stdint.h>
                    465: # endif
                    466: #endif
                    467: #if HAVE_UNISTD_H
                    468: # include <unistd.h>
                    469: #endif"
                    470: 
                    471: ac_subdirs_all="$ac_subdirs_all libltdl"
1.23      misha     472: 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ORACLE_OCI_INC ORACLE_PUBLIC_INC LDFLAGS CXX CXXFLAGS 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.11      paf       473: ac_subst_files=''
1.1       parser    474: 
                    475: # Initialize some variables set by options.
1.11      paf       476: ac_init_help=
                    477: ac_init_version=false
1.1       parser    478: # The variables have the same names as the options, with
                    479: # dashes changed to underlines.
1.11      paf       480: cache_file=/dev/null
1.1       parser    481: exec_prefix=NONE
                    482: no_create=
                    483: no_recursion=
                    484: prefix=NONE
                    485: program_prefix=NONE
                    486: program_suffix=NONE
                    487: program_transform_name=s,x,x,
                    488: silent=
                    489: site=
                    490: srcdir=
                    491: verbose=
                    492: x_includes=NONE
                    493: x_libraries=NONE
1.11      paf       494: 
                    495: # Installation directory options.
                    496: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    497: # and all the variables that are supposed to be based on exec_prefix
                    498: # by default will actually change.
                    499: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       parser    500: bindir='${exec_prefix}/bin'
                    501: sbindir='${exec_prefix}/sbin'
                    502: libexecdir='${exec_prefix}/libexec'
                    503: datadir='${prefix}/share'
                    504: sysconfdir='${prefix}/etc'
                    505: sharedstatedir='${prefix}/com'
                    506: localstatedir='${prefix}/var'
                    507: libdir='${exec_prefix}/lib'
                    508: includedir='${prefix}/include'
                    509: oldincludedir='/usr/include'
                    510: infodir='${prefix}/info'
                    511: mandir='${prefix}/man'
                    512: 
                    513: ac_prev=
                    514: for ac_option
                    515: do
                    516:   # If the previous option needs an argument, assign it.
                    517:   if test -n "$ac_prev"; then
                    518:     eval "$ac_prev=\$ac_option"
                    519:     ac_prev=
                    520:     continue
                    521:   fi
                    522: 
1.11      paf       523:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       parser    524: 
                    525:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    526: 
1.11      paf       527:   case $ac_option in
1.1       parser    528: 
                    529:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    530:     ac_prev=bindir ;;
                    531:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.11      paf       532:     bindir=$ac_optarg ;;
1.1       parser    533: 
                    534:   -build | --build | --buil | --bui | --bu)
1.11      paf       535:     ac_prev=build_alias ;;
1.1       parser    536:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.11      paf       537:     build_alias=$ac_optarg ;;
1.1       parser    538: 
                    539:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    540:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    541:     ac_prev=cache_file ;;
                    542:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    543:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.11      paf       544:     cache_file=$ac_optarg ;;
                    545: 
                    546:   --config-cache | -C)
                    547:     cache_file=config.cache ;;
1.1       parser    548: 
                    549:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    550:     ac_prev=datadir ;;
                    551:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    552:   | --da=*)
1.11      paf       553:     datadir=$ac_optarg ;;
1.1       parser    554: 
                    555:   -disable-* | --disable-*)
1.11      paf       556:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       parser    557:     # Reject names that are not valid shell variable names.
1.11      paf       558:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    559:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    560:    { (exit 1); exit 1; }; }
                    561:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    562:     eval "enable_$ac_feature=no" ;;
1.1       parser    563: 
                    564:   -enable-* | --enable-*)
1.11      paf       565:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       parser    566:     # Reject names that are not valid shell variable names.
1.11      paf       567:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    568:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    569:    { (exit 1); exit 1; }; }
                    570:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    571:     case $ac_option in
                    572:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    573:       *) ac_optarg=yes ;;
                    574:     esac
1.11      paf       575:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       parser    576: 
                    577:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    578:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    579:   | --exec | --exe | --ex)
                    580:     ac_prev=exec_prefix ;;
                    581:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    582:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    583:   | --exec=* | --exe=* | --ex=*)
1.11      paf       584:     exec_prefix=$ac_optarg ;;
1.1       parser    585: 
                    586:   -gas | --gas | --ga | --g)
                    587:     # Obsolete; use --with-gas.
                    588:     with_gas=yes ;;
                    589: 
1.11      paf       590:   -help | --help | --hel | --he | -h)
                    591:     ac_init_help=long ;;
                    592:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    593:     ac_init_help=recursive ;;
                    594:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    595:     ac_init_help=short ;;
1.1       parser    596: 
                    597:   -host | --host | --hos | --ho)
1.11      paf       598:     ac_prev=host_alias ;;
1.1       parser    599:   -host=* | --host=* | --hos=* | --ho=*)
1.11      paf       600:     host_alias=$ac_optarg ;;
1.1       parser    601: 
                    602:   -includedir | --includedir | --includedi | --included | --include \
                    603:   | --includ | --inclu | --incl | --inc)
                    604:     ac_prev=includedir ;;
                    605:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    606:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.11      paf       607:     includedir=$ac_optarg ;;
1.1       parser    608: 
                    609:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    610:     ac_prev=infodir ;;
                    611:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.11      paf       612:     infodir=$ac_optarg ;;
1.1       parser    613: 
                    614:   -libdir | --libdir | --libdi | --libd)
                    615:     ac_prev=libdir ;;
                    616:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.11      paf       617:     libdir=$ac_optarg ;;
1.1       parser    618: 
                    619:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    620:   | --libexe | --libex | --libe)
                    621:     ac_prev=libexecdir ;;
                    622:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    623:   | --libexe=* | --libex=* | --libe=*)
1.11      paf       624:     libexecdir=$ac_optarg ;;
1.1       parser    625: 
                    626:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    627:   | --localstate | --localstat | --localsta | --localst \
                    628:   | --locals | --local | --loca | --loc | --lo)
                    629:     ac_prev=localstatedir ;;
                    630:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    631:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    632:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.11      paf       633:     localstatedir=$ac_optarg ;;
1.1       parser    634: 
                    635:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    636:     ac_prev=mandir ;;
                    637:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.11      paf       638:     mandir=$ac_optarg ;;
1.1       parser    639: 
                    640:   -nfp | --nfp | --nf)
                    641:     # Obsolete; use --without-fp.
                    642:     with_fp=no ;;
                    643: 
                    644:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.11      paf       645:   | --no-cr | --no-c | -n)
1.1       parser    646:     no_create=yes ;;
                    647: 
                    648:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    649:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    650:     no_recursion=yes ;;
                    651: 
                    652:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    653:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    654:   | --oldin | --oldi | --old | --ol | --o)
                    655:     ac_prev=oldincludedir ;;
                    656:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    657:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    658:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.11      paf       659:     oldincludedir=$ac_optarg ;;
1.1       parser    660: 
                    661:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    662:     ac_prev=prefix ;;
                    663:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.11      paf       664:     prefix=$ac_optarg ;;
1.1       parser    665: 
                    666:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    667:   | --program-pre | --program-pr | --program-p)
                    668:     ac_prev=program_prefix ;;
                    669:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    670:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.11      paf       671:     program_prefix=$ac_optarg ;;
1.1       parser    672: 
                    673:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    674:   | --program-suf | --program-su | --program-s)
                    675:     ac_prev=program_suffix ;;
                    676:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    677:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.11      paf       678:     program_suffix=$ac_optarg ;;
1.1       parser    679: 
                    680:   -program-transform-name | --program-transform-name \
                    681:   | --program-transform-nam | --program-transform-na \
                    682:   | --program-transform-n | --program-transform- \
                    683:   | --program-transform | --program-transfor \
                    684:   | --program-transfo | --program-transf \
                    685:   | --program-trans | --program-tran \
                    686:   | --progr-tra | --program-tr | --program-t)
                    687:     ac_prev=program_transform_name ;;
                    688:   -program-transform-name=* | --program-transform-name=* \
                    689:   | --program-transform-nam=* | --program-transform-na=* \
                    690:   | --program-transform-n=* | --program-transform-=* \
                    691:   | --program-transform=* | --program-transfor=* \
                    692:   | --program-transfo=* | --program-transf=* \
                    693:   | --program-trans=* | --program-tran=* \
                    694:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.11      paf       695:     program_transform_name=$ac_optarg ;;
1.1       parser    696: 
                    697:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    698:   | -silent | --silent | --silen | --sile | --sil)
                    699:     silent=yes ;;
                    700: 
                    701:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    702:     ac_prev=sbindir ;;
                    703:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    704:   | --sbi=* | --sb=*)
1.11      paf       705:     sbindir=$ac_optarg ;;
1.1       parser    706: 
                    707:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    708:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    709:   | --sharedst | --shareds | --shared | --share | --shar \
                    710:   | --sha | --sh)
                    711:     ac_prev=sharedstatedir ;;
                    712:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    713:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    714:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    715:   | --sha=* | --sh=*)
1.11      paf       716:     sharedstatedir=$ac_optarg ;;
1.1       parser    717: 
                    718:   -site | --site | --sit)
                    719:     ac_prev=site ;;
                    720:   -site=* | --site=* | --sit=*)
1.11      paf       721:     site=$ac_optarg ;;
1.1       parser    722: 
                    723:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    724:     ac_prev=srcdir ;;
                    725:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.11      paf       726:     srcdir=$ac_optarg ;;
1.1       parser    727: 
                    728:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    729:   | --syscon | --sysco | --sysc | --sys | --sy)
                    730:     ac_prev=sysconfdir ;;
                    731:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    732:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.11      paf       733:     sysconfdir=$ac_optarg ;;
1.1       parser    734: 
                    735:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.11      paf       736:     ac_prev=target_alias ;;
1.1       parser    737:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.11      paf       738:     target_alias=$ac_optarg ;;
1.1       parser    739: 
                    740:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    741:     verbose=yes ;;
                    742: 
1.11      paf       743:   -version | --version | --versio | --versi | --vers | -V)
                    744:     ac_init_version=: ;;
1.1       parser    745: 
                    746:   -with-* | --with-*)
1.11      paf       747:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       parser    748:     # Reject names that are not valid shell variable names.
1.11      paf       749:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    750:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    751:    { (exit 1); exit 1; }; }
1.1       parser    752:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.11      paf       753:     case $ac_option in
                    754:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    755:       *) ac_optarg=yes ;;
                    756:     esac
1.11      paf       757:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       parser    758: 
                    759:   -without-* | --without-*)
1.11      paf       760:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       parser    761:     # Reject names that are not valid shell variable names.
1.11      paf       762:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    763:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    764:    { (exit 1); exit 1; }; }
                    765:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    766:     eval "with_$ac_package=no" ;;
1.1       parser    767: 
                    768:   --x)
                    769:     # Obsolete; use --with-x.
                    770:     with_x=yes ;;
                    771: 
                    772:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    773:   | --x-incl | --x-inc | --x-in | --x-i)
                    774:     ac_prev=x_includes ;;
                    775:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    776:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.11      paf       777:     x_includes=$ac_optarg ;;
1.1       parser    778: 
                    779:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    780:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    781:     ac_prev=x_libraries ;;
                    782:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    783:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.11      paf       784:     x_libraries=$ac_optarg ;;
1.1       parser    785: 
1.11      paf       786:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    787: Try \`$0 --help' for more information." >&2
                    788:    { (exit 1); exit 1; }; }
1.1       parser    789:     ;;
                    790: 
1.11      paf       791:   *=*)
                    792:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    793:     # Reject names that are not valid shell variable names.
                    794:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    795:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    796:    { (exit 1); exit 1; }; }
                    797:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    798:     eval "$ac_envvar='$ac_optarg'"
                    799:     export $ac_envvar ;;
                    800: 
1.1       parser    801:   *)
1.11      paf       802:     # FIXME: should be removed in autoconf 3.0.
                    803:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    804:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    805:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    806:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       parser    807:     ;;
                    808: 
                    809:   esac
                    810: done
                    811: 
                    812: if test -n "$ac_prev"; then
1.11      paf       813:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    814:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    815:    { (exit 1); exit 1; }; }
1.1       parser    816: fi
                    817: 
1.11      paf       818: # Be sure to have absolute paths.
                    819: for ac_var in exec_prefix prefix
                    820: do
                    821:   eval ac_val=$`echo $ac_var`
                    822:   case $ac_val in
                    823:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    824:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    825:    { (exit 1); exit 1; }; };;
                    826:   esac
                    827: done
1.1       parser    828: 
1.11      paf       829: # Be sure to have absolute paths.
                    830: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.18      paf       831:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       parser    832: do
1.11      paf       833:   eval ac_val=$`echo $ac_var`
                    834:   case $ac_val in
                    835:     [\\/$]* | ?:[\\/]* ) ;;
                    836:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    837:    { (exit 1); exit 1; }; };;
1.1       parser    838:   esac
                    839: done
                    840: 
1.11      paf       841: # There might be people who depend on the old broken behavior: `$host'
                    842: # used to hold the argument of --host etc.
                    843: # FIXME: To remove some day.
                    844: build=$build_alias
                    845: host=$host_alias
                    846: target=$target_alias
                    847: 
                    848: # FIXME: To remove some day.
                    849: if test "x$host_alias" != x; then
                    850:   if test "x$build_alias" = x; then
                    851:     cross_compiling=maybe
                    852:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    853:     If a cross compiler is detected then cross compile mode will be used." >&2
                    854:   elif test "x$build_alias" != "x$host_alias"; then
                    855:     cross_compiling=yes
                    856:   fi
                    857: fi
                    858: 
                    859: ac_tool_prefix=
                    860: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       parser    861: 
1.11      paf       862: test "$silent" = yes && exec 6>/dev/null
1.1       parser    863: 
                    864: 
                    865: # Find the source files, if location was not specified.
                    866: if test -z "$srcdir"; then
                    867:   ac_srcdir_defaulted=yes
                    868:   # Try the directory containing this script, then its parent.
1.11      paf       869:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    870: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf       871:         X"$0" : 'X\(//\)[^/]' \| \
                    872:         X"$0" : 'X\(//\)$' \| \
                    873:         X"$0" : 'X\(/\)' \| \
                    874:         .     : '\(.\)' 2>/dev/null ||
1.11      paf       875: echo X"$0" |
                    876:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    877:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    878:          /^X\(\/\/\)$/{ s//\1/; q; }
                    879:          /^X\(\/\).*/{ s//\1/; q; }
                    880:          s/.*/./; q'`
1.1       parser    881:   srcdir=$ac_confdir
                    882:   if test ! -r $srcdir/$ac_unique_file; then
                    883:     srcdir=..
                    884:   fi
                    885: else
                    886:   ac_srcdir_defaulted=no
                    887: fi
                    888: if test ! -r $srcdir/$ac_unique_file; then
                    889:   if test "$ac_srcdir_defaulted" = yes; then
1.11      paf       890:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    891:    { (exit 1); exit 1; }; }
1.1       parser    892:   else
1.11      paf       893:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    894:    { (exit 1); exit 1; }; }
1.1       parser    895:   fi
                    896: fi
1.11      paf       897: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    898:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    899:    { (exit 1); exit 1; }; }
                    900: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    901: ac_env_build_alias_set=${build_alias+set}
                    902: ac_env_build_alias_value=$build_alias
                    903: ac_cv_env_build_alias_set=${build_alias+set}
                    904: ac_cv_env_build_alias_value=$build_alias
                    905: ac_env_host_alias_set=${host_alias+set}
                    906: ac_env_host_alias_value=$host_alias
                    907: ac_cv_env_host_alias_set=${host_alias+set}
                    908: ac_cv_env_host_alias_value=$host_alias
                    909: ac_env_target_alias_set=${target_alias+set}
                    910: ac_env_target_alias_value=$target_alias
                    911: ac_cv_env_target_alias_set=${target_alias+set}
                    912: ac_cv_env_target_alias_value=$target_alias
                    913: ac_env_CXX_set=${CXX+set}
                    914: ac_env_CXX_value=$CXX
                    915: ac_cv_env_CXX_set=${CXX+set}
                    916: ac_cv_env_CXX_value=$CXX
                    917: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    918: ac_env_CXXFLAGS_value=$CXXFLAGS
                    919: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    920: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    921: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    922: ac_env_LDFLAGS_value=$LDFLAGS
                    923: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    924: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    925: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    926: ac_env_CPPFLAGS_value=$CPPFLAGS
                    927: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    928: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    929: ac_env_CC_set=${CC+set}
                    930: ac_env_CC_value=$CC
                    931: ac_cv_env_CC_set=${CC+set}
                    932: ac_cv_env_CC_value=$CC
                    933: ac_env_CFLAGS_set=${CFLAGS+set}
                    934: ac_env_CFLAGS_value=$CFLAGS
                    935: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    936: ac_cv_env_CFLAGS_value=$CFLAGS
1.15      paf       937: ac_env_CPP_set=${CPP+set}
                    938: ac_env_CPP_value=$CPP
                    939: ac_cv_env_CPP_set=${CPP+set}
                    940: ac_cv_env_CPP_value=$CPP
1.11      paf       941: 
                    942: #
                    943: # Report the --help message.
                    944: #
                    945: if test "$ac_init_help" = "long"; then
                    946:   # Omit some internal or obsolete options to make the list less imposing.
                    947:   # This message is too long to be a string in the A/UX 3.1 sh.
                    948:   cat <<_ACEOF
                    949: \`configure' configures this package to adapt to many kinds of systems.
                    950: 
                    951: Usage: $0 [OPTION]... [VAR=VALUE]...
                    952: 
                    953: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    954: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    955: 
                    956: Defaults for the options are specified in brackets.
                    957: 
                    958: Configuration:
                    959:   -h, --help              display this help and exit
                    960:       --help=short        display options specific to this package
                    961:       --help=recursive    display the short help of all the included packages
                    962:   -V, --version           display version information and exit
                    963:   -q, --quiet, --silent   do not print \`checking...' messages
                    964:       --cache-file=FILE   cache test results in FILE [disabled]
                    965:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    966:   -n, --no-create         do not create output files
                    967:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    968: 
                    969: _ACEOF
                    970: 
                    971:   cat <<_ACEOF
                    972: Installation directories:
                    973:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.18      paf       974:                          [$ac_default_prefix]
1.11      paf       975:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.18      paf       976:                          [PREFIX]
1.11      paf       977: 
                    978: By default, \`make install' will install all the files in
                    979: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    980: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    981: for instance \`--prefix=\$HOME'.
                    982: 
                    983: For better control, use the options below.
                    984: 
                    985: Fine tuning of the installation directories:
                    986:   --bindir=DIR           user executables [EPREFIX/bin]
                    987:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    988:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    989:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    990:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    991:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    992:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    993:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    994:   --includedir=DIR       C header files [PREFIX/include]
                    995:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    996:   --infodir=DIR          info documentation [PREFIX/info]
                    997:   --mandir=DIR           man documentation [PREFIX/man]
                    998: _ACEOF
                    999: 
                   1000:   cat <<\_ACEOF
                   1001: 
                   1002: Program names:
                   1003:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1004:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1005:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1006: 
                   1007: System types:
                   1008:   --build=BUILD     configure for building on BUILD [guessed]
                   1009:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1010: _ACEOF
                   1011: fi
                   1012: 
                   1013: if test -n "$ac_init_help"; then
                   1014: 
                   1015:   cat <<\_ACEOF
                   1016: 
                   1017: Optional Features:
                   1018:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1019:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.18      paf      1020:   --disable-dependency-tracking  speeds up one-time build
                   1021:   --enable-dependency-tracking   do not reject slow dependency extractors
1.11      paf      1022:   --enable-static=PKGS  build static libraries default=no
                   1023:   --enable-shared=PKGS  build shared libraries default=yes
                   1024:   --enable-fast-install=PKGS  optimize for fast installation default=yes
                   1025:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1026: 
                   1027: Optional Packages:
                   1028:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1029:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1030:   --with-oracleoci-inc=DIR      DIR is the Oracle OCI includes directory
                   1031:   --with-oraclepublic-inc=DIR      DIR is the Oracle public includes directory
1.23      misha    1032:   --with-dynamic-stdcpp   link libstdc++ dynamically
                   1033:                           by default, libstdc++ is linked statically
1.11      paf      1034:   --with-gnu-ld           assume the C compiler uses GNU ld default=no
                   1035:   --with-pic              try to use only PIC/non-PIC objects default=use both
                   1036: 
                   1037: Some influential environment variables:
                   1038:   CXX         C++ compiler command
                   1039:   CXXFLAGS    C++ compiler flags
                   1040:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1041:               nonstandard directory <lib dir>
                   1042:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                   1043:               headers in a nonstandard directory <include dir>
                   1044:   CC          C compiler command
                   1045:   CFLAGS      C compiler flags
1.15      paf      1046:   CPP         C preprocessor
1.11      paf      1047: 
                   1048: Use these variables to override the choices made by `configure' or to help
                   1049: it to find libraries and programs with nonstandard names/locations.
                   1050: 
                   1051: _ACEOF
                   1052: fi
                   1053: 
                   1054: if test "$ac_init_help" = "recursive"; then
                   1055:   # If there are subdirs, report their specific --help.
                   1056:   ac_popdir=`pwd`
                   1057:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1058:     test -d $ac_dir || continue
                   1059:     ac_builddir=.
                   1060: 
                   1061: if test "$ac_dir" != .; then
                   1062:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   1063:   # A "../" for each directory in $ac_dir_suffix.
                   1064:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   1065: else
                   1066:   ac_dir_suffix= ac_top_builddir=
                   1067: fi
                   1068: 
                   1069: case $srcdir in
                   1070:   .)  # No --srcdir option.  We are building in place.
                   1071:     ac_srcdir=.
                   1072:     if test -z "$ac_top_builddir"; then
                   1073:        ac_top_srcdir=.
                   1074:     else
                   1075:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   1076:     fi ;;
                   1077:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   1078:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1079:     ac_top_srcdir=$srcdir ;;
                   1080:   *) # Relative path.
                   1081:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   1082:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   1083: esac
1.18      paf      1084: 
                   1085: # Do not use `cd foo && pwd` to compute absolute paths, because
                   1086: # the directories may not exist.
                   1087: case `pwd` in
                   1088: .) ac_abs_builddir="$ac_dir";;
                   1089: *)
                   1090:   case "$ac_dir" in
                   1091:   .) ac_abs_builddir=`pwd`;;
                   1092:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   1093:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   1094:   esac;;
                   1095: esac
                   1096: case $ac_abs_builddir in
                   1097: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   1098: *)
                   1099:   case ${ac_top_builddir}. in
                   1100:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   1101:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   1102:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   1103:   esac;;
                   1104: esac
                   1105: case $ac_abs_builddir in
                   1106: .) ac_abs_srcdir=$ac_srcdir;;
                   1107: *)
                   1108:   case $ac_srcdir in
                   1109:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   1110:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   1111:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   1112:   esac;;
                   1113: esac
                   1114: case $ac_abs_builddir in
                   1115: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1116: *)
                   1117:   case $ac_top_srcdir in
                   1118:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   1119:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1120:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   1121:   esac;;
                   1122: esac
1.11      paf      1123: 
                   1124:     cd $ac_dir
                   1125:     # Check for guested configure; otherwise get Cygnus style configure.
                   1126:     if test -f $ac_srcdir/configure.gnu; then
                   1127:       echo
                   1128:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1129:     elif test -f $ac_srcdir/configure; then
                   1130:       echo
                   1131:       $SHELL $ac_srcdir/configure  --help=recursive
                   1132:     elif test -f $ac_srcdir/configure.ac ||
1.18      paf      1133:           test -f $ac_srcdir/configure.in; then
1.11      paf      1134:       echo
                   1135:       $ac_configure --help
                   1136:     else
                   1137:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1138:     fi
                   1139:     cd $ac_popdir
                   1140:   done
                   1141: fi
1.1       parser   1142: 
1.11      paf      1143: test -n "$ac_init_help" && exit 0
                   1144: if $ac_init_version; then
                   1145:   cat <<\_ACEOF
                   1146: 
1.18      paf      1147: Copyright (C) 2003 Free Software Foundation, Inc.
1.11      paf      1148: This configure script is free software; the Free Software Foundation
                   1149: gives unlimited permission to copy, distribute and modify it.
                   1150: _ACEOF
                   1151:   exit 0
                   1152: fi
                   1153: exec 5>config.log
                   1154: cat >&5 <<_ACEOF
                   1155: This file contains any messages produced by compilers while
                   1156: running configure, to aid debugging if configure makes a mistake.
                   1157: 
                   1158: It was created by $as_me, which was
1.18      paf      1159: generated by GNU Autoconf 2.59.  Invocation command line was
1.11      paf      1160: 
                   1161:   $ $0 $@
                   1162: 
                   1163: _ACEOF
                   1164: {
                   1165: cat <<_ASUNAME
                   1166: ## --------- ##
                   1167: ## Platform. ##
                   1168: ## --------- ##
                   1169: 
                   1170: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1171: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1172: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1173: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1174: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1175: 
                   1176: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1177: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1178: 
                   1179: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1180: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1181: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1182: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1183: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1184: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1185: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1186: 
                   1187: _ASUNAME
                   1188: 
                   1189: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1190: for as_dir in $PATH
                   1191: do
                   1192:   IFS=$as_save_IFS
                   1193:   test -z "$as_dir" && as_dir=.
                   1194:   echo "PATH: $as_dir"
                   1195: done
                   1196: 
                   1197: } >&5
                   1198: 
                   1199: cat >&5 <<_ACEOF
                   1200: 
                   1201: 
                   1202: ## ----------- ##
                   1203: ## Core tests. ##
                   1204: ## ----------- ##
                   1205: 
                   1206: _ACEOF
                   1207: 
                   1208: 
                   1209: # Keep a trace of the command line.
                   1210: # Strip out --no-create and --no-recursion so they do not pile up.
                   1211: # Strip out --silent because we don't want to record it for future runs.
                   1212: # Also quote any args containing shell meta-characters.
                   1213: # Make two passes to allow for proper duplicate-argument suppression.
                   1214: ac_configure_args=
                   1215: ac_configure_args0=
                   1216: ac_configure_args1=
                   1217: ac_sep=
                   1218: ac_must_keep_next=false
                   1219: for ac_pass in 1 2
                   1220: do
                   1221:   for ac_arg
                   1222:   do
                   1223:     case $ac_arg in
                   1224:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1225:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1226:     | -silent | --silent | --silen | --sile | --sil)
                   1227:       continue ;;
                   1228:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1229:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1230:     esac
                   1231:     case $ac_pass in
                   1232:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1233:     2)
                   1234:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1235:       if test $ac_must_keep_next = true; then
1.18      paf      1236:        ac_must_keep_next=false # Got value, back to normal.
1.11      paf      1237:       else
1.18      paf      1238:        case $ac_arg in
                   1239:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1240:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1241:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1242:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1243:            case "$ac_configure_args0 " in
                   1244:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1245:            esac
                   1246:            ;;
                   1247:          -* ) ac_must_keep_next=true ;;
                   1248:        esac
1.11      paf      1249:       fi
                   1250:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1251:       # Get rid of the leading space.
                   1252:       ac_sep=" "
                   1253:       ;;
                   1254:     esac
                   1255:   done
                   1256: done
                   1257: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1258: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1259: 
                   1260: # When interrupted or exit'd, cleanup temporary files, and complete
                   1261: # config.log.  We remove comments because anyway the quotes in there
                   1262: # would cause problems or look ugly.
                   1263: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1264: # such as our DU 5.0 friend, will then `close' the trap.
                   1265: trap 'exit_status=$?
                   1266:   # Save into config.log some information that might help in debugging.
                   1267:   {
                   1268:     echo
                   1269: 
                   1270:     cat <<\_ASBOX
                   1271: ## ---------------- ##
                   1272: ## Cache variables. ##
                   1273: ## ---------------- ##
                   1274: _ASBOX
                   1275:     echo
                   1276:     # The following way of writing the cache mishandles newlines in values,
                   1277: {
                   1278:   (set) 2>&1 |
                   1279:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1280:     *ac_space=\ *)
                   1281:       sed -n \
1.18      paf      1282:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1283:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.11      paf      1284:       ;;
                   1285:     *)
                   1286:       sed -n \
1.18      paf      1287:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.11      paf      1288:       ;;
                   1289:     esac;
                   1290: }
                   1291:     echo
                   1292: 
                   1293:     cat <<\_ASBOX
                   1294: ## ----------------- ##
                   1295: ## Output variables. ##
                   1296: ## ----------------- ##
                   1297: _ASBOX
                   1298:     echo
                   1299:     for ac_var in $ac_subst_vars
                   1300:     do
                   1301:       eval ac_val=$`echo $ac_var`
                   1302:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1303:     done | sort
                   1304:     echo
                   1305: 
                   1306:     if test -n "$ac_subst_files"; then
                   1307:       cat <<\_ASBOX
                   1308: ## ------------- ##
                   1309: ## Output files. ##
                   1310: ## ------------- ##
                   1311: _ASBOX
                   1312:       echo
                   1313:       for ac_var in $ac_subst_files
                   1314:       do
                   1315:        eval ac_val=$`echo $ac_var`
1.18      paf      1316:        echo "$ac_var='"'"'$ac_val'"'"'"
1.11      paf      1317:       done | sort
                   1318:       echo
                   1319:     fi
                   1320: 
                   1321:     if test -s confdefs.h; then
                   1322:       cat <<\_ASBOX
                   1323: ## ----------- ##
                   1324: ## confdefs.h. ##
                   1325: ## ----------- ##
                   1326: _ASBOX
                   1327:       echo
                   1328:       sed "/^$/d" confdefs.h | sort
                   1329:       echo
                   1330:     fi
                   1331:     test "$ac_signal" != 0 &&
                   1332:       echo "$as_me: caught signal $ac_signal"
                   1333:     echo "$as_me: exit $exit_status"
                   1334:   } >&5
1.18      paf      1335:   rm -f core *.core &&
1.11      paf      1336:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1337:     exit $exit_status
                   1338:      ' 0
                   1339: for ac_signal in 1 2 13 15; do
                   1340:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1341: done
                   1342: ac_signal=0
                   1343: 
                   1344: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1345: rm -rf conftest* confdefs.h
                   1346: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1347: echo >confdefs.h
                   1348: 
                   1349: # Predefined preprocessor variables.
                   1350: 
                   1351: cat >>confdefs.h <<_ACEOF
                   1352: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1353: _ACEOF
                   1354: 
                   1355: 
                   1356: cat >>confdefs.h <<_ACEOF
                   1357: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1358: _ACEOF
                   1359: 
                   1360: 
                   1361: cat >>confdefs.h <<_ACEOF
                   1362: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1363: _ACEOF
                   1364: 
                   1365: 
                   1366: cat >>confdefs.h <<_ACEOF
                   1367: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1368: _ACEOF
                   1369: 
                   1370: 
                   1371: cat >>confdefs.h <<_ACEOF
                   1372: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1373: _ACEOF
                   1374: 
                   1375: 
                   1376: # Let the site file select an alternate cache file if it wants to.
1.1       parser   1377: # Prefer explicitly selected file to automatically selected ones.
                   1378: if test -z "$CONFIG_SITE"; then
                   1379:   if test "x$prefix" != xNONE; then
                   1380:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1381:   else
                   1382:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1383:   fi
                   1384: fi
                   1385: for ac_site_file in $CONFIG_SITE; do
                   1386:   if test -r "$ac_site_file"; then
1.11      paf      1387:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1388: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1389:     sed 's/^/| /' "$ac_site_file" >&5
1.1       parser   1390:     . "$ac_site_file"
                   1391:   fi
                   1392: done
                   1393: 
                   1394: if test -r "$cache_file"; then
1.11      paf      1395:   # Some versions of bash will fail to source /dev/null (special
                   1396:   # files actually), so we avoid doing that.
                   1397:   if test -f "$cache_file"; then
                   1398:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1399: echo "$as_me: loading cache $cache_file" >&6;}
                   1400:     case $cache_file in
                   1401:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1402:       *)                      . ./$cache_file;;
                   1403:     esac
                   1404:   fi
1.1       parser   1405: else
1.11      paf      1406:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1407: echo "$as_me: creating cache $cache_file" >&6;}
                   1408:   >$cache_file
                   1409: fi
                   1410: 
                   1411: # Check that the precious variables saved in the cache have kept the same
                   1412: # value.
                   1413: ac_cache_corrupted=false
                   1414: for ac_var in `(set) 2>&1 |
1.18      paf      1415:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.11      paf      1416:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1417:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1418:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1419:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1420:   case $ac_old_set,$ac_new_set in
                   1421:     set,)
                   1422:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1423: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1424:       ac_cache_corrupted=: ;;
                   1425:     ,set)
                   1426:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1427: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1428:       ac_cache_corrupted=: ;;
                   1429:     ,);;
                   1430:     *)
                   1431:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.18      paf      1432:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.11      paf      1433: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.18      paf      1434:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.11      paf      1435: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.18      paf      1436:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.11      paf      1437: echo "$as_me:   current value: $ac_new_val" >&2;}
1.18      paf      1438:        ac_cache_corrupted=:
1.11      paf      1439:       fi;;
                   1440:   esac
                   1441:   # Pass precious variables to config.status.
                   1442:   if test "$ac_new_set" = set; then
                   1443:     case $ac_new_val in
                   1444:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1445:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1446:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1447:     esac
                   1448:     case " $ac_configure_args " in
                   1449:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1450:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1451:     esac
                   1452:   fi
                   1453: done
                   1454: if $ac_cache_corrupted; then
                   1455:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1456: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1457:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1458: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1459:    { (exit 1); exit 1; }; }
1.1       parser   1460: fi
                   1461: 
                   1462: ac_ext=c
                   1463: ac_cpp='$CPP $CPPFLAGS'
1.11      paf      1464: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1465: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1466: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   1467: 
                   1468: 
1.11      paf      1469: 
                   1470: 
                   1471: 
                   1472: 
                   1473: 
                   1474: 
                   1475: 
                   1476: 
                   1477: 
                   1478: 
                   1479: 
                   1480: 
                   1481: 
                   1482: 
                   1483: 
                   1484: 
                   1485: 
1.18      paf      1486: am__api_version="1.9"
1.1       parser   1487: ac_aux_dir=
                   1488: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1489:   if test -f $ac_dir/install-sh; then
                   1490:     ac_aux_dir=$ac_dir
                   1491:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1492:     break
                   1493:   elif test -f $ac_dir/install.sh; then
                   1494:     ac_aux_dir=$ac_dir
                   1495:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1496:     break
1.11      paf      1497:   elif test -f $ac_dir/shtool; then
                   1498:     ac_aux_dir=$ac_dir
                   1499:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1500:     break
1.1       parser   1501:   fi
                   1502: done
                   1503: if test -z "$ac_aux_dir"; then
1.11      paf      1504:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1505: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1506:    { (exit 1); exit 1; }; }
                   1507: fi
                   1508: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1509: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1510: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       parser   1511: 
                   1512: # Find a good install program.  We prefer a C program (faster),
                   1513: # so one script is as good as another.  But avoid the broken or
                   1514: # incompatible versions:
                   1515: # SysV /etc/install, /usr/sbin/install
                   1516: # SunOS /usr/etc/install
                   1517: # IRIX /sbin/install
                   1518: # AIX /bin/install
1.11      paf      1519: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1520: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1521: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1522: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.18      paf      1523: # OS/2's system install, which has a completely different semantic
1.1       parser   1524: # ./install, which can be erroneously created by make from ./install.sh.
1.11      paf      1525: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1526: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1527: if test -z "$INSTALL"; then
1.11      paf      1528: if test "${ac_cv_path_install+set}" = set; then
                   1529:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1530: else
1.11      paf      1531:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1532: for as_dir in $PATH
                   1533: do
                   1534:   IFS=$as_save_IFS
                   1535:   test -z "$as_dir" && as_dir=.
                   1536:   # Account for people who put trailing slashes in PATH elements.
                   1537: case $as_dir/ in
                   1538:   ./ | .// | /cC/* | \
                   1539:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.18      paf      1540:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.11      paf      1541:   /usr/ucb/* ) ;;
                   1542:   *)
                   1543:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1544:     # Don't use installbsd from OSF since it installs stuff as root
                   1545:     # by default.
                   1546:     for ac_prog in ginstall scoinst install; do
                   1547:       for ac_exec_ext in '' $ac_executable_extensions; do
1.18      paf      1548:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1549:          if test $ac_prog = install &&
                   1550:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1551:            # AIX install.  It has an incompatible calling convention.
                   1552:            :
                   1553:          elif test $ac_prog = install &&
                   1554:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1555:            # program-specific install script used by HP pwplus--don't use.
                   1556:            :
                   1557:          else
                   1558:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1559:            break 3
                   1560:          fi
                   1561:        fi
1.1       parser   1562:       done
1.11      paf      1563:     done
                   1564:     ;;
                   1565: esac
                   1566: done
                   1567: 
1.1       parser   1568: 
                   1569: fi
                   1570:   if test "${ac_cv_path_install+set}" = set; then
1.11      paf      1571:     INSTALL=$ac_cv_path_install
1.1       parser   1572:   else
                   1573:     # As a last resort, use the slow shell script.  We don't cache a
                   1574:     # path for INSTALL within a source directory, because that will
                   1575:     # break other packages using the cache if that directory is
                   1576:     # removed, or if the path is relative.
1.11      paf      1577:     INSTALL=$ac_install_sh
1.1       parser   1578:   fi
                   1579: fi
1.11      paf      1580: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1581: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1582: 
                   1583: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1584: # It thinks the first close brace ends the variable substitution.
                   1585: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1586: 
1.11      paf      1587: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1588: 
                   1589: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1590: 
1.11      paf      1591: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1592: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       parser   1593: # Just in case
                   1594: sleep 1
1.11      paf      1595: echo timestamp > conftest.file
1.1       parser   1596: # Do `set' in a subshell so we don't clobber the current shell's
                   1597: # arguments.  Must try -L first in case configure is actually a
                   1598: # symlink; some systems play weird games with the mod time of symlinks
                   1599: # (eg FreeBSD returns the mod time of the symlink's containing
                   1600: # directory).
                   1601: if (
1.11      paf      1602:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       parser   1603:    if test "$*" = "X"; then
                   1604:       # -L didn't work.
1.11      paf      1605:       set X `ls -t $srcdir/configure conftest.file`
1.1       parser   1606:    fi
1.11      paf      1607:    rm -f conftest.file
                   1608:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1609:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       parser   1610: 
                   1611:       # If neither matched, then we have a broken ls.  This can happen
                   1612:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1613:       # broken ls alias from the environment.  This has actually
                   1614:       # happened.  Such a system could not be considered "sane".
1.11      paf      1615:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1616: alias in your environment" >&5
                   1617: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1618: alias in your environment" >&2;}
                   1619:    { (exit 1); exit 1; }; }
1.1       parser   1620:    fi
                   1621: 
1.11      paf      1622:    test "$2" = conftest.file
1.1       parser   1623:    )
                   1624: then
                   1625:    # Ok.
                   1626:    :
                   1627: else
1.11      paf      1628:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1629: Check your system clock" >&5
                   1630: echo "$as_me: error: newly created file is older than distributed files!
                   1631: Check your system clock" >&2;}
                   1632:    { (exit 1); exit 1; }; }
1.1       parser   1633: fi
1.11      paf      1634: echo "$as_me:$LINENO: result: yes" >&5
                   1635: echo "${ECHO_T}yes" >&6
1.1       parser   1636: test "$program_prefix" != NONE &&
1.11      paf      1637:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       parser   1638: # Use a double $ so make ignores it.
                   1639: test "$program_suffix" != NONE &&
1.11      paf      1640:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1641: # Double any \ or $.  echo might interpret backslashes.
                   1642: # By default was `s,x,x', remove it if useless.
                   1643: cat <<\_ACEOF >conftest.sed
                   1644: s/[\\$]/&&/g;s/;s,x,x,$//
                   1645: _ACEOF
                   1646: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1647: rm conftest.sed
                   1648: 
                   1649: # expand $ac_aux_dir to an absolute path
                   1650: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1651: 
                   1652: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1653: # Use eval to expand $SHELL
                   1654: if eval "$MISSING --run true"; then
                   1655:   am_missing_run="$MISSING --run "
                   1656: else
                   1657:   am_missing_run=
                   1658:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1659: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1660: fi
                   1661: 
1.18      paf      1662: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1663:   # We used to keeping the `.' as first argument, in order to
                   1664:   # allow $(mkdir_p) to be used without argument.  As in
                   1665:   #   $(mkdir_p) $(somedir)
                   1666:   # where $(somedir) is conditionally defined.  However this is wrong
                   1667:   # for two reasons:
                   1668:   #  1. if the package is installed by a user who cannot write `.'
                   1669:   #     make install will fail,
                   1670:   #  2. the above comment should most certainly read
                   1671:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1672:   #     so it does not work when $(somedir) is undefined and
                   1673:   #     $(DESTDIR) is not.
                   1674:   #  To support the latter case, we have to write
                   1675:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1676:   #  so the `.' trick is pointless.
                   1677:   mkdir_p='mkdir -p --'
                   1678: else
                   1679:   # On NextStep and OpenStep, the `mkdir' command does not
                   1680:   # recognize any option.  It will interpret all options as
                   1681:   # directories to create, and then abort because `.' already
                   1682:   # exists.
                   1683:   for d in ./-p ./--version;
                   1684:   do
                   1685:     test -d $d && rmdir $d
                   1686:   done
                   1687:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1688:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1689:     mkdir_p='$(mkinstalldirs)'
                   1690:   else
                   1691:     mkdir_p='$(install_sh) -d'
                   1692:   fi
                   1693: fi
                   1694: 
1.11      paf      1695: for ac_prog in gawk mawk nawk awk
                   1696: do
                   1697:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1698: set dummy $ac_prog; ac_word=$2
                   1699: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1700: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1701: if test "${ac_cv_prog_AWK+set}" = set; then
                   1702:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1703: else
                   1704:   if test -n "$AWK"; then
                   1705:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1706: else
                   1707: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1708: for as_dir in $PATH
                   1709: do
                   1710:   IFS=$as_save_IFS
                   1711:   test -z "$as_dir" && as_dir=.
                   1712:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1713:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1714:     ac_cv_prog_AWK="$ac_prog"
                   1715:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1716:     break 2
                   1717:   fi
                   1718: done
                   1719: done
                   1720: 
                   1721: fi
                   1722: fi
                   1723: AWK=$ac_cv_prog_AWK
                   1724: if test -n "$AWK"; then
                   1725:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1726: echo "${ECHO_T}$AWK" >&6
                   1727: else
                   1728:   echo "$as_me:$LINENO: result: no" >&5
                   1729: echo "${ECHO_T}no" >&6
                   1730: fi
1.1       parser   1731: 
1.11      paf      1732:   test -n "$AWK" && break
                   1733: done
1.1       parser   1734: 
1.11      paf      1735: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1736: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.18      paf      1737: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.11      paf      1738: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1739:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1740: else
1.11      paf      1741:   cat >conftest.make <<\_ACEOF
1.1       parser   1742: all:
1.11      paf      1743:        @echo 'ac_maketemp="$(MAKE)"'
                   1744: _ACEOF
1.1       parser   1745: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.11      paf      1746: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1747: if test -n "$ac_maketemp"; then
                   1748:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1749: else
                   1750:   eval ac_cv_prog_make_${ac_make}_set=no
                   1751: fi
1.11      paf      1752: rm -f conftest.make
1.1       parser   1753: fi
                   1754: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.11      paf      1755:   echo "$as_me:$LINENO: result: yes" >&5
                   1756: echo "${ECHO_T}yes" >&6
1.1       parser   1757:   SET_MAKE=
                   1758: else
1.11      paf      1759:   echo "$as_me:$LINENO: result: no" >&5
                   1760: echo "${ECHO_T}no" >&6
1.1       parser   1761:   SET_MAKE="MAKE=${MAKE-make}"
                   1762: fi
                   1763: 
1.18      paf      1764: rm -rf .tst 2>/dev/null
                   1765: mkdir .tst 2>/dev/null
                   1766: if test -d .tst; then
                   1767:   am__leading_dot=.
                   1768: else
                   1769:   am__leading_dot=_
                   1770: fi
                   1771: rmdir .tst 2>/dev/null
                   1772: 
                   1773: # test to see if srcdir already configured
1.11      paf      1774: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1775:    test -f $srcdir/config.status; then
                   1776:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1777: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1778:    { (exit 1); exit 1; }; }
                   1779: fi
                   1780: 
                   1781: # test whether we have cygpath
                   1782: if test -z "$CYGPATH_W"; then
                   1783:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1784:     CYGPATH_W='cygpath -w'
                   1785:   else
                   1786:     CYGPATH_W=echo
                   1787:   fi
                   1788: fi
                   1789: 
                   1790: 
                   1791: # Define the identity of the package.
                   1792:  PACKAGE=parser3oracle
1.23.2.1! misha    1793:  VERSION=10.1
1.1       parser   1794: 
                   1795: 
1.11      paf      1796: # Some tools Automake needs.
                   1797: 
                   1798: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1799: 
                   1800: 
                   1801: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1802: 
                   1803: 
                   1804: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1805: 
                   1806: 
                   1807: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1808: 
                   1809: 
                   1810: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       parser   1811: 
1.11      paf      1812: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       parser   1813: 
1.11      paf      1814: # Installed binaries are usually stripped using `strip' when the user
                   1815: # run `make install-strip'.  However `strip' might not be the right
                   1816: # tool to use in cross-compilation environments, therefore Automake
                   1817: # will honor the `STRIP' environment variable to overrule this program.
                   1818: if test "$cross_compiling" != no; then
                   1819:   if test -n "$ac_tool_prefix"; then
                   1820:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1821: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1822: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1823: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1824: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1825:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1826: else
1.11      paf      1827:   if test -n "$STRIP"; then
                   1828:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1829: else
                   1830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1831: for as_dir in $PATH
                   1832: do
                   1833:   IFS=$as_save_IFS
                   1834:   test -z "$as_dir" && as_dir=.
                   1835:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1836:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1837:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1838:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1839:     break 2
                   1840:   fi
                   1841: done
                   1842: done
                   1843: 
                   1844: fi
                   1845: fi
                   1846: STRIP=$ac_cv_prog_STRIP
                   1847: if test -n "$STRIP"; then
                   1848:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1849: echo "${ECHO_T}$STRIP" >&6
                   1850: else
                   1851:   echo "$as_me:$LINENO: result: no" >&5
                   1852: echo "${ECHO_T}no" >&6
1.1       parser   1853: fi
                   1854: 
1.11      paf      1855: fi
                   1856: if test -z "$ac_cv_prog_STRIP"; then
                   1857:   ac_ct_STRIP=$STRIP
                   1858:   # Extract the first word of "strip", so it can be a program name with args.
                   1859: set dummy strip; ac_word=$2
                   1860: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1861: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1862: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1863:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1864: else
                   1865:   if test -n "$ac_ct_STRIP"; then
                   1866:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   1867: else
1.11      paf      1868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1869: for as_dir in $PATH
                   1870: do
                   1871:   IFS=$as_save_IFS
                   1872:   test -z "$as_dir" && as_dir=.
                   1873:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1874:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1875:     ac_cv_prog_ac_ct_STRIP="strip"
                   1876:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1877:     break 2
                   1878:   fi
                   1879: done
                   1880: done
                   1881: 
                   1882:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1883: fi
1.1       parser   1884: fi
1.11      paf      1885: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1886: if test -n "$ac_ct_STRIP"; then
                   1887:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1888: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       parser   1889: else
1.11      paf      1890:   echo "$as_me:$LINENO: result: no" >&5
                   1891: echo "${ECHO_T}no" >&6
1.1       parser   1892: fi
                   1893: 
1.11      paf      1894:   STRIP=$ac_ct_STRIP
1.1       parser   1895: else
1.11      paf      1896:   STRIP="$ac_cv_prog_STRIP"
1.1       parser   1897: fi
                   1898: 
                   1899: fi
1.11      paf      1900: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1       parser   1901: 
1.11      paf      1902: # We need awk for the "check" target.  The system "awk" is bad on
                   1903: # some platforms.
1.18      paf      1904: # Always define AMTAR for backward compatibility.
                   1905: 
                   1906: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1907: 
                   1908: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1909: 
                   1910: 
1.1       parser   1911: 
                   1912: 
                   1913: 
                   1914: 
1.11      paf      1915:           ac_config_headers="$ac_config_headers config_auto.h"
                   1916: 
1.1       parser   1917: 
                   1918: 
                   1919: 
1.2       parser   1920: # Check whether --with-oracleoci-inc or --without-oracleoci-inc was given.
1.1       parser   1921: if test "${with_oracleoci_inc+set}" = set; then
                   1922:   withval="$with_oracleoci_inc"
1.11      paf      1923: 
1.1       parser   1924: else
                   1925:   withval="$ORACLE_HOME/rdbms/demo"
                   1926: 
1.11      paf      1927: fi;
1.2       parser   1928: ORACLE_OCI_INC=$withval
1.1       parser   1929: 
                   1930: 
1.2       parser   1931: if test \! -f "$ORACLE_OCI_INC/oci.h"; then
1.11      paf      1932:        { { echo "$as_me:$LINENO: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" >&5
                   1933: echo "$as_me: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" >&2;}
                   1934:    { (exit 1); exit 1; }; }
1.2       parser   1935: fi
                   1936: 
                   1937: 
1.11      paf      1938: 
1.2       parser   1939: # Check whether --with-oraclepublic-inc or --without-oraclepublic-inc was given.
1.1       parser   1940: if test "${with_oraclepublic_inc+set}" = set; then
                   1941:   withval="$with_oraclepublic_inc"
1.11      paf      1942: 
1.1       parser   1943: else
                   1944:   withval="$ORACLE_HOME/network/public"
                   1945: 
1.11      paf      1946: fi;
1.2       parser   1947: ORACLE_PUBLIC_INC=$withval
1.1       parser   1948: 
                   1949: 
1.2       parser   1950: if test \! -f "$ORACLE_PUBLIC_INC/nzt.h"; then
1.11      paf      1951:        { { echo "$as_me:$LINENO: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" >&5
                   1952: echo "$as_me: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" >&2;}
                   1953:    { (exit 1); exit 1; }; }
1.2       parser   1954: fi
                   1955: 
1.1       parser   1956: 
1.23      misha    1957: 
                   1958: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
                   1959: if test "${with_dynamic_stdcpp+set}" = set; then
                   1960:   withval="$with_dynamic_stdcpp"
                   1961: 
                   1962:                LDFLAGS="-lstdc++"
                   1963: 
                   1964: else
                   1965: 
                   1966:                LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic"
                   1967: 
                   1968: fi;
                   1969: 
                   1970: 
                   1971: 
                   1972: 
1.1       parser   1973: # Find a good install program.  We prefer a C program (faster),
                   1974: # so one script is as good as another.  But avoid the broken or
                   1975: # incompatible versions:
                   1976: # SysV /etc/install, /usr/sbin/install
                   1977: # SunOS /usr/etc/install
                   1978: # IRIX /sbin/install
                   1979: # AIX /bin/install
1.11      paf      1980: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1981: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1982: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1983: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.18      paf      1984: # OS/2's system install, which has a completely different semantic
1.1       parser   1985: # ./install, which can be erroneously created by make from ./install.sh.
1.11      paf      1986: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1987: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1988: if test -z "$INSTALL"; then
1.11      paf      1989: if test "${ac_cv_path_install+set}" = set; then
                   1990:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1991: else
1.11      paf      1992:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1993: for as_dir in $PATH
                   1994: do
                   1995:   IFS=$as_save_IFS
                   1996:   test -z "$as_dir" && as_dir=.
                   1997:   # Account for people who put trailing slashes in PATH elements.
                   1998: case $as_dir/ in
                   1999:   ./ | .// | /cC/* | \
                   2000:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.18      paf      2001:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.11      paf      2002:   /usr/ucb/* ) ;;
                   2003:   *)
                   2004:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2005:     # Don't use installbsd from OSF since it installs stuff as root
                   2006:     # by default.
                   2007:     for ac_prog in ginstall scoinst install; do
                   2008:       for ac_exec_ext in '' $ac_executable_extensions; do
1.18      paf      2009:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   2010:          if test $ac_prog = install &&
                   2011:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2012:            # AIX install.  It has an incompatible calling convention.
                   2013:            :
                   2014:          elif test $ac_prog = install &&
                   2015:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2016:            # program-specific install script used by HP pwplus--don't use.
                   2017:            :
                   2018:          else
                   2019:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2020:            break 3
                   2021:          fi
                   2022:        fi
1.1       parser   2023:       done
1.11      paf      2024:     done
                   2025:     ;;
                   2026: esac
                   2027: done
                   2028: 
1.1       parser   2029: 
                   2030: fi
                   2031:   if test "${ac_cv_path_install+set}" = set; then
1.11      paf      2032:     INSTALL=$ac_cv_path_install
1.1       parser   2033:   else
                   2034:     # As a last resort, use the slow shell script.  We don't cache a
                   2035:     # path for INSTALL within a source directory, because that will
                   2036:     # break other packages using the cache if that directory is
                   2037:     # removed, or if the path is relative.
1.11      paf      2038:     INSTALL=$ac_install_sh
1.1       parser   2039:   fi
                   2040: fi
1.11      paf      2041: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   2042: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   2043: 
                   2044: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2045: # It thinks the first close brace ends the variable substitution.
                   2046: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2047: 
1.11      paf      2048: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   2049: 
                   2050: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2051: 
1.11      paf      2052: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2053: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.18      paf      2054: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.11      paf      2055: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   2056:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2057: else
1.11      paf      2058:   cat >conftest.make <<\_ACEOF
1.1       parser   2059: all:
1.11      paf      2060:        @echo 'ac_maketemp="$(MAKE)"'
                   2061: _ACEOF
1.1       parser   2062: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.11      paf      2063: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   2064: if test -n "$ac_maketemp"; then
                   2065:   eval ac_cv_prog_make_${ac_make}_set=yes
                   2066: else
                   2067:   eval ac_cv_prog_make_${ac_make}_set=no
                   2068: fi
1.11      paf      2069: rm -f conftest.make
1.1       parser   2070: fi
                   2071: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.11      paf      2072:   echo "$as_me:$LINENO: result: yes" >&5
                   2073: echo "${ECHO_T}yes" >&6
1.1       parser   2074:   SET_MAKE=
                   2075: else
1.11      paf      2076:   echo "$as_me:$LINENO: result: no" >&5
                   2077: echo "${ECHO_T}no" >&6
1.1       parser   2078:   SET_MAKE="MAKE=${MAKE-make}"
                   2079: fi
                   2080: 
1.11      paf      2081: for ac_prog in gawk mawk nawk awk
1.1       parser   2082: do
1.11      paf      2083:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1       parser   2084: set dummy $ac_prog; ac_word=$2
1.11      paf      2085: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2086: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2087: if test "${ac_cv_prog_AWK+set}" = set; then
                   2088:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2089: else
                   2090:   if test -n "$AWK"; then
                   2091:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2092: else
1.11      paf      2093: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2094: for as_dir in $PATH
                   2095: do
                   2096:   IFS=$as_save_IFS
                   2097:   test -z "$as_dir" && as_dir=.
                   2098:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2099:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2100:     ac_cv_prog_AWK="$ac_prog"
                   2101:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2102:     break 2
                   2103:   fi
                   2104: done
                   2105: done
                   2106: 
1.1       parser   2107: fi
                   2108: fi
1.11      paf      2109: AWK=$ac_cv_prog_AWK
1.1       parser   2110: if test -n "$AWK"; then
1.11      paf      2111:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2112: echo "${ECHO_T}$AWK" >&6
1.1       parser   2113: else
1.11      paf      2114:   echo "$as_me:$LINENO: result: no" >&5
                   2115: echo "${ECHO_T}no" >&6
1.1       parser   2116: fi
                   2117: 
1.11      paf      2118:   test -n "$AWK" && break
1.1       parser   2119: done
                   2120: 
1.11      paf      2121: ac_ext=cc
1.1       parser   2122: ac_cpp='$CXXCPP $CPPFLAGS'
1.11      paf      2123: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2124: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2125: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2126: if test -n "$ac_tool_prefix"; then
                   2127:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2128:   do
                   2129:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2130: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2131: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2132: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2133: if test "${ac_cv_prog_CXX+set}" = set; then
                   2134:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2135: else
                   2136:   if test -n "$CXX"; then
                   2137:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2138: else
1.11      paf      2139: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2140: for as_dir in $PATH
                   2141: do
                   2142:   IFS=$as_save_IFS
                   2143:   test -z "$as_dir" && as_dir=.
                   2144:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2145:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2146:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   2147:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2148:     break 2
                   2149:   fi
                   2150: done
                   2151: done
                   2152: 
1.1       parser   2153: fi
                   2154: fi
1.11      paf      2155: CXX=$ac_cv_prog_CXX
1.1       parser   2156: if test -n "$CXX"; then
1.11      paf      2157:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2158: echo "${ECHO_T}$CXX" >&6
1.1       parser   2159: else
1.11      paf      2160:   echo "$as_me:$LINENO: result: no" >&5
                   2161: echo "${ECHO_T}no" >&6
1.1       parser   2162: fi
                   2163: 
1.11      paf      2164:     test -n "$CXX" && break
                   2165:   done
                   2166: fi
                   2167: if test -z "$CXX"; then
                   2168:   ac_ct_CXX=$CXX
                   2169:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2170: do
                   2171:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2172: set dummy $ac_prog; ac_word=$2
                   2173: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2174: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2175: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   2176:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2177: else
                   2178:   if test -n "$ac_ct_CXX"; then
                   2179:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2180: else
                   2181: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2182: for as_dir in $PATH
                   2183: do
                   2184:   IFS=$as_save_IFS
                   2185:   test -z "$as_dir" && as_dir=.
                   2186:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2187:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2188:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   2189:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2190:     break 2
                   2191:   fi
                   2192: done
1.1       parser   2193: done
                   2194: 
1.11      paf      2195: fi
                   2196: fi
                   2197: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2198: if test -n "$ac_ct_CXX"; then
                   2199:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2200: echo "${ECHO_T}$ac_ct_CXX" >&6
                   2201: else
                   2202:   echo "$as_me:$LINENO: result: no" >&5
                   2203: echo "${ECHO_T}no" >&6
                   2204: fi
1.1       parser   2205: 
1.11      paf      2206:   test -n "$ac_ct_CXX" && break
                   2207: done
                   2208: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1       parser   2209: 
1.11      paf      2210:   CXX=$ac_ct_CXX
                   2211: fi
1.1       parser   2212: 
                   2213: 
1.11      paf      2214: # Provide some information about the compiler.
                   2215: echo "$as_me:$LINENO:" \
                   2216:      "checking for C++ compiler version" >&5
                   2217: ac_compiler=`set X $ac_compile; echo $2`
                   2218: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2219:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2220:   ac_status=$?
                   2221:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2222:   (exit $ac_status); }
                   2223: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2224:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2225:   ac_status=$?
                   2226:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2227:   (exit $ac_status); }
                   2228: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2229:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2230:   ac_status=$?
                   2231:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2232:   (exit $ac_status); }
                   2233: 
                   2234: cat >conftest.$ac_ext <<_ACEOF
                   2235: /* confdefs.h.  */
                   2236: _ACEOF
                   2237: cat confdefs.h >>conftest.$ac_ext
                   2238: cat >>conftest.$ac_ext <<_ACEOF
                   2239: /* end confdefs.h.  */
                   2240: 
                   2241: int
                   2242: main ()
                   2243: {
                   2244: 
                   2245:   ;
                   2246:   return 0;
                   2247: }
                   2248: _ACEOF
                   2249: ac_clean_files_save=$ac_clean_files
                   2250: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2251: # Try to create an executable without -o first, disregard a.out.
                   2252: # It will help us diagnose broken compilers, and finding out an intuition
                   2253: # of exeext.
1.18      paf      2254: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2255: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.11      paf      2256: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2257: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2258:   (eval $ac_link_default) 2>&5
                   2259:   ac_status=$?
                   2260:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2261:   (exit $ac_status); }; then
                   2262:   # Find the output, starting from the most likely.  This scheme is
                   2263: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2264: # resort.
                   2265: 
                   2266: # Be careful to initialize this variable, since it used to be cached.
                   2267: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2268: ac_cv_exeext=
                   2269: # b.out is created by i960 compilers.
                   2270: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   2271: do
                   2272:   test -f "$ac_file" || continue
                   2273:   case $ac_file in
                   2274:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.18      paf      2275:        ;;
1.11      paf      2276:     conftest.$ac_ext )
1.18      paf      2277:        # This is the source file.
                   2278:        ;;
1.11      paf      2279:     [ab].out )
1.18      paf      2280:        # We found the default executable, but exeext='' is most
                   2281:        # certainly right.
                   2282:        break;;
1.11      paf      2283:     *.* )
1.18      paf      2284:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2285:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2286:        # but it would be cool to find out if it's true.  Does anybody
                   2287:        # maintain Libtool? --akim.
                   2288:        export ac_cv_exeext
                   2289:        break;;
1.11      paf      2290:     * )
1.18      paf      2291:        break;;
1.11      paf      2292:   esac
                   2293: done
                   2294: else
                   2295:   echo "$as_me: failed program was:" >&5
                   2296: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2297: 
1.11      paf      2298: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2299: See \`config.log' for more details." >&5
                   2300: echo "$as_me: error: C++ compiler cannot create executables
                   2301: See \`config.log' for more details." >&2;}
                   2302:    { (exit 77); exit 77; }; }
                   2303: fi
                   2304: 
                   2305: ac_exeext=$ac_cv_exeext
                   2306: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2307: echo "${ECHO_T}$ac_file" >&6
                   2308: 
                   2309: # Check the compiler produces executables we can run.  If not, either
                   2310: # the compiler is broken, or we cross compile.
                   2311: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2312: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2313: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2314: # If not cross compiling, check that we can run a simple program.
                   2315: if test "$cross_compiling" != yes; then
                   2316:   if { ac_try='./$ac_file'
                   2317:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2318:   (eval $ac_try) 2>&5
                   2319:   ac_status=$?
                   2320:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2321:   (exit $ac_status); }; }; then
                   2322:     cross_compiling=no
                   2323:   else
                   2324:     if test "$cross_compiling" = maybe; then
                   2325:        cross_compiling=yes
                   2326:     else
                   2327:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2328: If you meant to cross compile, use \`--host'.
                   2329: See \`config.log' for more details." >&5
                   2330: echo "$as_me: error: cannot run C++ compiled programs.
                   2331: If you meant to cross compile, use \`--host'.
                   2332: See \`config.log' for more details." >&2;}
                   2333:    { (exit 1); exit 1; }; }
                   2334:     fi
1.1       parser   2335:   fi
1.11      paf      2336: fi
                   2337: echo "$as_me:$LINENO: result: yes" >&5
                   2338: echo "${ECHO_T}yes" >&6
                   2339: 
                   2340: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2341: ac_clean_files=$ac_clean_files_save
                   2342: # Check the compiler produces executables we can run.  If not, either
                   2343: # the compiler is broken, or we cross compile.
                   2344: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2345: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2346: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2347: echo "${ECHO_T}$cross_compiling" >&6
                   2348: 
                   2349: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2350: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2351: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2352:   (eval $ac_link) 2>&5
                   2353:   ac_status=$?
                   2354:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2355:   (exit $ac_status); }; then
                   2356:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2357: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2358: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2359: # `rm'.
                   2360: for ac_file in conftest.exe conftest conftest.*; do
                   2361:   test -f "$ac_file" || continue
                   2362:   case $ac_file in
                   2363:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2364:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.18      paf      2365:          export ac_cv_exeext
                   2366:          break;;
1.11      paf      2367:     * ) break;;
                   2368:   esac
                   2369: done
1.1       parser   2370: else
1.11      paf      2371:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2372: See \`config.log' for more details." >&5
                   2373: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2374: See \`config.log' for more details." >&2;}
                   2375:    { (exit 1); exit 1; }; }
                   2376: fi
                   2377: 
                   2378: rm -f conftest$ac_cv_exeext
                   2379: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2380: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2381: 
                   2382: rm -f conftest.$ac_ext
                   2383: EXEEXT=$ac_cv_exeext
                   2384: ac_exeext=$EXEEXT
                   2385: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2386: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2387: if test "${ac_cv_objext+set}" = set; then
                   2388:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2389: else
                   2390:   cat >conftest.$ac_ext <<_ACEOF
                   2391: /* confdefs.h.  */
                   2392: _ACEOF
                   2393: cat confdefs.h >>conftest.$ac_ext
                   2394: cat >>conftest.$ac_ext <<_ACEOF
                   2395: /* end confdefs.h.  */
                   2396: 
                   2397: int
                   2398: main ()
                   2399: {
                   2400: 
                   2401:   ;
                   2402:   return 0;
                   2403: }
                   2404: _ACEOF
                   2405: rm -f conftest.o conftest.obj
                   2406: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2407:   (eval $ac_compile) 2>&5
                   2408:   ac_status=$?
                   2409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2410:   (exit $ac_status); }; then
                   2411:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2412:   case $ac_file in
                   2413:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2414:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2415:        break;;
                   2416:   esac
                   2417: done
1.1       parser   2418: else
1.11      paf      2419:   echo "$as_me: failed program was:" >&5
                   2420: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2421: 
1.11      paf      2422: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2423: See \`config.log' for more details." >&5
                   2424: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2425: See \`config.log' for more details." >&2;}
                   2426:    { (exit 1); exit 1; }; }
                   2427: fi
                   2428: 
                   2429: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2430: fi
                   2431: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2432: echo "${ECHO_T}$ac_cv_objext" >&6
                   2433: OBJEXT=$ac_cv_objext
                   2434: ac_objext=$OBJEXT
                   2435: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2436: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2437: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2438:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2439: else
                   2440:   cat >conftest.$ac_ext <<_ACEOF
                   2441: /* confdefs.h.  */
                   2442: _ACEOF
                   2443: cat confdefs.h >>conftest.$ac_ext
                   2444: cat >>conftest.$ac_ext <<_ACEOF
                   2445: /* end confdefs.h.  */
                   2446: 
                   2447: int
                   2448: main ()
                   2449: {
                   2450: #ifndef __GNUC__
                   2451:        choke me
                   2452: #endif
1.1       parser   2453: 
1.11      paf      2454:   ;
                   2455:   return 0;
                   2456: }
                   2457: _ACEOF
                   2458: rm -f conftest.$ac_objext
                   2459: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2460:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2461:   ac_status=$?
1.18      paf      2462:   grep -v '^ *+' conftest.er1 >conftest.err
                   2463:   rm -f conftest.er1
                   2464:   cat conftest.err >&5
1.11      paf      2465:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2466:   (exit $ac_status); } &&
1.18      paf      2467:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2468:                         || test ! -s conftest.err'
                   2469:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2470:   (eval $ac_try) 2>&5
                   2471:   ac_status=$?
                   2472:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2473:   (exit $ac_status); }; } &&
                   2474:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2475:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2476:   (eval $ac_try) 2>&5
                   2477:   ac_status=$?
                   2478:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2479:   (exit $ac_status); }; }; then
                   2480:   ac_compiler_gnu=yes
                   2481: else
                   2482:   echo "$as_me: failed program was:" >&5
                   2483: sed 's/^/| /' conftest.$ac_ext >&5
                   2484: 
                   2485: ac_compiler_gnu=no
                   2486: fi
1.18      paf      2487: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      2488: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2489: 
                   2490: fi
                   2491: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2492: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2493: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2494: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2495: ac_save_CXXFLAGS=$CXXFLAGS
                   2496: CXXFLAGS="-g"
                   2497: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2498: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2499: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2500:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2501: else
                   2502:   cat >conftest.$ac_ext <<_ACEOF
                   2503: /* confdefs.h.  */
                   2504: _ACEOF
                   2505: cat confdefs.h >>conftest.$ac_ext
                   2506: cat >>conftest.$ac_ext <<_ACEOF
                   2507: /* end confdefs.h.  */
                   2508: 
                   2509: int
                   2510: main ()
                   2511: {
                   2512: 
                   2513:   ;
                   2514:   return 0;
                   2515: }
                   2516: _ACEOF
                   2517: rm -f conftest.$ac_objext
                   2518: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2519:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2520:   ac_status=$?
1.18      paf      2521:   grep -v '^ *+' conftest.er1 >conftest.err
                   2522:   rm -f conftest.er1
                   2523:   cat conftest.err >&5
1.11      paf      2524:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2525:   (exit $ac_status); } &&
1.18      paf      2526:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2527:                         || test ! -s conftest.err'
                   2528:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2529:   (eval $ac_try) 2>&5
                   2530:   ac_status=$?
                   2531:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2532:   (exit $ac_status); }; } &&
                   2533:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2534:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2535:   (eval $ac_try) 2>&5
                   2536:   ac_status=$?
                   2537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2538:   (exit $ac_status); }; }; then
                   2539:   ac_cv_prog_cxx_g=yes
1.1       parser   2540: else
1.11      paf      2541:   echo "$as_me: failed program was:" >&5
                   2542: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2543: 
1.11      paf      2544: ac_cv_prog_cxx_g=no
1.1       parser   2545: fi
1.18      paf      2546: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   2547: fi
1.11      paf      2548: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2549: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1       parser   2550: if test "$ac_test_CXXFLAGS" = set; then
1.11      paf      2551:   CXXFLAGS=$ac_save_CXXFLAGS
1.1       parser   2552: elif test $ac_cv_prog_cxx_g = yes; then
                   2553:   if test "$GXX" = yes; then
                   2554:     CXXFLAGS="-g -O2"
                   2555:   else
                   2556:     CXXFLAGS="-g"
                   2557:   fi
                   2558: else
                   2559:   if test "$GXX" = yes; then
                   2560:     CXXFLAGS="-O2"
                   2561:   else
                   2562:     CXXFLAGS=
                   2563:   fi
                   2564: fi
1.11      paf      2565: for ac_declaration in \
1.18      paf      2566:    '' \
1.11      paf      2567:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2568:    'extern "C" void std::exit (int); using std::exit;' \
                   2569:    'extern "C" void exit (int) throw ();' \
                   2570:    'extern "C" void exit (int);' \
                   2571:    'void exit (int);'
                   2572: do
                   2573:   cat >conftest.$ac_ext <<_ACEOF
                   2574: /* confdefs.h.  */
                   2575: _ACEOF
                   2576: cat confdefs.h >>conftest.$ac_ext
                   2577: cat >>conftest.$ac_ext <<_ACEOF
                   2578: /* end confdefs.h.  */
1.18      paf      2579: $ac_declaration
1.11      paf      2580: #include <stdlib.h>
                   2581: int
                   2582: main ()
                   2583: {
                   2584: exit (42);
                   2585:   ;
                   2586:   return 0;
                   2587: }
                   2588: _ACEOF
                   2589: rm -f conftest.$ac_objext
                   2590: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2591:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2592:   ac_status=$?
1.18      paf      2593:   grep -v '^ *+' conftest.er1 >conftest.err
                   2594:   rm -f conftest.er1
                   2595:   cat conftest.err >&5
1.11      paf      2596:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2597:   (exit $ac_status); } &&
1.18      paf      2598:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2599:                         || test ! -s conftest.err'
                   2600:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2601:   (eval $ac_try) 2>&5
                   2602:   ac_status=$?
                   2603:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2604:   (exit $ac_status); }; } &&
                   2605:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2606:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2607:   (eval $ac_try) 2>&5
                   2608:   ac_status=$?
                   2609:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2610:   (exit $ac_status); }; }; then
                   2611:   :
                   2612: else
                   2613:   echo "$as_me: failed program was:" >&5
                   2614: sed 's/^/| /' conftest.$ac_ext >&5
                   2615: 
                   2616: continue
                   2617: fi
1.18      paf      2618: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      2619:   cat >conftest.$ac_ext <<_ACEOF
                   2620: /* confdefs.h.  */
                   2621: _ACEOF
                   2622: cat confdefs.h >>conftest.$ac_ext
                   2623: cat >>conftest.$ac_ext <<_ACEOF
                   2624: /* end confdefs.h.  */
                   2625: $ac_declaration
                   2626: int
                   2627: main ()
                   2628: {
                   2629: exit (42);
                   2630:   ;
                   2631:   return 0;
                   2632: }
                   2633: _ACEOF
                   2634: rm -f conftest.$ac_objext
                   2635: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2636:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2637:   ac_status=$?
1.18      paf      2638:   grep -v '^ *+' conftest.er1 >conftest.err
                   2639:   rm -f conftest.er1
                   2640:   cat conftest.err >&5
1.11      paf      2641:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2642:   (exit $ac_status); } &&
1.18      paf      2643:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2644:                         || test ! -s conftest.err'
                   2645:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2646:   (eval $ac_try) 2>&5
                   2647:   ac_status=$?
                   2648:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2649:   (exit $ac_status); }; } &&
                   2650:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2651:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2652:   (eval $ac_try) 2>&5
                   2653:   ac_status=$?
                   2654:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2655:   (exit $ac_status); }; }; then
                   2656:   break
                   2657: else
                   2658:   echo "$as_me: failed program was:" >&5
                   2659: sed 's/^/| /' conftest.$ac_ext >&5
                   2660: 
                   2661: fi
1.18      paf      2662: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      2663: done
                   2664: rm -f conftest*
                   2665: if test -n "$ac_declaration"; then
                   2666:   echo '#ifdef __cplusplus' >>confdefs.h
                   2667:   echo $ac_declaration      >>confdefs.h
                   2668:   echo '#endif'             >>confdefs.h
                   2669: fi
                   2670: 
1.15      paf      2671: ac_ext=c
                   2672: ac_cpp='$CPP $CPPFLAGS'
                   2673: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2674: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2675: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.18      paf      2676: DEPDIR="${am__leading_dot}deps"
1.11      paf      2677: 
                   2678:           ac_config_commands="$ac_config_commands depfiles"
                   2679: 
                   2680: 
                   2681: am_make=${MAKE-make}
                   2682: cat > confinc << 'END'
1.18      paf      2683: am__doit:
1.11      paf      2684:        @echo done
1.18      paf      2685: .PHONY: am__doit
1.11      paf      2686: END
                   2687: # If we don't find an include directive, just comment out the code.
                   2688: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2689: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2690: am__include="#"
                   2691: am__quote=
                   2692: _am_result=none
                   2693: # First try GNU make style include.
                   2694: echo "include confinc" > confmf
                   2695: # We grep out `Entering directory' and `Leaving directory'
                   2696: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2697: # In particular we don't look at `^make:' because GNU make might
                   2698: # be invoked under some other name (usually "gmake"), in which
                   2699: # case it prints its new name instead of `make'.
                   2700: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2701:    am__include=include
                   2702:    am__quote=
                   2703:    _am_result=GNU
                   2704: fi
                   2705: # Now try BSD make style include.
                   2706: if test "$am__include" = "#"; then
                   2707:    echo '.include "confinc"' > confmf
                   2708:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2709:       am__include=.include
                   2710:       am__quote="\""
                   2711:       _am_result=BSD
                   2712:    fi
                   2713: fi
                   2714: 
                   2715: 
                   2716: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2717: echo "${ECHO_T}$_am_result" >&6
                   2718: rm -f confinc confmf
                   2719: 
                   2720: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2721: if test "${enable_dependency_tracking+set}" = set; then
                   2722:   enableval="$enable_dependency_tracking"
                   2723: 
                   2724: fi;
                   2725: if test "x$enable_dependency_tracking" != xno; then
                   2726:   am_depcomp="$ac_aux_dir/depcomp"
                   2727:   AMDEPBACKSLASH='\'
                   2728: fi
                   2729: 
                   2730: 
                   2731: if test "x$enable_dependency_tracking" != xno; then
                   2732:   AMDEP_TRUE=
                   2733:   AMDEP_FALSE='#'
                   2734: else
                   2735:   AMDEP_TRUE='#'
                   2736:   AMDEP_FALSE=
                   2737: fi
                   2738: 
                   2739: 
                   2740: 
                   2741: 
                   2742: depcc="$CXX"  am_compiler_list=
                   2743: 
                   2744: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2745: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2746: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2747:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2748: else
                   2749:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2750:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2751:   # making bogus files that we don't know about and never remove.  For
                   2752:   # instance it was reported that on HP-UX the gcc test will end up
                   2753:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2754:   # in D'.
                   2755:   mkdir conftest.dir
                   2756:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2757:   # using a relative directory.
                   2758:   cp "$am_depcomp" conftest.dir
                   2759:   cd conftest.dir
1.18      paf      2760:   # We will build objects and dependencies in a subdirectory because
                   2761:   # it helps to detect inapplicable dependency modes.  For instance
                   2762:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2763:   # side effect of compilation, but ICC will put the dependencies in
                   2764:   # the current directory while Tru64 will put them in the object
                   2765:   # directory.
                   2766:   mkdir sub
1.11      paf      2767: 
                   2768:   am_cv_CXX_dependencies_compiler_type=none
                   2769:   if test "$am_compiler_list" = ""; then
                   2770:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2771:   fi
                   2772:   for depmode in $am_compiler_list; do
1.18      paf      2773:     # Setup a source with many dependencies, because some compilers
                   2774:     # like to wrap large dependency lists on column 80 (with \), and
                   2775:     # we should not choose a depcomp mode which is confused by this.
                   2776:     #
1.11      paf      2777:     # We need to recreate these files for each test, as the compiler may
                   2778:     # overwrite some of them when testing with obscure command lines.
                   2779:     # This happens at least with the AIX C compiler.
1.18      paf      2780:     : > sub/conftest.c
                   2781:     for i in 1 2 3 4 5 6; do
                   2782:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2783:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2784:       # Solaris 8's {/usr,}/bin/sh.
                   2785:       touch sub/conftst$i.h
                   2786:     done
                   2787:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.11      paf      2788: 
                   2789:     case $depmode in
                   2790:     nosideeffect)
                   2791:       # after this tag, mechanisms are not by side-effect, so they'll
                   2792:       # only be used when explicitly requested
                   2793:       if test "x$enable_dependency_tracking" = xyes; then
                   2794:        continue
                   2795:       else
                   2796:        break
                   2797:       fi
                   2798:       ;;
                   2799:     none) break ;;
                   2800:     esac
                   2801:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2802:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2803:     # handle `-M -o', and we need to detect this.
                   2804:     if depmode=$depmode \
1.18      paf      2805:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2806:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2807:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2808:          >/dev/null 2>conftest.err &&
                   2809:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2810:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.11      paf      2811:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.18      paf      2812:       # icc doesn't choke on unknown options, it will just issue warnings
                   2813:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2814:       # that says an option was ignored or not supported.
                   2815:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2816:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2817:       # The diagnosis changed in icc 8.0:
                   2818:       #   icc: Command line remark: option '-MP' not supported
                   2819:       if (grep 'ignoring option' conftest.err ||
                   2820:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2821:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2822:         break
                   2823:       fi
1.11      paf      2824:     fi
                   2825:   done
                   2826: 
                   2827:   cd ..
                   2828:   rm -rf conftest.dir
                   2829: else
                   2830:   am_cv_CXX_dependencies_compiler_type=none
                   2831: fi
                   2832: 
                   2833: fi
                   2834: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2835: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2836: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2837: 
1.1       parser   2838: 
                   2839: 
1.11      paf      2840: if
                   2841:   test "x$enable_dependency_tracking" != xno \
                   2842:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2843:   am__fastdepCXX_TRUE=
                   2844:   am__fastdepCXX_FALSE='#'
                   2845: else
                   2846:   am__fastdepCXX_TRUE='#'
                   2847:   am__fastdepCXX_FALSE=
                   2848: fi
                   2849: 
                   2850: 
                   2851: ac_ext=c
                   2852: ac_cpp='$CPP $CPPFLAGS'
                   2853: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2854: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2855: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2856: if test -n "$ac_tool_prefix"; then
                   2857:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2858: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2859: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2860: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2861: if test "${ac_cv_prog_CC+set}" = set; then
                   2862:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2863: else
                   2864:   if test -n "$CC"; then
                   2865:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2866: else
                   2867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2868: for as_dir in $PATH
                   2869: do
                   2870:   IFS=$as_save_IFS
                   2871:   test -z "$as_dir" && as_dir=.
                   2872:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2873:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2874:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2875:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2876:     break 2
                   2877:   fi
                   2878: done
                   2879: done
1.1       parser   2880: 
1.11      paf      2881: fi
                   2882: fi
                   2883: CC=$ac_cv_prog_CC
                   2884: if test -n "$CC"; then
                   2885:   echo "$as_me:$LINENO: result: $CC" >&5
                   2886: echo "${ECHO_T}$CC" >&6
                   2887: else
                   2888:   echo "$as_me:$LINENO: result: no" >&5
                   2889: echo "${ECHO_T}no" >&6
                   2890: fi
1.1       parser   2891: 
1.11      paf      2892: fi
                   2893: if test -z "$ac_cv_prog_CC"; then
                   2894:   ac_ct_CC=$CC
                   2895:   # Extract the first word of "gcc", so it can be a program name with args.
                   2896: set dummy gcc; ac_word=$2
                   2897: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2898: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2899: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2900:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2901: else
1.11      paf      2902:   if test -n "$ac_ct_CC"; then
                   2903:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   2904: else
1.11      paf      2905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2906: for as_dir in $PATH
                   2907: do
                   2908:   IFS=$as_save_IFS
                   2909:   test -z "$as_dir" && as_dir=.
                   2910:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2911:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2912:     ac_cv_prog_ac_ct_CC="gcc"
                   2913:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2914:     break 2
                   2915:   fi
                   2916: done
                   2917: done
                   2918: 
                   2919: fi
1.1       parser   2920: fi
1.11      paf      2921: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2922: if test -n "$ac_ct_CC"; then
                   2923:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2924: echo "${ECHO_T}$ac_ct_CC" >&6
                   2925: else
                   2926:   echo "$as_me:$LINENO: result: no" >&5
                   2927: echo "${ECHO_T}no" >&6
1.1       parser   2928: fi
1.11      paf      2929: 
                   2930:   CC=$ac_ct_CC
1.1       parser   2931: else
1.11      paf      2932:   CC="$ac_cv_prog_CC"
1.1       parser   2933: fi
                   2934: 
1.11      paf      2935: if test -z "$CC"; then
                   2936:   if test -n "$ac_tool_prefix"; then
                   2937:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2938: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2939: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2940: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2941: if test "${ac_cv_prog_CC+set}" = set; then
                   2942:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2943: else
                   2944:   if test -n "$CC"; then
                   2945:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2946: else
1.11      paf      2947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2948: for as_dir in $PATH
                   2949: do
                   2950:   IFS=$as_save_IFS
                   2951:   test -z "$as_dir" && as_dir=.
                   2952:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2953:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2954:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2955:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2956:     break 2
                   2957:   fi
                   2958: done
                   2959: done
                   2960: 
1.1       parser   2961: fi
                   2962: fi
1.11      paf      2963: CC=$ac_cv_prog_CC
1.1       parser   2964: if test -n "$CC"; then
1.11      paf      2965:   echo "$as_me:$LINENO: result: $CC" >&5
                   2966: echo "${ECHO_T}$CC" >&6
                   2967: else
                   2968:   echo "$as_me:$LINENO: result: no" >&5
                   2969: echo "${ECHO_T}no" >&6
                   2970: fi
                   2971: 
                   2972: fi
                   2973: if test -z "$ac_cv_prog_CC"; then
                   2974:   ac_ct_CC=$CC
                   2975:   # Extract the first word of "cc", so it can be a program name with args.
                   2976: set dummy cc; ac_word=$2
                   2977: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2978: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2979: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2980:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2981: else
                   2982:   if test -n "$ac_ct_CC"; then
                   2983:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2984: else
                   2985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2986: for as_dir in $PATH
                   2987: do
                   2988:   IFS=$as_save_IFS
                   2989:   test -z "$as_dir" && as_dir=.
                   2990:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2991:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2992:     ac_cv_prog_ac_ct_CC="cc"
                   2993:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2994:     break 2
                   2995:   fi
                   2996: done
                   2997: done
                   2998: 
                   2999: fi
                   3000: fi
                   3001: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3002: if test -n "$ac_ct_CC"; then
                   3003:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3004: echo "${ECHO_T}$ac_ct_CC" >&6
                   3005: else
                   3006:   echo "$as_me:$LINENO: result: no" >&5
                   3007: echo "${ECHO_T}no" >&6
                   3008: fi
                   3009: 
                   3010:   CC=$ac_ct_CC
1.1       parser   3011: else
1.11      paf      3012:   CC="$ac_cv_prog_CC"
1.1       parser   3013: fi
                   3014: 
1.11      paf      3015: fi
1.1       parser   3016: if test -z "$CC"; then
                   3017:   # Extract the first word of "cc", so it can be a program name with args.
                   3018: set dummy cc; ac_word=$2
1.11      paf      3019: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3020: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3021: if test "${ac_cv_prog_CC+set}" = set; then
                   3022:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3023: else
                   3024:   if test -n "$CC"; then
                   3025:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3026: else
                   3027:   ac_prog_rejected=no
1.11      paf      3028: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3029: for as_dir in $PATH
                   3030: do
                   3031:   IFS=$as_save_IFS
                   3032:   test -z "$as_dir" && as_dir=.
                   3033:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3034:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3035:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3036:        ac_prog_rejected=yes
                   3037:        continue
                   3038:      fi
                   3039:     ac_cv_prog_CC="cc"
                   3040:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3041:     break 2
                   3042:   fi
                   3043: done
                   3044: done
                   3045: 
1.1       parser   3046: if test $ac_prog_rejected = yes; then
                   3047:   # We found a bogon in the path, so make sure we never use it.
                   3048:   set dummy $ac_cv_prog_CC
                   3049:   shift
1.11      paf      3050:   if test $# != 0; then
1.1       parser   3051:     # We chose a different compiler from the bogus one.
                   3052:     # However, it has the same basename, so the bogon will be chosen
                   3053:     # first if we set CC to just the basename; use the full file name.
                   3054:     shift
1.11      paf      3055:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   3056:   fi
                   3057: fi
                   3058: fi
                   3059: fi
1.11      paf      3060: CC=$ac_cv_prog_CC
1.1       parser   3061: if test -n "$CC"; then
1.11      paf      3062:   echo "$as_me:$LINENO: result: $CC" >&5
                   3063: echo "${ECHO_T}$CC" >&6
1.1       parser   3064: else
1.11      paf      3065:   echo "$as_me:$LINENO: result: no" >&5
                   3066: echo "${ECHO_T}no" >&6
1.1       parser   3067: fi
                   3068: 
1.11      paf      3069: fi
                   3070: if test -z "$CC"; then
                   3071:   if test -n "$ac_tool_prefix"; then
                   3072:   for ac_prog in cl
                   3073:   do
                   3074:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3075: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3076: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3077: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3078: if test "${ac_cv_prog_CC+set}" = set; then
                   3079:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3080: else
                   3081:   if test -n "$CC"; then
                   3082:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3083: else
1.11      paf      3084: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3085: for as_dir in $PATH
                   3086: do
                   3087:   IFS=$as_save_IFS
                   3088:   test -z "$as_dir" && as_dir=.
                   3089:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3090:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3091:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3092:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3093:     break 2
                   3094:   fi
                   3095: done
                   3096: done
                   3097: 
1.1       parser   3098: fi
                   3099: fi
1.11      paf      3100: CC=$ac_cv_prog_CC
1.1       parser   3101: if test -n "$CC"; then
1.11      paf      3102:   echo "$as_me:$LINENO: result: $CC" >&5
                   3103: echo "${ECHO_T}$CC" >&6
1.1       parser   3104: else
1.11      paf      3105:   echo "$as_me:$LINENO: result: no" >&5
                   3106: echo "${ECHO_T}no" >&6
1.1       parser   3107: fi
1.11      paf      3108: 
                   3109:     test -n "$CC" && break
                   3110:   done
                   3111: fi
                   3112: if test -z "$CC"; then
                   3113:   ac_ct_CC=$CC
                   3114:   for ac_prog in cl
                   3115: do
                   3116:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3117: set dummy $ac_prog; ac_word=$2
                   3118: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3119: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3120: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   3121:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3122: else
                   3123:   if test -n "$ac_ct_CC"; then
                   3124:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3125: else
                   3126: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3127: for as_dir in $PATH
                   3128: do
                   3129:   IFS=$as_save_IFS
                   3130:   test -z "$as_dir" && as_dir=.
                   3131:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3132:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3133:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3134:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3135:     break 2
1.1       parser   3136:   fi
1.11      paf      3137: done
                   3138: done
                   3139: 
                   3140: fi
                   3141: fi
                   3142: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3143: if test -n "$ac_ct_CC"; then
                   3144:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3145: echo "${ECHO_T}$ac_ct_CC" >&6
                   3146: else
                   3147:   echo "$as_me:$LINENO: result: no" >&5
                   3148: echo "${ECHO_T}no" >&6
1.1       parser   3149: fi
                   3150: 
1.11      paf      3151:   test -n "$ac_ct_CC" && break
                   3152: done
1.1       parser   3153: 
1.11      paf      3154:   CC=$ac_ct_CC
                   3155: fi
1.1       parser   3156: 
1.11      paf      3157: fi
1.1       parser   3158: 
                   3159: 
1.11      paf      3160: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3161: See \`config.log' for more details." >&5
                   3162: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3163: See \`config.log' for more details." >&2;}
                   3164:    { (exit 1); exit 1; }; }
                   3165: 
                   3166: # Provide some information about the compiler.
                   3167: echo "$as_me:$LINENO:" \
                   3168:      "checking for C compiler version" >&5
                   3169: ac_compiler=`set X $ac_compile; echo $2`
                   3170: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3171:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3172:   ac_status=$?
                   3173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3174:   (exit $ac_status); }
                   3175: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3176:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3177:   ac_status=$?
                   3178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3179:   (exit $ac_status); }
                   3180: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3181:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3182:   ac_status=$?
                   3183:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3184:   (exit $ac_status); }
                   3185: 
                   3186: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3187: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3188: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   3189:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3190: else
                   3191:   cat >conftest.$ac_ext <<_ACEOF
                   3192: /* confdefs.h.  */
                   3193: _ACEOF
                   3194: cat confdefs.h >>conftest.$ac_ext
                   3195: cat >>conftest.$ac_ext <<_ACEOF
                   3196: /* end confdefs.h.  */
                   3197: 
                   3198: int
                   3199: main ()
                   3200: {
                   3201: #ifndef __GNUC__
                   3202:        choke me
1.1       parser   3203: #endif
                   3204: 
1.11      paf      3205:   ;
                   3206:   return 0;
                   3207: }
                   3208: _ACEOF
                   3209: rm -f conftest.$ac_objext
                   3210: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3211:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3212:   ac_status=$?
1.18      paf      3213:   grep -v '^ *+' conftest.er1 >conftest.err
                   3214:   rm -f conftest.er1
                   3215:   cat conftest.err >&5
1.11      paf      3216:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3217:   (exit $ac_status); } &&
1.18      paf      3218:         { ac_try='test -z "$ac_c_werror_flag"
                   3219:                         || test ! -s conftest.err'
                   3220:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3221:   (eval $ac_try) 2>&5
                   3222:   ac_status=$?
                   3223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3224:   (exit $ac_status); }; } &&
                   3225:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3226:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3227:   (eval $ac_try) 2>&5
                   3228:   ac_status=$?
                   3229:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3230:   (exit $ac_status); }; }; then
                   3231:   ac_compiler_gnu=yes
                   3232: else
                   3233:   echo "$as_me: failed program was:" >&5
                   3234: sed 's/^/| /' conftest.$ac_ext >&5
                   3235: 
                   3236: ac_compiler_gnu=no
                   3237: fi
1.18      paf      3238: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      3239: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3240: 
                   3241: fi
                   3242: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3243: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3244: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3245: ac_test_CFLAGS=${CFLAGS+set}
                   3246: ac_save_CFLAGS=$CFLAGS
                   3247: CFLAGS="-g"
                   3248: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3249: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3250: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3251:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3252: else
                   3253:   cat >conftest.$ac_ext <<_ACEOF
                   3254: /* confdefs.h.  */
                   3255: _ACEOF
                   3256: cat confdefs.h >>conftest.$ac_ext
                   3257: cat >>conftest.$ac_ext <<_ACEOF
                   3258: /* end confdefs.h.  */
                   3259: 
                   3260: int
                   3261: main ()
                   3262: {
                   3263: 
                   3264:   ;
                   3265:   return 0;
                   3266: }
                   3267: _ACEOF
                   3268: rm -f conftest.$ac_objext
                   3269: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3270:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3271:   ac_status=$?
1.18      paf      3272:   grep -v '^ *+' conftest.er1 >conftest.err
                   3273:   rm -f conftest.er1
                   3274:   cat conftest.err >&5
1.11      paf      3275:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3276:   (exit $ac_status); } &&
1.18      paf      3277:         { ac_try='test -z "$ac_c_werror_flag"
                   3278:                         || test ! -s conftest.err'
                   3279:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3280:   (eval $ac_try) 2>&5
                   3281:   ac_status=$?
                   3282:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3283:   (exit $ac_status); }; } &&
                   3284:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3285:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3286:   (eval $ac_try) 2>&5
                   3287:   ac_status=$?
                   3288:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3289:   (exit $ac_status); }; }; then
                   3290:   ac_cv_prog_cc_g=yes
1.1       parser   3291: else
1.11      paf      3292:   echo "$as_me: failed program was:" >&5
                   3293: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3294: 
1.11      paf      3295: ac_cv_prog_cc_g=no
1.1       parser   3296: fi
1.18      paf      3297: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   3298: fi
1.11      paf      3299: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3300: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       parser   3301: if test "$ac_test_CFLAGS" = set; then
1.11      paf      3302:   CFLAGS=$ac_save_CFLAGS
1.1       parser   3303: elif test $ac_cv_prog_cc_g = yes; then
                   3304:   if test "$GCC" = yes; then
                   3305:     CFLAGS="-g -O2"
                   3306:   else
                   3307:     CFLAGS="-g"
                   3308:   fi
                   3309: else
                   3310:   if test "$GCC" = yes; then
                   3311:     CFLAGS="-O2"
                   3312:   else
                   3313:     CFLAGS=
                   3314:   fi
                   3315: fi
1.11      paf      3316: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3317: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3318: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3319:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3320: else
                   3321:   ac_cv_prog_cc_stdc=no
                   3322: ac_save_CC=$CC
                   3323: cat >conftest.$ac_ext <<_ACEOF
                   3324: /* confdefs.h.  */
                   3325: _ACEOF
                   3326: cat confdefs.h >>conftest.$ac_ext
                   3327: cat >>conftest.$ac_ext <<_ACEOF
                   3328: /* end confdefs.h.  */
                   3329: #include <stdarg.h>
                   3330: #include <stdio.h>
                   3331: #include <sys/types.h>
                   3332: #include <sys/stat.h>
                   3333: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3334: struct buf { int x; };
                   3335: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3336: static char *e (p, i)
                   3337:      char **p;
                   3338:      int i;
                   3339: {
                   3340:   return p[i];
                   3341: }
                   3342: static char *f (char * (*g) (char **, int), char **p, ...)
                   3343: {
                   3344:   char *s;
                   3345:   va_list v;
                   3346:   va_start (v,p);
                   3347:   s = g (p, va_arg (v,int));
                   3348:   va_end (v);
                   3349:   return s;
                   3350: }
1.18      paf      3351: 
                   3352: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3353:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3354:    These don't provoke an error unfortunately, instead are silently treated
                   3355:    as 'x'.  The following induces an error, until -std1 is added to get
                   3356:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3357:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3358:    that's true only with -std1.  */
                   3359: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3360: 
1.11      paf      3361: int test (int i, double x);
                   3362: struct s1 {int (*f) (int a);};
                   3363: struct s2 {int (*f) (double a);};
                   3364: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3365: int argc;
                   3366: char **argv;
                   3367: int
                   3368: main ()
                   3369: {
                   3370: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3371:   ;
                   3372:   return 0;
                   3373: }
                   3374: _ACEOF
                   3375: # Don't try gcc -ansi; that turns off useful extensions and
                   3376: # breaks some systems' header files.
                   3377: # AIX                  -qlanglvl=ansi
                   3378: # Ultrix and OSF/1     -std1
                   3379: # HP-UX 10.20 and later        -Ae
                   3380: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3381: # SVR4                 -Xc -D__EXTENSIONS__
                   3382: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3383: do
                   3384:   CC="$ac_save_CC $ac_arg"
                   3385:   rm -f conftest.$ac_objext
                   3386: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3387:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3388:   ac_status=$?
1.18      paf      3389:   grep -v '^ *+' conftest.er1 >conftest.err
                   3390:   rm -f conftest.er1
                   3391:   cat conftest.err >&5
1.11      paf      3392:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3393:   (exit $ac_status); } &&
1.18      paf      3394:         { ac_try='test -z "$ac_c_werror_flag"
                   3395:                         || test ! -s conftest.err'
                   3396:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3397:   (eval $ac_try) 2>&5
                   3398:   ac_status=$?
                   3399:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3400:   (exit $ac_status); }; } &&
                   3401:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3402:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3403:   (eval $ac_try) 2>&5
                   3404:   ac_status=$?
                   3405:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3406:   (exit $ac_status); }; }; then
                   3407:   ac_cv_prog_cc_stdc=$ac_arg
                   3408: break
                   3409: else
                   3410:   echo "$as_me: failed program was:" >&5
                   3411: sed 's/^/| /' conftest.$ac_ext >&5
                   3412: 
                   3413: fi
1.18      paf      3414: rm -f conftest.err conftest.$ac_objext
1.11      paf      3415: done
                   3416: rm -f conftest.$ac_ext conftest.$ac_objext
                   3417: CC=$ac_save_CC
                   3418: 
                   3419: fi
                   3420: 
                   3421: case "x$ac_cv_prog_cc_stdc" in
                   3422:   x|xno)
                   3423:     echo "$as_me:$LINENO: result: none needed" >&5
                   3424: echo "${ECHO_T}none needed" >&6 ;;
                   3425:   *)
                   3426:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3427: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3428:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3429: esac
                   3430: 
                   3431: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3432: # in C++ we need to declare it.  In case someone uses the same compiler
                   3433: # for both compiling C and C++ we need to have the C++ compiler decide
                   3434: # the declaration of exit, since it's the most demanding environment.
                   3435: cat >conftest.$ac_ext <<_ACEOF
                   3436: #ifndef __cplusplus
                   3437:   choke me
                   3438: #endif
                   3439: _ACEOF
                   3440: rm -f conftest.$ac_objext
                   3441: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3442:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3443:   ac_status=$?
1.18      paf      3444:   grep -v '^ *+' conftest.er1 >conftest.err
                   3445:   rm -f conftest.er1
                   3446:   cat conftest.err >&5
1.11      paf      3447:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3448:   (exit $ac_status); } &&
1.18      paf      3449:         { ac_try='test -z "$ac_c_werror_flag"
                   3450:                         || test ! -s conftest.err'
                   3451:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3452:   (eval $ac_try) 2>&5
                   3453:   ac_status=$?
                   3454:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3455:   (exit $ac_status); }; } &&
                   3456:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3457:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3458:   (eval $ac_try) 2>&5
                   3459:   ac_status=$?
                   3460:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3461:   (exit $ac_status); }; }; then
                   3462:   for ac_declaration in \
1.18      paf      3463:    '' \
1.11      paf      3464:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3465:    'extern "C" void std::exit (int); using std::exit;' \
                   3466:    'extern "C" void exit (int) throw ();' \
                   3467:    'extern "C" void exit (int);' \
                   3468:    'void exit (int);'
                   3469: do
                   3470:   cat >conftest.$ac_ext <<_ACEOF
                   3471: /* confdefs.h.  */
                   3472: _ACEOF
                   3473: cat confdefs.h >>conftest.$ac_ext
                   3474: cat >>conftest.$ac_ext <<_ACEOF
                   3475: /* end confdefs.h.  */
1.18      paf      3476: $ac_declaration
1.11      paf      3477: #include <stdlib.h>
                   3478: int
                   3479: main ()
                   3480: {
                   3481: exit (42);
                   3482:   ;
                   3483:   return 0;
                   3484: }
                   3485: _ACEOF
                   3486: rm -f conftest.$ac_objext
                   3487: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3488:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3489:   ac_status=$?
1.18      paf      3490:   grep -v '^ *+' conftest.er1 >conftest.err
                   3491:   rm -f conftest.er1
                   3492:   cat conftest.err >&5
1.11      paf      3493:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3494:   (exit $ac_status); } &&
1.18      paf      3495:         { ac_try='test -z "$ac_c_werror_flag"
                   3496:                         || test ! -s conftest.err'
                   3497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3498:   (eval $ac_try) 2>&5
                   3499:   ac_status=$?
                   3500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3501:   (exit $ac_status); }; } &&
                   3502:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3503:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3504:   (eval $ac_try) 2>&5
                   3505:   ac_status=$?
                   3506:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3507:   (exit $ac_status); }; }; then
                   3508:   :
                   3509: else
                   3510:   echo "$as_me: failed program was:" >&5
                   3511: sed 's/^/| /' conftest.$ac_ext >&5
                   3512: 
                   3513: continue
                   3514: fi
1.18      paf      3515: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      3516:   cat >conftest.$ac_ext <<_ACEOF
                   3517: /* confdefs.h.  */
                   3518: _ACEOF
                   3519: cat confdefs.h >>conftest.$ac_ext
                   3520: cat >>conftest.$ac_ext <<_ACEOF
                   3521: /* end confdefs.h.  */
                   3522: $ac_declaration
                   3523: int
                   3524: main ()
                   3525: {
                   3526: exit (42);
                   3527:   ;
                   3528:   return 0;
                   3529: }
                   3530: _ACEOF
                   3531: rm -f conftest.$ac_objext
                   3532: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3533:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3534:   ac_status=$?
1.18      paf      3535:   grep -v '^ *+' conftest.er1 >conftest.err
                   3536:   rm -f conftest.er1
                   3537:   cat conftest.err >&5
1.11      paf      3538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3539:   (exit $ac_status); } &&
1.18      paf      3540:         { ac_try='test -z "$ac_c_werror_flag"
                   3541:                         || test ! -s conftest.err'
                   3542:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3543:   (eval $ac_try) 2>&5
                   3544:   ac_status=$?
                   3545:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3546:   (exit $ac_status); }; } &&
                   3547:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3548:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3549:   (eval $ac_try) 2>&5
                   3550:   ac_status=$?
                   3551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3552:   (exit $ac_status); }; }; then
                   3553:   break
                   3554: else
                   3555:   echo "$as_me: failed program was:" >&5
                   3556: sed 's/^/| /' conftest.$ac_ext >&5
                   3557: 
                   3558: fi
1.18      paf      3559: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      3560: done
                   3561: rm -f conftest*
                   3562: if test -n "$ac_declaration"; then
                   3563:   echo '#ifdef __cplusplus' >>confdefs.h
                   3564:   echo $ac_declaration      >>confdefs.h
                   3565:   echo '#endif'             >>confdefs.h
                   3566: fi
                   3567: 
                   3568: else
                   3569:   echo "$as_me: failed program was:" >&5
                   3570: sed 's/^/| /' conftest.$ac_ext >&5
                   3571: 
                   3572: fi
1.18      paf      3573: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      3574: ac_ext=c
                   3575: ac_cpp='$CPP $CPPFLAGS'
                   3576: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3577: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3578: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      paf      3579: 
                   3580: depcc="$CC"   am_compiler_list=
                   3581: 
                   3582: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3583: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   3584: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3585:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3586: else
                   3587:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3588:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3589:   # making bogus files that we don't know about and never remove.  For
                   3590:   # instance it was reported that on HP-UX the gcc test will end up
                   3591:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3592:   # in D'.
                   3593:   mkdir conftest.dir
                   3594:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3595:   # using a relative directory.
                   3596:   cp "$am_depcomp" conftest.dir
                   3597:   cd conftest.dir
1.18      paf      3598:   # We will build objects and dependencies in a subdirectory because
                   3599:   # it helps to detect inapplicable dependency modes.  For instance
                   3600:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3601:   # side effect of compilation, but ICC will put the dependencies in
                   3602:   # the current directory while Tru64 will put them in the object
                   3603:   # directory.
                   3604:   mkdir sub
1.11      paf      3605: 
                   3606:   am_cv_CC_dependencies_compiler_type=none
                   3607:   if test "$am_compiler_list" = ""; then
                   3608:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3609:   fi
                   3610:   for depmode in $am_compiler_list; do
1.18      paf      3611:     # Setup a source with many dependencies, because some compilers
                   3612:     # like to wrap large dependency lists on column 80 (with \), and
                   3613:     # we should not choose a depcomp mode which is confused by this.
                   3614:     #
1.11      paf      3615:     # We need to recreate these files for each test, as the compiler may
                   3616:     # overwrite some of them when testing with obscure command lines.
                   3617:     # This happens at least with the AIX C compiler.
1.18      paf      3618:     : > sub/conftest.c
                   3619:     for i in 1 2 3 4 5 6; do
                   3620:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3621:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3622:       # Solaris 8's {/usr,}/bin/sh.
                   3623:       touch sub/conftst$i.h
                   3624:     done
                   3625:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.11      paf      3626: 
                   3627:     case $depmode in
                   3628:     nosideeffect)
                   3629:       # after this tag, mechanisms are not by side-effect, so they'll
                   3630:       # only be used when explicitly requested
                   3631:       if test "x$enable_dependency_tracking" = xyes; then
                   3632:        continue
                   3633:       else
                   3634:        break
                   3635:       fi
                   3636:       ;;
                   3637:     none) break ;;
                   3638:     esac
                   3639:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3640:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3641:     # handle `-M -o', and we need to detect this.
                   3642:     if depmode=$depmode \
1.18      paf      3643:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3644:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3645:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3646:          >/dev/null 2>conftest.err &&
                   3647:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3648:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.11      paf      3649:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.18      paf      3650:       # icc doesn't choke on unknown options, it will just issue warnings
                   3651:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3652:       # that says an option was ignored or not supported.
                   3653:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3654:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3655:       # The diagnosis changed in icc 8.0:
                   3656:       #   icc: Command line remark: option '-MP' not supported
                   3657:       if (grep 'ignoring option' conftest.err ||
                   3658:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3659:         am_cv_CC_dependencies_compiler_type=$depmode
                   3660:         break
                   3661:       fi
1.11      paf      3662:     fi
                   3663:   done
                   3664: 
                   3665:   cd ..
                   3666:   rm -rf conftest.dir
                   3667: else
                   3668:   am_cv_CC_dependencies_compiler_type=none
                   3669: fi
                   3670: 
                   3671: fi
                   3672: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3673: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3674: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3675: 
                   3676: 
                   3677: 
                   3678: if
                   3679:   test "x$enable_dependency_tracking" != xno \
                   3680:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3681:   am__fastdepCC_TRUE=
                   3682:   am__fastdepCC_FALSE='#'
                   3683: else
                   3684:   am__fastdepCC_TRUE='#'
                   3685:   am__fastdepCC_FALSE=
                   3686: fi
                   3687: 
                   3688: 
1.15      paf      3689: 
                   3690: ac_ext=c
                   3691: ac_cpp='$CPP $CPPFLAGS'
                   3692: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3693: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3694: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3695: 
                   3696: 
                   3697: 
                   3698:   case $enable_ltdl_convenience in
                   3699:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   3700: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   3701:    { (exit 1); exit 1; }; } ;;
                   3702:   "") enable_ltdl_convenience=yes
                   3703:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   3704:   esac
                   3705:   LIBLTDL='${top_builddir}/''libltdl'/libltdlc.la
                   3706:   LTDLINCL='-I${top_srcdir}/''libltdl'
                   3707:   # For backwards non-gettext consistent compatibility...
                   3708:   INCLTDL="$LTDLINCL"
                   3709: 
                   3710: 
                   3711: 
                   3712: 
                   3713: # Check whether --enable-static or --disable-static was given.
                   3714: if test "${enable_static+set}" = set; then
                   3715:   enableval="$enable_static"
                   3716:   p=${PACKAGE-default}
                   3717: case $enableval in
                   3718: yes) enable_static=yes ;;
                   3719: no) enable_static=no ;;
                   3720: *)
                   3721:   enable_static=no
                   3722:   # Look at the argument we got.  We use all the common list separators.
                   3723:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3724:   for pkg in $enableval; do
                   3725:     if test "X$pkg" = "X$p"; then
                   3726:       enable_static=yes
                   3727:     fi
                   3728:   done
                   3729:   IFS="$ac_save_ifs"
                   3730:   ;;
                   3731: esac
                   3732: else
                   3733:   enable_static=no
                   3734: fi;
                   3735: 
                   3736: # Check whether --enable-shared or --disable-shared was given.
                   3737: if test "${enable_shared+set}" = set; then
                   3738:   enableval="$enable_shared"
                   3739:   p=${PACKAGE-default}
                   3740: case $enableval in
                   3741: yes) enable_shared=yes ;;
                   3742: no) enable_shared=no ;;
                   3743: *)
                   3744:   enable_shared=no
                   3745:   # Look at the argument we got.  We use all the common list separators.
                   3746:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3747:   for pkg in $enableval; do
                   3748:     if test "X$pkg" = "X$p"; then
                   3749:       enable_shared=yes
                   3750:     fi
                   3751:   done
                   3752:   IFS="$ac_save_ifs"
                   3753:   ;;
                   3754: esac
                   3755: else
                   3756:   enable_shared=yes
                   3757: fi;
                   3758: # Check whether --enable-fast-install or --disable-fast-install was given.
                   3759: if test "${enable_fast_install+set}" = set; then
                   3760:   enableval="$enable_fast_install"
                   3761:   p=${PACKAGE-default}
                   3762: case $enableval in
                   3763: yes) enable_fast_install=yes ;;
                   3764: no) enable_fast_install=no ;;
                   3765: *)
                   3766:   enable_fast_install=no
                   3767:   # Look at the argument we got.  We use all the common list separators.
                   3768:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   3769:   for pkg in $enableval; do
                   3770:     if test "X$pkg" = "X$p"; then
                   3771:       enable_fast_install=yes
                   3772:     fi
                   3773:   done
                   3774:   IFS="$ac_save_ifs"
                   3775:   ;;
                   3776: esac
                   3777: else
                   3778:   enable_fast_install=yes
                   3779: fi;
                   3780: # Make sure we can run config.sub.
                   3781: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   3782:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   3783: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   3784:    { (exit 1); exit 1; }; }
                   3785: 
                   3786: echo "$as_me:$LINENO: checking build system type" >&5
                   3787: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   3788: if test "${ac_cv_build+set}" = set; then
                   3789:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3790: else
                   3791:   ac_cv_build_alias=$build_alias
                   3792: test -z "$ac_cv_build_alias" &&
                   3793:   ac_cv_build_alias=`$ac_config_guess`
                   3794: test -z "$ac_cv_build_alias" &&
                   3795:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   3796: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   3797:    { (exit 1); exit 1; }; }
                   3798: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   3799:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   3800: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   3801:    { (exit 1); exit 1; }; }
                   3802: 
                   3803: fi
                   3804: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   3805: echo "${ECHO_T}$ac_cv_build" >&6
                   3806: build=$ac_cv_build
                   3807: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3808: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3809: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3810: 
                   3811: 
                   3812: echo "$as_me:$LINENO: checking host system type" >&5
                   3813: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   3814: if test "${ac_cv_host+set}" = set; then
                   3815:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3816: else
                   3817:   ac_cv_host_alias=$host_alias
                   3818: test -z "$ac_cv_host_alias" &&
                   3819:   ac_cv_host_alias=$ac_cv_build_alias
                   3820: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   3821:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   3822: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   3823:    { (exit 1); exit 1; }; }
                   3824: 
                   3825: fi
                   3826: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   3827: echo "${ECHO_T}$ac_cv_host" >&6
                   3828: host=$ac_cv_host
                   3829: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3830: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3831: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3832: 
                   3833: 
1.11      paf      3834: # Find the correct PATH separator.  Usually this is `:', but
                   3835: # DJGPP uses `;' like DOS.
                   3836: if test "X${PATH_SEPARATOR+set}" != Xset; then
                   3837:   UNAME=${UNAME-`uname 2>/dev/null`}
                   3838:   case X$UNAME in
                   3839:     *-DOS) lt_cv_sys_path_separator=';' ;;
                   3840:     *)     lt_cv_sys_path_separator=':' ;;
                   3841:   esac
                   3842:   PATH_SEPARATOR=$lt_cv_sys_path_separator
                   3843: fi
                   3844: 
1.1       parser   3845: 
                   3846: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3847: if test "${with_gnu_ld+set}" = set; then
                   3848:   withval="$with_gnu_ld"
                   3849:   test "$withval" = no || with_gnu_ld=yes
                   3850: else
                   3851:   with_gnu_ld=no
1.11      paf      3852: fi;
1.1       parser   3853: ac_prog=ld
1.11      paf      3854: if test "$GCC" = yes; then
1.1       parser   3855:   # Check if gcc -print-prog-name=ld gives a path.
1.11      paf      3856:   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
                   3857: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
                   3858:   case $host in
                   3859:   *-*-mingw*)
                   3860:     # gcc leaves a trailing carriage return which upsets mingw
                   3861:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3862:   *)
                   3863:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3864:   esac
                   3865:   case $ac_prog in
1.1       parser   3866:     # Accept absolute paths.
                   3867:     [\\/]* | [A-Za-z]:[\\/]*)
                   3868:       re_direlt='/[^/][^/]*/\.\./'
                   3869:       # Canonicalize the path of ld
                   3870:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   3871:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   3872:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   3873:       done
                   3874:       test -z "$LD" && LD="$ac_prog"
                   3875:       ;;
                   3876:   "")
                   3877:     # If it fails, then pretend we aren't using GCC.
                   3878:     ac_prog=ld
                   3879:     ;;
                   3880:   *)
                   3881:     # If it is relative, then search for the first ld in PATH.
                   3882:     with_gnu_ld=unknown
                   3883:     ;;
                   3884:   esac
                   3885: elif test "$with_gnu_ld" = yes; then
1.11      paf      3886:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3887: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1       parser   3888: else
1.11      paf      3889:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3890: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1       parser   3891: fi
1.11      paf      3892: if test "${lt_cv_path_LD+set}" = set; then
                   3893:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3894: else
                   3895:   if test -z "$LD"; then
1.11      paf      3896:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3897:   for ac_dir in $PATH; do
                   3898:     test -z "$ac_dir" && ac_dir=.
                   3899:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.11      paf      3900:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   3901:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   3902:       # but apparently some GNU ld's only accept -v.
                   3903:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.11      paf      3904:       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1.1       parser   3905:        test "$with_gnu_ld" != no && break
                   3906:       else
                   3907:        test "$with_gnu_ld" != yes && break
                   3908:       fi
                   3909:     fi
                   3910:   done
                   3911:   IFS="$ac_save_ifs"
                   3912: else
1.11      paf      3913:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   3914: fi
                   3915: fi
                   3916: 
1.11      paf      3917: LD="$lt_cv_path_LD"
1.1       parser   3918: if test -n "$LD"; then
1.11      paf      3919:   echo "$as_me:$LINENO: result: $LD" >&5
                   3920: echo "${ECHO_T}$LD" >&6
1.1       parser   3921: else
1.11      paf      3922:   echo "$as_me:$LINENO: result: no" >&5
                   3923: echo "${ECHO_T}no" >&6
1.1       parser   3924: fi
1.11      paf      3925: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3926: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3927:    { (exit 1); exit 1; }; }
                   3928: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3929: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3930: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3931:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3932: else
                   3933:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   3934: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1.11      paf      3935:   lt_cv_prog_gnu_ld=yes
1.1       parser   3936: else
1.11      paf      3937:   lt_cv_prog_gnu_ld=no
1.1       parser   3938: fi
                   3939: fi
1.11      paf      3940: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3941: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3942: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   3943: 
                   3944: 
1.11      paf      3945: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   3946: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   3947: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   3948:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3949: else
                   3950:   lt_cv_ld_reload_flag='-r'
                   3951: fi
                   3952: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   3953: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   3954: reload_flag=$lt_cv_ld_reload_flag
                   3955: test -n "$reload_flag" && reload_flag=" $reload_flag"
1.1       parser   3956: 
1.11      paf      3957: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
                   3958: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
                   3959: if test "${lt_cv_path_NM+set}" = set; then
                   3960:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3961: else
                   3962:   if test -n "$NM"; then
                   3963:   # Let the user override the test.
1.11      paf      3964:   lt_cv_path_NM="$NM"
1.1       parser   3965: else
1.11      paf      3966:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3967:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   3968:     test -z "$ac_dir" && ac_dir=.
1.11      paf      3969:     tmp_nm=$ac_dir/${ac_tool_prefix}nm
                   3970:     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1.1       parser   3971:       # Check to see if the nm accepts a BSD-compat flag.
                   3972:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3973:       #   nm: unknown option "B" ignored
1.11      paf      3974:       # Tru64's nm complains that /dev/null is an invalid object file
                   3975:       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
                   3976:        lt_cv_path_NM="$tmp_nm -B"
1.1       parser   3977:        break
1.11      paf      3978:       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   3979:        lt_cv_path_NM="$tmp_nm -p"
1.1       parser   3980:        break
                   3981:       else
1.11      paf      3982:        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1.1       parser   3983:        continue # so that we can try to find one that supports BSD flags
                   3984:       fi
                   3985:     fi
                   3986:   done
                   3987:   IFS="$ac_save_ifs"
1.11      paf      3988:   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1.1       parser   3989: fi
                   3990: fi
                   3991: 
1.11      paf      3992: NM="$lt_cv_path_NM"
                   3993: echo "$as_me:$LINENO: result: $NM" >&5
                   3994: echo "${ECHO_T}$NM" >&6
1.1       parser   3995: 
1.11      paf      3996: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3997: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3998: if test "${lt_cv_path_SED+set}" = set; then
                   3999:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   4000: else
1.11      paf      4001:   # Loop through the user's path and test for sed and gsed.
                   4002: # Then use that list of sed's as ones to test for truncation.
                   4003: as_executable_p="test -f"
                   4004: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4005: for as_dir in $PATH
                   4006: do
                   4007:   IFS=$as_save_IFS
                   4008:   test -z "$as_dir" && as_dir=.
                   4009:   for ac_prog in sed gsed; do
                   4010:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4011:       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   4012:         _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
                   4013:       fi
                   4014:     done
                   4015:   done
                   4016: done
                   4017: 
                   4018:   # Create a temporary directory, and hook for its removal unless debugging.
                   4019: $debug ||
                   4020: {
                   4021:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   4022:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   4023: }
                   4024: 
                   4025: # Create a (secure) tmp directory for tmp files.
                   4026: : ${TMPDIR=/tmp}
                   4027: {
                   4028:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
                   4029:   test -n "$tmp" && test -d "$tmp"
                   4030: }  ||
                   4031: {
                   4032:   tmp=$TMPDIR/sed$$-$RANDOM
                   4033:   (umask 077 && mkdir $tmp)
                   4034: } ||
                   4035: {
                   4036:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   4037:    { (exit 1); exit 1; }
                   4038: }
                   4039:   _max=0
                   4040:   _count=0
                   4041:   # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   4042:   # along with /bin/sed that truncates output.
                   4043:   for _sed in $_sed_list /usr/xpg4/bin/sed; do
                   4044:     test ! -f ${_sed} && break
                   4045:     cat /dev/null > "$tmp/sed.in"
                   4046:     _count=0
                   4047:     echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
                   4048:     # Check for GNU sed and select it if it is found.
                   4049:     if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
                   4050:       lt_cv_path_SED=${_sed}
                   4051:       break
                   4052:     fi
                   4053:     while true; do
                   4054:       cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
                   4055:       mv "$tmp/sed.tmp" "$tmp/sed.in"
                   4056:       cp "$tmp/sed.in" "$tmp/sed.nl"
                   4057:       echo >>"$tmp/sed.nl"
                   4058:       ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
                   4059:       cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
                   4060:       # 40000 chars as input seems more than enough
                   4061:       test $_count -gt 10 && break
                   4062:       _count=`expr $_count + 1`
                   4063:       if test $_count -gt $_max; then
                   4064:         _max=$_count
                   4065:         lt_cv_path_SED=$_sed
                   4066:       fi
                   4067:     done
                   4068:   done
                   4069:   rm -rf "$tmp"
                   4070: 
1.1       parser   4071: fi
                   4072: 
1.11      paf      4073: if test "X$SED" != "X"; then
                   4074:   lt_cv_path_SED=$SED
1.7       paf      4075: else
1.11      paf      4076:   SED=$lt_cv_path_SED
1.7       paf      4077: fi
1.11      paf      4078: echo "$as_me:$LINENO: result: $SED" >&5
                   4079: echo "${ECHO_T}$SED" >&6
                   4080: 
                   4081: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4082: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4083: LN_S=$as_ln_s
                   4084: if test "$LN_S" = "ln -s"; then
                   4085:   echo "$as_me:$LINENO: result: yes" >&5
                   4086: echo "${ECHO_T}yes" >&6
                   4087: else
                   4088:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4089: echo "${ECHO_T}no, using $LN_S" >&6
                   4090: fi
                   4091: 
                   4092: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
                   4093: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
                   4094: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   4095:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4096: else
                   4097:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   4098: lt_cv_file_magic_test_file=
                   4099: lt_cv_deplibs_check_method='unknown'
                   4100: # Need to set the preceding variable on all platforms that support
                   4101: # interlibrary dependencies.
                   4102: # 'none' -- dependencies not supported.
                   4103: # `unknown' -- same as none, but documents that we really don't know.
                   4104: # 'pass_all' -- all dependencies passed with no checks.
                   4105: # 'test_compile' -- check by making test program.
                   4106: # 'file_magic [[regex]]' -- check by looking for files in library path
                   4107: # which responds to the $file_magic_cmd with a given egrep regex.
                   4108: # If you have `file' or equivalent on your system and you're not sure
                   4109: # whether `pass_all' will *always* work, you probably want this one.
                   4110: 
                   4111: case $host_os in
                   4112: aix4* | aix5*)
                   4113:   lt_cv_deplibs_check_method=pass_all
                   4114:   ;;
1.7       paf      4115: 
1.11      paf      4116: beos*)
                   4117:   lt_cv_deplibs_check_method=pass_all
                   4118:   ;;
1.1       parser   4119: 
1.11      paf      4120: bsdi4*)
                   4121:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   4122:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4123:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4124:   ;;
1.1       parser   4125: 
1.11      paf      4126: cygwin* | mingw* | pw32*)
                   4127:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
                   4128:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4129:   ;;
1.1       parser   4130: 
1.11      paf      4131: darwin* | rhapsody*)
                   4132:   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
                   4133:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4134:   case "$host_os" in
                   4135:   rhapsody* | darwin1.[012])
                   4136:     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
                   4137:     ;;
                   4138:   *) # Darwin 1.3 on
                   4139:     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
                   4140:     ;;
                   4141:   esac
                   4142:   ;;
1.1       parser   4143: 
1.11      paf      4144: freebsd*)
                   4145:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   4146:     case $host_cpu in
                   4147:     i*86 )
                   4148:       # Not sure whether the presence of OpenBSD here was a mistake.
                   4149:       # Let's accept both of them until this is cleared up.
                   4150:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
                   4151:       lt_cv_file_magic_cmd=/usr/bin/file
                   4152:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   4153:       ;;
                   4154:     esac
1.11      paf      4155:   else
                   4156:     lt_cv_deplibs_check_method=pass_all
1.1       parser   4157:   fi
                   4158:   ;;
                   4159: 
1.11      paf      4160: gnu*)
                   4161:   lt_cv_deplibs_check_method=pass_all
                   4162:   ;;
1.1       parser   4163: 
1.11      paf      4164: hpux10.20*|hpux11*)
                   4165:   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
                   4166:   lt_cv_file_magic_cmd=/usr/bin/file
                   4167:   lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   4168:   ;;
1.1       parser   4169: 
1.11      paf      4170: irix5* | irix6* | nonstopux*)
                   4171:   case $host_os in
                   4172:   irix5* | nonstopux*)
                   4173:     # this will be overridden with pass_all, but let us keep it just in case
                   4174:     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
                   4175:     ;;
                   4176:   *)
                   4177:     case $LD in
                   4178:     *-32|*"-32 ") libmagic=32-bit;;
                   4179:     *-n32|*"-n32 ") libmagic=N32;;
                   4180:     *-64|*"-64 ") libmagic=64-bit;;
                   4181:     *) libmagic=never-match;;
                   4182:     esac
                   4183:     # this will be overridden with pass_all, but let us keep it just in case
                   4184:     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
                   4185:     ;;
                   4186:   esac
                   4187:   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
                   4188:   lt_cv_deplibs_check_method=pass_all
                   4189:   ;;
                   4190: 
                   4191: # This must be Linux ELF.
                   4192: linux-gnu*)
                   4193:   case $host_cpu in
                   4194:   alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
                   4195:     lt_cv_deplibs_check_method=pass_all ;;
                   4196:   *)
                   4197:     # glibc up to 2.1.1 does not perform some relocations on ARM
                   4198:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
                   4199:   esac
                   4200:   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
                   4201:   ;;
                   4202: 
                   4203: netbsd*)
                   4204:   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
                   4205:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
                   4206:   else
                   4207:     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
                   4208:   fi
                   4209:   ;;
                   4210: 
                   4211: newos6*)
                   4212:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   4213:   lt_cv_file_magic_cmd=/usr/bin/file
                   4214:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   4215:   ;;
                   4216: 
                   4217: openbsd*)
                   4218:   lt_cv_file_magic_cmd=/usr/bin/file
                   4219:   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   4220:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   4221:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
                   4222:   else
                   4223:     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
                   4224:   fi
                   4225:   ;;
                   4226: 
                   4227: osf3* | osf4* | osf5*)
                   4228:   # this will be overridden with pass_all, but let us keep it just in case
                   4229:   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
                   4230:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4231:   lt_cv_deplibs_check_method=pass_all
                   4232:   ;;
                   4233: 
                   4234: sco3.2v5*)
                   4235:   lt_cv_deplibs_check_method=pass_all
                   4236:   ;;
                   4237: 
                   4238: solaris*)
                   4239:   lt_cv_deplibs_check_method=pass_all
                   4240:   lt_cv_file_magic_test_file=/lib/libc.so
                   4241:   ;;
                   4242: 
                   4243: sysv5uw[78]* | sysv4*uw2*)
                   4244:   lt_cv_deplibs_check_method=pass_all
                   4245:   ;;
                   4246: 
                   4247: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   4248:   case $host_vendor in
                   4249:   motorola)
                   4250:     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]'
                   4251:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   4252:     ;;
                   4253:   ncr)
                   4254:     lt_cv_deplibs_check_method=pass_all
                   4255:     ;;
                   4256:   sequent)
                   4257:     lt_cv_file_magic_cmd='/bin/file'
                   4258:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   4259:     ;;
                   4260:   sni)
                   4261:     lt_cv_file_magic_cmd='/bin/file'
                   4262:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   4263:     lt_cv_file_magic_test_file=/lib/libc.so
                   4264:     ;;
                   4265:   siemens)
                   4266:     lt_cv_deplibs_check_method=pass_all
                   4267:     ;;
                   4268:   esac
                   4269:   ;;
                   4270: esac
                   4271: 
                   4272: fi
                   4273: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   4274: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   4275: file_magic_cmd=$lt_cv_file_magic_cmd
                   4276: deplibs_check_method=$lt_cv_deplibs_check_method
                   4277: 
                   4278: 
                   4279: 
                   4280: 
                   4281: 
                   4282: 
                   4283: 
                   4284: 
                   4285: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   4286: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
                   4287: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
                   4288: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   4289:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4290: else
                   4291: 
                   4292: # These are sane defaults that work on at least a few old systems.
                   4293: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   4294: 
                   4295: # Character class describing NM global symbol codes.
                   4296: symcode='[BCDEGRST]'
                   4297: 
                   4298: # Regexp to match symbols that can be accessed directly from C.
                   4299: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   4300: 
                   4301: # Transform the above into a raw symbol and a C symbol.
                   4302: symxfrm='\1 \2\3 \3'
                   4303: 
                   4304: # Transform an extracted symbol line into a proper C declaration
                   4305: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
                   4306: 
                   4307: # Transform an extracted symbol line into symbol name and symbol address
                   4308: 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'"
                   4309: 
                   4310: # Define system-specific variables.
                   4311: case $host_os in
                   4312: aix*)
                   4313:   symcode='[BCDT]'
                   4314:   ;;
                   4315: cygwin* | mingw* | pw32*)
                   4316:   symcode='[ABCDGISTW]'
                   4317:   ;;
                   4318: hpux*) # Its linker distinguishes data from code symbols
                   4319:   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   4320:   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'"
                   4321:   ;;
                   4322: irix* | nonstopux*)
                   4323:   symcode='[BCDEGRST]'
                   4324:   ;;
                   4325: osf*)
                   4326:   symcode='[BCDEGQRST]'
                   4327:   ;;
                   4328: solaris* | sysv5*)
                   4329:   symcode='[BDT]'
                   4330:   ;;
                   4331: sysv4)
                   4332:   symcode='[DFNSTU]'
                   4333:   ;;
                   4334: esac
                   4335: 
                   4336: # Handle CRLF in mingw tool chain
                   4337: opt_cr=
                   4338: case $host_os in
                   4339: mingw*)
                   4340:   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   4341:   ;;
                   4342: esac
                   4343: 
                   4344: # If we're using GNU nm, then use its standard symbol codes.
                   4345: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
                   4346:   symcode='[ABCDGISTW]'
                   4347: fi
                   4348: 
                   4349: # Try without a prefix undercore, then with it.
                   4350: for ac_symprfx in "" "_"; do
                   4351: 
                   4352:   # Write the raw and C identifiers.
                   4353: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[        ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
                   4354: 
                   4355:   # Check to see that the pipe works correctly.
                   4356:   pipe_works=no
                   4357:   rm -f conftest*
                   4358:   cat > conftest.$ac_ext <<EOF
                   4359: #ifdef __cplusplus
                   4360: extern "C" {
                   4361: #endif
                   4362: char nm_test_var;
                   4363: void nm_test_func(){}
                   4364: #ifdef __cplusplus
                   4365: }
                   4366: #endif
                   4367: int main(){nm_test_var='a';nm_test_func();return(0);}
                   4368: EOF
                   4369: 
                   4370:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4371:   (eval $ac_compile) 2>&5
                   4372:   ac_status=$?
                   4373:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4374:   (exit $ac_status); }; then
                   4375:     # Now try to grab the symbols.
                   4376:     nlist=conftest.nm
                   4377:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
                   4378:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
                   4379:   ac_status=$?
                   4380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4381:   (exit $ac_status); } && test -s "$nlist"; then
                   4382:       # Try sorting and uniquifying the output.
                   4383:       if sort "$nlist" | uniq > "$nlist"T; then
                   4384:        mv -f "$nlist"T "$nlist"
                   4385:       else
                   4386:        rm -f "$nlist"T
                   4387:       fi
                   4388: 
                   4389:       # Make sure that we snagged all the symbols we need.
                   4390:       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
                   4391:        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
                   4392:          cat <<EOF > conftest.$ac_ext
                   4393: #ifdef __cplusplus
                   4394: extern "C" {
                   4395: #endif
                   4396: 
                   4397: EOF
                   4398:          # Now generate the symbol file.
                   4399:          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
                   4400: 
                   4401:          cat <<EOF >> conftest.$ac_ext
                   4402: #if defined (__STDC__) && __STDC__
                   4403: # define lt_ptr void *
                   4404: #else
                   4405: # define lt_ptr char *
                   4406: # define const
                   4407: #endif
                   4408: 
                   4409: /* The mapping between symbol names and symbols. */
                   4410: const struct {
                   4411:   const char *name;
                   4412:   lt_ptr address;
                   4413: }
                   4414: lt_preloaded_symbols[] =
                   4415: {
                   4416: EOF
                   4417:          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
                   4418:          cat <<\EOF >> conftest.$ac_ext
                   4419:   {0, (lt_ptr) 0}
                   4420: };
                   4421: 
                   4422: #ifdef __cplusplus
                   4423: }
                   4424: #endif
1.1       parser   4425: EOF
1.11      paf      4426:          # Now try linking the two files.
                   4427:          mv conftest.$ac_objext conftstm.$ac_objext
                   4428:          save_LIBS="$LIBS"
                   4429:          save_CFLAGS="$CFLAGS"
                   4430:          LIBS="conftstm.$ac_objext"
                   4431:          CFLAGS="$CFLAGS$no_builtin_flag"
                   4432:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4433:   (eval $ac_link) 2>&5
                   4434:   ac_status=$?
                   4435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4436:   (exit $ac_status); } && test -s conftest$ac_exeext; then
                   4437:            pipe_works=yes
                   4438:          fi
                   4439:          LIBS="$save_LIBS"
                   4440:          CFLAGS="$save_CFLAGS"
                   4441:        else
                   4442:          echo "cannot find nm_test_func in $nlist" >&5
                   4443:        fi
                   4444:       else
                   4445:        echo "cannot find nm_test_var in $nlist" >&5
                   4446:       fi
                   4447:     else
                   4448:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   4449:     fi
                   4450:   else
                   4451:     echo "$progname: failed program was:" >&5
                   4452:     cat conftest.$ac_ext >&5
                   4453:   fi
                   4454:   rm -f conftest* conftst*
                   4455: 
                   4456:   # Do not use the global_symbol_pipe unless it works.
                   4457:   if test "$pipe_works" = yes; then
                   4458:     break
                   4459:   else
                   4460:     lt_cv_sys_global_symbol_pipe=
                   4461:   fi
                   4462: done
                   4463: 
                   4464: fi
                   4465: 
                   4466: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
                   4467: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   4468:   global_symbol_to_cdecl=
                   4469:   global_symbol_to_c_name_address=
                   4470: else
                   4471:   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
                   4472:   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
                   4473: fi
                   4474: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
                   4475: then
                   4476:   echo "$as_me:$LINENO: result: failed" >&5
                   4477: echo "${ECHO_T}failed" >&6
                   4478: else
                   4479:   echo "$as_me:$LINENO: result: ok" >&5
                   4480: echo "${ECHO_T}ok" >&6
                   4481: fi
                   4482: 
1.15      paf      4483: ac_ext=c
                   4484: ac_cpp='$CPP $CPPFLAGS'
                   4485: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4486: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4487: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4488: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   4489: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   4490: # On Suns, sometimes $CPP names a directory.
                   4491: if test -n "$CPP" && test -d "$CPP"; then
                   4492:   CPP=
                   4493: fi
                   4494: if test -z "$CPP"; then
                   4495:   if test "${ac_cv_prog_CPP+set}" = set; then
1.11      paf      4496:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4497: else
1.15      paf      4498:       # Double quotes because CPP needs to be expanded
                   4499:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.11      paf      4500:     do
                   4501:       ac_preproc_ok=false
1.15      paf      4502: for ac_c_preproc_warn_flag in '' yes
1.11      paf      4503: do
                   4504:   # Use a header file that comes with gcc, so configuring glibc
                   4505:   # with a fresh cross-compiler works.
                   4506:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4507:   # <limits.h> exists even on freestanding compilers.
                   4508:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4509:   # not just through cpp. "Syntax error" is here to catch this case.
                   4510:   cat >conftest.$ac_ext <<_ACEOF
                   4511: /* confdefs.h.  */
                   4512: _ACEOF
                   4513: cat confdefs.h >>conftest.$ac_ext
                   4514: cat >>conftest.$ac_ext <<_ACEOF
                   4515: /* end confdefs.h.  */
                   4516: #ifdef __STDC__
                   4517: # include <limits.h>
                   4518: #else
                   4519: # include <assert.h>
                   4520: #endif
1.18      paf      4521:                     Syntax error
1.11      paf      4522: _ACEOF
                   4523: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4524:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4525:   ac_status=$?
                   4526:   grep -v '^ *+' conftest.er1 >conftest.err
                   4527:   rm -f conftest.er1
                   4528:   cat conftest.err >&5
                   4529:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4530:   (exit $ac_status); } >/dev/null; then
                   4531:   if test -s conftest.err; then
1.15      paf      4532:     ac_cpp_err=$ac_c_preproc_warn_flag
1.18      paf      4533:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      4534:   else
                   4535:     ac_cpp_err=
                   4536:   fi
                   4537: else
                   4538:   ac_cpp_err=yes
                   4539: fi
                   4540: if test -z "$ac_cpp_err"; then
                   4541:   :
                   4542: else
                   4543:   echo "$as_me: failed program was:" >&5
                   4544: sed 's/^/| /' conftest.$ac_ext >&5
                   4545: 
                   4546:   # Broken: fails on valid input.
                   4547: continue
                   4548: fi
                   4549: rm -f conftest.err conftest.$ac_ext
                   4550: 
                   4551:   # OK, works on sane cases.  Now check whether non-existent headers
                   4552:   # can be detected and how.
                   4553:   cat >conftest.$ac_ext <<_ACEOF
                   4554: /* confdefs.h.  */
                   4555: _ACEOF
                   4556: cat confdefs.h >>conftest.$ac_ext
                   4557: cat >>conftest.$ac_ext <<_ACEOF
                   4558: /* end confdefs.h.  */
                   4559: #include <ac_nonexistent.h>
                   4560: _ACEOF
                   4561: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4562:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4563:   ac_status=$?
                   4564:   grep -v '^ *+' conftest.er1 >conftest.err
                   4565:   rm -f conftest.er1
                   4566:   cat conftest.err >&5
                   4567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4568:   (exit $ac_status); } >/dev/null; then
                   4569:   if test -s conftest.err; then
1.15      paf      4570:     ac_cpp_err=$ac_c_preproc_warn_flag
1.18      paf      4571:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      4572:   else
                   4573:     ac_cpp_err=
                   4574:   fi
                   4575: else
                   4576:   ac_cpp_err=yes
                   4577: fi
                   4578: if test -z "$ac_cpp_err"; then
                   4579:   # Broken: success on invalid input.
                   4580: continue
1.1       parser   4581: else
1.11      paf      4582:   echo "$as_me: failed program was:" >&5
                   4583: sed 's/^/| /' conftest.$ac_ext >&5
                   4584: 
                   4585:   # Passes both tests.
                   4586: ac_preproc_ok=:
                   4587: break
1.1       parser   4588: fi
1.11      paf      4589: rm -f conftest.err conftest.$ac_ext
                   4590: 
                   4591: done
                   4592: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4593: rm -f conftest.err conftest.$ac_ext
                   4594: if $ac_preproc_ok; then
                   4595:   break
1.1       parser   4596: fi
                   4597: 
1.11      paf      4598:     done
1.15      paf      4599:     ac_cv_prog_CPP=$CPP
1.11      paf      4600: 
                   4601: fi
1.15      paf      4602:   CPP=$ac_cv_prog_CPP
1.11      paf      4603: else
1.15      paf      4604:   ac_cv_prog_CPP=$CPP
1.11      paf      4605: fi
1.15      paf      4606: echo "$as_me:$LINENO: result: $CPP" >&5
                   4607: echo "${ECHO_T}$CPP" >&6
1.11      paf      4608: ac_preproc_ok=false
1.15      paf      4609: for ac_c_preproc_warn_flag in '' yes
1.11      paf      4610: do
                   4611:   # Use a header file that comes with gcc, so configuring glibc
                   4612:   # with a fresh cross-compiler works.
                   4613:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4614:   # <limits.h> exists even on freestanding compilers.
                   4615:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4616:   # not just through cpp. "Syntax error" is here to catch this case.
                   4617:   cat >conftest.$ac_ext <<_ACEOF
                   4618: /* confdefs.h.  */
                   4619: _ACEOF
                   4620: cat confdefs.h >>conftest.$ac_ext
                   4621: cat >>conftest.$ac_ext <<_ACEOF
                   4622: /* end confdefs.h.  */
                   4623: #ifdef __STDC__
                   4624: # include <limits.h>
                   4625: #else
                   4626: # include <assert.h>
                   4627: #endif
1.18      paf      4628:                     Syntax error
1.11      paf      4629: _ACEOF
                   4630: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4631:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4632:   ac_status=$?
                   4633:   grep -v '^ *+' conftest.er1 >conftest.err
                   4634:   rm -f conftest.er1
                   4635:   cat conftest.err >&5
                   4636:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4637:   (exit $ac_status); } >/dev/null; then
                   4638:   if test -s conftest.err; then
1.15      paf      4639:     ac_cpp_err=$ac_c_preproc_warn_flag
1.18      paf      4640:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      4641:   else
                   4642:     ac_cpp_err=
1.1       parser   4643:   fi
1.11      paf      4644: else
                   4645:   ac_cpp_err=yes
                   4646: fi
                   4647: if test -z "$ac_cpp_err"; then
                   4648:   :
                   4649: else
                   4650:   echo "$as_me: failed program was:" >&5
                   4651: sed 's/^/| /' conftest.$ac_ext >&5
                   4652: 
                   4653:   # Broken: fails on valid input.
                   4654: continue
                   4655: fi
                   4656: rm -f conftest.err conftest.$ac_ext
1.1       parser   4657: 
1.11      paf      4658:   # OK, works on sane cases.  Now check whether non-existent headers
                   4659:   # can be detected and how.
                   4660:   cat >conftest.$ac_ext <<_ACEOF
                   4661: /* confdefs.h.  */
                   4662: _ACEOF
                   4663: cat confdefs.h >>conftest.$ac_ext
                   4664: cat >>conftest.$ac_ext <<_ACEOF
                   4665: /* end confdefs.h.  */
                   4666: #include <ac_nonexistent.h>
                   4667: _ACEOF
                   4668: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4669:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4670:   ac_status=$?
                   4671:   grep -v '^ *+' conftest.er1 >conftest.err
                   4672:   rm -f conftest.er1
                   4673:   cat conftest.err >&5
                   4674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4675:   (exit $ac_status); } >/dev/null; then
                   4676:   if test -s conftest.err; then
1.15      paf      4677:     ac_cpp_err=$ac_c_preproc_warn_flag
1.18      paf      4678:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      4679:   else
                   4680:     ac_cpp_err=
                   4681:   fi
                   4682: else
                   4683:   ac_cpp_err=yes
                   4684: fi
                   4685: if test -z "$ac_cpp_err"; then
                   4686:   # Broken: success on invalid input.
                   4687: continue
1.7       paf      4688: else
1.11      paf      4689:   echo "$as_me: failed program was:" >&5
                   4690: sed 's/^/| /' conftest.$ac_ext >&5
                   4691: 
                   4692:   # Passes both tests.
                   4693: ac_preproc_ok=:
                   4694: break
                   4695: fi
                   4696: rm -f conftest.err conftest.$ac_ext
                   4697: 
                   4698: done
                   4699: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4700: rm -f conftest.err conftest.$ac_ext
                   4701: if $ac_preproc_ok; then
                   4702:   :
1.7       paf      4703: else
1.15      paf      4704:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.11      paf      4705: See \`config.log' for more details." >&5
1.15      paf      4706: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.11      paf      4707: See \`config.log' for more details." >&2;}
                   4708:    { (exit 1); exit 1; }; }
                   4709: fi
                   4710: 
1.15      paf      4711: ac_ext=c
                   4712: ac_cpp='$CPP $CPPFLAGS'
                   4713: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4714: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4715: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      paf      4716: 
                   4717: 
                   4718: echo "$as_me:$LINENO: checking for egrep" >&5
                   4719: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4720: if test "${ac_cv_prog_egrep+set}" = set; then
                   4721:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4722: else
                   4723:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4724:     then ac_cv_prog_egrep='grep -E'
                   4725:     else ac_cv_prog_egrep='egrep'
1.7       paf      4726:     fi
                   4727: fi
1.11      paf      4728: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4729: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4730:  EGREP=$ac_cv_prog_egrep
                   4731: 
                   4732: 
                   4733: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4734: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4735: if test "${ac_cv_header_stdc+set}" = set; then
                   4736:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4737: else
                   4738:   cat >conftest.$ac_ext <<_ACEOF
                   4739: /* confdefs.h.  */
                   4740: _ACEOF
                   4741: cat confdefs.h >>conftest.$ac_ext
                   4742: cat >>conftest.$ac_ext <<_ACEOF
                   4743: /* end confdefs.h.  */
                   4744: #include <stdlib.h>
                   4745: #include <stdarg.h>
                   4746: #include <string.h>
                   4747: #include <float.h>
                   4748: 
                   4749: int
                   4750: main ()
                   4751: {
                   4752: 
                   4753:   ;
                   4754:   return 0;
                   4755: }
                   4756: _ACEOF
                   4757: rm -f conftest.$ac_objext
                   4758: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      4759:   (eval $ac_compile) 2>conftest.er1
1.11      paf      4760:   ac_status=$?
1.18      paf      4761:   grep -v '^ *+' conftest.er1 >conftest.err
                   4762:   rm -f conftest.er1
                   4763:   cat conftest.err >&5
1.11      paf      4764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4765:   (exit $ac_status); } &&
1.18      paf      4766:         { ac_try='test -z "$ac_c_werror_flag"
                   4767:                         || test ! -s conftest.err'
                   4768:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4769:   (eval $ac_try) 2>&5
                   4770:   ac_status=$?
                   4771:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4772:   (exit $ac_status); }; } &&
                   4773:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      4774:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4775:   (eval $ac_try) 2>&5
                   4776:   ac_status=$?
                   4777:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4778:   (exit $ac_status); }; }; then
                   4779:   ac_cv_header_stdc=yes
                   4780: else
                   4781:   echo "$as_me: failed program was:" >&5
                   4782: sed 's/^/| /' conftest.$ac_ext >&5
                   4783: 
                   4784: ac_cv_header_stdc=no
                   4785: fi
1.18      paf      4786: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      4787: 
                   4788: if test $ac_cv_header_stdc = yes; then
                   4789:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4790:   cat >conftest.$ac_ext <<_ACEOF
                   4791: /* confdefs.h.  */
                   4792: _ACEOF
                   4793: cat confdefs.h >>conftest.$ac_ext
                   4794: cat >>conftest.$ac_ext <<_ACEOF
                   4795: /* end confdefs.h.  */
                   4796: #include <string.h>
                   4797: 
                   4798: _ACEOF
                   4799: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4800:   $EGREP "memchr" >/dev/null 2>&1; then
                   4801:   :
                   4802: else
                   4803:   ac_cv_header_stdc=no
                   4804: fi
                   4805: rm -f conftest*
                   4806: 
1.7       paf      4807: fi
1.11      paf      4808: 
                   4809: if test $ac_cv_header_stdc = yes; then
                   4810:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4811:   cat >conftest.$ac_ext <<_ACEOF
                   4812: /* confdefs.h.  */
                   4813: _ACEOF
                   4814: cat confdefs.h >>conftest.$ac_ext
                   4815: cat >>conftest.$ac_ext <<_ACEOF
                   4816: /* end confdefs.h.  */
                   4817: #include <stdlib.h>
                   4818: 
                   4819: _ACEOF
                   4820: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4821:   $EGREP "free" >/dev/null 2>&1; then
                   4822:   :
1.7       paf      4823: else
1.11      paf      4824:   ac_cv_header_stdc=no
                   4825: fi
                   4826: rm -f conftest*
                   4827: 
1.7       paf      4828: fi
                   4829: 
1.11      paf      4830: if test $ac_cv_header_stdc = yes; then
                   4831:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4832:   if test "$cross_compiling" = yes; then
                   4833:   :
                   4834: else
                   4835:   cat >conftest.$ac_ext <<_ACEOF
                   4836: /* confdefs.h.  */
                   4837: _ACEOF
                   4838: cat confdefs.h >>conftest.$ac_ext
                   4839: cat >>conftest.$ac_ext <<_ACEOF
                   4840: /* end confdefs.h.  */
                   4841: #include <ctype.h>
                   4842: #if ((' ' & 0x0FF) == 0x020)
                   4843: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4844: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4845: #else
                   4846: # define ISLOWER(c) \
1.18      paf      4847:                   (('a' <= (c) && (c) <= 'i') \
                   4848:                     || ('j' <= (c) && (c) <= 'r') \
                   4849:                     || ('s' <= (c) && (c) <= 'z'))
1.11      paf      4850: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4851: #endif
1.7       paf      4852: 
1.11      paf      4853: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4854: int
                   4855: main ()
                   4856: {
                   4857:   int i;
                   4858:   for (i = 0; i < 256; i++)
                   4859:     if (XOR (islower (i), ISLOWER (i))
1.18      paf      4860:        || toupper (i) != TOUPPER (i))
1.11      paf      4861:       exit(2);
                   4862:   exit (0);
                   4863: }
                   4864: _ACEOF
                   4865: rm -f conftest$ac_exeext
                   4866: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4867:   (eval $ac_link) 2>&5
                   4868:   ac_status=$?
                   4869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4870:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4871:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4872:   (eval $ac_try) 2>&5
                   4873:   ac_status=$?
                   4874:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4875:   (exit $ac_status); }; }; then
                   4876:   :
1.7       paf      4877: else
1.11      paf      4878:   echo "$as_me: program exited with status $ac_status" >&5
                   4879: echo "$as_me: failed program was:" >&5
                   4880: sed 's/^/| /' conftest.$ac_ext >&5
                   4881: 
                   4882: ( exit $ac_status )
                   4883: ac_cv_header_stdc=no
                   4884: fi
1.18      paf      4885: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.11      paf      4886: fi
                   4887: fi
                   4888: fi
                   4889: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4890: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4891: if test $ac_cv_header_stdc = yes; then
                   4892: 
                   4893: cat >>confdefs.h <<\_ACEOF
                   4894: #define STDC_HEADERS 1
                   4895: _ACEOF
                   4896: 
                   4897: fi
                   4898: 
                   4899: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4900: 
                   4901: 
                   4902: 
                   4903: 
                   4904: 
                   4905: 
                   4906: 
                   4907: 
                   4908: 
                   4909: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.18      paf      4910:                  inttypes.h stdint.h unistd.h
1.11      paf      4911: do
                   4912: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4913: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4914: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4915: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4916:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4917: else
                   4918:   cat >conftest.$ac_ext <<_ACEOF
                   4919: /* confdefs.h.  */
                   4920: _ACEOF
                   4921: cat confdefs.h >>conftest.$ac_ext
                   4922: cat >>conftest.$ac_ext <<_ACEOF
                   4923: /* end confdefs.h.  */
                   4924: $ac_includes_default
                   4925: 
                   4926: #include <$ac_header>
                   4927: _ACEOF
                   4928: rm -f conftest.$ac_objext
                   4929: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      4930:   (eval $ac_compile) 2>conftest.er1
1.11      paf      4931:   ac_status=$?
1.18      paf      4932:   grep -v '^ *+' conftest.er1 >conftest.err
                   4933:   rm -f conftest.er1
                   4934:   cat conftest.err >&5
1.11      paf      4935:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4936:   (exit $ac_status); } &&
1.18      paf      4937:         { ac_try='test -z "$ac_c_werror_flag"
                   4938:                         || test ! -s conftest.err'
                   4939:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4940:   (eval $ac_try) 2>&5
                   4941:   ac_status=$?
                   4942:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4943:   (exit $ac_status); }; } &&
                   4944:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      4945:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4946:   (eval $ac_try) 2>&5
                   4947:   ac_status=$?
                   4948:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4949:   (exit $ac_status); }; }; then
                   4950:   eval "$as_ac_Header=yes"
                   4951: else
                   4952:   echo "$as_me: failed program was:" >&5
                   4953: sed 's/^/| /' conftest.$ac_ext >&5
                   4954: 
                   4955: eval "$as_ac_Header=no"
                   4956: fi
1.18      paf      4957: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      4958: fi
                   4959: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4960: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4961: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4962:   cat >>confdefs.h <<_ACEOF
                   4963: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4964: _ACEOF
                   4965: 
                   4966: fi
                   4967: 
                   4968: done
                   4969: 
                   4970: 
                   4971: 
                   4972: for ac_header in dlfcn.h
                   4973: do
                   4974: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4975: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4976:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4977: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4978: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4979:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4980: fi
                   4981: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4982: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4983: else
                   4984:   # Is the header compilable?
                   4985: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   4986: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   4987: cat >conftest.$ac_ext <<_ACEOF
                   4988: /* confdefs.h.  */
                   4989: _ACEOF
                   4990: cat confdefs.h >>conftest.$ac_ext
                   4991: cat >>conftest.$ac_ext <<_ACEOF
                   4992: /* end confdefs.h.  */
                   4993: $ac_includes_default
                   4994: #include <$ac_header>
                   4995: _ACEOF
                   4996: rm -f conftest.$ac_objext
                   4997: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      4998:   (eval $ac_compile) 2>conftest.er1
1.11      paf      4999:   ac_status=$?
1.18      paf      5000:   grep -v '^ *+' conftest.er1 >conftest.err
                   5001:   rm -f conftest.er1
                   5002:   cat conftest.err >&5
1.11      paf      5003:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5004:   (exit $ac_status); } &&
1.18      paf      5005:         { ac_try='test -z "$ac_c_werror_flag"
                   5006:                         || test ! -s conftest.err'
                   5007:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5008:   (eval $ac_try) 2>&5
                   5009:   ac_status=$?
                   5010:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5011:   (exit $ac_status); }; } &&
                   5012:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      5013:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5014:   (eval $ac_try) 2>&5
                   5015:   ac_status=$?
                   5016:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5017:   (exit $ac_status); }; }; then
                   5018:   ac_header_compiler=yes
                   5019: else
                   5020:   echo "$as_me: failed program was:" >&5
                   5021: sed 's/^/| /' conftest.$ac_ext >&5
                   5022: 
                   5023: ac_header_compiler=no
                   5024: fi
1.18      paf      5025: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      5026: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   5027: echo "${ECHO_T}$ac_header_compiler" >&6
                   5028: 
                   5029: # Is the header present?
                   5030: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   5031: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   5032: cat >conftest.$ac_ext <<_ACEOF
                   5033: /* confdefs.h.  */
                   5034: _ACEOF
                   5035: cat confdefs.h >>conftest.$ac_ext
                   5036: cat >>conftest.$ac_ext <<_ACEOF
                   5037: /* end confdefs.h.  */
                   5038: #include <$ac_header>
                   5039: _ACEOF
                   5040: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5041:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   5042:   ac_status=$?
                   5043:   grep -v '^ *+' conftest.er1 >conftest.err
                   5044:   rm -f conftest.er1
                   5045:   cat conftest.err >&5
                   5046:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5047:   (exit $ac_status); } >/dev/null; then
                   5048:   if test -s conftest.err; then
1.15      paf      5049:     ac_cpp_err=$ac_c_preproc_warn_flag
1.18      paf      5050:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      5051:   else
                   5052:     ac_cpp_err=
                   5053:   fi
1.7       paf      5054: else
1.11      paf      5055:   ac_cpp_err=yes
1.7       paf      5056: fi
1.11      paf      5057: if test -z "$ac_cpp_err"; then
                   5058:   ac_header_preproc=yes
                   5059: else
                   5060:   echo "$as_me: failed program was:" >&5
                   5061: sed 's/^/| /' conftest.$ac_ext >&5
                   5062: 
                   5063:   ac_header_preproc=no
                   5064: fi
                   5065: rm -f conftest.err conftest.$ac_ext
                   5066: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   5067: echo "${ECHO_T}$ac_header_preproc" >&6
                   5068: 
                   5069: # So?  What about this header?
1.18      paf      5070: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   5071:   yes:no: )
1.11      paf      5072:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   5073: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.18      paf      5074:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   5075: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   5076:     ac_header_preproc=yes
1.11      paf      5077:     ;;
1.18      paf      5078:   no:yes:* )
1.11      paf      5079:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   5080: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.18      paf      5081:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   5082: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   5083:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   5084: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   5085:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   5086: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.11      paf      5087:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   5088: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.18      paf      5089:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   5090: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.11      paf      5091:     (
                   5092:       cat <<\_ASBOX
1.18      paf      5093: ## ------------------------------------------ ##
                   5094: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   5095: ## ------------------------------------------ ##
1.11      paf      5096: _ASBOX
                   5097:     ) |
                   5098:       sed "s/^/$as_me: WARNING:     /" >&2
                   5099:     ;;
                   5100: esac
                   5101: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5102: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5103: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5104:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5105: else
1.18      paf      5106:   eval "$as_ac_Header=\$ac_header_preproc"
1.11      paf      5107: fi
                   5108: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5109: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5110: 
                   5111: fi
                   5112: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5113:   cat >>confdefs.h <<_ACEOF
                   5114: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5115: _ACEOF
                   5116: 
                   5117: fi
                   5118: 
                   5119: done
                   5120: 
                   5121: 
                   5122: 
                   5123: 
                   5124: 
                   5125: 
                   5126: # Only perform the check for file, if the check method requires it
                   5127: case $deplibs_check_method in
                   5128: file_magic*)
                   5129:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   5130:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   5131: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   5132: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   5133:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5134: else
                   5135:   case $MAGIC_CMD in
                   5136:   /*)
                   5137:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   5138:   ;;
                   5139:   ?:/*)
                   5140:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   5141:   ;;
                   5142:   *)
                   5143:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   5144:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   5145:   ac_dummy="/usr/bin:$PATH"
                   5146:   for ac_dir in $ac_dummy; do
                   5147:     test -z "$ac_dir" && ac_dir=.
                   5148:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   5149:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   5150:       if test -n "$file_magic_test_file"; then
                   5151:        case $deplibs_check_method in
                   5152:        "file_magic "*)
                   5153:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   5154:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   5155:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   5156:            egrep "$file_magic_regex" > /dev/null; then
                   5157:            :
                   5158:          else
                   5159:            cat <<EOF 1>&2
                   5160: 
                   5161: *** Warning: the command libtool uses to detect shared libraries,
                   5162: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   5163: *** The result is that libtool may fail to recognize shared libraries
                   5164: *** as such.  This will affect the creation of libtool libraries that
                   5165: *** depend on shared libraries, but programs linked with such libtool
                   5166: *** libraries will work regardless of this problem.  Nevertheless, you
                   5167: *** may want to report the problem to your system manager and/or to
                   5168: *** bug-libtool@gnu.org
                   5169: 
                   5170: EOF
                   5171:          fi ;;
                   5172:        esac
                   5173:       fi
                   5174:       break
                   5175:     fi
                   5176:   done
                   5177:   IFS="$ac_save_ifs"
                   5178:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   5179:   ;;
                   5180: esac
                   5181: fi
                   5182: 
                   5183: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   5184: if test -n "$MAGIC_CMD"; then
                   5185:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   5186: echo "${ECHO_T}$MAGIC_CMD" >&6
                   5187: else
                   5188:   echo "$as_me:$LINENO: result: no" >&5
                   5189: echo "${ECHO_T}no" >&6
                   5190: fi
                   5191: 
                   5192: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   5193:   if test -n "$ac_tool_prefix"; then
                   5194:     echo "$as_me:$LINENO: checking for file" >&5
                   5195: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   5196: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   5197:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5198: else
                   5199:   case $MAGIC_CMD in
                   5200:   /*)
                   5201:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   5202:   ;;
                   5203:   ?:/*)
                   5204:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
                   5205:   ;;
                   5206:   *)
                   5207:   ac_save_MAGIC_CMD="$MAGIC_CMD"
                   5208:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
                   5209:   ac_dummy="/usr/bin:$PATH"
                   5210:   for ac_dir in $ac_dummy; do
                   5211:     test -z "$ac_dir" && ac_dir=.
                   5212:     if test -f $ac_dir/file; then
                   5213:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   5214:       if test -n "$file_magic_test_file"; then
                   5215:        case $deplibs_check_method in
                   5216:        "file_magic "*)
                   5217:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
                   5218:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   5219:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   5220:            egrep "$file_magic_regex" > /dev/null; then
                   5221:            :
                   5222:          else
                   5223:            cat <<EOF 1>&2
                   5224: 
                   5225: *** Warning: the command libtool uses to detect shared libraries,
                   5226: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   5227: *** The result is that libtool may fail to recognize shared libraries
                   5228: *** as such.  This will affect the creation of libtool libraries that
                   5229: *** depend on shared libraries, but programs linked with such libtool
                   5230: *** libraries will work regardless of this problem.  Nevertheless, you
                   5231: *** may want to report the problem to your system manager and/or to
                   5232: *** bug-libtool@gnu.org
                   5233: 
                   5234: EOF
                   5235:          fi ;;
                   5236:        esac
                   5237:       fi
                   5238:       break
                   5239:     fi
                   5240:   done
                   5241:   IFS="$ac_save_ifs"
                   5242:   MAGIC_CMD="$ac_save_MAGIC_CMD"
                   5243:   ;;
                   5244: esac
                   5245: fi
                   5246: 
                   5247: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   5248: if test -n "$MAGIC_CMD"; then
                   5249:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   5250: echo "${ECHO_T}$MAGIC_CMD" >&6
                   5251: else
                   5252:   echo "$as_me:$LINENO: result: no" >&5
                   5253: echo "${ECHO_T}no" >&6
                   5254: fi
                   5255: 
                   5256:   else
                   5257:     MAGIC_CMD=:
                   5258:   fi
                   5259: fi
                   5260: 
                   5261:   fi
                   5262:   ;;
                   5263: esac
                   5264: 
                   5265: if test -n "$ac_tool_prefix"; then
                   5266:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5267: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5268: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5269: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5270: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5271:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5272: else
                   5273:   if test -n "$RANLIB"; then
                   5274:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5275: else
                   5276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5277: for as_dir in $PATH
                   5278: do
                   5279:   IFS=$as_save_IFS
                   5280:   test -z "$as_dir" && as_dir=.
                   5281:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5282:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5283:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5284:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5285:     break 2
                   5286:   fi
                   5287: done
                   5288: done
                   5289: 
                   5290: fi
                   5291: fi
                   5292: RANLIB=$ac_cv_prog_RANLIB
                   5293: if test -n "$RANLIB"; then
                   5294:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5295: echo "${ECHO_T}$RANLIB" >&6
                   5296: else
                   5297:   echo "$as_me:$LINENO: result: no" >&5
                   5298: echo "${ECHO_T}no" >&6
                   5299: fi
                   5300: 
                   5301: fi
                   5302: if test -z "$ac_cv_prog_RANLIB"; then
                   5303:   ac_ct_RANLIB=$RANLIB
                   5304:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5305: set dummy ranlib; ac_word=$2
                   5306: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5307: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5308: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5309:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5310: else
                   5311:   if test -n "$ac_ct_RANLIB"; then
                   5312:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5313: else
                   5314: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5315: for as_dir in $PATH
                   5316: do
                   5317:   IFS=$as_save_IFS
                   5318:   test -z "$as_dir" && as_dir=.
                   5319:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5320:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5321:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5322:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5323:     break 2
                   5324:   fi
                   5325: done
                   5326: done
                   5327: 
                   5328:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5329: fi
                   5330: fi
                   5331: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5332: if test -n "$ac_ct_RANLIB"; then
                   5333:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5334: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5335: else
                   5336:   echo "$as_me:$LINENO: result: no" >&5
                   5337: echo "${ECHO_T}no" >&6
                   5338: fi
                   5339: 
                   5340:   RANLIB=$ac_ct_RANLIB
                   5341: else
                   5342:   RANLIB="$ac_cv_prog_RANLIB"
                   5343: fi
                   5344: 
                   5345: if test -n "$ac_tool_prefix"; then
                   5346:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5347: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5348: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5349: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5350: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5351:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5352: else
                   5353:   if test -n "$STRIP"; then
                   5354:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5355: else
                   5356: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5357: for as_dir in $PATH
                   5358: do
                   5359:   IFS=$as_save_IFS
                   5360:   test -z "$as_dir" && as_dir=.
                   5361:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5362:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5363:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5364:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5365:     break 2
                   5366:   fi
                   5367: done
                   5368: done
                   5369: 
                   5370: fi
                   5371: fi
                   5372: STRIP=$ac_cv_prog_STRIP
                   5373: if test -n "$STRIP"; then
                   5374:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5375: echo "${ECHO_T}$STRIP" >&6
                   5376: else
                   5377:   echo "$as_me:$LINENO: result: no" >&5
                   5378: echo "${ECHO_T}no" >&6
                   5379: fi
                   5380: 
                   5381: fi
                   5382: if test -z "$ac_cv_prog_STRIP"; then
                   5383:   ac_ct_STRIP=$STRIP
                   5384:   # Extract the first word of "strip", so it can be a program name with args.
                   5385: set dummy strip; ac_word=$2
                   5386: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5387: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5388: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5389:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5390: else
                   5391:   if test -n "$ac_ct_STRIP"; then
                   5392:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5393: else
                   5394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5395: for as_dir in $PATH
                   5396: do
                   5397:   IFS=$as_save_IFS
                   5398:   test -z "$as_dir" && as_dir=.
                   5399:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5400:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5401:     ac_cv_prog_ac_ct_STRIP="strip"
                   5402:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5403:     break 2
                   5404:   fi
                   5405: done
                   5406: done
                   5407: 
                   5408:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5409: fi
                   5410: fi
                   5411: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5412: if test -n "$ac_ct_STRIP"; then
                   5413:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5414: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5415: else
                   5416:   echo "$as_me:$LINENO: result: no" >&5
                   5417: echo "${ECHO_T}no" >&6
                   5418: fi
                   5419: 
                   5420:   STRIP=$ac_ct_STRIP
                   5421: else
                   5422:   STRIP="$ac_cv_prog_STRIP"
                   5423: fi
                   5424: 
                   5425: 
                   5426: enable_dlopen=no
                   5427: enable_win32_dll=no
                   5428: 
                   5429: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   5430: if test "${enable_libtool_lock+set}" = set; then
                   5431:   enableval="$enable_libtool_lock"
                   5432: 
                   5433: fi;
                   5434: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   5435: 
                   5436: # Some flags need to be propagated to the compiler or linker for good
                   5437: # libtool support.
                   5438: case $host in
                   5439: *-*-irix6*)
                   5440:   # Find out which ABI we are using.
1.23      misha    5441:   echo '#line 5441 "configure"' > conftest.$ac_ext
1.11      paf      5442:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5443:   (eval $ac_compile) 2>&5
                   5444:   ac_status=$?
                   5445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5446:   (exit $ac_status); }; then
                   5447:     case `/usr/bin/file conftest.$ac_objext` in
                   5448:     *32-bit*)
                   5449:       LD="${LD-ld} -32"
                   5450:       ;;
                   5451:     *N32*)
                   5452:       LD="${LD-ld} -n32"
                   5453:       ;;
                   5454:     *64-bit*)
                   5455:       LD="${LD-ld} -64"
                   5456:       ;;
                   5457:     esac
                   5458:   fi
                   5459:   rm -rf conftest*
                   5460:   ;;
                   5461: 
                   5462: *-*-sco3.2v5*)
                   5463:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5464:   SAVE_CFLAGS="$CFLAGS"
                   5465:   CFLAGS="$CFLAGS -belf"
                   5466:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   5467: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   5468: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   5469:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5470: else
                   5471: 
                   5472: 
                   5473:      ac_ext=c
                   5474: ac_cpp='$CPP $CPPFLAGS'
                   5475: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5476: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5477: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5478: 
                   5479:      cat >conftest.$ac_ext <<_ACEOF
                   5480: /* confdefs.h.  */
                   5481: _ACEOF
                   5482: cat confdefs.h >>conftest.$ac_ext
                   5483: cat >>conftest.$ac_ext <<_ACEOF
                   5484: /* end confdefs.h.  */
                   5485: 
                   5486: int
                   5487: main ()
                   5488: {
                   5489: 
                   5490:   ;
                   5491:   return 0;
                   5492: }
                   5493: _ACEOF
                   5494: rm -f conftest.$ac_objext conftest$ac_exeext
                   5495: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      5496:   (eval $ac_link) 2>conftest.er1
1.11      paf      5497:   ac_status=$?
1.18      paf      5498:   grep -v '^ *+' conftest.er1 >conftest.err
                   5499:   rm -f conftest.er1
                   5500:   cat conftest.err >&5
1.11      paf      5501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5502:   (exit $ac_status); } &&
1.18      paf      5503:         { ac_try='test -z "$ac_c_werror_flag"
                   5504:                         || test ! -s conftest.err'
                   5505:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5506:   (eval $ac_try) 2>&5
                   5507:   ac_status=$?
                   5508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5509:   (exit $ac_status); }; } &&
                   5510:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      5511:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5512:   (eval $ac_try) 2>&5
                   5513:   ac_status=$?
                   5514:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5515:   (exit $ac_status); }; }; then
                   5516:   lt_cv_cc_needs_belf=yes
                   5517: else
                   5518:   echo "$as_me: failed program was:" >&5
                   5519: sed 's/^/| /' conftest.$ac_ext >&5
                   5520: 
                   5521: lt_cv_cc_needs_belf=no
                   5522: fi
1.18      paf      5523: rm -f conftest.err conftest.$ac_objext \
                   5524:       conftest$ac_exeext conftest.$ac_ext
1.15      paf      5525:      ac_ext=c
                   5526: ac_cpp='$CPP $CPPFLAGS'
                   5527: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5528: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5529: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      paf      5530: 
                   5531: fi
                   5532: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   5533: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   5534:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   5535:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   5536:     CFLAGS="$SAVE_CFLAGS"
                   5537:   fi
                   5538:   ;;
                   5539: 
                   5540: 
                   5541: esac
                   5542: 
                   5543: # Sed substitution that helps us do robust quoting.  It backslashifies
                   5544: # metacharacters that are still active within double-quoted strings.
                   5545: Xsed='sed -e s/^X//'
                   5546: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
                   5547: 
                   5548: # Same as above, but do not quote variable references.
                   5549: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
                   5550: 
                   5551: # Sed substitution to delay expansion of an escaped shell variable in a
                   5552: # double_quote_subst'ed string.
                   5553: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   5554: 
                   5555: # Constants:
                   5556: rm="rm -f"
                   5557: 
                   5558: # Global variables:
                   5559: default_ofile=libtool
                   5560: can_build_shared=yes
                   5561: 
                   5562: # All known linkers require a `.a' archive for static linking (except M$VC,
                   5563: # which needs '.lib').
                   5564: libext=a
                   5565: ltmain="$ac_aux_dir/ltmain.sh"
                   5566: ofile="$default_ofile"
                   5567: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   5568: need_locks="$enable_libtool_lock"
                   5569: 
                   5570: old_CC="$CC"
                   5571: old_CFLAGS="$CFLAGS"
                   5572: 
                   5573: # Set sane defaults for various variables
                   5574: test -z "$AR" && AR=ar
                   5575: test -z "$AR_FLAGS" && AR_FLAGS=cru
                   5576: test -z "$AS" && AS=as
                   5577: test -z "$CC" && CC=cc
                   5578: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5579: test -z "$LD" && LD=ld
                   5580: test -z "$LN_S" && LN_S="ln -s"
                   5581: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   5582: test -z "$NM" && NM=nm
                   5583: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5584: test -z "$RANLIB" && RANLIB=:
                   5585: test -z "$STRIP" && STRIP=:
                   5586: test -z "$ac_objext" && ac_objext=o
                   5587: 
                   5588: if test x"$host" != x"$build"; then
                   5589:   ac_tool_prefix=${host_alias}-
                   5590: else
                   5591:   ac_tool_prefix=
                   5592: fi
                   5593: 
                   5594: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
                   5595: case $host_os in
                   5596: linux-gnu*) ;;
                   5597: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
                   5598: esac
                   5599: 
                   5600: case $host_os in
                   5601: aix3*)
                   5602:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   5603:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   5604:   # vanish in a puff of smoke.
                   5605:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   5606:     COLLECT_NAMES=
                   5607:     export COLLECT_NAMES
                   5608:   fi
                   5609:   ;;
                   5610: esac
                   5611: 
                   5612: # Determine commands to create old-style static archives.
                   5613: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
                   5614: old_postinstall_cmds='chmod 644 $oldlib'
                   5615: old_postuninstall_cmds=
                   5616: 
                   5617: if test -n "$RANLIB"; then
                   5618:   case $host_os in
                   5619:   openbsd*)
                   5620:     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
                   5621:     ;;
                   5622:   *)
                   5623:     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
                   5624:     ;;
                   5625:   esac
                   5626:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   5627: fi
                   5628: 
                   5629: # Allow CC to be a program name with arguments.
                   5630: set dummy $CC
                   5631: compiler="$2"
                   5632: 
1.18      paf      5633: ## FIXME: this should be a separate macro
                   5634: ##
1.11      paf      5635: echo "$as_me:$LINENO: checking for objdir" >&5
                   5636: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   5637: rm -f .libs 2>/dev/null
                   5638: mkdir .libs 2>/dev/null
                   5639: if test -d .libs; then
                   5640:   objdir=.libs
                   5641: else
                   5642:   # MS-DOS does not allow filenames that begin with a dot.
                   5643:   objdir=_libs
                   5644: fi
                   5645: rmdir .libs 2>/dev/null
                   5646: echo "$as_me:$LINENO: result: $objdir" >&5
                   5647: echo "${ECHO_T}$objdir" >&6
1.18      paf      5648: ##
                   5649: ## END FIXME
1.11      paf      5650: 
                   5651: 
1.18      paf      5652: ## FIXME: this should be a separate macro
                   5653: ##
1.11      paf      5654: 
                   5655: # Check whether --with-pic or --without-pic was given.
                   5656: if test "${with_pic+set}" = set; then
                   5657:   withval="$with_pic"
                   5658:   pic_mode="$withval"
                   5659: else
                   5660:   pic_mode=default
                   5661: fi;
                   5662: test -z "$pic_mode" && pic_mode=default
                   5663: 
                   5664: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
                   5665: # in isolation, and that seeing it set (from the cache) indicates that
                   5666: # the associated values are set (in the cache) correctly too.
                   5667: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   5668: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   5669: if test "${lt_cv_prog_cc_pic+set}" = set; then
                   5670:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5671: else
                   5672:    lt_cv_prog_cc_pic=
                   5673:   lt_cv_prog_cc_shlib=
                   5674:   lt_cv_prog_cc_wl=
                   5675:   lt_cv_prog_cc_static=
                   5676:   lt_cv_prog_cc_no_builtin=
                   5677:   lt_cv_prog_cc_can_build_shared=$can_build_shared
                   5678: 
                   5679:   if test "$GCC" = yes; then
                   5680:     lt_cv_prog_cc_wl='-Wl,'
                   5681:     lt_cv_prog_cc_static='-static'
                   5682: 
                   5683:     case $host_os in
                   5684:     aix*)
                   5685:       # Below there is a dirty hack to force normal static linking with -ldl
                   5686:       # The problem is because libdl dynamically linked with both libc and
                   5687:       # libC (AIX C++ library), which obviously doesn't included in libraries
                   5688:       # list by gcc. This cause undefined symbols with -static flags.
                   5689:       # This hack allows C programs to be linked with "-static -ldl", but
                   5690:       # not sure about C++ programs.
                   5691:       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
                   5692:       ;;
                   5693:     amigaos*)
                   5694:       # FIXME: we need at least 68020 code to build shared libraries, but
                   5695:       # adding the `-m68020' flag to GCC prevents building anything better,
                   5696:       # like `-m68040'.
                   5697:       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
                   5698:       ;;
                   5699:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   5700:       # PIC is the default for these OSes.
                   5701:       ;;
                   5702:     darwin* | rhapsody*)
                   5703:       # PIC is the default on this platform
                   5704:       # Common symbols not allowed in MH_DYLIB files
                   5705:       lt_cv_prog_cc_pic='-fno-common'
                   5706:       ;;
                   5707:     cygwin* | mingw* | pw32* | os2*)
                   5708:       # This hack is so that the source file can tell whether it is being
                   5709:       # built for inclusion in a dll (and should export symbols for example).
                   5710:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5711:       ;;
                   5712:     sysv4*MP*)
                   5713:       if test -d /usr/nec; then
                   5714:         lt_cv_prog_cc_pic=-Kconform_pic
                   5715:       fi
                   5716:       ;;
                   5717:     *)
                   5718:       lt_cv_prog_cc_pic='-fPIC'
                   5719:       ;;
                   5720:     esac
                   5721:   else
                   5722:     # PORTME Check for PIC flags for the system compiler.
                   5723:     case $host_os in
                   5724:     aix3* | aix4* | aix5*)
                   5725:       lt_cv_prog_cc_wl='-Wl,'
                   5726:       # All AIX code is PIC.
                   5727:       if test "$host_cpu" = ia64; then
                   5728:        # AIX 5 now supports IA64 processor
                   5729:        lt_cv_prog_cc_static='-Bstatic'
                   5730:       else
                   5731:        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
                   5732:       fi
                   5733:       ;;
                   5734: 
                   5735:     hpux9* | hpux10* | hpux11*)
                   5736:       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
                   5737:       lt_cv_prog_cc_wl='-Wl,'
                   5738:       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
                   5739:       lt_cv_prog_cc_pic='+Z'
                   5740:       ;;
                   5741: 
                   5742:     irix5* | irix6* | nonstopux*)
                   5743:       lt_cv_prog_cc_wl='-Wl,'
                   5744:       lt_cv_prog_cc_static='-non_shared'
                   5745:       # PIC (with -KPIC) is the default.
                   5746:       ;;
                   5747: 
                   5748:     cygwin* | mingw* | pw32* | os2*)
                   5749:       # This hack is so that the source file can tell whether it is being
                   5750:       # built for inclusion in a dll (and should export symbols for example).
                   5751:       lt_cv_prog_cc_pic='-DDLL_EXPORT'
                   5752:       ;;
                   5753: 
                   5754:     newsos6)
                   5755:       lt_cv_prog_cc_pic='-KPIC'
                   5756:       lt_cv_prog_cc_static='-Bstatic'
                   5757:       ;;
                   5758: 
                   5759:     osf3* | osf4* | osf5*)
                   5760:       # All OSF/1 code is PIC.
                   5761:       lt_cv_prog_cc_wl='-Wl,'
                   5762:       lt_cv_prog_cc_static='-non_shared'
                   5763:       ;;
                   5764: 
                   5765:     sco3.2v5*)
                   5766:       lt_cv_prog_cc_pic='-Kpic'
                   5767:       lt_cv_prog_cc_static='-dn'
                   5768:       lt_cv_prog_cc_shlib='-belf'
                   5769:       ;;
                   5770: 
                   5771:     solaris*)
                   5772:       lt_cv_prog_cc_pic='-KPIC'
                   5773:       lt_cv_prog_cc_static='-Bstatic'
                   5774:       lt_cv_prog_cc_wl='-Wl,'
                   5775:       ;;
                   5776: 
                   5777:     sunos4*)
                   5778:       lt_cv_prog_cc_pic='-PIC'
                   5779:       lt_cv_prog_cc_static='-Bstatic'
                   5780:       lt_cv_prog_cc_wl='-Qoption ld '
                   5781:       ;;
                   5782: 
                   5783:     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   5784:       lt_cv_prog_cc_pic='-KPIC'
                   5785:       lt_cv_prog_cc_static='-Bstatic'
                   5786:       lt_cv_prog_cc_wl='-Wl,'
                   5787:       ;;
                   5788: 
                   5789:     uts4*)
                   5790:       lt_cv_prog_cc_pic='-pic'
                   5791:       lt_cv_prog_cc_static='-Bstatic'
                   5792:       ;;
                   5793: 
                   5794:     sysv4*MP*)
                   5795:       if test -d /usr/nec ;then
                   5796:        lt_cv_prog_cc_pic='-Kconform_pic'
                   5797:        lt_cv_prog_cc_static='-Bstatic'
                   5798:       fi
                   5799:       ;;
                   5800: 
                   5801:     *)
                   5802:       lt_cv_prog_cc_can_build_shared=no
                   5803:       ;;
                   5804:     esac
                   5805:   fi
                   5806: 
                   5807: fi
                   5808: 
                   5809: if test -z "$lt_cv_prog_cc_pic"; then
                   5810:   echo "$as_me:$LINENO: result: none" >&5
                   5811: echo "${ECHO_T}none" >&6
                   5812: else
                   5813:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
                   5814: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
                   5815: 
                   5816:   # Check to make sure the pic_flag actually works.
                   5817:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
                   5818: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
                   5819:   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
                   5820:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5821: else
                   5822:       save_CFLAGS="$CFLAGS"
                   5823:     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
                   5824:     cat >conftest.$ac_ext <<_ACEOF
                   5825: /* confdefs.h.  */
                   5826: _ACEOF
                   5827: cat confdefs.h >>conftest.$ac_ext
                   5828: cat >>conftest.$ac_ext <<_ACEOF
                   5829: /* end confdefs.h.  */
                   5830: 
                   5831: int
                   5832: main ()
                   5833: {
                   5834: 
                   5835:   ;
                   5836:   return 0;
                   5837: }
                   5838: _ACEOF
                   5839: rm -f conftest.$ac_objext
                   5840: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      5841:   (eval $ac_compile) 2>conftest.er1
1.11      paf      5842:   ac_status=$?
1.18      paf      5843:   grep -v '^ *+' conftest.er1 >conftest.err
                   5844:   rm -f conftest.er1
                   5845:   cat conftest.err >&5
1.11      paf      5846:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5847:   (exit $ac_status); } &&
1.18      paf      5848:         { ac_try='test -z "$ac_c_werror_flag"
                   5849:                         || test ! -s conftest.err'
                   5850:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5851:   (eval $ac_try) 2>&5
                   5852:   ac_status=$?
                   5853:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5854:   (exit $ac_status); }; } &&
                   5855:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      5856:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5857:   (eval $ac_try) 2>&5
                   5858:   ac_status=$?
                   5859:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5860:   (exit $ac_status); }; }; then
                   5861:         case $host_os in
                   5862:       hpux9* | hpux10* | hpux11*)
                   5863:        # On HP-UX, both CC and GCC only warn that PIC is supported... then
                   5864:        # they create non-PIC objects.  So, if there were any warnings, we
                   5865:        # assume that PIC is not supported.
                   5866:        if test -s conftest.err; then
                   5867:          lt_cv_prog_cc_pic_works=no
                   5868:        else
                   5869:          lt_cv_prog_cc_pic_works=yes
                   5870:        fi
                   5871:        ;;
                   5872:       *)
                   5873:        lt_cv_prog_cc_pic_works=yes
                   5874:        ;;
                   5875:       esac
                   5876: 
                   5877: else
                   5878:   echo "$as_me: failed program was:" >&5
                   5879: sed 's/^/| /' conftest.$ac_ext >&5
                   5880: 
                   5881:       lt_cv_prog_cc_pic_works=no
                   5882: 
                   5883: fi
1.18      paf      5884: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      5885:     CFLAGS="$save_CFLAGS"
                   5886: 
                   5887: fi
                   5888: 
                   5889: 
                   5890:   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
                   5891:     lt_cv_prog_cc_pic=
                   5892:     lt_cv_prog_cc_can_build_shared=no
                   5893:   else
                   5894:     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
                   5895:   fi
                   5896: 
                   5897:   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
                   5898: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
                   5899: fi
1.18      paf      5900: ##
                   5901: ## END FIXME
1.11      paf      5902: 
                   5903: # Check for any special shared library compilation flags.
                   5904: if test -n "$lt_cv_prog_cc_shlib"; then
                   5905:   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
                   5906: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
                   5907:   if echo "$old_CC $old_CFLAGS " | egrep -e "[         ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
                   5908:   else
                   5909:    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
                   5910: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
                   5911:     lt_cv_prog_cc_can_build_shared=no
                   5912:   fi
                   5913: fi
                   5914: 
1.18      paf      5915: ## FIXME: this should be a separate macro
                   5916: ##
1.11      paf      5917: echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
                   5918: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
                   5919: if test "${lt_cv_prog_cc_static_works+set}" = set; then
                   5920:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5921: else
                   5922:     lt_cv_prog_cc_static_works=no
                   5923:   save_LDFLAGS="$LDFLAGS"
                   5924:   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
                   5925:   cat >conftest.$ac_ext <<_ACEOF
                   5926: /* confdefs.h.  */
                   5927: _ACEOF
                   5928: cat confdefs.h >>conftest.$ac_ext
                   5929: cat >>conftest.$ac_ext <<_ACEOF
                   5930: /* end confdefs.h.  */
                   5931: 
                   5932: int
                   5933: main ()
                   5934: {
                   5935: 
                   5936:   ;
                   5937:   return 0;
                   5938: }
                   5939: _ACEOF
                   5940: rm -f conftest.$ac_objext conftest$ac_exeext
                   5941: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      5942:   (eval $ac_link) 2>conftest.er1
1.11      paf      5943:   ac_status=$?
1.18      paf      5944:   grep -v '^ *+' conftest.er1 >conftest.err
                   5945:   rm -f conftest.er1
                   5946:   cat conftest.err >&5
1.11      paf      5947:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5948:   (exit $ac_status); } &&
1.18      paf      5949:         { ac_try='test -z "$ac_c_werror_flag"
                   5950:                         || test ! -s conftest.err'
                   5951:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5952:   (eval $ac_try) 2>&5
                   5953:   ac_status=$?
                   5954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5955:   (exit $ac_status); }; } &&
                   5956:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      5957:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5958:   (eval $ac_try) 2>&5
                   5959:   ac_status=$?
                   5960:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5961:   (exit $ac_status); }; }; then
                   5962:   lt_cv_prog_cc_static_works=yes
                   5963: else
                   5964:   echo "$as_me: failed program was:" >&5
                   5965: sed 's/^/| /' conftest.$ac_ext >&5
                   5966: 
                   5967: fi
1.18      paf      5968: rm -f conftest.err conftest.$ac_objext \
                   5969:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      5970:   LDFLAGS="$save_LDFLAGS"
                   5971: 
                   5972: fi
                   5973: 
                   5974: 
                   5975: # Belt *and* braces to stop my trousers falling down:
                   5976: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
                   5977: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
                   5978: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
                   5979: 
                   5980: pic_flag="$lt_cv_prog_cc_pic"
                   5981: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
                   5982: wl="$lt_cv_prog_cc_wl"
                   5983: link_static_flag="$lt_cv_prog_cc_static"
                   5984: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
                   5985: can_build_shared="$lt_cv_prog_cc_can_build_shared"
1.18      paf      5986: ##
                   5987: ## END FIXME
1.11      paf      5988: 
                   5989: 
1.18      paf      5990: ## FIXME: this should be a separate macro
                   5991: ##
1.11      paf      5992: # Check to see if options -o and -c are simultaneously supported by compiler
                   5993: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   5994: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   5995: if test "${lt_cv_compiler_c_o+set}" = set; then
                   5996:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5997: else
                   5998: 
                   5999: $rm -r conftest 2>/dev/null
                   6000: mkdir conftest
                   6001: cd conftest
                   6002: echo "int some_variable = 0;" > conftest.$ac_ext
                   6003: mkdir out
                   6004: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
                   6005: # that will create temporary files in the current directory regardless of
                   6006: # the output directory.  Thus, making CWD read-only will cause this test
                   6007: # to fail, enabling locking or at least warning the user not to do parallel
                   6008: # builds.
                   6009: chmod -w .
                   6010: save_CFLAGS="$CFLAGS"
                   6011: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
                   6012: compiler_c_o=no
1.23      misha    6013: if { (eval echo configure:6013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
1.11      paf      6014:   # The compiler can only warn and ignore the option if not recognized
                   6015:   # So say no if there are warnings
                   6016:   if test -s out/conftest.err; then
                   6017:     lt_cv_compiler_c_o=no
                   6018:   else
                   6019:     lt_cv_compiler_c_o=yes
                   6020:   fi
                   6021: else
                   6022:   # Append any errors to the config.log.
                   6023:   cat out/conftest.err 1>&5
                   6024:   lt_cv_compiler_c_o=no
                   6025: fi
                   6026: CFLAGS="$save_CFLAGS"
                   6027: chmod u+w .
                   6028: $rm conftest* out/*
                   6029: rmdir out
                   6030: cd ..
                   6031: rmdir conftest
                   6032: $rm -r conftest 2>/dev/null
                   6033: 
                   6034: fi
                   6035: 
                   6036: compiler_c_o=$lt_cv_compiler_c_o
                   6037: echo "$as_me:$LINENO: result: $compiler_c_o" >&5
                   6038: echo "${ECHO_T}$compiler_c_o" >&6
                   6039: 
                   6040: if test x"$compiler_c_o" = x"yes"; then
                   6041:   # Check to see if we can write to a .lo
                   6042:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
                   6043: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
                   6044:   if test "${lt_cv_compiler_o_lo+set}" = set; then
                   6045:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6046: else
                   6047: 
                   6048:   lt_cv_compiler_o_lo=no
                   6049:   save_CFLAGS="$CFLAGS"
                   6050:   CFLAGS="$CFLAGS -c -o conftest.lo"
                   6051:   save_objext="$ac_objext"
                   6052:   ac_objext=lo
                   6053:   cat >conftest.$ac_ext <<_ACEOF
                   6054: /* confdefs.h.  */
                   6055: _ACEOF
                   6056: cat confdefs.h >>conftest.$ac_ext
                   6057: cat >>conftest.$ac_ext <<_ACEOF
                   6058: /* end confdefs.h.  */
                   6059: 
                   6060: int
                   6061: main ()
                   6062: {
                   6063: int some_variable = 0;
                   6064:   ;
                   6065:   return 0;
                   6066: }
                   6067: _ACEOF
                   6068: rm -f conftest.$ac_objext
                   6069: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      6070:   (eval $ac_compile) 2>conftest.er1
1.11      paf      6071:   ac_status=$?
1.18      paf      6072:   grep -v '^ *+' conftest.er1 >conftest.err
                   6073:   rm -f conftest.er1
                   6074:   cat conftest.err >&5
1.11      paf      6075:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6076:   (exit $ac_status); } &&
1.18      paf      6077:         { ac_try='test -z "$ac_c_werror_flag"
                   6078:                         || test ! -s conftest.err'
                   6079:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6080:   (eval $ac_try) 2>&5
                   6081:   ac_status=$?
                   6082:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6083:   (exit $ac_status); }; } &&
                   6084:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      6085:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6086:   (eval $ac_try) 2>&5
                   6087:   ac_status=$?
                   6088:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6089:   (exit $ac_status); }; }; then
                   6090:       # The compiler can only warn and ignore the option if not recognized
                   6091:     # So say no if there are warnings
                   6092:     if test -s conftest.err; then
                   6093:       lt_cv_compiler_o_lo=no
                   6094:     else
                   6095:       lt_cv_compiler_o_lo=yes
                   6096:     fi
                   6097: 
                   6098: else
                   6099:   echo "$as_me: failed program was:" >&5
                   6100: sed 's/^/| /' conftest.$ac_ext >&5
                   6101: 
                   6102: fi
1.18      paf      6103: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      6104:   ac_objext="$save_objext"
                   6105:   CFLAGS="$save_CFLAGS"
                   6106: 
                   6107: fi
                   6108: 
                   6109:   compiler_o_lo=$lt_cv_compiler_o_lo
                   6110:   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
                   6111: echo "${ECHO_T}$compiler_o_lo" >&6
                   6112: else
                   6113:   compiler_o_lo=no
                   6114: fi
1.18      paf      6115: ##
                   6116: ## END FIXME
1.11      paf      6117: 
1.18      paf      6118: ## FIXME: this should be a separate macro
                   6119: ##
1.11      paf      6120: # Check to see if we can do hard links to lock some files if needed
                   6121: hard_links="nottested"
                   6122: if test "$compiler_c_o" = no && test "$need_locks" != no; then
                   6123:   # do not overwrite the value of need_locks provided by the user
                   6124:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   6125: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   6126:   hard_links=yes
                   6127:   $rm conftest*
                   6128:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   6129:   touch conftest.a
                   6130:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   6131:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   6132:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   6133: echo "${ECHO_T}$hard_links" >&6
                   6134:   if test "$hard_links" = no; then
                   6135:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   6136: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   6137:     need_locks=warn
                   6138:   fi
                   6139: else
                   6140:   need_locks=no
                   6141: fi
1.18      paf      6142: ##
                   6143: ## END FIXME
1.11      paf      6144: 
1.18      paf      6145: ## FIXME: this should be a separate macro
                   6146: ##
1.11      paf      6147: if test "$GCC" = yes; then
                   6148:   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
                   6149:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   6150: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   6151:   echo "int some_variable = 0;" > conftest.$ac_ext
                   6152:   save_CFLAGS="$CFLAGS"
                   6153:   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
                   6154:   compiler_rtti_exceptions=no
                   6155:   cat >conftest.$ac_ext <<_ACEOF
                   6156: /* confdefs.h.  */
                   6157: _ACEOF
                   6158: cat confdefs.h >>conftest.$ac_ext
                   6159: cat >>conftest.$ac_ext <<_ACEOF
                   6160: /* end confdefs.h.  */
                   6161: 
                   6162: int
                   6163: main ()
                   6164: {
                   6165: int some_variable = 0;
                   6166:   ;
                   6167:   return 0;
                   6168: }
                   6169: _ACEOF
                   6170: rm -f conftest.$ac_objext
                   6171: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      6172:   (eval $ac_compile) 2>conftest.er1
1.11      paf      6173:   ac_status=$?
1.18      paf      6174:   grep -v '^ *+' conftest.er1 >conftest.err
                   6175:   rm -f conftest.er1
                   6176:   cat conftest.err >&5
1.11      paf      6177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6178:   (exit $ac_status); } &&
1.18      paf      6179:         { ac_try='test -z "$ac_c_werror_flag"
                   6180:                         || test ! -s conftest.err'
                   6181:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6182:   (eval $ac_try) 2>&5
                   6183:   ac_status=$?
                   6184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6185:   (exit $ac_status); }; } &&
                   6186:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      6187:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6188:   (eval $ac_try) 2>&5
                   6189:   ac_status=$?
                   6190:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6191:   (exit $ac_status); }; }; then
                   6192:       # The compiler can only warn and ignore the option if not recognized
                   6193:     # So say no if there are warnings
                   6194:     if test -s conftest.err; then
                   6195:       compiler_rtti_exceptions=no
                   6196:     else
                   6197:       compiler_rtti_exceptions=yes
                   6198:     fi
                   6199: 
                   6200: else
                   6201:   echo "$as_me: failed program was:" >&5
                   6202: sed 's/^/| /' conftest.$ac_ext >&5
                   6203: 
                   6204: fi
1.18      paf      6205: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      6206:   CFLAGS="$save_CFLAGS"
                   6207:   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
                   6208: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
                   6209: 
                   6210:   if test "$compiler_rtti_exceptions" = "yes"; then
                   6211:     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
                   6212:   else
                   6213:     no_builtin_flag=' -fno-builtin'
                   6214:   fi
                   6215: fi
1.18      paf      6216: ##
                   6217: ## END FIXME
1.11      paf      6218: 
1.18      paf      6219: ## FIXME: this should be a separate macro
                   6220: ##
1.11      paf      6221: # See if the linker supports building shared libraries.
                   6222: echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
                   6223: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
                   6224: 
                   6225: allow_undefined_flag=
                   6226: no_undefined_flag=
                   6227: need_lib_prefix=unknown
                   6228: need_version=unknown
                   6229: # when you set need_version to no, make sure it does not cause -set_version
                   6230: # flags to be left without arguments
                   6231: archive_cmds=
                   6232: archive_expsym_cmds=
                   6233: old_archive_from_new_cmds=
                   6234: old_archive_from_expsyms_cmds=
                   6235: export_dynamic_flag_spec=
                   6236: whole_archive_flag_spec=
                   6237: thread_safe_flag_spec=
                   6238: hardcode_into_libs=no
                   6239: hardcode_libdir_flag_spec=
                   6240: hardcode_libdir_separator=
                   6241: hardcode_direct=no
                   6242: hardcode_minus_L=no
                   6243: hardcode_shlibpath_var=unsupported
                   6244: runpath_var=
                   6245: link_all_deplibs=unknown
                   6246: always_export_symbols=no
                   6247: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   6248: # include_expsyms should be a list of space-separated symbols to be *always*
                   6249: # included in the symbol list
                   6250: include_expsyms=
                   6251: # exclude_expsyms can be an egrep regular expression of symbols to exclude
                   6252: # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   6253: # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   6254: # as well as any symbol that contains `d'.
                   6255: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
                   6256: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   6257: # platforms (ab)use it in PIC code, but their linkers get confused if
                   6258: # the symbol is explicitly referenced.  Since portable code cannot
                   6259: # rely on this symbol name, it's probably fine to never include it in
                   6260: # preloaded symbol tables.
                   6261: extract_expsyms_cmds=
                   6262: 
                   6263: case $host_os in
                   6264: cygwin* | mingw* | pw32*)
                   6265:   # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   6266:   # When not using gcc, we currently assume that we are using
                   6267:   # Microsoft Visual C++.
                   6268:   if test "$GCC" != yes; then
                   6269:     with_gnu_ld=no
                   6270:   fi
                   6271:   ;;
                   6272: openbsd*)
                   6273:   with_gnu_ld=no
                   6274:   ;;
                   6275: esac
                   6276: 
                   6277: ld_shlibs=yes
                   6278: if test "$with_gnu_ld" = yes; then
                   6279:   # If archive_cmds runs LD, not CC, wlarc should be empty
                   6280:   wlarc='${wl}'
                   6281: 
                   6282:   # See if GNU ld supports shared libraries.
                   6283:   case $host_os in
                   6284:   aix3* | aix4* | aix5*)
                   6285:     # On AIX, the GNU linker is very broken
                   6286:     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
                   6287:     ld_shlibs=no
                   6288:     cat <<EOF 1>&2
                   6289: 
                   6290: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
                   6291: *** to be unable to reliably create shared libraries on AIX.
                   6292: *** Therefore, libtool is disabling shared libraries support.  If you
                   6293: *** really care for shared libraries, you may want to modify your PATH
                   6294: *** so that a non-GNU linker is found, and then restart.
                   6295: 
                   6296: EOF
                   6297:     ;;
                   6298: 
                   6299:   amigaos*)
                   6300:     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)'
                   6301:     hardcode_libdir_flag_spec='-L$libdir'
                   6302:     hardcode_minus_L=yes
                   6303: 
                   6304:     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
                   6305:     # that the semantics of dynamic libraries on AmigaOS, at least up
                   6306:     # to version 4, is to share data among multiple programs linked
                   6307:     # with the same dynamic library.  Since this doesn't match the
                   6308:     # behavior of shared libraries on other platforms, we can use
                   6309:     # them.
                   6310:     ld_shlibs=no
                   6311:     ;;
                   6312: 
                   6313:   beos*)
                   6314:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6315:       allow_undefined_flag=unsupported
                   6316:       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   6317:       # support --undefined.  This deserves some investigation.  FIXME
                   6318:       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6319:     else
                   6320:       ld_shlibs=no
                   6321:     fi
                   6322:     ;;
                   6323: 
                   6324:   cygwin* | mingw* | pw32*)
                   6325:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   6326:     # no search path for DLLs.
                   6327:     hardcode_libdir_flag_spec='-L$libdir'
                   6328:     allow_undefined_flag=unsupported
                   6329:     always_export_symbols=yes
                   6330: 
                   6331:     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
                   6332:       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
                   6333:       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
                   6334:       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
                   6335:       else $CC -o impgen impgen.c ; fi)~
                   6336:       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
                   6337: 
                   6338:     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
                   6339: 
                   6340:     # cygwin and mingw dlls have different entry points and sets of symbols
                   6341:     # to exclude.
                   6342:     # FIXME: what about values for MSVC?
                   6343:     dll_entry=__cygwin_dll_entry@12
                   6344:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
                   6345:     case $host_os in
                   6346:     mingw*)
                   6347:       # mingw values
                   6348:       dll_entry=_DllMainCRTStartup@12
                   6349:       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
                   6350:       ;;
                   6351:     esac
                   6352: 
                   6353:     # mingw and cygwin differ, and it's simplest to just exclude the union
                   6354:     # of the two symbol sets.
                   6355:     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
                   6356: 
                   6357:     # recent cygwin and mingw systems supply a stub DllMain which the user
                   6358:     # can override, but on older systems we have to supply one (in ltdll.c)
                   6359:     if test "x$lt_cv_need_dllmain" = "xyes"; then
                   6360:       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
                   6361:       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~
                   6362:        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
                   6363:     else
                   6364:       ltdll_obj=
                   6365:       ltdll_cmds=
                   6366:     fi
                   6367: 
                   6368:     # Extract the symbol export list from an `--export-all' def file,
                   6369:     # then regenerate the def file from the symbol export list, so that
                   6370:     # the compiled dll only exports the symbol export list.
                   6371:     # Be careful not to strip the DATA tag left be newer dlltools.
                   6372:     export_symbols_cmds="$ltdll_cmds"'
                   6373:       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
                   6374:       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
                   6375: 
                   6376:     # If the export-symbols file already is a .def file (1st line
                   6377:     # is EXPORTS), use it as is.
                   6378:     # If DATA tags from a recent dlltool are present, honour them!
                   6379:     archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
                   6380:        cp $export_symbols $output_objdir/$soname-def;
                   6381:       else
                   6382:        echo EXPORTS > $output_objdir/$soname-def;
                   6383:        _lt_hint=1;
                   6384:        cat $export_symbols | while read symbol; do
                   6385:         set dummy \$symbol;
                   6386:         case \$# in
                   6387:           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                   6388:           4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
                   6389:           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
                   6390:         esac;
                   6391:         _lt_hint=`expr 1 + \$_lt_hint`;
                   6392:        done;
                   6393:       fi~
                   6394:       '"$ltdll_cmds"'
                   6395:       $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~
                   6396:       $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~
                   6397:       $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~
                   6398:       $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~
                   6399:       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
                   6400:     ;;
                   6401: 
                   6402:   netbsd*)
                   6403:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6404:       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   6405:       wlarc=
                   6406:     else
                   6407:       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6408:       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6409:     fi
                   6410:     ;;
                   6411: 
                   6412:   solaris* | sysv5*)
                   6413:     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
                   6414:       ld_shlibs=no
                   6415:       cat <<EOF 1>&2
                   6416: 
                   6417: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   6418: *** create shared libraries on Solaris systems.  Therefore, libtool
                   6419: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   6420: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   6421: *** your PATH or compiler configuration so that the native linker is
                   6422: *** used, and then restart.
                   6423: 
                   6424: EOF
                   6425:     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6426:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6427:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6428:     else
                   6429:       ld_shlibs=no
                   6430:     fi
                   6431:     ;;
                   6432: 
                   6433:   sunos4*)
                   6434:     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6435:     wlarc=
                   6436:     hardcode_direct=yes
                   6437:     hardcode_shlibpath_var=no
                   6438:     ;;
                   6439: 
                   6440:   *)
                   6441:     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
                   6442:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   6443:       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   6444:     else
                   6445:       ld_shlibs=no
                   6446:     fi
                   6447:     ;;
                   6448:   esac
                   6449: 
                   6450:   if test "$ld_shlibs" = yes; then
                   6451:     runpath_var=LD_RUN_PATH
                   6452:     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
                   6453:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   6454:     case $host_os in
                   6455:     cygwin* | mingw* | pw32*)
                   6456:       # dlltool doesn't understand --whole-archive et. al.
                   6457:       whole_archive_flag_spec=
                   6458:       ;;
                   6459:     *)
                   6460:       # ancient GNU ld didn't support --whole-archive et. al.
                   6461:       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
                   6462:        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   6463:       else
                   6464:        whole_archive_flag_spec=
                   6465:       fi
                   6466:       ;;
                   6467:     esac
                   6468:   fi
                   6469: else
                   6470:   # PORTME fill in a description of your system's linker (not GNU ld)
                   6471:   case $host_os in
                   6472:   aix3*)
                   6473:     allow_undefined_flag=unsupported
                   6474:     always_export_symbols=yes
                   6475:     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'
                   6476:     # Note: this linker hardcodes the directories in LIBPATH if there
                   6477:     # are no directories specified by -L.
                   6478:     hardcode_minus_L=yes
                   6479:     if test "$GCC" = yes && test -z "$link_static_flag"; then
                   6480:       # Neither direct hardcoding nor static linking is supported with a
                   6481:       # broken collect2.
                   6482:       hardcode_direct=unsupported
                   6483:     fi
                   6484:     ;;
                   6485: 
                   6486:   aix4* | aix5*)
                   6487:     if test "$host_cpu" = ia64; then
                   6488:       # On IA64, the linker does run time linking by default, so we don't
                   6489:       # have to do anything special.
                   6490:       aix_use_runtimelinking=no
                   6491:       exp_sym_flag='-Bexport'
                   6492:       no_entry_flag=""
                   6493:     else
                   6494:       aix_use_runtimelinking=no
                   6495: 
                   6496:       # Test if we are trying to use run time linking or normal
                   6497:       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   6498:       # need to do runtime linking.
                   6499:       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
                   6500:        for ld_flag in $LDFLAGS; do
                   6501:          case $ld_flag in
                   6502:          *-brtl*)
                   6503:            aix_use_runtimelinking=yes
                   6504:            break
                   6505:          ;;
                   6506:          esac
                   6507:        done
                   6508:       esac
                   6509: 
                   6510:       exp_sym_flag='-bexport'
                   6511:       no_entry_flag='-bnoentry'
                   6512:     fi
                   6513: 
                   6514:     # When large executables or shared objects are built, AIX ld can
                   6515:     # have problems creating the table of contents.  If linking a library
                   6516:     # or program results in "error TOC overflow" add -mminimal-toc to
                   6517:     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   6518:     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   6519: 
                   6520:     hardcode_direct=yes
                   6521:     archive_cmds=''
                   6522:     hardcode_libdir_separator=':'
                   6523:     if test "$GCC" = yes; then
                   6524:       case $host_os in aix4.[012]|aix4.[012].*)
                   6525:        collect2name=`${CC} -print-prog-name=collect2`
                   6526:        if test -f "$collect2name" && \
                   6527:          strings "$collect2name" | grep resolve_lib_name >/dev/null
                   6528:        then
                   6529:          # We have reworked collect2
                   6530:          hardcode_direct=yes
                   6531:        else
                   6532:          # We have old collect2
                   6533:          hardcode_direct=unsupported
                   6534:          # It fails to find uninstalled libraries when the uninstalled
                   6535:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   6536:          # to unsupported forces relinking
                   6537:          hardcode_minus_L=yes
                   6538:          hardcode_libdir_flag_spec='-L$libdir'
                   6539:          hardcode_libdir_separator=
                   6540:        fi
                   6541:       esac
                   6542: 
                   6543:       shared_flag='-shared'
                   6544:     else
                   6545:       # not using gcc
                   6546:       if test "$host_cpu" = ia64; then
                   6547:        shared_flag='${wl}-G'
                   6548:       else
                   6549:        if test "$aix_use_runtimelinking" = yes; then
                   6550:          shared_flag='${wl}-G'
                   6551:        else
                   6552:          shared_flag='${wl}-bM:SRE'
                   6553:        fi
                   6554:       fi
                   6555:     fi
                   6556: 
                   6557:     # It seems that -bexpall can do strange things, so it is better to
                   6558:     # generate a list of symbols to export.
                   6559:     always_export_symbols=yes
                   6560:     if test "$aix_use_runtimelinking" = yes; then
                   6561:       # Warning - without using the other runtime loading flags (-brtl),
                   6562:       # -berok will link without error, but may produce a broken library.
                   6563:       allow_undefined_flag='-berok'
                   6564:       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
                   6565:       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"
                   6566:     else
                   6567:       if test "$host_cpu" = ia64; then
                   6568:        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   6569:        allow_undefined_flag="-z nodefs"
                   6570:        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"
                   6571:       else
                   6572:        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
                   6573:        # Warning - without using the other run time loading flags,
                   6574:        # -berok will link without error, but may produce a broken library.
                   6575:        allow_undefined_flag='${wl}-berok'
                   6576:        # This is a bit strange, but is similar to how AIX traditionally builds
                   6577:        # it's shared libraries.
                   6578:        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'
                   6579:       fi
                   6580:     fi
                   6581:     ;;
                   6582: 
                   6583:   amigaos*)
                   6584:     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)'
                   6585:     hardcode_libdir_flag_spec='-L$libdir'
                   6586:     hardcode_minus_L=yes
                   6587:     # see comment about different semantics on the GNU ld section
                   6588:     ld_shlibs=no
                   6589:     ;;
                   6590: 
                   6591:   cygwin* | mingw* | pw32*)
                   6592:     # When not using gcc, we currently assume that we are using
                   6593:     # Microsoft Visual C++.
                   6594:     # hardcode_libdir_flag_spec is actually meaningless, as there is
                   6595:     # no search path for DLLs.
                   6596:     hardcode_libdir_flag_spec=' '
                   6597:     allow_undefined_flag=unsupported
                   6598:     # Tell ltmain to make .lib files, not .a files.
                   6599:     libext=lib
                   6600:     # FIXME: Setting linknames here is a bad hack.
                   6601:     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
                   6602:     # The linker will automatically build a .lib file if we build a DLL.
                   6603:     old_archive_from_new_cmds='true'
                   6604:     # FIXME: Should let the user specify the lib program.
                   6605:     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
                   6606:     fix_srcfile_path='`cygpath -w "$srcfile"`'
                   6607:     ;;
                   6608: 
                   6609:   darwin* | rhapsody*)
                   6610:     case "$host_os" in
                   6611:     rhapsody* | darwin1.[012])
                   6612:       allow_undefined_flag='-undefined suppress'
                   6613:       ;;
                   6614:     *) # Darwin 1.3 on
                   6615:       allow_undefined_flag='-flat_namespace -undefined suppress'
                   6616:       ;;
                   6617:     esac
                   6618:     # FIXME: Relying on posixy $() will cause problems for
                   6619:     #        cross-compilation, but unfortunately the echo tests do not
                   6620:     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
                   6621:     #       `"' quotes if we put them in here... so don't!
                   6622:     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)'
                   6623:     # We need to add '_' to the symbols in $export_symbols first
                   6624:     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
                   6625:     hardcode_direct=yes
                   6626:     hardcode_shlibpath_var=no
                   6627:     whole_archive_flag_spec='-all_load $convenience'
                   6628:     ;;
                   6629: 
                   6630:   freebsd1*)
                   6631:     ld_shlibs=no
                   6632:     ;;
                   6633: 
                   6634:   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   6635:   # support.  Future versions do this automatically, but an explicit c++rt0.o
                   6636:   # does not break anything, and helps significantly (at the cost of a little
                   6637:   # extra space).
                   6638:   freebsd2.2*)
                   6639:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   6640:     hardcode_libdir_flag_spec='-R$libdir'
                   6641:     hardcode_direct=yes
                   6642:     hardcode_shlibpath_var=no
                   6643:     ;;
                   6644: 
                   6645:   # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   6646:   freebsd2*)
                   6647:     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6648:     hardcode_direct=yes
                   6649:     hardcode_minus_L=yes
                   6650:     hardcode_shlibpath_var=no
                   6651:     ;;
                   6652: 
                   6653:   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   6654:   freebsd*)
                   6655:     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
                   6656:     hardcode_libdir_flag_spec='-R$libdir'
                   6657:     hardcode_direct=yes
                   6658:     hardcode_shlibpath_var=no
                   6659:     ;;
                   6660: 
                   6661:   hpux9* | hpux10* | hpux11*)
                   6662:     case $host_os in
                   6663:     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' ;;
                   6664:     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
                   6665:     esac
                   6666:     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   6667:     hardcode_libdir_separator=:
                   6668:     hardcode_direct=yes
                   6669:     hardcode_minus_L=yes # Not in the search PATH, but as the default
                   6670:                         # location of the library.
                   6671:     export_dynamic_flag_spec='${wl}-E'
                   6672:     ;;
                   6673: 
                   6674:   irix5* | irix6* | nonstopux*)
                   6675:     if test "$GCC" = yes; then
                   6676:       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'
                   6677:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6678:     else
                   6679:       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'
                   6680:       hardcode_libdir_flag_spec='-rpath $libdir'
                   6681:     fi
                   6682:     hardcode_libdir_separator=:
                   6683:     link_all_deplibs=yes
                   6684:     ;;
                   6685: 
                   6686:   netbsd*)
                   6687:     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   6688:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   6689:     else
                   6690:       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   6691:     fi
                   6692:     hardcode_libdir_flag_spec='-R$libdir'
                   6693:     hardcode_direct=yes
                   6694:     hardcode_shlibpath_var=no
                   6695:     ;;
                   6696: 
                   6697:   newsos6)
                   6698:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6699:     hardcode_direct=yes
                   6700:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6701:     hardcode_libdir_separator=:
                   6702:     hardcode_shlibpath_var=no
                   6703:     ;;
                   6704: 
                   6705:   openbsd*)
                   6706:     hardcode_direct=yes
                   6707:     hardcode_shlibpath_var=no
                   6708:     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6709:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   6710:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   6711:       export_dynamic_flag_spec='${wl}-E'
                   6712:     else
                   6713:       case "$host_os" in
                   6714:       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   6715:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   6716:        hardcode_libdir_flag_spec='-R$libdir'
                   6717:         ;;
                   6718:       *)
                   6719:         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   6720:         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   6721:         ;;
                   6722:       esac
                   6723:     fi
                   6724:     ;;
                   6725: 
                   6726:   os2*)
                   6727:     hardcode_libdir_flag_spec='-L$libdir'
                   6728:     hardcode_minus_L=yes
                   6729:     allow_undefined_flag=unsupported
                   6730:     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'
                   6731:     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   6732:     ;;
                   6733: 
                   6734:   osf3*)
                   6735:     if test "$GCC" = yes; then
                   6736:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   6737:       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'
                   6738:     else
                   6739:       allow_undefined_flag=' -expect_unresolved \*'
                   6740:       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'
                   6741:     fi
                   6742:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6743:     hardcode_libdir_separator=:
                   6744:     ;;
                   6745: 
                   6746:   osf4* | osf5*)       # as osf3* with the addition of -msym flag
                   6747:     if test "$GCC" = yes; then
                   6748:       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   6749:       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'
                   6750:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   6751:     else
                   6752:       allow_undefined_flag=' -expect_unresolved \*'
                   6753:       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'
                   6754:       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
                   6755:       $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'
                   6756: 
                   6757:       #Both c and cxx compiler support -rpath directly
                   6758:       hardcode_libdir_flag_spec='-rpath $libdir'
                   6759:     fi
                   6760:     hardcode_libdir_separator=:
                   6761:     ;;
                   6762: 
                   6763:   sco3.2v5*)
                   6764:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6765:     hardcode_shlibpath_var=no
                   6766:     runpath_var=LD_RUN_PATH
                   6767:     hardcode_runpath_var=yes
                   6768:     export_dynamic_flag_spec='${wl}-Bexport'
                   6769:     ;;
                   6770: 
                   6771:   solaris*)
                   6772:     # gcc --version < 3.0 without binutils cannot create self contained
                   6773:     # shared libraries reliably, requiring libgcc.a to resolve some of
                   6774:     # the object symbols generated in some cases.  Libraries that use
                   6775:     # assert need libgcc.a to resolve __eprintf, for example.  Linking
                   6776:     # a copy of libgcc.a into every shared library to guarantee resolving
                   6777:     # such symbols causes other problems:  According to Tim Van Holder
                   6778:     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
                   6779:     # (to the application) exception stack for one thing.
                   6780:     no_undefined_flag=' -z defs'
                   6781:     if test "$GCC" = yes; then
                   6782:       case `$CC --version 2>/dev/null` in
                   6783:       [12].*)
                   6784:        cat <<EOF 1>&2
                   6785: 
                   6786: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
                   6787: *** create self contained shared libraries on Solaris systems, without
                   6788: *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
                   6789: *** -no-undefined support, which will at least allow you to build shared
                   6790: *** libraries.  However, you may find that when you link such libraries
                   6791: *** into an application without using GCC, you have to manually add
                   6792: *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
                   6793: *** upgrade to a newer version of GCC.  Another option is to rebuild your
                   6794: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
                   6795: 
                   6796: EOF
                   6797:         no_undefined_flag=
                   6798:        ;;
                   6799:       esac
                   6800:     fi
                   6801:     # $CC -shared without GNU ld will not create a library from C++
                   6802:     # object files and a static libstdc++, better avoid it by now
                   6803:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6804:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6805:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6806:     hardcode_libdir_flag_spec='-R$libdir'
                   6807:     hardcode_shlibpath_var=no
                   6808:     case $host_os in
                   6809:     solaris2.[0-5] | solaris2.[0-5].*) ;;
                   6810:     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
                   6811:       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
                   6812:     esac
                   6813:     link_all_deplibs=yes
                   6814:     ;;
                   6815: 
                   6816:   sunos4*)
                   6817:     if test "x$host_vendor" = xsequent; then
                   6818:       # Use $CC to link under sequent, because it throws in some extra .o
                   6819:       # files that make .init and .fini sections work.
                   6820:       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   6821:     else
                   6822:       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   6823:     fi
                   6824:     hardcode_libdir_flag_spec='-L$libdir'
                   6825:     hardcode_direct=yes
                   6826:     hardcode_minus_L=yes
                   6827:     hardcode_shlibpath_var=no
                   6828:     ;;
                   6829: 
                   6830:   sysv4)
                   6831:     case $host_vendor in
                   6832:       sni)
                   6833:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6834:         hardcode_direct=yes # is this really true???
                   6835:         ;;
                   6836:       siemens)
                   6837:         ## LD is ld it makes a PLAMLIB
                   6838:         ## CC just makes a GrossModule.
                   6839:         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6840:         reload_cmds='$CC -r -o $output$reload_objs'
                   6841:         hardcode_direct=no
                   6842:         ;;
                   6843:       motorola)
                   6844:         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6845:         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   6846:         ;;
                   6847:     esac
                   6848:     runpath_var='LD_RUN_PATH'
                   6849:     hardcode_shlibpath_var=no
                   6850:     ;;
                   6851: 
                   6852:   sysv4.3*)
                   6853:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6854:     hardcode_shlibpath_var=no
                   6855:     export_dynamic_flag_spec='-Bexport'
                   6856:     ;;
                   6857: 
                   6858:   sysv5*)
                   6859:     no_undefined_flag=' -z text'
                   6860:     # $CC -shared without GNU ld will not create a library from C++
                   6861:     # object files and a static libstdc++, better avoid it by now
                   6862:     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6863:     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   6864:                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
                   6865:     hardcode_libdir_flag_spec=
                   6866:     hardcode_shlibpath_var=no
                   6867:     runpath_var='LD_RUN_PATH'
                   6868:     ;;
                   6869: 
                   6870:   uts4*)
                   6871:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6872:     hardcode_libdir_flag_spec='-L$libdir'
                   6873:     hardcode_shlibpath_var=no
                   6874:     ;;
                   6875: 
                   6876:   dgux*)
                   6877:     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6878:     hardcode_libdir_flag_spec='-L$libdir'
                   6879:     hardcode_shlibpath_var=no
                   6880:     ;;
                   6881: 
                   6882:   sysv4*MP*)
                   6883:     if test -d /usr/nec; then
                   6884:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   6885:       hardcode_shlibpath_var=no
                   6886:       runpath_var=LD_RUN_PATH
                   6887:       hardcode_runpath_var=yes
                   6888:       ld_shlibs=yes
                   6889:     fi
                   6890:     ;;
                   6891: 
                   6892:   sysv4.2uw2*)
                   6893:     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   6894:     hardcode_direct=yes
                   6895:     hardcode_minus_L=no
                   6896:     hardcode_shlibpath_var=no
                   6897:     hardcode_runpath_var=yes
                   6898:     runpath_var=LD_RUN_PATH
                   6899:     ;;
                   6900: 
                   6901:   sysv5uw7* | unixware7*)
                   6902:     no_undefined_flag='${wl}-z ${wl}text'
                   6903:     if test "$GCC" = yes; then
                   6904:       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6905:     else
                   6906:       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   6907:     fi
                   6908:     runpath_var='LD_RUN_PATH'
                   6909:     hardcode_shlibpath_var=no
                   6910:     ;;
                   6911: 
                   6912:   *)
                   6913:     ld_shlibs=no
                   6914:     ;;
                   6915:   esac
                   6916: fi
                   6917: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   6918: echo "${ECHO_T}$ld_shlibs" >&6
                   6919: test "$ld_shlibs" = no && can_build_shared=no
1.18      paf      6920: ##
                   6921: ## END FIXME
1.11      paf      6922: 
1.18      paf      6923: ## FIXME: this should be a separate macro
                   6924: ##
1.11      paf      6925: # Check hardcoding attributes.
                   6926: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   6927: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   6928: hardcode_action=
                   6929: if test -n "$hardcode_libdir_flag_spec" || \
                   6930:    test -n "$runpath_var"; then
                   6931: 
                   6932:   # We can hardcode non-existant directories.
                   6933:   if test "$hardcode_direct" != no &&
                   6934:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   6935:      # have to relink, otherwise we might link with an installed library
                   6936:      # when we should be linking with a yet-to-be-installed one
                   6937:      ## test "$hardcode_shlibpath_var" != no &&
                   6938:      test "$hardcode_minus_L" != no; then
                   6939:     # Linking always hardcodes the temporary library directory.
                   6940:     hardcode_action=relink
                   6941:   else
                   6942:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   6943:     hardcode_action=immediate
                   6944:   fi
                   6945: else
                   6946:   # We cannot hardcode anything, or else we can only hardcode existing
                   6947:   # directories.
                   6948:   hardcode_action=unsupported
                   6949: fi
                   6950: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   6951: echo "${ECHO_T}$hardcode_action" >&6
1.18      paf      6952: ##
                   6953: ## END FIXME
1.11      paf      6954: 
1.18      paf      6955: ## FIXME: this should be a separate macro
                   6956: ##
1.11      paf      6957: striplib=
                   6958: old_striplib=
                   6959: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   6960: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   6961: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
                   6962:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   6963:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   6964:   echo "$as_me:$LINENO: result: yes" >&5
                   6965: echo "${ECHO_T}yes" >&6
                   6966: else
                   6967:   echo "$as_me:$LINENO: result: no" >&5
                   6968: echo "${ECHO_T}no" >&6
                   6969: fi
1.18      paf      6970: ##
                   6971: ## END FIXME
1.11      paf      6972: 
                   6973: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6974: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6975: 
1.18      paf      6976: ## FIXME: this should be a separate macro
                   6977: ##
1.11      paf      6978: # PORTME Fill in your ld.so characteristics
                   6979: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   6980: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   6981: library_names_spec=
                   6982: libname_spec='lib$name'
                   6983: soname_spec=
                   6984: postinstall_cmds=
                   6985: postuninstall_cmds=
                   6986: finish_cmds=
                   6987: finish_eval=
                   6988: shlibpath_var=
                   6989: shlibpath_overrides_runpath=unknown
                   6990: version_type=none
                   6991: dynamic_linker="$host_os ld.so"
                   6992: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   6993: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   6994: 
                   6995: case $host_os in
                   6996: aix3*)
                   6997:   version_type=linux
                   6998:   library_names_spec='${libname}${release}.so$versuffix $libname.a'
                   6999:   shlibpath_var=LIBPATH
                   7000: 
                   7001:   # AIX has no versioning support, so we append a major version to the name.
                   7002:   soname_spec='${libname}${release}.so$major'
                   7003:   ;;
                   7004: 
                   7005: aix4* | aix5*)
                   7006:   version_type=linux
                   7007:   need_lib_prefix=no
                   7008:   need_version=no
                   7009:   hardcode_into_libs=yes
                   7010:   if test "$host_cpu" = ia64; then
                   7011:     # AIX 5 supports IA64
                   7012:     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
                   7013:     shlibpath_var=LD_LIBRARY_PATH
                   7014:   else
                   7015:     # With GCC up to 2.95.x, collect2 would create an import file
                   7016:     # for dependence libraries.  The import file would start with
                   7017:     # the line `#! .'.  This would cause the generated library to
                   7018:     # depend on `.', always an invalid library.  This was fixed in
                   7019:     # development snapshots of GCC prior to 3.0.
                   7020:     case $host_os in
                   7021:       aix4 | aix4.[01] | aix4.[01].*)
                   7022:        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   7023:             echo ' yes '
                   7024:             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
                   7025:          :
                   7026:        else
                   7027:          can_build_shared=no
                   7028:        fi
                   7029:        ;;
                   7030:     esac
                   7031:     # AIX (on Power*) has no versioning support, so currently we can
                   7032:     # not hardcode correct soname into executable. Probably we can
                   7033:     # add versioning support to collect2, so additional links can
                   7034:     # be useful in future.
                   7035:     if test "$aix_use_runtimelinking" = yes; then
                   7036:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   7037:       # instead of lib<name>.a to let people know that these are not
                   7038:       # typical AIX shared libraries.
                   7039:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7040:     else
                   7041:       # We preserve .a as extension for shared libraries through AIX4.2
                   7042:       # and later when we are not doing run time linking.
                   7043:       library_names_spec='${libname}${release}.a $libname.a'
                   7044:       soname_spec='${libname}${release}.so$major'
                   7045:     fi
                   7046:     shlibpath_var=LIBPATH
                   7047:   fi
                   7048:   hardcode_into_libs=yes
                   7049:   ;;
                   7050: 
                   7051: amigaos*)
                   7052:   library_names_spec='$libname.ixlibrary $libname.a'
                   7053:   # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   7054:   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'
                   7055:   ;;
                   7056: 
                   7057: beos*)
                   7058:   library_names_spec='${libname}.so'
                   7059:   dynamic_linker="$host_os ld.so"
                   7060:   shlibpath_var=LIBRARY_PATH
                   7061:   ;;
                   7062: 
                   7063: bsdi4*)
                   7064:   version_type=linux
                   7065:   need_version=no
                   7066:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7067:   soname_spec='${libname}${release}.so$major'
                   7068:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   7069:   shlibpath_var=LD_LIBRARY_PATH
                   7070:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   7071:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   7072:   export_dynamic_flag_spec=-rdynamic
                   7073:   # the default ld.so.conf also contains /usr/contrib/lib and
                   7074:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   7075:   # libtool to hard-code these into programs
                   7076:   ;;
                   7077: 
                   7078: cygwin* | mingw* | pw32*)
                   7079:   version_type=windows
                   7080:   need_version=no
                   7081:   need_lib_prefix=no
                   7082:   case $GCC,$host_os in
                   7083:   yes,cygwin*)
                   7084:     library_names_spec='$libname.dll.a'
                   7085:     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   7086:     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
                   7087:       dldir=$destdir/`dirname \$dlpath`~
                   7088:       test -d \$dldir || mkdir -p \$dldir~
                   7089:       $install_prog .libs/$dlname \$dldir/$dlname'
                   7090:     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   7091:       dlpath=$dir/\$dldll~
                   7092:        $rm \$dlpath'
                   7093:     ;;
                   7094:   yes,mingw*)
                   7095:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
                   7096:     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
                   7097:     ;;
                   7098:   yes,pw32*)
                   7099:     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
                   7100:     ;;
                   7101:   *)
                   7102:     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
                   7103:     ;;
                   7104:   esac
                   7105:   dynamic_linker='Win32 ld.exe'
                   7106:   # FIXME: first we should search . and the directory the executable is in
                   7107:   shlibpath_var=PATH
                   7108:   ;;
                   7109: 
                   7110: darwin* | rhapsody*)
                   7111:   dynamic_linker="$host_os dyld"
                   7112:   version_type=darwin
                   7113:   need_lib_prefix=no
                   7114:   need_version=no
                   7115:   # FIXME: Relying on posixy $() will cause problems for
                   7116:   #        cross-compilation, but unfortunately the echo tests do not
                   7117:   #        yet detect zsh echo's removal of \ escapes.
                   7118:   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)'
                   7119:   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
                   7120:   shlibpath_overrides_runpath=yes
                   7121:   shlibpath_var=DYLD_LIBRARY_PATH
                   7122:   ;;
                   7123: 
                   7124: freebsd1*)
                   7125:   dynamic_linker=no
                   7126:   ;;
                   7127: 
                   7128: freebsd*)
                   7129:   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
                   7130:   version_type=freebsd-$objformat
                   7131:   case $version_type in
                   7132:     freebsd-elf*)
                   7133:       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
                   7134:       need_version=no
                   7135:       need_lib_prefix=no
                   7136:       ;;
                   7137:     freebsd-*)
                   7138:       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
                   7139:       need_version=yes
                   7140:       ;;
                   7141:   esac
                   7142:   shlibpath_var=LD_LIBRARY_PATH
                   7143:   case $host_os in
                   7144:   freebsd2*)
                   7145:     shlibpath_overrides_runpath=yes
                   7146:     ;;
                   7147:   *)
                   7148:     shlibpath_overrides_runpath=no
                   7149:     hardcode_into_libs=yes
                   7150:     ;;
                   7151:   esac
                   7152:   ;;
                   7153: 
                   7154: gnu*)
                   7155:   version_type=linux
                   7156:   need_lib_prefix=no
                   7157:   need_version=no
                   7158:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
                   7159:   soname_spec='${libname}${release}.so$major'
                   7160:   shlibpath_var=LD_LIBRARY_PATH
                   7161:   hardcode_into_libs=yes
                   7162:   ;;
                   7163: 
                   7164: hpux9* | hpux10* | hpux11*)
                   7165:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   7166:   # link against other versions.
                   7167:   dynamic_linker="$host_os dld.sl"
                   7168:   version_type=sunos
                   7169:   need_lib_prefix=no
                   7170:   need_version=no
                   7171:   shlibpath_var=SHLIB_PATH
                   7172:   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   7173:   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
                   7174:   soname_spec='${libname}${release}.sl$major'
                   7175:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
                   7176:   postinstall_cmds='chmod 555 $lib'
                   7177:   ;;
                   7178: 
                   7179: irix5* | irix6* | nonstopux*)
                   7180:   case $host_os in
                   7181:     nonstopux*) version_type=nonstopux ;;
                   7182:     *)          version_type=irix ;;
                   7183:   esac
                   7184:   need_lib_prefix=no
                   7185:   need_version=no
                   7186:   soname_spec='${libname}${release}.so$major'
                   7187:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
                   7188:   case $host_os in
                   7189:   irix5* | nonstopux*)
                   7190:     libsuff= shlibsuff=
                   7191:     ;;
                   7192:   *)
                   7193:     case $LD in # libtool.m4 will add one of these switches to LD
                   7194:     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
                   7195:     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
                   7196:     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   7197:     *) libsuff= shlibsuff= libmagic=never-match;;
                   7198:     esac
                   7199:     ;;
                   7200:   esac
                   7201:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   7202:   shlibpath_overrides_runpath=no
                   7203:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   7204:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   7205:   ;;
                   7206: 
                   7207: # No shared lib support for Linux oldld, aout, or coff.
                   7208: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
                   7209:   dynamic_linker=no
                   7210:   ;;
                   7211: 
                   7212: # This must be Linux ELF.
                   7213: linux-gnu*)
                   7214:   version_type=linux
                   7215:   need_lib_prefix=no
                   7216:   need_version=no
                   7217:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7218:   soname_spec='${libname}${release}.so$major'
                   7219:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   7220:   shlibpath_var=LD_LIBRARY_PATH
                   7221:   shlibpath_overrides_runpath=no
                   7222:   # This implies no fast_install, which is unacceptable.
                   7223:   # Some rework will be needed to allow for fast_install
                   7224:   # before this can be enabled.
                   7225:   hardcode_into_libs=yes
                   7226: 
                   7227:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   7228:   # powerpc, because MkLinux only supported shared libraries with the
                   7229:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   7230:   # most powerpc-linux boxes support dynamic linking these days and
                   7231:   # people can always --disable-shared, the test was removed, and we
                   7232:   # assume the GNU/Linux dynamic linker is in use.
                   7233:   dynamic_linker='GNU/Linux ld.so'
                   7234:   ;;
                   7235: 
                   7236: netbsd*)
                   7237:   version_type=sunos
                   7238:   need_lib_prefix=no
                   7239:   need_version=no
                   7240:   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
                   7241:     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   7242:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   7243:     dynamic_linker='NetBSD (a.out) ld.so'
                   7244:   else
                   7245:     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
                   7246:     soname_spec='${libname}${release}.so$major'
                   7247:     dynamic_linker='NetBSD ld.elf_so'
                   7248:   fi
                   7249:   shlibpath_var=LD_LIBRARY_PATH
                   7250:   shlibpath_overrides_runpath=yes
                   7251:   hardcode_into_libs=yes
                   7252:   ;;
                   7253: 
                   7254: newsos6)
                   7255:   version_type=linux
                   7256:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7257:   shlibpath_var=LD_LIBRARY_PATH
                   7258:   shlibpath_overrides_runpath=yes
                   7259:   ;;
                   7260: 
                   7261: openbsd*)
                   7262:   version_type=sunos
                   7263:   need_lib_prefix=no
                   7264:   need_version=no
                   7265:   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   7266:     case "$host_os" in
                   7267:     openbsd2.[89] | openbsd2.[89].*)
                   7268:       shlibpath_overrides_runpath=no
                   7269:       ;;
                   7270:     *)
                   7271:       shlibpath_overrides_runpath=yes
                   7272:       ;;
                   7273:     esac
                   7274:   else
                   7275:     shlibpath_overrides_runpath=yes
                   7276:   fi
                   7277:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   7278:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   7279:   shlibpath_var=LD_LIBRARY_PATH
                   7280:   ;;
                   7281: 
                   7282: os2*)
                   7283:   libname_spec='$name'
                   7284:   need_lib_prefix=no
                   7285:   library_names_spec='$libname.dll $libname.a'
                   7286:   dynamic_linker='OS/2 ld.exe'
                   7287:   shlibpath_var=LIBPATH
                   7288:   ;;
                   7289: 
                   7290: osf3* | osf4* | osf5*)
                   7291:   version_type=osf
                   7292:   need_version=no
                   7293:   soname_spec='${libname}${release}.so$major'
                   7294:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7295:   shlibpath_var=LD_LIBRARY_PATH
                   7296:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   7297:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   7298:   hardcode_into_libs=yes
                   7299:   ;;
                   7300: 
                   7301: sco3.2v5*)
                   7302:   version_type=osf
                   7303:   soname_spec='${libname}${release}.so$major'
                   7304:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7305:   shlibpath_var=LD_LIBRARY_PATH
                   7306:   ;;
                   7307: 
                   7308: solaris*)
                   7309:   version_type=linux
                   7310:   need_lib_prefix=no
                   7311:   need_version=no
                   7312:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7313:   soname_spec='${libname}${release}.so$major'
                   7314:   shlibpath_var=LD_LIBRARY_PATH
                   7315:   shlibpath_overrides_runpath=yes
                   7316:   hardcode_into_libs=yes
                   7317:   # ldd complains unless libraries are executable
                   7318:   postinstall_cmds='chmod +x $lib'
                   7319:   ;;
                   7320: 
                   7321: sunos4*)
                   7322:   version_type=sunos
                   7323:   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
                   7324:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   7325:   shlibpath_var=LD_LIBRARY_PATH
                   7326:   shlibpath_overrides_runpath=yes
                   7327:   if test "$with_gnu_ld" = yes; then
                   7328:     need_lib_prefix=no
                   7329:   fi
                   7330:   need_version=yes
                   7331:   ;;
                   7332: 
                   7333: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   7334:   version_type=linux
                   7335:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7336:   soname_spec='${libname}${release}.so$major'
                   7337:   shlibpath_var=LD_LIBRARY_PATH
                   7338:   case $host_vendor in
                   7339:     sni)
                   7340:       shlibpath_overrides_runpath=no
                   7341:       need_lib_prefix=no
                   7342:       export_dynamic_flag_spec='${wl}-Blargedynsym'
                   7343:       runpath_var=LD_RUN_PATH
                   7344:       ;;
                   7345:     siemens)
                   7346:       need_lib_prefix=no
                   7347:       ;;
                   7348:     motorola)
                   7349:       need_lib_prefix=no
                   7350:       need_version=no
                   7351:       shlibpath_overrides_runpath=no
                   7352:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   7353:       ;;
                   7354:   esac
                   7355:   ;;
                   7356: 
                   7357: uts4*)
                   7358:   version_type=linux
                   7359:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7360:   soname_spec='${libname}${release}.so$major'
                   7361:   shlibpath_var=LD_LIBRARY_PATH
                   7362:   ;;
                   7363: 
                   7364: dgux*)
                   7365:   version_type=linux
                   7366:   need_lib_prefix=no
                   7367:   need_version=no
                   7368:   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
                   7369:   soname_spec='${libname}${release}.so$major'
                   7370:   shlibpath_var=LD_LIBRARY_PATH
                   7371:   ;;
                   7372: 
                   7373: sysv4*MP*)
                   7374:   if test -d /usr/nec ;then
                   7375:     version_type=linux
                   7376:     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
                   7377:     soname_spec='$libname.so.$major'
                   7378:     shlibpath_var=LD_LIBRARY_PATH
                   7379:   fi
                   7380:   ;;
                   7381: 
                   7382: *)
                   7383:   dynamic_linker=no
                   7384:   ;;
                   7385: esac
                   7386: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   7387: echo "${ECHO_T}$dynamic_linker" >&6
                   7388: test "$dynamic_linker" = no && can_build_shared=no
1.18      paf      7389: ##
                   7390: ## END FIXME
1.11      paf      7391: 
1.18      paf      7392: ## FIXME: this should be a separate macro
                   7393: ##
1.11      paf      7394: # Report the final consequences.
                   7395: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   7396: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   7397: echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   7398: echo "${ECHO_T}$can_build_shared" >&6
1.18      paf      7399: ##
                   7400: ## END FIXME
1.11      paf      7401: 
1.18      paf      7402: ## FIXME: this should be a separate macro
                   7403: ##
1.11      paf      7404: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   7405: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   7406: test "$can_build_shared" = "no" && enable_shared=no
                   7407: 
                   7408: # On AIX, shared libraries and static libraries use the same namespace, and
                   7409: # are all built from PIC.
                   7410: case "$host_os" in
                   7411: aix3*)
                   7412:   test "$enable_shared" = yes && enable_static=no
                   7413:   if test -n "$RANLIB"; then
                   7414:     archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   7415:     postinstall_cmds='$RANLIB $lib'
                   7416:   fi
                   7417:   ;;
                   7418: 
                   7419: aix4*)
                   7420:   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   7421:     test "$enable_shared" = yes && enable_static=no
                   7422:   fi
                   7423:   ;;
                   7424: esac
                   7425: echo "$as_me:$LINENO: result: $enable_shared" >&5
                   7426: echo "${ECHO_T}$enable_shared" >&6
1.18      paf      7427: ##
                   7428: ## END FIXME
1.11      paf      7429: 
1.18      paf      7430: ## FIXME: this should be a separate macro
                   7431: ##
1.11      paf      7432: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   7433: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   7434: # Make sure either enable_shared or enable_static is yes.
                   7435: test "$enable_shared" = yes || enable_static=yes
                   7436: echo "$as_me:$LINENO: result: $enable_static" >&5
                   7437: echo "${ECHO_T}$enable_static" >&6
1.18      paf      7438: ##
                   7439: ## END FIXME
1.11      paf      7440: 
                   7441: if test "$hardcode_action" = relink; then
                   7442:   # Fast installation is not supported
                   7443:   enable_fast_install=no
                   7444: elif test "$shlibpath_overrides_runpath" = yes ||
                   7445:      test "$enable_shared" = no; then
                   7446:   # Fast installation is not necessary
                   7447:   enable_fast_install=needless
                   7448: fi
                   7449: 
                   7450: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   7451: if test "$GCC" = yes; then
                   7452:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   7453: fi
                   7454: 
                   7455: if test "x$enable_dlopen" != xyes; then
                   7456:   enable_dlopen=unknown
                   7457:   enable_dlopen_self=unknown
                   7458:   enable_dlopen_self_static=unknown
                   7459: else
                   7460:   lt_cv_dlopen=no
                   7461:   lt_cv_dlopen_libs=
                   7462: 
                   7463:   case $host_os in
                   7464:   beos*)
                   7465:     lt_cv_dlopen="load_add_on"
                   7466:     lt_cv_dlopen_libs=
                   7467:     lt_cv_dlopen_self=yes
                   7468:     ;;
                   7469: 
                   7470:   cygwin* | mingw* | pw32*)
                   7471:     lt_cv_dlopen="LoadLibrary"
                   7472:     lt_cv_dlopen_libs=
                   7473:    ;;
                   7474: 
                   7475:   *)
                   7476:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   7477: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   7478: if test "${ac_cv_func_shl_load+set}" = set; then
                   7479:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7480: else
                   7481:   cat >conftest.$ac_ext <<_ACEOF
                   7482: /* confdefs.h.  */
                   7483: _ACEOF
                   7484: cat confdefs.h >>conftest.$ac_ext
                   7485: cat >>conftest.$ac_ext <<_ACEOF
                   7486: /* end confdefs.h.  */
1.18      paf      7487: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   7488:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   7489: #define shl_load innocuous_shl_load
                   7490: 
1.11      paf      7491: /* System header to define __stub macros and hopefully few prototypes,
                   7492:     which can conflict with char shl_load (); below.
                   7493:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7494:     <limits.h> exists even on freestanding compilers.  */
1.18      paf      7495: 
1.11      paf      7496: #ifdef __STDC__
                   7497: # include <limits.h>
                   7498: #else
                   7499: # include <assert.h>
                   7500: #endif
1.18      paf      7501: 
                   7502: #undef shl_load
                   7503: 
1.11      paf      7504: /* Override any gcc2 internal prototype to avoid an error.  */
                   7505: #ifdef __cplusplus
                   7506: extern "C"
                   7507: {
                   7508: #endif
                   7509: /* We use char because int might match the return type of a gcc2
                   7510:    builtin and then its argument prototype would still apply.  */
                   7511: char shl_load ();
                   7512: /* The GNU C library defines this for functions which it implements
                   7513:     to always fail with ENOSYS.  Some functions are actually named
                   7514:     something starting with __ and the normal name is an alias.  */
                   7515: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   7516: choke me
                   7517: #else
                   7518: char (*f) () = shl_load;
                   7519: #endif
                   7520: #ifdef __cplusplus
                   7521: }
                   7522: #endif
                   7523: 
                   7524: int
                   7525: main ()
                   7526: {
                   7527: return f != shl_load;
                   7528:   ;
                   7529:   return 0;
                   7530: }
                   7531: _ACEOF
                   7532: rm -f conftest.$ac_objext conftest$ac_exeext
                   7533: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      7534:   (eval $ac_link) 2>conftest.er1
1.11      paf      7535:   ac_status=$?
1.18      paf      7536:   grep -v '^ *+' conftest.er1 >conftest.err
                   7537:   rm -f conftest.er1
                   7538:   cat conftest.err >&5
1.11      paf      7539:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7540:   (exit $ac_status); } &&
1.18      paf      7541:         { ac_try='test -z "$ac_c_werror_flag"
                   7542:                         || test ! -s conftest.err'
                   7543:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7544:   (eval $ac_try) 2>&5
                   7545:   ac_status=$?
                   7546:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7547:   (exit $ac_status); }; } &&
                   7548:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      7549:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7550:   (eval $ac_try) 2>&5
                   7551:   ac_status=$?
                   7552:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7553:   (exit $ac_status); }; }; then
                   7554:   ac_cv_func_shl_load=yes
                   7555: else
                   7556:   echo "$as_me: failed program was:" >&5
                   7557: sed 's/^/| /' conftest.$ac_ext >&5
                   7558: 
                   7559: ac_cv_func_shl_load=no
                   7560: fi
1.18      paf      7561: rm -f conftest.err conftest.$ac_objext \
                   7562:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      7563: fi
                   7564: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   7565: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   7566: if test $ac_cv_func_shl_load = yes; then
                   7567:   lt_cv_dlopen="shl_load"
                   7568: else
                   7569:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   7570: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   7571: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   7572:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7573: else
                   7574:   ac_check_lib_save_LIBS=$LIBS
                   7575: LIBS="-ldld  $LIBS"
                   7576: cat >conftest.$ac_ext <<_ACEOF
                   7577: /* confdefs.h.  */
                   7578: _ACEOF
                   7579: cat confdefs.h >>conftest.$ac_ext
                   7580: cat >>conftest.$ac_ext <<_ACEOF
                   7581: /* end confdefs.h.  */
                   7582: 
                   7583: /* Override any gcc2 internal prototype to avoid an error.  */
                   7584: #ifdef __cplusplus
                   7585: extern "C"
                   7586: #endif
                   7587: /* We use char because int might match the return type of a gcc2
                   7588:    builtin and then its argument prototype would still apply.  */
                   7589: char shl_load ();
                   7590: int
                   7591: main ()
                   7592: {
                   7593: shl_load ();
                   7594:   ;
                   7595:   return 0;
                   7596: }
                   7597: _ACEOF
                   7598: rm -f conftest.$ac_objext conftest$ac_exeext
                   7599: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      7600:   (eval $ac_link) 2>conftest.er1
1.11      paf      7601:   ac_status=$?
1.18      paf      7602:   grep -v '^ *+' conftest.er1 >conftest.err
                   7603:   rm -f conftest.er1
                   7604:   cat conftest.err >&5
1.11      paf      7605:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7606:   (exit $ac_status); } &&
1.18      paf      7607:         { ac_try='test -z "$ac_c_werror_flag"
                   7608:                         || test ! -s conftest.err'
                   7609:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7610:   (eval $ac_try) 2>&5
                   7611:   ac_status=$?
                   7612:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7613:   (exit $ac_status); }; } &&
                   7614:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      7615:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7616:   (eval $ac_try) 2>&5
                   7617:   ac_status=$?
                   7618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7619:   (exit $ac_status); }; }; then
                   7620:   ac_cv_lib_dld_shl_load=yes
                   7621: else
                   7622:   echo "$as_me: failed program was:" >&5
                   7623: sed 's/^/| /' conftest.$ac_ext >&5
                   7624: 
                   7625: ac_cv_lib_dld_shl_load=no
                   7626: fi
1.18      paf      7627: rm -f conftest.err conftest.$ac_objext \
                   7628:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      7629: LIBS=$ac_check_lib_save_LIBS
                   7630: fi
                   7631: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   7632: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   7633: if test $ac_cv_lib_dld_shl_load = yes; then
                   7634:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
                   7635: else
                   7636:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   7637: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   7638: if test "${ac_cv_func_dlopen+set}" = set; then
                   7639:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7640: else
                   7641:   cat >conftest.$ac_ext <<_ACEOF
                   7642: /* confdefs.h.  */
                   7643: _ACEOF
                   7644: cat confdefs.h >>conftest.$ac_ext
                   7645: cat >>conftest.$ac_ext <<_ACEOF
                   7646: /* end confdefs.h.  */
1.18      paf      7647: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   7648:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   7649: #define dlopen innocuous_dlopen
                   7650: 
1.11      paf      7651: /* System header to define __stub macros and hopefully few prototypes,
                   7652:     which can conflict with char dlopen (); below.
                   7653:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7654:     <limits.h> exists even on freestanding compilers.  */
1.18      paf      7655: 
1.11      paf      7656: #ifdef __STDC__
                   7657: # include <limits.h>
                   7658: #else
                   7659: # include <assert.h>
                   7660: #endif
1.18      paf      7661: 
                   7662: #undef dlopen
                   7663: 
1.11      paf      7664: /* Override any gcc2 internal prototype to avoid an error.  */
                   7665: #ifdef __cplusplus
                   7666: extern "C"
                   7667: {
                   7668: #endif
                   7669: /* We use char because int might match the return type of a gcc2
                   7670:    builtin and then its argument prototype would still apply.  */
                   7671: char dlopen ();
                   7672: /* The GNU C library defines this for functions which it implements
                   7673:     to always fail with ENOSYS.  Some functions are actually named
                   7674:     something starting with __ and the normal name is an alias.  */
                   7675: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   7676: choke me
                   7677: #else
                   7678: char (*f) () = dlopen;
                   7679: #endif
                   7680: #ifdef __cplusplus
                   7681: }
                   7682: #endif
                   7683: 
                   7684: int
                   7685: main ()
                   7686: {
                   7687: return f != dlopen;
                   7688:   ;
                   7689:   return 0;
                   7690: }
                   7691: _ACEOF
                   7692: rm -f conftest.$ac_objext conftest$ac_exeext
                   7693: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      7694:   (eval $ac_link) 2>conftest.er1
1.11      paf      7695:   ac_status=$?
1.18      paf      7696:   grep -v '^ *+' conftest.er1 >conftest.err
                   7697:   rm -f conftest.er1
                   7698:   cat conftest.err >&5
1.11      paf      7699:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7700:   (exit $ac_status); } &&
1.18      paf      7701:         { ac_try='test -z "$ac_c_werror_flag"
                   7702:                         || test ! -s conftest.err'
                   7703:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7704:   (eval $ac_try) 2>&5
                   7705:   ac_status=$?
                   7706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7707:   (exit $ac_status); }; } &&
                   7708:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      7709:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7710:   (eval $ac_try) 2>&5
                   7711:   ac_status=$?
                   7712:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7713:   (exit $ac_status); }; }; then
                   7714:   ac_cv_func_dlopen=yes
                   7715: else
                   7716:   echo "$as_me: failed program was:" >&5
                   7717: sed 's/^/| /' conftest.$ac_ext >&5
                   7718: 
                   7719: ac_cv_func_dlopen=no
                   7720: fi
1.18      paf      7721: rm -f conftest.err conftest.$ac_objext \
                   7722:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      7723: fi
                   7724: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   7725: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   7726: if test $ac_cv_func_dlopen = yes; then
                   7727:   lt_cv_dlopen="dlopen"
                   7728: else
                   7729:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   7730: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   7731: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   7732:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7733: else
                   7734:   ac_check_lib_save_LIBS=$LIBS
                   7735: LIBS="-ldl  $LIBS"
                   7736: cat >conftest.$ac_ext <<_ACEOF
                   7737: /* confdefs.h.  */
                   7738: _ACEOF
                   7739: cat confdefs.h >>conftest.$ac_ext
                   7740: cat >>conftest.$ac_ext <<_ACEOF
                   7741: /* end confdefs.h.  */
                   7742: 
                   7743: /* Override any gcc2 internal prototype to avoid an error.  */
                   7744: #ifdef __cplusplus
                   7745: extern "C"
                   7746: #endif
                   7747: /* We use char because int might match the return type of a gcc2
                   7748:    builtin and then its argument prototype would still apply.  */
                   7749: char dlopen ();
                   7750: int
                   7751: main ()
                   7752: {
                   7753: dlopen ();
                   7754:   ;
                   7755:   return 0;
                   7756: }
                   7757: _ACEOF
                   7758: rm -f conftest.$ac_objext conftest$ac_exeext
                   7759: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      7760:   (eval $ac_link) 2>conftest.er1
1.11      paf      7761:   ac_status=$?
1.18      paf      7762:   grep -v '^ *+' conftest.er1 >conftest.err
                   7763:   rm -f conftest.er1
                   7764:   cat conftest.err >&5
1.11      paf      7765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7766:   (exit $ac_status); } &&
1.18      paf      7767:         { ac_try='test -z "$ac_c_werror_flag"
                   7768:                         || test ! -s conftest.err'
                   7769:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7770:   (eval $ac_try) 2>&5
                   7771:   ac_status=$?
                   7772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7773:   (exit $ac_status); }; } &&
                   7774:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      7775:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7776:   (eval $ac_try) 2>&5
                   7777:   ac_status=$?
                   7778:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7779:   (exit $ac_status); }; }; then
                   7780:   ac_cv_lib_dl_dlopen=yes
                   7781: else
                   7782:   echo "$as_me: failed program was:" >&5
                   7783: sed 's/^/| /' conftest.$ac_ext >&5
                   7784: 
                   7785: ac_cv_lib_dl_dlopen=no
                   7786: fi
1.18      paf      7787: rm -f conftest.err conftest.$ac_objext \
                   7788:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      7789: LIBS=$ac_check_lib_save_LIBS
                   7790: fi
                   7791: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   7792: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   7793: if test $ac_cv_lib_dl_dlopen = yes; then
                   7794:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   7795: else
                   7796:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   7797: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   7798: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   7799:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7800: else
                   7801:   ac_check_lib_save_LIBS=$LIBS
                   7802: LIBS="-lsvld  $LIBS"
                   7803: cat >conftest.$ac_ext <<_ACEOF
                   7804: /* confdefs.h.  */
                   7805: _ACEOF
                   7806: cat confdefs.h >>conftest.$ac_ext
                   7807: cat >>conftest.$ac_ext <<_ACEOF
                   7808: /* end confdefs.h.  */
                   7809: 
                   7810: /* Override any gcc2 internal prototype to avoid an error.  */
                   7811: #ifdef __cplusplus
                   7812: extern "C"
                   7813: #endif
                   7814: /* We use char because int might match the return type of a gcc2
                   7815:    builtin and then its argument prototype would still apply.  */
                   7816: char dlopen ();
                   7817: int
                   7818: main ()
                   7819: {
                   7820: dlopen ();
                   7821:   ;
                   7822:   return 0;
                   7823: }
                   7824: _ACEOF
                   7825: rm -f conftest.$ac_objext conftest$ac_exeext
                   7826: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      7827:   (eval $ac_link) 2>conftest.er1
1.11      paf      7828:   ac_status=$?
1.18      paf      7829:   grep -v '^ *+' conftest.er1 >conftest.err
                   7830:   rm -f conftest.er1
                   7831:   cat conftest.err >&5
1.11      paf      7832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7833:   (exit $ac_status); } &&
1.18      paf      7834:         { ac_try='test -z "$ac_c_werror_flag"
                   7835:                         || test ! -s conftest.err'
                   7836:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7837:   (eval $ac_try) 2>&5
                   7838:   ac_status=$?
                   7839:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7840:   (exit $ac_status); }; } &&
                   7841:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      7842:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7843:   (eval $ac_try) 2>&5
                   7844:   ac_status=$?
                   7845:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7846:   (exit $ac_status); }; }; then
                   7847:   ac_cv_lib_svld_dlopen=yes
                   7848: else
                   7849:   echo "$as_me: failed program was:" >&5
                   7850: sed 's/^/| /' conftest.$ac_ext >&5
                   7851: 
                   7852: ac_cv_lib_svld_dlopen=no
                   7853: fi
1.18      paf      7854: rm -f conftest.err conftest.$ac_objext \
                   7855:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      7856: LIBS=$ac_check_lib_save_LIBS
                   7857: fi
                   7858: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   7859: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   7860: if test $ac_cv_lib_svld_dlopen = yes; then
                   7861:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   7862: else
                   7863:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   7864: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   7865: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   7866:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7867: else
                   7868:   ac_check_lib_save_LIBS=$LIBS
                   7869: LIBS="-ldld  $LIBS"
                   7870: cat >conftest.$ac_ext <<_ACEOF
                   7871: /* confdefs.h.  */
                   7872: _ACEOF
                   7873: cat confdefs.h >>conftest.$ac_ext
                   7874: cat >>conftest.$ac_ext <<_ACEOF
                   7875: /* end confdefs.h.  */
                   7876: 
                   7877: /* Override any gcc2 internal prototype to avoid an error.  */
                   7878: #ifdef __cplusplus
                   7879: extern "C"
                   7880: #endif
                   7881: /* We use char because int might match the return type of a gcc2
                   7882:    builtin and then its argument prototype would still apply.  */
                   7883: char dld_link ();
                   7884: int
                   7885: main ()
                   7886: {
                   7887: dld_link ();
                   7888:   ;
                   7889:   return 0;
                   7890: }
                   7891: _ACEOF
                   7892: rm -f conftest.$ac_objext conftest$ac_exeext
                   7893: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      7894:   (eval $ac_link) 2>conftest.er1
1.11      paf      7895:   ac_status=$?
1.18      paf      7896:   grep -v '^ *+' conftest.er1 >conftest.err
                   7897:   rm -f conftest.er1
                   7898:   cat conftest.err >&5
1.11      paf      7899:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7900:   (exit $ac_status); } &&
1.18      paf      7901:         { ac_try='test -z "$ac_c_werror_flag"
                   7902:                         || test ! -s conftest.err'
                   7903:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7904:   (eval $ac_try) 2>&5
                   7905:   ac_status=$?
                   7906:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7907:   (exit $ac_status); }; } &&
                   7908:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      7909:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7910:   (eval $ac_try) 2>&5
                   7911:   ac_status=$?
                   7912:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7913:   (exit $ac_status); }; }; then
                   7914:   ac_cv_lib_dld_dld_link=yes
                   7915: else
                   7916:   echo "$as_me: failed program was:" >&5
                   7917: sed 's/^/| /' conftest.$ac_ext >&5
                   7918: 
                   7919: ac_cv_lib_dld_dld_link=no
                   7920: fi
1.18      paf      7921: rm -f conftest.err conftest.$ac_objext \
                   7922:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      7923: LIBS=$ac_check_lib_save_LIBS
                   7924: fi
                   7925: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   7926: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   7927: if test $ac_cv_lib_dld_dld_link = yes; then
                   7928:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
                   7929: fi
                   7930: 
                   7931: 
                   7932: fi
                   7933: 
                   7934: 
                   7935: fi
                   7936: 
                   7937: 
                   7938: fi
                   7939: 
                   7940: 
                   7941: fi
                   7942: 
                   7943: 
                   7944: fi
                   7945: 
                   7946:     ;;
                   7947:   esac
                   7948: 
                   7949:   if test "x$lt_cv_dlopen" != xno; then
                   7950:     enable_dlopen=yes
                   7951:   else
                   7952:     enable_dlopen=no
                   7953:   fi
                   7954: 
                   7955:   case $lt_cv_dlopen in
                   7956:   dlopen)
                   7957:     save_CPPFLAGS="$CPPFLAGS"
                   7958:         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   7959: 
                   7960:     save_LDFLAGS="$LDFLAGS"
                   7961:     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   7962: 
                   7963:     save_LIBS="$LIBS"
                   7964:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   7965: 
                   7966:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   7967: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   7968: if test "${lt_cv_dlopen_self+set}" = set; then
                   7969:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7970: else
                   7971:          if test "$cross_compiling" = yes; then :
                   7972:   lt_cv_dlopen_self=cross
                   7973: else
                   7974:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   7975:   lt_status=$lt_dlunknown
                   7976:   cat > conftest.$ac_ext <<EOF
1.23      misha    7977: #line 7977 "configure"
1.11      paf      7978: #include "confdefs.h"
                   7979: 
                   7980: #if HAVE_DLFCN_H
                   7981: #include <dlfcn.h>
                   7982: #endif
                   7983: 
                   7984: #include <stdio.h>
                   7985: 
                   7986: #ifdef RTLD_GLOBAL
                   7987: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   7988: #else
                   7989: #  ifdef DL_GLOBAL
                   7990: #    define LT_DLGLOBAL                DL_GLOBAL
                   7991: #  else
                   7992: #    define LT_DLGLOBAL                0
                   7993: #  endif
                   7994: #endif
                   7995: 
                   7996: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   7997:    find out it does not work in some platform. */
                   7998: #ifndef LT_DLLAZY_OR_NOW
                   7999: #  ifdef RTLD_LAZY
                   8000: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   8001: #  else
                   8002: #    ifdef DL_LAZY
                   8003: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   8004: #    else
                   8005: #      ifdef RTLD_NOW
                   8006: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   8007: #      else
                   8008: #        ifdef DL_NOW
                   8009: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   8010: #        else
                   8011: #          define LT_DLLAZY_OR_NOW     0
                   8012: #        endif
                   8013: #      endif
                   8014: #    endif
                   8015: #  endif
                   8016: #endif
                   8017: 
                   8018: #ifdef __cplusplus
                   8019: extern "C" void exit (int);
                   8020: #endif
                   8021: 
                   8022: void fnord() { int i=42;}
                   8023: int main ()
                   8024: {
                   8025:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   8026:   int status = $lt_dlunknown;
                   8027: 
                   8028:   if (self)
                   8029:     {
                   8030:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   8031:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   8032:       /* dlclose (self); */
                   8033:     }
                   8034: 
                   8035:     exit (status);
                   8036: }
                   8037: EOF
                   8038:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8039:   (eval $ac_link) 2>&5
                   8040:   ac_status=$?
                   8041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8042:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   8043:     (./conftest; exit; ) 2>/dev/null
                   8044:     lt_status=$?
                   8045:     case x$lt_status in
                   8046:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   8047:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   8048:       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
                   8049:     esac
                   8050:   else :
                   8051:     # compilation failed
                   8052:     lt_cv_dlopen_self=no
                   8053:   fi
                   8054: fi
                   8055: rm -fr conftest*
                   8056: 
                   8057: 
                   8058: fi
                   8059: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   8060: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   8061: 
                   8062:     if test "x$lt_cv_dlopen_self" = xyes; then
                   8063:       LDFLAGS="$LDFLAGS $link_static_flag"
                   8064:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   8065: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   8066: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   8067:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8068: else
                   8069:          if test "$cross_compiling" = yes; then :
                   8070:   lt_cv_dlopen_self_static=cross
                   8071: else
                   8072:     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   8073:   lt_status=$lt_dlunknown
                   8074:   cat > conftest.$ac_ext <<EOF
1.23      misha    8075: #line 8075 "configure"
1.11      paf      8076: #include "confdefs.h"
                   8077: 
                   8078: #if HAVE_DLFCN_H
                   8079: #include <dlfcn.h>
                   8080: #endif
                   8081: 
                   8082: #include <stdio.h>
                   8083: 
                   8084: #ifdef RTLD_GLOBAL
                   8085: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   8086: #else
                   8087: #  ifdef DL_GLOBAL
                   8088: #    define LT_DLGLOBAL                DL_GLOBAL
                   8089: #  else
                   8090: #    define LT_DLGLOBAL                0
                   8091: #  endif
                   8092: #endif
                   8093: 
                   8094: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   8095:    find out it does not work in some platform. */
                   8096: #ifndef LT_DLLAZY_OR_NOW
                   8097: #  ifdef RTLD_LAZY
                   8098: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   8099: #  else
                   8100: #    ifdef DL_LAZY
                   8101: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   8102: #    else
                   8103: #      ifdef RTLD_NOW
                   8104: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   8105: #      else
                   8106: #        ifdef DL_NOW
                   8107: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   8108: #        else
                   8109: #          define LT_DLLAZY_OR_NOW     0
                   8110: #        endif
                   8111: #      endif
                   8112: #    endif
                   8113: #  endif
                   8114: #endif
                   8115: 
                   8116: #ifdef __cplusplus
                   8117: extern "C" void exit (int);
                   8118: #endif
                   8119: 
                   8120: void fnord() { int i=42;}
                   8121: int main ()
                   8122: {
                   8123:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   8124:   int status = $lt_dlunknown;
                   8125: 
                   8126:   if (self)
                   8127:     {
                   8128:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   8129:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   8130:       /* dlclose (self); */
                   8131:     }
                   8132: 
                   8133:     exit (status);
                   8134: }
                   8135: EOF
                   8136:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8137:   (eval $ac_link) 2>&5
                   8138:   ac_status=$?
                   8139:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8140:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   8141:     (./conftest; exit; ) 2>/dev/null
                   8142:     lt_status=$?
                   8143:     case x$lt_status in
                   8144:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   8145:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   8146:       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
                   8147:     esac
                   8148:   else :
                   8149:     # compilation failed
                   8150:     lt_cv_dlopen_self_static=no
                   8151:   fi
                   8152: fi
                   8153: rm -fr conftest*
                   8154: 
                   8155: 
                   8156: fi
                   8157: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   8158: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   8159:     fi
                   8160: 
                   8161:     CPPFLAGS="$save_CPPFLAGS"
                   8162:     LDFLAGS="$save_LDFLAGS"
                   8163:     LIBS="$save_LIBS"
                   8164:     ;;
                   8165:   esac
                   8166: 
                   8167:   case $lt_cv_dlopen_self in
                   8168:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   8169:   *) enable_dlopen_self=unknown ;;
                   8170:   esac
                   8171: 
                   8172:   case $lt_cv_dlopen_self_static in
                   8173:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   8174:   *) enable_dlopen_self_static=unknown ;;
                   8175:   esac
                   8176: fi
                   8177: 
                   8178: 
1.18      paf      8179: ## FIXME: this should be a separate macro
                   8180: ##
1.11      paf      8181: if test "$enable_shared" = yes && test "$GCC" = yes; then
                   8182:   case $archive_cmds in
                   8183:   *'~'*)
                   8184:     # FIXME: we may have to deal with multi-command sequences.
                   8185:     ;;
                   8186:   '$CC '*)
                   8187:     # Test whether the compiler implicitly links with -lc since on some
                   8188:     # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   8189:     # to ld, don't add -lc before -lgcc.
                   8190:     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   8191: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   8192:     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   8193:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8194: else
                   8195:   $rm conftest*
                   8196:     echo 'static int dummy;' > conftest.$ac_ext
                   8197: 
                   8198:     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8199:   (eval $ac_compile) 2>&5
                   8200:   ac_status=$?
                   8201:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8202:   (exit $ac_status); }; then
                   8203:       soname=conftest
                   8204:       lib=conftest
                   8205:       libobjs=conftest.$ac_objext
                   8206:       deplibs=
                   8207:       wl=$lt_cv_prog_cc_wl
                   8208:       compiler_flags=-v
                   8209:       linker_flags=-v
                   8210:       verstring=
                   8211:       output_objdir=.
                   8212:       libname=conftest
                   8213:       save_allow_undefined_flag=$allow_undefined_flag
                   8214:       allow_undefined_flag=
                   8215:       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   8216:   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   8217:   ac_status=$?
                   8218:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8219:   (exit $ac_status); }
                   8220:       then
                   8221:        lt_cv_archive_cmds_need_lc=no
                   8222:       else
                   8223:        lt_cv_archive_cmds_need_lc=yes
                   8224:       fi
                   8225:       allow_undefined_flag=$save_allow_undefined_flag
                   8226:     else
                   8227:       cat conftest.err 1>&5
                   8228:     fi
                   8229: fi
                   8230: 
                   8231:     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   8232: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   8233:     ;;
                   8234:   esac
                   8235: fi
                   8236: need_lc=${lt_cv_archive_cmds_need_lc-yes}
1.18      paf      8237: ##
                   8238: ## END FIXME
1.11      paf      8239: 
1.18      paf      8240: ## FIXME: this should be a separate macro
                   8241: ##
1.11      paf      8242: # The second clause should only fire when bootstrapping the
                   8243: # libtool distribution, otherwise you forgot to ship ltmain.sh
                   8244: # with your package, and you will get complaints that there are
                   8245: # no rules to generate ltmain.sh.
                   8246: if test -f "$ltmain"; then
                   8247:   :
                   8248: else
                   8249:   # If there is no Makefile yet, we rely on a make rule to execute
                   8250:   # `config.status --recheck' to rerun these tests and create the
                   8251:   # libtool script then.
                   8252:   test -f Makefile && make "$ltmain"
                   8253: fi
                   8254: 
                   8255: if test -f "$ltmain"; then
                   8256:   trap "$rm \"${ofile}T\"; exit 1" 1 2 15
                   8257:   $rm -f "${ofile}T"
                   8258: 
                   8259:   echo creating $ofile
                   8260: 
                   8261:   # Now quote all the things that may contain metacharacters while being
                   8262:   # careful not to overquote the AC_SUBSTed values.  We take copies of the
                   8263:   # variables and quote the copies for generation of the libtool script.
                   8264:   for var in echo old_CC old_CFLAGS SED \
                   8265:     AR AR_FLAGS CC LD LN_S NM SHELL \
                   8266:     reload_flag reload_cmds wl \
                   8267:     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
                   8268:     thread_safe_flag_spec whole_archive_flag_spec libname_spec \
                   8269:     library_names_spec soname_spec \
                   8270:     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
                   8271:     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
                   8272:     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
                   8273:     old_striplib striplib file_magic_cmd export_symbols_cmds \
                   8274:     deplibs_check_method allow_undefined_flag no_undefined_flag \
                   8275:     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
                   8276:     global_symbol_to_c_name_address \
                   8277:     hardcode_libdir_flag_spec hardcode_libdir_separator  \
                   8278:     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
                   8279:     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
                   8280: 
                   8281:     case $var in
                   8282:     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
                   8283:     old_postinstall_cmds | old_postuninstall_cmds | \
                   8284:     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
                   8285:     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
                   8286:     postinstall_cmds | postuninstall_cmds | \
                   8287:     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
                   8288:       # Double-quote double-evaled strings.
                   8289:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
                   8290:       ;;
                   8291:     *)
                   8292:       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
                   8293:       ;;
                   8294:     esac
                   8295:   done
                   8296: 
                   8297:   cat <<__EOF__ > "${ofile}T"
                   8298: #! $SHELL
                   8299: 
                   8300: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   8301: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
                   8302: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   8303: #
                   8304: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
                   8305: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
                   8306: #
                   8307: # This program is free software; you can redistribute it and/or modify
                   8308: # it under the terms of the GNU General Public License as published by
                   8309: # the Free Software Foundation; either version 2 of the License, or
                   8310: # (at your option) any later version.
                   8311: #
                   8312: # This program is distributed in the hope that it will be useful, but
                   8313: # WITHOUT ANY WARRANTY; without even the implied warranty of
                   8314: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                   8315: # General Public License for more details.
                   8316: #
                   8317: # You should have received a copy of the GNU General Public License
                   8318: # along with this program; if not, write to the Free Software
                   8319: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   8320: #
                   8321: # As a special exception to the GNU General Public License, if you
                   8322: # distribute this file as part of a program that contains a
                   8323: # configuration script generated by Autoconf, you may include it under
                   8324: # the same distribution terms that you use for the rest of that program.
                   8325: 
                   8326: # A sed that does not truncate output.
                   8327: SED=$lt_SED
                   8328: 
                   8329: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   8330: Xsed="${SED} -e s/^X//"
                   8331: 
                   8332: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   8333: # if CDPATH is set.
                   8334: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
                   8335: 
                   8336: # ### BEGIN LIBTOOL CONFIG
                   8337: 
                   8338: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   8339: 
                   8340: # Shell to use when invoking shell scripts.
                   8341: SHELL=$lt_SHELL
                   8342: 
                   8343: # Whether or not to build shared libraries.
                   8344: build_libtool_libs=$enable_shared
                   8345: 
                   8346: # Whether or not to build static libraries.
                   8347: build_old_libs=$enable_static
                   8348: 
                   8349: # Whether or not to add -lc for building shared libraries.
                   8350: build_libtool_need_lc=$need_lc
                   8351: 
                   8352: # Whether or not to optimize for fast installation.
                   8353: fast_install=$enable_fast_install
                   8354: 
                   8355: # The host system.
                   8356: host_alias=$host_alias
                   8357: host=$host
                   8358: 
                   8359: # An echo program that does not interpret backslashes.
                   8360: echo=$lt_echo
                   8361: 
                   8362: # The archiver.
                   8363: AR=$lt_AR
                   8364: AR_FLAGS=$lt_AR_FLAGS
                   8365: 
                   8366: # The default C compiler.
                   8367: CC=$lt_CC
                   8368: 
                   8369: # Is the compiler the GNU C compiler?
                   8370: with_gcc=$GCC
                   8371: 
                   8372: # The linker used to build libraries.
                   8373: LD=$lt_LD
                   8374: 
                   8375: # Whether we need hard or soft links.
                   8376: LN_S=$lt_LN_S
                   8377: 
                   8378: # A BSD-compatible nm program.
                   8379: NM=$lt_NM
                   8380: 
                   8381: # A symbol stripping program
                   8382: STRIP=$STRIP
                   8383: 
                   8384: # Used to examine libraries when file_magic_cmd begins "file"
                   8385: MAGIC_CMD=$MAGIC_CMD
                   8386: 
                   8387: # Used on cygwin: DLL creation program.
                   8388: DLLTOOL="$DLLTOOL"
                   8389: 
                   8390: # Used on cygwin: object dumper.
                   8391: OBJDUMP="$OBJDUMP"
                   8392: 
                   8393: # Used on cygwin: assembler.
                   8394: AS="$AS"
                   8395: 
                   8396: # The name of the directory that contains temporary libtool files.
                   8397: objdir=$objdir
                   8398: 
                   8399: # How to create reloadable object files.
                   8400: reload_flag=$lt_reload_flag
                   8401: reload_cmds=$lt_reload_cmds
                   8402: 
                   8403: # How to pass a linker flag through the compiler.
                   8404: wl=$lt_wl
                   8405: 
                   8406: # Object file suffix (normally "o").
                   8407: objext="$ac_objext"
                   8408: 
                   8409: # Old archive suffix (normally "a").
                   8410: libext="$libext"
                   8411: 
                   8412: # Executable file suffix (normally "").
                   8413: exeext="$exeext"
                   8414: 
                   8415: # Additional compiler flags for building library objects.
                   8416: pic_flag=$lt_pic_flag
                   8417: pic_mode=$pic_mode
                   8418: 
                   8419: # Does compiler simultaneously support -c and -o options?
                   8420: compiler_c_o=$lt_compiler_c_o
                   8421: 
                   8422: # Can we write directly to a .lo ?
                   8423: compiler_o_lo=$lt_compiler_o_lo
                   8424: 
                   8425: # Must we lock files when doing compilation ?
                   8426: need_locks=$lt_need_locks
                   8427: 
                   8428: # Do we need the lib prefix for modules?
                   8429: need_lib_prefix=$need_lib_prefix
                   8430: 
                   8431: # Do we need a version for libraries?
                   8432: need_version=$need_version
                   8433: 
                   8434: # Whether dlopen is supported.
                   8435: dlopen_support=$enable_dlopen
                   8436: 
                   8437: # Whether dlopen of programs is supported.
                   8438: dlopen_self=$enable_dlopen_self
                   8439: 
                   8440: # Whether dlopen of statically linked programs is supported.
                   8441: dlopen_self_static=$enable_dlopen_self_static
                   8442: 
                   8443: # Compiler flag to prevent dynamic linking.
                   8444: link_static_flag=$lt_link_static_flag
                   8445: 
                   8446: # Compiler flag to turn off builtin functions.
                   8447: no_builtin_flag=$lt_no_builtin_flag
                   8448: 
                   8449: # Compiler flag to allow reflexive dlopens.
                   8450: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   8451: 
                   8452: # Compiler flag to generate shared objects directly from archives.
                   8453: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   8454: 
                   8455: # Compiler flag to generate thread-safe objects.
                   8456: thread_safe_flag_spec=$lt_thread_safe_flag_spec
                   8457: 
                   8458: # Library versioning type.
                   8459: version_type=$version_type
                   8460: 
                   8461: # Format of library name prefix.
                   8462: libname_spec=$lt_libname_spec
                   8463: 
                   8464: # List of archive names.  First name is the real one, the rest are links.
                   8465: # The last name is the one that the linker finds with -lNAME.
                   8466: library_names_spec=$lt_library_names_spec
                   8467: 
                   8468: # The coded name of the library, if different from the real name.
                   8469: soname_spec=$lt_soname_spec
                   8470: 
                   8471: # Commands used to build and install an old-style archive.
                   8472: RANLIB=$lt_RANLIB
                   8473: old_archive_cmds=$lt_old_archive_cmds
                   8474: old_postinstall_cmds=$lt_old_postinstall_cmds
                   8475: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   8476: 
                   8477: # Create an old-style archive from a shared archive.
                   8478: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   8479: 
                   8480: # Create a temporary old-style archive to link instead of a shared archive.
                   8481: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   8482: 
                   8483: # Commands used to build and install a shared archive.
                   8484: archive_cmds=$lt_archive_cmds
                   8485: archive_expsym_cmds=$lt_archive_expsym_cmds
                   8486: postinstall_cmds=$lt_postinstall_cmds
                   8487: postuninstall_cmds=$lt_postuninstall_cmds
                   8488: 
                   8489: # Commands to strip libraries.
                   8490: old_striplib=$lt_old_striplib
                   8491: striplib=$lt_striplib
                   8492: 
                   8493: # Method to check whether dependent libraries are shared objects.
                   8494: deplibs_check_method=$lt_deplibs_check_method
                   8495: 
                   8496: # Command to use when deplibs_check_method == file_magic.
                   8497: file_magic_cmd=$lt_file_magic_cmd
                   8498: 
                   8499: # Flag that allows shared libraries with undefined symbols to be built.
                   8500: allow_undefined_flag=$lt_allow_undefined_flag
                   8501: 
                   8502: # Flag that forces no undefined symbols.
                   8503: no_undefined_flag=$lt_no_undefined_flag
                   8504: 
                   8505: # Commands used to finish a libtool library installation in a directory.
                   8506: finish_cmds=$lt_finish_cmds
                   8507: 
                   8508: # Same as above, but a single script fragment to be evaled but not shown.
                   8509: finish_eval=$lt_finish_eval
                   8510: 
                   8511: # Take the output of nm and produce a listing of raw symbols and C names.
                   8512: global_symbol_pipe=$lt_global_symbol_pipe
                   8513: 
                   8514: # Transform the output of nm in a proper C declaration
                   8515: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
                   8516: 
                   8517: # Transform the output of nm in a C name address pair
                   8518: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
                   8519: 
                   8520: # This is the shared library runtime path variable.
                   8521: runpath_var=$runpath_var
                   8522: 
                   8523: # This is the shared library path variable.
                   8524: shlibpath_var=$shlibpath_var
                   8525: 
                   8526: # Is shlibpath searched before the hard-coded library search path?
                   8527: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   8528: 
                   8529: # How to hardcode a shared library path into an executable.
                   8530: hardcode_action=$hardcode_action
                   8531: 
                   8532: # Whether we should hardcode library paths into libraries.
                   8533: hardcode_into_libs=$hardcode_into_libs
                   8534: 
                   8535: # Flag to hardcode \$libdir into a binary during linking.
                   8536: # This must work even if \$libdir does not exist.
                   8537: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   8538: 
                   8539: # Whether we need a single -rpath flag with a separated argument.
                   8540: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   8541: 
                   8542: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
                   8543: # resulting binary.
                   8544: hardcode_direct=$hardcode_direct
                   8545: 
                   8546: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
                   8547: # resulting binary.
                   8548: hardcode_minus_L=$hardcode_minus_L
                   8549: 
                   8550: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
                   8551: # the resulting binary.
                   8552: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   8553: 
                   8554: # Variables whose values should be saved in libtool wrapper scripts and
                   8555: # restored at relink time.
                   8556: variables_saved_for_relink="$variables_saved_for_relink"
                   8557: 
                   8558: # Whether libtool must link a program against all its dependency libraries.
                   8559: link_all_deplibs=$link_all_deplibs
1.7       paf      8560: 
1.11      paf      8561: # Compile-time system search path for libraries
                   8562: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.7       paf      8563: 
1.11      paf      8564: # Run-time system search path for libraries
                   8565: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.7       paf      8566: 
1.11      paf      8567: # Fix the shell variable \$srcfile for the compiler.
                   8568: fix_srcfile_path="$fix_srcfile_path"
1.7       paf      8569: 
1.11      paf      8570: # Set to yes if exported symbols are required.
                   8571: always_export_symbols=$always_export_symbols
1.7       paf      8572: 
1.11      paf      8573: # The commands to list exported symbols.
                   8574: export_symbols_cmds=$lt_export_symbols_cmds
1.7       paf      8575: 
1.11      paf      8576: # The commands to extract the exported symbol list from a shared archive.
                   8577: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.7       paf      8578: 
1.11      paf      8579: # Symbols that should not be listed in the preloaded symbols.
                   8580: exclude_expsyms=$lt_exclude_expsyms
1.7       paf      8581: 
1.11      paf      8582: # Symbols that must always be exported.
                   8583: include_expsyms=$lt_include_expsyms
1.7       paf      8584: 
1.11      paf      8585: # ### END LIBTOOL CONFIG
1.7       paf      8586: 
1.11      paf      8587: __EOF__
1.1       parser   8588: 
1.11      paf      8589:   case $host_os in
                   8590:   aix3*)
                   8591:     cat <<\EOF >> "${ofile}T"
1.1       parser   8592: 
1.11      paf      8593: # AIX sometimes has problems with the GCC collect2 program.  For some
                   8594: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8595: # vanish in a puff of smoke.
                   8596: if test "X${COLLECT_NAMES+set}" != Xset; then
                   8597:   COLLECT_NAMES=
                   8598:   export COLLECT_NAMES
                   8599: fi
                   8600: EOF
                   8601:     ;;
                   8602:   esac
1.1       parser   8603: 
1.11      paf      8604:   case $host_os in
                   8605:   cygwin* | mingw* | pw32* | os2*)
                   8606:     cat <<'EOF' >> "${ofile}T"
                   8607:       # This is a source program that is used to create dlls on Windows
                   8608:       # Don't remove nor modify the starting and closing comments
                   8609: # /* ltdll.c starts here */
                   8610: # #define WIN32_LEAN_AND_MEAN
                   8611: # #include <windows.h>
                   8612: # #undef WIN32_LEAN_AND_MEAN
                   8613: # #include <stdio.h>
                   8614: #
                   8615: # #ifndef __CYGWIN__
                   8616: # #  ifdef __CYGWIN32__
                   8617: # #    define __CYGWIN__ __CYGWIN32__
                   8618: # #  endif
                   8619: # #endif
                   8620: #
                   8621: # #ifdef __cplusplus
                   8622: # extern "C" {
                   8623: # #endif
                   8624: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
                   8625: # #ifdef __cplusplus
                   8626: # }
                   8627: # #endif
                   8628: #
                   8629: # #ifdef __CYGWIN__
                   8630: # #include <cygwin/cygwin_dll.h>
                   8631: # DECLARE_CYGWIN_DLL( DllMain );
                   8632: # #endif
                   8633: # HINSTANCE __hDllInstance_base;
                   8634: #
                   8635: # BOOL APIENTRY
                   8636: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
                   8637: # {
                   8638: #   __hDllInstance_base = hInst;
                   8639: #   return TRUE;
                   8640: # }
                   8641: # /* ltdll.c ends here */
                   8642:        # This is a source program that is used to create import libraries
                   8643:        # on Windows for dlls which lack them. Don't remove nor modify the
                   8644:        # starting and closing comments
                   8645: # /* impgen.c starts here */
                   8646: # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
                   8647: #
                   8648: #  This file is part of GNU libtool.
                   8649: #
                   8650: #  This program is free software; you can redistribute it and/or modify
                   8651: #  it under the terms of the GNU General Public License as published by
                   8652: #  the Free Software Foundation; either version 2 of the License, or
                   8653: #  (at your option) any later version.
                   8654: #
                   8655: #  This program is distributed in the hope that it will be useful,
                   8656: #  but WITHOUT ANY WARRANTY; without even the implied warranty of
                   8657: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   8658: #  GNU General Public License for more details.
                   8659: #
                   8660: #  You should have received a copy of the GNU General Public License
                   8661: #  along with this program; if not, write to the Free Software
                   8662: #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                   8663: #  */
                   8664: #
                   8665: # #include <stdio.h>           /* for printf() */
                   8666: # #include <unistd.h>          /* for open(), lseek(), read() */
                   8667: # #include <fcntl.h>           /* for O_RDONLY, O_BINARY */
                   8668: # #include <string.h>          /* for strdup() */
                   8669: #
                   8670: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
                   8671: # #ifndef O_BINARY
                   8672: # #define O_BINARY 0
                   8673: # #endif
                   8674: #
                   8675: # static unsigned int
                   8676: # pe_get16 (fd, offset)
                   8677: #      int fd;
                   8678: #      int offset;
                   8679: # {
                   8680: #   unsigned char b[2];
                   8681: #   lseek (fd, offset, SEEK_SET);
                   8682: #   read (fd, b, 2);
                   8683: #   return b[0] + (b[1]<<8);
                   8684: # }
                   8685: #
                   8686: # static unsigned int
                   8687: # pe_get32 (fd, offset)
                   8688: #     int fd;
                   8689: #     int offset;
                   8690: # {
                   8691: #   unsigned char b[4];
                   8692: #   lseek (fd, offset, SEEK_SET);
                   8693: #   read (fd, b, 4);
                   8694: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   8695: # }
                   8696: #
                   8697: # static unsigned int
                   8698: # pe_as32 (ptr)
                   8699: #      void *ptr;
                   8700: # {
                   8701: #   unsigned char *b = ptr;
                   8702: #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
                   8703: # }
                   8704: #
                   8705: # int
                   8706: # main (argc, argv)
                   8707: #     int argc;
                   8708: #     char *argv[];
                   8709: # {
                   8710: #     int dll;
                   8711: #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
                   8712: #     unsigned long export_rva, export_size, nsections, secptr, expptr;
                   8713: #     unsigned long name_rvas, nexp;
                   8714: #     unsigned char *expdata, *erva;
                   8715: #     char *filename, *dll_name;
                   8716: #
                   8717: #     filename = argv[1];
                   8718: #
                   8719: #     dll = open(filename, O_RDONLY|O_BINARY);
                   8720: #     if (dll < 1)
                   8721: #      return 1;
                   8722: #
                   8723: #     dll_name = filename;
                   8724: #
                   8725: #     for (i=0; filename[i]; i++)
                   8726: #      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
                   8727: #          dll_name = filename + i +1;
                   8728: #
                   8729: #     pe_header_offset = pe_get32 (dll, 0x3c);
                   8730: #     opthdr_ofs = pe_header_offset + 4 + 20;
                   8731: #     num_entries = pe_get32 (dll, opthdr_ofs + 92);
                   8732: #
                   8733: #     if (num_entries < 1) /* no exports */
                   8734: #      return 1;
                   8735: #
                   8736: #     export_rva = pe_get32 (dll, opthdr_ofs + 96);
                   8737: #     export_size = pe_get32 (dll, opthdr_ofs + 100);
                   8738: #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
                   8739: #     secptr = (pe_header_offset + 4 + 20 +
                   8740: #            pe_get16 (dll, pe_header_offset + 4 + 16));
                   8741: #
                   8742: #     expptr = 0;
                   8743: #     for (i = 0; i < nsections; i++)
                   8744: #     {
                   8745: #      char sname[8];
                   8746: #      unsigned long secptr1 = secptr + 40 * i;
                   8747: #      unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
                   8748: #      unsigned long vsize = pe_get32 (dll, secptr1 + 16);
                   8749: #      unsigned long fptr = pe_get32 (dll, secptr1 + 20);
                   8750: #      lseek(dll, secptr1, SEEK_SET);
                   8751: #      read(dll, sname, 8);
                   8752: #      if (vaddr <= export_rva && vaddr+vsize > export_rva)
                   8753: #      {
                   8754: #          expptr = fptr + (export_rva - vaddr);
                   8755: #          if (export_rva + export_size > vaddr + vsize)
                   8756: #              export_size = vsize - (export_rva - vaddr);
                   8757: #          break;
                   8758: #      }
                   8759: #     }
                   8760: #
                   8761: #     expdata = (unsigned char*)malloc(export_size);
                   8762: #     lseek (dll, expptr, SEEK_SET);
                   8763: #     read (dll, expdata, export_size);
                   8764: #     erva = expdata - export_rva;
                   8765: #
                   8766: #     nexp = pe_as32 (expdata+24);
                   8767: #     name_rvas = pe_as32 (expdata+32);
1.1       parser   8768: #
1.11      paf      8769: #     printf ("EXPORTS\n");
                   8770: #     for (i = 0; i<nexp; i++)
                   8771: #     {
                   8772: #      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
                   8773: #      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
                   8774: #     }
1.1       parser   8775: #
1.11      paf      8776: #     return 0;
                   8777: # }
                   8778: # /* impgen.c ends here */
                   8779: 
1.1       parser   8780: EOF
                   8781:     ;;
1.11      paf      8782:   esac
                   8783: 
                   8784:   # We use sed instead of cat because bash on DJGPP gets confused if
                   8785:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   8786:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   8787:   # is reportedly fixed, but why not run on old versions too?
                   8788:   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
                   8789: 
                   8790:   mv -f "${ofile}T" "$ofile" || \
                   8791:     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
                   8792:   chmod +x "$ofile"
1.1       parser   8793: fi
1.18      paf      8794: ##
                   8795: ## END FIXME
1.1       parser   8796: 
                   8797: 
                   8798: 
                   8799: 
                   8800: 
                   8801: # This can be used to rebuild libtool when needed
1.11      paf      8802: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
                   8803: 
                   8804: # Always use rootdir libtool.
                   8805: LIBTOOL="$ac_aux_dir/libtool"
                   8806: 
                   8807: # Prevent multiple expansion
                   8808: 
                   8809: 
                   8810: 
                   8811: 
                   8812: subdirs="$subdirs libltdl"
                   8813: 
                   8814: 
1.1       parser   8815: 
                   8816: 
                   8817: 
                   8818: 
                   8819: 
                   8820: 
                   8821: 
                   8822: 
1.11      paf      8823: for ac_header in stdio.h \
1.1       parser   8824: stdlib.h \
                   8825: string.h \
                   8826: setjmp.h \
1.3       paf      8827: ctype.h \
                   8828: setjmp.h
1.1       parser   8829: 
                   8830: do
1.11      paf      8831: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8832: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8833:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8834: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8835: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8836:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8837: fi
                   8838: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8839: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8840: else
                   8841:   # Is the header compilable?
                   8842: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   8843: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   8844: cat >conftest.$ac_ext <<_ACEOF
                   8845: /* confdefs.h.  */
                   8846: _ACEOF
                   8847: cat confdefs.h >>conftest.$ac_ext
                   8848: cat >>conftest.$ac_ext <<_ACEOF
                   8849: /* end confdefs.h.  */
                   8850: $ac_includes_default
                   8851: #include <$ac_header>
                   8852: _ACEOF
                   8853: rm -f conftest.$ac_objext
                   8854: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      8855:   (eval $ac_compile) 2>conftest.er1
1.11      paf      8856:   ac_status=$?
1.18      paf      8857:   grep -v '^ *+' conftest.er1 >conftest.err
                   8858:   rm -f conftest.er1
                   8859:   cat conftest.err >&5
1.11      paf      8860:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8861:   (exit $ac_status); } &&
1.18      paf      8862:         { ac_try='test -z "$ac_c_werror_flag"
                   8863:                         || test ! -s conftest.err'
                   8864:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8865:   (eval $ac_try) 2>&5
                   8866:   ac_status=$?
                   8867:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8868:   (exit $ac_status); }; } &&
                   8869:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      8870:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8871:   (eval $ac_try) 2>&5
                   8872:   ac_status=$?
                   8873:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8874:   (exit $ac_status); }; }; then
                   8875:   ac_header_compiler=yes
                   8876: else
                   8877:   echo "$as_me: failed program was:" >&5
                   8878: sed 's/^/| /' conftest.$ac_ext >&5
                   8879: 
                   8880: ac_header_compiler=no
                   8881: fi
1.18      paf      8882: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      8883: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   8884: echo "${ECHO_T}$ac_header_compiler" >&6
                   8885: 
                   8886: # Is the header present?
                   8887: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   8888: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   8889: cat >conftest.$ac_ext <<_ACEOF
                   8890: /* confdefs.h.  */
                   8891: _ACEOF
                   8892: cat confdefs.h >>conftest.$ac_ext
                   8893: cat >>conftest.$ac_ext <<_ACEOF
                   8894: /* end confdefs.h.  */
                   8895: #include <$ac_header>
                   8896: _ACEOF
                   8897: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   8898:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   8899:   ac_status=$?
                   8900:   grep -v '^ *+' conftest.er1 >conftest.err
                   8901:   rm -f conftest.er1
                   8902:   cat conftest.err >&5
                   8903:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8904:   (exit $ac_status); } >/dev/null; then
                   8905:   if test -s conftest.err; then
1.15      paf      8906:     ac_cpp_err=$ac_c_preproc_warn_flag
1.18      paf      8907:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      8908:   else
                   8909:     ac_cpp_err=
                   8910:   fi
                   8911: else
                   8912:   ac_cpp_err=yes
                   8913: fi
                   8914: if test -z "$ac_cpp_err"; then
                   8915:   ac_header_preproc=yes
1.1       parser   8916: else
1.11      paf      8917:   echo "$as_me: failed program was:" >&5
                   8918: sed 's/^/| /' conftest.$ac_ext >&5
                   8919: 
                   8920:   ac_header_preproc=no
                   8921: fi
                   8922: rm -f conftest.err conftest.$ac_ext
                   8923: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   8924: echo "${ECHO_T}$ac_header_preproc" >&6
                   8925: 
                   8926: # So?  What about this header?
1.18      paf      8927: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   8928:   yes:no: )
1.11      paf      8929:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   8930: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.18      paf      8931:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   8932: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   8933:     ac_header_preproc=yes
1.11      paf      8934:     ;;
1.18      paf      8935:   no:yes:* )
1.11      paf      8936:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   8937: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.18      paf      8938:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   8939: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   8940:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   8941: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   8942:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   8943: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.11      paf      8944:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   8945: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.18      paf      8946:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   8947: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.11      paf      8948:     (
                   8949:       cat <<\_ASBOX
1.18      paf      8950: ## ------------------------------------------ ##
                   8951: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   8952: ## ------------------------------------------ ##
1.11      paf      8953: _ASBOX
                   8954:     ) |
                   8955:       sed "s/^/$as_me: WARNING:     /" >&2
                   8956:     ;;
                   8957: esac
                   8958: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   8959: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   8960: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   8961:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   8962: else
1.18      paf      8963:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       parser   8964: fi
1.11      paf      8965: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   8966: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   8967: 
1.1       parser   8968: fi
1.11      paf      8969: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   8970:   cat >>confdefs.h <<_ACEOF
                   8971: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8972: _ACEOF
                   8973: 
1.1       parser   8974: fi
1.11      paf      8975: 
1.1       parser   8976: done
                   8977: 
                   8978: 
1.11      paf      8979: echo "$as_me:$LINENO: checking for BSD setenv/getenv/unsetenv" >&5
                   8980: echo $ECHO_N "checking for BSD setenv/getenv/unsetenv... $ECHO_C" >&6
                   8981: cat >conftest.$ac_ext <<_ACEOF
                   8982: /* confdefs.h.  */
                   8983: _ACEOF
                   8984: cat confdefs.h >>conftest.$ac_ext
                   8985: cat >>conftest.$ac_ext <<_ACEOF
                   8986: /* end confdefs.h.  */
1.4       paf      8987: #ifdef HAVE_STDLIB_H
                   8988: #      include <stdlib.h>
                   8989: #endif
                   8990: #ifdef HAVE_STRING_H
                   8991: #      include <string.h>
                   8992: #endif
                   8993: 
1.11      paf      8994: int
                   8995: main ()
                   8996: {
1.4       paf      8997: #define TEST_NAME "oracle-configure-test-var"
                   8998: #define TEST_VALUE "oracle-configure-test-value"
                   8999: int result=setenv(TEST_NAME, TEST_VALUE, 1/*overwrite*/);
                   9000: char *getenv_value=getenv(TEST_NAME);
                   9001: if(!getenv_value)
                   9002:        return 1;
                   9003: if(strcmp(getenv_value, TEST_VALUE)!=0)
                   9004:        return 2;
                   9005: unsetenv(TEST_NAME);
                   9006: 
1.11      paf      9007:   ;
                   9008:   return 0;
                   9009: }
                   9010: _ACEOF
1.17      paf      9011: rm -f conftest.$ac_objext conftest$ac_exeext
                   9012: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      9013:   (eval $ac_link) 2>conftest.er1
1.11      paf      9014:   ac_status=$?
1.18      paf      9015:   grep -v '^ *+' conftest.er1 >conftest.err
                   9016:   rm -f conftest.er1
                   9017:   cat conftest.err >&5
1.11      paf      9018:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9019:   (exit $ac_status); } &&
1.18      paf      9020:         { ac_try='test -z "$ac_c_werror_flag"
                   9021:                         || test ! -s conftest.err'
                   9022:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9023:   (eval $ac_try) 2>&5
                   9024:   ac_status=$?
                   9025:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9026:   (exit $ac_status); }; } &&
                   9027:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      9028:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9029:   (eval $ac_try) 2>&5
                   9030:   ac_status=$?
                   9031:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9032:   (exit $ac_status); }; }; then
                   9033: 
1.23      misha    9034:        echo "$as_me:$LINENO: result: yes" >&5
1.11      paf      9035: echo "${ECHO_T}yes" >&6
                   9036: 
                   9037: cat >>confdefs.h <<\_ACEOF
                   9038: #define HAVE_SETENV
                   9039: _ACEOF
1.4       paf      9040: 
                   9041: 
                   9042: else
1.11      paf      9043:   echo "$as_me: failed program was:" >&5
                   9044: sed 's/^/| /' conftest.$ac_ext >&5
                   9045: 
                   9046: echo "$as_me:$LINENO: result: no" >&5
                   9047: echo "${ECHO_T}no" >&6
                   9048: 
1.23      misha    9049:        echo "$as_me:$LINENO: checking for POSIX putenv/getenv" >&5
1.11      paf      9050: echo $ECHO_N "checking for POSIX putenv/getenv... $ECHO_C" >&6
1.23      misha    9051:        cat >conftest.$ac_ext <<_ACEOF
1.11      paf      9052: /* confdefs.h.  */
                   9053: _ACEOF
                   9054: cat confdefs.h >>conftest.$ac_ext
                   9055: cat >>conftest.$ac_ext <<_ACEOF
                   9056: /* end confdefs.h.  */
1.4       paf      9057: #ifdef HAVE_STDLIB_H
1.23      misha    9058:        #       include <stdlib.h>
                   9059:        #endif
                   9060:        #ifdef HAVE_STRING_H
                   9061:        #       include <string.h>
                   9062:        #endif
1.1       parser   9063: 
1.11      paf      9064: int
                   9065: main ()
                   9066: {
                   9067: #define TEST_NAME "oracle-configure-test-var"
1.23      misha    9068:        #define TEST_VALUE "oracle-configure-test-value"
                   9069:        int result=putenv(TEST_NAME"="TEST_VALUE);
                   9070:        char *getenv_value=getenv(TEST_NAME);
                   9071:        if(!getenv_value)
                   9072:                return 1;
                   9073:        if(strcmp(getenv_value, TEST_NAME)!=0)
                   9074:                return 2;
1.1       parser   9075: 
1.11      paf      9076:   ;
                   9077:   return 0;
                   9078: }
                   9079: _ACEOF
1.17      paf      9080: rm -f conftest.$ac_objext conftest$ac_exeext
                   9081: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      9082:   (eval $ac_link) 2>conftest.er1
1.11      paf      9083:   ac_status=$?
1.18      paf      9084:   grep -v '^ *+' conftest.er1 >conftest.err
                   9085:   rm -f conftest.er1
                   9086:   cat conftest.err >&5
1.11      paf      9087:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9088:   (exit $ac_status); } &&
1.18      paf      9089:         { ac_try='test -z "$ac_c_werror_flag"
                   9090:                         || test ! -s conftest.err'
                   9091:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9092:   (eval $ac_try) 2>&5
                   9093:   ac_status=$?
                   9094:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9095:   (exit $ac_status); }; } &&
                   9096:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      9097:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9098:   (eval $ac_try) 2>&5
                   9099:   ac_status=$?
                   9100:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9101:   (exit $ac_status); }; }; then
                   9102: 
1.23      misha    9103:                echo "$as_me:$LINENO: result: yes" >&5
1.11      paf      9104: echo "${ECHO_T}yes" >&6
                   9105: 
                   9106: cat >>confdefs.h <<\_ACEOF
                   9107: #define HAVE_PUTENV
                   9108: _ACEOF
                   9109: 
                   9110: 
                   9111: else
                   9112:   echo "$as_me: failed program was:" >&5
                   9113: sed 's/^/| /' conftest.$ac_ext >&5
                   9114: 
                   9115: echo "$as_me:$LINENO: result: no" >&5
                   9116: echo "${ECHO_T}no" >&6
1.23      misha    9117:                { { echo "$as_me:$LINENO: error: \"there must be some function to modify environment\"" >&5
1.11      paf      9118: echo "$as_me: error: \"there must be some function to modify environment\"" >&2;}
                   9119:    { (exit 1); exit 1; }; }
                   9120: 
                   9121: fi
1.18      paf      9122: rm -f conftest.err conftest.$ac_objext \
                   9123:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      9124: 
                   9125: fi
1.18      paf      9126: rm -f conftest.err conftest.$ac_objext \
                   9127:       conftest$ac_exeext conftest.$ac_ext
1.11      paf      9128: 
                   9129: 
                   9130: echo "$as_me:$LINENO: checking for size_t" >&5
                   9131: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   9132: if test "${ac_cv_type_size_t+set}" = set; then
                   9133:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9134: else
                   9135:   cat >conftest.$ac_ext <<_ACEOF
                   9136: /* confdefs.h.  */
                   9137: _ACEOF
                   9138: cat confdefs.h >>conftest.$ac_ext
                   9139: cat >>conftest.$ac_ext <<_ACEOF
                   9140: /* end confdefs.h.  */
                   9141: $ac_includes_default
                   9142: int
                   9143: main ()
                   9144: {
                   9145: if ((size_t *) 0)
                   9146:   return 0;
                   9147: if (sizeof (size_t))
                   9148:   return 0;
                   9149:   ;
                   9150:   return 0;
                   9151: }
                   9152: _ACEOF
                   9153: rm -f conftest.$ac_objext
                   9154: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      9155:   (eval $ac_compile) 2>conftest.er1
1.11      paf      9156:   ac_status=$?
1.18      paf      9157:   grep -v '^ *+' conftest.er1 >conftest.err
                   9158:   rm -f conftest.er1
                   9159:   cat conftest.err >&5
1.11      paf      9160:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9161:   (exit $ac_status); } &&
1.18      paf      9162:         { ac_try='test -z "$ac_c_werror_flag"
                   9163:                         || test ! -s conftest.err'
                   9164:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9165:   (eval $ac_try) 2>&5
                   9166:   ac_status=$?
                   9167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9168:   (exit $ac_status); }; } &&
                   9169:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      9170:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9171:   (eval $ac_try) 2>&5
                   9172:   ac_status=$?
                   9173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9174:   (exit $ac_status); }; }; then
1.1       parser   9175:   ac_cv_type_size_t=yes
                   9176: else
1.11      paf      9177:   echo "$as_me: failed program was:" >&5
                   9178: sed 's/^/| /' conftest.$ac_ext >&5
                   9179: 
                   9180: ac_cv_type_size_t=no
                   9181: fi
1.18      paf      9182: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   9183: fi
1.11      paf      9184: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   9185: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   9186: if test $ac_cv_type_size_t = yes; then
                   9187:   :
                   9188: else
1.1       parser   9189: 
1.11      paf      9190: cat >>confdefs.h <<_ACEOF
1.1       parser   9191: #define size_t unsigned
1.11      paf      9192: _ACEOF
1.1       parser   9193: 
                   9194: fi
                   9195: 
                   9196: 
                   9197: 
                   9198: 
1.11      paf      9199:           ac_config_files="$ac_config_files Makefile"
                   9200: cat >confcache <<\_ACEOF
1.1       parser   9201: # This file is a shell script that caches the results of configure
                   9202: # tests run on this system so they can be shared between configure
1.11      paf      9203: # scripts and configure runs, see configure's option --config-cache.
                   9204: # It is not useful on other systems.  If it contains results you don't
                   9205: # want to keep, you may remove or edit it.
1.1       parser   9206: #
1.11      paf      9207: # config.status only pays attention to the cache file if you give it
                   9208: # the --recheck option to rerun configure.
1.1       parser   9209: #
1.11      paf      9210: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   9211: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   9212: # following values.
                   9213: 
                   9214: _ACEOF
                   9215: 
1.1       parser   9216: # The following way of writing the cache mishandles newlines in values,
                   9217: # but we know of no workaround that is simple, portable, and efficient.
                   9218: # So, don't put newlines in cache variables' values.
                   9219: # Ultrix sh set writes to stderr and can't be redirected directly,
                   9220: # and sets the high bit in the cache file unless we assign to the vars.
1.11      paf      9221: {
                   9222:   (set) 2>&1 |
                   9223:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   9224:     *ac_space=\ *)
                   9225:       # `set' does not quote correctly, so add quotes (double-quote
                   9226:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   9227:       sed -n \
1.18      paf      9228:        "s/'/'\\\\''/g;
                   9229:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.11      paf      9230:       ;;
                   9231:     *)
                   9232:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   9233:       sed -n \
1.18      paf      9234:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.11      paf      9235:       ;;
                   9236:     esac;
                   9237: } |
                   9238:   sed '
                   9239:      t clear
                   9240:      : clear
                   9241:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   9242:      t end
                   9243:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   9244:      : end' >>confcache
                   9245: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       parser   9246:   if test -w $cache_file; then
1.11      paf      9247:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   9248:     cat confcache >$cache_file
1.1       parser   9249:   else
                   9250:     echo "not updating unwritable cache $cache_file"
                   9251:   fi
                   9252: fi
                   9253: rm -f confcache
                   9254: 
                   9255: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   9256: # Let make expand exec_prefix.
                   9257: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   9258: 
1.11      paf      9259: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   9260: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   9261: # trailing colons and then remove the whole line if VPATH becomes empty
                   9262: # (actually we leave an empty line to preserve line numbers).
1.1       parser   9263: if test "x$srcdir" = x.; then
1.18      paf      9264:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.11      paf      9265: s/:*\$(srcdir):*/:/;
                   9266: s/:*\${srcdir}:*/:/;
                   9267: s/:*@srcdir@:*/:/;
1.18      paf      9268: s/^\([^=]*=[    ]*\):*/\1/;
1.11      paf      9269: s/:*$//;
1.18      paf      9270: s/^[^=]*=[      ]*$//;
1.11      paf      9271: }'
1.1       parser   9272: fi
                   9273: 
1.11      paf      9274: DEFS=-DHAVE_CONFIG_H
                   9275: 
                   9276: ac_libobjs=
                   9277: ac_ltlibobjs=
                   9278: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   9279:   # 1. Remove the extension, and $U if already installed.
                   9280:   ac_i=`echo "$ac_i" |
1.18      paf      9281:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.11      paf      9282:   # 2. Add them.
                   9283:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   9284:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   9285: done
                   9286: LIBOBJS=$ac_libobjs
                   9287: 
                   9288: LTLIBOBJS=$ac_ltlibobjs
                   9289: 
1.1       parser   9290: 
1.11      paf      9291: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   9292:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   9293: Usually this means the macro was only invoked conditionally." >&5
                   9294: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   9295: Usually this means the macro was only invoked conditionally." >&2;}
                   9296:    { (exit 1); exit 1; }; }
                   9297: fi
                   9298: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   9299:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   9300: Usually this means the macro was only invoked conditionally." >&5
                   9301: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   9302: Usually this means the macro was only invoked conditionally." >&2;}
                   9303:    { (exit 1); exit 1; }; }
                   9304: fi
                   9305: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   9306:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   9307: Usually this means the macro was only invoked conditionally." >&5
                   9308: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   9309: Usually this means the macro was only invoked conditionally." >&2;}
                   9310:    { (exit 1); exit 1; }; }
                   9311: fi
1.1       parser   9312: 
                   9313: : ${CONFIG_STATUS=./config.status}
1.11      paf      9314: ac_clean_files_save=$ac_clean_files
                   9315: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   9316: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   9317: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   9318: cat >$CONFIG_STATUS <<_ACEOF
                   9319: #! $SHELL
                   9320: # Generated by $as_me.
                   9321: # Run this file to recreate the current configuration.
                   9322: # Compiler output produced by configure, useful for debugging
                   9323: # configure, is in config.log if it exists.
                   9324: 
                   9325: debug=false
                   9326: ac_cs_recheck=false
                   9327: ac_cs_silent=false
                   9328: SHELL=\${CONFIG_SHELL-$SHELL}
                   9329: _ACEOF
                   9330: 
                   9331: cat >>$CONFIG_STATUS <<\_ACEOF
                   9332: ## --------------------- ##
                   9333: ## M4sh Initialization.  ##
                   9334: ## --------------------- ##
                   9335: 
                   9336: # Be Bourne compatible
                   9337: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   9338:   emulate sh
                   9339:   NULLCMD=:
                   9340:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   9341:   # is contrary to our usage.  Disable this feature.
                   9342:   alias -g '${1+"$@"}'='"$@"'
                   9343: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   9344:   set -o posix
                   9345: fi
1.18      paf      9346: DUALCASE=1; export DUALCASE # for MKS sh
1.11      paf      9347: 
                   9348: # Support unset when possible.
1.18      paf      9349: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.11      paf      9350:   as_unset=unset
                   9351: else
                   9352:   as_unset=false
                   9353: fi
                   9354: 
                   9355: 
                   9356: # Work around bugs in pre-3.0 UWIN ksh.
                   9357: $as_unset ENV MAIL MAILPATH
                   9358: PS1='$ '
                   9359: PS2='> '
                   9360: PS4='+ '
                   9361: 
                   9362: # NLS nuisances.
                   9363: for as_var in \
                   9364:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   9365:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   9366:   LC_TELEPHONE LC_TIME
                   9367: do
1.18      paf      9368:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.11      paf      9369:     eval $as_var=C; export $as_var
                   9370:   else
                   9371:     $as_unset $as_var
                   9372:   fi
                   9373: done
                   9374: 
                   9375: # Required to use basename.
                   9376: if expr a : '\(a\)' >/dev/null 2>&1; then
                   9377:   as_expr=expr
                   9378: else
                   9379:   as_expr=false
                   9380: fi
                   9381: 
                   9382: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   9383:   as_basename=basename
                   9384: else
                   9385:   as_basename=false
                   9386: fi
                   9387: 
                   9388: 
                   9389: # Name of the executable.
                   9390: as_me=`$as_basename "$0" ||
                   9391: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   9392:         X"$0" : 'X\(//\)$' \| \
                   9393:         X"$0" : 'X\(/\)$' \| \
                   9394:         .     : '\(.\)' 2>/dev/null ||
                   9395: echo X/"$0" |
                   9396:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   9397:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   9398:          /^X\/\(\/\).*/{ s//\1/; q; }
                   9399:          s/.*/./; q'`
                   9400: 
                   9401: 
                   9402: # PATH needs CR, and LINENO needs CR and PATH.
                   9403: # Avoid depending upon Character Ranges.
                   9404: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   9405: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   9406: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   9407: as_cr_digits='0123456789'
                   9408: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   9409: 
                   9410: # The user is always right.
                   9411: if test "${PATH_SEPARATOR+set}" != set; then
                   9412:   echo "#! /bin/sh" >conf$$.sh
                   9413:   echo  "exit 0"   >>conf$$.sh
                   9414:   chmod +x conf$$.sh
                   9415:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   9416:     PATH_SEPARATOR=';'
                   9417:   else
                   9418:     PATH_SEPARATOR=:
                   9419:   fi
                   9420:   rm -f conf$$.sh
                   9421: fi
                   9422: 
                   9423: 
                   9424:   as_lineno_1=$LINENO
                   9425:   as_lineno_2=$LINENO
                   9426:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   9427:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   9428:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   9429:   # Find who we are.  Look in the path if we contain no path at all
                   9430:   # relative or not.
                   9431:   case $0 in
                   9432:     *[\\/]* ) as_myself=$0 ;;
                   9433:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9434: for as_dir in $PATH
                   9435: do
                   9436:   IFS=$as_save_IFS
                   9437:   test -z "$as_dir" && as_dir=.
                   9438:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   9439: done
                   9440: 
                   9441:        ;;
                   9442:   esac
                   9443:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   9444:   # in which case we are not to be found in the path.
                   9445:   if test "x$as_myself" = x; then
                   9446:     as_myself=$0
                   9447:   fi
                   9448:   if test ! -f "$as_myself"; then
                   9449:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   9450: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   9451:    { (exit 1); exit 1; }; }
                   9452:   fi
                   9453:   case $CONFIG_SHELL in
                   9454:   '')
                   9455:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9456: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   9457: do
                   9458:   IFS=$as_save_IFS
                   9459:   test -z "$as_dir" && as_dir=.
                   9460:   for as_base in sh bash ksh sh5; do
                   9461:         case $as_dir in
                   9462:         /*)
                   9463:           if ("$as_dir/$as_base" -c '
                   9464:   as_lineno_1=$LINENO
                   9465:   as_lineno_2=$LINENO
                   9466:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   9467:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   9468:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   9469:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   9470:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   9471:             CONFIG_SHELL=$as_dir/$as_base
                   9472:             export CONFIG_SHELL
                   9473:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   9474:           fi;;
                   9475:         esac
                   9476:        done
                   9477: done
                   9478: ;;
                   9479:   esac
                   9480: 
                   9481:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   9482:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   9483:   # line-number line before each line; the second 'sed' does the real
                   9484:   # work.  The second script uses 'N' to pair each line-number line
                   9485:   # with the numbered line, and appends trailing '-' during
                   9486:   # substitution so that $LINENO is not a special case at line end.
                   9487:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   9488:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   9489:   sed '=' <$as_myself |
                   9490:     sed '
                   9491:       N
                   9492:       s,$,-,
                   9493:       : loop
                   9494:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   9495:       t loop
                   9496:       s,-$,,
                   9497:       s,^['$as_cr_digits']*\n,,
                   9498:     ' >$as_me.lineno &&
                   9499:   chmod +x $as_me.lineno ||
                   9500:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   9501: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   9502:    { (exit 1); exit 1; }; }
                   9503: 
                   9504:   # Don't try to exec as it changes $[0], causing all sort of problems
                   9505:   # (the dirname of $[0] is not the place where we might find the
                   9506:   # original and so on.  Autoconf is especially sensible to this).
                   9507:   . ./$as_me.lineno
                   9508:   # Exit status is that of the last command.
                   9509:   exit
                   9510: }
                   9511: 
                   9512: 
                   9513: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   9514:   *c*,-n*) ECHO_N= ECHO_C='
                   9515: ' ECHO_T='     ' ;;
                   9516:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   9517:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   9518: esac
                   9519: 
                   9520: if expr a : '\(a\)' >/dev/null 2>&1; then
                   9521:   as_expr=expr
                   9522: else
                   9523:   as_expr=false
                   9524: fi
                   9525: 
                   9526: rm -f conf$$ conf$$.exe conf$$.file
                   9527: echo >conf$$.file
                   9528: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   9529:   # We could just check for DJGPP; but this test a) works b) is more generic
                   9530:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   9531:   if test -f conf$$.exe; then
                   9532:     # Don't use ln at all; we don't have any links
                   9533:     as_ln_s='cp -p'
                   9534:   else
                   9535:     as_ln_s='ln -s'
                   9536:   fi
                   9537: elif ln conf$$.file conf$$ 2>/dev/null; then
                   9538:   as_ln_s=ln
                   9539: else
                   9540:   as_ln_s='cp -p'
                   9541: fi
                   9542: rm -f conf$$ conf$$.exe conf$$.file
                   9543: 
                   9544: if mkdir -p . 2>/dev/null; then
                   9545:   as_mkdir_p=:
                   9546: else
1.18      paf      9547:   test -d ./-p && rmdir ./-p
1.11      paf      9548:   as_mkdir_p=false
                   9549: fi
                   9550: 
                   9551: as_executable_p="test -f"
                   9552: 
                   9553: # Sed expression to map a string onto a valid CPP name.
1.18      paf      9554: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.11      paf      9555: 
                   9556: # Sed expression to map a string onto a valid variable name.
1.18      paf      9557: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.11      paf      9558: 
                   9559: 
                   9560: # IFS
                   9561: # We need space, tab and new line, in precisely that order.
                   9562: as_nl='
                   9563: '
                   9564: IFS="  $as_nl"
                   9565: 
                   9566: # CDPATH.
                   9567: $as_unset CDPATH
                   9568: 
                   9569: exec 6>&1
                   9570: 
                   9571: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   9572: # report actual input values of CONFIG_FILES etc. instead of their
                   9573: # values after options handling.  Logging --version etc. is OK.
                   9574: exec 5>>config.log
                   9575: {
                   9576:   echo
                   9577:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   9578: ## Running $as_me. ##
                   9579: _ASBOX
                   9580: } >&5
                   9581: cat >&5 <<_CSEOF
                   9582: 
                   9583: This file was extended by $as_me, which was
1.18      paf      9584: generated by GNU Autoconf 2.59.  Invocation command line was
1.11      paf      9585: 
                   9586:   CONFIG_FILES    = $CONFIG_FILES
                   9587:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   9588:   CONFIG_LINKS    = $CONFIG_LINKS
                   9589:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   9590:   $ $0 $@
                   9591: 
                   9592: _CSEOF
                   9593: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   9594: echo >&5
                   9595: _ACEOF
                   9596: 
                   9597: # Files that config.status was made for.
                   9598: if test -n "$ac_config_files"; then
                   9599:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   9600: fi
                   9601: 
                   9602: if test -n "$ac_config_headers"; then
                   9603:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   9604: fi
                   9605: 
                   9606: if test -n "$ac_config_links"; then
                   9607:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   9608: fi
                   9609: 
                   9610: if test -n "$ac_config_commands"; then
                   9611:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   9612: fi
                   9613: 
                   9614: cat >>$CONFIG_STATUS <<\_ACEOF
                   9615: 
                   9616: ac_cs_usage="\
                   9617: \`$as_me' instantiates files from templates according to the
                   9618: current configuration.
                   9619: 
                   9620: Usage: $0 [OPTIONS] [FILE]...
                   9621: 
                   9622:   -h, --help       print this help, then exit
                   9623:   -V, --version    print version number, then exit
                   9624:   -q, --quiet      do not print progress messages
                   9625:   -d, --debug      don't remove temporary files
                   9626:       --recheck    update $as_me by reconfiguring in the same conditions
                   9627:   --file=FILE[:TEMPLATE]
1.18      paf      9628:                   instantiate the configuration file FILE
1.11      paf      9629:   --header=FILE[:TEMPLATE]
1.18      paf      9630:                   instantiate the configuration header FILE
1.11      paf      9631: 
                   9632: Configuration files:
                   9633: $config_files
                   9634: 
                   9635: Configuration headers:
                   9636: $config_headers
                   9637: 
                   9638: Configuration commands:
                   9639: $config_commands
                   9640: 
                   9641: Report bugs to <bug-autoconf@gnu.org>."
                   9642: _ACEOF
                   9643: 
                   9644: cat >>$CONFIG_STATUS <<_ACEOF
                   9645: ac_cs_version="\\
                   9646: config.status
1.18      paf      9647: configured by $0, generated by GNU Autoconf 2.59,
1.11      paf      9648:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   9649: 
1.18      paf      9650: Copyright (C) 2003 Free Software Foundation, Inc.
1.11      paf      9651: This config.status script is free software; the Free Software Foundation
                   9652: gives unlimited permission to copy, distribute and modify it."
                   9653: srcdir=$srcdir
                   9654: INSTALL="$INSTALL"
                   9655: _ACEOF
                   9656: 
                   9657: cat >>$CONFIG_STATUS <<\_ACEOF
                   9658: # If no file are specified by the user, then we need to provide default
                   9659: # value.  By we need to know if files were specified by the user.
                   9660: ac_need_defaults=:
                   9661: while test $# != 0
                   9662: do
                   9663:   case $1 in
                   9664:   --*=*)
                   9665:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   9666:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   9667:     ac_shift=:
                   9668:     ;;
                   9669:   -*)
                   9670:     ac_option=$1
                   9671:     ac_optarg=$2
                   9672:     ac_shift=shift
                   9673:     ;;
                   9674:   *) # This is not an option, so the user has probably given explicit
                   9675:      # arguments.
                   9676:      ac_option=$1
                   9677:      ac_need_defaults=false;;
                   9678:   esac
                   9679: 
                   9680:   case $ac_option in
                   9681:   # Handling of the options.
                   9682: _ACEOF
                   9683: cat >>$CONFIG_STATUS <<\_ACEOF
                   9684:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9685:     ac_cs_recheck=: ;;
                   9686:   --version | --vers* | -V )
                   9687:     echo "$ac_cs_version"; exit 0 ;;
                   9688:   --he | --h)
                   9689:     # Conflict between --help and --header
                   9690:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   9691: Try \`$0 --help' for more information." >&5
                   9692: echo "$as_me: error: ambiguous option: $1
                   9693: Try \`$0 --help' for more information." >&2;}
                   9694:    { (exit 1); exit 1; }; };;
                   9695:   --help | --hel | -h )
                   9696:     echo "$ac_cs_usage"; exit 0 ;;
                   9697:   --debug | --d* | -d )
                   9698:     debug=: ;;
                   9699:   --file | --fil | --fi | --f )
                   9700:     $ac_shift
                   9701:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   9702:     ac_need_defaults=false;;
                   9703:   --header | --heade | --head | --hea )
                   9704:     $ac_shift
                   9705:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   9706:     ac_need_defaults=false;;
                   9707:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9708:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9709:     ac_cs_silent=: ;;
                   9710: 
                   9711:   # This is an error.
                   9712:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   9713: Try \`$0 --help' for more information." >&5
                   9714: echo "$as_me: error: unrecognized option: $1
                   9715: Try \`$0 --help' for more information." >&2;}
                   9716:    { (exit 1); exit 1; }; } ;;
                   9717: 
                   9718:   *) ac_config_targets="$ac_config_targets $1" ;;
1.1       parser   9719: 
1.11      paf      9720:   esac
                   9721:   shift
                   9722: done
                   9723: 
                   9724: ac_configure_extra_args=
                   9725: 
                   9726: if $ac_cs_silent; then
                   9727:   exec 6>/dev/null
                   9728:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9729: fi
                   9730: 
                   9731: _ACEOF
                   9732: cat >>$CONFIG_STATUS <<_ACEOF
                   9733: if \$ac_cs_recheck; then
                   9734:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   9735:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   9736: fi
                   9737: 
                   9738: _ACEOF
                   9739: 
                   9740: cat >>$CONFIG_STATUS <<_ACEOF
1.1       parser   9741: #
1.11      paf      9742: # INIT-COMMANDS section.
1.1       parser   9743: #
                   9744: 
1.11      paf      9745: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   9746: 
                   9747: _ACEOF
                   9748: 
                   9749: 
                   9750: 
                   9751: cat >>$CONFIG_STATUS <<\_ACEOF
                   9752: for ac_config_target in $ac_config_targets
1.1       parser   9753: do
1.11      paf      9754:   case "$ac_config_target" in
                   9755:   # Handling of arguments.
                   9756:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   9757:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   9758:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   9759:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   9760: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   9761:    { (exit 1); exit 1; }; };;
1.1       parser   9762:   esac
                   9763: done
                   9764: 
1.11      paf      9765: # If the user did not use the arguments to specify the items to instantiate,
                   9766: # then the envvar interface is used.  Set only those that are not.
                   9767: # We use the long form for the default assignment because of an extremely
                   9768: # bizarre bug on SunOS 4.1.3.
                   9769: if $ac_need_defaults; then
                   9770:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   9771:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   9772:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   9773: fi
                   9774: 
                   9775: # Have a temporary directory for convenience.  Make it in the build tree
                   9776: # simply because there is no reason to put it here, and in addition,
                   9777: # creating and moving files from /tmp can sometimes cause problems.
                   9778: # Create a temporary directory, and hook for its removal unless debugging.
                   9779: $debug ||
                   9780: {
                   9781:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   9782:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   9783: }
                   9784: 
                   9785: # Create a (secure) tmp directory for tmp files.
                   9786: 
                   9787: {
                   9788:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   9789:   test -n "$tmp" && test -d "$tmp"
                   9790: }  ||
                   9791: {
                   9792:   tmp=./confstat$$-$RANDOM
                   9793:   (umask 077 && mkdir $tmp)
                   9794: } ||
                   9795: {
                   9796:    echo "$me: cannot create a temporary directory in ." >&2
                   9797:    { (exit 1); exit 1; }
                   9798: }
                   9799: 
                   9800: _ACEOF
1.1       parser   9801: 
1.11      paf      9802: cat >>$CONFIG_STATUS <<_ACEOF
1.1       parser   9803: 
1.11      paf      9804: #
                   9805: # CONFIG_FILES section.
                   9806: #
1.1       parser   9807: 
1.11      paf      9808: # No need to generate the scripts if there are no CONFIG_FILES.
                   9809: # This happens for instance when ./config.status config.h
                   9810: if test -n "\$CONFIG_FILES"; then
                   9811:   # Protect against being on the right side of a sed subst in config.status.
                   9812:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   9813:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   9814: s,@SHELL@,$SHELL,;t t
                   9815: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   9816: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   9817: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   9818: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   9819: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   9820: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   9821: s,@exec_prefix@,$exec_prefix,;t t
                   9822: s,@prefix@,$prefix,;t t
                   9823: s,@program_transform_name@,$program_transform_name,;t t
                   9824: s,@bindir@,$bindir,;t t
                   9825: s,@sbindir@,$sbindir,;t t
                   9826: s,@libexecdir@,$libexecdir,;t t
                   9827: s,@datadir@,$datadir,;t t
                   9828: s,@sysconfdir@,$sysconfdir,;t t
                   9829: s,@sharedstatedir@,$sharedstatedir,;t t
                   9830: s,@localstatedir@,$localstatedir,;t t
                   9831: s,@libdir@,$libdir,;t t
                   9832: s,@includedir@,$includedir,;t t
                   9833: s,@oldincludedir@,$oldincludedir,;t t
                   9834: s,@infodir@,$infodir,;t t
                   9835: s,@mandir@,$mandir,;t t
                   9836: s,@build_alias@,$build_alias,;t t
                   9837: s,@host_alias@,$host_alias,;t t
                   9838: s,@target_alias@,$target_alias,;t t
                   9839: s,@DEFS@,$DEFS,;t t
                   9840: s,@ECHO_C@,$ECHO_C,;t t
                   9841: s,@ECHO_N@,$ECHO_N,;t t
                   9842: s,@ECHO_T@,$ECHO_T,;t t
                   9843: s,@LIBS@,$LIBS,;t t
                   9844: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   9845: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   9846: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   9847: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   9848: s,@PACKAGE@,$PACKAGE,;t t
                   9849: s,@VERSION@,$VERSION,;t t
                   9850: s,@ACLOCAL@,$ACLOCAL,;t t
                   9851: s,@AUTOCONF@,$AUTOCONF,;t t
                   9852: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   9853: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   9854: s,@MAKEINFO@,$MAKEINFO,;t t
                   9855: s,@install_sh@,$install_sh,;t t
                   9856: s,@STRIP@,$STRIP,;t t
                   9857: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   9858: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.18      paf      9859: s,@mkdir_p@,$mkdir_p,;t t
1.11      paf      9860: s,@AWK@,$AWK,;t t
                   9861: s,@SET_MAKE@,$SET_MAKE,;t t
1.18      paf      9862: s,@am__leading_dot@,$am__leading_dot,;t t
                   9863: s,@AMTAR@,$AMTAR,;t t
                   9864: s,@am__tar@,$am__tar,;t t
                   9865: s,@am__untar@,$am__untar,;t t
1.11      paf      9866: s,@ORACLE_OCI_INC@,$ORACLE_OCI_INC,;t t
                   9867: s,@ORACLE_PUBLIC_INC@,$ORACLE_PUBLIC_INC,;t t
1.23      misha    9868: s,@LDFLAGS@,$LDFLAGS,;t t
1.11      paf      9869: s,@CXX@,$CXX,;t t
                   9870: s,@CXXFLAGS@,$CXXFLAGS,;t t
                   9871: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   9872: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   9873: s,@EXEEXT@,$EXEEXT,;t t
                   9874: s,@OBJEXT@,$OBJEXT,;t t
                   9875: s,@DEPDIR@,$DEPDIR,;t t
                   9876: s,@am__include@,$am__include,;t t
                   9877: s,@am__quote@,$am__quote,;t t
                   9878: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   9879: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   9880: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   9881: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   9882: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   9883: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
1.15      paf      9884: s,@CC@,$CC,;t t
                   9885: s,@CFLAGS@,$CFLAGS,;t t
                   9886: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   9887: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   9888: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   9889: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
1.11      paf      9890: s,@INCLTDL@,$INCLTDL,;t t
                   9891: s,@LIBLTDL@,$LIBLTDL,;t t
                   9892: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   9893: s,@build@,$build,;t t
                   9894: s,@build_cpu@,$build_cpu,;t t
                   9895: s,@build_vendor@,$build_vendor,;t t
                   9896: s,@build_os@,$build_os,;t t
                   9897: s,@host@,$host,;t t
                   9898: s,@host_cpu@,$host_cpu,;t t
                   9899: s,@host_vendor@,$host_vendor,;t t
                   9900: s,@host_os@,$host_os,;t t
                   9901: s,@LN_S@,$LN_S,;t t
                   9902: s,@ECHO@,$ECHO,;t t
                   9903: s,@RANLIB@,$RANLIB,;t t
                   9904: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
1.15      paf      9905: s,@CPP@,$CPP,;t t
1.11      paf      9906: s,@EGREP@,$EGREP,;t t
                   9907: s,@LIBTOOL@,$LIBTOOL,;t t
                   9908: s,@subdirs@,$subdirs,;t t
                   9909: s,@LIBOBJS@,$LIBOBJS,;t t
                   9910: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       parser   9911: CEOF
                   9912: 
1.11      paf      9913: _ACEOF
1.1       parser   9914: 
1.11      paf      9915:   cat >>$CONFIG_STATUS <<\_ACEOF
                   9916:   # Split the substitutions into bite-sized pieces for seds with
                   9917:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   9918:   ac_max_sed_lines=48
                   9919:   ac_sed_frag=1 # Number of current file.
                   9920:   ac_beg=1 # First line for current file.
                   9921:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   9922:   ac_more_lines=:
                   9923:   ac_sed_cmds=
                   9924:   while $ac_more_lines; do
                   9925:     if test $ac_beg -gt 1; then
                   9926:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   9927:     else
                   9928:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   9929:     fi
                   9930:     if test ! -s $tmp/subs.frag; then
                   9931:       ac_more_lines=false
                   9932:     else
                   9933:       # The purpose of the label and of the branching condition is to
                   9934:       # speed up the sed processing (if there are no `@' at all, there
                   9935:       # is no need to browse any of the substitutions).
                   9936:       # These are the two extra sed commands mentioned above.
                   9937:       (echo ':t
                   9938:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   9939:       if test -z "$ac_sed_cmds"; then
1.18      paf      9940:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.11      paf      9941:       else
1.18      paf      9942:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.11      paf      9943:       fi
                   9944:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   9945:       ac_beg=$ac_end
                   9946:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   9947:     fi
                   9948:   done
                   9949:   if test -z "$ac_sed_cmds"; then
                   9950:     ac_sed_cmds=cat
1.1       parser   9951:   fi
1.11      paf      9952: fi # test -n "$CONFIG_FILES"
1.1       parser   9953: 
1.11      paf      9954: _ACEOF
                   9955: cat >>$CONFIG_STATUS <<\_ACEOF
                   9956: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   9957:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   9958:   case $ac_file in
                   9959:   - | *:- | *:-:* ) # input from stdin
1.18      paf      9960:        cat >$tmp/stdin
                   9961:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   9962:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.11      paf      9963:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.18      paf      9964:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.11      paf      9965:   * )   ac_file_in=$ac_file.in ;;
                   9966:   esac
1.1       parser   9967: 
1.11      paf      9968:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   9969:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   9970: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      9971:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   9972:         X"$ac_file" : 'X\(//\)$' \| \
                   9973:         X"$ac_file" : 'X\(/\)' \| \
                   9974:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      9975: echo X"$ac_file" |
                   9976:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9977:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9978:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9979:          /^X\(\/\).*/{ s//\1/; q; }
                   9980:          s/.*/./; q'`
                   9981:   { if $as_mkdir_p; then
                   9982:     mkdir -p "$ac_dir"
                   9983:   else
                   9984:     as_dir="$ac_dir"
                   9985:     as_dirs=
                   9986:     while test ! -d "$as_dir"; do
                   9987:       as_dirs="$as_dir $as_dirs"
                   9988:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9989: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      9990:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   9991:         X"$as_dir" : 'X\(//\)$' \| \
                   9992:         X"$as_dir" : 'X\(/\)' \| \
                   9993:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      9994: echo X"$as_dir" |
                   9995:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9996:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9997:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9998:          /^X\(\/\).*/{ s//\1/; q; }
                   9999:          s/.*/./; q'`
                   10000:     done
                   10001:     test ! -n "$as_dirs" || mkdir $as_dirs
                   10002:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   10003: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   10004:    { (exit 1); exit 1; }; }; }
                   10005: 
                   10006:   ac_builddir=.
                   10007: 
                   10008: if test "$ac_dir" != .; then
                   10009:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   10010:   # A "../" for each directory in $ac_dir_suffix.
                   10011:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   10012: else
                   10013:   ac_dir_suffix= ac_top_builddir=
                   10014: fi
                   10015: 
                   10016: case $srcdir in
                   10017:   .)  # No --srcdir option.  We are building in place.
                   10018:     ac_srcdir=.
                   10019:     if test -z "$ac_top_builddir"; then
                   10020:        ac_top_srcdir=.
                   10021:     else
                   10022:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   10023:     fi ;;
                   10024:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   10025:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10026:     ac_top_srcdir=$srcdir ;;
1.1       parser   10027:   *) # Relative path.
1.11      paf      10028:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   10029:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   10030: esac
1.18      paf      10031: 
                   10032: # Do not use `cd foo && pwd` to compute absolute paths, because
                   10033: # the directories may not exist.
                   10034: case `pwd` in
                   10035: .) ac_abs_builddir="$ac_dir";;
                   10036: *)
                   10037:   case "$ac_dir" in
                   10038:   .) ac_abs_builddir=`pwd`;;
                   10039:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   10040:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   10041:   esac;;
                   10042: esac
                   10043: case $ac_abs_builddir in
                   10044: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   10045: *)
                   10046:   case ${ac_top_builddir}. in
                   10047:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   10048:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   10049:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   10050:   esac;;
                   10051: esac
                   10052: case $ac_abs_builddir in
                   10053: .) ac_abs_srcdir=$ac_srcdir;;
                   10054: *)
                   10055:   case $ac_srcdir in
                   10056:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   10057:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   10058:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   10059:   esac;;
                   10060: esac
                   10061: case $ac_abs_builddir in
                   10062: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   10063: *)
                   10064:   case $ac_top_srcdir in
                   10065:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   10066:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   10067:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   10068:   esac;;
                   10069: esac
1.11      paf      10070: 
                   10071: 
                   10072:   case $INSTALL in
                   10073:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   10074:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       parser   10075:   esac
                   10076: 
1.11      paf      10077:   if test x"$ac_file" != x-; then
                   10078:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   10079: echo "$as_me: creating $ac_file" >&6;}
                   10080:     rm -f "$ac_file"
                   10081:   fi
                   10082:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   10083:   # use $as_me), people would be surprised to read:
                   10084:   #    /* config.h.  Generated by config.status.  */
                   10085:   if test x"$ac_file" = x-; then
                   10086:     configure_input=
                   10087:   else
                   10088:     configure_input="$ac_file.  "
                   10089:   fi
                   10090:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.18      paf      10091:                                     sed 's,.*/,,'` by configure."
1.11      paf      10092: 
                   10093:   # First look for the input files in the build tree, otherwise in the
                   10094:   # src tree.
                   10095:   ac_file_inputs=`IFS=:
                   10096:     for f in $ac_file_in; do
                   10097:       case $f in
                   10098:       -) echo $tmp/stdin ;;
                   10099:       [\\/$]*)
1.18      paf      10100:         # Absolute (can't be DOS-style, as IFS=:)
                   10101:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.11      paf      10102: echo "$as_me: error: cannot find input file: $f" >&2;}
                   10103:    { (exit 1); exit 1; }; }
1.18      paf      10104:         echo "$f";;
1.11      paf      10105:       *) # Relative
1.18      paf      10106:         if test -f "$f"; then
                   10107:           # Build tree
                   10108:           echo "$f"
                   10109:         elif test -f "$srcdir/$f"; then
                   10110:           # Source tree
                   10111:           echo "$srcdir/$f"
                   10112:         else
                   10113:           # /dev/null tree
                   10114:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.11      paf      10115: echo "$as_me: error: cannot find input file: $f" >&2;}
                   10116:    { (exit 1); exit 1; }; }
1.18      paf      10117:         fi;;
1.11      paf      10118:       esac
                   10119:     done` || { (exit 1); exit 1; }
                   10120: _ACEOF
                   10121: cat >>$CONFIG_STATUS <<_ACEOF
                   10122:   sed "$ac_vpsub
                   10123: $extrasub
                   10124: _ACEOF
                   10125: cat >>$CONFIG_STATUS <<\_ACEOF
                   10126: :t
                   10127: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   10128: s,@configure_input@,$configure_input,;t t
                   10129: s,@srcdir@,$ac_srcdir,;t t
                   10130: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   10131: s,@top_srcdir@,$ac_top_srcdir,;t t
                   10132: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   10133: s,@builddir@,$ac_builddir,;t t
                   10134: s,@abs_builddir@,$ac_abs_builddir,;t t
                   10135: s,@top_builddir@,$ac_top_builddir,;t t
                   10136: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   10137: s,@INSTALL@,$ac_INSTALL,;t t
                   10138: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   10139:   rm -f $tmp/stdin
                   10140:   if test x"$ac_file" != x-; then
                   10141:     mv $tmp/out $ac_file
                   10142:   else
                   10143:     cat $tmp/out
                   10144:     rm -f $tmp/out
                   10145:   fi
                   10146: 
                   10147: done
                   10148: _ACEOF
                   10149: cat >>$CONFIG_STATUS <<\_ACEOF
                   10150: 
                   10151: #
                   10152: # CONFIG_HEADER section.
                   10153: #
1.1       parser   10154: 
                   10155: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   10156: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   10157: #
                   10158: # ac_d sets the value in "#define NAME VALUE" lines.
1.18      paf      10159: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   10160: ac_dB='[        ].*$,\1#\2'
1.11      paf      10161: ac_dC=' '
                   10162: ac_dD=',;t'
                   10163: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.18      paf      10164: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.11      paf      10165: ac_uB='$,\1#\2define\3'
1.1       parser   10166: ac_uC=' '
1.11      paf      10167: ac_uD=',;t'
1.1       parser   10168: 
1.11      paf      10169: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       parser   10170:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.11      paf      10171:   case $ac_file in
                   10172:   - | *:- | *:-:* ) # input from stdin
1.18      paf      10173:        cat >$tmp/stdin
                   10174:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   10175:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.11      paf      10176:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.18      paf      10177:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.11      paf      10178:   * )   ac_file_in=$ac_file.in ;;
1.1       parser   10179:   esac
                   10180: 
1.11      paf      10181:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   10182: echo "$as_me: creating $ac_file" >&6;}
1.1       parser   10183: 
1.11      paf      10184:   # First look for the input files in the build tree, otherwise in the
                   10185:   # src tree.
                   10186:   ac_file_inputs=`IFS=:
                   10187:     for f in $ac_file_in; do
                   10188:       case $f in
                   10189:       -) echo $tmp/stdin ;;
                   10190:       [\\/$]*)
1.18      paf      10191:         # Absolute (can't be DOS-style, as IFS=:)
                   10192:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.11      paf      10193: echo "$as_me: error: cannot find input file: $f" >&2;}
                   10194:    { (exit 1); exit 1; }; }
1.18      paf      10195:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   10196:         echo "$f";;
1.11      paf      10197:       *) # Relative
1.18      paf      10198:         if test -f "$f"; then
                   10199:           # Build tree
                   10200:           echo "$f"
                   10201:         elif test -f "$srcdir/$f"; then
                   10202:           # Source tree
                   10203:           echo "$srcdir/$f"
                   10204:         else
                   10205:           # /dev/null tree
                   10206:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.11      paf      10207: echo "$as_me: error: cannot find input file: $f" >&2;}
                   10208:    { (exit 1); exit 1; }; }
1.18      paf      10209:         fi;;
1.11      paf      10210:       esac
                   10211:     done` || { (exit 1); exit 1; }
                   10212:   # Remove the trailing spaces.
1.18      paf      10213:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.11      paf      10214: 
                   10215: _ACEOF
                   10216: 
                   10217: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   10218: # `conftest.undefs', that substitutes the proper values into
                   10219: # config.h.in to produce config.h.  The first handles `#define'
                   10220: # templates, and the second `#undef' templates.
                   10221: # And first: Protect against being on the right side of a sed subst in
                   10222: # config.status.  Protect against being in an unquoted here document
                   10223: # in config.status.
                   10224: rm -f conftest.defines conftest.undefs
                   10225: # Using a here document instead of a string reduces the quoting nightmare.
                   10226: # Putting comments in sed scripts is not portable.
                   10227: #
                   10228: # `end' is used to avoid that the second main sed command (meant for
                   10229: # 0-ary CPP macros) applies to n-ary macro definitions.
                   10230: # See the Autoconf documentation for `clear'.
                   10231: cat >confdef2sed.sed <<\_ACEOF
                   10232: s/[\\&,]/\\&/g
                   10233: s,[\\$`],\\&,g
                   10234: t clear
                   10235: : clear
1.18      paf      10236: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.11      paf      10237: t end
1.18      paf      10238: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.11      paf      10239: : end
                   10240: _ACEOF
                   10241: # If some macros were called several times there might be several times
                   10242: # the same #defines, which is useless.  Nevertheless, we may not want to
                   10243: # sort them, since we want the *last* AC-DEFINE to be honored.
                   10244: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   10245: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   10246: rm -f confdef2sed.sed
1.1       parser   10247: 
                   10248: # This sed command replaces #undef with comments.  This is necessary, for
                   10249: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   10250: # on some systems where configure will not decide to define it.
1.11      paf      10251: cat >>conftest.undefs <<\_ACEOF
1.18      paf      10252: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.11      paf      10253: _ACEOF
                   10254: 
                   10255: # Break up conftest.defines because some shells have a limit on the size
                   10256: # of here documents, and old seds have small limits too (100 cmds).
                   10257: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.18      paf      10258: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.11      paf      10259: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   10260: echo '  :' >>$CONFIG_STATUS
                   10261: rm -f conftest.tail
                   10262: while grep . conftest.defines >/dev/null
                   10263: do
                   10264:   # Write a limited-size here document to $tmp/defines.sed.
                   10265:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   10266:   # Speed up: don't consider the non `#define' lines.
1.18      paf      10267:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.11      paf      10268:   # Work around the forget-to-reset-the-flag bug.
                   10269:   echo 't clr' >>$CONFIG_STATUS
                   10270:   echo ': clr' >>$CONFIG_STATUS
                   10271:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   10272:   echo 'CEOF
                   10273:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   10274:   rm -f $tmp/in
                   10275:   mv $tmp/out $tmp/in
                   10276: ' >>$CONFIG_STATUS
                   10277:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   10278:   rm -f conftest.defines
                   10279:   mv conftest.tail conftest.defines
                   10280: done
                   10281: rm -f conftest.defines
                   10282: echo '  fi # grep' >>$CONFIG_STATUS
                   10283: echo >>$CONFIG_STATUS
                   10284: 
                   10285: # Break up conftest.undefs because some shells have a limit on the size
                   10286: # of here documents, and old seds have small limits too (100 cmds).
                   10287: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       parser   10288: rm -f conftest.tail
1.11      paf      10289: while grep . conftest.undefs >/dev/null
1.1       parser   10290: do
1.11      paf      10291:   # Write a limited-size here document to $tmp/undefs.sed.
                   10292:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   10293:   # Speed up: don't consider the non `#undef'
1.18      paf      10294:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.11      paf      10295:   # Work around the forget-to-reset-the-flag bug.
                   10296:   echo 't clr' >>$CONFIG_STATUS
                   10297:   echo ': clr' >>$CONFIG_STATUS
                   10298:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       parser   10299:   echo 'CEOF
1.11      paf      10300:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   10301:   rm -f $tmp/in
                   10302:   mv $tmp/out $tmp/in
                   10303: ' >>$CONFIG_STATUS
                   10304:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   10305:   rm -f conftest.undefs
                   10306:   mv conftest.tail conftest.undefs
                   10307: done
                   10308: rm -f conftest.undefs
                   10309: 
                   10310: cat >>$CONFIG_STATUS <<\_ACEOF
                   10311:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   10312:   # use $as_me), people would be surprised to read:
                   10313:   #    /* config.h.  Generated by config.status.  */
                   10314:   if test x"$ac_file" = x-; then
                   10315:     echo "/* Generated by configure.  */" >$tmp/config.h
                   10316:   else
                   10317:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   10318:   fi
                   10319:   cat $tmp/in >>$tmp/config.h
                   10320:   rm -f $tmp/in
                   10321:   if test x"$ac_file" != x-; then
                   10322:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   10323:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   10324: echo "$as_me: $ac_file is unchanged" >&6;}
                   10325:     else
                   10326:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   10327: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10328:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   10329:         X"$ac_file" : 'X\(//\)$' \| \
                   10330:         X"$ac_file" : 'X\(/\)' \| \
                   10331:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10332: echo X"$ac_file" |
                   10333:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10334:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10335:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10336:          /^X\(\/\).*/{ s//\1/; q; }
                   10337:          s/.*/./; q'`
                   10338:       { if $as_mkdir_p; then
                   10339:     mkdir -p "$ac_dir"
                   10340:   else
                   10341:     as_dir="$ac_dir"
                   10342:     as_dirs=
                   10343:     while test ! -d "$as_dir"; do
                   10344:       as_dirs="$as_dir $as_dirs"
                   10345:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   10346: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10347:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   10348:         X"$as_dir" : 'X\(//\)$' \| \
                   10349:         X"$as_dir" : 'X\(/\)' \| \
                   10350:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10351: echo X"$as_dir" |
                   10352:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10353:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10354:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10355:          /^X\(\/\).*/{ s//\1/; q; }
                   10356:          s/.*/./; q'`
                   10357:     done
                   10358:     test ! -n "$as_dirs" || mkdir $as_dirs
                   10359:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   10360: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   10361:    { (exit 1); exit 1; }; }; }
                   10362: 
                   10363:       rm -f $ac_file
                   10364:       mv $tmp/config.h $ac_file
1.1       parser   10365:     fi
1.11      paf      10366:   else
                   10367:     cat $tmp/config.h
                   10368:     rm -f $tmp/config.h
1.1       parser   10369:   fi
1.18      paf      10370: # Compute $ac_file's index in $config_headers.
                   10371: _am_stamp_count=1
                   10372: for _am_header in $config_headers :; do
                   10373:   case $_am_header in
                   10374:     $ac_file | $ac_file:* )
                   10375:       break ;;
                   10376:     * )
                   10377:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   10378:   esac
                   10379: done
1.11      paf      10380: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   10381: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10382:         X$ac_file : 'X\(//\)[^/]' \| \
                   10383:         X$ac_file : 'X\(//\)$' \| \
                   10384:         X$ac_file : 'X\(/\)' \| \
                   10385:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10386: echo X$ac_file |
                   10387:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10388:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10389:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10390:          /^X\(\/\).*/{ s//\1/; q; }
                   10391:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   10392: done
                   10393: _ACEOF
                   10394: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   10395: 
1.11      paf      10396: #
                   10397: # CONFIG_COMMANDS section.
                   10398: #
                   10399: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   10400:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   10401:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   10402:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   10403: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10404:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   10405:         X"$ac_dest" : 'X\(//\)$' \| \
                   10406:         X"$ac_dest" : 'X\(/\)' \| \
                   10407:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10408: echo X"$ac_dest" |
                   10409:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10410:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10411:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10412:          /^X\(\/\).*/{ s//\1/; q; }
                   10413:          s/.*/./; q'`
1.18      paf      10414:   { if $as_mkdir_p; then
                   10415:     mkdir -p "$ac_dir"
                   10416:   else
                   10417:     as_dir="$ac_dir"
                   10418:     as_dirs=
                   10419:     while test ! -d "$as_dir"; do
                   10420:       as_dirs="$as_dir $as_dirs"
                   10421:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   10422: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10423:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   10424:         X"$as_dir" : 'X\(//\)$' \| \
                   10425:         X"$as_dir" : 'X\(/\)' \| \
                   10426:         .     : '\(.\)' 2>/dev/null ||
                   10427: echo X"$as_dir" |
                   10428:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10429:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10430:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10431:          /^X\(\/\).*/{ s//\1/; q; }
                   10432:          s/.*/./; q'`
                   10433:     done
                   10434:     test ! -n "$as_dirs" || mkdir $as_dirs
                   10435:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   10436: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   10437:    { (exit 1); exit 1; }; }; }
                   10438: 
1.11      paf      10439:   ac_builddir=.
                   10440: 
                   10441: if test "$ac_dir" != .; then
                   10442:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   10443:   # A "../" for each directory in $ac_dir_suffix.
                   10444:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   10445: else
                   10446:   ac_dir_suffix= ac_top_builddir=
                   10447: fi
                   10448: 
                   10449: case $srcdir in
                   10450:   .)  # No --srcdir option.  We are building in place.
                   10451:     ac_srcdir=.
                   10452:     if test -z "$ac_top_builddir"; then
                   10453:        ac_top_srcdir=.
                   10454:     else
                   10455:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   10456:     fi ;;
                   10457:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   10458:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10459:     ac_top_srcdir=$srcdir ;;
                   10460:   *) # Relative path.
                   10461:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   10462:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   10463: esac
1.18      paf      10464: 
                   10465: # Do not use `cd foo && pwd` to compute absolute paths, because
                   10466: # the directories may not exist.
                   10467: case `pwd` in
                   10468: .) ac_abs_builddir="$ac_dir";;
                   10469: *)
                   10470:   case "$ac_dir" in
                   10471:   .) ac_abs_builddir=`pwd`;;
                   10472:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   10473:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   10474:   esac;;
                   10475: esac
                   10476: case $ac_abs_builddir in
                   10477: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   10478: *)
                   10479:   case ${ac_top_builddir}. in
                   10480:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   10481:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   10482:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   10483:   esac;;
                   10484: esac
                   10485: case $ac_abs_builddir in
                   10486: .) ac_abs_srcdir=$ac_srcdir;;
                   10487: *)
                   10488:   case $ac_srcdir in
                   10489:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   10490:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   10491:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   10492:   esac;;
                   10493: esac
                   10494: case $ac_abs_builddir in
                   10495: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   10496: *)
                   10497:   case $ac_top_srcdir in
                   10498:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   10499:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   10500:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   10501:   esac;;
                   10502: esac
1.11      paf      10503: 
                   10504: 
                   10505:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   10506: echo "$as_me: executing $ac_dest commands" >&6;}
                   10507:   case $ac_dest in
                   10508:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   10509:   # Strip MF so we end up with the name of the file.
                   10510:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   10511:   # Check whether this is an Automake generated Makefile or not.
                   10512:   # We used to match only the files named `Makefile.in', but
                   10513:   # some people rename them; so instead we look at the file content.
                   10514:   # Grep'ing the first line is not enough: some people post-process
                   10515:   # each Makefile.in and add a new line on top of each file to say so.
                   10516:   # So let's grep whole file.
                   10517:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   10518:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   10519: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10520:         X"$mf" : 'X\(//\)[^/]' \| \
                   10521:         X"$mf" : 'X\(//\)$' \| \
                   10522:         X"$mf" : 'X\(/\)' \| \
                   10523:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10524: echo X"$mf" |
                   10525:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10526:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10527:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10528:          /^X\(\/\).*/{ s//\1/; q; }
                   10529:          s/.*/./; q'`
                   10530:   else
                   10531:     continue
                   10532:   fi
1.18      paf      10533:   # Extract the definition of DEPDIR, am__include, and am__quote
                   10534:   # from the Makefile without running `make'.
                   10535:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.11      paf      10536:   test -z "$DEPDIR" && continue
1.18      paf      10537:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   10538:   test -z "am__include" && continue
                   10539:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.11      paf      10540:   # When using ansi2knr, U may be empty or an underscore; expand it
1.18      paf      10541:   U=`sed -n 's/^U = //p' < "$mf"`
                   10542:   # Find all dependency output files, they are included files with
                   10543:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   10544:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   10545:   # expansion.
                   10546:   for file in `sed -n "
                   10547:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.11      paf      10548:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   10549:     # Make sure the directory exists.
                   10550:     test -f "$dirpart/$file" && continue
                   10551:     fdir=`(dirname "$file") 2>/dev/null ||
                   10552: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10553:         X"$file" : 'X\(//\)[^/]' \| \
                   10554:         X"$file" : 'X\(//\)$' \| \
                   10555:         X"$file" : 'X\(/\)' \| \
                   10556:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10557: echo X"$file" |
                   10558:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10559:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10560:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10561:          /^X\(\/\).*/{ s//\1/; q; }
                   10562:          s/.*/./; q'`
                   10563:     { if $as_mkdir_p; then
                   10564:     mkdir -p $dirpart/$fdir
                   10565:   else
                   10566:     as_dir=$dirpart/$fdir
                   10567:     as_dirs=
                   10568:     while test ! -d "$as_dir"; do
                   10569:       as_dirs="$as_dir $as_dirs"
                   10570:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   10571: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10572:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   10573:         X"$as_dir" : 'X\(//\)$' \| \
                   10574:         X"$as_dir" : 'X\(/\)' \| \
                   10575:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10576: echo X"$as_dir" |
                   10577:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10578:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10579:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10580:          /^X\(\/\).*/{ s//\1/; q; }
                   10581:          s/.*/./; q'`
                   10582:     done
                   10583:     test ! -n "$as_dirs" || mkdir $as_dirs
                   10584:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   10585: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   10586:    { (exit 1); exit 1; }; }; }
1.1       parser   10587: 
1.11      paf      10588:     # echo "creating $dirpart/$file"
                   10589:     echo '# dummy' > "$dirpart/$file"
                   10590:   done
                   10591: done
                   10592:  ;;
                   10593:   esac
                   10594: done
                   10595: _ACEOF
1.1       parser   10596: 
1.11      paf      10597: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   10598: 
1.11      paf      10599: { (exit 0); exit 0; }
                   10600: _ACEOF
1.1       parser   10601: chmod +x $CONFIG_STATUS
1.11      paf      10602: ac_clean_files=$ac_clean_files_save
                   10603: 
                   10604: 
                   10605: # configure is writing to config.log, and then calls config.status.
                   10606: # config.status does its own redirection, appending to config.log.
                   10607: # Unfortunately, on DOS this fails, as config.log is still kept open
                   10608: # by configure, so config.status won't be able to write to it; its
                   10609: # output is simply discarded.  So we exec the FD to /dev/null,
                   10610: # effectively closing config.log, so it can be properly (re)opened and
                   10611: # appended to by config.status.  When coming back to configure, we
                   10612: # need to make the FD available again.
                   10613: if test "$no_create" != yes; then
                   10614:   ac_cs_success=:
                   10615:   ac_config_status_args=
                   10616:   test "$silent" = yes &&
                   10617:     ac_config_status_args="$ac_config_status_args --quiet"
                   10618:   exec 5>/dev/null
                   10619:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   10620:   exec 5>>config.log
                   10621:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   10622:   # would make configure fail if this is the last instruction.
                   10623:   $ac_cs_success || { (exit 1); exit 1; }
                   10624: fi
1.1       parser   10625: 
1.11      paf      10626: #
                   10627: # CONFIG_SUBDIRS section.
                   10628: #
1.1       parser   10629: if test "$no_recursion" != yes; then
                   10630: 
                   10631:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   10632:   ac_sub_configure_args=
                   10633:   ac_prev=
                   10634:   for ac_arg in $ac_configure_args; do
                   10635:     if test -n "$ac_prev"; then
                   10636:       ac_prev=
                   10637:       continue
                   10638:     fi
1.11      paf      10639:     case $ac_arg in
1.1       parser   10640:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   10641:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   10642:       ac_prev=cache_file ;;
                   10643:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.11      paf      10644:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   10645:     | --c=*)
                   10646:       ;;
                   10647:     --config-cache | -C)
1.1       parser   10648:       ;;
                   10649:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   10650:       ac_prev=srcdir ;;
                   10651:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   10652:       ;;
1.11      paf      10653:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   10654:       ac_prev=prefix ;;
                   10655:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   10656:       ;;
1.1       parser   10657:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   10658:     esac
                   10659:   done
                   10660: 
1.11      paf      10661:   # Always prepend --prefix to ensure using the same prefix
                   10662:   # in subdir configurations.
                   10663:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   10664: 
                   10665:   ac_popdir=`pwd`
                   10666:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   10667: 
                   10668:     # Do not complain, so a configure script can configure whichever
                   10669:     # parts of a large source tree are present.
1.11      paf      10670:     test -d $srcdir/$ac_dir || continue
1.1       parser   10671: 
1.11      paf      10672:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   10673: echo "$as_me: configuring in $ac_dir" >&6;}
                   10674:     { if $as_mkdir_p; then
                   10675:     mkdir -p "$ac_dir"
                   10676:   else
                   10677:     as_dir="$ac_dir"
                   10678:     as_dirs=
                   10679:     while test ! -d "$as_dir"; do
                   10680:       as_dirs="$as_dir $as_dirs"
                   10681:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   10682: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      10683:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   10684:         X"$as_dir" : 'X\(//\)$' \| \
                   10685:         X"$as_dir" : 'X\(/\)' \| \
                   10686:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      10687: echo X"$as_dir" |
                   10688:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   10689:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   10690:          /^X\(\/\/\)$/{ s//\1/; q; }
                   10691:          /^X\(\/\).*/{ s//\1/; q; }
                   10692:          s/.*/./; q'`
                   10693:     done
                   10694:     test ! -n "$as_dirs" || mkdir $as_dirs
                   10695:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   10696: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   10697:    { (exit 1); exit 1; }; }; }
                   10698: 
                   10699:     ac_builddir=.
                   10700: 
                   10701: if test "$ac_dir" != .; then
                   10702:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   10703:   # A "../" for each directory in $ac_dir_suffix.
                   10704:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   10705: else
                   10706:   ac_dir_suffix= ac_top_builddir=
                   10707: fi
                   10708: 
                   10709: case $srcdir in
                   10710:   .)  # No --srcdir option.  We are building in place.
                   10711:     ac_srcdir=.
                   10712:     if test -z "$ac_top_builddir"; then
                   10713:        ac_top_srcdir=.
                   10714:     else
                   10715:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   10716:     fi ;;
                   10717:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   10718:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10719:     ac_top_srcdir=$srcdir ;;
                   10720:   *) # Relative path.
                   10721:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   10722:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   10723: esac
1.18      paf      10724: 
                   10725: # Do not use `cd foo && pwd` to compute absolute paths, because
                   10726: # the directories may not exist.
                   10727: case `pwd` in
                   10728: .) ac_abs_builddir="$ac_dir";;
                   10729: *)
                   10730:   case "$ac_dir" in
                   10731:   .) ac_abs_builddir=`pwd`;;
                   10732:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   10733:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   10734:   esac;;
                   10735: esac
                   10736: case $ac_abs_builddir in
                   10737: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   10738: *)
                   10739:   case ${ac_top_builddir}. in
                   10740:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   10741:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   10742:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   10743:   esac;;
                   10744: esac
                   10745: case $ac_abs_builddir in
                   10746: .) ac_abs_srcdir=$ac_srcdir;;
                   10747: *)
                   10748:   case $ac_srcdir in
                   10749:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   10750:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   10751:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   10752:   esac;;
                   10753: esac
                   10754: case $ac_abs_builddir in
                   10755: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   10756: *)
                   10757:   case $ac_top_srcdir in
                   10758:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   10759:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   10760:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   10761:   esac;;
                   10762: esac
1.1       parser   10763: 
                   10764: 
1.11      paf      10765:     cd $ac_dir
1.1       parser   10766: 
                   10767:     # Check for guested configure; otherwise get Cygnus style configure.
1.11      paf      10768:     if test -f $ac_srcdir/configure.gnu; then
                   10769:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   10770:     elif test -f $ac_srcdir/configure; then
                   10771:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   10772:     elif test -f $ac_srcdir/configure.in; then
1.1       parser   10773:       ac_sub_configure=$ac_configure
                   10774:     else
1.11      paf      10775:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   10776: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   10777:       ac_sub_configure=
                   10778:     fi
                   10779: 
                   10780:     # The recursion is here.
                   10781:     if test -n "$ac_sub_configure"; then
                   10782:       # Make the cache file name correct relative to the subdirectory.
1.11      paf      10783:       case $cache_file in
                   10784:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       parser   10785:       *) # Relative path.
1.18      paf      10786:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       parser   10787:       esac
                   10788: 
1.11      paf      10789:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   10790: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       parser   10791:       # The eval makes quoting arguments work.
1.11      paf      10792:       eval $ac_sub_configure $ac_sub_configure_args \
1.18      paf      10793:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   10794:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.11      paf      10795: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   10796:    { (exit 1); exit 1; }; }
1.1       parser   10797:     fi
                   10798: 
                   10799:     cd $ac_popdir
                   10800:   done
                   10801: fi
                   10802: 

E-mail: