[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Annotation of OpenXM/src/ox_toolkit/configure, Revision 1.12

1.1       ohara       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.12    ! noro        3: # Generated by GNU Autoconf 2.67.
1.10      ohara       4: #
1.1       ohara       5: #
1.9       ohara       6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.10      ohara       7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                      8: # Foundation, Inc.
                      9: #
                     10: #
1.1       ohara      11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.10      ohara      13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.4       takayama   16:
1.9       ohara      17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
1.10      ohara      19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.4       takayama   20:   emulate sh
                     21:   NULLCMD=:
1.10      ohara      22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.9       ohara      23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
1.10      ohara      27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.9       ohara      32: esac
1.4       takayama   33: fi
                     34:
                     35:
1.10      ohara      36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
1.4       takayama   73:
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
1.10      ohara      76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
1.4       takayama   81: fi
                     82:
                     83:
1.9       ohara      84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90:
                     91: # Find who we are.  Look in the path if we contain no directory separator.
1.10      ohara      92: case $0 in #((
1.9       ohara      93:   *[\\/]* ) as_myself=$0 ;;
                     94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4       takayama   95: for as_dir in $PATH
                     96: do
                     97:   IFS=$as_save_IFS
                     98:   test -z "$as_dir" && as_dir=.
1.10      ohara      99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    100:   done
1.9       ohara     101: IFS=$as_save_IFS
                    102:
                    103:      ;;
                    104: esac
                    105: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    106: # in which case we are not to be found in the path.
                    107: if test "x$as_myself" = x; then
                    108:   as_myself=$0
                    109: fi
                    110: if test ! -f "$as_myself"; then
1.10      ohara     111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    112:   exit 1
1.9       ohara     113: fi
                    114:
1.10      ohara     115: # Unset variables that we do not need and which cause bugs (e.g. in
                    116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    117: # suppresses any "Segmentation fault" message there.  '((' could
                    118: # trigger a bug in pdksh 5.2.14.
                    119: for as_var in BASH_ENV ENV MAIL MAILPATH
                    120: do eval test x\${$as_var+set} = xset \
                    121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.9       ohara     122: done
                    123: PS1='$ '
                    124: PS2='> '
                    125: PS4='+ '
1.4       takayama  126:
1.9       ohara     127: # NLS nuisances.
1.10      ohara     128: LC_ALL=C
                    129: export LC_ALL
                    130: LANGUAGE=C
                    131: export LANGUAGE
                    132:
                    133: # CDPATH.
                    134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    135:
                    136: if test "x$CONFIG_SHELL" = x; then
                    137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    138:   emulate sh
                    139:   NULLCMD=:
                    140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    141:   # is contrary to our usage.  Disable this feature.
                    142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    143:   setopt NO_GLOB_SUBST
                    144: else
                    145:   case \`(set -o) 2>/dev/null\` in #(
                    146:   *posix*) :
                    147:     set -o posix ;; #(
                    148:   *) :
                    149:      ;;
                    150: esac
                    151: fi
                    152: "
                    153:   as_required="as_fn_return () { (exit \$1); }
                    154: as_fn_success () { as_fn_return 0; }
                    155: as_fn_failure () { as_fn_return 1; }
                    156: as_fn_ret_success () { return 0; }
                    157: as_fn_ret_failure () { return 1; }
                    158:
                    159: exitcode=0
                    160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    165:
                    166: else
                    167:   exitcode=1; echo positional parameters were not saved.
                    168: fi
                    169: test x\$exitcode = x0 || exit 1"
                    170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    174:
                    175:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    176:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    177:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    178:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    179:     PATH=/empty FPATH=/empty; export PATH FPATH
                    180:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    181:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    182: test \$(( 1 + 1 )) = 2 || exit 1"
                    183:   if (eval "$as_required") 2>/dev/null; then :
                    184:   as_have_required=yes
                    185: else
                    186:   as_have_required=no
                    187: fi
                    188:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    189:
                    190: else
                    191:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    192: as_found=false
                    193: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.9       ohara     194: do
1.10      ohara     195:   IFS=$as_save_IFS
                    196:   test -z "$as_dir" && as_dir=.
                    197:   as_found=:
                    198:   case $as_dir in #(
                    199:         /*)
                    200:           for as_base in sh bash ksh sh5; do
                    201:             # Try only shells that exist, to save several forks.
                    202:             as_shell=$as_dir/$as_base
                    203:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    204:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    205:   CONFIG_SHELL=$as_shell as_have_required=yes
                    206:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    207:   break 2
                    208: fi
                    209: fi
                    210:           done;;
                    211:        esac
                    212:   as_found=false
                    213: done
                    214: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    215:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    216:   CONFIG_SHELL=$SHELL as_have_required=yes
                    217: fi; }
                    218: IFS=$as_save_IFS
                    219:
                    220:
                    221:       if test "x$CONFIG_SHELL" != x; then :
                    222:   # We cannot yet assume a decent shell, so we have to provide a
                    223:        # neutralization value for shells without unset; and this also
                    224:        # works around shells that cannot unset nonexistent variables.
                    225:        BASH_ENV=/dev/null
                    226:        ENV=/dev/null
                    227:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    228:        export CONFIG_SHELL
1.12    ! noro      229:        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1.10      ohara     230: fi
                    231:
                    232:     if test x$as_have_required = xno; then :
                    233:   $as_echo "$0: This script requires a shell more modern than all"
                    234:   $as_echo "$0: the shells that I found on your system."
                    235:   if test x${ZSH_VERSION+set} = xset ; then
                    236:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    237:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    238:   else
                    239:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    240: $0: including any error possibly output before this
                    241: $0: message. Then install a modern shell, or manually run
                    242: $0: the script under such a shell if you do have one."
1.4       takayama  243:   fi
1.10      ohara     244:   exit 1
                    245: fi
                    246: fi
                    247: fi
                    248: SHELL=${CONFIG_SHELL-/bin/sh}
                    249: export SHELL
                    250: # Unset more variables known to interfere with behavior of common tools.
                    251: CLICOLOR_FORCE= GREP_OPTIONS=
                    252: unset CLICOLOR_FORCE GREP_OPTIONS
                    253:
                    254: ## --------------------- ##
                    255: ## M4sh Shell Functions. ##
                    256: ## --------------------- ##
                    257: # as_fn_unset VAR
                    258: # ---------------
                    259: # Portably unset VAR.
                    260: as_fn_unset ()
                    261: {
                    262:   { eval $1=; unset $1;}
                    263: }
                    264: as_unset=as_fn_unset
                    265:
                    266: # as_fn_set_status STATUS
                    267: # -----------------------
                    268: # Set $? to STATUS, without forking.
                    269: as_fn_set_status ()
                    270: {
                    271:   return $1
                    272: } # as_fn_set_status
                    273:
                    274: # as_fn_exit STATUS
                    275: # -----------------
                    276: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    277: as_fn_exit ()
                    278: {
                    279:   set +e
                    280:   as_fn_set_status $1
                    281:   exit $1
                    282: } # as_fn_exit
                    283:
                    284: # as_fn_mkdir_p
                    285: # -------------
                    286: # Create "$as_dir" as a directory, including parents if necessary.
                    287: as_fn_mkdir_p ()
                    288: {
                    289:
                    290:   case $as_dir in #(
                    291:   -*) as_dir=./$as_dir;;
                    292:   esac
                    293:   test -d "$as_dir" || eval $as_mkdir_p || {
                    294:     as_dirs=
                    295:     while :; do
                    296:       case $as_dir in #(
                    297:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    298:       *) as_qdir=$as_dir;;
                    299:       esac
                    300:       as_dirs="'$as_qdir' $as_dirs"
                    301:       as_dir=`$as_dirname -- "$as_dir" ||
                    302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    303:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    304:         X"$as_dir" : 'X\(//\)$' \| \
                    305:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    306: $as_echo X"$as_dir" |
                    307:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    308:            s//\1/
                    309:            q
                    310:          }
                    311:          /^X\(\/\/\)[^/].*/{
                    312:            s//\1/
                    313:            q
                    314:          }
                    315:          /^X\(\/\/\)$/{
                    316:            s//\1/
                    317:            q
                    318:          }
                    319:          /^X\(\/\).*/{
                    320:            s//\1/
                    321:            q
                    322:          }
                    323:          s/.*/./; q'`
                    324:       test -d "$as_dir" && break
                    325:     done
                    326:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    327:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    328:
                    329:
                    330: } # as_fn_mkdir_p
                    331: # as_fn_append VAR VALUE
                    332: # ----------------------
                    333: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    334: # advantage of any shell optimizations that allow amortized linear growth over
                    335: # repeated appends, instead of the typical quadratic growth present in naive
                    336: # implementations.
                    337: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    338:   eval 'as_fn_append ()
                    339:   {
                    340:     eval $1+=\$2
                    341:   }'
                    342: else
                    343:   as_fn_append ()
                    344:   {
                    345:     eval $1=\$$1\$2
                    346:   }
                    347: fi # as_fn_append
                    348:
                    349: # as_fn_arith ARG...
                    350: # ------------------
                    351: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    352: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    353: # must be portable across $(()) and expr.
                    354: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    355:   eval 'as_fn_arith ()
                    356:   {
                    357:     as_val=$(( $* ))
                    358:   }'
                    359: else
                    360:   as_fn_arith ()
                    361:   {
                    362:     as_val=`expr "$@" || test $? -eq 1`
                    363:   }
                    364: fi # as_fn_arith
                    365:
                    366:
                    367: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    368: # ----------------------------------------
                    369: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    370: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    371: # script with STATUS, using 1 if that was 0.
                    372: as_fn_error ()
                    373: {
                    374:   as_status=$1; test $as_status -eq 0 && as_status=1
                    375:   if test "$4"; then
                    376:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    377:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    378:   fi
                    379:   $as_echo "$as_me: error: $2" >&2
                    380:   as_fn_exit $as_status
                    381: } # as_fn_error
1.9       ohara     382:
                    383: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    384:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    385:   as_expr=expr
                    386: else
                    387:   as_expr=false
                    388: fi
                    389:
                    390: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    391:   as_basename=basename
                    392: else
                    393:   as_basename=false
                    394: fi
                    395:
1.10      ohara     396: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    397:   as_dirname=dirname
                    398: else
                    399:   as_dirname=false
                    400: fi
1.9       ohara     401:
                    402: as_me=`$as_basename -- "$0" ||
                    403: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    404:         X"$0" : 'X\(//\)$' \| \
                    405:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.10      ohara     406: $as_echo X/"$0" |
1.9       ohara     407:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    408:            s//\1/
                    409:            q
                    410:          }
                    411:          /^X\/\(\/\/\)$/{
                    412:            s//\1/
                    413:            q
                    414:          }
                    415:          /^X\/\(\/\).*/{
                    416:            s//\1/
                    417:            q
                    418:          }
                    419:          s/.*/./; q'`
                    420:
1.10      ohara     421: # Avoid depending upon Character Ranges.
                    422: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    423: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    424: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    425: as_cr_digits='0123456789'
                    426: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.9       ohara     427:
                    428:
1.10      ohara     429:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    430:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    431:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    432:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    433:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    434:   sed -n '
                    435:     p
                    436:     /[$]LINENO/=
                    437:   ' <$as_myself |
                    438:     sed '
                    439:       s/[$]LINENO.*/&-/
                    440:       t lineno
                    441:       b
                    442:       :lineno
                    443:       N
                    444:       :loop
                    445:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    446:       t loop
                    447:       s/-\n.*//
                    448:     ' >$as_me.lineno &&
                    449:   chmod +x "$as_me.lineno" ||
                    450:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.9       ohara     451:
1.10      ohara     452:   # Don't try to exec as it changes $[0], causing all sort of problems
                    453:   # (the dirname of $[0] is not the place where we might find the
                    454:   # original and so on.  Autoconf is especially sensitive to this).
                    455:   . "./$as_me.lineno"
                    456:   # Exit status is that of the last command.
                    457:   exit
1.9       ohara     458: }
                    459:
1.10      ohara     460: ECHO_C= ECHO_N= ECHO_T=
                    461: case `echo -n x` in #(((((
                    462: -n*)
                    463:   case `echo 'xy\c'` in
                    464:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    465:   xy)  ECHO_C='\c';;
                    466:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    467:        ECHO_T='        ';;
                    468:   esac;;
                    469: *)
                    470:   ECHO_N='-n';;
                    471: esac
                    472:
                    473: rm -f conf$$ conf$$.exe conf$$.file
                    474: if test -d conf$$.dir; then
                    475:   rm -f conf$$.dir/conf$$.file
1.9       ohara     476: else
1.10      ohara     477:   rm -f conf$$.dir
                    478:   mkdir conf$$.dir 2>/dev/null
1.9       ohara     479: fi
1.10      ohara     480: if (echo >conf$$.file) 2>/dev/null; then
                    481:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    482:     as_ln_s='ln -s'
                    483:     # ... but there are two gotchas:
                    484:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    485:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    486:     # In both cases, we have to default to `cp -p'.
                    487:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    488:       as_ln_s='cp -p'
                    489:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    490:     as_ln_s=ln
                    491:   else
                    492:     as_ln_s='cp -p'
                    493:   fi
                    494: else
                    495:   as_ln_s='cp -p'
1.9       ohara     496: fi
1.10      ohara     497: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    498: rmdir conf$$.dir 2>/dev/null
1.9       ohara     499:
1.10      ohara     500: if mkdir -p . 2>/dev/null; then
                    501:   as_mkdir_p='mkdir -p "$as_dir"'
1.9       ohara     502: else
1.10      ohara     503:   test -d ./-p && rmdir ./-p
                    504:   as_mkdir_p=false
1.9       ohara     505: fi
                    506:
1.10      ohara     507: if test -x / >/dev/null 2>&1; then
                    508:   as_test_x='test -x'
                    509: else
                    510:   if ls -dL / >/dev/null 2>&1; then
                    511:     as_ls_L_option=L
                    512:   else
                    513:     as_ls_L_option=
                    514:   fi
                    515:   as_test_x='
                    516:     eval sh -c '\''
                    517:       if test -d "$1"; then
                    518:        test -d "$1/.";
                    519:       else
                    520:        case $1 in #(
                    521:        -*)set "./$1";;
                    522:        esac;
                    523:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    524:        ???[sx]*):;;*)false;;esac;fi
                    525:     '\'' sh
                    526:   '
1.9       ohara     527: fi
1.10      ohara     528: as_executable_p=$as_test_x
1.9       ohara     529:
1.10      ohara     530: # Sed expression to map a string onto a valid CPP name.
                    531: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.9       ohara     532:
1.10      ohara     533: # Sed expression to map a string onto a valid variable name.
                    534: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.9       ohara     535:
1.10      ohara     536: SHELL=${CONFIG_SHELL-/bin/sh}
1.9       ohara     537:
                    538:
1.10      ohara     539: test -n "$DJDIR" || exec 7<&0 </dev/null
                    540: exec 6>&1
1.9       ohara     541:
1.10      ohara     542: # Name of the host.
                    543: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    544: # so uname gets run too.
                    545: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.9       ohara     546:
1.10      ohara     547: #
                    548: # Initializations.
                    549: #
                    550: ac_default_prefix=/usr/local
                    551: ac_clean_files=
                    552: ac_config_libobj_dir=.
                    553: LIBOBJS=
                    554: cross_compiling=no
                    555: subdirs=
                    556: MFLAGS=
                    557: MAKEFLAGS=
1.9       ohara     558:
1.10      ohara     559: # Identity of this package.
                    560: PACKAGE_NAME=
                    561: PACKAGE_TARNAME=
1.9       ohara     562: PACKAGE_VERSION=
                    563: PACKAGE_STRING=
                    564: PACKAGE_BUGREPORT=
1.10      ohara     565: PACKAGE_URL=
1.9       ohara     566:
1.10      ohara     567: ac_unique_file="mysocket.c"
                    568: # Factoring default headers for most tests.
                    569: ac_includes_default="\
                    570: #include <stdio.h>
                    571: #ifdef HAVE_SYS_TYPES_H
                    572: # include <sys/types.h>
                    573: #endif
                    574: #ifdef HAVE_SYS_STAT_H
                    575: # include <sys/stat.h>
                    576: #endif
                    577: #ifdef STDC_HEADERS
                    578: # include <stdlib.h>
                    579: # include <stddef.h>
                    580: #else
                    581: # ifdef HAVE_STDLIB_H
                    582: #  include <stdlib.h>
                    583: # endif
                    584: #endif
                    585: #ifdef HAVE_STRING_H
                    586: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    587: #  include <memory.h>
                    588: # endif
                    589: # include <string.h>
                    590: #endif
                    591: #ifdef HAVE_STRINGS_H
                    592: # include <strings.h>
                    593: #endif
                    594: #ifdef HAVE_INTTYPES_H
                    595: # include <inttypes.h>
                    596: #endif
                    597: #ifdef HAVE_STDINT_H
                    598: # include <stdint.h>
                    599: #endif
                    600: #ifdef HAVE_UNISTD_H
                    601: # include <unistd.h>
                    602: #endif"
1.7       ohara     603:
1.10      ohara     604: ac_subst_vars='am__EXEEXT_FALSE
                    605: am__EXEEXT_TRUE
                    606: LTLIBOBJS
                    607: LIBOBJS
                    608: X_EXTRA_LIBS
                    609: X_LIBS
                    610: X_PRE_LIBS
                    611: X_CFLAGS
                    612: XMKMF
                    613: CPP
                    614: OTOOL64
                    615: OTOOL
                    616: LIPO
                    617: NMEDIT
                    618: DSYMUTIL
                    619: MANIFEST_TOOL
                    620: RANLIB
                    621: ac_ct_AR
                    622: AR
                    623: DLLTOOL
                    624: OBJDUMP
                    625: LN_S
                    626: NM
                    627: ac_ct_DUMPBIN
                    628: DUMPBIN
                    629: LD
                    630: FGREP
                    631: EGREP
                    632: GREP
                    633: SED
                    634: LIBTOOL
                    635: am__fastdepCC_FALSE
                    636: am__fastdepCC_TRUE
                    637: CCDEPMODE
                    638: AMDEPBACKSLASH
                    639: AMDEP_FALSE
                    640: AMDEP_TRUE
                    641: am__quote
                    642: am__include
                    643: DEPDIR
                    644: OBJEXT
                    645: EXEEXT
                    646: ac_ct_CC
                    647: CPPFLAGS
                    648: LDFLAGS
                    649: CFLAGS
                    650: CC
                    651: target_os
                    652: target_vendor
                    653: target_cpu
                    654: target
                    655: host_os
                    656: host_vendor
                    657: host_cpu
                    658: host
                    659: build_os
                    660: build_vendor
                    661: build_cpu
                    662: build
                    663: MAINT
                    664: MAINTAINER_MODE_FALSE
                    665: MAINTAINER_MODE_TRUE
                    666: am__untar
                    667: am__tar
                    668: AMTAR
                    669: am__leading_dot
                    670: SET_MAKE
                    671: AWK
                    672: mkdir_p
                    673: MKDIR_P
                    674: INSTALL_STRIP_PROGRAM
                    675: STRIP
                    676: install_sh
                    677: MAKEINFO
                    678: AUTOHEADER
                    679: AUTOMAKE
                    680: AUTOCONF
                    681: ACLOCAL
                    682: VERSION
                    683: PACKAGE
                    684: CYGPATH_W
                    685: am__isrc
                    686: INSTALL_DATA
                    687: INSTALL_SCRIPT
                    688: INSTALL_PROGRAM
                    689: target_alias
                    690: host_alias
                    691: build_alias
                    692: LIBS
                    693: ECHO_T
                    694: ECHO_N
                    695: ECHO_C
                    696: DEFS
                    697: mandir
                    698: localedir
                    699: libdir
                    700: psdir
                    701: pdfdir
                    702: dvidir
                    703: htmldir
                    704: infodir
                    705: docdir
                    706: oldincludedir
                    707: includedir
                    708: localstatedir
                    709: sharedstatedir
                    710: sysconfdir
                    711: datadir
                    712: datarootdir
                    713: libexecdir
                    714: sbindir
                    715: bindir
                    716: program_transform_name
                    717: prefix
                    718: exec_prefix
                    719: PACKAGE_URL
                    720: PACKAGE_BUGREPORT
                    721: PACKAGE_STRING
                    722: PACKAGE_VERSION
                    723: PACKAGE_TARNAME
                    724: PACKAGE_NAME
                    725: PATH_SEPARATOR
                    726: SHELL'
                    727: ac_subst_files=''
                    728: ac_user_opts='
                    729: enable_option_checking
                    730: enable_maintainer_mode
                    731: enable_dependency_tracking
                    732: enable_shared
                    733: enable_static
                    734: with_pic
                    735: enable_fast_install
                    736: with_gnu_ld
                    737: with_sysroot
                    738: enable_libtool_lock
                    739: with_x
                    740: '
                    741:       ac_precious_vars='build_alias
                    742: host_alias
                    743: target_alias
                    744: CC
                    745: CFLAGS
                    746: LDFLAGS
                    747: LIBS
                    748: CPPFLAGS
                    749: CPP
                    750: XMKMF'
1.9       ohara     751:
                    752:
1.10      ohara     753: # Initialize some variables set by options.
                    754: ac_init_help=
                    755: ac_init_version=false
                    756: ac_unrecognized_opts=
                    757: ac_unrecognized_sep=
                    758: # The variables have the same names as the options, with
                    759: # dashes changed to underlines.
                    760: cache_file=/dev/null
                    761: exec_prefix=NONE
                    762: no_create=
                    763: no_recursion=
                    764: prefix=NONE
                    765: program_prefix=NONE
                    766: program_suffix=NONE
                    767: program_transform_name=s,x,x,
                    768: silent=
                    769: site=
                    770: srcdir=
                    771: verbose=
                    772: x_includes=NONE
                    773: x_libraries=NONE
1.9       ohara     774:
1.10      ohara     775: # Installation directory options.
                    776: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    777: # and all the variables that are supposed to be based on exec_prefix
                    778: # by default will actually change.
                    779: # Use braces instead of parens because sh, perl, etc. also accept them.
                    780: # (The list follows the same order as the GNU Coding Standards.)
                    781: bindir='${exec_prefix}/bin'
                    782: sbindir='${exec_prefix}/sbin'
                    783: libexecdir='${exec_prefix}/libexec'
                    784: datarootdir='${prefix}/share'
                    785: datadir='${datarootdir}'
                    786: sysconfdir='${prefix}/etc'
                    787: sharedstatedir='${prefix}/com'
                    788: localstatedir='${prefix}/var'
                    789: includedir='${prefix}/include'
                    790: oldincludedir='/usr/include'
                    791: docdir='${datarootdir}/doc/${PACKAGE}'
                    792: infodir='${datarootdir}/info'
                    793: htmldir='${docdir}'
                    794: dvidir='${docdir}'
                    795: pdfdir='${docdir}'
                    796: psdir='${docdir}'
                    797: libdir='${exec_prefix}/lib'
                    798: localedir='${datarootdir}/locale'
                    799: mandir='${datarootdir}/man'
1.9       ohara     800:
1.10      ohara     801: ac_prev=
                    802: ac_dashdash=
                    803: for ac_option
1.9       ohara     804: do
1.10      ohara     805:   # If the previous option needs an argument, assign it.
                    806:   if test -n "$ac_prev"; then
                    807:     eval $ac_prev=\$ac_option
                    808:     ac_prev=
                    809:     continue
                    810:   fi
1.9       ohara     811:
1.10      ohara     812:   case $ac_option in
                    813:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    814:   *=)   ac_optarg= ;;
                    815:   *)    ac_optarg=yes ;;
                    816:   esac
1.9       ohara     817:
1.10      ohara     818:   # Accept the important Cygnus configure options, so we can diagnose typos.
1.9       ohara     819:
1.10      ohara     820:   case $ac_dashdash$ac_option in
                    821:   --)
                    822:     ac_dashdash=yes ;;
1.9       ohara     823:
1.10      ohara     824:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    825:     ac_prev=bindir ;;
                    826:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    827:     bindir=$ac_optarg ;;
1.9       ohara     828:
1.10      ohara     829:   -build | --build | --buil | --bui | --bu)
                    830:     ac_prev=build_alias ;;
                    831:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    832:     build_alias=$ac_optarg ;;
1.9       ohara     833:
1.10      ohara     834:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    835:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    836:     ac_prev=cache_file ;;
                    837:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    838:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    839:     cache_file=$ac_optarg ;;
1.9       ohara     840:
1.10      ohara     841:   --config-cache | -C)
                    842:     cache_file=config.cache ;;
1.9       ohara     843:
1.10      ohara     844:   -datadir | --datadir | --datadi | --datad)
                    845:     ac_prev=datadir ;;
                    846:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    847:     datadir=$ac_optarg ;;
1.9       ohara     848:
1.10      ohara     849:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    850:   | --dataroo | --dataro | --datar)
                    851:     ac_prev=datarootdir ;;
                    852:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    853:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    854:     datarootdir=$ac_optarg ;;
1.9       ohara     855:
1.10      ohara     856:   -disable-* | --disable-*)
                    857:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    858:     # Reject names that are not valid shell variable names.
                    859:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    860:       as_fn_error $? "invalid feature name: $ac_useropt"
                    861:     ac_useropt_orig=$ac_useropt
                    862:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    863:     case $ac_user_opts in
                    864:       *"
                    865: "enable_$ac_useropt"
                    866: "*) ;;
                    867:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    868:         ac_unrecognized_sep=', ';;
                    869:     esac
                    870:     eval enable_$ac_useropt=no ;;
1.9       ohara     871:
1.10      ohara     872:   -docdir | --docdir | --docdi | --doc | --do)
                    873:     ac_prev=docdir ;;
                    874:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    875:     docdir=$ac_optarg ;;
1.9       ohara     876:
1.10      ohara     877:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    878:     ac_prev=dvidir ;;
                    879:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    880:     dvidir=$ac_optarg ;;
1.9       ohara     881:
1.10      ohara     882:   -enable-* | --enable-*)
                    883:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    884:     # Reject names that are not valid shell variable names.
                    885:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    886:       as_fn_error $? "invalid feature name: $ac_useropt"
                    887:     ac_useropt_orig=$ac_useropt
                    888:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    889:     case $ac_user_opts in
                    890:       *"
                    891: "enable_$ac_useropt"
                    892: "*) ;;
                    893:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    894:         ac_unrecognized_sep=', ';;
                    895:     esac
                    896:     eval enable_$ac_useropt=\$ac_optarg ;;
1.9       ohara     897:
1.10      ohara     898:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    899:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    900:   | --exec | --exe | --ex)
                    901:     ac_prev=exec_prefix ;;
                    902:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    903:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    904:   | --exec=* | --exe=* | --ex=*)
                    905:     exec_prefix=$ac_optarg ;;
1.9       ohara     906:
1.10      ohara     907:   -gas | --gas | --ga | --g)
                    908:     # Obsolete; use --with-gas.
                    909:     with_gas=yes ;;
1.9       ohara     910:
1.10      ohara     911:   -help | --help | --hel | --he | -h)
                    912:     ac_init_help=long ;;
                    913:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    914:     ac_init_help=recursive ;;
                    915:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    916:     ac_init_help=short ;;
1.9       ohara     917:
1.10      ohara     918:   -host | --host | --hos | --ho)
                    919:     ac_prev=host_alias ;;
                    920:   -host=* | --host=* | --hos=* | --ho=*)
                    921:     host_alias=$ac_optarg ;;
1.9       ohara     922:
1.10      ohara     923:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    924:     ac_prev=htmldir ;;
                    925:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    926:   | --ht=*)
                    927:     htmldir=$ac_optarg ;;
1.9       ohara     928:
1.10      ohara     929:   -includedir | --includedir | --includedi | --included | --include \
                    930:   | --includ | --inclu | --incl | --inc)
                    931:     ac_prev=includedir ;;
                    932:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    933:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    934:     includedir=$ac_optarg ;;
1.9       ohara     935:
1.10      ohara     936:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    937:     ac_prev=infodir ;;
                    938:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    939:     infodir=$ac_optarg ;;
1.9       ohara     940:
1.10      ohara     941:   -libdir | --libdir | --libdi | --libd)
                    942:     ac_prev=libdir ;;
                    943:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    944:     libdir=$ac_optarg ;;
1.9       ohara     945:
1.10      ohara     946:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    947:   | --libexe | --libex | --libe)
                    948:     ac_prev=libexecdir ;;
                    949:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    950:   | --libexe=* | --libex=* | --libe=*)
                    951:     libexecdir=$ac_optarg ;;
1.9       ohara     952:
1.10      ohara     953:   -localedir | --localedir | --localedi | --localed | --locale)
                    954:     ac_prev=localedir ;;
                    955:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    956:     localedir=$ac_optarg ;;
1.9       ohara     957:
1.10      ohara     958:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    959:   | --localstate | --localstat | --localsta | --localst | --locals)
                    960:     ac_prev=localstatedir ;;
                    961:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    962:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    963:     localstatedir=$ac_optarg ;;
1.9       ohara     964:
1.10      ohara     965:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    966:     ac_prev=mandir ;;
                    967:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    968:     mandir=$ac_optarg ;;
1.9       ohara     969:
1.10      ohara     970:   -nfp | --nfp | --nf)
                    971:     # Obsolete; use --without-fp.
                    972:     with_fp=no ;;
1.9       ohara     973:
1.10      ohara     974:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    975:   | --no-cr | --no-c | -n)
                    976:     no_create=yes ;;
1.9       ohara     977:
1.10      ohara     978:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    979:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    980:     no_recursion=yes ;;
1.9       ohara     981:
1.10      ohara     982:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    983:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    984:   | --oldin | --oldi | --old | --ol | --o)
                    985:     ac_prev=oldincludedir ;;
                    986:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    987:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    988:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    989:     oldincludedir=$ac_optarg ;;
1.9       ohara     990:
1.10      ohara     991:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    992:     ac_prev=prefix ;;
                    993:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    994:     prefix=$ac_optarg ;;
1.9       ohara     995:
1.10      ohara     996:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    997:   | --program-pre | --program-pr | --program-p)
                    998:     ac_prev=program_prefix ;;
                    999:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1000:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1001:     program_prefix=$ac_optarg ;;
1.9       ohara    1002:
1.10      ohara    1003:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1004:   | --program-suf | --program-su | --program-s)
                   1005:     ac_prev=program_suffix ;;
                   1006:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1007:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1008:     program_suffix=$ac_optarg ;;
1.9       ohara    1009:
1.10      ohara    1010:   -program-transform-name | --program-transform-name \
                   1011:   | --program-transform-nam | --program-transform-na \
                   1012:   | --program-transform-n | --program-transform- \
                   1013:   | --program-transform | --program-transfor \
                   1014:   | --program-transfo | --program-transf \
                   1015:   | --program-trans | --program-tran \
                   1016:   | --progr-tra | --program-tr | --program-t)
                   1017:     ac_prev=program_transform_name ;;
                   1018:   -program-transform-name=* | --program-transform-name=* \
                   1019:   | --program-transform-nam=* | --program-transform-na=* \
                   1020:   | --program-transform-n=* | --program-transform-=* \
                   1021:   | --program-transform=* | --program-transfor=* \
                   1022:   | --program-transfo=* | --program-transf=* \
                   1023:   | --program-trans=* | --program-tran=* \
                   1024:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1025:     program_transform_name=$ac_optarg ;;
1.9       ohara    1026:
1.10      ohara    1027:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1028:     ac_prev=pdfdir ;;
                   1029:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1030:     pdfdir=$ac_optarg ;;
1.9       ohara    1031:
1.10      ohara    1032:   -psdir | --psdir | --psdi | --psd | --ps)
                   1033:     ac_prev=psdir ;;
                   1034:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1035:     psdir=$ac_optarg ;;
1.9       ohara    1036:
1.10      ohara    1037:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1038:   | -silent | --silent | --silen | --sile | --sil)
                   1039:     silent=yes ;;
1.9       ohara    1040:
1.10      ohara    1041:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1042:     ac_prev=sbindir ;;
                   1043:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1044:   | --sbi=* | --sb=*)
                   1045:     sbindir=$ac_optarg ;;
1.9       ohara    1046:
1.10      ohara    1047:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1048:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1049:   | --sharedst | --shareds | --shared | --share | --shar \
                   1050:   | --sha | --sh)
                   1051:     ac_prev=sharedstatedir ;;
                   1052:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1053:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1054:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1055:   | --sha=* | --sh=*)
                   1056:     sharedstatedir=$ac_optarg ;;
1.9       ohara    1057:
1.10      ohara    1058:   -site | --site | --sit)
                   1059:     ac_prev=site ;;
                   1060:   -site=* | --site=* | --sit=*)
                   1061:     site=$ac_optarg ;;
1.9       ohara    1062:
1.10      ohara    1063:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1064:     ac_prev=srcdir ;;
                   1065:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1066:     srcdir=$ac_optarg ;;
1.9       ohara    1067:
1.10      ohara    1068:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1069:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1070:     ac_prev=sysconfdir ;;
                   1071:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1072:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1073:     sysconfdir=$ac_optarg ;;
1.9       ohara    1074:
1.10      ohara    1075:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1076:     ac_prev=target_alias ;;
                   1077:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1078:     target_alias=$ac_optarg ;;
1.9       ohara    1079:
1.10      ohara    1080:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1081:     verbose=yes ;;
1.9       ohara    1082:
1.10      ohara    1083:   -version | --version | --versio | --versi | --vers | -V)
                   1084:     ac_init_version=: ;;
1.9       ohara    1085:
1.10      ohara    1086:   -with-* | --with-*)
                   1087:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1088:     # Reject names that are not valid shell variable names.
                   1089:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1090:       as_fn_error $? "invalid package name: $ac_useropt"
                   1091:     ac_useropt_orig=$ac_useropt
                   1092:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1093:     case $ac_user_opts in
                   1094:       *"
                   1095: "with_$ac_useropt"
                   1096: "*) ;;
                   1097:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1098:         ac_unrecognized_sep=', ';;
                   1099:     esac
                   1100:     eval with_$ac_useropt=\$ac_optarg ;;
1.9       ohara    1101:
1.10      ohara    1102:   -without-* | --without-*)
                   1103:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1104:     # Reject names that are not valid shell variable names.
                   1105:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1106:       as_fn_error $? "invalid package name: $ac_useropt"
                   1107:     ac_useropt_orig=$ac_useropt
                   1108:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1109:     case $ac_user_opts in
                   1110:       *"
                   1111: "with_$ac_useropt"
                   1112: "*) ;;
                   1113:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1114:         ac_unrecognized_sep=', ';;
                   1115:     esac
                   1116:     eval with_$ac_useropt=no ;;
1.9       ohara    1117:
1.10      ohara    1118:   --x)
                   1119:     # Obsolete; use --with-x.
                   1120:     with_x=yes ;;
1.9       ohara    1121:
1.10      ohara    1122:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1123:   | --x-incl | --x-inc | --x-in | --x-i)
                   1124:     ac_prev=x_includes ;;
                   1125:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1126:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1127:     x_includes=$ac_optarg ;;
1.9       ohara    1128:
1.10      ohara    1129:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1130:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1131:     ac_prev=x_libraries ;;
                   1132:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1133:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1134:     x_libraries=$ac_optarg ;;
1.9       ohara    1135:
1.10      ohara    1136:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1137: Try \`$0 --help' for more information"
                   1138:     ;;
1.9       ohara    1139:
1.10      ohara    1140:   *=*)
                   1141:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1142:     # Reject names that are not valid shell variable names.
                   1143:     case $ac_envvar in #(
                   1144:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1145:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1146:     esac
                   1147:     eval $ac_envvar=\$ac_optarg
                   1148:     export $ac_envvar ;;
1.9       ohara    1149:
1.10      ohara    1150:   *)
                   1151:     # FIXME: should be removed in autoconf 3.0.
                   1152:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1153:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1154:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.12    ! noro     1155:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.9       ohara    1156:     ;;
                   1157:
1.10      ohara    1158:   esac
                   1159: done
1.9       ohara    1160:
1.10      ohara    1161: if test -n "$ac_prev"; then
                   1162:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1163:   as_fn_error $? "missing argument to $ac_option"
1.9       ohara    1164: fi
                   1165:
1.10      ohara    1166: if test -n "$ac_unrecognized_opts"; then
                   1167:   case $enable_option_checking in
                   1168:     no) ;;
                   1169:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1170:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1171:   esac
1.9       ohara    1172: fi
                   1173:
1.10      ohara    1174: # Check all directory arguments for consistency.
                   1175: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1176:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1177:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1178:                libdir localedir mandir
                   1179: do
                   1180:   eval ac_val=\$$ac_var
                   1181:   # Remove trailing slashes.
                   1182:   case $ac_val in
                   1183:     */ )
                   1184:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1185:       eval $ac_var=\$ac_val;;
                   1186:   esac
                   1187:   # Be sure to have absolute directory names.
                   1188:   case $ac_val in
                   1189:     [\\/$]* | ?:[\\/]* )  continue;;
                   1190:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1191:   esac
                   1192:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.9       ohara    1193: done
                   1194:
1.10      ohara    1195: # There might be people who depend on the old broken behavior: `$host'
                   1196: # used to hold the argument of --host etc.
                   1197: # FIXME: To remove some day.
                   1198: build=$build_alias
                   1199: host=$host_alias
                   1200: target=$target_alias
                   1201:
                   1202: # FIXME: To remove some day.
                   1203: if test "x$host_alias" != x; then
                   1204:   if test "x$build_alias" = x; then
                   1205:     cross_compiling=maybe
                   1206:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1207:     If a cross compiler is detected then cross compile mode will be used" >&2
                   1208:   elif test "x$build_alias" != "x$host_alias"; then
                   1209:     cross_compiling=yes
1.9       ohara    1210:   fi
                   1211: fi
                   1212:
1.10      ohara    1213: ac_tool_prefix=
                   1214: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.9       ohara    1215:
1.10      ohara    1216: test "$silent" = yes && exec 6>/dev/null
1.9       ohara    1217:
                   1218:
1.10      ohara    1219: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1220: ac_ls_di=`ls -di .` &&
                   1221: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1222:   as_fn_error $? "working directory cannot be determined"
                   1223: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1224:   as_fn_error $? "pwd does not report name of working directory"
1.9       ohara    1225:
                   1226:
1.10      ohara    1227: # Find the source files, if location was not specified.
                   1228: if test -z "$srcdir"; then
                   1229:   ac_srcdir_defaulted=yes
                   1230:   # Try the directory containing this script, then the parent directory.
                   1231:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1232: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1233:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1234:         X"$as_myself" : 'X\(//\)$' \| \
                   1235:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1236: $as_echo X"$as_myself" |
                   1237:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1238:            s//\1/
                   1239:            q
                   1240:          }
                   1241:          /^X\(\/\/\)[^/].*/{
                   1242:            s//\1/
                   1243:            q
                   1244:          }
                   1245:          /^X\(\/\/\)$/{
                   1246:            s//\1/
                   1247:            q
                   1248:          }
                   1249:          /^X\(\/\).*/{
                   1250:            s//\1/
                   1251:            q
                   1252:          }
                   1253:          s/.*/./; q'`
                   1254:   srcdir=$ac_confdir
                   1255:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1256:     srcdir=..
1.9       ohara    1257:   fi
1.10      ohara    1258: else
                   1259:   ac_srcdir_defaulted=no
1.9       ohara    1260: fi
1.10      ohara    1261: if test ! -r "$srcdir/$ac_unique_file"; then
                   1262:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1263:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1264: fi
                   1265: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1266: ac_abs_confdir=`(
                   1267:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1268:        pwd)`
                   1269: # When building in place, set srcdir=.
                   1270: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1271:   srcdir=.
1.9       ohara    1272: fi
1.10      ohara    1273: # Remove unnecessary trailing slashes from srcdir.
                   1274: # Double slashes in file names in object file debugging info
                   1275: # mess up M-x gdb in Emacs.
                   1276: case $srcdir in
                   1277: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1.9       ohara    1278: esac
1.10      ohara    1279: for ac_var in $ac_precious_vars; do
                   1280:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1281:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1282:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1283:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1284: done
                   1285:
                   1286: #
                   1287: # Report the --help message.
                   1288: #
                   1289: if test "$ac_init_help" = "long"; then
                   1290:   # Omit some internal or obsolete options to make the list less imposing.
                   1291:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1292:   cat <<_ACEOF
                   1293: \`configure' configures this package to adapt to many kinds of systems.
1.9       ohara    1294:
1.10      ohara    1295: Usage: $0 [OPTION]... [VAR=VALUE]...
1.9       ohara    1296:
1.10      ohara    1297: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1298: VAR=VALUE.  See below for descriptions of some of the useful variables.
1.9       ohara    1299:
1.10      ohara    1300: Defaults for the options are specified in brackets.
1.9       ohara    1301:
1.10      ohara    1302: Configuration:
                   1303:   -h, --help              display this help and exit
                   1304:       --help=short        display options specific to this package
                   1305:       --help=recursive    display the short help of all the included packages
                   1306:   -V, --version           display version information and exit
                   1307:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1308:       --cache-file=FILE   cache test results in FILE [disabled]
                   1309:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1310:   -n, --no-create         do not create output files
                   1311:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1.9       ohara    1312:
1.10      ohara    1313: Installation directories:
                   1314:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1315:                           [$ac_default_prefix]
                   1316:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1317:                           [PREFIX]
1.9       ohara    1318:
1.10      ohara    1319: By default, \`make install' will install all the files in
                   1320: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1321: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1322: for instance \`--prefix=\$HOME'.
1.9       ohara    1323:
1.10      ohara    1324: For better control, use the options below.
1.9       ohara    1325:
1.10      ohara    1326: Fine tuning of the installation directories:
                   1327:   --bindir=DIR            user executables [EPREFIX/bin]
                   1328:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1329:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1330:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1331:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1332:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1333:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1334:   --includedir=DIR        C header files [PREFIX/include]
                   1335:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1336:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1337:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1338:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1339:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1340:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1341:   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
                   1342:   --htmldir=DIR           html documentation [DOCDIR]
                   1343:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1344:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1345:   --psdir=DIR             ps documentation [DOCDIR]
1.9       ohara    1346: _ACEOF
                   1347:
1.10      ohara    1348:   cat <<\_ACEOF
1.9       ohara    1349:
1.10      ohara    1350: Program names:
                   1351:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1352:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1353:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1.9       ohara    1354:
1.10      ohara    1355: X features:
                   1356:   --x-includes=DIR    X include files are in DIR
                   1357:   --x-libraries=DIR   X library files are in DIR
1.9       ohara    1358:
1.10      ohara    1359: System types:
                   1360:   --build=BUILD     configure for building on BUILD [guessed]
                   1361:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1362:   --target=TARGET   configure for building compilers for TARGET [HOST]
1.9       ohara    1363: _ACEOF
1.10      ohara    1364: fi
1.9       ohara    1365:
1.10      ohara    1366: if test -n "$ac_init_help"; then
1.9       ohara    1367:
1.10      ohara    1368:   cat <<\_ACEOF
1.9       ohara    1369:
1.10      ohara    1370: Optional Features:
                   1371:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1372:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1373:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1374:   --enable-maintainer-mode  enable make rules and dependencies not useful
                   1375:                          (and sometimes confusing) to the casual installer
                   1376:   --disable-dependency-tracking  speeds up one-time build
                   1377:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1378:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1379:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1380:   --enable-fast-install[=PKGS]
                   1381:                           optimize for fast installation [default=yes]
                   1382:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.9       ohara    1383:
1.10      ohara    1384: Optional Packages:
                   1385:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1386:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1387:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                   1388:                           both]
                   1389:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1390:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1391:                         (or the compiler's sysroot if not specified).
                   1392:   --with-x                use the X Window System
1.9       ohara    1393:
1.10      ohara    1394: Some influential environment variables:
                   1395:   CC          C compiler command
                   1396:   CFLAGS      C compiler flags
                   1397:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1398:               nonstandard directory <lib dir>
                   1399:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1400:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1401:               you have headers in a nonstandard directory <include dir>
                   1402:   CPP         C preprocessor
                   1403:   XMKMF       Path to xmkmf, Makefile generator for X Window System
1.9       ohara    1404:
1.10      ohara    1405: Use these variables to override the choices made by `configure' or to help
                   1406: it to find libraries and programs with nonstandard names/locations.
1.9       ohara    1407:
1.10      ohara    1408: Report bugs to the package provider.
                   1409: _ACEOF
                   1410: ac_status=$?
1.9       ohara    1411: fi
                   1412:
1.10      ohara    1413: if test "$ac_init_help" = "recursive"; then
                   1414:   # If there are subdirs, report their specific --help.
                   1415:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1416:     test -d "$ac_dir" ||
                   1417:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1418:       continue
                   1419:     ac_builddir=.
1.9       ohara    1420:
1.10      ohara    1421: case "$ac_dir" in
                   1422: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1423: *)
                   1424:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1425:   # A ".." for each directory in $ac_dir_suffix.
                   1426:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1427:   case $ac_top_builddir_sub in
                   1428:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1429:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1430:   esac ;;
                   1431: esac
                   1432: ac_abs_top_builddir=$ac_pwd
                   1433: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1434: # for backward compatibility:
                   1435: ac_top_builddir=$ac_top_build_prefix
1.9       ohara    1436:
1.10      ohara    1437: case $srcdir in
                   1438:   .)  # We are building in place.
                   1439:     ac_srcdir=.
                   1440:     ac_top_srcdir=$ac_top_builddir_sub
                   1441:     ac_abs_top_srcdir=$ac_pwd ;;
                   1442:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1443:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1444:     ac_top_srcdir=$srcdir
                   1445:     ac_abs_top_srcdir=$srcdir ;;
                   1446:   *) # Relative name.
                   1447:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1448:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1449:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1450: esac
                   1451: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.9       ohara    1452:
1.10      ohara    1453:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1454:     # Check for guested configure.
                   1455:     if test -f "$ac_srcdir/configure.gnu"; then
                   1456:       echo &&
                   1457:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1458:     elif test -f "$ac_srcdir/configure"; then
                   1459:       echo &&
                   1460:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1461:     else
                   1462:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1463:     fi || ac_status=$?
                   1464:     cd "$ac_pwd" || { ac_status=$?; break; }
1.9       ohara    1465:   done
                   1466: fi
                   1467:
1.10      ohara    1468: test -n "$ac_init_help" && exit $ac_status
                   1469: if $ac_init_version; then
                   1470:   cat <<\_ACEOF
                   1471: configure
1.12    ! noro     1472: generated by GNU Autoconf 2.67
1.9       ohara    1473:
1.10      ohara    1474: Copyright (C) 2010 Free Software Foundation, Inc.
                   1475: This configure script is free software; the Free Software Foundation
                   1476: gives unlimited permission to copy, distribute and modify it.
                   1477: _ACEOF
                   1478:   exit
1.9       ohara    1479: fi
                   1480:
1.10      ohara    1481: ## ------------------------ ##
                   1482: ## Autoconf initialization. ##
                   1483: ## ------------------------ ##
                   1484:
                   1485: # ac_fn_c_try_compile LINENO
                   1486: # --------------------------
                   1487: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1488: ac_fn_c_try_compile ()
                   1489: {
                   1490:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1491:   rm -f conftest.$ac_objext
                   1492:   if { { ac_try="$ac_compile"
1.9       ohara    1493: case "(($ac_try" in
                   1494:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1495:   *) ac_try_echo=$ac_try;;
                   1496: esac
1.10      ohara    1497: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1498: $as_echo "$ac_try_echo"; } >&5
                   1499:   (eval "$ac_compile") 2>conftest.err
1.9       ohara    1500:   ac_status=$?
1.10      ohara    1501:   if test -s conftest.err; then
                   1502:     grep -v '^ *+' conftest.err >conftest.er1
                   1503:     cat conftest.er1 >&5
                   1504:     mv -f conftest.er1 conftest.err
                   1505:   fi
                   1506:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1507:   test $ac_status = 0; } && {
                   1508:         test -z "$ac_c_werror_flag" ||
1.9       ohara    1509:         test ! -s conftest.err
1.10      ohara    1510:        } && test -s conftest.$ac_objext; then :
                   1511:   ac_retval=0
1.9       ohara    1512: else
1.10      ohara    1513:   $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1514: sed 's/^/| /' conftest.$ac_ext >&5
                   1515:
1.10      ohara    1516:        ac_retval=1
1.9       ohara    1517: fi
1.12    ! noro     1518:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.10      ohara    1519:   as_fn_set_status $ac_retval
1.9       ohara    1520:
1.10      ohara    1521: } # ac_fn_c_try_compile
1.9       ohara    1522:
1.10      ohara    1523: # ac_fn_c_try_link LINENO
                   1524: # -----------------------
                   1525: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1526: ac_fn_c_try_link ()
                   1527: {
                   1528:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1529:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1530:   if { { ac_try="$ac_link"
1.9       ohara    1531: case "(($ac_try" in
                   1532:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1533:   *) ac_try_echo=$ac_try;;
                   1534: esac
1.10      ohara    1535: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1536: $as_echo "$ac_try_echo"; } >&5
                   1537:   (eval "$ac_link") 2>conftest.err
1.9       ohara    1538:   ac_status=$?
1.10      ohara    1539:   if test -s conftest.err; then
                   1540:     grep -v '^ *+' conftest.err >conftest.er1
                   1541:     cat conftest.er1 >&5
                   1542:     mv -f conftest.er1 conftest.err
                   1543:   fi
                   1544:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1545:   test $ac_status = 0; } && {
                   1546:         test -z "$ac_c_werror_flag" ||
1.9       ohara    1547:         test ! -s conftest.err
1.10      ohara    1548:        } && test -s conftest$ac_exeext && {
                   1549:         test "$cross_compiling" = yes ||
                   1550:         $as_test_x conftest$ac_exeext
                   1551:        }; then :
                   1552:   ac_retval=0
1.9       ohara    1553: else
1.10      ohara    1554:   $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1555: sed 's/^/| /' conftest.$ac_ext >&5
                   1556:
1.10      ohara    1557:        ac_retval=1
1.9       ohara    1558: fi
1.10      ohara    1559:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1560:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1561:   # interfere with the next link command; also delete a directory that is
                   1562:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1563:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.12    ! noro     1564:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.10      ohara    1565:   as_fn_set_status $ac_retval
1.9       ohara    1566:
1.10      ohara    1567: } # ac_fn_c_try_link
1.9       ohara    1568:
1.10      ohara    1569: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1570: # -------------------------------------------------------
                   1571: # Tests whether HEADER exists and can be compiled using the include files in
                   1572: # INCLUDES, setting the cache variable VAR accordingly.
                   1573: ac_fn_c_check_header_compile ()
                   1574: {
                   1575:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1576:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1577: $as_echo_n "checking for $2... " >&6; }
1.12    ! noro     1578: if eval "test \"\${$3+set}\"" = set; then :
1.10      ohara    1579:   $as_echo_n "(cached) " >&6
                   1580: else
                   1581:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1582: /* end confdefs.h.  */
                   1583: $4
                   1584: #include <$2>
                   1585: _ACEOF
                   1586: if ac_fn_c_try_compile "$LINENO"; then :
                   1587:   eval "$3=yes"
                   1588: else
                   1589:   eval "$3=no"
                   1590: fi
                   1591: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    1592: fi
1.10      ohara    1593: eval ac_res=\$$3
                   1594:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1595: $as_echo "$ac_res" >&6; }
1.12    ! noro     1596:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.9       ohara    1597:
1.10      ohara    1598: } # ac_fn_c_check_header_compile
1.9       ohara    1599:
1.10      ohara    1600: # ac_fn_c_try_cpp LINENO
                   1601: # ----------------------
                   1602: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1603: ac_fn_c_try_cpp ()
                   1604: {
                   1605:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1606:   if { { ac_try="$ac_cpp conftest.$ac_ext"
1.9       ohara    1607: case "(($ac_try" in
                   1608:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1609:   *) ac_try_echo=$ac_try;;
                   1610: esac
1.10      ohara    1611: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1612: $as_echo "$ac_try_echo"; } >&5
                   1613:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1.9       ohara    1614:   ac_status=$?
1.10      ohara    1615:   if test -s conftest.err; then
                   1616:     grep -v '^ *+' conftest.err >conftest.er1
                   1617:     cat conftest.er1 >&5
                   1618:     mv -f conftest.er1 conftest.err
                   1619:   fi
                   1620:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1621:   test $ac_status = 0; } > conftest.i && {
                   1622:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.9       ohara    1623:         test ! -s conftest.err
1.10      ohara    1624:        }; then :
                   1625:   ac_retval=0
1.9       ohara    1626: else
1.10      ohara    1627:   $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1628: sed 's/^/| /' conftest.$ac_ext >&5
                   1629:
1.10      ohara    1630:     ac_retval=1
1.9       ohara    1631: fi
1.12    ! noro     1632:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.10      ohara    1633:   as_fn_set_status $ac_retval
1.9       ohara    1634:
1.10      ohara    1635: } # ac_fn_c_try_cpp
1.9       ohara    1636:
1.10      ohara    1637: # ac_fn_c_try_run LINENO
                   1638: # ----------------------
                   1639: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1640: # that executables *can* be run.
                   1641: ac_fn_c_try_run ()
                   1642: {
                   1643:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1644:   if { { ac_try="$ac_link"
1.9       ohara    1645: case "(($ac_try" in
                   1646:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1647:   *) ac_try_echo=$ac_try;;
                   1648: esac
1.10      ohara    1649: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1650: $as_echo "$ac_try_echo"; } >&5
                   1651:   (eval "$ac_link") 2>&5
                   1652:   ac_status=$?
                   1653:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1654:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1655:   { { case "(($ac_try" in
                   1656:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1657:   *) ac_try_echo=$ac_try;;
                   1658: esac
                   1659: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1660: $as_echo "$ac_try_echo"; } >&5
                   1661:   (eval "$ac_try") 2>&5
1.9       ohara    1662:   ac_status=$?
1.10      ohara    1663:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1664:   test $ac_status = 0; }; }; then :
                   1665:   ac_retval=0
1.9       ohara    1666: else
1.10      ohara    1667:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1668:        $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1669: sed 's/^/| /' conftest.$ac_ext >&5
                   1670:
1.10      ohara    1671:        ac_retval=$ac_status
1.9       ohara    1672: fi
1.10      ohara    1673:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.12    ! noro     1674:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.10      ohara    1675:   as_fn_set_status $ac_retval
1.9       ohara    1676:
1.10      ohara    1677: } # ac_fn_c_try_run
1.9       ohara    1678:
1.10      ohara    1679: # ac_fn_c_check_func LINENO FUNC VAR
                   1680: # ----------------------------------
                   1681: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1682: ac_fn_c_check_func ()
                   1683: {
                   1684:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1685:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1686: $as_echo_n "checking for $2... " >&6; }
1.12    ! noro     1687: if eval "test \"\${$3+set}\"" = set; then :
1.10      ohara    1688:   $as_echo_n "(cached) " >&6
1.9       ohara    1689: else
1.10      ohara    1690:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1691: /* end confdefs.h.  */
                   1692: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1693:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1694: #define $2 innocuous_$2
1.9       ohara    1695:
1.10      ohara    1696: /* System header to define __stub macros and hopefully few prototypes,
                   1697:     which can conflict with char $2 (); below.
                   1698:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1699:     <limits.h> exists even on freestanding compilers.  */
1.9       ohara    1700:
1.10      ohara    1701: #ifdef __STDC__
                   1702: # include <limits.h>
                   1703: #else
                   1704: # include <assert.h>
                   1705: #endif
1.9       ohara    1706:
1.10      ohara    1707: #undef $2
1.9       ohara    1708:
1.10      ohara    1709: /* Override any GCC internal prototype to avoid an error.
                   1710:    Use char because int might match the return type of a GCC
                   1711:    builtin and then its argument prototype would still apply.  */
                   1712: #ifdef __cplusplus
                   1713: extern "C"
                   1714: #endif
                   1715: char $2 ();
                   1716: /* The GNU C library defines this for functions which it implements
                   1717:     to always fail with ENOSYS.  Some functions are actually named
                   1718:     something starting with __ and the normal name is an alias.  */
                   1719: #if defined __stub_$2 || defined __stub___$2
                   1720: choke me
                   1721: #endif
1.9       ohara    1722:
1.10      ohara    1723: int
                   1724: main ()
                   1725: {
                   1726: return $2 ();
                   1727:   ;
                   1728:   return 0;
                   1729: }
1.9       ohara    1730: _ACEOF
1.10      ohara    1731: if ac_fn_c_try_link "$LINENO"; then :
                   1732:   eval "$3=yes"
1.9       ohara    1733: else
1.10      ohara    1734:   eval "$3=no"
                   1735: fi
                   1736: rm -f core conftest.err conftest.$ac_objext \
                   1737:     conftest$ac_exeext conftest.$ac_ext
                   1738: fi
                   1739: eval ac_res=\$$3
                   1740:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1741: $as_echo "$ac_res" >&6; }
1.12    ! noro     1742:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.9       ohara    1743:
1.10      ohara    1744: } # ac_fn_c_check_func
1.12    ! noro     1745:
        !          1746: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
        !          1747: # --------------------------------------------
        !          1748: # Tries to find the compile-time value of EXPR in a program that includes
        !          1749: # INCLUDES, setting VAR accordingly. Returns whether the value could be
        !          1750: # computed
        !          1751: ac_fn_c_compute_int ()
        !          1752: {
        !          1753:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1754:   if test "$cross_compiling" = yes; then
        !          1755:     # Depending upon the size, compute the lo and hi bounds.
        !          1756: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1757: /* end confdefs.h.  */
        !          1758: $4
        !          1759: int
        !          1760: main ()
        !          1761: {
        !          1762: static int test_array [1 - 2 * !(($2) >= 0)];
        !          1763: test_array [0] = 0
        !          1764:
        !          1765:   ;
        !          1766:   return 0;
        !          1767: }
        !          1768: _ACEOF
        !          1769: if ac_fn_c_try_compile "$LINENO"; then :
        !          1770:   ac_lo=0 ac_mid=0
        !          1771:   while :; do
        !          1772:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1773: /* end confdefs.h.  */
        !          1774: $4
        !          1775: int
        !          1776: main ()
        !          1777: {
        !          1778: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
        !          1779: test_array [0] = 0
        !          1780:
        !          1781:   ;
        !          1782:   return 0;
        !          1783: }
        !          1784: _ACEOF
        !          1785: if ac_fn_c_try_compile "$LINENO"; then :
        !          1786:   ac_hi=$ac_mid; break
        !          1787: else
        !          1788:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
        !          1789:                        if test $ac_lo -le $ac_mid; then
        !          1790:                          ac_lo= ac_hi=
        !          1791:                          break
        !          1792:                        fi
        !          1793:                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
        !          1794: fi
        !          1795: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1796:   done
        !          1797: else
        !          1798:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1799: /* end confdefs.h.  */
        !          1800: $4
        !          1801: int
        !          1802: main ()
        !          1803: {
        !          1804: static int test_array [1 - 2 * !(($2) < 0)];
        !          1805: test_array [0] = 0
        !          1806:
        !          1807:   ;
        !          1808:   return 0;
        !          1809: }
        !          1810: _ACEOF
        !          1811: if ac_fn_c_try_compile "$LINENO"; then :
        !          1812:   ac_hi=-1 ac_mid=-1
        !          1813:   while :; do
        !          1814:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1815: /* end confdefs.h.  */
        !          1816: $4
        !          1817: int
        !          1818: main ()
        !          1819: {
        !          1820: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
        !          1821: test_array [0] = 0
        !          1822:
        !          1823:   ;
        !          1824:   return 0;
        !          1825: }
        !          1826: _ACEOF
        !          1827: if ac_fn_c_try_compile "$LINENO"; then :
        !          1828:   ac_lo=$ac_mid; break
        !          1829: else
        !          1830:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
        !          1831:                        if test $ac_mid -le $ac_hi; then
        !          1832:                          ac_lo= ac_hi=
        !          1833:                          break
        !          1834:                        fi
        !          1835:                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
        !          1836: fi
        !          1837: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1838:   done
        !          1839: else
        !          1840:   ac_lo= ac_hi=
        !          1841: fi
        !          1842: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1843: fi
        !          1844: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1845: # Binary search between lo and hi bounds.
        !          1846: while test "x$ac_lo" != "x$ac_hi"; do
        !          1847:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
        !          1848:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1849: /* end confdefs.h.  */
        !          1850: $4
        !          1851: int
        !          1852: main ()
        !          1853: {
        !          1854: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
        !          1855: test_array [0] = 0
        !          1856:
        !          1857:   ;
        !          1858:   return 0;
        !          1859: }
        !          1860: _ACEOF
        !          1861: if ac_fn_c_try_compile "$LINENO"; then :
        !          1862:   ac_hi=$ac_mid
        !          1863: else
        !          1864:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
        !          1865: fi
        !          1866: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1867: done
        !          1868: case $ac_lo in #((
        !          1869: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
        !          1870: '') ac_retval=1 ;;
        !          1871: esac
        !          1872:   else
        !          1873:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1874: /* end confdefs.h.  */
        !          1875: $4
        !          1876: static long int longval () { return $2; }
        !          1877: static unsigned long int ulongval () { return $2; }
        !          1878: #include <stdio.h>
        !          1879: #include <stdlib.h>
        !          1880: int
        !          1881: main ()
        !          1882: {
        !          1883:
        !          1884:   FILE *f = fopen ("conftest.val", "w");
        !          1885:   if (! f)
        !          1886:     return 1;
        !          1887:   if (($2) < 0)
        !          1888:     {
        !          1889:       long int i = longval ();
        !          1890:       if (i != ($2))
        !          1891:        return 1;
        !          1892:       fprintf (f, "%ld", i);
        !          1893:     }
        !          1894:   else
        !          1895:     {
        !          1896:       unsigned long int i = ulongval ();
        !          1897:       if (i != ($2))
        !          1898:        return 1;
        !          1899:       fprintf (f, "%lu", i);
        !          1900:     }
        !          1901:   /* Do not output a trailing newline, as this causes \r\n confusion
        !          1902:      on some platforms.  */
        !          1903:   return ferror (f) || fclose (f) != 0;
        !          1904:
        !          1905:   ;
        !          1906:   return 0;
        !          1907: }
        !          1908: _ACEOF
        !          1909: if ac_fn_c_try_run "$LINENO"; then :
        !          1910:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
        !          1911: else
        !          1912:   ac_retval=1
        !          1913: fi
        !          1914: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          1915:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          1916: rm -f conftest.val
        !          1917:
        !          1918:   fi
        !          1919:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1920:   as_fn_set_status $ac_retval
        !          1921:
        !          1922: } # ac_fn_c_compute_int
1.10      ohara    1923: cat >config.log <<_ACEOF
                   1924: This file contains any messages produced by compilers while
                   1925: running configure, to aid debugging if configure makes a mistake.
1.9       ohara    1926:
1.10      ohara    1927: It was created by $as_me, which was
1.12    ! noro     1928: generated by GNU Autoconf 2.67.  Invocation command line was
1.9       ohara    1929:
1.10      ohara    1930:   $ $0 $@
1.9       ohara    1931:
                   1932: _ACEOF
1.10      ohara    1933: exec 5>>config.log
                   1934: {
                   1935: cat <<_ASUNAME
                   1936: ## --------- ##
                   1937: ## Platform. ##
                   1938: ## --------- ##
1.9       ohara    1939:
1.10      ohara    1940: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1941: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1942: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1943: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1944: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.9       ohara    1945:
1.10      ohara    1946: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1947: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.9       ohara    1948:
1.10      ohara    1949: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1950: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1951: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1952: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1953: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1954: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1955: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1.9       ohara    1956:
1.10      ohara    1957: _ASUNAME
1.9       ohara    1958:
1.10      ohara    1959: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1960: for as_dir in $PATH
                   1961: do
                   1962:   IFS=$as_save_IFS
                   1963:   test -z "$as_dir" && as_dir=.
                   1964:     $as_echo "PATH: $as_dir"
                   1965:   done
                   1966: IFS=$as_save_IFS
1.9       ohara    1967:
1.10      ohara    1968: } >&5
1.9       ohara    1969:
1.10      ohara    1970: cat >&5 <<_ACEOF
1.9       ohara    1971:
                   1972:
1.10      ohara    1973: ## ----------- ##
                   1974: ## Core tests. ##
                   1975: ## ----------- ##
1.9       ohara    1976:
1.10      ohara    1977: _ACEOF
1.9       ohara    1978:
                   1979:
1.10      ohara    1980: # Keep a trace of the command line.
                   1981: # Strip out --no-create and --no-recursion so they do not pile up.
                   1982: # Strip out --silent because we don't want to record it for future runs.
                   1983: # Also quote any args containing shell meta-characters.
                   1984: # Make two passes to allow for proper duplicate-argument suppression.
                   1985: ac_configure_args=
                   1986: ac_configure_args0=
                   1987: ac_configure_args1=
                   1988: ac_must_keep_next=false
                   1989: for ac_pass in 1 2
                   1990: do
                   1991:   for ac_arg
                   1992:   do
                   1993:     case $ac_arg in
                   1994:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1995:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1996:     | -silent | --silent | --silen | --sile | --sil)
                   1997:       continue ;;
                   1998:     *\'*)
                   1999:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2000:     esac
                   2001:     case $ac_pass in
                   2002:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2003:     2)
                   2004:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2005:       if test $ac_must_keep_next = true; then
                   2006:        ac_must_keep_next=false # Got value, back to normal.
                   2007:       else
                   2008:        case $ac_arg in
                   2009:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2010:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2011:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2012:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2013:            case "$ac_configure_args0 " in
                   2014:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2015:            esac
                   2016:            ;;
                   2017:          -* ) ac_must_keep_next=true ;;
                   2018:        esac
                   2019:       fi
                   2020:       as_fn_append ac_configure_args " '$ac_arg'"
                   2021:       ;;
                   2022:     esac
                   2023:   done
                   2024: done
                   2025: { ac_configure_args0=; unset ac_configure_args0;}
                   2026: { ac_configure_args1=; unset ac_configure_args1;}
1.9       ohara    2027:
1.10      ohara    2028: # When interrupted or exit'd, cleanup temporary files, and complete
                   2029: # config.log.  We remove comments because anyway the quotes in there
                   2030: # would cause problems or look ugly.
                   2031: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2032: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2033: trap 'exit_status=$?
                   2034:   # Save into config.log some information that might help in debugging.
                   2035:   {
                   2036:     echo
1.9       ohara    2037:
1.10      ohara    2038:     $as_echo "## ---------------- ##
                   2039: ## Cache variables. ##
                   2040: ## ---------------- ##"
                   2041:     echo
                   2042:     # The following way of writing the cache mishandles newlines in values,
                   2043: (
                   2044:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2045:     eval ac_val=\$$ac_var
                   2046:     case $ac_val in #(
                   2047:     *${as_nl}*)
                   2048:       case $ac_var in #(
                   2049:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2050: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2051:       esac
                   2052:       case $ac_var in #(
                   2053:       _ | IFS | as_nl) ;; #(
                   2054:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2055:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2056:       esac ;;
                   2057:     esac
                   2058:   done
                   2059:   (set) 2>&1 |
                   2060:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2061:     *${as_nl}ac_space=\ *)
                   2062:       sed -n \
                   2063:        "s/'\''/'\''\\\\'\'''\''/g;
                   2064:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2065:       ;; #(
                   2066:     *)
                   2067:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2068:       ;;
                   2069:     esac |
                   2070:     sort
                   2071: )
                   2072:     echo
1.9       ohara    2073:
1.10      ohara    2074:     $as_echo "## ----------------- ##
                   2075: ## Output variables. ##
                   2076: ## ----------------- ##"
                   2077:     echo
                   2078:     for ac_var in $ac_subst_vars
                   2079:     do
                   2080:       eval ac_val=\$$ac_var
                   2081:       case $ac_val in
                   2082:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.9       ohara    2083:       esac
1.10      ohara    2084:       $as_echo "$ac_var='\''$ac_val'\''"
                   2085:     done | sort
                   2086:     echo
                   2087:
                   2088:     if test -n "$ac_subst_files"; then
                   2089:       $as_echo "## ------------------- ##
                   2090: ## File substitutions. ##
                   2091: ## ------------------- ##"
                   2092:       echo
                   2093:       for ac_var in $ac_subst_files
                   2094:       do
                   2095:        eval ac_val=\$$ac_var
                   2096:        case $ac_val in
                   2097:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2098:        esac
                   2099:        $as_echo "$ac_var='\''$ac_val'\''"
                   2100:       done | sort
                   2101:       echo
                   2102:     fi
                   2103:
                   2104:     if test -s confdefs.h; then
                   2105:       $as_echo "## ----------- ##
                   2106: ## confdefs.h. ##
                   2107: ## ----------- ##"
                   2108:       echo
                   2109:       cat confdefs.h
                   2110:       echo
1.9       ohara    2111:     fi
1.10      ohara    2112:     test "$ac_signal" != 0 &&
                   2113:       $as_echo "$as_me: caught signal $ac_signal"
                   2114:     $as_echo "$as_me: exit $exit_status"
                   2115:   } >&5
                   2116:   rm -f core *.core core.conftest.* &&
                   2117:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2118:     exit $exit_status
                   2119: ' 0
                   2120: for ac_signal in 1 2 13 15; do
                   2121:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2122: done
                   2123: ac_signal=0
1.9       ohara    2124:
1.10      ohara    2125: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2126: rm -f -r conftest* confdefs.h
1.9       ohara    2127:
1.10      ohara    2128: $as_echo "/* confdefs.h */" > confdefs.h
1.9       ohara    2129:
1.10      ohara    2130: # Predefined preprocessor variables.
1.9       ohara    2131:
1.10      ohara    2132: cat >>confdefs.h <<_ACEOF
                   2133: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2134: _ACEOF
1.9       ohara    2135:
1.10      ohara    2136: cat >>confdefs.h <<_ACEOF
                   2137: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2138: _ACEOF
1.9       ohara    2139:
1.10      ohara    2140: cat >>confdefs.h <<_ACEOF
                   2141: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2142: _ACEOF
1.9       ohara    2143:
1.10      ohara    2144: cat >>confdefs.h <<_ACEOF
                   2145: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2146: _ACEOF
1.9       ohara    2147:
1.10      ohara    2148: cat >>confdefs.h <<_ACEOF
                   2149: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2150: _ACEOF
1.9       ohara    2151:
1.10      ohara    2152: cat >>confdefs.h <<_ACEOF
                   2153: #define PACKAGE_URL "$PACKAGE_URL"
                   2154: _ACEOF
1.9       ohara    2155:
                   2156:
1.10      ohara    2157: # Let the site file select an alternate cache file if it wants to.
                   2158: # Prefer an explicitly selected file to automatically selected ones.
                   2159: ac_site_file1=NONE
                   2160: ac_site_file2=NONE
                   2161: if test -n "$CONFIG_SITE"; then
                   2162:   # We do not want a PATH search for config.site.
                   2163:   case $CONFIG_SITE in #((
                   2164:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2165:     */*) ac_site_file1=$CONFIG_SITE;;
                   2166:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2167:   esac
                   2168: elif test "x$prefix" != xNONE; then
                   2169:   ac_site_file1=$prefix/share/config.site
                   2170:   ac_site_file2=$prefix/etc/config.site
                   2171: else
                   2172:   ac_site_file1=$ac_default_prefix/share/config.site
                   2173:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2174: fi
                   2175: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2176: do
                   2177:   test "x$ac_site_file" = xNONE && continue
                   2178:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2179:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2180: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2181:     sed 's/^/| /' "$ac_site_file" >&5
                   2182:     . "$ac_site_file" \
                   2183:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2184: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2185: as_fn_error $? "failed to load site script $ac_site_file
1.12    ! noro     2186: See \`config.log' for more details" "$LINENO" 5 ; }
1.10      ohara    2187:   fi
                   2188: done
1.9       ohara    2189:
1.10      ohara    2190: if test -r "$cache_file"; then
                   2191:   # Some versions of bash will fail to source /dev/null (special files
                   2192:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2193:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2194:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2195: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2196:     case $cache_file in
                   2197:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2198:       *)                      . "./$cache_file";;
                   2199:     esac
1.9       ohara    2200:   fi
1.10      ohara    2201: else
                   2202:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2203: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2204:   >$cache_file
                   2205: fi
                   2206:
                   2207: # Check that the precious variables saved in the cache have kept the same
                   2208: # value.
                   2209: ac_cache_corrupted=false
                   2210: for ac_var in $ac_precious_vars; do
                   2211:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2212:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2213:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2214:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2215:   case $ac_old_set,$ac_new_set in
                   2216:     set,)
                   2217:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2218: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2219:       ac_cache_corrupted=: ;;
                   2220:     ,set)
                   2221:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2222: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2223:       ac_cache_corrupted=: ;;
                   2224:     ,);;
                   2225:     *)
                   2226:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2227:        # differences in whitespace do not lead to failure.
                   2228:        ac_old_val_w=`echo x $ac_old_val`
                   2229:        ac_new_val_w=`echo x $ac_new_val`
                   2230:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2231:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2232: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2233:          ac_cache_corrupted=:
                   2234:        else
                   2235:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2236: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2237:          eval $ac_var=\$ac_old_val
                   2238:        fi
                   2239:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2240: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2241:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2242: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2243:       fi;;
                   2244:   esac
                   2245:   # Pass precious variables to config.status.
                   2246:   if test "$ac_new_set" = set; then
                   2247:     case $ac_new_val in
                   2248:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2249:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2250:     esac
                   2251:     case " $ac_configure_args " in
                   2252:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2253:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2254:     esac
1.9       ohara    2255:   fi
1.10      ohara    2256: done
                   2257: if $ac_cache_corrupted; then
                   2258:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2259: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2260:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2261: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2262:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2263: fi
                   2264: ## -------------------- ##
                   2265: ## Main body of script. ##
                   2266: ## -------------------- ##
1.9       ohara    2267:
1.10      ohara    2268: ac_ext=c
                   2269: ac_cpp='$CPP $CPPFLAGS'
                   2270: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2271: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2272: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    2273:
                   2274:
                   2275:
1.10      ohara    2276: am__api_version='1.11'
1.9       ohara    2277:
1.10      ohara    2278: ac_aux_dir=
                   2279: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2280:   if test -f "$ac_dir/install-sh"; then
                   2281:     ac_aux_dir=$ac_dir
                   2282:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2283:     break
                   2284:   elif test -f "$ac_dir/install.sh"; then
                   2285:     ac_aux_dir=$ac_dir
                   2286:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2287:     break
                   2288:   elif test -f "$ac_dir/shtool"; then
                   2289:     ac_aux_dir=$ac_dir
                   2290:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2291:     break
                   2292:   fi
                   2293: done
                   2294: if test -z "$ac_aux_dir"; then
                   2295:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2296: fi
1.9       ohara    2297:
1.10      ohara    2298: # These three variables are undocumented and unsupported,
                   2299: # and are intended to be withdrawn in a future Autoconf release.
                   2300: # They can cause serious problems if a builder's source tree is in a directory
                   2301: # whose full name contains unusual characters.
                   2302: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2303: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2304: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1.9       ohara    2305:
                   2306:
1.10      ohara    2307: # Find a good install program.  We prefer a C program (faster),
                   2308: # so one script is as good as another.  But avoid the broken or
                   2309: # incompatible versions:
                   2310: # SysV /etc/install, /usr/sbin/install
                   2311: # SunOS /usr/etc/install
                   2312: # IRIX /sbin/install
                   2313: # AIX /bin/install
                   2314: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2315: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2316: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2317: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2318: # OS/2's system install, which has a completely different semantic
                   2319: # ./install, which can be erroneously created by make from ./install.sh.
                   2320: # Reject install programs that cannot install multiple files.
                   2321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2322: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2323: if test -z "$INSTALL"; then
1.12    ! noro     2324: if test "${ac_cv_path_install+set}" = set; then :
1.10      ohara    2325:   $as_echo_n "(cached) " >&6
                   2326: else
                   2327:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2328: for as_dir in $PATH
                   2329: do
                   2330:   IFS=$as_save_IFS
                   2331:   test -z "$as_dir" && as_dir=.
                   2332:     # Account for people who put trailing slashes in PATH elements.
                   2333: case $as_dir/ in #((
                   2334:   ./ | .// | /[cC]/* | \
                   2335:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2336:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2337:   /usr/ucb/* ) ;;
                   2338:   *)
                   2339:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2340:     # Don't use installbsd from OSF since it installs stuff as root
                   2341:     # by default.
                   2342:     for ac_prog in ginstall scoinst install; do
                   2343:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2344:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2345:          if test $ac_prog = install &&
                   2346:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2347:            # AIX install.  It has an incompatible calling convention.
                   2348:            :
                   2349:          elif test $ac_prog = install &&
                   2350:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2351:            # program-specific install script used by HP pwplus--don't use.
                   2352:            :
                   2353:          else
                   2354:            rm -rf conftest.one conftest.two conftest.dir
                   2355:            echo one > conftest.one
                   2356:            echo two > conftest.two
                   2357:            mkdir conftest.dir
                   2358:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2359:              test -s conftest.one && test -s conftest.two &&
                   2360:              test -s conftest.dir/conftest.one &&
                   2361:              test -s conftest.dir/conftest.two
                   2362:            then
                   2363:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2364:              break 3
                   2365:            fi
1.9       ohara    2366:          fi
                   2367:        fi
1.10      ohara    2368:       done
                   2369:     done
                   2370:     ;;
                   2371: esac
1.9       ohara    2372:
1.10      ohara    2373:   done
                   2374: IFS=$as_save_IFS
1.9       ohara    2375:
1.10      ohara    2376: rm -rf conftest.one conftest.two conftest.dir
1.9       ohara    2377:
                   2378: fi
1.10      ohara    2379:   if test "${ac_cv_path_install+set}" = set; then
                   2380:     INSTALL=$ac_cv_path_install
                   2381:   else
                   2382:     # As a last resort, use the slow shell script.  Don't cache a
                   2383:     # value for INSTALL within a source directory, because that will
                   2384:     # break other packages using the cache if that directory is
                   2385:     # removed, or if the value is a relative name.
                   2386:     INSTALL=$ac_install_sh
                   2387:   fi
1.9       ohara    2388: fi
1.10      ohara    2389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2390: $as_echo "$INSTALL" >&6; }
1.9       ohara    2391:
1.10      ohara    2392: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2393: # It thinks the first close brace ends the variable substitution.
                   2394: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.9       ohara    2395:
1.10      ohara    2396: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.9       ohara    2397:
1.10      ohara    2398: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.9       ohara    2399:
1.10      ohara    2400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2401: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2402: # Just in case
                   2403: sleep 1
                   2404: echo timestamp > conftest.file
                   2405: # Reject unsafe characters in $srcdir or the absolute working directory
                   2406: # name.  Accept space and tab only in the latter.
                   2407: am_lf='
                   2408: '
                   2409: case `pwd` in
                   2410:   *[\\\"\#\$\&\'\`$am_lf]*)
1.12    ! noro     2411:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1.10      ohara    2412: esac
                   2413: case $srcdir in
                   2414:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.12    ! noro     2415:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1.9       ohara    2416: esac
                   2417:
1.10      ohara    2418: # Do `set' in a subshell so we don't clobber the current shell's
                   2419: # arguments.  Must try -L first in case configure is actually a
                   2420: # symlink; some systems play weird games with the mod time of symlinks
                   2421: # (eg FreeBSD returns the mod time of the symlink's containing
                   2422: # directory).
                   2423: if (
                   2424:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2425:    if test "$*" = "X"; then
                   2426:       # -L didn't work.
                   2427:       set X `ls -t "$srcdir/configure" conftest.file`
                   2428:    fi
                   2429:    rm -f conftest.file
                   2430:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2431:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.9       ohara    2432:
1.10      ohara    2433:       # If neither matched, then we have a broken ls.  This can happen
                   2434:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2435:       # broken ls alias from the environment.  This has actually
                   2436:       # happened.  Such a system could not be considered "sane".
                   2437:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2438: alias in your environment" "$LINENO" 5
                   2439:    fi
1.9       ohara    2440:
1.10      ohara    2441:    test "$2" = conftest.file
                   2442:    )
                   2443: then
                   2444:    # Ok.
                   2445:    :
                   2446: else
                   2447:    as_fn_error $? "newly created file is older than distributed files!
                   2448: Check your system clock" "$LINENO" 5
                   2449: fi
                   2450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2451: $as_echo "yes" >&6; }
                   2452: test "$program_prefix" != NONE &&
                   2453:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2454: # Use a double $ so make ignores it.
                   2455: test "$program_suffix" != NONE &&
                   2456:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2457: # Double any \ or $.
                   2458: # By default was `s,x,x', remove it if useless.
                   2459: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2460: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.9       ohara    2461:
1.10      ohara    2462: # expand $ac_aux_dir to an absolute path
                   2463: am_aux_dir=`cd $ac_aux_dir && pwd`
1.9       ohara    2464:
1.10      ohara    2465: if test x"${MISSING+set}" != xset; then
                   2466:   case $am_aux_dir in
                   2467:   *\ * | *\    *)
                   2468:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2469:   *)
                   2470:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2471:   esac
                   2472: fi
                   2473: # Use eval to expand $SHELL
                   2474: if eval "$MISSING --run true"; then
                   2475:   am_missing_run="$MISSING --run "
                   2476: else
                   2477:   am_missing_run=
                   2478:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2479: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2480: fi
1.9       ohara    2481:
1.10      ohara    2482: if test x"${install_sh}" != xset; then
                   2483:   case $am_aux_dir in
                   2484:   *\ * | *\    *)
                   2485:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2486:   *)
                   2487:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2488:   esac
                   2489: fi
1.9       ohara    2490:
1.10      ohara    2491: # Installed binaries are usually stripped using `strip' when the user
                   2492: # run `make install-strip'.  However `strip' might not be the right
                   2493: # tool to use in cross-compilation environments, therefore Automake
                   2494: # will honor the `STRIP' environment variable to overrule this program.
                   2495: if test "$cross_compiling" != no; then
                   2496:   if test -n "$ac_tool_prefix"; then
                   2497:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2498: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2500: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     2501: if test "${ac_cv_prog_STRIP+set}" = set; then :
1.10      ohara    2502:   $as_echo_n "(cached) " >&6
1.9       ohara    2503: else
1.10      ohara    2504:   if test -n "$STRIP"; then
                   2505:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.9       ohara    2506: else
                   2507: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2508: for as_dir in $PATH
                   2509: do
                   2510:   IFS=$as_save_IFS
                   2511:   test -z "$as_dir" && as_dir=.
1.10      ohara    2512:     for ac_exec_ext in '' $ac_executable_extensions; do
1.9       ohara    2513:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.10      ohara    2514:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2515:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9       ohara    2516:     break 2
                   2517:   fi
                   2518: done
1.10      ohara    2519:   done
1.9       ohara    2520: IFS=$as_save_IFS
                   2521:
                   2522: fi
                   2523: fi
1.10      ohara    2524: STRIP=$ac_cv_prog_STRIP
                   2525: if test -n "$STRIP"; then
                   2526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2527: $as_echo "$STRIP" >&6; }
1.9       ohara    2528: else
1.10      ohara    2529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2530: $as_echo "no" >&6; }
1.9       ohara    2531: fi
                   2532:
                   2533:
                   2534: fi
1.10      ohara    2535: if test -z "$ac_cv_prog_STRIP"; then
                   2536:   ac_ct_STRIP=$STRIP
                   2537:   # Extract the first word of "strip", so it can be a program name with args.
                   2538: set dummy strip; ac_word=$2
                   2539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2540: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     2541: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1.10      ohara    2542:   $as_echo_n "(cached) " >&6
1.9       ohara    2543: else
1.10      ohara    2544:   if test -n "$ac_ct_STRIP"; then
                   2545:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.9       ohara    2546: else
                   2547: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2548: for as_dir in $PATH
                   2549: do
                   2550:   IFS=$as_save_IFS
                   2551:   test -z "$as_dir" && as_dir=.
1.10      ohara    2552:     for ac_exec_ext in '' $ac_executable_extensions; do
1.9       ohara    2553:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.10      ohara    2554:     ac_cv_prog_ac_ct_STRIP="strip"
                   2555:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9       ohara    2556:     break 2
                   2557:   fi
                   2558: done
1.10      ohara    2559:   done
1.9       ohara    2560: IFS=$as_save_IFS
                   2561:
                   2562: fi
                   2563: fi
1.10      ohara    2564: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2565: if test -n "$ac_ct_STRIP"; then
                   2566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2567: $as_echo "$ac_ct_STRIP" >&6; }
1.9       ohara    2568: else
1.10      ohara    2569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2570: $as_echo "no" >&6; }
1.9       ohara    2571: fi
                   2572:
1.10      ohara    2573:   if test "x$ac_ct_STRIP" = x; then
                   2574:     STRIP=":"
1.9       ohara    2575:   else
                   2576:     case $cross_compiling:$ac_tool_warned in
                   2577: yes:)
1.10      ohara    2578: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2579: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.9       ohara    2580: ac_tool_warned=yes ;;
                   2581: esac
1.10      ohara    2582:     STRIP=$ac_ct_STRIP
1.9       ohara    2583:   fi
                   2584: else
1.10      ohara    2585:   STRIP="$ac_cv_prog_STRIP"
1.9       ohara    2586: fi
                   2587:
                   2588: fi
1.10      ohara    2589: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.9       ohara    2590:
1.10      ohara    2591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2592: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2593: if test -z "$MKDIR_P"; then
1.12    ! noro     2594:   if test "${ac_cv_path_mkdir+set}" = set; then :
1.10      ohara    2595:   $as_echo_n "(cached) " >&6
1.9       ohara    2596: else
1.10      ohara    2597:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2598: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1.9       ohara    2599: do
                   2600:   IFS=$as_save_IFS
                   2601:   test -z "$as_dir" && as_dir=.
1.10      ohara    2602:     for ac_prog in mkdir gmkdir; do
                   2603:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2604:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2605:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2606:             'mkdir (GNU coreutils) '* | \
                   2607:             'mkdir (coreutils) '* | \
                   2608:             'mkdir (fileutils) '4.1*)
                   2609:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2610:               break 3;;
                   2611:           esac
                   2612:         done
                   2613:        done
                   2614:   done
1.9       ohara    2615: IFS=$as_save_IFS
                   2616:
                   2617: fi
                   2618:
1.10      ohara    2619:   test -d ./--version && rmdir ./--version
                   2620:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2621:     MKDIR_P="$ac_cv_path_mkdir -p"
1.9       ohara    2622:   else
1.10      ohara    2623:     # As a last resort, use the slow shell script.  Don't cache a
                   2624:     # value for MKDIR_P within a source directory, because that will
                   2625:     # break other packages using the cache if that directory is
                   2626:     # removed, or if the value is a relative name.
                   2627:     MKDIR_P="$ac_install_sh -d"
1.9       ohara    2628:   fi
                   2629: fi
1.10      ohara    2630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2631: $as_echo "$MKDIR_P" >&6; }
                   2632:
                   2633: mkdir_p="$MKDIR_P"
                   2634: case $mkdir_p in
                   2635:   [\\/$]* | ?:[\\/]*) ;;
                   2636:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2637: esac
1.9       ohara    2638:
1.10      ohara    2639: for ac_prog in gawk mawk nawk awk
                   2640: do
                   2641:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2642: set dummy $ac_prog; ac_word=$2
                   2643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2644: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     2645: if test "${ac_cv_prog_AWK+set}" = set; then :
1.10      ohara    2646:   $as_echo_n "(cached) " >&6
1.9       ohara    2647: else
1.10      ohara    2648:   if test -n "$AWK"; then
                   2649:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.9       ohara    2650: else
                   2651: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2652: for as_dir in $PATH
                   2653: do
                   2654:   IFS=$as_save_IFS
                   2655:   test -z "$as_dir" && as_dir=.
1.10      ohara    2656:     for ac_exec_ext in '' $ac_executable_extensions; do
1.9       ohara    2657:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.10      ohara    2658:     ac_cv_prog_AWK="$ac_prog"
                   2659:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9       ohara    2660:     break 2
                   2661:   fi
                   2662: done
1.10      ohara    2663:   done
1.9       ohara    2664: IFS=$as_save_IFS
                   2665:
                   2666: fi
                   2667: fi
1.10      ohara    2668: AWK=$ac_cv_prog_AWK
                   2669: if test -n "$AWK"; then
                   2670:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2671: $as_echo "$AWK" >&6; }
1.9       ohara    2672: else
1.10      ohara    2673:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2674: $as_echo "no" >&6; }
1.9       ohara    2675: fi
                   2676:
                   2677:
1.10      ohara    2678:   test -n "$AWK" && break
1.9       ohara    2679: done
                   2680:
1.10      ohara    2681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2682: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2683: set x ${MAKE-make}
                   2684: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.12    ! noro     2685: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
1.10      ohara    2686:   $as_echo_n "(cached) " >&6
                   2687: else
                   2688:   cat >conftest.make <<\_ACEOF
                   2689: SHELL = /bin/sh
                   2690: all:
                   2691:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2692: _ACEOF
                   2693: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2694: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2695:   *@@@%%%=?*=@@@%%%*)
                   2696:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2697:   *)
                   2698:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2699: esac
                   2700: rm -f conftest.make
1.9       ohara    2701: fi
1.10      ohara    2702: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2703:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2704: $as_echo "yes" >&6; }
                   2705:   SET_MAKE=
                   2706: else
                   2707:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2708: $as_echo "no" >&6; }
                   2709:   SET_MAKE="MAKE=${MAKE-make}"
1.9       ohara    2710: fi
1.10      ohara    2711:
                   2712: rm -rf .tst 2>/dev/null
                   2713: mkdir .tst 2>/dev/null
                   2714: if test -d .tst; then
                   2715:   am__leading_dot=.
1.9       ohara    2716: else
1.10      ohara    2717:   am__leading_dot=_
                   2718: fi
                   2719: rmdir .tst 2>/dev/null
                   2720:
                   2721: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2722:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2723:   # is not polluted with repeated "-I."
                   2724:   am__isrc=' -I$(srcdir)'
                   2725:   # test to see if srcdir already configured
                   2726:   if test -f $srcdir/config.status; then
                   2727:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2728:   fi
1.9       ohara    2729: fi
                   2730:
1.10      ohara    2731: # test whether we have cygpath
                   2732: if test -z "$CYGPATH_W"; then
                   2733:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2734:     CYGPATH_W='cygpath -w'
1.9       ohara    2735:   else
1.10      ohara    2736:     CYGPATH_W=echo
1.9       ohara    2737:   fi
                   2738: fi
                   2739:
                   2740:
1.10      ohara    2741: # Define the identity of the package.
                   2742:  PACKAGE=ox_toolkit
                   2743:  VERSION=20040628
                   2744:
                   2745:
                   2746: cat >>confdefs.h <<_ACEOF
                   2747: #define PACKAGE "$PACKAGE"
                   2748: _ACEOF
                   2749:
                   2750:
                   2751: cat >>confdefs.h <<_ACEOF
                   2752: #define VERSION "$VERSION"
                   2753: _ACEOF
                   2754:
                   2755: # Some tools Automake needs.
                   2756:
                   2757: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2758:
                   2759:
                   2760: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2761:
                   2762:
                   2763: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2764:
1.9       ohara    2765:
1.10      ohara    2766: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.9       ohara    2767:
                   2768:
1.10      ohara    2769: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.9       ohara    2770:
1.10      ohara    2771: # We need awk for the "check" target.  The system "awk" is bad on
                   2772: # some platforms.
                   2773: # Always define AMTAR for backward compatibility.
1.9       ohara    2774:
1.10      ohara    2775: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.9       ohara    2776:
1.10      ohara    2777: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1.9       ohara    2778:
                   2779:
                   2780:
                   2781:
                   2782:
                   2783:
1.10      ohara    2784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   2785: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
                   2786:     # Check whether --enable-maintainer-mode was given.
                   2787: if test "${enable_maintainer_mode+set}" = set; then :
                   2788:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
                   2789: else
                   2790:   USE_MAINTAINER_MODE=no
1.9       ohara    2791: fi
                   2792:
1.10      ohara    2793:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
                   2794: $as_echo "$USE_MAINTAINER_MODE" >&6; }
                   2795:    if test $USE_MAINTAINER_MODE = yes; then
                   2796:   MAINTAINER_MODE_TRUE=
                   2797:   MAINTAINER_MODE_FALSE='#'
1.9       ohara    2798: else
1.10      ohara    2799:   MAINTAINER_MODE_TRUE='#'
                   2800:   MAINTAINER_MODE_FALSE=
1.9       ohara    2801: fi
                   2802:
1.10      ohara    2803:   MAINT=$MAINTAINER_MODE_TRUE
                   2804:
                   2805:
                   2806: # Make sure we can run config.sub.
                   2807: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2808:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2809:
                   2810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2811: $as_echo_n "checking build system type... " >&6; }
1.12    ! noro     2812: if test "${ac_cv_build+set}" = set; then :
1.10      ohara    2813:   $as_echo_n "(cached) " >&6
                   2814: else
                   2815:   ac_build_alias=$build_alias
                   2816: test "x$ac_build_alias" = x &&
                   2817:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2818: test "x$ac_build_alias" = x &&
                   2819:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2820: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2821:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2822:
1.9       ohara    2823: fi
1.10      ohara    2824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2825: $as_echo "$ac_cv_build" >&6; }
                   2826: case $ac_cv_build in
                   2827: *-*-*) ;;
1.12    ! noro     2828: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
1.9       ohara    2829: esac
1.10      ohara    2830: build=$ac_cv_build
                   2831: ac_save_IFS=$IFS; IFS='-'
                   2832: set x $ac_cv_build
                   2833: shift
                   2834: build_cpu=$1
                   2835: build_vendor=$2
                   2836: shift; shift
                   2837: # Remember, the first character of IFS is used to create $*,
                   2838: # except with old shells:
                   2839: build_os=$*
                   2840: IFS=$ac_save_IFS
                   2841: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.9       ohara    2842:
                   2843:
1.10      ohara    2844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2845: $as_echo_n "checking host system type... " >&6; }
1.12    ! noro     2846: if test "${ac_cv_host+set}" = set; then :
1.10      ohara    2847:   $as_echo_n "(cached) " >&6
                   2848: else
                   2849:   if test "x$host_alias" = x; then
                   2850:   ac_cv_host=$ac_cv_build
                   2851: else
                   2852:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2853:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.9       ohara    2854: fi
                   2855:
1.10      ohara    2856: fi
                   2857: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2858: $as_echo "$ac_cv_host" >&6; }
                   2859: case $ac_cv_host in
                   2860: *-*-*) ;;
1.12    ! noro     2861: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
1.10      ohara    2862: esac
                   2863: host=$ac_cv_host
                   2864: ac_save_IFS=$IFS; IFS='-'
                   2865: set x $ac_cv_host
                   2866: shift
                   2867: host_cpu=$1
                   2868: host_vendor=$2
                   2869: shift; shift
                   2870: # Remember, the first character of IFS is used to create $*,
                   2871: # except with old shells:
                   2872: host_os=$*
                   2873: IFS=$ac_save_IFS
                   2874: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.9       ohara    2875:
                   2876:
1.10      ohara    2877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2878: $as_echo_n "checking target system type... " >&6; }
1.12    ! noro     2879: if test "${ac_cv_target+set}" = set; then :
1.10      ohara    2880:   $as_echo_n "(cached) " >&6
                   2881: else
                   2882:   if test "x$target_alias" = x; then
                   2883:   ac_cv_target=$ac_cv_host
1.9       ohara    2884: else
1.10      ohara    2885:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
                   2886:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
                   2887: fi
                   2888:
1.9       ohara    2889: fi
1.10      ohara    2890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2891: $as_echo "$ac_cv_target" >&6; }
                   2892: case $ac_cv_target in
                   2893: *-*-*) ;;
1.12    ! noro     2894: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
1.10      ohara    2895: esac
                   2896: target=$ac_cv_target
                   2897: ac_save_IFS=$IFS; IFS='-'
                   2898: set x $ac_cv_target
                   2899: shift
                   2900: target_cpu=$1
                   2901: target_vendor=$2
                   2902: shift; shift
                   2903: # Remember, the first character of IFS is used to create $*,
                   2904: # except with old shells:
                   2905: target_os=$*
                   2906: IFS=$ac_save_IFS
                   2907: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2908:
1.9       ohara    2909:
1.10      ohara    2910: # The aliases save the names the user supplied, while $host etc.
                   2911: # will get canonicalized.
                   2912: test -n "$target_alias" &&
                   2913:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2914:     NONENONEs,x,x, &&
                   2915:   program_prefix=${target_alias}-
1.9       ohara    2916:
                   2917: ac_ext=c
                   2918: ac_cpp='$CPP $CPPFLAGS'
                   2919: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2920: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2921: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      ohara    2922: if test -n "$ac_tool_prefix"; then
                   2923:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2924: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2926: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     2927: if test "${ac_cv_prog_CC+set}" = set; then :
1.10      ohara    2928:   $as_echo_n "(cached) " >&6
                   2929: else
                   2930:   if test -n "$CC"; then
                   2931:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2932: else
                   2933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2934: for as_dir in $PATH
                   2935: do
                   2936:   IFS=$as_save_IFS
                   2937:   test -z "$as_dir" && as_dir=.
                   2938:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2939:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2940:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2941:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2942:     break 2
                   2943:   fi
                   2944: done
                   2945:   done
                   2946: IFS=$as_save_IFS
1.9       ohara    2947:
1.10      ohara    2948: fi
                   2949: fi
                   2950: CC=$ac_cv_prog_CC
                   2951: if test -n "$CC"; then
                   2952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2953: $as_echo "$CC" >&6; }
                   2954: else
                   2955:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2956: $as_echo "no" >&6; }
                   2957: fi
1.9       ohara    2958:
                   2959:
1.10      ohara    2960: fi
                   2961: if test -z "$ac_cv_prog_CC"; then
                   2962:   ac_ct_CC=$CC
                   2963:   # Extract the first word of "gcc", so it can be a program name with args.
                   2964: set dummy gcc; ac_word=$2
                   2965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2966: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     2967: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1.10      ohara    2968:   $as_echo_n "(cached) " >&6
                   2969: else
                   2970:   if test -n "$ac_ct_CC"; then
                   2971:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2972: else
                   2973: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2974: for as_dir in $PATH
                   2975: do
                   2976:   IFS=$as_save_IFS
                   2977:   test -z "$as_dir" && as_dir=.
                   2978:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2979:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2980:     ac_cv_prog_ac_ct_CC="gcc"
                   2981:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2982:     break 2
                   2983:   fi
                   2984: done
                   2985:   done
                   2986: IFS=$as_save_IFS
1.9       ohara    2987:
1.10      ohara    2988: fi
                   2989: fi
                   2990: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2991: if test -n "$ac_ct_CC"; then
                   2992:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2993: $as_echo "$ac_ct_CC" >&6; }
                   2994: else
                   2995:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2996: $as_echo "no" >&6; }
                   2997: fi
1.9       ohara    2998:
1.10      ohara    2999:   if test "x$ac_ct_CC" = x; then
                   3000:     CC=""
                   3001:   else
                   3002:     case $cross_compiling:$ac_tool_warned in
                   3003: yes:)
                   3004: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3005: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3006: ac_tool_warned=yes ;;
                   3007: esac
                   3008:     CC=$ac_ct_CC
                   3009:   fi
                   3010: else
                   3011:   CC="$ac_cv_prog_CC"
                   3012: fi
1.9       ohara    3013:
1.10      ohara    3014: if test -z "$CC"; then
                   3015:           if test -n "$ac_tool_prefix"; then
                   3016:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3017: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3019: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     3020: if test "${ac_cv_prog_CC+set}" = set; then :
1.10      ohara    3021:   $as_echo_n "(cached) " >&6
                   3022: else
                   3023:   if test -n "$CC"; then
                   3024:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3025: else
                   3026: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3027: for as_dir in $PATH
                   3028: do
                   3029:   IFS=$as_save_IFS
                   3030:   test -z "$as_dir" && as_dir=.
                   3031:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3032:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3033:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3034:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3035:     break 2
                   3036:   fi
                   3037: done
                   3038:   done
                   3039: IFS=$as_save_IFS
1.9       ohara    3040:
1.10      ohara    3041: fi
                   3042: fi
                   3043: CC=$ac_cv_prog_CC
                   3044: if test -n "$CC"; then
                   3045:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3046: $as_echo "$CC" >&6; }
                   3047: else
                   3048:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3049: $as_echo "no" >&6; }
                   3050: fi
1.9       ohara    3051:
                   3052:
1.10      ohara    3053:   fi
                   3054: fi
                   3055: if test -z "$CC"; then
                   3056:   # Extract the first word of "cc", so it can be a program name with args.
                   3057: set dummy cc; ac_word=$2
                   3058: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3059: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     3060: if test "${ac_cv_prog_CC+set}" = set; then :
1.10      ohara    3061:   $as_echo_n "(cached) " >&6
                   3062: else
                   3063:   if test -n "$CC"; then
                   3064:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.9       ohara    3065: else
1.10      ohara    3066:   ac_prog_rejected=no
                   3067: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3068: for as_dir in $PATH
                   3069: do
                   3070:   IFS=$as_save_IFS
                   3071:   test -z "$as_dir" && as_dir=.
                   3072:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3073:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3074:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3075:        ac_prog_rejected=yes
                   3076:        continue
1.9       ohara    3077:      fi
1.10      ohara    3078:     ac_cv_prog_CC="cc"
                   3079:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3080:     break 2
                   3081:   fi
                   3082: done
                   3083:   done
                   3084: IFS=$as_save_IFS
1.9       ohara    3085:
1.10      ohara    3086: if test $ac_prog_rejected = yes; then
                   3087:   # We found a bogon in the path, so make sure we never use it.
                   3088:   set dummy $ac_cv_prog_CC
                   3089:   shift
                   3090:   if test $# != 0; then
                   3091:     # We chose a different compiler from the bogus one.
                   3092:     # However, it has the same basename, so the bogon will be chosen
                   3093:     # first if we set CC to just the basename; use the full file name.
                   3094:     shift
                   3095:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3096:   fi
1.9       ohara    3097: fi
1.10      ohara    3098: fi
                   3099: fi
                   3100: CC=$ac_cv_prog_CC
                   3101: if test -n "$CC"; then
                   3102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3103: $as_echo "$CC" >&6; }
1.9       ohara    3104: else
1.10      ohara    3105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3106: $as_echo "no" >&6; }
1.9       ohara    3107: fi
                   3108:
1.10      ohara    3109:
1.9       ohara    3110: fi
1.10      ohara    3111: if test -z "$CC"; then
                   3112:   if test -n "$ac_tool_prefix"; then
                   3113:   for ac_prog in cl.exe
                   3114:   do
                   3115:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3116: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3118: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     3119: if test "${ac_cv_prog_CC+set}" = set; then :
1.10      ohara    3120:   $as_echo_n "(cached) " >&6
                   3121: else
                   3122:   if test -n "$CC"; then
                   3123:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3124: else
                   3125: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3126: for as_dir in $PATH
                   3127: do
                   3128:   IFS=$as_save_IFS
                   3129:   test -z "$as_dir" && as_dir=.
                   3130:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3131:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3132:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3133:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3134:     break 2
                   3135:   fi
                   3136: done
                   3137:   done
                   3138: IFS=$as_save_IFS
1.9       ohara    3139:
1.10      ohara    3140: fi
                   3141: fi
                   3142: CC=$ac_cv_prog_CC
                   3143: if test -n "$CC"; then
                   3144:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3145: $as_echo "$CC" >&6; }
                   3146: else
                   3147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3148: $as_echo "no" >&6; }
                   3149: fi
1.9       ohara    3150:
                   3151:
1.10      ohara    3152:     test -n "$CC" && break
                   3153:   done
                   3154: fi
                   3155: if test -z "$CC"; then
                   3156:   ac_ct_CC=$CC
                   3157:   for ac_prog in cl.exe
                   3158: do
                   3159:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3160: set dummy $ac_prog; ac_word=$2
                   3161: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3162: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     3163: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1.10      ohara    3164:   $as_echo_n "(cached) " >&6
                   3165: else
                   3166:   if test -n "$ac_ct_CC"; then
                   3167:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3168: else
                   3169: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3170: for as_dir in $PATH
                   3171: do
                   3172:   IFS=$as_save_IFS
                   3173:   test -z "$as_dir" && as_dir=.
                   3174:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3175:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3176:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3177:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3178:     break 2
                   3179:   fi
                   3180: done
                   3181:   done
                   3182: IFS=$as_save_IFS
1.9       ohara    3183:
1.10      ohara    3184: fi
                   3185: fi
                   3186: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3187: if test -n "$ac_ct_CC"; then
                   3188:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3189: $as_echo "$ac_ct_CC" >&6; }
                   3190: else
                   3191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3192: $as_echo "no" >&6; }
                   3193: fi
1.9       ohara    3194:
                   3195:
1.10      ohara    3196:   test -n "$ac_ct_CC" && break
                   3197: done
1.9       ohara    3198:
1.10      ohara    3199:   if test "x$ac_ct_CC" = x; then
                   3200:     CC=""
1.9       ohara    3201:   else
1.10      ohara    3202:     case $cross_compiling:$ac_tool_warned in
                   3203: yes:)
                   3204: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3205: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3206: ac_tool_warned=yes ;;
                   3207: esac
                   3208:     CC=$ac_ct_CC
                   3209:   fi
                   3210: fi
1.9       ohara    3211:
1.10      ohara    3212: fi
1.9       ohara    3213:
                   3214:
1.10      ohara    3215: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3216: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3217: as_fn_error $? "no acceptable C compiler found in \$PATH
1.12    ! noro     3218: See \`config.log' for more details" "$LINENO" 5 ; }
1.9       ohara    3219:
1.10      ohara    3220: # Provide some information about the compiler.
                   3221: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3222: set X $ac_compile
                   3223: ac_compiler=$2
                   3224: for ac_option in --version -v -V -qversion; do
                   3225:   { { ac_try="$ac_compiler $ac_option >&5"
                   3226: case "(($ac_try" in
                   3227:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3228:   *) ac_try_echo=$ac_try;;
                   3229: esac
                   3230: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3231: $as_echo "$ac_try_echo"; } >&5
                   3232:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3233:   ac_status=$?
                   3234:   if test -s conftest.err; then
                   3235:     sed '10a\
                   3236: ... rest of stderr output deleted ...
                   3237:          10q' conftest.err >conftest.er1
                   3238:     cat conftest.er1 >&5
                   3239:   fi
                   3240:   rm -f conftest.er1 conftest.err
                   3241:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3242:   test $ac_status = 0; }
                   3243: done
1.9       ohara    3244:
1.10      ohara    3245: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3246: /* end confdefs.h.  */
1.9       ohara    3247:
1.10      ohara    3248: int
                   3249: main ()
                   3250: {
1.9       ohara    3251:
1.10      ohara    3252:   ;
                   3253:   return 0;
                   3254: }
                   3255: _ACEOF
                   3256: ac_clean_files_save=$ac_clean_files
                   3257: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3258: # Try to create an executable without -o first, disregard a.out.
                   3259: # It will help us diagnose broken compilers, and finding out an intuition
                   3260: # of exeext.
                   3261: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3262: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3263: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.9       ohara    3264:
1.10      ohara    3265: # The possible output files:
                   3266: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1.9       ohara    3267:
1.10      ohara    3268: ac_rmfiles=
                   3269: for ac_file in $ac_files
                   3270: do
                   3271:   case $ac_file in
                   3272:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3273:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3274:   esac
                   3275: done
                   3276: rm -f $ac_rmfiles
1.9       ohara    3277:
1.10      ohara    3278: if { { ac_try="$ac_link_default"
                   3279: case "(($ac_try" in
                   3280:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3281:   *) ac_try_echo=$ac_try;;
                   3282: esac
                   3283: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3284: $as_echo "$ac_try_echo"; } >&5
                   3285:   (eval "$ac_link_default") 2>&5
                   3286:   ac_status=$?
                   3287:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3288:   test $ac_status = 0; }; then :
                   3289:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3290: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3291: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3292: # so that the user can short-circuit this test for compilers unknown to
                   3293: # Autoconf.
                   3294: for ac_file in $ac_files ''
                   3295: do
                   3296:   test -f "$ac_file" || continue
                   3297:   case $ac_file in
                   3298:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3299:        ;;
                   3300:     [ab].out )
                   3301:        # We found the default executable, but exeext='' is most
                   3302:        # certainly right.
                   3303:        break;;
                   3304:     *.* )
                   3305:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3306:        then :; else
                   3307:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3308:        fi
                   3309:        # We set ac_cv_exeext here because the later test for it is not
                   3310:        # safe: cross compilers may not add the suffix if given an `-o'
                   3311:        # argument, so we may need to know it at that point already.
                   3312:        # Even if this section looks crufty: it has the advantage of
                   3313:        # actually working.
                   3314:        break;;
                   3315:     * )
                   3316:        break;;
                   3317:   esac
                   3318: done
                   3319: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.9       ohara    3320:
1.10      ohara    3321: else
                   3322:   ac_file=''
                   3323: fi
                   3324: if test -z "$ac_file"; then :
                   3325:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3326: $as_echo "no" >&6; }
                   3327: $as_echo "$as_me: failed program was:" >&5
                   3328: sed 's/^/| /' conftest.$ac_ext >&5
                   3329:
                   3330: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3331: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3332: as_fn_error 77 "C compiler cannot create executables
1.12    ! noro     3333: See \`config.log' for more details" "$LINENO" 5 ; }
1.10      ohara    3334: else
                   3335:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3336: $as_echo "yes" >&6; }
                   3337: fi
                   3338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3339: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3341: $as_echo "$ac_file" >&6; }
                   3342: ac_exeext=$ac_cv_exeext
1.9       ohara    3343:
1.10      ohara    3344: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3345: ac_clean_files=$ac_clean_files_save
                   3346: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3347: $as_echo_n "checking for suffix of executables... " >&6; }
                   3348: if { { ac_try="$ac_link"
                   3349: case "(($ac_try" in
                   3350:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3351:   *) ac_try_echo=$ac_try;;
                   3352: esac
                   3353: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3354: $as_echo "$ac_try_echo"; } >&5
                   3355:   (eval "$ac_link") 2>&5
                   3356:   ac_status=$?
                   3357:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3358:   test $ac_status = 0; }; then :
                   3359:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3360: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3361: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3362: # `rm'.
                   3363: for ac_file in conftest.exe conftest conftest.*; do
                   3364:   test -f "$ac_file" || continue
                   3365:   case $ac_file in
                   3366:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3367:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3368:          break;;
                   3369:     * ) break;;
                   3370:   esac
                   3371: done
                   3372: else
                   3373:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3374: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3375: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.12    ! noro     3376: See \`config.log' for more details" "$LINENO" 5 ; }
1.10      ohara    3377: fi
                   3378: rm -f conftest conftest$ac_cv_exeext
                   3379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3380: $as_echo "$ac_cv_exeext" >&6; }
1.9       ohara    3381:
1.10      ohara    3382: rm -f conftest.$ac_ext
                   3383: EXEEXT=$ac_cv_exeext
                   3384: ac_exeext=$EXEEXT
                   3385: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3386: /* end confdefs.h.  */
                   3387: #include <stdio.h>
                   3388: int
                   3389: main ()
                   3390: {
                   3391: FILE *f = fopen ("conftest.out", "w");
                   3392:  return ferror (f) || fclose (f) != 0;
1.9       ohara    3393:
1.10      ohara    3394:   ;
                   3395:   return 0;
                   3396: }
                   3397: _ACEOF
                   3398: ac_clean_files="$ac_clean_files conftest.out"
                   3399: # Check that the compiler produces executables we can run.  If not, either
                   3400: # the compiler is broken, or we cross compile.
                   3401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3402: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3403: if test "$cross_compiling" != yes; then
                   3404:   { { ac_try="$ac_link"
                   3405: case "(($ac_try" in
                   3406:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3407:   *) ac_try_echo=$ac_try;;
                   3408: esac
                   3409: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3410: $as_echo "$ac_try_echo"; } >&5
                   3411:   (eval "$ac_link") 2>&5
                   3412:   ac_status=$?
                   3413:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3414:   test $ac_status = 0; }
                   3415:   if { ac_try='./conftest$ac_cv_exeext'
                   3416:   { { case "(($ac_try" in
                   3417:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3418:   *) ac_try_echo=$ac_try;;
                   3419: esac
                   3420: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3421: $as_echo "$ac_try_echo"; } >&5
                   3422:   (eval "$ac_try") 2>&5
                   3423:   ac_status=$?
                   3424:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3425:   test $ac_status = 0; }; }; then
                   3426:     cross_compiling=no
                   3427:   else
                   3428:     if test "$cross_compiling" = maybe; then
                   3429:        cross_compiling=yes
                   3430:     else
                   3431:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3432: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3433: as_fn_error $? "cannot run C compiled programs.
                   3434: If you meant to cross compile, use \`--host'.
1.12    ! noro     3435: See \`config.log' for more details" "$LINENO" 5 ; }
1.10      ohara    3436:     fi
1.9       ohara    3437:   fi
1.10      ohara    3438: fi
                   3439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3440: $as_echo "$cross_compiling" >&6; }
1.9       ohara    3441:
1.10      ohara    3442: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3443: ac_clean_files=$ac_clean_files_save
                   3444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3445: $as_echo_n "checking for suffix of object files... " >&6; }
1.12    ! noro     3446: if test "${ac_cv_objext+set}" = set; then :
1.10      ohara    3447:   $as_echo_n "(cached) " >&6
                   3448: else
                   3449:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3450: /* end confdefs.h.  */
1.9       ohara    3451:
1.10      ohara    3452: int
                   3453: main ()
                   3454: {
1.9       ohara    3455:
1.10      ohara    3456:   ;
                   3457:   return 0;
                   3458: }
                   3459: _ACEOF
                   3460: rm -f conftest.o conftest.obj
                   3461: if { { ac_try="$ac_compile"
                   3462: case "(($ac_try" in
                   3463:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3464:   *) ac_try_echo=$ac_try;;
                   3465: esac
                   3466: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3467: $as_echo "$ac_try_echo"; } >&5
                   3468:   (eval "$ac_compile") 2>&5
                   3469:   ac_status=$?
                   3470:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3471:   test $ac_status = 0; }; then :
                   3472:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3473:   test -f "$ac_file" || continue;
                   3474:   case $ac_file in
                   3475:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3476:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3477:        break;;
                   3478:   esac
                   3479: done
                   3480: else
                   3481:   $as_echo "$as_me: failed program was:" >&5
                   3482: sed 's/^/| /' conftest.$ac_ext >&5
1.9       ohara    3483:
1.10      ohara    3484: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3485: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3486: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.12    ! noro     3487: See \`config.log' for more details" "$LINENO" 5 ; }
1.9       ohara    3488: fi
1.10      ohara    3489: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3490: fi
                   3491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3492: $as_echo "$ac_cv_objext" >&6; }
                   3493: OBJEXT=$ac_cv_objext
                   3494: ac_objext=$OBJEXT
                   3495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3496: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.12    ! noro     3497: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1.10      ohara    3498:   $as_echo_n "(cached) " >&6
                   3499: else
                   3500:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3501: /* end confdefs.h.  */
                   3502:
                   3503: int
                   3504: main ()
                   3505: {
                   3506: #ifndef __GNUC__
                   3507:        choke me
                   3508: #endif
1.9       ohara    3509:
1.10      ohara    3510:   ;
                   3511:   return 0;
                   3512: }
                   3513: _ACEOF
                   3514: if ac_fn_c_try_compile "$LINENO"; then :
                   3515:   ac_compiler_gnu=yes
1.9       ohara    3516: else
1.10      ohara    3517:   ac_compiler_gnu=no
1.9       ohara    3518: fi
1.10      ohara    3519: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3520: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.9       ohara    3521:
                   3522: fi
1.10      ohara    3523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3524: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3525: if test $ac_compiler_gnu = yes; then
                   3526:   GCC=yes
                   3527: else
                   3528:   GCC=
                   3529: fi
                   3530: ac_test_CFLAGS=${CFLAGS+set}
                   3531: ac_save_CFLAGS=$CFLAGS
                   3532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3533: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.12    ! noro     3534: if test "${ac_cv_prog_cc_g+set}" = set; then :
1.10      ohara    3535:   $as_echo_n "(cached) " >&6
1.9       ohara    3536: else
1.10      ohara    3537:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3538:    ac_c_werror_flag=yes
                   3539:    ac_cv_prog_cc_g=no
                   3540:    CFLAGS="-g"
                   3541:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3542: /* end confdefs.h.  */
1.9       ohara    3543:
1.10      ohara    3544: int
                   3545: main ()
                   3546: {
1.9       ohara    3547:
1.10      ohara    3548:   ;
                   3549:   return 0;
                   3550: }
                   3551: _ACEOF
                   3552: if ac_fn_c_try_compile "$LINENO"; then :
                   3553:   ac_cv_prog_cc_g=yes
1.9       ohara    3554: else
1.10      ohara    3555:   CFLAGS=""
                   3556:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3557: /* end confdefs.h.  */
                   3558:
                   3559: int
                   3560: main ()
                   3561: {
1.9       ohara    3562:
1.10      ohara    3563:   ;
                   3564:   return 0;
                   3565: }
                   3566: _ACEOF
                   3567: if ac_fn_c_try_compile "$LINENO"; then :
1.9       ohara    3568:
                   3569: else
1.10      ohara    3570:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3571:         CFLAGS="-g"
                   3572:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3573: /* end confdefs.h.  */
1.9       ohara    3574:
1.10      ohara    3575: int
                   3576: main ()
                   3577: {
1.9       ohara    3578:
1.10      ohara    3579:   ;
                   3580:   return 0;
                   3581: }
                   3582: _ACEOF
                   3583: if ac_fn_c_try_compile "$LINENO"; then :
                   3584:   ac_cv_prog_cc_g=yes
                   3585: fi
                   3586: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3587: fi
                   3588: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    3589: fi
1.10      ohara    3590: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3591:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3592: fi
                   3593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3594: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3595: if test "$ac_test_CFLAGS" = set; then
                   3596:   CFLAGS=$ac_save_CFLAGS
                   3597: elif test $ac_cv_prog_cc_g = yes; then
                   3598:   if test "$GCC" = yes; then
                   3599:     CFLAGS="-g -O2"
                   3600:   else
                   3601:     CFLAGS="-g"
1.9       ohara    3602:   fi
                   3603: else
1.10      ohara    3604:   if test "$GCC" = yes; then
                   3605:     CFLAGS="-O2"
                   3606:   else
                   3607:     CFLAGS=
                   3608:   fi
1.9       ohara    3609: fi
1.10      ohara    3610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3611: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.12    ! noro     3612: if test "${ac_cv_prog_cc_c89+set}" = set; then :
1.10      ohara    3613:   $as_echo_n "(cached) " >&6
                   3614: else
                   3615:   ac_cv_prog_cc_c89=no
                   3616: ac_save_CC=$CC
                   3617: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3618: /* end confdefs.h.  */
                   3619: #include <stdarg.h>
                   3620: #include <stdio.h>
                   3621: #include <sys/types.h>
                   3622: #include <sys/stat.h>
                   3623: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3624: struct buf { int x; };
                   3625: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3626: static char *e (p, i)
                   3627:      char **p;
                   3628:      int i;
                   3629: {
                   3630:   return p[i];
                   3631: }
                   3632: static char *f (char * (*g) (char **, int), char **p, ...)
                   3633: {
                   3634:   char *s;
                   3635:   va_list v;
                   3636:   va_start (v,p);
                   3637:   s = g (p, va_arg (v,int));
                   3638:   va_end (v);
                   3639:   return s;
                   3640: }
                   3641:
                   3642: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3643:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3644:    These don't provoke an error unfortunately, instead are silently treated
                   3645:    as 'x'.  The following induces an error, until -std is added to get
                   3646:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3647:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3648:    that's true only with -std.  */
                   3649: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.9       ohara    3650:
1.10      ohara    3651: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3652:    inside strings and character constants.  */
                   3653: #define FOO(x) 'x'
                   3654: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.9       ohara    3655:
1.10      ohara    3656: int test (int i, double x);
                   3657: struct s1 {int (*f) (int a);};
                   3658: struct s2 {int (*f) (double a);};
                   3659: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3660: int argc;
                   3661: char **argv;
                   3662: int
                   3663: main ()
                   3664: {
                   3665: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3666:   ;
                   3667:   return 0;
                   3668: }
                   3669: _ACEOF
                   3670: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3671:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3672: do
                   3673:   CC="$ac_save_CC $ac_arg"
                   3674:   if ac_fn_c_try_compile "$LINENO"; then :
                   3675:   ac_cv_prog_cc_c89=$ac_arg
                   3676: fi
                   3677: rm -f core conftest.err conftest.$ac_objext
                   3678:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.9       ohara    3679: done
1.10      ohara    3680: rm -f conftest.$ac_ext
                   3681: CC=$ac_save_CC
1.9       ohara    3682:
1.10      ohara    3683: fi
                   3684: # AC_CACHE_VAL
                   3685: case "x$ac_cv_prog_cc_c89" in
                   3686:   x)
                   3687:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3688: $as_echo "none needed" >&6; } ;;
                   3689:   xno)
                   3690:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3691: $as_echo "unsupported" >&6; } ;;
                   3692:   *)
                   3693:     CC="$CC $ac_cv_prog_cc_c89"
                   3694:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3695: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3696: esac
                   3697: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.9       ohara    3698:
1.10      ohara    3699: fi
1.9       ohara    3700:
1.10      ohara    3701: ac_ext=c
                   3702: ac_cpp='$CPP $CPPFLAGS'
                   3703: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3704: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3705: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3706: DEPDIR="${am__leading_dot}deps"
1.9       ohara    3707:
1.10      ohara    3708: ac_config_commands="$ac_config_commands depfiles"
1.9       ohara    3709:
                   3710:
1.10      ohara    3711: am_make=${MAKE-make}
                   3712: cat > confinc << 'END'
                   3713: am__doit:
                   3714:        @echo this is the am__doit target
                   3715: .PHONY: am__doit
                   3716: END
                   3717: # If we don't find an include directive, just comment out the code.
                   3718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3719: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3720: am__include="#"
                   3721: am__quote=
                   3722: _am_result=none
                   3723: # First try GNU make style include.
                   3724: echo "include confinc" > confmf
                   3725: # Ignore all kinds of additional output from `make'.
                   3726: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3727: *the\ am__doit\ target*)
                   3728:   am__include=include
                   3729:   am__quote=
                   3730:   _am_result=GNU
                   3731:   ;;
                   3732: esac
                   3733: # Now try BSD make style include.
                   3734: if test "$am__include" = "#"; then
                   3735:    echo '.include "confinc"' > confmf
                   3736:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3737:    *the\ am__doit\ target*)
                   3738:      am__include=.include
                   3739:      am__quote="\""
                   3740:      _am_result=BSD
                   3741:      ;;
                   3742:    esac
                   3743: fi
1.9       ohara    3744:
                   3745:
1.10      ohara    3746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3747: $as_echo "$_am_result" >&6; }
                   3748: rm -f confinc confmf
1.9       ohara    3749:
1.10      ohara    3750: # Check whether --enable-dependency-tracking was given.
                   3751: if test "${enable_dependency_tracking+set}" = set; then :
                   3752:   enableval=$enable_dependency_tracking;
                   3753: fi
1.9       ohara    3754:
1.10      ohara    3755: if test "x$enable_dependency_tracking" != xno; then
                   3756:   am_depcomp="$ac_aux_dir/depcomp"
                   3757:   AMDEPBACKSLASH='\'
                   3758: fi
                   3759:  if test "x$enable_dependency_tracking" != xno; then
                   3760:   AMDEP_TRUE=
                   3761:   AMDEP_FALSE='#'
                   3762: else
                   3763:   AMDEP_TRUE='#'
                   3764:   AMDEP_FALSE=
                   3765: fi
1.9       ohara    3766:
                   3767:
                   3768:
1.10      ohara    3769: depcc="$CC"   am_compiler_list=
1.9       ohara    3770:
1.10      ohara    3771: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3772: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.12    ! noro     3773: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
1.10      ohara    3774:   $as_echo_n "(cached) " >&6
                   3775: else
                   3776:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3777:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3778:   # making bogus files that we don't know about and never remove.  For
                   3779:   # instance it was reported that on HP-UX the gcc test will end up
                   3780:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3781:   # in D'.
                   3782:   mkdir conftest.dir
                   3783:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3784:   # using a relative directory.
                   3785:   cp "$am_depcomp" conftest.dir
                   3786:   cd conftest.dir
                   3787:   # We will build objects and dependencies in a subdirectory because
                   3788:   # it helps to detect inapplicable dependency modes.  For instance
                   3789:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3790:   # side effect of compilation, but ICC will put the dependencies in
                   3791:   # the current directory while Tru64 will put them in the object
                   3792:   # directory.
                   3793:   mkdir sub
1.9       ohara    3794:
1.10      ohara    3795:   am_cv_CC_dependencies_compiler_type=none
                   3796:   if test "$am_compiler_list" = ""; then
                   3797:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3798:   fi
                   3799:   am__universal=false
                   3800:   case " $depcc " in #(
                   3801:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3802:      esac
1.9       ohara    3803:
1.10      ohara    3804:   for depmode in $am_compiler_list; do
                   3805:     # Setup a source with many dependencies, because some compilers
                   3806:     # like to wrap large dependency lists on column 80 (with \), and
                   3807:     # we should not choose a depcomp mode which is confused by this.
                   3808:     #
                   3809:     # We need to recreate these files for each test, as the compiler may
                   3810:     # overwrite some of them when testing with obscure command lines.
                   3811:     # This happens at least with the AIX C compiler.
                   3812:     : > sub/conftest.c
                   3813:     for i in 1 2 3 4 5 6; do
                   3814:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3815:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3816:       # Solaris 8's {/usr,}/bin/sh.
                   3817:       touch sub/conftst$i.h
                   3818:     done
                   3819:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.9       ohara    3820:
1.10      ohara    3821:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3822:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3823:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3824:     # versions had trouble with output in subdirs
                   3825:     am__obj=sub/conftest.${OBJEXT-o}
                   3826:     am__minus_obj="-o $am__obj"
                   3827:     case $depmode in
                   3828:     gcc)
                   3829:       # This depmode causes a compiler race in universal mode.
                   3830:       test "$am__universal" = false || continue
1.9       ohara    3831:       ;;
1.10      ohara    3832:     nosideeffect)
                   3833:       # after this tag, mechanisms are not by side-effect, so they'll
                   3834:       # only be used when explicitly requested
                   3835:       if test "x$enable_dependency_tracking" = xyes; then
                   3836:        continue
1.9       ohara    3837:       else
1.10      ohara    3838:        break
1.9       ohara    3839:       fi
                   3840:       ;;
1.10      ohara    3841:     msvisualcpp | msvcmsys)
                   3842:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3843:       # not run yet.  These depmodes are late enough in the game, and
                   3844:       # so weak that their functioning should not be impacted.
                   3845:       am__obj=conftest.${OBJEXT-o}
                   3846:       am__minus_obj=
                   3847:       ;;
                   3848:     none) break ;;
1.9       ohara    3849:     esac
1.10      ohara    3850:     if depmode=$depmode \
                   3851:        source=sub/conftest.c object=$am__obj \
                   3852:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3853:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3854:          >/dev/null 2>conftest.err &&
                   3855:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3856:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3857:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   3858:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3859:       # icc doesn't choke on unknown options, it will just issue warnings
                   3860:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3861:       # that says an option was ignored or not supported.
                   3862:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3863:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3864:       # The diagnosis changed in icc 8.0:
                   3865:       #   icc: Command line remark: option '-MP' not supported
                   3866:       if (grep 'ignoring option' conftest.err ||
                   3867:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3868:         am_cv_CC_dependencies_compiler_type=$depmode
                   3869:         break
1.9       ohara    3870:       fi
1.10      ohara    3871:     fi
                   3872:   done
1.9       ohara    3873:
1.10      ohara    3874:   cd ..
                   3875:   rm -rf conftest.dir
                   3876: else
                   3877:   am_cv_CC_dependencies_compiler_type=none
                   3878: fi
1.9       ohara    3879:
1.10      ohara    3880: fi
                   3881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3882: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   3883: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.9       ohara    3884:
1.10      ohara    3885:  if
                   3886:   test "x$enable_dependency_tracking" != xno \
                   3887:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3888:   am__fastdepCC_TRUE=
                   3889:   am__fastdepCC_FALSE='#'
                   3890: else
                   3891:   am__fastdepCC_TRUE='#'
                   3892:   am__fastdepCC_FALSE=
                   3893: fi
1.9       ohara    3894:
                   3895:
                   3896:
1.10      ohara    3897: case `pwd` in
                   3898:   *\ * | *\    *)
                   3899:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   3900: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.9       ohara    3901: esac
                   3902:
                   3903:
                   3904:
1.10      ohara    3905: macro_version='2.4.2'
                   3906: macro_revision='1.3337'
                   3907:
                   3908:
1.9       ohara    3909:
                   3910:
                   3911:
                   3912:
                   3913:
                   3914:
                   3915:
                   3916:
                   3917:
                   3918:
                   3919:
1.10      ohara    3920: ltmain="$ac_aux_dir/ltmain.sh"
1.9       ohara    3921:
1.10      ohara    3922: # Backslashify metacharacters that are still active within
                   3923: # double-quoted strings.
                   3924: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.9       ohara    3925:
1.10      ohara    3926: # Same as above, but do not quote variable references.
                   3927: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.9       ohara    3928:
1.10      ohara    3929: # Sed substitution to delay expansion of an escaped shell variable in a
                   3930: # double_quote_subst'ed string.
                   3931: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.9       ohara    3932:
1.10      ohara    3933: # Sed substitution to delay expansion of an escaped single quote.
                   3934: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.9       ohara    3935:
1.10      ohara    3936: # Sed substitution to avoid accidental globbing in evaled expressions
                   3937: no_glob_subst='s/\*/\\\*/g'
1.9       ohara    3938:
1.10      ohara    3939: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   3940: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   3941: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   3942:
                   3943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   3944: $as_echo_n "checking how to print strings... " >&6; }
                   3945: # Test print first, because it will be a builtin if present.
                   3946: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   3947:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3948:   ECHO='print -r --'
                   3949: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3950:   ECHO='printf %s\n'
                   3951: else
                   3952:   # Use this function as a fallback that always works.
                   3953:   func_fallback_echo ()
                   3954:   {
                   3955:     eval 'cat <<_LTECHO_EOF
                   3956: $1
                   3957: _LTECHO_EOF'
                   3958:   }
                   3959:   ECHO='func_fallback_echo'
                   3960: fi
1.9       ohara    3961:
1.10      ohara    3962: # func_echo_all arg...
                   3963: # Invoke $ECHO with all args, space-separated.
                   3964: func_echo_all ()
                   3965: {
                   3966:     $ECHO ""
                   3967: }
1.9       ohara    3968:
1.10      ohara    3969: case "$ECHO" in
                   3970:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   3971: $as_echo "printf" >&6; } ;;
                   3972:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   3973: $as_echo "print -r" >&6; } ;;
                   3974:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   3975: $as_echo "cat" >&6; } ;;
                   3976: esac
1.9       ohara    3977:
                   3978:
                   3979:
                   3980:
                   3981:
                   3982:
                   3983:
                   3984:
                   3985:
                   3986:
                   3987:
                   3988:
                   3989:
                   3990:
1.10      ohara    3991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   3992: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.12    ! noro     3993: if test "${ac_cv_path_SED+set}" = set; then :
1.10      ohara    3994:   $as_echo_n "(cached) " >&6
                   3995: else
                   3996:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   3997:      for ac_i in 1 2 3 4 5 6 7; do
                   3998:        ac_script="$ac_script$as_nl$ac_script"
                   3999:      done
                   4000:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4001:      { ac_script=; unset ac_script;}
                   4002:      if test -z "$SED"; then
                   4003:   ac_path_SED_found=false
                   4004:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4005:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4006: for as_dir in $PATH
                   4007: do
                   4008:   IFS=$as_save_IFS
                   4009:   test -z "$as_dir" && as_dir=.
                   4010:     for ac_prog in sed gsed; do
                   4011:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4012:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   4013:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   4014: # Check for GNU ac_path_SED and select it if it is found.
                   4015:   # Check for GNU $ac_path_SED
                   4016: case `"$ac_path_SED" --version 2>&1` in
                   4017: *GNU*)
                   4018:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4019: *)
                   4020:   ac_count=0
                   4021:   $as_echo_n 0123456789 >"conftest.in"
                   4022:   while :
                   4023:   do
                   4024:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4025:     mv "conftest.tmp" "conftest.in"
                   4026:     cp "conftest.in" "conftest.nl"
                   4027:     $as_echo '' >> "conftest.nl"
                   4028:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4029:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4030:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4031:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4032:       # Best one so far, save it but keep looking for a better one
                   4033:       ac_cv_path_SED="$ac_path_SED"
                   4034:       ac_path_SED_max=$ac_count
                   4035:     fi
                   4036:     # 10*(2^10) chars as input seems more than enough
                   4037:     test $ac_count -gt 10 && break
                   4038:   done
                   4039:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4040: esac
1.9       ohara    4041:
1.10      ohara    4042:       $ac_path_SED_found && break 3
                   4043:     done
                   4044:   done
                   4045:   done
                   4046: IFS=$as_save_IFS
                   4047:   if test -z "$ac_cv_path_SED"; then
                   4048:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4049:   fi
                   4050: else
                   4051:   ac_cv_path_SED=$SED
                   4052: fi
1.9       ohara    4053:
1.10      ohara    4054: fi
                   4055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4056: $as_echo "$ac_cv_path_SED" >&6; }
                   4057:  SED="$ac_cv_path_SED"
                   4058:   rm -f conftest.sed
1.9       ohara    4059:
1.10      ohara    4060: test -z "$SED" && SED=sed
                   4061: Xsed="$SED -e 1s/^X//"
1.9       ohara    4062:
                   4063:
                   4064:
                   4065:
                   4066:
                   4067:
                   4068:
                   4069:
                   4070:
                   4071:
                   4072:
1.10      ohara    4073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4074: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.12    ! noro     4075: if test "${ac_cv_path_GREP+set}" = set; then :
1.10      ohara    4076:   $as_echo_n "(cached) " >&6
                   4077: else
                   4078:   if test -z "$GREP"; then
                   4079:   ac_path_GREP_found=false
                   4080:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4081:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4082: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4083: do
                   4084:   IFS=$as_save_IFS
                   4085:   test -z "$as_dir" && as_dir=.
                   4086:     for ac_prog in grep ggrep; do
                   4087:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4088:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   4089:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   4090: # Check for GNU ac_path_GREP and select it if it is found.
                   4091:   # Check for GNU $ac_path_GREP
                   4092: case `"$ac_path_GREP" --version 2>&1` in
                   4093: *GNU*)
                   4094:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4095: *)
                   4096:   ac_count=0
                   4097:   $as_echo_n 0123456789 >"conftest.in"
                   4098:   while :
                   4099:   do
                   4100:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4101:     mv "conftest.tmp" "conftest.in"
                   4102:     cp "conftest.in" "conftest.nl"
                   4103:     $as_echo 'GREP' >> "conftest.nl"
                   4104:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4105:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4106:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4107:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4108:       # Best one so far, save it but keep looking for a better one
                   4109:       ac_cv_path_GREP="$ac_path_GREP"
                   4110:       ac_path_GREP_max=$ac_count
                   4111:     fi
                   4112:     # 10*(2^10) chars as input seems more than enough
                   4113:     test $ac_count -gt 10 && break
                   4114:   done
                   4115:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4116: esac
1.9       ohara    4117:
1.10      ohara    4118:       $ac_path_GREP_found && break 3
                   4119:     done
                   4120:   done
                   4121:   done
                   4122: IFS=$as_save_IFS
                   4123:   if test -z "$ac_cv_path_GREP"; then
                   4124:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.9       ohara    4125:   fi
                   4126: else
1.10      ohara    4127:   ac_cv_path_GREP=$GREP
1.9       ohara    4128: fi
                   4129:
1.10      ohara    4130: fi
                   4131: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4132: $as_echo "$ac_cv_path_GREP" >&6; }
                   4133:  GREP="$ac_cv_path_GREP"
1.9       ohara    4134:
                   4135:
1.10      ohara    4136: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4137: $as_echo_n "checking for egrep... " >&6; }
1.12    ! noro     4138: if test "${ac_cv_path_EGREP+set}" = set; then :
1.10      ohara    4139:   $as_echo_n "(cached) " >&6
                   4140: else
                   4141:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4142:    then ac_cv_path_EGREP="$GREP -E"
                   4143:    else
                   4144:      if test -z "$EGREP"; then
                   4145:   ac_path_EGREP_found=false
                   4146:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4147:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4148: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4149: do
                   4150:   IFS=$as_save_IFS
                   4151:   test -z "$as_dir" && as_dir=.
                   4152:     for ac_prog in egrep; do
                   4153:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4154:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4155:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   4156: # Check for GNU ac_path_EGREP and select it if it is found.
                   4157:   # Check for GNU $ac_path_EGREP
                   4158: case `"$ac_path_EGREP" --version 2>&1` in
                   4159: *GNU*)
                   4160:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4161: *)
                   4162:   ac_count=0
                   4163:   $as_echo_n 0123456789 >"conftest.in"
                   4164:   while :
                   4165:   do
                   4166:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4167:     mv "conftest.tmp" "conftest.in"
                   4168:     cp "conftest.in" "conftest.nl"
                   4169:     $as_echo 'EGREP' >> "conftest.nl"
                   4170:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4171:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4172:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4173:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4174:       # Best one so far, save it but keep looking for a better one
                   4175:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4176:       ac_path_EGREP_max=$ac_count
                   4177:     fi
                   4178:     # 10*(2^10) chars as input seems more than enough
                   4179:     test $ac_count -gt 10 && break
                   4180:   done
                   4181:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4182: esac
1.9       ohara    4183:
1.10      ohara    4184:       $ac_path_EGREP_found && break 3
                   4185:     done
                   4186:   done
                   4187:   done
                   4188: IFS=$as_save_IFS
                   4189:   if test -z "$ac_cv_path_EGREP"; then
                   4190:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.9       ohara    4191:   fi
1.10      ohara    4192: else
                   4193:   ac_cv_path_EGREP=$EGREP
                   4194: fi
1.9       ohara    4195:
1.10      ohara    4196:    fi
                   4197: fi
                   4198: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4199: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4200:  EGREP="$ac_cv_path_EGREP"
1.9       ohara    4201:
                   4202:
1.10      ohara    4203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4204: $as_echo_n "checking for fgrep... " >&6; }
1.12    ! noro     4205: if test "${ac_cv_path_FGREP+set}" = set; then :
1.10      ohara    4206:   $as_echo_n "(cached) " >&6
                   4207: else
                   4208:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4209:    then ac_cv_path_FGREP="$GREP -F"
                   4210:    else
                   4211:      if test -z "$FGREP"; then
                   4212:   ac_path_FGREP_found=false
                   4213:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4214:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4215: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4216: do
                   4217:   IFS=$as_save_IFS
                   4218:   test -z "$as_dir" && as_dir=.
                   4219:     for ac_prog in fgrep; do
                   4220:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4221:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4222:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   4223: # Check for GNU ac_path_FGREP and select it if it is found.
                   4224:   # Check for GNU $ac_path_FGREP
                   4225: case `"$ac_path_FGREP" --version 2>&1` in
                   4226: *GNU*)
                   4227:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4228: *)
                   4229:   ac_count=0
                   4230:   $as_echo_n 0123456789 >"conftest.in"
                   4231:   while :
                   4232:   do
                   4233:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4234:     mv "conftest.tmp" "conftest.in"
                   4235:     cp "conftest.in" "conftest.nl"
                   4236:     $as_echo 'FGREP' >> "conftest.nl"
                   4237:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4238:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4239:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4240:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4241:       # Best one so far, save it but keep looking for a better one
                   4242:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4243:       ac_path_FGREP_max=$ac_count
                   4244:     fi
                   4245:     # 10*(2^10) chars as input seems more than enough
                   4246:     test $ac_count -gt 10 && break
                   4247:   done
                   4248:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4249: esac
1.9       ohara    4250:
1.10      ohara    4251:       $ac_path_FGREP_found && break 3
                   4252:     done
                   4253:   done
                   4254:   done
                   4255: IFS=$as_save_IFS
                   4256:   if test -z "$ac_cv_path_FGREP"; then
                   4257:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4258:   fi
                   4259: else
                   4260:   ac_cv_path_FGREP=$FGREP
                   4261: fi
1.9       ohara    4262:
1.10      ohara    4263:    fi
                   4264: fi
                   4265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4266: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4267:  FGREP="$ac_cv_path_FGREP"
1.9       ohara    4268:
                   4269:
1.10      ohara    4270: test -z "$GREP" && GREP=grep
1.9       ohara    4271:
                   4272:
                   4273:
                   4274:
                   4275:
                   4276:
                   4277:
                   4278:
                   4279:
                   4280:
                   4281:
                   4282:
                   4283:
                   4284:
                   4285:
                   4286:
                   4287:
                   4288:
                   4289:
1.10      ohara    4290: # Check whether --with-gnu-ld was given.
                   4291: if test "${with_gnu_ld+set}" = set; then :
                   4292:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   4293: else
                   4294:   with_gnu_ld=no
                   4295: fi
1.9       ohara    4296:
1.10      ohara    4297: ac_prog=ld
                   4298: if test "$GCC" = yes; then
                   4299:   # Check if gcc -print-prog-name=ld gives a path.
                   4300:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4301: $as_echo_n "checking for ld used by $CC... " >&6; }
                   4302:   case $host in
                   4303:   *-*-mingw*)
                   4304:     # gcc leaves a trailing carriage return which upsets mingw
                   4305:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4306:   *)
                   4307:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4308:   esac
                   4309:   case $ac_prog in
                   4310:     # Accept absolute paths.
                   4311:     [\\/]* | ?:[\\/]*)
                   4312:       re_direlt='/[^/][^/]*/\.\./'
                   4313:       # Canonicalize the pathname of ld
                   4314:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4315:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4316:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4317:       done
                   4318:       test -z "$LD" && LD="$ac_prog"
1.9       ohara    4319:       ;;
1.10      ohara    4320:   "")
                   4321:     # If it fails, then pretend we aren't using GCC.
                   4322:     ac_prog=ld
                   4323:     ;;
                   4324:   *)
                   4325:     # If it is relative, then search for the first ld in PATH.
                   4326:     with_gnu_ld=unknown
                   4327:     ;;
1.9       ohara    4328:   esac
1.10      ohara    4329: elif test "$with_gnu_ld" = yes; then
                   4330:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4331: $as_echo_n "checking for GNU ld... " >&6; }
                   4332: else
                   4333:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4334: $as_echo_n "checking for non-GNU ld... " >&6; }
                   4335: fi
1.12    ! noro     4336: if test "${lt_cv_path_LD+set}" = set; then :
1.10      ohara    4337:   $as_echo_n "(cached) " >&6
                   4338: else
                   4339:   if test -z "$LD"; then
                   4340:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4341:   for ac_dir in $PATH; do
                   4342:     IFS="$lt_save_ifs"
                   4343:     test -z "$ac_dir" && ac_dir=.
                   4344:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4345:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4346:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4347:       # but apparently some variants of GNU ld only accept -v.
                   4348:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4349:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4350:       *GNU* | *'with BFD'*)
                   4351:        test "$with_gnu_ld" != no && break
                   4352:        ;;
                   4353:       *)
                   4354:        test "$with_gnu_ld" != yes && break
1.9       ohara    4355:        ;;
1.10      ohara    4356:       esac
                   4357:     fi
                   4358:   done
                   4359:   IFS="$lt_save_ifs"
                   4360: else
                   4361:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4362: fi
                   4363: fi
1.9       ohara    4364:
1.10      ohara    4365: LD="$lt_cv_path_LD"
                   4366: if test -n "$LD"; then
                   4367:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4368: $as_echo "$LD" >&6; }
                   4369: else
                   4370:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4371: $as_echo "no" >&6; }
                   4372: fi
                   4373: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4375: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.12    ! noro     4376: if test "${lt_cv_prog_gnu_ld+set}" = set; then :
1.10      ohara    4377:   $as_echo_n "(cached) " >&6
                   4378: else
                   4379:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4380: case `$LD -v 2>&1 </dev/null` in
                   4381: *GNU* | *'with BFD'*)
                   4382:   lt_cv_prog_gnu_ld=yes
1.9       ohara    4383:   ;;
                   4384: *)
1.10      ohara    4385:   lt_cv_prog_gnu_ld=no
1.9       ohara    4386:   ;;
                   4387: esac
                   4388: fi
1.10      ohara    4389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4390: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   4391: with_gnu_ld=$lt_cv_prog_gnu_ld
1.9       ohara    4392:
                   4393:
                   4394:
                   4395:
                   4396:
                   4397:
                   4398:
                   4399:
                   4400:
1.10      ohara    4401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4402: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.12    ! noro     4403: if test "${lt_cv_path_NM+set}" = set; then :
1.10      ohara    4404:   $as_echo_n "(cached) " >&6
                   4405: else
                   4406:   if test -n "$NM"; then
                   4407:   # Let the user override the test.
                   4408:   lt_cv_path_NM="$NM"
                   4409: else
                   4410:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4411:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4412:     lt_nm_to_check="$lt_nm_to_check nm"
                   4413:   fi
                   4414:   for lt_tmp_nm in $lt_nm_to_check; do
                   4415:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4416:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4417:       IFS="$lt_save_ifs"
                   4418:       test -z "$ac_dir" && ac_dir=.
                   4419:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4420:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4421:        # Check to see if the nm accepts a BSD-compat flag.
                   4422:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4423:        #   nm: unknown option "B" ignored
                   4424:        # Tru64's nm complains that /dev/null is an invalid object file
                   4425:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4426:        */dev/null* | *'Invalid file or object type'*)
                   4427:          lt_cv_path_NM="$tmp_nm -B"
                   4428:          break
                   4429:          ;;
                   4430:        *)
                   4431:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4432:          */dev/null*)
                   4433:            lt_cv_path_NM="$tmp_nm -p"
                   4434:            break
                   4435:            ;;
                   4436:          *)
                   4437:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4438:            continue # so that we can try to find one that supports BSD flags
                   4439:            ;;
                   4440:          esac
                   4441:          ;;
                   4442:        esac
                   4443:       fi
                   4444:     done
                   4445:     IFS="$lt_save_ifs"
                   4446:   done
                   4447:   : ${lt_cv_path_NM=no}
                   4448: fi
                   4449: fi
                   4450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   4451: $as_echo "$lt_cv_path_NM" >&6; }
                   4452: if test "$lt_cv_path_NM" != "no"; then
                   4453:   NM="$lt_cv_path_NM"
                   4454: else
                   4455:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4456:   if test -n "$DUMPBIN"; then :
                   4457:     # Let the user override the test.
                   4458:   else
                   4459:     if test -n "$ac_tool_prefix"; then
                   4460:   for ac_prog in dumpbin "link -dump"
                   4461:   do
                   4462:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4463: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4465: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     4466: if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
1.10      ohara    4467:   $as_echo_n "(cached) " >&6
                   4468: else
                   4469:   if test -n "$DUMPBIN"; then
                   4470:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
1.9       ohara    4471: else
1.10      ohara    4472: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4473: for as_dir in $PATH
                   4474: do
                   4475:   IFS=$as_save_IFS
                   4476:   test -z "$as_dir" && as_dir=.
                   4477:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4478:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4479:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4480:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4481:     break 2
                   4482:   fi
                   4483: done
                   4484:   done
                   4485: IFS=$as_save_IFS
1.9       ohara    4486:
1.10      ohara    4487: fi
                   4488: fi
                   4489: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4490: if test -n "$DUMPBIN"; then
                   4491:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   4492: $as_echo "$DUMPBIN" >&6; }
1.9       ohara    4493: else
1.10      ohara    4494:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4495: $as_echo "no" >&6; }
                   4496: fi
                   4497:
1.9       ohara    4498:
1.10      ohara    4499:     test -n "$DUMPBIN" && break
                   4500:   done
1.9       ohara    4501: fi
1.10      ohara    4502: if test -z "$DUMPBIN"; then
                   4503:   ac_ct_DUMPBIN=$DUMPBIN
                   4504:   for ac_prog in dumpbin "link -dump"
                   4505: do
                   4506:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4507: set dummy $ac_prog; ac_word=$2
                   4508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4509: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     4510: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
1.10      ohara    4511:   $as_echo_n "(cached) " >&6
                   4512: else
                   4513:   if test -n "$ac_ct_DUMPBIN"; then
                   4514:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4515: else
                   4516: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4517: for as_dir in $PATH
                   4518: do
                   4519:   IFS=$as_save_IFS
                   4520:   test -z "$as_dir" && as_dir=.
                   4521:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4522:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4523:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4524:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4525:     break 2
                   4526:   fi
                   4527: done
                   4528:   done
                   4529: IFS=$as_save_IFS
1.9       ohara    4530:
                   4531: fi
1.10      ohara    4532: fi
                   4533: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4534: if test -n "$ac_ct_DUMPBIN"; then
                   4535:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   4536: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.9       ohara    4537: else
1.10      ohara    4538:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4539: $as_echo "no" >&6; }
                   4540: fi
                   4541:
1.9       ohara    4542:
1.10      ohara    4543:   test -n "$ac_ct_DUMPBIN" && break
                   4544: done
1.9       ohara    4545:
1.10      ohara    4546:   if test "x$ac_ct_DUMPBIN" = x; then
                   4547:     DUMPBIN=":"
                   4548:   else
                   4549:     case $cross_compiling:$ac_tool_warned in
                   4550: yes:)
                   4551: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4552: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4553: ac_tool_warned=yes ;;
                   4554: esac
                   4555:     DUMPBIN=$ac_ct_DUMPBIN
                   4556:   fi
1.9       ohara    4557: fi
                   4558:
1.10      ohara    4559:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4560:     *COFF*)
                   4561:       DUMPBIN="$DUMPBIN -symbols"
                   4562:       ;;
                   4563:     *)
                   4564:       DUMPBIN=:
                   4565:       ;;
                   4566:     esac
                   4567:   fi
1.9       ohara    4568:
1.10      ohara    4569:   if test "$DUMPBIN" != ":"; then
                   4570:     NM="$DUMPBIN"
                   4571:   fi
                   4572: fi
                   4573: test -z "$NM" && NM=nm
1.9       ohara    4574:
                   4575:
                   4576:
                   4577:
                   4578:
                   4579:
1.10      ohara    4580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   4581: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.12    ! noro     4582: if test "${lt_cv_nm_interface+set}" = set; then :
1.10      ohara    4583:   $as_echo_n "(cached) " >&6
                   4584: else
                   4585:   lt_cv_nm_interface="BSD nm"
                   4586:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4587:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4588:   (eval "$ac_compile" 2>conftest.err)
                   4589:   cat conftest.err >&5
                   4590:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4591:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4592:   cat conftest.err >&5
                   4593:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4594:   cat conftest.out >&5
                   4595:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4596:     lt_cv_nm_interface="MS dumpbin"
                   4597:   fi
                   4598:   rm -f conftest*
1.9       ohara    4599: fi
1.10      ohara    4600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   4601: $as_echo "$lt_cv_nm_interface" >&6; }
1.9       ohara    4602:
1.10      ohara    4603: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   4604: $as_echo_n "checking whether ln -s works... " >&6; }
                   4605: LN_S=$as_ln_s
                   4606: if test "$LN_S" = "ln -s"; then
                   4607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4608: $as_echo "yes" >&6; }
                   4609: else
                   4610:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   4611: $as_echo "no, using $LN_S" >&6; }
1.9       ohara    4612: fi
1.10      ohara    4613:
                   4614: # find the maximum length of command line arguments
                   4615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   4616: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.12    ! noro     4617: if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
1.10      ohara    4618:   $as_echo_n "(cached) " >&6
1.9       ohara    4619: else
1.10      ohara    4620:     i=0
                   4621:   teststring="ABCD"
                   4622:
                   4623:   case $build_os in
                   4624:   msdosdjgpp*)
                   4625:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4626:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4627:     # during glob expansion).  Even if it were fixed, the result of this
                   4628:     # check would be larger than it should be.
                   4629:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4630:     ;;
1.9       ohara    4631:
1.10      ohara    4632:   gnu*)
                   4633:     # Under GNU Hurd, this test is not required because there is
                   4634:     # no limit to the length of command line arguments.
                   4635:     # Libtool will interpret -1 as no limit whatsoever
                   4636:     lt_cv_sys_max_cmd_len=-1;
                   4637:     ;;
1.9       ohara    4638:
1.10      ohara    4639:   cygwin* | mingw* | cegcc*)
                   4640:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4641:     # about 5 minutes as the teststring grows exponentially.
                   4642:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4643:     # you end up with a "frozen" computer, even though with patience
                   4644:     # the test eventually succeeds (with a max line length of 256k).
                   4645:     # Instead, let's just punt: use the minimum linelength reported by
                   4646:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4647:     lt_cv_sys_max_cmd_len=8192;
                   4648:     ;;
1.9       ohara    4649:
1.10      ohara    4650:   mint*)
                   4651:     # On MiNT this can take a long time and run out of memory.
                   4652:     lt_cv_sys_max_cmd_len=8192;
                   4653:     ;;
1.9       ohara    4654:
1.10      ohara    4655:   amigaos*)
                   4656:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4657:     # So we just punt and use a minimum line length of 8192.
                   4658:     lt_cv_sys_max_cmd_len=8192;
                   4659:     ;;
1.9       ohara    4660:
1.10      ohara    4661:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4662:     # This has been around since 386BSD, at least.  Likely further.
                   4663:     if test -x /sbin/sysctl; then
                   4664:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4665:     elif test -x /usr/sbin/sysctl; then
                   4666:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4667:     else
                   4668:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4669:     fi
                   4670:     # And add a safety zone
                   4671:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4672:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4673:     ;;
1.9       ohara    4674:
1.10      ohara    4675:   interix*)
                   4676:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4677:     lt_cv_sys_max_cmd_len=196608
                   4678:     ;;
1.9       ohara    4679:
1.10      ohara    4680:   os2*)
                   4681:     # The test takes a long time on OS/2.
                   4682:     lt_cv_sys_max_cmd_len=8192
                   4683:     ;;
1.9       ohara    4684:
1.10      ohara    4685:   osf*)
                   4686:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4687:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4688:     # nice to cause kernel panics so lets avoid the loop below.
                   4689:     # First set a reasonable default.
                   4690:     lt_cv_sys_max_cmd_len=16384
                   4691:     #
                   4692:     if test -x /sbin/sysconfig; then
                   4693:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4694:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4695:       esac
                   4696:     fi
                   4697:     ;;
                   4698:   sco3.2v5*)
                   4699:     lt_cv_sys_max_cmd_len=102400
                   4700:     ;;
                   4701:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4702:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4703:     if test -n "$kargmax"; then
                   4704:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4705:     else
                   4706:       lt_cv_sys_max_cmd_len=32768
                   4707:     fi
                   4708:     ;;
                   4709:   *)
                   4710:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4711:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4712:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4713:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4714:     else
                   4715:       # Make teststring a little bigger before we do anything with it.
                   4716:       # a 1K string should be a reasonable start.
                   4717:       for i in 1 2 3 4 5 6 7 8 ; do
                   4718:         teststring=$teststring$teststring
                   4719:       done
                   4720:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4721:       # If test is not a shell built-in, we'll probably end up computing a
                   4722:       # maximum length that is only half of the actual maximum length, but
                   4723:       # we can't tell.
                   4724:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4725:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4726:              test $i != 17 # 1/2 MB should be enough
                   4727:       do
                   4728:         i=`expr $i + 1`
                   4729:         teststring=$teststring$teststring
                   4730:       done
                   4731:       # Only check the string length outside the loop.
                   4732:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4733:       teststring=
                   4734:       # Add a significant safety factor because C++ compilers can tack on
                   4735:       # massive amounts of additional arguments before passing them to the
                   4736:       # linker.  It appears as though 1/2 is a usable value.
                   4737:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4738:     fi
                   4739:     ;;
                   4740:   esac
1.9       ohara    4741:
                   4742: fi
                   4743:
1.10      ohara    4744: if test -n $lt_cv_sys_max_cmd_len ; then
                   4745:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   4746: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   4747: else
                   4748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   4749: $as_echo "none" >&6; }
1.9       ohara    4750: fi
1.10      ohara    4751: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4752:
                   4753:
1.9       ohara    4754:
                   4755:
                   4756:
                   4757:
1.10      ohara    4758: : ${CP="cp -f"}
                   4759: : ${MV="mv -f"}
                   4760: : ${RM="rm -f"}
                   4761:
                   4762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   4763: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   4764: # Try some XSI features
                   4765: xsi_shell=no
                   4766: ( _lt_dummy="a/b/c"
                   4767:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4768:       = c,a/b,b/c, \
                   4769:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4770:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4771:   && xsi_shell=yes
                   4772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   4773: $as_echo "$xsi_shell" >&6; }
                   4774:
                   4775:
                   4776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   4777: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   4778: lt_shell_append=no
                   4779: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4780:     >/dev/null 2>&1 \
                   4781:   && lt_shell_append=yes
                   4782: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   4783: $as_echo "$lt_shell_append" >&6; }
1.9       ohara    4784:
                   4785:
1.10      ohara    4786: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4787:   lt_unset=unset
                   4788: else
                   4789:   lt_unset=false
1.9       ohara    4790: fi
                   4791:
                   4792:
                   4793:
                   4794:
                   4795:
1.10      ohara    4796: # test EBCDIC or ASCII
                   4797: case `echo X|tr X '\101'` in
                   4798:  A) # ASCII based system
                   4799:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4800:   lt_SP2NL='tr \040 \012'
                   4801:   lt_NL2SP='tr \015\012 \040\040'
                   4802:   ;;
                   4803:  *) # EBCDIC based system
                   4804:   lt_SP2NL='tr \100 \n'
                   4805:   lt_NL2SP='tr \r\n \100\100'
                   4806:   ;;
                   4807: esac
1.9       ohara    4808:
                   4809:
                   4810:
                   4811:
                   4812:
                   4813:
                   4814:
                   4815:
                   4816:
1.10      ohara    4817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   4818: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
1.12    ! noro     4819: if test "${lt_cv_to_host_file_cmd+set}" = set; then :
1.10      ohara    4820:   $as_echo_n "(cached) " >&6
                   4821: else
                   4822:   case $host in
                   4823:   *-*-mingw* )
                   4824:     case $build in
                   4825:       *-*-mingw* ) # actually msys
                   4826:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4827:         ;;
                   4828:       *-*-cygwin* )
                   4829:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4830:         ;;
                   4831:       * ) # otherwise, assume *nix
                   4832:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4833:         ;;
                   4834:     esac
                   4835:     ;;
                   4836:   *-*-cygwin* )
                   4837:     case $build in
                   4838:       *-*-mingw* ) # actually msys
                   4839:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4840:         ;;
                   4841:       *-*-cygwin* )
                   4842:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4843:         ;;
                   4844:       * ) # otherwise, assume *nix
                   4845:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4846:         ;;
                   4847:     esac
1.9       ohara    4848:     ;;
1.10      ohara    4849:   * ) # unhandled hosts (and "normal" native builds)
                   4850:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4851:     ;;
                   4852: esac
1.9       ohara    4853:
1.10      ohara    4854: fi
1.9       ohara    4855:
1.10      ohara    4856: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4857: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   4858: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.9       ohara    4859:
                   4860:
                   4861:
                   4862:
                   4863:
1.10      ohara    4864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   4865: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
1.12    ! noro     4866: if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
1.10      ohara    4867:   $as_echo_n "(cached) " >&6
                   4868: else
                   4869:   #assume ordinary cross tools, or native build.
                   4870: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   4871: case $host in
                   4872:   *-*-mingw* )
                   4873:     case $build in
                   4874:       *-*-mingw* ) # actually msys
                   4875:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   4876:         ;;
                   4877:     esac
                   4878:     ;;
                   4879: esac
1.9       ohara    4880:
1.10      ohara    4881: fi
1.9       ohara    4882:
1.10      ohara    4883: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   4884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   4885: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.9       ohara    4886:
                   4887:
                   4888:
                   4889:
                   4890:
1.10      ohara    4891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   4892: $as_echo_n "checking for $LD option to reload object files... " >&6; }
1.12    ! noro     4893: if test "${lt_cv_ld_reload_flag+set}" = set; then :
1.10      ohara    4894:   $as_echo_n "(cached) " >&6
                   4895: else
                   4896:   lt_cv_ld_reload_flag='-r'
1.9       ohara    4897: fi
1.10      ohara    4898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   4899: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   4900: reload_flag=$lt_cv_ld_reload_flag
                   4901: case $reload_flag in
                   4902: "" | " "*) ;;
                   4903: *) reload_flag=" $reload_flag" ;;
                   4904: esac
                   4905: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4906: case $host_os in
                   4907:   cygwin* | mingw* | pw32* | cegcc*)
                   4908:     if test "$GCC" != yes; then
                   4909:       reload_cmds=false
                   4910:     fi
                   4911:     ;;
                   4912:   darwin*)
                   4913:     if test "$GCC" = yes; then
                   4914:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4915:     else
                   4916:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4917:     fi
                   4918:     ;;
                   4919: esac
1.9       ohara    4920:
                   4921:
                   4922:
                   4923:
                   4924:
                   4925:
                   4926:
                   4927:
                   4928:
1.10      ohara    4929: if test -n "$ac_tool_prefix"; then
                   4930:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4931: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   4932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4933: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     4934: if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
1.10      ohara    4935:   $as_echo_n "(cached) " >&6
                   4936: else
                   4937:   if test -n "$OBJDUMP"; then
                   4938:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4939: else
                   4940: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4941: for as_dir in $PATH
                   4942: do
                   4943:   IFS=$as_save_IFS
                   4944:   test -z "$as_dir" && as_dir=.
                   4945:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4946:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4947:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   4948:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4949:     break 2
1.9       ohara    4950:   fi
1.10      ohara    4951: done
                   4952:   done
                   4953: IFS=$as_save_IFS
                   4954:
                   4955: fi
                   4956: fi
                   4957: OBJDUMP=$ac_cv_prog_OBJDUMP
                   4958: if test -n "$OBJDUMP"; then
                   4959:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   4960: $as_echo "$OBJDUMP" >&6; }
                   4961: else
                   4962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4963: $as_echo "no" >&6; }
1.9       ohara    4964: fi
                   4965:
                   4966:
                   4967: fi
1.10      ohara    4968: if test -z "$ac_cv_prog_OBJDUMP"; then
                   4969:   ac_ct_OBJDUMP=$OBJDUMP
                   4970:   # Extract the first word of "objdump", so it can be a program name with args.
                   4971: set dummy objdump; ac_word=$2
                   4972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4973: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     4974: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
1.10      ohara    4975:   $as_echo_n "(cached) " >&6
                   4976: else
                   4977:   if test -n "$ac_ct_OBJDUMP"; then
                   4978:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   4979: else
                   4980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4981: for as_dir in $PATH
                   4982: do
                   4983:   IFS=$as_save_IFS
                   4984:   test -z "$as_dir" && as_dir=.
                   4985:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4986:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4987:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   4988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4989:     break 2
                   4990:   fi
                   4991: done
                   4992:   done
                   4993: IFS=$as_save_IFS
1.9       ohara    4994:
1.10      ohara    4995: fi
                   4996: fi
                   4997: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   4998: if test -n "$ac_ct_OBJDUMP"; then
                   4999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5000: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5001: else
                   5002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5003: $as_echo "no" >&6; }
                   5004: fi
1.9       ohara    5005:
1.10      ohara    5006:   if test "x$ac_ct_OBJDUMP" = x; then
                   5007:     OBJDUMP="false"
                   5008:   else
                   5009:     case $cross_compiling:$ac_tool_warned in
                   5010: yes:)
                   5011: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5012: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5013: ac_tool_warned=yes ;;
                   5014: esac
                   5015:     OBJDUMP=$ac_ct_OBJDUMP
                   5016:   fi
                   5017: else
                   5018:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5019: fi
1.9       ohara    5020:
1.10      ohara    5021: test -z "$OBJDUMP" && OBJDUMP=objdump
1.9       ohara    5022:
                   5023:
                   5024:
                   5025:
                   5026:
                   5027:
                   5028:
                   5029:
                   5030:
1.10      ohara    5031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5032: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.12    ! noro     5033: if test "${lt_cv_deplibs_check_method+set}" = set; then :
1.10      ohara    5034:   $as_echo_n "(cached) " >&6
                   5035: else
                   5036:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5037: lt_cv_file_magic_test_file=
                   5038: lt_cv_deplibs_check_method='unknown'
                   5039: # Need to set the preceding variable on all platforms that support
                   5040: # interlibrary dependencies.
                   5041: # 'none' -- dependencies not supported.
                   5042: # `unknown' -- same as none, but documents that we really don't know.
                   5043: # 'pass_all' -- all dependencies passed with no checks.
                   5044: # 'test_compile' -- check by making test program.
                   5045: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5046: # which responds to the $file_magic_cmd with a given extended regex.
                   5047: # If you have `file' or equivalent on your system and you're not sure
                   5048: # whether `pass_all' will *always* work, you probably want this one.
1.9       ohara    5049:
1.10      ohara    5050: case $host_os in
                   5051: aix[4-9]*)
                   5052:   lt_cv_deplibs_check_method=pass_all
                   5053:   ;;
1.9       ohara    5054:
1.10      ohara    5055: beos*)
                   5056:   lt_cv_deplibs_check_method=pass_all
                   5057:   ;;
1.9       ohara    5058:
1.10      ohara    5059: bsdi[45]*)
                   5060:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5061:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5062:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5063:   ;;
1.9       ohara    5064:
1.10      ohara    5065: cygwin*)
                   5066:   # func_win32_libid is a shell function defined in ltmain.sh
                   5067:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5068:   lt_cv_file_magic_cmd='func_win32_libid'
                   5069:   ;;
1.9       ohara    5070:
1.10      ohara    5071: mingw* | pw32*)
                   5072:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5073:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5074:   # unless we find 'file', for example because we are cross-compiling.
                   5075:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5076:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5077:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5078:     lt_cv_file_magic_cmd='func_win32_libid'
                   5079:   else
                   5080:     # Keep this pattern in sync with the one in func_win32_libid.
                   5081:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5082:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5083:   fi
                   5084:   ;;
1.9       ohara    5085:
1.10      ohara    5086: cegcc*)
                   5087:   # use the weaker test based on 'objdump'. See mingw*.
                   5088:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5089:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5090:   ;;
1.9       ohara    5091:
1.10      ohara    5092: darwin* | rhapsody*)
                   5093:   lt_cv_deplibs_check_method=pass_all
                   5094:   ;;
1.9       ohara    5095:
1.10      ohara    5096: freebsd* | dragonfly*)
                   5097:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5098:     case $host_cpu in
                   5099:     i*86 )
                   5100:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5101:       # Let's accept both of them until this is cleared up.
                   5102:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5103:       lt_cv_file_magic_cmd=/usr/bin/file
                   5104:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5105:       ;;
                   5106:     esac
                   5107:   else
                   5108:     lt_cv_deplibs_check_method=pass_all
                   5109:   fi
                   5110:   ;;
1.9       ohara    5111:
1.10      ohara    5112: gnu*)
                   5113:   lt_cv_deplibs_check_method=pass_all
                   5114:   ;;
1.9       ohara    5115:
1.10      ohara    5116: haiku*)
                   5117:   lt_cv_deplibs_check_method=pass_all
                   5118:   ;;
1.9       ohara    5119:
1.10      ohara    5120: hpux10.20* | hpux11*)
                   5121:   lt_cv_file_magic_cmd=/usr/bin/file
                   5122:   case $host_cpu in
                   5123:   ia64*)
                   5124:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5125:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5126:     ;;
                   5127:   hppa*64*)
                   5128:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
                   5129:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5130:     ;;
                   5131:   *)
                   5132:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5133:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5134:     ;;
                   5135:   esac
                   5136:   ;;
1.9       ohara    5137:
1.10      ohara    5138: interix[3-9]*)
                   5139:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5140:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5141:   ;;
1.9       ohara    5142:
1.10      ohara    5143: irix5* | irix6* | nonstopux*)
                   5144:   case $LD in
                   5145:   *-32|*"-32 ") libmagic=32-bit;;
                   5146:   *-n32|*"-n32 ") libmagic=N32;;
                   5147:   *-64|*"-64 ") libmagic=64-bit;;
                   5148:   *) libmagic=never-match;;
                   5149:   esac
                   5150:   lt_cv_deplibs_check_method=pass_all
                   5151:   ;;
1.9       ohara    5152:
1.10      ohara    5153: # This must be glibc/ELF.
                   5154: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5155:   lt_cv_deplibs_check_method=pass_all
                   5156:   ;;
1.9       ohara    5157:
1.10      ohara    5158: netbsd*)
                   5159:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5160:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5161:   else
                   5162:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5163:   fi
                   5164:   ;;
1.9       ohara    5165:
1.10      ohara    5166: newos6*)
                   5167:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5168:   lt_cv_file_magic_cmd=/usr/bin/file
                   5169:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5170:   ;;
1.9       ohara    5171:
1.10      ohara    5172: *nto* | *qnx*)
                   5173:   lt_cv_deplibs_check_method=pass_all
                   5174:   ;;
1.9       ohara    5175:
1.10      ohara    5176: openbsd*)
                   5177:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5178:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5179:   else
                   5180:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5181:   fi
                   5182:   ;;
1.9       ohara    5183:
1.10      ohara    5184: osf3* | osf4* | osf5*)
                   5185:   lt_cv_deplibs_check_method=pass_all
                   5186:   ;;
1.9       ohara    5187:
1.10      ohara    5188: rdos*)
                   5189:   lt_cv_deplibs_check_method=pass_all
                   5190:   ;;
1.9       ohara    5191:
1.10      ohara    5192: solaris*)
                   5193:   lt_cv_deplibs_check_method=pass_all
                   5194:   ;;
1.9       ohara    5195:
1.10      ohara    5196: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5197:   lt_cv_deplibs_check_method=pass_all
                   5198:   ;;
1.9       ohara    5199:
1.10      ohara    5200: sysv4 | sysv4.3*)
                   5201:   case $host_vendor in
                   5202:   motorola)
                   5203:     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]'
                   5204:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5205:     ;;
                   5206:   ncr)
                   5207:     lt_cv_deplibs_check_method=pass_all
                   5208:     ;;
                   5209:   sequent)
                   5210:     lt_cv_file_magic_cmd='/bin/file'
                   5211:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5212:     ;;
                   5213:   sni)
                   5214:     lt_cv_file_magic_cmd='/bin/file'
                   5215:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5216:     lt_cv_file_magic_test_file=/lib/libc.so
                   5217:     ;;
                   5218:   siemens)
                   5219:     lt_cv_deplibs_check_method=pass_all
                   5220:     ;;
                   5221:   pc)
                   5222:     lt_cv_deplibs_check_method=pass_all
                   5223:     ;;
                   5224:   esac
                   5225:   ;;
1.9       ohara    5226:
1.10      ohara    5227: tpf*)
                   5228:   lt_cv_deplibs_check_method=pass_all
                   5229:   ;;
                   5230: esac
1.9       ohara    5231:
1.10      ohara    5232: fi
                   5233: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5234: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.9       ohara    5235:
1.10      ohara    5236: file_magic_glob=
                   5237: want_nocaseglob=no
                   5238: if test "$build" = "$host"; then
                   5239:   case $host_os in
                   5240:   mingw* | pw32*)
                   5241:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5242:       want_nocaseglob=yes
                   5243:     else
                   5244:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5245:     fi
                   5246:     ;;
                   5247:   esac
                   5248: fi
1.9       ohara    5249:
1.10      ohara    5250: file_magic_cmd=$lt_cv_file_magic_cmd
                   5251: deplibs_check_method=$lt_cv_deplibs_check_method
                   5252: test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.9       ohara    5253:
                   5254:
                   5255:
                   5256:
                   5257:
                   5258:
                   5259:
                   5260:
                   5261:
                   5262:
                   5263:
                   5264:
                   5265:
                   5266:
                   5267:
                   5268:
                   5269:
                   5270:
                   5271:
                   5272:
                   5273:
                   5274:
1.10      ohara    5275: if test -n "$ac_tool_prefix"; then
                   5276:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5277: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5279: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5280: if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
1.10      ohara    5281:   $as_echo_n "(cached) " >&6
                   5282: else
                   5283:   if test -n "$DLLTOOL"; then
                   5284:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5285: else
                   5286: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5287: for as_dir in $PATH
                   5288: do
                   5289:   IFS=$as_save_IFS
                   5290:   test -z "$as_dir" && as_dir=.
                   5291:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5292:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5293:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5294:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5295:     break 2
                   5296:   fi
                   5297: done
                   5298:   done
                   5299: IFS=$as_save_IFS
1.9       ohara    5300:
1.10      ohara    5301: fi
                   5302: fi
                   5303: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5304: if test -n "$DLLTOOL"; then
                   5305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5306: $as_echo "$DLLTOOL" >&6; }
                   5307: else
                   5308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5309: $as_echo "no" >&6; }
                   5310: fi
1.9       ohara    5311:
                   5312:
1.10      ohara    5313: fi
                   5314: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5315:   ac_ct_DLLTOOL=$DLLTOOL
                   5316:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5317: set dummy dlltool; ac_word=$2
                   5318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5319: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5320: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
1.10      ohara    5321:   $as_echo_n "(cached) " >&6
                   5322: else
                   5323:   if test -n "$ac_ct_DLLTOOL"; then
                   5324:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5325: else
                   5326: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5327: for as_dir in $PATH
                   5328: do
                   5329:   IFS=$as_save_IFS
                   5330:   test -z "$as_dir" && as_dir=.
                   5331:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5332:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5333:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5334:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5335:     break 2
                   5336:   fi
                   5337: done
                   5338:   done
                   5339: IFS=$as_save_IFS
1.9       ohara    5340:
1.10      ohara    5341: fi
                   5342: fi
                   5343: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5344: if test -n "$ac_ct_DLLTOOL"; then
                   5345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5346: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   5347: else
                   5348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5349: $as_echo "no" >&6; }
                   5350: fi
1.9       ohara    5351:
1.10      ohara    5352:   if test "x$ac_ct_DLLTOOL" = x; then
                   5353:     DLLTOOL="false"
                   5354:   else
                   5355:     case $cross_compiling:$ac_tool_warned in
                   5356: yes:)
                   5357: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5358: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5359: ac_tool_warned=yes ;;
                   5360: esac
                   5361:     DLLTOOL=$ac_ct_DLLTOOL
                   5362:   fi
                   5363: else
                   5364:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5365: fi
1.9       ohara    5366:
1.10      ohara    5367: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.9       ohara    5368:
                   5369:
                   5370:
                   5371:
                   5372:
                   5373:
                   5374:
                   5375:
                   5376:
                   5377:
1.10      ohara    5378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5379: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
1.12    ! noro     5380: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
1.10      ohara    5381:   $as_echo_n "(cached) " >&6
                   5382: else
                   5383:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.9       ohara    5384:
1.10      ohara    5385: case $host_os in
                   5386: cygwin* | mingw* | pw32* | cegcc*)
                   5387:   # two different shell functions defined in ltmain.sh
                   5388:   # decide which to use based on capabilities of $DLLTOOL
                   5389:   case `$DLLTOOL --help 2>&1` in
                   5390:   *--identify-strict*)
                   5391:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5392:     ;;
                   5393:   *)
                   5394:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5395:     ;;
                   5396:   esac
                   5397:   ;;
                   5398: *)
                   5399:   # fallback: assume linklib IS sharedlib
                   5400:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5401:   ;;
                   5402: esac
1.9       ohara    5403:
1.10      ohara    5404: fi
                   5405: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5406: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   5407: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5408: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.9       ohara    5409:
                   5410:
                   5411:
                   5412:
                   5413:
                   5414:
                   5415:
                   5416:
1.10      ohara    5417: if test -n "$ac_tool_prefix"; then
                   5418:   for ac_prog in ar
                   5419:   do
                   5420:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5421: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5423: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5424: if test "${ac_cv_prog_AR+set}" = set; then :
1.10      ohara    5425:   $as_echo_n "(cached) " >&6
                   5426: else
                   5427:   if test -n "$AR"; then
                   5428:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5429: else
                   5430: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5431: for as_dir in $PATH
                   5432: do
                   5433:   IFS=$as_save_IFS
                   5434:   test -z "$as_dir" && as_dir=.
                   5435:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5436:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5437:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5438:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5439:     break 2
                   5440:   fi
                   5441: done
                   5442:   done
                   5443: IFS=$as_save_IFS
1.9       ohara    5444:
1.10      ohara    5445: fi
                   5446: fi
                   5447: AR=$ac_cv_prog_AR
                   5448: if test -n "$AR"; then
                   5449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   5450: $as_echo "$AR" >&6; }
                   5451: else
                   5452:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5453: $as_echo "no" >&6; }
                   5454: fi
1.9       ohara    5455:
                   5456:
1.10      ohara    5457:     test -n "$AR" && break
                   5458:   done
                   5459: fi
                   5460: if test -z "$AR"; then
                   5461:   ac_ct_AR=$AR
                   5462:   for ac_prog in ar
                   5463: do
                   5464:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5465: set dummy $ac_prog; ac_word=$2
                   5466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5467: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5468: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
1.10      ohara    5469:   $as_echo_n "(cached) " >&6
                   5470: else
                   5471:   if test -n "$ac_ct_AR"; then
                   5472:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5473: else
                   5474: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5475: for as_dir in $PATH
                   5476: do
                   5477:   IFS=$as_save_IFS
                   5478:   test -z "$as_dir" && as_dir=.
                   5479:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5480:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5481:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5482:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5483:     break 2
                   5484:   fi
                   5485: done
                   5486:   done
                   5487: IFS=$as_save_IFS
1.9       ohara    5488:
1.10      ohara    5489: fi
                   5490: fi
                   5491: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5492: if test -n "$ac_ct_AR"; then
                   5493:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   5494: $as_echo "$ac_ct_AR" >&6; }
                   5495: else
                   5496:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5497: $as_echo "no" >&6; }
                   5498: fi
1.9       ohara    5499:
                   5500:
1.10      ohara    5501:   test -n "$ac_ct_AR" && break
                   5502: done
1.9       ohara    5503:
1.10      ohara    5504:   if test "x$ac_ct_AR" = x; then
                   5505:     AR="false"
                   5506:   else
                   5507:     case $cross_compiling:$ac_tool_warned in
                   5508: yes:)
                   5509: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5510: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5511: ac_tool_warned=yes ;;
                   5512: esac
                   5513:     AR=$ac_ct_AR
                   5514:   fi
                   5515: fi
1.9       ohara    5516:
1.10      ohara    5517: : ${AR=ar}
                   5518: : ${AR_FLAGS=cru}
1.9       ohara    5519:
                   5520:
                   5521:
                   5522:
                   5523:
                   5524:
                   5525:
                   5526:
                   5527:
                   5528:
                   5529:
1.10      ohara    5530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   5531: $as_echo_n "checking for archiver @FILE support... " >&6; }
1.12    ! noro     5532: if test "${lt_cv_ar_at_file+set}" = set; then :
1.10      ohara    5533:   $as_echo_n "(cached) " >&6
                   5534: else
                   5535:   lt_cv_ar_at_file=no
                   5536:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5537: /* end confdefs.h.  */
1.9       ohara    5538:
1.10      ohara    5539: int
                   5540: main ()
                   5541: {
1.9       ohara    5542:
1.10      ohara    5543:   ;
                   5544:   return 0;
                   5545: }
                   5546: _ACEOF
                   5547: if ac_fn_c_try_compile "$LINENO"; then :
                   5548:   echo conftest.$ac_objext > conftest.lst
                   5549:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5550:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5551:   (eval $lt_ar_try) 2>&5
                   5552:   ac_status=$?
                   5553:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5554:   test $ac_status = 0; }
                   5555:       if test "$ac_status" -eq 0; then
                   5556:        # Ensure the archiver fails upon bogus file names.
                   5557:        rm -f conftest.$ac_objext libconftest.a
                   5558:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5559:   (eval $lt_ar_try) 2>&5
                   5560:   ac_status=$?
                   5561:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5562:   test $ac_status = 0; }
                   5563:        if test "$ac_status" -ne 0; then
                   5564:           lt_cv_ar_at_file=@
                   5565:         fi
                   5566:       fi
                   5567:       rm -f conftest.* libconftest.a
1.9       ohara    5568:
                   5569: fi
1.10      ohara    5570: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    5571:
1.10      ohara    5572: fi
                   5573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   5574: $as_echo "$lt_cv_ar_at_file" >&6; }
1.9       ohara    5575:
1.10      ohara    5576: if test "x$lt_cv_ar_at_file" = xno; then
                   5577:   archiver_list_spec=
1.9       ohara    5578: else
1.10      ohara    5579:   archiver_list_spec=$lt_cv_ar_at_file
1.9       ohara    5580: fi
                   5581:
                   5582:
                   5583:
                   5584:
                   5585:
                   5586:
                   5587:
1.10      ohara    5588: if test -n "$ac_tool_prefix"; then
                   5589:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5590: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5592: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5593: if test "${ac_cv_prog_STRIP+set}" = set; then :
1.10      ohara    5594:   $as_echo_n "(cached) " >&6
                   5595: else
                   5596:   if test -n "$STRIP"; then
                   5597:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5598: else
                   5599: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5600: for as_dir in $PATH
                   5601: do
                   5602:   IFS=$as_save_IFS
                   5603:   test -z "$as_dir" && as_dir=.
                   5604:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5605:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5606:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5607:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5608:     break 2
1.9       ohara    5609:   fi
1.10      ohara    5610: done
                   5611:   done
                   5612: IFS=$as_save_IFS
1.9       ohara    5613:
1.10      ohara    5614: fi
                   5615: fi
                   5616: STRIP=$ac_cv_prog_STRIP
                   5617: if test -n "$STRIP"; then
                   5618:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   5619: $as_echo "$STRIP" >&6; }
                   5620: else
                   5621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5622: $as_echo "no" >&6; }
                   5623: fi
1.9       ohara    5624:
                   5625:
1.10      ohara    5626: fi
                   5627: if test -z "$ac_cv_prog_STRIP"; then
                   5628:   ac_ct_STRIP=$STRIP
                   5629:   # Extract the first word of "strip", so it can be a program name with args.
                   5630: set dummy strip; ac_word=$2
                   5631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5632: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5633: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1.10      ohara    5634:   $as_echo_n "(cached) " >&6
                   5635: else
                   5636:   if test -n "$ac_ct_STRIP"; then
                   5637:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5638: else
                   5639: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5640: for as_dir in $PATH
                   5641: do
                   5642:   IFS=$as_save_IFS
                   5643:   test -z "$as_dir" && as_dir=.
                   5644:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5645:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5646:     ac_cv_prog_ac_ct_STRIP="strip"
                   5647:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5648:     break 2
                   5649:   fi
                   5650: done
                   5651:   done
                   5652: IFS=$as_save_IFS
1.9       ohara    5653:
1.10      ohara    5654: fi
                   5655: fi
                   5656: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5657: if test -n "$ac_ct_STRIP"; then
                   5658:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   5659: $as_echo "$ac_ct_STRIP" >&6; }
                   5660: else
                   5661:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5662: $as_echo "no" >&6; }
                   5663: fi
1.9       ohara    5664:
1.10      ohara    5665:   if test "x$ac_ct_STRIP" = x; then
                   5666:     STRIP=":"
                   5667:   else
                   5668:     case $cross_compiling:$ac_tool_warned in
                   5669: yes:)
                   5670: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5671: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5672: ac_tool_warned=yes ;;
                   5673: esac
                   5674:     STRIP=$ac_ct_STRIP
                   5675:   fi
                   5676: else
                   5677:   STRIP="$ac_cv_prog_STRIP"
                   5678: fi
1.9       ohara    5679:
1.10      ohara    5680: test -z "$STRIP" && STRIP=:
1.9       ohara    5681:
                   5682:
                   5683:
                   5684:
                   5685:
                   5686:
1.10      ohara    5687: if test -n "$ac_tool_prefix"; then
                   5688:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5689: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5691: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5692: if test "${ac_cv_prog_RANLIB+set}" = set; then :
1.10      ohara    5693:   $as_echo_n "(cached) " >&6
                   5694: else
                   5695:   if test -n "$RANLIB"; then
                   5696:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5697: else
                   5698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5699: for as_dir in $PATH
                   5700: do
                   5701:   IFS=$as_save_IFS
                   5702:   test -z "$as_dir" && as_dir=.
                   5703:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5704:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5705:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5706:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5707:     break 2
                   5708:   fi
                   5709: done
                   5710:   done
                   5711: IFS=$as_save_IFS
1.9       ohara    5712:
1.10      ohara    5713: fi
                   5714: fi
                   5715: RANLIB=$ac_cv_prog_RANLIB
                   5716: if test -n "$RANLIB"; then
                   5717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   5718: $as_echo "$RANLIB" >&6; }
                   5719: else
                   5720:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5721: $as_echo "no" >&6; }
                   5722: fi
1.9       ohara    5723:
                   5724:
                   5725: fi
1.10      ohara    5726: if test -z "$ac_cv_prog_RANLIB"; then
                   5727:   ac_ct_RANLIB=$RANLIB
                   5728:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5729: set dummy ranlib; ac_word=$2
                   5730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5731: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     5732: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
1.10      ohara    5733:   $as_echo_n "(cached) " >&6
                   5734: else
                   5735:   if test -n "$ac_ct_RANLIB"; then
                   5736:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.9       ohara    5737: else
1.10      ohara    5738: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5739: for as_dir in $PATH
                   5740: do
                   5741:   IFS=$as_save_IFS
                   5742:   test -z "$as_dir" && as_dir=.
                   5743:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5744:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5745:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5746:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5747:     break 2
                   5748:   fi
1.9       ohara    5749: done
1.10      ohara    5750:   done
                   5751: IFS=$as_save_IFS
1.9       ohara    5752:
1.10      ohara    5753: fi
                   5754: fi
                   5755: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5756: if test -n "$ac_ct_RANLIB"; then
                   5757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   5758: $as_echo "$ac_ct_RANLIB" >&6; }
                   5759: else
                   5760:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5761: $as_echo "no" >&6; }
                   5762: fi
1.9       ohara    5763:
1.10      ohara    5764:   if test "x$ac_ct_RANLIB" = x; then
                   5765:     RANLIB=":"
                   5766:   else
                   5767:     case $cross_compiling:$ac_tool_warned in
                   5768: yes:)
                   5769: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5770: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5771: ac_tool_warned=yes ;;
                   5772: esac
                   5773:     RANLIB=$ac_ct_RANLIB
                   5774:   fi
1.9       ohara    5775: else
1.10      ohara    5776:   RANLIB="$ac_cv_prog_RANLIB"
1.9       ohara    5777: fi
                   5778:
1.10      ohara    5779: test -z "$RANLIB" && RANLIB=:
                   5780:
                   5781:
                   5782:
                   5783:
1.9       ohara    5784:
                   5785:
1.10      ohara    5786: # Determine commands to create old-style static archives.
                   5787: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5788: old_postinstall_cmds='chmod 644 $oldlib'
                   5789: old_postuninstall_cmds=
1.9       ohara    5790:
1.10      ohara    5791: if test -n "$RANLIB"; then
                   5792:   case $host_os in
                   5793:   openbsd*)
                   5794:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.9       ohara    5795:     ;;
                   5796:   *)
1.10      ohara    5797:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.9       ohara    5798:     ;;
                   5799:   esac
1.10      ohara    5800:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.9       ohara    5801: fi
                   5802:
1.10      ohara    5803: case $host_os in
                   5804:   darwin*)
                   5805:     lock_old_archive_extraction=yes ;;
                   5806:   *)
                   5807:     lock_old_archive_extraction=no ;;
1.9       ohara    5808: esac
                   5809:
                   5810:
                   5811:
                   5812:
                   5813:
                   5814:
                   5815:
                   5816:
                   5817:
                   5818:
                   5819:
                   5820:
                   5821:
                   5822:
                   5823:
                   5824:
                   5825:
                   5826:
                   5827:
                   5828:
                   5829:
                   5830:
                   5831:
                   5832:
                   5833:
                   5834:
                   5835:
                   5836:
                   5837:
                   5838:
                   5839:
                   5840:
                   5841:
                   5842:
                   5843:
                   5844:
                   5845:
                   5846:
                   5847:
1.10      ohara    5848: # If no C compiler was specified, use CC.
                   5849: LTCC=${LTCC-"$CC"}
                   5850:
                   5851: # If no C compiler flags were specified, use CFLAGS.
                   5852: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.9       ohara    5853:
1.10      ohara    5854: # Allow CC to be a program name with arguments.
                   5855: compiler=$CC
1.9       ohara    5856:
                   5857:
1.10      ohara    5858: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   5860: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.12    ! noro     5861: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
1.10      ohara    5862:   $as_echo_n "(cached) " >&6
                   5863: else
1.9       ohara    5864:
1.10      ohara    5865: # These are sane defaults that work on at least a few old systems.
                   5866: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.9       ohara    5867:
1.10      ohara    5868: # Character class describing NM global symbol codes.
                   5869: symcode='[BCDEGRST]'
1.9       ohara    5870:
1.10      ohara    5871: # Regexp to match symbols that can be accessed directly from C.
                   5872: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.9       ohara    5873:
1.10      ohara    5874: # Define system-specific variables.
                   5875: case $host_os in
                   5876: aix*)
                   5877:   symcode='[BCDT]'
                   5878:   ;;
                   5879: cygwin* | mingw* | pw32* | cegcc*)
                   5880:   symcode='[ABCDGISTW]'
                   5881:   ;;
                   5882: hpux*)
                   5883:   if test "$host_cpu" = ia64; then
                   5884:     symcode='[ABCDEGRST]'
                   5885:   fi
                   5886:   ;;
                   5887: irix* | nonstopux*)
                   5888:   symcode='[BCDEGRST]'
                   5889:   ;;
                   5890: osf*)
                   5891:   symcode='[BCDEGQRST]'
                   5892:   ;;
                   5893: solaris*)
                   5894:   symcode='[BDRT]'
                   5895:   ;;
                   5896: sco3.2v5*)
                   5897:   symcode='[DT]'
                   5898:   ;;
                   5899: sysv4.2uw2*)
                   5900:   symcode='[DT]'
                   5901:   ;;
                   5902: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5903:   symcode='[ABDT]'
                   5904:   ;;
                   5905: sysv4)
                   5906:   symcode='[DFNSTU]'
                   5907:   ;;
                   5908: esac
1.9       ohara    5909:
1.10      ohara    5910: # If we're using GNU nm, then use its standard symbol codes.
                   5911: case `$NM -V 2>&1` in
                   5912: *GNU* | *'with BFD'*)
                   5913:   symcode='[ABCDGIRSTW]' ;;
                   5914: esac
1.9       ohara    5915:
1.10      ohara    5916: # Transform an extracted symbol line into a proper C declaration.
                   5917: # Some systems (esp. on ia64) link data and code symbols differently,
                   5918: # so use this general approach.
                   5919: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.9       ohara    5920:
1.10      ohara    5921: # Transform an extracted symbol line into symbol name and symbol address
                   5922: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   5923: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
1.9       ohara    5924:
1.10      ohara    5925: # Handle CRLF in mingw tool chain
                   5926: opt_cr=
                   5927: case $build_os in
                   5928: mingw*)
                   5929:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5930:   ;;
1.9       ohara    5931: esac
                   5932:
1.10      ohara    5933: # Try without a prefix underscore, then with it.
                   5934: for ac_symprfx in "" "_"; do
                   5935:
                   5936:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5937:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   5938:
                   5939:   # Write the raw and C identifiers.
                   5940:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5941:     # Fake it for dumpbin and say T for any non-static function
                   5942:     # and D for any global variable.
                   5943:     # Also find C++ and __fastcall symbols from MSVC++,
                   5944:     # which start with @ or ?.
                   5945:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5946: "     {last_section=section; section=\$ 3};"\
                   5947: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   5948: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5949: "     \$ 0!~/External *\|/{next};"\
                   5950: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5951: "     {if(hide[section]) next};"\
                   5952: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5953: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5954: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5955: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5956: "     ' prfx=^$ac_symprfx"
                   5957:   else
                   5958:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   5959:   fi
                   5960:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.9       ohara    5961:
1.10      ohara    5962:   # Check to see that the pipe works correctly.
                   5963:   pipe_works=no
1.9       ohara    5964:
1.10      ohara    5965:   rm -f conftest*
                   5966:   cat > conftest.$ac_ext <<_LT_EOF
                   5967: #ifdef __cplusplus
                   5968: extern "C" {
                   5969: #endif
                   5970: char nm_test_var;
                   5971: void nm_test_func(void);
                   5972: void nm_test_func(void){}
                   5973: #ifdef __cplusplus
                   5974: }
                   5975: #endif
                   5976: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5977: _LT_EOF
1.9       ohara    5978:
1.10      ohara    5979:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.9       ohara    5980:   (eval $ac_compile) 2>&5
                   5981:   ac_status=$?
1.10      ohara    5982:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5983:   test $ac_status = 0; }; then
                   5984:     # Now try to grab the symbols.
                   5985:     nlist=conftest.nm
                   5986:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   5987:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   5988:   ac_status=$?
                   5989:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5990:   test $ac_status = 0; } && test -s "$nlist"; then
                   5991:       # Try sorting and uniquifying the output.
                   5992:       if sort "$nlist" | uniq > "$nlist"T; then
                   5993:        mv -f "$nlist"T "$nlist"
                   5994:       else
                   5995:        rm -f "$nlist"T
                   5996:       fi
                   5997:
                   5998:       # Make sure that we snagged all the symbols we need.
                   5999:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6000:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6001:          cat <<_LT_EOF > conftest.$ac_ext
                   6002: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6003: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6004: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6005:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6006: # define LT_DLSYM_CONST
                   6007: #elif defined(__osf__)
                   6008: /* This system does not cope well with relocations in const data.  */
                   6009: # define LT_DLSYM_CONST
                   6010: #else
                   6011: # define LT_DLSYM_CONST const
                   6012: #endif
                   6013:
                   6014: #ifdef __cplusplus
                   6015: extern "C" {
                   6016: #endif
                   6017:
                   6018: _LT_EOF
                   6019:          # Now generate the symbol file.
                   6020:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6021:
                   6022:          cat <<_LT_EOF >> conftest.$ac_ext
1.9       ohara    6023:
1.10      ohara    6024: /* The mapping between symbol names and symbols.  */
                   6025: LT_DLSYM_CONST struct {
                   6026:   const char *name;
                   6027:   void       *address;
                   6028: }
                   6029: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6030: {
                   6031:   { "@PROGRAM@", (void *) 0 },
                   6032: _LT_EOF
                   6033:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6034:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6035:   {0, (void *) 0}
                   6036: };
1.9       ohara    6037:
1.10      ohara    6038: /* This works around a problem in FreeBSD linker */
                   6039: #ifdef FREEBSD_WORKAROUND
                   6040: static const void *lt_preloaded_setup() {
                   6041:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6042: }
                   6043: #endif
1.9       ohara    6044:
1.10      ohara    6045: #ifdef __cplusplus
                   6046: }
                   6047: #endif
                   6048: _LT_EOF
                   6049:          # Now try linking the two files.
                   6050:          mv conftest.$ac_objext conftstm.$ac_objext
                   6051:          lt_globsym_save_LIBS=$LIBS
                   6052:          lt_globsym_save_CFLAGS=$CFLAGS
                   6053:          LIBS="conftstm.$ac_objext"
                   6054:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6055:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6056:   (eval $ac_link) 2>&5
                   6057:   ac_status=$?
                   6058:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6059:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   6060:            pipe_works=yes
                   6061:          fi
                   6062:          LIBS=$lt_globsym_save_LIBS
                   6063:          CFLAGS=$lt_globsym_save_CFLAGS
                   6064:        else
                   6065:          echo "cannot find nm_test_func in $nlist" >&5
                   6066:        fi
                   6067:       else
                   6068:        echo "cannot find nm_test_var in $nlist" >&5
                   6069:       fi
                   6070:     else
                   6071:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6072:     fi
                   6073:   else
                   6074:     echo "$progname: failed program was:" >&5
                   6075:     cat conftest.$ac_ext >&5
                   6076:   fi
                   6077:   rm -rf conftest* conftst*
1.9       ohara    6078:
1.10      ohara    6079:   # Do not use the global_symbol_pipe unless it works.
                   6080:   if test "$pipe_works" = yes; then
                   6081:     break
                   6082:   else
                   6083:     lt_cv_sys_global_symbol_pipe=
                   6084:   fi
                   6085: done
1.9       ohara    6086:
1.10      ohara    6087: fi
1.9       ohara    6088:
1.10      ohara    6089: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6090:   lt_cv_sys_global_symbol_to_cdecl=
                   6091: fi
                   6092: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6094: $as_echo "failed" >&6; }
1.9       ohara    6095: else
1.10      ohara    6096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6097: $as_echo "ok" >&6; }
1.9       ohara    6098: fi
                   6099:
1.10      ohara    6100: # Response file support.
                   6101: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6102:   nm_file_list_spec='@'
                   6103: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6104:   nm_file_list_spec='@'
                   6105: fi
1.9       ohara    6106:
                   6107:
                   6108:
                   6109:
                   6110:
                   6111:
                   6112:
                   6113:
                   6114:
                   6115:
                   6116:
                   6117:
                   6118:
                   6119:
                   6120:
                   6121:
                   6122:
                   6123:
                   6124:
                   6125:
                   6126:
                   6127:
                   6128:
                   6129:
                   6130:
                   6131:
                   6132:
1.10      ohara    6133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6134: $as_echo_n "checking for sysroot... " >&6; }
1.9       ohara    6135:
1.10      ohara    6136: # Check whether --with-sysroot was given.
                   6137: if test "${with_sysroot+set}" = set; then :
                   6138:   withval=$with_sysroot;
1.9       ohara    6139: else
1.10      ohara    6140:   with_sysroot=no
1.9       ohara    6141: fi
                   6142:
                   6143:
1.10      ohara    6144: lt_sysroot=
                   6145: case ${with_sysroot} in #(
                   6146:  yes)
                   6147:    if test "$GCC" = yes; then
                   6148:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6149:    fi
                   6150:    ;; #(
                   6151:  /*)
                   6152:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6153:    ;; #(
                   6154:  no|'')
                   6155:    ;; #(
                   6156:  *)
                   6157:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   6158: $as_echo "${with_sysroot}" >&6; }
                   6159:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   6160:    ;;
                   6161: esac
                   6162:
                   6163:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6164: $as_echo "${lt_sysroot:-no}" >&6; }
                   6165:
                   6166:
                   6167:
                   6168:
                   6169:
                   6170: # Check whether --enable-libtool-lock was given.
                   6171: if test "${enable_libtool_lock+set}" = set; then :
                   6172:   enableval=$enable_libtool_lock;
                   6173: fi
1.9       ohara    6174:
1.10      ohara    6175: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.9       ohara    6176:
1.10      ohara    6177: # Some flags need to be propagated to the compiler or linker for good
                   6178: # libtool support.
                   6179: case $host in
                   6180: ia64-*-hpux*)
                   6181:   # Find out which ABI we are using.
                   6182:   echo 'int i;' > conftest.$ac_ext
                   6183:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6184:   (eval $ac_compile) 2>&5
                   6185:   ac_status=$?
                   6186:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6187:   test $ac_status = 0; }; then
                   6188:     case `/usr/bin/file conftest.$ac_objext` in
                   6189:       *ELF-32*)
                   6190:        HPUX_IA64_MODE="32"
                   6191:        ;;
                   6192:       *ELF-64*)
                   6193:        HPUX_IA64_MODE="64"
                   6194:        ;;
1.9       ohara    6195:     esac
1.10      ohara    6196:   fi
                   6197:   rm -rf conftest*
                   6198:   ;;
                   6199: *-*-irix6*)
                   6200:   # Find out which ABI we are using.
                   6201:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6202:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6203:   (eval $ac_compile) 2>&5
                   6204:   ac_status=$?
                   6205:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6206:   test $ac_status = 0; }; then
                   6207:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6208:       case `/usr/bin/file conftest.$ac_objext` in
                   6209:        *32-bit*)
                   6210:          LD="${LD-ld} -melf32bsmip"
                   6211:          ;;
                   6212:        *N32*)
                   6213:          LD="${LD-ld} -melf32bmipn32"
                   6214:          ;;
                   6215:        *64-bit*)
                   6216:          LD="${LD-ld} -melf64bmip"
                   6217:        ;;
                   6218:       esac
1.9       ohara    6219:     else
1.10      ohara    6220:       case `/usr/bin/file conftest.$ac_objext` in
                   6221:        *32-bit*)
                   6222:          LD="${LD-ld} -32"
                   6223:          ;;
                   6224:        *N32*)
                   6225:          LD="${LD-ld} -n32"
                   6226:          ;;
                   6227:        *64-bit*)
                   6228:          LD="${LD-ld} -64"
                   6229:          ;;
                   6230:       esac
1.9       ohara    6231:     fi
                   6232:   fi
1.10      ohara    6233:   rm -rf conftest*
1.9       ohara    6234:   ;;
                   6235:
1.10      ohara    6236: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6237: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6238:   # Find out which ABI we are using.
                   6239:   echo 'int i;' > conftest.$ac_ext
                   6240:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6241:   (eval $ac_compile) 2>&5
                   6242:   ac_status=$?
                   6243:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6244:   test $ac_status = 0; }; then
                   6245:     case `/usr/bin/file conftest.o` in
                   6246:       *32-bit*)
                   6247:        case $host in
                   6248:          x86_64-*kfreebsd*-gnu)
                   6249:            LD="${LD-ld} -m elf_i386_fbsd"
                   6250:            ;;
                   6251:          x86_64-*linux*)
                   6252:            LD="${LD-ld} -m elf_i386"
                   6253:            ;;
                   6254:          ppc64-*linux*|powerpc64-*linux*)
                   6255:            LD="${LD-ld} -m elf32ppclinux"
                   6256:            ;;
                   6257:          s390x-*linux*)
                   6258:            LD="${LD-ld} -m elf_s390"
                   6259:            ;;
                   6260:          sparc64-*linux*)
                   6261:            LD="${LD-ld} -m elf32_sparc"
                   6262:            ;;
                   6263:        esac
                   6264:        ;;
                   6265:       *64-bit*)
                   6266:        case $host in
                   6267:          x86_64-*kfreebsd*-gnu)
                   6268:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6269:            ;;
                   6270:          x86_64-*linux*)
                   6271:            LD="${LD-ld} -m elf_x86_64"
                   6272:            ;;
                   6273:          ppc*-*linux*|powerpc*-*linux*)
                   6274:            LD="${LD-ld} -m elf64ppc"
                   6275:            ;;
                   6276:          s390*-*linux*|s390*-*tpf*)
                   6277:            LD="${LD-ld} -m elf64_s390"
                   6278:            ;;
                   6279:          sparc*-*linux*)
                   6280:            LD="${LD-ld} -m elf64_sparc"
                   6281:            ;;
                   6282:        esac
                   6283:        ;;
                   6284:     esac
                   6285:   fi
                   6286:   rm -rf conftest*
1.9       ohara    6287:   ;;
                   6288:
1.10      ohara    6289: *-*-sco3.2v5*)
                   6290:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6291:   SAVE_CFLAGS="$CFLAGS"
                   6292:   CFLAGS="$CFLAGS -belf"
                   6293:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6294: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
1.12    ! noro     6295: if test "${lt_cv_cc_needs_belf+set}" = set; then :
1.10      ohara    6296:   $as_echo_n "(cached) " >&6
                   6297: else
                   6298:   ac_ext=c
                   6299: ac_cpp='$CPP $CPPFLAGS'
                   6300: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6301: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6302: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    6303:
1.10      ohara    6304:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6305: /* end confdefs.h.  */
1.9       ohara    6306:
1.10      ohara    6307: int
                   6308: main ()
                   6309: {
1.9       ohara    6310:
1.10      ohara    6311:   ;
                   6312:   return 0;
                   6313: }
                   6314: _ACEOF
                   6315: if ac_fn_c_try_link "$LINENO"; then :
                   6316:   lt_cv_cc_needs_belf=yes
                   6317: else
                   6318:   lt_cv_cc_needs_belf=no
                   6319: fi
                   6320: rm -f core conftest.err conftest.$ac_objext \
                   6321:     conftest$ac_exeext conftest.$ac_ext
                   6322:      ac_ext=c
                   6323: ac_cpp='$CPP $CPPFLAGS'
                   6324: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6325: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6326: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    6327:
1.10      ohara    6328: fi
                   6329: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6330: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   6331:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6332:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6333:     CFLAGS="$SAVE_CFLAGS"
                   6334:   fi
                   6335:   ;;
                   6336: *-*solaris*)
                   6337:   # Find out which ABI we are using.
                   6338:   echo 'int i;' > conftest.$ac_ext
                   6339:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6340:   (eval $ac_compile) 2>&5
                   6341:   ac_status=$?
                   6342:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6343:   test $ac_status = 0; }; then
                   6344:     case `/usr/bin/file conftest.o` in
                   6345:     *64-bit*)
                   6346:       case $lt_cv_prog_gnu_ld in
                   6347:       yes*)
                   6348:         case $host in
                   6349:         i?86-*-solaris*)
                   6350:           LD="${LD-ld} -m elf_x86_64"
                   6351:           ;;
                   6352:         sparc*-*-solaris*)
                   6353:           LD="${LD-ld} -m elf64_sparc"
                   6354:           ;;
                   6355:         esac
                   6356:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6357:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6358:           LD="${LD-ld}_sol2"
                   6359:         fi
                   6360:         ;;
                   6361:       *)
                   6362:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6363:          LD="${LD-ld} -64"
                   6364:        fi
                   6365:        ;;
                   6366:       esac
1.9       ohara    6367:       ;;
                   6368:     esac
1.10      ohara    6369:   fi
                   6370:   rm -rf conftest*
                   6371:   ;;
                   6372: esac
1.9       ohara    6373:
1.10      ohara    6374: need_locks="$enable_libtool_lock"
1.9       ohara    6375:
1.10      ohara    6376: if test -n "$ac_tool_prefix"; then
                   6377:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6378: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6379: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6380: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6381: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
1.10      ohara    6382:   $as_echo_n "(cached) " >&6
                   6383: else
                   6384:   if test -n "$MANIFEST_TOOL"; then
                   6385:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6386: else
                   6387: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6388: for as_dir in $PATH
                   6389: do
                   6390:   IFS=$as_save_IFS
                   6391:   test -z "$as_dir" && as_dir=.
                   6392:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6393:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6394:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6395:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6396:     break 2
1.9       ohara    6397:   fi
1.10      ohara    6398: done
                   6399:   done
                   6400: IFS=$as_save_IFS
                   6401:
                   6402: fi
                   6403: fi
                   6404: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6405: if test -n "$MANIFEST_TOOL"; then
                   6406:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6407: $as_echo "$MANIFEST_TOOL" >&6; }
                   6408: else
                   6409:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6410: $as_echo "no" >&6; }
                   6411: fi
1.9       ohara    6412:
                   6413:
1.10      ohara    6414: fi
                   6415: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6416:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6417:   # Extract the first word of "mt", so it can be a program name with args.
                   6418: set dummy mt; ac_word=$2
                   6419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6420: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6421: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
1.10      ohara    6422:   $as_echo_n "(cached) " >&6
                   6423: else
                   6424:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6425:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6426: else
                   6427: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6428: for as_dir in $PATH
                   6429: do
                   6430:   IFS=$as_save_IFS
                   6431:   test -z "$as_dir" && as_dir=.
                   6432:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6433:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6434:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6435:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6436:     break 2
                   6437:   fi
                   6438: done
                   6439:   done
                   6440: IFS=$as_save_IFS
1.9       ohara    6441:
1.10      ohara    6442: fi
                   6443: fi
                   6444: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6445: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   6447: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   6448: else
                   6449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6450: $as_echo "no" >&6; }
                   6451: fi
1.9       ohara    6452:
1.10      ohara    6453:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   6454:     MANIFEST_TOOL=":"
1.9       ohara    6455:   else
1.10      ohara    6456:     case $cross_compiling:$ac_tool_warned in
                   6457: yes:)
                   6458: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6459: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6460: ac_tool_warned=yes ;;
                   6461: esac
                   6462:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6463:   fi
                   6464: else
                   6465:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6466: fi
                   6467:
                   6468: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6469: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6470: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
1.12    ! noro     6471: if test "${lt_cv_path_mainfest_tool+set}" = set; then :
1.10      ohara    6472:   $as_echo_n "(cached) " >&6
                   6473: else
                   6474:   lt_cv_path_mainfest_tool=no
                   6475:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6476:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6477:   cat conftest.err >&5
                   6478:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6479:     lt_cv_path_mainfest_tool=yes
1.9       ohara    6480:   fi
1.10      ohara    6481:   rm -f conftest*
                   6482: fi
                   6483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   6484: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
                   6485: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6486:   MANIFEST_TOOL=:
                   6487: fi
                   6488:
                   6489:
1.9       ohara    6490:
                   6491:
                   6492:
                   6493:
                   6494:   case $host_os in
1.10      ohara    6495:     rhapsody* | darwin*)
                   6496:     if test -n "$ac_tool_prefix"; then
                   6497:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6498: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6500: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6501: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
1.10      ohara    6502:   $as_echo_n "(cached) " >&6
                   6503: else
                   6504:   if test -n "$DSYMUTIL"; then
                   6505:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6506: else
                   6507: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6508: for as_dir in $PATH
                   6509: do
                   6510:   IFS=$as_save_IFS
                   6511:   test -z "$as_dir" && as_dir=.
                   6512:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6513:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6514:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6515:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6516:     break 2
                   6517:   fi
                   6518: done
                   6519:   done
                   6520: IFS=$as_save_IFS
                   6521:
                   6522: fi
                   6523: fi
                   6524: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6525: if test -n "$DSYMUTIL"; then
                   6526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   6527: $as_echo "$DSYMUTIL" >&6; }
                   6528: else
                   6529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6530: $as_echo "no" >&6; }
                   6531: fi
                   6532:
                   6533:
                   6534: fi
                   6535: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6536:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6537:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6538: set dummy dsymutil; ac_word=$2
                   6539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6540: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6541: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
1.10      ohara    6542:   $as_echo_n "(cached) " >&6
                   6543: else
                   6544:   if test -n "$ac_ct_DSYMUTIL"; then
                   6545:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6546: else
                   6547: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6548: for as_dir in $PATH
                   6549: do
                   6550:   IFS=$as_save_IFS
                   6551:   test -z "$as_dir" && as_dir=.
                   6552:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6553:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6554:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6555:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6556:     break 2
                   6557:   fi
                   6558: done
                   6559:   done
                   6560: IFS=$as_save_IFS
1.9       ohara    6561:
1.10      ohara    6562: fi
                   6563: fi
                   6564: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6565: if test -n "$ac_ct_DSYMUTIL"; then
                   6566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   6567: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   6568: else
                   6569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6570: $as_echo "no" >&6; }
                   6571: fi
1.9       ohara    6572:
1.10      ohara    6573:   if test "x$ac_ct_DSYMUTIL" = x; then
                   6574:     DSYMUTIL=":"
                   6575:   else
                   6576:     case $cross_compiling:$ac_tool_warned in
                   6577: yes:)
                   6578: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6579: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6580: ac_tool_warned=yes ;;
                   6581: esac
                   6582:     DSYMUTIL=$ac_ct_DSYMUTIL
                   6583:   fi
                   6584: else
                   6585:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6586: fi
1.9       ohara    6587:
1.10      ohara    6588:     if test -n "$ac_tool_prefix"; then
                   6589:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6590: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6592: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6593: if test "${ac_cv_prog_NMEDIT+set}" = set; then :
1.10      ohara    6594:   $as_echo_n "(cached) " >&6
                   6595: else
                   6596:   if test -n "$NMEDIT"; then
                   6597:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6598: else
                   6599: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6600: for as_dir in $PATH
                   6601: do
                   6602:   IFS=$as_save_IFS
                   6603:   test -z "$as_dir" && as_dir=.
                   6604:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6605:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6606:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6607:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6608:     break 2
1.9       ohara    6609:   fi
1.10      ohara    6610: done
                   6611:   done
                   6612: IFS=$as_save_IFS
                   6613:
                   6614: fi
                   6615: fi
                   6616: NMEDIT=$ac_cv_prog_NMEDIT
                   6617: if test -n "$NMEDIT"; then
                   6618:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   6619: $as_echo "$NMEDIT" >&6; }
                   6620: else
                   6621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6622: $as_echo "no" >&6; }
                   6623: fi
                   6624:
1.9       ohara    6625:
1.10      ohara    6626: fi
                   6627: if test -z "$ac_cv_prog_NMEDIT"; then
                   6628:   ac_ct_NMEDIT=$NMEDIT
                   6629:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6630: set dummy nmedit; ac_word=$2
                   6631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6632: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6633: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
1.10      ohara    6634:   $as_echo_n "(cached) " >&6
                   6635: else
                   6636:   if test -n "$ac_ct_NMEDIT"; then
                   6637:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6638: else
                   6639: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6640: for as_dir in $PATH
                   6641: do
                   6642:   IFS=$as_save_IFS
                   6643:   test -z "$as_dir" && as_dir=.
                   6644:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6645:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6646:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6647:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6648:     break 2
                   6649:   fi
                   6650: done
                   6651:   done
                   6652: IFS=$as_save_IFS
1.9       ohara    6653:
1.10      ohara    6654: fi
                   6655: fi
                   6656: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6657: if test -n "$ac_ct_NMEDIT"; then
                   6658:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   6659: $as_echo "$ac_ct_NMEDIT" >&6; }
                   6660: else
                   6661:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6662: $as_echo "no" >&6; }
                   6663: fi
1.9       ohara    6664:
1.10      ohara    6665:   if test "x$ac_ct_NMEDIT" = x; then
                   6666:     NMEDIT=":"
1.9       ohara    6667:   else
1.10      ohara    6668:     case $cross_compiling:$ac_tool_warned in
                   6669: yes:)
                   6670: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6671: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6672: ac_tool_warned=yes ;;
                   6673: esac
                   6674:     NMEDIT=$ac_ct_NMEDIT
                   6675:   fi
                   6676: else
                   6677:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6678: fi
                   6679:
                   6680:     if test -n "$ac_tool_prefix"; then
                   6681:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6682: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6684: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6685: if test "${ac_cv_prog_LIPO+set}" = set; then :
1.10      ohara    6686:   $as_echo_n "(cached) " >&6
                   6687: else
                   6688:   if test -n "$LIPO"; then
                   6689:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6690: else
                   6691: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6692: for as_dir in $PATH
                   6693: do
                   6694:   IFS=$as_save_IFS
                   6695:   test -z "$as_dir" && as_dir=.
                   6696:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6697:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6698:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6699:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6700:     break 2
1.9       ohara    6701:   fi
1.10      ohara    6702: done
                   6703:   done
                   6704: IFS=$as_save_IFS
                   6705:
                   6706: fi
                   6707: fi
                   6708: LIPO=$ac_cv_prog_LIPO
                   6709: if test -n "$LIPO"; then
                   6710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   6711: $as_echo "$LIPO" >&6; }
                   6712: else
                   6713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6714: $as_echo "no" >&6; }
                   6715: fi
                   6716:
1.9       ohara    6717:
1.10      ohara    6718: fi
                   6719: if test -z "$ac_cv_prog_LIPO"; then
                   6720:   ac_ct_LIPO=$LIPO
                   6721:   # Extract the first word of "lipo", so it can be a program name with args.
                   6722: set dummy lipo; ac_word=$2
                   6723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6724: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6725: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
1.10      ohara    6726:   $as_echo_n "(cached) " >&6
                   6727: else
                   6728:   if test -n "$ac_ct_LIPO"; then
                   6729:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6730: else
                   6731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6732: for as_dir in $PATH
                   6733: do
                   6734:   IFS=$as_save_IFS
                   6735:   test -z "$as_dir" && as_dir=.
                   6736:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6737:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6738:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6739:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6740:     break 2
                   6741:   fi
                   6742: done
                   6743:   done
                   6744: IFS=$as_save_IFS
1.9       ohara    6745:
1.10      ohara    6746: fi
                   6747: fi
                   6748: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6749: if test -n "$ac_ct_LIPO"; then
                   6750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   6751: $as_echo "$ac_ct_LIPO" >&6; }
                   6752: else
                   6753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6754: $as_echo "no" >&6; }
                   6755: fi
1.9       ohara    6756:
1.10      ohara    6757:   if test "x$ac_ct_LIPO" = x; then
                   6758:     LIPO=":"
1.9       ohara    6759:   else
1.10      ohara    6760:     case $cross_compiling:$ac_tool_warned in
                   6761: yes:)
                   6762: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6763: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6764: ac_tool_warned=yes ;;
                   6765: esac
                   6766:     LIPO=$ac_ct_LIPO
1.9       ohara    6767:   fi
1.10      ohara    6768: else
                   6769:   LIPO="$ac_cv_prog_LIPO"
                   6770: fi
1.9       ohara    6771:
1.10      ohara    6772:     if test -n "$ac_tool_prefix"; then
                   6773:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6774: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6775: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6776: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6777: if test "${ac_cv_prog_OTOOL+set}" = set; then :
1.10      ohara    6778:   $as_echo_n "(cached) " >&6
                   6779: else
                   6780:   if test -n "$OTOOL"; then
                   6781:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6782: else
                   6783: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6784: for as_dir in $PATH
                   6785: do
                   6786:   IFS=$as_save_IFS
                   6787:   test -z "$as_dir" && as_dir=.
                   6788:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6789:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6790:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6791:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6792:     break 2
                   6793:   fi
                   6794: done
                   6795:   done
                   6796: IFS=$as_save_IFS
1.9       ohara    6797:
1.10      ohara    6798: fi
                   6799: fi
                   6800: OTOOL=$ac_cv_prog_OTOOL
                   6801: if test -n "$OTOOL"; then
                   6802:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   6803: $as_echo "$OTOOL" >&6; }
                   6804: else
                   6805:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6806: $as_echo "no" >&6; }
                   6807: fi
1.9       ohara    6808:
                   6809:
1.10      ohara    6810: fi
                   6811: if test -z "$ac_cv_prog_OTOOL"; then
                   6812:   ac_ct_OTOOL=$OTOOL
                   6813:   # Extract the first word of "otool", so it can be a program name with args.
                   6814: set dummy otool; ac_word=$2
                   6815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6816: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6817: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
1.10      ohara    6818:   $as_echo_n "(cached) " >&6
                   6819: else
                   6820:   if test -n "$ac_ct_OTOOL"; then
                   6821:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6822: else
                   6823: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6824: for as_dir in $PATH
                   6825: do
                   6826:   IFS=$as_save_IFS
                   6827:   test -z "$as_dir" && as_dir=.
                   6828:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6829:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6830:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6831:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6832:     break 2
1.9       ohara    6833:   fi
1.10      ohara    6834: done
                   6835:   done
                   6836: IFS=$as_save_IFS
1.9       ohara    6837:
1.10      ohara    6838: fi
                   6839: fi
                   6840: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6841: if test -n "$ac_ct_OTOOL"; then
                   6842:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   6843: $as_echo "$ac_ct_OTOOL" >&6; }
                   6844: else
                   6845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6846: $as_echo "no" >&6; }
                   6847: fi
1.9       ohara    6848:
1.10      ohara    6849:   if test "x$ac_ct_OTOOL" = x; then
                   6850:     OTOOL=":"
                   6851:   else
                   6852:     case $cross_compiling:$ac_tool_warned in
                   6853: yes:)
                   6854: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6855: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6856: ac_tool_warned=yes ;;
                   6857: esac
                   6858:     OTOOL=$ac_ct_OTOOL
1.9       ohara    6859:   fi
1.10      ohara    6860: else
                   6861:   OTOOL="$ac_cv_prog_OTOOL"
                   6862: fi
1.9       ohara    6863:
1.10      ohara    6864:     if test -n "$ac_tool_prefix"; then
                   6865:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6866: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6867: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6868: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6869: if test "${ac_cv_prog_OTOOL64+set}" = set; then :
1.10      ohara    6870:   $as_echo_n "(cached) " >&6
                   6871: else
                   6872:   if test -n "$OTOOL64"; then
                   6873:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6874: else
                   6875: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6876: for as_dir in $PATH
                   6877: do
                   6878:   IFS=$as_save_IFS
                   6879:   test -z "$as_dir" && as_dir=.
                   6880:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6881:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6882:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6883:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6884:     break 2
1.9       ohara    6885:   fi
1.10      ohara    6886: done
                   6887:   done
                   6888: IFS=$as_save_IFS
1.9       ohara    6889:
1.10      ohara    6890: fi
                   6891: fi
                   6892: OTOOL64=$ac_cv_prog_OTOOL64
                   6893: if test -n "$OTOOL64"; then
                   6894:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   6895: $as_echo "$OTOOL64" >&6; }
                   6896: else
                   6897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6898: $as_echo "no" >&6; }
                   6899: fi
1.9       ohara    6900:
                   6901:
                   6902: fi
1.10      ohara    6903: if test -z "$ac_cv_prog_OTOOL64"; then
                   6904:   ac_ct_OTOOL64=$OTOOL64
                   6905:   # Extract the first word of "otool64", so it can be a program name with args.
                   6906: set dummy otool64; ac_word=$2
                   6907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6908: $as_echo_n "checking for $ac_word... " >&6; }
1.12    ! noro     6909: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
1.10      ohara    6910:   $as_echo_n "(cached) " >&6
                   6911: else
                   6912:   if test -n "$ac_ct_OTOOL64"; then
                   6913:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6914: else
                   6915: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6916: for as_dir in $PATH
                   6917: do
                   6918:   IFS=$as_save_IFS
                   6919:   test -z "$as_dir" && as_dir=.
                   6920:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6921:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6922:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6923:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6924:     break 2
                   6925:   fi
                   6926: done
                   6927:   done
                   6928: IFS=$as_save_IFS
1.9       ohara    6929:
1.10      ohara    6930: fi
                   6931: fi
                   6932: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6933: if test -n "$ac_ct_OTOOL64"; then
                   6934:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   6935: $as_echo "$ac_ct_OTOOL64" >&6; }
                   6936: else
                   6937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6938: $as_echo "no" >&6; }
                   6939: fi
1.9       ohara    6940:
1.10      ohara    6941:   if test "x$ac_ct_OTOOL64" = x; then
                   6942:     OTOOL64=":"
1.9       ohara    6943:   else
1.10      ohara    6944:     case $cross_compiling:$ac_tool_warned in
                   6945: yes:)
                   6946: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6947: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6948: ac_tool_warned=yes ;;
                   6949: esac
                   6950:     OTOOL64=$ac_ct_OTOOL64
1.9       ohara    6951:   fi
                   6952: else
1.10      ohara    6953:   OTOOL64="$ac_cv_prog_OTOOL64"
1.9       ohara    6954: fi
                   6955:
                   6956:
                   6957:
                   6958:
                   6959:
                   6960:
                   6961:
                   6962:
                   6963:
                   6964:
                   6965:
                   6966:
                   6967:
                   6968:
                   6969:
                   6970:
                   6971:
                   6972:
                   6973:
                   6974:
                   6975:
                   6976:
                   6977:
                   6978:
                   6979:
                   6980:
                   6981:
1.10      ohara    6982:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   6983: $as_echo_n "checking for -single_module linker flag... " >&6; }
1.12    ! noro     6984: if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
1.10      ohara    6985:   $as_echo_n "(cached) " >&6
                   6986: else
                   6987:   lt_cv_apple_cc_single_mod=no
                   6988:       if test -z "${LT_MULTI_MODULE}"; then
                   6989:        # By default we will add the -single_module flag. You can override
                   6990:        # by either setting the environment variable LT_MULTI_MODULE
                   6991:        # non-empty at configure time, or by adding -multi_module to the
                   6992:        # link flags.
                   6993:        rm -rf libconftest.dylib*
                   6994:        echo "int foo(void){return 1;}" > conftest.c
                   6995:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6996: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6997:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6998:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6999:         _lt_result=$?
                   7000:        # If there is a non-empty error log, and "single_module"
                   7001:        # appears in it, assume the flag caused a linker warning
                   7002:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7003:          cat conftest.err >&5
                   7004:        # Otherwise, if the output was created with a 0 exit code from
                   7005:        # the compiler, it worked.
                   7006:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7007:          lt_cv_apple_cc_single_mod=yes
                   7008:        else
                   7009:          cat conftest.err >&5
                   7010:        fi
                   7011:        rm -rf libconftest.dylib*
                   7012:        rm -f conftest.*
                   7013:       fi
                   7014: fi
                   7015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7016: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
                   7017:
                   7018:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7019: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.12    ! noro     7020: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
1.10      ohara    7021:   $as_echo_n "(cached) " >&6
                   7022: else
                   7023:   lt_cv_ld_exported_symbols_list=no
                   7024:       save_LDFLAGS=$LDFLAGS
                   7025:       echo "_main" > conftest.sym
                   7026:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7027:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7028: /* end confdefs.h.  */
                   7029:
                   7030: int
                   7031: main ()
                   7032: {
                   7033:
                   7034:   ;
                   7035:   return 0;
                   7036: }
                   7037: _ACEOF
                   7038: if ac_fn_c_try_link "$LINENO"; then :
                   7039:   lt_cv_ld_exported_symbols_list=yes
                   7040: else
                   7041:   lt_cv_ld_exported_symbols_list=no
                   7042: fi
                   7043: rm -f core conftest.err conftest.$ac_objext \
                   7044:     conftest$ac_exeext conftest.$ac_ext
                   7045:        LDFLAGS="$save_LDFLAGS"
                   7046:
                   7047: fi
                   7048: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7049: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
                   7050:
                   7051:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7052: $as_echo_n "checking for -force_load linker flag... " >&6; }
1.12    ! noro     7053: if test "${lt_cv_ld_force_load+set}" = set; then :
1.10      ohara    7054:   $as_echo_n "(cached) " >&6
                   7055: else
                   7056:   lt_cv_ld_force_load=no
                   7057:       cat > conftest.c << _LT_EOF
                   7058: int forced_loaded() { return 2;}
                   7059: _LT_EOF
                   7060:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7061:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7062:       echo "$AR cru libconftest.a conftest.o" >&5
                   7063:       $AR cru libconftest.a conftest.o 2>&5
                   7064:       echo "$RANLIB libconftest.a" >&5
                   7065:       $RANLIB libconftest.a 2>&5
                   7066:       cat > conftest.c << _LT_EOF
                   7067: int main() { return 0;}
                   7068: _LT_EOF
                   7069:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7070:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7071:       _lt_result=$?
                   7072:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7073:        cat conftest.err >&5
                   7074:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7075:        lt_cv_ld_force_load=yes
                   7076:       else
                   7077:        cat conftest.err >&5
                   7078:       fi
                   7079:         rm -f conftest.err libconftest.a conftest conftest.c
                   7080:         rm -rf conftest.dSYM
                   7081:
                   7082: fi
                   7083: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7084: $as_echo "$lt_cv_ld_force_load" >&6; }
                   7085:     case $host_os in
                   7086:     rhapsody* | darwin1.[012])
                   7087:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7088:     darwin1.*)
                   7089:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7090:     darwin*) # darwin 5.x on
                   7091:       # if running on 10.5 or later, the deployment target defaults
                   7092:       # to the OS version, if on x86, and 10.4, the deployment
                   7093:       # target defaults to 10.4. Don't you love it?
                   7094:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7095:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7096:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7097:        10.[012]*)
                   7098:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7099:        10.*)
                   7100:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7101:       esac
                   7102:     ;;
                   7103:   esac
                   7104:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7105:       _lt_dar_single_mod='$single_module'
                   7106:     fi
                   7107:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7108:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7109:     else
                   7110:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7111:     fi
                   7112:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7113:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7114:     else
                   7115:       _lt_dsymutil=
                   7116:     fi
                   7117:     ;;
                   7118:   esac
                   7119:
                   7120: ac_ext=c
                   7121: ac_cpp='$CPP $CPPFLAGS'
                   7122: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7123: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7124: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7125: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7126: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   7127: # On Suns, sometimes $CPP names a directory.
                   7128: if test -n "$CPP" && test -d "$CPP"; then
                   7129:   CPP=
                   7130: fi
                   7131: if test -z "$CPP"; then
1.12    ! noro     7132:   if test "${ac_cv_prog_CPP+set}" = set; then :
1.10      ohara    7133:   $as_echo_n "(cached) " >&6
                   7134: else
                   7135:       # Double quotes because CPP needs to be expanded
                   7136:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7137:     do
                   7138:       ac_preproc_ok=false
                   7139: for ac_c_preproc_warn_flag in '' yes
                   7140: do
                   7141:   # Use a header file that comes with gcc, so configuring glibc
                   7142:   # with a fresh cross-compiler works.
                   7143:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7144:   # <limits.h> exists even on freestanding compilers.
                   7145:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7146:   # not just through cpp. "Syntax error" is here to catch this case.
                   7147:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7148: /* end confdefs.h.  */
                   7149: #ifdef __STDC__
                   7150: # include <limits.h>
                   7151: #else
                   7152: # include <assert.h>
                   7153: #endif
                   7154:                     Syntax error
                   7155: _ACEOF
                   7156: if ac_fn_c_try_cpp "$LINENO"; then :
                   7157:
                   7158: else
                   7159:   # Broken: fails on valid input.
                   7160: continue
                   7161: fi
                   7162: rm -f conftest.err conftest.i conftest.$ac_ext
                   7163:
                   7164:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7165:   # can be detected and how.
                   7166:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7167: /* end confdefs.h.  */
                   7168: #include <ac_nonexistent.h>
                   7169: _ACEOF
                   7170: if ac_fn_c_try_cpp "$LINENO"; then :
                   7171:   # Broken: success on invalid input.
                   7172: continue
                   7173: else
                   7174:   # Passes both tests.
                   7175: ac_preproc_ok=:
                   7176: break
                   7177: fi
                   7178: rm -f conftest.err conftest.i conftest.$ac_ext
                   7179:
                   7180: done
                   7181: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7182: rm -f conftest.i conftest.err conftest.$ac_ext
                   7183: if $ac_preproc_ok; then :
                   7184:   break
                   7185: fi
                   7186:
                   7187:     done
                   7188:     ac_cv_prog_CPP=$CPP
                   7189:
                   7190: fi
                   7191:   CPP=$ac_cv_prog_CPP
                   7192: else
                   7193:   ac_cv_prog_CPP=$CPP
                   7194: fi
                   7195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7196: $as_echo "$CPP" >&6; }
                   7197: ac_preproc_ok=false
                   7198: for ac_c_preproc_warn_flag in '' yes
                   7199: do
                   7200:   # Use a header file that comes with gcc, so configuring glibc
                   7201:   # with a fresh cross-compiler works.
                   7202:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7203:   # <limits.h> exists even on freestanding compilers.
                   7204:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7205:   # not just through cpp. "Syntax error" is here to catch this case.
                   7206:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7207: /* end confdefs.h.  */
                   7208: #ifdef __STDC__
                   7209: # include <limits.h>
                   7210: #else
                   7211: # include <assert.h>
                   7212: #endif
                   7213:                     Syntax error
                   7214: _ACEOF
                   7215: if ac_fn_c_try_cpp "$LINENO"; then :
                   7216:
                   7217: else
                   7218:   # Broken: fails on valid input.
                   7219: continue
                   7220: fi
                   7221: rm -f conftest.err conftest.i conftest.$ac_ext
                   7222:
                   7223:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7224:   # can be detected and how.
                   7225:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7226: /* end confdefs.h.  */
                   7227: #include <ac_nonexistent.h>
                   7228: _ACEOF
                   7229: if ac_fn_c_try_cpp "$LINENO"; then :
                   7230:   # Broken: success on invalid input.
                   7231: continue
                   7232: else
                   7233:   # Passes both tests.
                   7234: ac_preproc_ok=:
                   7235: break
                   7236: fi
                   7237: rm -f conftest.err conftest.i conftest.$ac_ext
                   7238:
                   7239: done
                   7240: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7241: rm -f conftest.i conftest.err conftest.$ac_ext
                   7242: if $ac_preproc_ok; then :
                   7243:
                   7244: else
                   7245:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7246: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   7247: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1.12    ! noro     7248: See \`config.log' for more details" "$LINENO" 5 ; }
1.10      ohara    7249: fi
                   7250:
                   7251: ac_ext=c
                   7252: ac_cpp='$CPP $CPPFLAGS'
                   7253: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7254: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7255: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    7256:
                   7257:
1.10      ohara    7258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7259: $as_echo_n "checking for ANSI C header files... " >&6; }
1.12    ! noro     7260: if test "${ac_cv_header_stdc+set}" = set; then :
1.10      ohara    7261:   $as_echo_n "(cached) " >&6
                   7262: else
                   7263:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7264: /* end confdefs.h.  */
                   7265: #include <stdlib.h>
                   7266: #include <stdarg.h>
                   7267: #include <string.h>
                   7268: #include <float.h>
1.9       ohara    7269:
1.10      ohara    7270: int
                   7271: main ()
                   7272: {
1.9       ohara    7273:
1.10      ohara    7274:   ;
                   7275:   return 0;
                   7276: }
                   7277: _ACEOF
                   7278: if ac_fn_c_try_compile "$LINENO"; then :
                   7279:   ac_cv_header_stdc=yes
                   7280: else
                   7281:   ac_cv_header_stdc=no
                   7282: fi
                   7283: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    7284:
1.10      ohara    7285: if test $ac_cv_header_stdc = yes; then
                   7286:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7287:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7288: /* end confdefs.h.  */
                   7289: #include <string.h>
1.9       ohara    7290:
1.10      ohara    7291: _ACEOF
                   7292: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7293:   $EGREP "memchr" >/dev/null 2>&1; then :
1.9       ohara    7294:
1.10      ohara    7295: else
                   7296:   ac_cv_header_stdc=no
                   7297: fi
                   7298: rm -f conftest*
1.9       ohara    7299:
1.10      ohara    7300: fi
1.9       ohara    7301:
1.10      ohara    7302: if test $ac_cv_header_stdc = yes; then
                   7303:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7304:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7305: /* end confdefs.h.  */
                   7306: #include <stdlib.h>
1.9       ohara    7307:
1.10      ohara    7308: _ACEOF
                   7309: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7310:   $EGREP "free" >/dev/null 2>&1; then :
1.9       ohara    7311:
1.10      ohara    7312: else
                   7313:   ac_cv_header_stdc=no
                   7314: fi
                   7315: rm -f conftest*
1.9       ohara    7316:
1.10      ohara    7317: fi
1.9       ohara    7318:
1.10      ohara    7319: if test $ac_cv_header_stdc = yes; then
                   7320:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7321:   if test "$cross_compiling" = yes; then :
                   7322:   :
                   7323: else
                   7324:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7325: /* end confdefs.h.  */
                   7326: #include <ctype.h>
                   7327: #include <stdlib.h>
                   7328: #if ((' ' & 0x0FF) == 0x020)
                   7329: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7330: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7331: #else
                   7332: # define ISLOWER(c) \
                   7333:                   (('a' <= (c) && (c) <= 'i') \
                   7334:                     || ('j' <= (c) && (c) <= 'r') \
                   7335:                     || ('s' <= (c) && (c) <= 'z'))
                   7336: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7337: #endif
1.9       ohara    7338:
1.10      ohara    7339: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7340: int
                   7341: main ()
                   7342: {
                   7343:   int i;
                   7344:   for (i = 0; i < 256; i++)
                   7345:     if (XOR (islower (i), ISLOWER (i))
                   7346:        || toupper (i) != TOUPPER (i))
                   7347:       return 2;
                   7348:   return 0;
                   7349: }
                   7350: _ACEOF
                   7351: if ac_fn_c_try_run "$LINENO"; then :
1.9       ohara    7352:
1.10      ohara    7353: else
                   7354:   ac_cv_header_stdc=no
                   7355: fi
                   7356: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7357:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7358: fi
1.9       ohara    7359:
1.10      ohara    7360: fi
                   7361: fi
                   7362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   7363: $as_echo "$ac_cv_header_stdc" >&6; }
                   7364: if test $ac_cv_header_stdc = yes; then
1.9       ohara    7365:
1.10      ohara    7366: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.9       ohara    7367:
1.10      ohara    7368: fi
1.9       ohara    7369:
1.10      ohara    7370: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7371: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7372:                  inttypes.h stdint.h unistd.h
                   7373: do :
                   7374:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7375: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7376: "
                   7377: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   7378:   cat >>confdefs.h <<_ACEOF
                   7379: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7380: _ACEOF
1.9       ohara    7381:
1.10      ohara    7382: fi
1.9       ohara    7383:
1.10      ohara    7384: done
1.9       ohara    7385:
                   7386:
1.10      ohara    7387: for ac_header in dlfcn.h
                   7388: do :
                   7389:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7390: "
1.12    ! noro     7391: if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
1.10      ohara    7392:   cat >>confdefs.h <<_ACEOF
                   7393: #define HAVE_DLFCN_H 1
                   7394: _ACEOF
1.9       ohara    7395:
1.10      ohara    7396: fi
1.9       ohara    7397:
1.10      ohara    7398: done
1.9       ohara    7399:
                   7400:
                   7401:
                   7402:
                   7403:
1.10      ohara    7404: # Set options
1.9       ohara    7405:
                   7406:
                   7407:
1.10      ohara    7408:         enable_dlopen=no
1.9       ohara    7409:
                   7410:
1.10      ohara    7411:   enable_win32_dll=no
1.9       ohara    7412:
                   7413:
1.10      ohara    7414:             # Check whether --enable-shared was given.
                   7415: if test "${enable_shared+set}" = set; then :
                   7416:   enableval=$enable_shared; p=${PACKAGE-default}
                   7417:     case $enableval in
                   7418:     yes) enable_shared=yes ;;
                   7419:     no) enable_shared=no ;;
                   7420:     *)
                   7421:       enable_shared=no
                   7422:       # Look at the argument we got.  We use all the common list separators.
                   7423:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7424:       for pkg in $enableval; do
                   7425:        IFS="$lt_save_ifs"
                   7426:        if test "X$pkg" = "X$p"; then
                   7427:          enable_shared=yes
                   7428:        fi
                   7429:       done
                   7430:       IFS="$lt_save_ifs"
                   7431:       ;;
                   7432:     esac
                   7433: else
                   7434:   enable_shared=yes
                   7435: fi
1.9       ohara    7436:
                   7437:
                   7438:
                   7439:
                   7440:
                   7441:
                   7442:
                   7443:
                   7444:
1.10      ohara    7445:   # Check whether --enable-static was given.
                   7446: if test "${enable_static+set}" = set; then :
                   7447:   enableval=$enable_static; p=${PACKAGE-default}
                   7448:     case $enableval in
                   7449:     yes) enable_static=yes ;;
                   7450:     no) enable_static=no ;;
                   7451:     *)
                   7452:      enable_static=no
                   7453:       # Look at the argument we got.  We use all the common list separators.
                   7454:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7455:       for pkg in $enableval; do
                   7456:        IFS="$lt_save_ifs"
                   7457:        if test "X$pkg" = "X$p"; then
                   7458:          enable_static=yes
                   7459:        fi
                   7460:       done
                   7461:       IFS="$lt_save_ifs"
                   7462:       ;;
                   7463:     esac
                   7464: else
                   7465:   enable_static=yes
                   7466: fi
1.9       ohara    7467:
                   7468:
                   7469:
                   7470:
                   7471:
                   7472:
                   7473:
                   7474:
                   7475:
                   7476:
1.10      ohara    7477: # Check whether --with-pic was given.
                   7478: if test "${with_pic+set}" = set; then :
                   7479:   withval=$with_pic; lt_p=${PACKAGE-default}
                   7480:     case $withval in
                   7481:     yes|no) pic_mode=$withval ;;
                   7482:     *)
                   7483:       pic_mode=default
                   7484:       # Look at the argument we got.  We use all the common list separators.
                   7485:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7486:       for lt_pkg in $withval; do
                   7487:        IFS="$lt_save_ifs"
                   7488:        if test "X$lt_pkg" = "X$lt_p"; then
                   7489:          pic_mode=yes
                   7490:        fi
                   7491:       done
                   7492:       IFS="$lt_save_ifs"
                   7493:       ;;
                   7494:     esac
                   7495: else
                   7496:   pic_mode=default
                   7497: fi
1.9       ohara    7498:
                   7499:
1.10      ohara    7500: test -z "$pic_mode" && pic_mode=default
1.9       ohara    7501:
                   7502:
                   7503:
                   7504:
                   7505:
                   7506:
                   7507:
1.10      ohara    7508:   # Check whether --enable-fast-install was given.
                   7509: if test "${enable_fast_install+set}" = set; then :
                   7510:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7511:     case $enableval in
                   7512:     yes) enable_fast_install=yes ;;
                   7513:     no) enable_fast_install=no ;;
                   7514:     *)
                   7515:       enable_fast_install=no
                   7516:       # Look at the argument we got.  We use all the common list separators.
                   7517:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7518:       for pkg in $enableval; do
                   7519:        IFS="$lt_save_ifs"
                   7520:        if test "X$pkg" = "X$p"; then
                   7521:          enable_fast_install=yes
                   7522:        fi
                   7523:       done
                   7524:       IFS="$lt_save_ifs"
                   7525:       ;;
                   7526:     esac
1.9       ohara    7527: else
1.10      ohara    7528:   enable_fast_install=yes
1.9       ohara    7529: fi
                   7530:
                   7531:
                   7532:
                   7533:
                   7534:
                   7535:
                   7536:
                   7537:
                   7538:
                   7539:
                   7540:
1.10      ohara    7541: # This can be used to rebuild libtool when needed
                   7542: LIBTOOL_DEPS="$ltmain"
1.9       ohara    7543:
1.10      ohara    7544: # Always use our own libtool.
                   7545: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.9       ohara    7546:
                   7547:
                   7548:
                   7549:
                   7550:
                   7551:
                   7552:
                   7553:
                   7554:
                   7555:
                   7556:
                   7557:
                   7558:
                   7559:
                   7560:
                   7561:
                   7562:
                   7563:
                   7564:
                   7565:
                   7566:
                   7567:
                   7568:
                   7569:
                   7570:
                   7571:
                   7572:
                   7573:
                   7574:
                   7575:
1.10      ohara    7576: test -z "$LN_S" && LN_S="ln -s"
1.9       ohara    7577:
                   7578:
                   7579:
                   7580:
                   7581:
                   7582:
                   7583:
                   7584:
                   7585:
                   7586:
                   7587:
                   7588:
                   7589:
                   7590:
1.10      ohara    7591: if test -n "${ZSH_VERSION+set}" ; then
                   7592:    setopt NO_GLOB_SUBST
1.9       ohara    7593: fi
                   7594:
1.10      ohara    7595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   7596: $as_echo_n "checking for objdir... " >&6; }
1.12    ! noro     7597: if test "${lt_cv_objdir+set}" = set; then :
1.10      ohara    7598:   $as_echo_n "(cached) " >&6
                   7599: else
                   7600:   rm -f .libs 2>/dev/null
                   7601: mkdir .libs 2>/dev/null
                   7602: if test -d .libs; then
                   7603:   lt_cv_objdir=.libs
1.9       ohara    7604: else
1.10      ohara    7605:   # MS-DOS does not allow filenames that begin with a dot.
                   7606:   lt_cv_objdir=_libs
                   7607: fi
                   7608: rmdir .libs 2>/dev/null
1.9       ohara    7609: fi
1.10      ohara    7610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   7611: $as_echo "$lt_cv_objdir" >&6; }
                   7612: objdir=$lt_cv_objdir
                   7613:
                   7614:
1.9       ohara    7615:
                   7616:
                   7617:
1.10      ohara    7618: cat >>confdefs.h <<_ACEOF
                   7619: #define LT_OBJDIR "$lt_cv_objdir/"
                   7620: _ACEOF
                   7621:
1.9       ohara    7622:
                   7623:
                   7624:
1.10      ohara    7625: case $host_os in
                   7626: aix3*)
                   7627:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7628:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7629:   # vanish in a puff of smoke.
                   7630:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7631:     COLLECT_NAMES=
                   7632:     export COLLECT_NAMES
1.9       ohara    7633:   fi
1.10      ohara    7634:   ;;
                   7635: esac
                   7636:
                   7637: # Global variables:
                   7638: ofile=libtool
                   7639: can_build_shared=yes
                   7640:
                   7641: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7642: # which needs '.lib').
                   7643: libext=a
                   7644:
                   7645: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   7646:
                   7647: old_CC="$CC"
                   7648: old_CFLAGS="$CFLAGS"
1.9       ohara    7649:
1.10      ohara    7650: # Set sane defaults for various variables
                   7651: test -z "$CC" && CC=cc
                   7652: test -z "$LTCC" && LTCC=$CC
                   7653: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7654: test -z "$LD" && LD=ld
                   7655: test -z "$ac_objext" && ac_objext=o
1.9       ohara    7656:
1.10      ohara    7657: for cc_temp in $compiler""; do
1.9       ohara    7658:   case $cc_temp in
                   7659:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7660:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7661:     \-*) ;;
                   7662:     *) break;;
                   7663:   esac
                   7664: done
1.10      ohara    7665: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   7666:
                   7667:
                   7668: # Only perform the check for file, if the check method requires it
                   7669: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7670: case $deplibs_check_method in
                   7671: file_magic*)
                   7672:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7673:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   7674: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.12    ! noro     7675: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
1.10      ohara    7676:   $as_echo_n "(cached) " >&6
                   7677: else
                   7678:   case $MAGIC_CMD in
                   7679: [\\/*] |  ?:[\\/]*)
                   7680:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7681:   ;;
                   7682: *)
                   7683:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7684:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7685:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7686:   for ac_dir in $ac_dummy; do
                   7687:     IFS="$lt_save_ifs"
                   7688:     test -z "$ac_dir" && ac_dir=.
                   7689:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7690:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7691:       if test -n "$file_magic_test_file"; then
                   7692:        case $deplibs_check_method in
                   7693:        "file_magic "*)
                   7694:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7695:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7696:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7697:            $EGREP "$file_magic_regex" > /dev/null; then
                   7698:            :
                   7699:          else
                   7700:            cat <<_LT_EOF 1>&2
                   7701:
                   7702: *** Warning: the command libtool uses to detect shared libraries,
                   7703: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7704: *** The result is that libtool may fail to recognize shared libraries
                   7705: *** as such.  This will affect the creation of libtool libraries that
                   7706: *** depend on shared libraries, but programs linked with such libtool
                   7707: *** libraries will work regardless of this problem.  Nevertheless, you
                   7708: *** may want to report the problem to your system manager and/or to
                   7709: *** bug-libtool@gnu.org
1.9       ohara    7710:
1.10      ohara    7711: _LT_EOF
                   7712:          fi ;;
                   7713:        esac
                   7714:       fi
                   7715:       break
1.9       ohara    7716:     fi
1.10      ohara    7717:   done
                   7718:   IFS="$lt_save_ifs"
                   7719:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7720:   ;;
                   7721: esac
                   7722: fi
                   7723:
                   7724: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7725: if test -n "$MAGIC_CMD"; then
                   7726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7727: $as_echo "$MAGIC_CMD" >&6; }
                   7728: else
                   7729:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7730: $as_echo "no" >&6; }
                   7731: fi
                   7732:
                   7733:
                   7734:
                   7735:
                   7736:
                   7737: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7738:   if test -n "$ac_tool_prefix"; then
                   7739:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   7740: $as_echo_n "checking for file... " >&6; }
1.12    ! noro     7741: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
1.10      ohara    7742:   $as_echo_n "(cached) " >&6
                   7743: else
                   7744:   case $MAGIC_CMD in
                   7745: [\\/*] |  ?:[\\/]*)
                   7746:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7747:   ;;
                   7748: *)
                   7749:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7750:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7751:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7752:   for ac_dir in $ac_dummy; do
                   7753:     IFS="$lt_save_ifs"
                   7754:     test -z "$ac_dir" && ac_dir=.
                   7755:     if test -f $ac_dir/file; then
                   7756:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7757:       if test -n "$file_magic_test_file"; then
                   7758:        case $deplibs_check_method in
                   7759:        "file_magic "*)
                   7760:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7761:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7762:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7763:            $EGREP "$file_magic_regex" > /dev/null; then
                   7764:            :
                   7765:          else
                   7766:            cat <<_LT_EOF 1>&2
1.9       ohara    7767:
1.10      ohara    7768: *** Warning: the command libtool uses to detect shared libraries,
                   7769: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7770: *** The result is that libtool may fail to recognize shared libraries
                   7771: *** as such.  This will affect the creation of libtool libraries that
                   7772: *** depend on shared libraries, but programs linked with such libtool
                   7773: *** libraries will work regardless of this problem.  Nevertheless, you
                   7774: *** may want to report the problem to your system manager and/or to
                   7775: *** bug-libtool@gnu.org
1.9       ohara    7776:
1.10      ohara    7777: _LT_EOF
                   7778:          fi ;;
                   7779:        esac
                   7780:       fi
                   7781:       break
1.9       ohara    7782:     fi
1.10      ohara    7783:   done
                   7784:   IFS="$lt_save_ifs"
                   7785:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7786:   ;;
                   7787: esac
                   7788: fi
                   7789:
                   7790: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7791: if test -n "$MAGIC_CMD"; then
                   7792:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7793: $as_echo "$MAGIC_CMD" >&6; }
                   7794: else
                   7795:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7796: $as_echo "no" >&6; }
                   7797: fi
1.9       ohara    7798:
                   7799:
1.10      ohara    7800:   else
                   7801:     MAGIC_CMD=:
                   7802:   fi
                   7803: fi
1.9       ohara    7804:
1.10      ohara    7805:   fi
                   7806:   ;;
                   7807: esac
1.9       ohara    7808:
1.10      ohara    7809: # Use C for the default configuration in the libtool script
1.9       ohara    7810:
1.10      ohara    7811: lt_save_CC="$CC"
                   7812: ac_ext=c
                   7813: ac_cpp='$CPP $CPPFLAGS'
                   7814: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7815: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7816: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    7817:
                   7818:
1.10      ohara    7819: # Source file extension for C test sources.
                   7820: ac_ext=c
1.9       ohara    7821:
1.10      ohara    7822: # Object file extension for compiled C test sources.
                   7823: objext=o
                   7824: objext=$objext
1.9       ohara    7825:
1.10      ohara    7826: # Code to be used in simple compile tests
                   7827: lt_simple_compile_test_code="int some_variable = 0;"
1.9       ohara    7828:
1.10      ohara    7829: # Code to be used in simple link tests
                   7830: lt_simple_link_test_code='int main(){return(0);}'
1.9       ohara    7831:
                   7832:
                   7833:
                   7834:
                   7835:
                   7836:
                   7837:
1.10      ohara    7838: # If no C compiler was specified, use CC.
                   7839: LTCC=${LTCC-"$CC"}
1.9       ohara    7840:
1.10      ohara    7841: # If no C compiler flags were specified, use CFLAGS.
                   7842: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.9       ohara    7843:
1.10      ohara    7844: # Allow CC to be a program name with arguments.
                   7845: compiler=$CC
1.9       ohara    7846:
1.10      ohara    7847: # Save the default compiler, since it gets overwritten when the other
                   7848: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7849: compiler_DEFAULT=$CC
1.9       ohara    7850:
1.10      ohara    7851: # save warnings/boilerplate of simple test code
                   7852: ac_outfile=conftest.$ac_objext
                   7853: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7854: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7855: _lt_compiler_boilerplate=`cat conftest.err`
                   7856: $RM conftest*
1.9       ohara    7857:
1.10      ohara    7858: ac_outfile=conftest.$ac_objext
                   7859: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7860: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7861: _lt_linker_boilerplate=`cat conftest.err`
                   7862: $RM -r conftest*
1.9       ohara    7863:
                   7864:
1.10      ohara    7865: if test -n "$compiler"; then
1.9       ohara    7866:
1.10      ohara    7867: lt_prog_compiler_no_builtin_flag=
1.9       ohara    7868:
1.10      ohara    7869: if test "$GCC" = yes; then
                   7870:   case $cc_basename in
                   7871:   nvcc*)
                   7872:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   7873:   *)
                   7874:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   7875:   esac
1.9       ohara    7876:
1.10      ohara    7877:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7878: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.12    ! noro     7879: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
1.10      ohara    7880:   $as_echo_n "(cached) " >&6
                   7881: else
                   7882:   lt_cv_prog_compiler_rtti_exceptions=no
                   7883:    ac_outfile=conftest.$ac_objext
                   7884:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7885:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7886:    # Insert the option either (1) after the last *FLAGS variable, or
                   7887:    # (2) before a word containing "conftest.", or (3) at the end.
                   7888:    # Note that $ac_compile itself does not contain backslashes and begins
                   7889:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7890:    # The option is referenced via a variable to avoid confusing sed.
                   7891:    lt_compile=`echo "$ac_compile" | $SED \
                   7892:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7893:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7894:    -e 's:$: $lt_compiler_flag:'`
                   7895:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7896:    (eval "$lt_compile" 2>conftest.err)
                   7897:    ac_status=$?
                   7898:    cat conftest.err >&5
                   7899:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7900:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7901:      # The compiler can only warn and ignore the option if not recognized
                   7902:      # So say no if there are warnings other than the usual output.
                   7903:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7904:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7905:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7906:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7907:      fi
                   7908:    fi
                   7909:    $RM conftest*
1.9       ohara    7910:
1.10      ohara    7911: fi
                   7912: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   7913: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.9       ohara    7914:
1.10      ohara    7915: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7916:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.9       ohara    7917: else
1.10      ohara    7918:     :
                   7919: fi
                   7920:
                   7921: fi
1.9       ohara    7922:
                   7923:
                   7924:
                   7925:
                   7926:
                   7927:
1.10      ohara    7928:   lt_prog_compiler_wl=
                   7929: lt_prog_compiler_pic=
                   7930: lt_prog_compiler_static=
1.9       ohara    7931:
                   7932:
1.10      ohara    7933:   if test "$GCC" = yes; then
                   7934:     lt_prog_compiler_wl='-Wl,'
                   7935:     lt_prog_compiler_static='-static'
1.9       ohara    7936:
1.10      ohara    7937:     case $host_os in
                   7938:       aix*)
                   7939:       # All AIX code is PIC.
                   7940:       if test "$host_cpu" = ia64; then
                   7941:        # AIX 5 now supports IA64 processor
                   7942:        lt_prog_compiler_static='-Bstatic'
1.9       ohara    7943:       fi
                   7944:       ;;
                   7945:
                   7946:     amigaos*)
1.10      ohara    7947:       case $host_cpu in
                   7948:       powerpc)
                   7949:             # see comment about AmigaOS4 .so support
                   7950:             lt_prog_compiler_pic='-fPIC'
                   7951:         ;;
                   7952:       m68k)
                   7953:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7954:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7955:             # like `-m68040'.
                   7956:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7957:         ;;
                   7958:       esac
1.9       ohara    7959:       ;;
                   7960:
1.10      ohara    7961:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7962:       # PIC is the default for these OSes.
1.9       ohara    7963:       ;;
                   7964:
1.10      ohara    7965:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7966:       # This hack is so that the source file can tell whether it is being
                   7967:       # built for inclusion in a dll (and should export symbols for example).
                   7968:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7969:       # (--disable-auto-import) libraries
                   7970:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.9       ohara    7971:       ;;
                   7972:
                   7973:     darwin* | rhapsody*)
1.10      ohara    7974:       # PIC is the default on this platform
                   7975:       # Common symbols not allowed in MH_DYLIB files
                   7976:       lt_prog_compiler_pic='-fno-common'
1.9       ohara    7977:       ;;
                   7978:
1.10      ohara    7979:     haiku*)
                   7980:       # PIC is the default for Haiku.
                   7981:       # The "-static" flag exists, but is broken.
                   7982:       lt_prog_compiler_static=
1.9       ohara    7983:       ;;
                   7984:
1.10      ohara    7985:     hpux*)
                   7986:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7987:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7988:       # sets the default TLS model and affects inlining.
                   7989:       case $host_cpu in
                   7990:       hppa*64*)
                   7991:        # +Z the default
                   7992:        ;;
                   7993:       *)
                   7994:        lt_prog_compiler_pic='-fPIC'
                   7995:        ;;
                   7996:       esac
1.9       ohara    7997:       ;;
                   7998:
1.10      ohara    7999:     interix[3-9]*)
                   8000:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8001:       # Instead, we relocate shared libraries at runtime.
1.9       ohara    8002:       ;;
                   8003:
1.10      ohara    8004:     msdosdjgpp*)
                   8005:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8006:       # on systems that don't support them.
                   8007:       lt_prog_compiler_can_build_shared=no
                   8008:       enable_shared=no
1.9       ohara    8009:       ;;
                   8010:
1.10      ohara    8011:     *nto* | *qnx*)
                   8012:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8013:       # it will coredump.
                   8014:       lt_prog_compiler_pic='-fPIC -shared'
1.9       ohara    8015:       ;;
                   8016:
1.10      ohara    8017:     sysv4*MP*)
                   8018:       if test -d /usr/nec; then
                   8019:        lt_prog_compiler_pic=-Kconform_pic
1.9       ohara    8020:       fi
1.10      ohara    8021:       ;;
1.9       ohara    8022:
1.10      ohara    8023:     *)
                   8024:       lt_prog_compiler_pic='-fPIC'
1.9       ohara    8025:       ;;
1.10      ohara    8026:     esac
1.9       ohara    8027:
1.10      ohara    8028:     case $cc_basename in
                   8029:     nvcc*) # Cuda Compiler Driver 2.2
                   8030:       lt_prog_compiler_wl='-Xlinker '
                   8031:       if test -n "$lt_prog_compiler_pic"; then
                   8032:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
1.9       ohara    8033:       fi
                   8034:       ;;
1.10      ohara    8035:     esac
                   8036:   else
                   8037:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8038:     case $host_os in
                   8039:     aix*)
                   8040:       lt_prog_compiler_wl='-Wl,'
                   8041:       if test "$host_cpu" = ia64; then
                   8042:        # AIX 5 now supports IA64 processor
                   8043:        lt_prog_compiler_static='-Bstatic'
1.9       ohara    8044:       else
1.10      ohara    8045:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
1.9       ohara    8046:       fi
1.10      ohara    8047:       ;;
1.9       ohara    8048:
1.10      ohara    8049:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8050:       # This hack is so that the source file can tell whether it is being
                   8051:       # built for inclusion in a dll (and should export symbols for example).
                   8052:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8053:       ;;
1.9       ohara    8054:
1.10      ohara    8055:     hpux9* | hpux10* | hpux11*)
                   8056:       lt_prog_compiler_wl='-Wl,'
                   8057:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8058:       # not for PA HP-UX.
                   8059:       case $host_cpu in
                   8060:       hppa*64*|ia64*)
                   8061:        # +Z the default
                   8062:        ;;
                   8063:       *)
                   8064:        lt_prog_compiler_pic='+Z'
                   8065:        ;;
                   8066:       esac
                   8067:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8068:       lt_prog_compiler_static='${wl}-a ${wl}archive'
1.9       ohara    8069:       ;;
                   8070:
                   8071:     irix5* | irix6* | nonstopux*)
1.10      ohara    8072:       lt_prog_compiler_wl='-Wl,'
                   8073:       # PIC (with -KPIC) is the default.
                   8074:       lt_prog_compiler_static='-non_shared'
1.9       ohara    8075:       ;;
                   8076:
1.10      ohara    8077:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8078:       case $cc_basename in
                   8079:       # old Intel for x86_64 which still supported -KPIC.
                   8080:       ecc*)
                   8081:        lt_prog_compiler_wl='-Wl,'
                   8082:        lt_prog_compiler_pic='-KPIC'
                   8083:        lt_prog_compiler_static='-static'
                   8084:         ;;
                   8085:       # icc used to be incompatible with GCC.
                   8086:       # ICC 10 doesn't accept -KPIC any more.
                   8087:       icc* | ifort*)
                   8088:        lt_prog_compiler_wl='-Wl,'
                   8089:        lt_prog_compiler_pic='-fPIC'
                   8090:        lt_prog_compiler_static='-static'
                   8091:         ;;
                   8092:       # Lahey Fortran 8.1.
                   8093:       lf95*)
                   8094:        lt_prog_compiler_wl='-Wl,'
                   8095:        lt_prog_compiler_pic='--shared'
                   8096:        lt_prog_compiler_static='--static'
                   8097:        ;;
                   8098:       nagfor*)
                   8099:        # NAG Fortran compiler
                   8100:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8101:        lt_prog_compiler_pic='-PIC'
                   8102:        lt_prog_compiler_static='-Bstatic'
                   8103:        ;;
                   8104:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8105:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8106:        # which looks to be a dead project)
                   8107:        lt_prog_compiler_wl='-Wl,'
                   8108:        lt_prog_compiler_pic='-fpic'
                   8109:        lt_prog_compiler_static='-Bstatic'
                   8110:         ;;
                   8111:       ccc*)
                   8112:         lt_prog_compiler_wl='-Wl,'
                   8113:         # All Alpha code is PIC.
                   8114:         lt_prog_compiler_static='-non_shared'
                   8115:         ;;
                   8116:       xl* | bgxl* | bgf* | mpixl*)
                   8117:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8118:        lt_prog_compiler_wl='-Wl,'
                   8119:        lt_prog_compiler_pic='-qpic'
                   8120:        lt_prog_compiler_static='-qstaticlink'
                   8121:        ;;
                   8122:       *)
                   8123:        case `$CC -V 2>&1 | sed 5q` in
                   8124:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8125:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8126:          lt_prog_compiler_pic='-KPIC'
                   8127:          lt_prog_compiler_static='-Bstatic'
                   8128:          lt_prog_compiler_wl=''
                   8129:          ;;
                   8130:        *Sun\ F* | *Sun*Fortran*)
                   8131:          lt_prog_compiler_pic='-KPIC'
                   8132:          lt_prog_compiler_static='-Bstatic'
                   8133:          lt_prog_compiler_wl='-Qoption ld '
                   8134:          ;;
                   8135:        *Sun\ C*)
                   8136:          # Sun C 5.9
                   8137:          lt_prog_compiler_pic='-KPIC'
                   8138:          lt_prog_compiler_static='-Bstatic'
                   8139:          lt_prog_compiler_wl='-Wl,'
                   8140:          ;;
                   8141:         *Intel*\ [CF]*Compiler*)
                   8142:          lt_prog_compiler_wl='-Wl,'
                   8143:          lt_prog_compiler_pic='-fPIC'
                   8144:          lt_prog_compiler_static='-static'
                   8145:          ;;
                   8146:        *Portland\ Group*)
                   8147:          lt_prog_compiler_wl='-Wl,'
                   8148:          lt_prog_compiler_pic='-fpic'
                   8149:          lt_prog_compiler_static='-Bstatic'
                   8150:          ;;
                   8151:        esac
                   8152:        ;;
                   8153:       esac
1.9       ohara    8154:       ;;
                   8155:
                   8156:     newsos6)
1.10      ohara    8157:       lt_prog_compiler_pic='-KPIC'
                   8158:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8159:       ;;
                   8160:
1.10      ohara    8161:     *nto* | *qnx*)
                   8162:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8163:       # it will coredump.
                   8164:       lt_prog_compiler_pic='-fPIC -shared'
1.9       ohara    8165:       ;;
                   8166:
1.10      ohara    8167:     osf3* | osf4* | osf5*)
                   8168:       lt_prog_compiler_wl='-Wl,'
                   8169:       # All OSF/1 code is PIC.
                   8170:       lt_prog_compiler_static='-non_shared'
1.9       ohara    8171:       ;;
                   8172:
1.10      ohara    8173:     rdos*)
                   8174:       lt_prog_compiler_static='-non_shared'
1.9       ohara    8175:       ;;
                   8176:
                   8177:     solaris*)
1.10      ohara    8178:       lt_prog_compiler_pic='-KPIC'
                   8179:       lt_prog_compiler_static='-Bstatic'
                   8180:       case $cc_basename in
                   8181:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8182:        lt_prog_compiler_wl='-Qoption ld ';;
1.9       ohara    8183:       *)
1.10      ohara    8184:        lt_prog_compiler_wl='-Wl,';;
1.9       ohara    8185:       esac
                   8186:       ;;
                   8187:
                   8188:     sunos4*)
1.10      ohara    8189:       lt_prog_compiler_wl='-Qoption ld '
                   8190:       lt_prog_compiler_pic='-PIC'
                   8191:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8192:       ;;
                   8193:
1.10      ohara    8194:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8195:       lt_prog_compiler_wl='-Wl,'
                   8196:       lt_prog_compiler_pic='-KPIC'
                   8197:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8198:       ;;
                   8199:
                   8200:     sysv4*MP*)
1.10      ohara    8201:       if test -d /usr/nec ;then
                   8202:        lt_prog_compiler_pic='-Kconform_pic'
                   8203:        lt_prog_compiler_static='-Bstatic'
1.9       ohara    8204:       fi
                   8205:       ;;
                   8206:
1.10      ohara    8207:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8208:       lt_prog_compiler_wl='-Wl,'
                   8209:       lt_prog_compiler_pic='-KPIC'
                   8210:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8211:       ;;
                   8212:
1.10      ohara    8213:     unicos*)
                   8214:       lt_prog_compiler_wl='-Wl,'
                   8215:       lt_prog_compiler_can_build_shared=no
1.9       ohara    8216:       ;;
                   8217:
                   8218:     uts4*)
1.10      ohara    8219:       lt_prog_compiler_pic='-pic'
                   8220:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8221:       ;;
                   8222:
                   8223:     *)
1.10      ohara    8224:       lt_prog_compiler_can_build_shared=no
1.9       ohara    8225:       ;;
                   8226:     esac
                   8227:   fi
                   8228:
1.10      ohara    8229: case $host_os in
                   8230:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8231:   *djgpp*)
                   8232:     lt_prog_compiler_pic=
                   8233:     ;;
                   8234:   *)
                   8235:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8236:     ;;
                   8237: esac
                   8238:
                   8239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8240: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1.12    ! noro     8241: if test "${lt_cv_prog_compiler_pic+set}" = set; then :
1.10      ohara    8242:   $as_echo_n "(cached) " >&6
                   8243: else
                   8244:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8245: fi
                   8246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   8247: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   8248: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.9       ohara    8249:
                   8250: #
1.10      ohara    8251: # Check to make sure the PIC flag actually works.
1.9       ohara    8252: #
1.10      ohara    8253: if test -n "$lt_prog_compiler_pic"; then
                   8254:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8255: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.12    ! noro     8256: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
1.10      ohara    8257:   $as_echo_n "(cached) " >&6
                   8258: else
                   8259:   lt_cv_prog_compiler_pic_works=no
                   8260:    ac_outfile=conftest.$ac_objext
                   8261:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8262:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8263:    # Insert the option either (1) after the last *FLAGS variable, or
                   8264:    # (2) before a word containing "conftest.", or (3) at the end.
                   8265:    # Note that $ac_compile itself does not contain backslashes and begins
                   8266:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8267:    # The option is referenced via a variable to avoid confusing sed.
                   8268:    lt_compile=`echo "$ac_compile" | $SED \
                   8269:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8270:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8271:    -e 's:$: $lt_compiler_flag:'`
                   8272:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8273:    (eval "$lt_compile" 2>conftest.err)
                   8274:    ac_status=$?
                   8275:    cat conftest.err >&5
                   8276:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8277:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8278:      # The compiler can only warn and ignore the option if not recognized
                   8279:      # So say no if there are warnings other than the usual output.
                   8280:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8281:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8282:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8283:        lt_cv_prog_compiler_pic_works=yes
                   8284:      fi
                   8285:    fi
                   8286:    $RM conftest*
                   8287:
                   8288: fi
                   8289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8290: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8291:
                   8292: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8293:     case $lt_prog_compiler_pic in
                   8294:      "" | " "*) ;;
                   8295:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8296:      esac
                   8297: else
                   8298:     lt_prog_compiler_pic=
                   8299:      lt_prog_compiler_can_build_shared=no
                   8300: fi
                   8301:
                   8302: fi
                   8303:
                   8304:
                   8305:
                   8306:
                   8307:
                   8308:
                   8309:
                   8310:
1.9       ohara    8311:
                   8312:
                   8313:
1.10      ohara    8314: #
                   8315: # Check to make sure the static flag actually works.
                   8316: #
                   8317: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8319: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.12    ! noro     8320: if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
1.10      ohara    8321:   $as_echo_n "(cached) " >&6
1.9       ohara    8322: else
1.10      ohara    8323:   lt_cv_prog_compiler_static_works=no
                   8324:    save_LDFLAGS="$LDFLAGS"
                   8325:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8326:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8327:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8328:      # The linker can only warn and ignore the option if not recognized
                   8329:      # So say no if there are warnings
                   8330:      if test -s conftest.err; then
                   8331:        # Append any errors to the config.log.
                   8332:        cat conftest.err 1>&5
                   8333:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8334:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8335:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8336:          lt_cv_prog_compiler_static_works=yes
                   8337:        fi
                   8338:      else
                   8339:        lt_cv_prog_compiler_static_works=yes
                   8340:      fi
                   8341:    fi
                   8342:    $RM -r conftest*
                   8343:    LDFLAGS="$save_LDFLAGS"
                   8344:
1.9       ohara    8345: fi
1.10      ohara    8346: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8347: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.9       ohara    8348:
1.10      ohara    8349: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8350:     :
                   8351: else
                   8352:     lt_prog_compiler_static=
                   8353: fi
1.9       ohara    8354:
                   8355:
                   8356:
                   8357:
                   8358:
                   8359:
                   8360:
1.10      ohara    8361:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8362: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.12    ! noro     8363: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
1.10      ohara    8364:   $as_echo_n "(cached) " >&6
                   8365: else
                   8366:   lt_cv_prog_compiler_c_o=no
                   8367:    $RM -r conftest 2>/dev/null
                   8368:    mkdir conftest
                   8369:    cd conftest
                   8370:    mkdir out
                   8371:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.9       ohara    8372:
1.10      ohara    8373:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8374:    # Insert the option either (1) after the last *FLAGS variable, or
                   8375:    # (2) before a word containing "conftest.", or (3) at the end.
                   8376:    # Note that $ac_compile itself does not contain backslashes and begins
                   8377:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8378:    lt_compile=`echo "$ac_compile" | $SED \
                   8379:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8380:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8381:    -e 's:$: $lt_compiler_flag:'`
                   8382:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8383:    (eval "$lt_compile" 2>out/conftest.err)
                   8384:    ac_status=$?
                   8385:    cat out/conftest.err >&5
                   8386:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8387:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8388:    then
                   8389:      # The compiler can only warn and ignore the option if not recognized
                   8390:      # So say no if there are warnings
                   8391:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8392:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8393:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8394:        lt_cv_prog_compiler_c_o=yes
                   8395:      fi
                   8396:    fi
                   8397:    chmod u+w . 2>&5
                   8398:    $RM conftest*
                   8399:    # SGI C++ compiler will create directory out/ii_files/ for
                   8400:    # template instantiation
                   8401:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8402:    $RM out/* && rmdir out
                   8403:    cd ..
                   8404:    $RM -r conftest
                   8405:    $RM conftest*
1.9       ohara    8406:
1.10      ohara    8407: fi
                   8408: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8409: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.9       ohara    8410:
                   8411:
                   8412:
                   8413:
                   8414:
                   8415:
1.10      ohara    8416:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8417: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.12    ! noro     8418: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
1.10      ohara    8419:   $as_echo_n "(cached) " >&6
                   8420: else
                   8421:   lt_cv_prog_compiler_c_o=no
                   8422:    $RM -r conftest 2>/dev/null
                   8423:    mkdir conftest
                   8424:    cd conftest
                   8425:    mkdir out
                   8426:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.9       ohara    8427:
1.10      ohara    8428:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8429:    # Insert the option either (1) after the last *FLAGS variable, or
                   8430:    # (2) before a word containing "conftest.", or (3) at the end.
                   8431:    # Note that $ac_compile itself does not contain backslashes and begins
                   8432:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8433:    lt_compile=`echo "$ac_compile" | $SED \
                   8434:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8435:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8436:    -e 's:$: $lt_compiler_flag:'`
                   8437:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8438:    (eval "$lt_compile" 2>out/conftest.err)
                   8439:    ac_status=$?
                   8440:    cat out/conftest.err >&5
                   8441:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8442:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8443:    then
                   8444:      # The compiler can only warn and ignore the option if not recognized
                   8445:      # So say no if there are warnings
                   8446:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8447:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8448:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8449:        lt_cv_prog_compiler_c_o=yes
                   8450:      fi
                   8451:    fi
                   8452:    chmod u+w . 2>&5
                   8453:    $RM conftest*
                   8454:    # SGI C++ compiler will create directory out/ii_files/ for
                   8455:    # template instantiation
                   8456:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8457:    $RM out/* && rmdir out
                   8458:    cd ..
                   8459:    $RM -r conftest
                   8460:    $RM conftest*
1.9       ohara    8461:
1.10      ohara    8462: fi
                   8463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8464: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.9       ohara    8465:
                   8466:
                   8467:
                   8468:
1.10      ohara    8469: hard_links="nottested"
                   8470: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8471:   # do not overwrite the value of need_locks provided by the user
                   8472:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   8473: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8474:   hard_links=yes
                   8475:   $RM conftest*
                   8476:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8477:   touch conftest.a
                   8478:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8479:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8480:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   8481: $as_echo "$hard_links" >&6; }
                   8482:   if test "$hard_links" = no; then
                   8483:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8484: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8485:     need_locks=warn
1.9       ohara    8486:   fi
1.10      ohara    8487: else
                   8488:   need_locks=no
                   8489: fi
                   8490:
                   8491:
1.9       ohara    8492:
                   8493:
                   8494:
                   8495:
1.10      ohara    8496:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8497: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.9       ohara    8498:
1.10      ohara    8499:   runpath_var=
                   8500:   allow_undefined_flag=
                   8501:   always_export_symbols=no
                   8502:   archive_cmds=
                   8503:   archive_expsym_cmds=
                   8504:   compiler_needs_object=no
                   8505:   enable_shared_with_static_runtimes=no
                   8506:   export_dynamic_flag_spec=
                   8507:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8508:   hardcode_automatic=no
                   8509:   hardcode_direct=no
                   8510:   hardcode_direct_absolute=no
                   8511:   hardcode_libdir_flag_spec=
                   8512:   hardcode_libdir_separator=
                   8513:   hardcode_minus_L=no
                   8514:   hardcode_shlibpath_var=unsupported
                   8515:   inherit_rpath=no
                   8516:   link_all_deplibs=unknown
                   8517:   module_cmds=
                   8518:   module_expsym_cmds=
                   8519:   old_archive_from_new_cmds=
                   8520:   old_archive_from_expsyms_cmds=
                   8521:   thread_safe_flag_spec=
                   8522:   whole_archive_flag_spec=
                   8523:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8524:   # included in the symbol list
                   8525:   include_expsyms=
                   8526:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8527:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8528:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8529:   # as well as any symbol that contains `d'.
                   8530:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8531:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8532:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8533:   # the symbol is explicitly referenced.  Since portable code cannot
                   8534:   # rely on this symbol name, it's probably fine to never include it in
                   8535:   # preloaded symbol tables.
                   8536:   # Exclude shared library initialization/finalization symbols.
                   8537:   extract_expsyms_cmds=
1.9       ohara    8538:
                   8539:   case $host_os in
1.10      ohara    8540:   cygwin* | mingw* | pw32* | cegcc*)
                   8541:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8542:     # When not using gcc, we currently assume that we are using
                   8543:     # Microsoft Visual C++.
                   8544:     if test "$GCC" != yes; then
                   8545:       with_gnu_ld=no
                   8546:     fi
                   8547:     ;;
                   8548:   interix*)
                   8549:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8550:     with_gnu_ld=yes
                   8551:     ;;
                   8552:   openbsd*)
                   8553:     with_gnu_ld=no
                   8554:     ;;
1.9       ohara    8555:   esac
1.10      ohara    8556:
                   8557:   ld_shlibs=yes
                   8558:
                   8559:   # On some targets, GNU ld is compatible enough with the native linker
                   8560:   # that we're better off using the native interface for both.
                   8561:   lt_use_gnu_ld_interface=no
                   8562:   if test "$with_gnu_ld" = yes; then
1.9       ohara    8563:     case $host_os in
1.10      ohara    8564:       aix*)
                   8565:        # The AIX port of GNU ld has always aspired to compatibility
                   8566:        # with the native linker.  However, as the warning in the GNU ld
                   8567:        # block says, versions before 2.19.5* couldn't really create working
                   8568:        # shared libraries, regardless of the interface used.
                   8569:        case `$LD -v 2>&1` in
                   8570:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8571:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8572:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8573:          *)
                   8574:            lt_use_gnu_ld_interface=yes
                   8575:            ;;
                   8576:        esac
1.9       ohara    8577:        ;;
                   8578:       *)
1.10      ohara    8579:        lt_use_gnu_ld_interface=yes
1.9       ohara    8580:        ;;
1.10      ohara    8581:     esac
1.9       ohara    8582:   fi
                   8583:
1.10      ohara    8584:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8585:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8586:     wlarc='${wl}'
                   8587:
                   8588:     # Set some defaults for GNU ld with shared library support. These
                   8589:     # are reset later if shared libraries are not supported. Putting them
                   8590:     # here allows them to be overridden if necessary.
                   8591:     runpath_var=LD_RUN_PATH
                   8592:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8593:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8594:     # ancient GNU ld didn't support --whole-archive et. al.
                   8595:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8596:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8597:     else
                   8598:       whole_archive_flag_spec=
                   8599:     fi
                   8600:     supports_anon_versioning=no
                   8601:     case `$LD -v 2>&1` in
                   8602:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8603:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8604:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8605:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8606:       *\ 2.11.*) ;; # other 2.11 versions
                   8607:       *) supports_anon_versioning=yes ;;
                   8608:     esac
                   8609:
                   8610:     # See if GNU ld supports shared libraries.
                   8611:     case $host_os in
                   8612:     aix[3-9]*)
                   8613:       # On AIX/PPC, the GNU linker is very broken
                   8614:       if test "$host_cpu" != ia64; then
                   8615:        ld_shlibs=no
                   8616:        cat <<_LT_EOF 1>&2
                   8617:
                   8618: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8619: *** to be unable to reliably create shared libraries on AIX.
                   8620: *** Therefore, libtool is disabling shared libraries support.  If you
                   8621: *** really care for shared libraries, you may want to install binutils
                   8622: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8623: *** You will then need to restart the configuration process.
                   8624:
                   8625: _LT_EOF
                   8626:       fi
                   8627:       ;;
1.9       ohara    8628:
1.10      ohara    8629:     amigaos*)
                   8630:       case $host_cpu in
                   8631:       powerpc)
                   8632:             # see comment about AmigaOS4 .so support
                   8633:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8634:             archive_expsym_cmds=''
                   8635:         ;;
                   8636:       m68k)
                   8637:             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)'
                   8638:             hardcode_libdir_flag_spec='-L$libdir'
                   8639:             hardcode_minus_L=yes
                   8640:         ;;
                   8641:       esac
                   8642:       ;;
1.9       ohara    8643:
1.10      ohara    8644:     beos*)
                   8645:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8646:        allow_undefined_flag=unsupported
                   8647:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8648:        # support --undefined.  This deserves some investigation.  FIXME
                   8649:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8650:       else
                   8651:        ld_shlibs=no
                   8652:       fi
                   8653:       ;;
1.9       ohara    8654:
1.10      ohara    8655:     cygwin* | mingw* | pw32* | cegcc*)
                   8656:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8657:       # as there is no search path for DLLs.
                   8658:       hardcode_libdir_flag_spec='-L$libdir'
                   8659:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8660:       allow_undefined_flag=unsupported
                   8661:       always_export_symbols=no
                   8662:       enable_shared_with_static_runtimes=yes
                   8663:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   8664:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.9       ohara    8665:
1.10      ohara    8666:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8667:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8668:        # If the export-symbols file already is a .def file (1st line
                   8669:        # is EXPORTS), use it as is; otherwise, prepend...
                   8670:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8671:          cp $export_symbols $output_objdir/$soname.def;
                   8672:        else
                   8673:          echo EXPORTS > $output_objdir/$soname.def;
                   8674:          cat $export_symbols >> $output_objdir/$soname.def;
                   8675:        fi~
                   8676:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8677:       else
                   8678:        ld_shlibs=no
                   8679:       fi
1.9       ohara    8680:       ;;
1.10      ohara    8681:
                   8682:     haiku*)
                   8683:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8684:       link_all_deplibs=yes
1.9       ohara    8685:       ;;
1.10      ohara    8686:
                   8687:     interix[3-9]*)
                   8688:       hardcode_direct=no
                   8689:       hardcode_shlibpath_var=no
                   8690:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8691:       export_dynamic_flag_spec='${wl}-E'
                   8692:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8693:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8694:       # default) and relocated if they conflict, which is a slow very memory
                   8695:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8696:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8697:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8698:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8699:       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1.9       ohara    8700:       ;;
                   8701:
1.10      ohara    8702:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8703:       tmp_diet=no
                   8704:       if test "$host_os" = linux-dietlibc; then
                   8705:        case $cc_basename in
                   8706:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8707:        esac
                   8708:       fi
                   8709:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8710:         && test "$tmp_diet" = no
                   8711:       then
                   8712:        tmp_addflag=' $pic_flag'
                   8713:        tmp_sharedflag='-shared'
                   8714:        case $cc_basename,$host_cpu in
                   8715:         pgcc*)                         # Portland Group C compiler
                   8716:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   8717:          tmp_addflag=' $pic_flag'
                   8718:          ;;
                   8719:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8720:                                        # Portland Group f77 and f90 compilers
                   8721:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   8722:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8723:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8724:          tmp_addflag=' -i_dynamic' ;;
                   8725:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8726:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8727:        ifc* | ifort*)                  # Intel Fortran compiler
                   8728:          tmp_addflag=' -nofor_main' ;;
                   8729:        lf95*)                          # Lahey Fortran 8.1
                   8730:          whole_archive_flag_spec=
                   8731:          tmp_sharedflag='--shared' ;;
                   8732:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8733:          tmp_sharedflag='-qmkshrobj'
                   8734:          tmp_addflag= ;;
                   8735:        nvcc*)  # Cuda Compiler Driver 2.2
                   8736:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   8737:          compiler_needs_object=yes
                   8738:          ;;
                   8739:        esac
                   8740:        case `$CC -V 2>&1 | sed 5q` in
                   8741:        *Sun\ C*)                       # Sun C 5.9
                   8742:          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   8743:          compiler_needs_object=yes
                   8744:          tmp_sharedflag='-G' ;;
                   8745:        *Sun\ F*)                       # Sun Fortran 8.3
                   8746:          tmp_sharedflag='-G' ;;
                   8747:        esac
                   8748:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8749:
                   8750:         if test "x$supports_anon_versioning" = xyes; then
                   8751:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8752:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8753:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8754:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8755:         fi
                   8756:
                   8757:        case $cc_basename in
                   8758:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8759:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8760:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8761:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8762:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8763:          if test "x$supports_anon_versioning" = xyes; then
                   8764:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8765:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8766:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8767:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8768:          fi
                   8769:          ;;
                   8770:        esac
                   8771:       else
                   8772:         ld_shlibs=no
                   8773:       fi
                   8774:       ;;
1.9       ohara    8775:
1.10      ohara    8776:     netbsd*)
                   8777:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8778:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8779:        wlarc=
                   8780:       else
                   8781:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8782:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8783:       fi
                   8784:       ;;
1.9       ohara    8785:
1.10      ohara    8786:     solaris*)
                   8787:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8788:        ld_shlibs=no
                   8789:        cat <<_LT_EOF 1>&2
1.9       ohara    8790:
1.10      ohara    8791: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8792: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8793: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8794: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8795: *** your PATH or compiler configuration so that the native linker is
                   8796: *** used, and then restart.
1.9       ohara    8797:
1.10      ohara    8798: _LT_EOF
                   8799:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8800:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8801:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8802:       else
                   8803:        ld_shlibs=no
                   8804:       fi
                   8805:       ;;
1.9       ohara    8806:
1.10      ohara    8807:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8808:       case `$LD -v 2>&1` in
                   8809:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8810:        ld_shlibs=no
                   8811:        cat <<_LT_EOF 1>&2
1.9       ohara    8812:
1.10      ohara    8813: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8814: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8815: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8816: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8817: *** your PATH or compiler configuration so that the native linker is
                   8818: *** used, and then restart.
1.9       ohara    8819:
1.10      ohara    8820: _LT_EOF
                   8821:        ;;
                   8822:        *)
                   8823:          # For security reasons, it is highly recommended that you always
                   8824:          # use absolute paths for naming shared libraries, and exclude the
                   8825:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8826:          # requires that you compile everything twice, which is a pain.
                   8827:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8828:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8829:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8830:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8831:          else
                   8832:            ld_shlibs=no
                   8833:          fi
                   8834:        ;;
                   8835:       esac
                   8836:       ;;
1.9       ohara    8837:
1.10      ohara    8838:     sunos4*)
                   8839:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8840:       wlarc=
                   8841:       hardcode_direct=yes
                   8842:       hardcode_shlibpath_var=no
                   8843:       ;;
1.9       ohara    8844:
                   8845:     *)
1.10      ohara    8846:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8847:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8848:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8849:       else
                   8850:        ld_shlibs=no
                   8851:       fi
1.9       ohara    8852:       ;;
                   8853:     esac
                   8854:
1.10      ohara    8855:     if test "$ld_shlibs" = no; then
                   8856:       runpath_var=
                   8857:       hardcode_libdir_flag_spec=
                   8858:       export_dynamic_flag_spec=
                   8859:       whole_archive_flag_spec=
                   8860:     fi
                   8861:   else
                   8862:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8863:     case $host_os in
                   8864:     aix3*)
                   8865:       allow_undefined_flag=unsupported
                   8866:       always_export_symbols=yes
                   8867:       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'
                   8868:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8869:       # are no directories specified by -L.
                   8870:       hardcode_minus_L=yes
                   8871:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8872:        # Neither direct hardcoding nor static linking is supported with a
                   8873:        # broken collect2.
                   8874:        hardcode_direct=unsupported
                   8875:       fi
                   8876:       ;;
1.9       ohara    8877:
1.10      ohara    8878:     aix[4-9]*)
                   8879:       if test "$host_cpu" = ia64; then
                   8880:        # On IA64, the linker does run time linking by default, so we don't
                   8881:        # have to do anything special.
                   8882:        aix_use_runtimelinking=no
                   8883:        exp_sym_flag='-Bexport'
                   8884:        no_entry_flag=""
                   8885:       else
                   8886:        # If we're using GNU nm, then we don't want the "-C" option.
                   8887:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8888:        # Also, AIX nm treats weak defined symbols like other global
                   8889:        # defined symbols, whereas GNU nm marks them as "W".
                   8890:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8891:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   8892:        else
                   8893:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   8894:        fi
                   8895:        aix_use_runtimelinking=no
1.9       ohara    8896:
1.10      ohara    8897:        # Test if we are trying to use run time linking or normal
                   8898:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8899:        # need to do runtime linking.
                   8900:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8901:          for ld_flag in $LDFLAGS; do
                   8902:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8903:            aix_use_runtimelinking=yes
                   8904:            break
                   8905:          fi
                   8906:          done
                   8907:          ;;
                   8908:        esac
1.9       ohara    8909:
1.10      ohara    8910:        exp_sym_flag='-bexport'
                   8911:        no_entry_flag='-bnoentry'
                   8912:       fi
1.9       ohara    8913:
1.10      ohara    8914:       # When large executables or shared objects are built, AIX ld can
                   8915:       # have problems creating the table of contents.  If linking a library
                   8916:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8917:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8918:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.9       ohara    8919:
1.10      ohara    8920:       archive_cmds=''
                   8921:       hardcode_direct=yes
                   8922:       hardcode_direct_absolute=yes
                   8923:       hardcode_libdir_separator=':'
                   8924:       link_all_deplibs=yes
                   8925:       file_list_spec='${wl}-f,'
1.9       ohara    8926:
1.10      ohara    8927:       if test "$GCC" = yes; then
                   8928:        case $host_os in aix4.[012]|aix4.[012].*)
                   8929:        # We only want to do this on AIX 4.2 and lower, the check
                   8930:        # below for broken collect2 doesn't work under 4.3+
                   8931:          collect2name=`${CC} -print-prog-name=collect2`
                   8932:          if test -f "$collect2name" &&
                   8933:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8934:          then
                   8935:          # We have reworked collect2
                   8936:          :
                   8937:          else
                   8938:          # We have old collect2
                   8939:          hardcode_direct=unsupported
                   8940:          # It fails to find uninstalled libraries when the uninstalled
                   8941:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8942:          # to unsupported forces relinking
                   8943:          hardcode_minus_L=yes
                   8944:          hardcode_libdir_flag_spec='-L$libdir'
                   8945:          hardcode_libdir_separator=
                   8946:          fi
                   8947:          ;;
                   8948:        esac
                   8949:        shared_flag='-shared'
                   8950:        if test "$aix_use_runtimelinking" = yes; then
                   8951:          shared_flag="$shared_flag "'${wl}-G'
                   8952:        fi
                   8953:       else
                   8954:        # not using gcc
                   8955:        if test "$host_cpu" = ia64; then
                   8956:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8957:        # chokes on -Wl,-G. The following line is correct:
                   8958:          shared_flag='-G'
                   8959:        else
                   8960:          if test "$aix_use_runtimelinking" = yes; then
                   8961:            shared_flag='${wl}-G'
                   8962:          else
                   8963:            shared_flag='${wl}-bM:SRE'
                   8964:          fi
                   8965:        fi
                   8966:       fi
1.9       ohara    8967:
1.10      ohara    8968:       export_dynamic_flag_spec='${wl}-bexpall'
                   8969:       # It seems that -bexpall does not export symbols beginning with
                   8970:       # underscore (_), so it is better to generate a list of symbols to export.
                   8971:       always_export_symbols=yes
                   8972:       if test "$aix_use_runtimelinking" = yes; then
                   8973:        # Warning - without using the other runtime loading flags (-brtl),
                   8974:        # -berok will link without error, but may produce a broken library.
                   8975:        allow_undefined_flag='-berok'
                   8976:         # Determine the default libpath from the value encoded in an
                   8977:         # empty executable.
                   8978:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8979:   aix_libpath=$lt_cv_aix_libpath
                   8980: else
1.12    ! noro     8981:   if test "${lt_cv_aix_libpath_+set}" = set; then :
1.10      ohara    8982:   $as_echo_n "(cached) " >&6
                   8983: else
                   8984:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8985: /* end confdefs.h.  */
1.9       ohara    8986:
1.10      ohara    8987: int
                   8988: main ()
                   8989: {
1.9       ohara    8990:
1.10      ohara    8991:   ;
                   8992:   return 0;
                   8993: }
                   8994: _ACEOF
                   8995: if ac_fn_c_try_link "$LINENO"; then :
1.9       ohara    8996:
1.10      ohara    8997:   lt_aix_libpath_sed='
                   8998:       /Import File Strings/,/^$/ {
                   8999:          /^0/ {
                   9000:              s/^0  *\([^ ]*\) *$/\1/
                   9001:              p
                   9002:          }
                   9003:       }'
                   9004:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9005:   # Check for a 64-bit object if we didn't find anything.
                   9006:   if test -z "$lt_cv_aix_libpath_"; then
                   9007:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9008:   fi
                   9009: fi
                   9010: rm -f core conftest.err conftest.$ac_objext \
                   9011:     conftest$ac_exeext conftest.$ac_ext
                   9012:   if test -z "$lt_cv_aix_libpath_"; then
                   9013:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9014:   fi
1.9       ohara    9015:
1.10      ohara    9016: fi
1.9       ohara    9017:
1.10      ohara    9018:   aix_libpath=$lt_cv_aix_libpath_
                   9019: fi
1.9       ohara    9020:
1.10      ohara    9021:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9022:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   9023:       else
                   9024:        if test "$host_cpu" = ia64; then
                   9025:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9026:          allow_undefined_flag="-z nodefs"
                   9027:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
                   9028:        else
                   9029:         # Determine the default libpath from the value encoded in an
                   9030:         # empty executable.
                   9031:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9032:   aix_libpath=$lt_cv_aix_libpath
                   9033: else
1.12    ! noro     9034:   if test "${lt_cv_aix_libpath_+set}" = set; then :
1.10      ohara    9035:   $as_echo_n "(cached) " >&6
                   9036: else
                   9037:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9038: /* end confdefs.h.  */
1.9       ohara    9039:
1.10      ohara    9040: int
                   9041: main ()
                   9042: {
1.9       ohara    9043:
1.10      ohara    9044:   ;
                   9045:   return 0;
                   9046: }
                   9047: _ACEOF
                   9048: if ac_fn_c_try_link "$LINENO"; then :
1.9       ohara    9049:
1.10      ohara    9050:   lt_aix_libpath_sed='
                   9051:       /Import File Strings/,/^$/ {
                   9052:          /^0/ {
                   9053:              s/^0  *\([^ ]*\) *$/\1/
                   9054:              p
                   9055:          }
                   9056:       }'
                   9057:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9058:   # Check for a 64-bit object if we didn't find anything.
                   9059:   if test -z "$lt_cv_aix_libpath_"; then
                   9060:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9061:   fi
                   9062: fi
                   9063: rm -f core conftest.err conftest.$ac_objext \
                   9064:     conftest$ac_exeext conftest.$ac_ext
                   9065:   if test -z "$lt_cv_aix_libpath_"; then
                   9066:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9067:   fi
1.9       ohara    9068:
1.10      ohara    9069: fi
1.9       ohara    9070:
1.10      ohara    9071:   aix_libpath=$lt_cv_aix_libpath_
                   9072: fi
1.9       ohara    9073:
1.10      ohara    9074:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9075:          # Warning - without using the other run time loading flags,
                   9076:          # -berok will link without error, but may produce a broken library.
                   9077:          no_undefined_flag=' ${wl}-bernotok'
                   9078:          allow_undefined_flag=' ${wl}-berok'
                   9079:          if test "$with_gnu_ld" = yes; then
                   9080:            # We only use this code for GNU lds that support --whole-archive.
                   9081:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9082:          else
                   9083:            # Exported symbols can be pulled into shared objects from archives
                   9084:            whole_archive_flag_spec='$convenience'
                   9085:          fi
                   9086:          archive_cmds_need_lc=yes
                   9087:          # This is similar to how AIX traditionally builds its shared libraries.
                   9088:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   9089:        fi
                   9090:       fi
                   9091:       ;;
1.9       ohara    9092:
1.10      ohara    9093:     amigaos*)
                   9094:       case $host_cpu in
                   9095:       powerpc)
                   9096:             # see comment about AmigaOS4 .so support
                   9097:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9098:             archive_expsym_cmds=''
                   9099:         ;;
                   9100:       m68k)
                   9101:             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)'
                   9102:             hardcode_libdir_flag_spec='-L$libdir'
                   9103:             hardcode_minus_L=yes
                   9104:         ;;
                   9105:       esac
                   9106:       ;;
1.9       ohara    9107:
1.10      ohara    9108:     bsdi[45]*)
                   9109:       export_dynamic_flag_spec=-rdynamic
                   9110:       ;;
1.9       ohara    9111:
1.10      ohara    9112:     cygwin* | mingw* | pw32* | cegcc*)
                   9113:       # When not using gcc, we currently assume that we are using
                   9114:       # Microsoft Visual C++.
                   9115:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9116:       # no search path for DLLs.
                   9117:       case $cc_basename in
                   9118:       cl*)
                   9119:        # Native MSVC
                   9120:        hardcode_libdir_flag_spec=' '
                   9121:        allow_undefined_flag=unsupported
                   9122:        always_export_symbols=yes
                   9123:        file_list_spec='@'
                   9124:        # Tell ltmain to make .lib files, not .a files.
                   9125:        libext=lib
                   9126:        # Tell ltmain to make .dll files, not .so files.
                   9127:        shrext_cmds=".dll"
                   9128:        # FIXME: Setting linknames here is a bad hack.
                   9129:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9130:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9131:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9132:          else
                   9133:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9134:          fi~
                   9135:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9136:          linknames='
                   9137:        # The linker will not automatically build a static lib if we build a DLL.
                   9138:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9139:        enable_shared_with_static_runtimes=yes
                   9140:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9141:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9142:        # Don't use ranlib
                   9143:        old_postinstall_cmds='chmod 644 $oldlib'
                   9144:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9145:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9146:          case $lt_outputfile in
                   9147:            *.exe|*.EXE) ;;
                   9148:            *)
                   9149:              lt_outputfile="$lt_outputfile.exe"
                   9150:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9151:              ;;
                   9152:          esac~
                   9153:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9154:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9155:            $RM "$lt_outputfile.manifest";
                   9156:          fi'
                   9157:        ;;
                   9158:       *)
                   9159:        # Assume MSVC wrapper
                   9160:        hardcode_libdir_flag_spec=' '
                   9161:        allow_undefined_flag=unsupported
                   9162:        # Tell ltmain to make .lib files, not .a files.
                   9163:        libext=lib
                   9164:        # Tell ltmain to make .dll files, not .so files.
                   9165:        shrext_cmds=".dll"
                   9166:        # FIXME: Setting linknames here is a bad hack.
                   9167:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9168:        # The linker will automatically build a .lib file if we build a DLL.
                   9169:        old_archive_from_new_cmds='true'
                   9170:        # FIXME: Should let the user specify the lib program.
                   9171:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9172:        enable_shared_with_static_runtimes=yes
                   9173:        ;;
                   9174:       esac
                   9175:       ;;
1.9       ohara    9176:
1.10      ohara    9177:     darwin* | rhapsody*)
1.9       ohara    9178:
                   9179:
1.10      ohara    9180:   archive_cmds_need_lc=no
                   9181:   hardcode_direct=no
                   9182:   hardcode_automatic=yes
                   9183:   hardcode_shlibpath_var=unsupported
                   9184:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9185:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1.9       ohara    9186:
1.10      ohara    9187:   else
                   9188:     whole_archive_flag_spec=''
                   9189:   fi
                   9190:   link_all_deplibs=yes
                   9191:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9192:   case $cc_basename in
                   9193:      ifort*) _lt_dar_can_shared=yes ;;
                   9194:      *) _lt_dar_can_shared=$GCC ;;
                   9195:   esac
                   9196:   if test "$_lt_dar_can_shared" = "yes"; then
                   9197:     output_verbose_link_cmd=func_echo_all
                   9198:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9199:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9200:     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
                   9201:     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
1.9       ohara    9202:
1.10      ohara    9203:   else
                   9204:   ld_shlibs=no
                   9205:   fi
1.9       ohara    9206:
1.10      ohara    9207:       ;;
1.9       ohara    9208:
1.10      ohara    9209:     dgux*)
                   9210:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9211:       hardcode_libdir_flag_spec='-L$libdir'
                   9212:       hardcode_shlibpath_var=no
                   9213:       ;;
1.9       ohara    9214:
1.10      ohara    9215:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9216:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9217:     # does not break anything, and helps significantly (at the cost of a little
                   9218:     # extra space).
                   9219:     freebsd2.2*)
                   9220:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9221:       hardcode_libdir_flag_spec='-R$libdir'
                   9222:       hardcode_direct=yes
                   9223:       hardcode_shlibpath_var=no
                   9224:       ;;
1.9       ohara    9225:
1.10      ohara    9226:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9227:     freebsd2.*)
                   9228:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9229:       hardcode_direct=yes
                   9230:       hardcode_minus_L=yes
                   9231:       hardcode_shlibpath_var=no
                   9232:       ;;
1.9       ohara    9233:
1.10      ohara    9234:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9235:     freebsd* | dragonfly*)
                   9236:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9237:       hardcode_libdir_flag_spec='-R$libdir'
                   9238:       hardcode_direct=yes
                   9239:       hardcode_shlibpath_var=no
                   9240:       ;;
1.9       ohara    9241:
1.10      ohara    9242:     hpux9*)
                   9243:       if test "$GCC" = yes; then
                   9244:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   9245:       else
                   9246:        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'
                   9247:       fi
                   9248:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9249:       hardcode_libdir_separator=:
                   9250:       hardcode_direct=yes
1.9       ohara    9251:
1.10      ohara    9252:       # hardcode_minus_L: Not really in the search PATH,
                   9253:       # but as the default location of the library.
                   9254:       hardcode_minus_L=yes
                   9255:       export_dynamic_flag_spec='${wl}-E'
                   9256:       ;;
1.9       ohara    9257:
1.10      ohara    9258:     hpux10*)
                   9259:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9260:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9261:       else
                   9262:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9263:       fi
                   9264:       if test "$with_gnu_ld" = no; then
                   9265:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9266:        hardcode_libdir_separator=:
                   9267:        hardcode_direct=yes
                   9268:        hardcode_direct_absolute=yes
                   9269:        export_dynamic_flag_spec='${wl}-E'
                   9270:        # hardcode_minus_L: Not really in the search PATH,
                   9271:        # but as the default location of the library.
                   9272:        hardcode_minus_L=yes
                   9273:       fi
                   9274:       ;;
1.9       ohara    9275:
1.10      ohara    9276:     hpux11*)
                   9277:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9278:        case $host_cpu in
                   9279:        hppa*64*)
                   9280:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9281:          ;;
                   9282:        ia64*)
                   9283:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9284:          ;;
                   9285:        *)
                   9286:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9287:          ;;
                   9288:        esac
                   9289:       else
                   9290:        case $host_cpu in
                   9291:        hppa*64*)
                   9292:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9293:          ;;
                   9294:        ia64*)
                   9295:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9296:          ;;
                   9297:        *)
1.9       ohara    9298:
1.10      ohara    9299:          # Older versions of the 11.00 compiler do not understand -b yet
                   9300:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9301:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   9302: $as_echo_n "checking if $CC understands -b... " >&6; }
1.12    ! noro     9303: if test "${lt_cv_prog_compiler__b+set}" = set; then :
1.10      ohara    9304:   $as_echo_n "(cached) " >&6
                   9305: else
                   9306:   lt_cv_prog_compiler__b=no
                   9307:    save_LDFLAGS="$LDFLAGS"
                   9308:    LDFLAGS="$LDFLAGS -b"
                   9309:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9310:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9311:      # The linker can only warn and ignore the option if not recognized
                   9312:      # So say no if there are warnings
                   9313:      if test -s conftest.err; then
                   9314:        # Append any errors to the config.log.
                   9315:        cat conftest.err 1>&5
                   9316:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9317:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9318:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9319:          lt_cv_prog_compiler__b=yes
                   9320:        fi
                   9321:      else
                   9322:        lt_cv_prog_compiler__b=yes
                   9323:      fi
                   9324:    fi
                   9325:    $RM -r conftest*
                   9326:    LDFLAGS="$save_LDFLAGS"
1.9       ohara    9327:
1.10      ohara    9328: fi
                   9329: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   9330: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.9       ohara    9331:
1.10      ohara    9332: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9333:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9334: else
                   9335:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9336: fi
1.9       ohara    9337:
1.10      ohara    9338:          ;;
                   9339:        esac
                   9340:       fi
                   9341:       if test "$with_gnu_ld" = no; then
                   9342:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9343:        hardcode_libdir_separator=:
1.9       ohara    9344:
1.10      ohara    9345:        case $host_cpu in
                   9346:        hppa*64*|ia64*)
                   9347:          hardcode_direct=no
                   9348:          hardcode_shlibpath_var=no
                   9349:          ;;
                   9350:        *)
                   9351:          hardcode_direct=yes
                   9352:          hardcode_direct_absolute=yes
                   9353:          export_dynamic_flag_spec='${wl}-E'
1.9       ohara    9354:
1.10      ohara    9355:          # hardcode_minus_L: Not really in the search PATH,
                   9356:          # but as the default location of the library.
                   9357:          hardcode_minus_L=yes
                   9358:          ;;
                   9359:        esac
                   9360:       fi
                   9361:       ;;
1.9       ohara    9362:
1.10      ohara    9363:     irix5* | irix6* | nonstopux*)
                   9364:       if test "$GCC" = yes; then
                   9365:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9366:        # Try to use the -exported_symbol ld option, if it does not
                   9367:        # work, assume that -exports_file does not work either and
                   9368:        # implicitly export all symbols.
                   9369:        # This should be the same for all languages, so no per-tag cache variable.
                   9370:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9371: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
1.12    ! noro     9372: if test "${lt_cv_irix_exported_symbol+set}" = set; then :
1.10      ohara    9373:   $as_echo_n "(cached) " >&6
                   9374: else
                   9375:   save_LDFLAGS="$LDFLAGS"
                   9376:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9377:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9378: /* end confdefs.h.  */
                   9379: int foo (void) { return 0; }
                   9380: _ACEOF
                   9381: if ac_fn_c_try_link "$LINENO"; then :
                   9382:   lt_cv_irix_exported_symbol=yes
                   9383: else
                   9384:   lt_cv_irix_exported_symbol=no
                   9385: fi
                   9386: rm -f core conftest.err conftest.$ac_objext \
                   9387:     conftest$ac_exeext conftest.$ac_ext
                   9388:            LDFLAGS="$save_LDFLAGS"
                   9389: fi
                   9390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   9391: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   9392:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9393:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
                   9394:        fi
                   9395:       else
                   9396:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   9397:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
                   9398:       fi
                   9399:       archive_cmds_need_lc='no'
                   9400:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9401:       hardcode_libdir_separator=:
                   9402:       inherit_rpath=yes
                   9403:       link_all_deplibs=yes
                   9404:       ;;
1.9       ohara    9405:
1.10      ohara    9406:     netbsd*)
                   9407:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9408:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9409:       else
                   9410:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9411:       fi
                   9412:       hardcode_libdir_flag_spec='-R$libdir'
                   9413:       hardcode_direct=yes
                   9414:       hardcode_shlibpath_var=no
                   9415:       ;;
1.9       ohara    9416:
1.10      ohara    9417:     newsos6)
                   9418:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9419:       hardcode_direct=yes
                   9420:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9421:       hardcode_libdir_separator=:
                   9422:       hardcode_shlibpath_var=no
                   9423:       ;;
1.9       ohara    9424:
1.10      ohara    9425:     *nto* | *qnx*)
                   9426:       ;;
1.9       ohara    9427:
1.10      ohara    9428:     openbsd*)
                   9429:       if test -f /usr/libexec/ld.so; then
                   9430:        hardcode_direct=yes
                   9431:        hardcode_shlibpath_var=no
                   9432:        hardcode_direct_absolute=yes
                   9433:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9434:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9435:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9436:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9437:          export_dynamic_flag_spec='${wl}-E'
                   9438:        else
                   9439:          case $host_os in
                   9440:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9441:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9442:             hardcode_libdir_flag_spec='-R$libdir'
                   9443:             ;;
                   9444:           *)
                   9445:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9446:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9447:             ;;
                   9448:          esac
                   9449:        fi
                   9450:       else
                   9451:        ld_shlibs=no
                   9452:       fi
                   9453:       ;;
1.9       ohara    9454:
1.10      ohara    9455:     os2*)
                   9456:       hardcode_libdir_flag_spec='-L$libdir'
                   9457:       hardcode_minus_L=yes
                   9458:       allow_undefined_flag=unsupported
                   9459:       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'
                   9460:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9461:       ;;
1.9       ohara    9462:
1.10      ohara    9463:     osf3*)
                   9464:       if test "$GCC" = yes; then
                   9465:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9466:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9467:       else
                   9468:        allow_undefined_flag=' -expect_unresolved \*'
                   9469:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   9470:       fi
                   9471:       archive_cmds_need_lc='no'
                   9472:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9473:       hardcode_libdir_separator=:
                   9474:       ;;
1.9       ohara    9475:
1.10      ohara    9476:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9477:       if test "$GCC" = yes; then
                   9478:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9479:        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9480:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9481:       else
                   9482:        allow_undefined_flag=' -expect_unresolved \*'
                   9483:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   9484:        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
                   9485:        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
1.9       ohara    9486:
1.10      ohara    9487:        # Both c and cxx compiler support -rpath directly
                   9488:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9489:       fi
                   9490:       archive_cmds_need_lc='no'
                   9491:       hardcode_libdir_separator=:
                   9492:       ;;
1.9       ohara    9493:
1.10      ohara    9494:     solaris*)
                   9495:       no_undefined_flag=' -z defs'
                   9496:       if test "$GCC" = yes; then
                   9497:        wlarc='${wl}'
                   9498:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9499:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9500:          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9501:       else
                   9502:        case `$CC -V 2>&1` in
                   9503:        *"Compilers 5.0"*)
                   9504:          wlarc=''
                   9505:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9506:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9507:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9508:          ;;
                   9509:        *)
                   9510:          wlarc='${wl}'
                   9511:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9512:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9513:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9514:          ;;
                   9515:        esac
                   9516:       fi
                   9517:       hardcode_libdir_flag_spec='-R$libdir'
                   9518:       hardcode_shlibpath_var=no
                   9519:       case $host_os in
                   9520:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9521:       *)
                   9522:        # The compiler driver will combine and reorder linker options,
                   9523:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9524:        # but is careful enough not to reorder.
                   9525:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9526:        if test "$GCC" = yes; then
                   9527:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9528:        else
                   9529:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9530:        fi
                   9531:        ;;
                   9532:       esac
                   9533:       link_all_deplibs=yes
                   9534:       ;;
1.9       ohara    9535:
1.10      ohara    9536:     sunos4*)
                   9537:       if test "x$host_vendor" = xsequent; then
                   9538:        # Use $CC to link under sequent, because it throws in some extra .o
                   9539:        # files that make .init and .fini sections work.
                   9540:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9541:       else
                   9542:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9543:       fi
                   9544:       hardcode_libdir_flag_spec='-L$libdir'
                   9545:       hardcode_direct=yes
                   9546:       hardcode_minus_L=yes
                   9547:       hardcode_shlibpath_var=no
                   9548:       ;;
1.9       ohara    9549:
1.10      ohara    9550:     sysv4)
                   9551:       case $host_vendor in
                   9552:        sni)
                   9553:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9554:          hardcode_direct=yes # is this really true???
                   9555:        ;;
                   9556:        siemens)
                   9557:          ## LD is ld it makes a PLAMLIB
                   9558:          ## CC just makes a GrossModule.
                   9559:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9560:          reload_cmds='$CC -r -o $output$reload_objs'
                   9561:          hardcode_direct=no
                   9562:         ;;
                   9563:        motorola)
                   9564:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9565:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9566:        ;;
                   9567:       esac
                   9568:       runpath_var='LD_RUN_PATH'
                   9569:       hardcode_shlibpath_var=no
                   9570:       ;;
1.9       ohara    9571:
1.10      ohara    9572:     sysv4.3*)
                   9573:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9574:       hardcode_shlibpath_var=no
                   9575:       export_dynamic_flag_spec='-Bexport'
                   9576:       ;;
1.9       ohara    9577:
1.10      ohara    9578:     sysv4*MP*)
                   9579:       if test -d /usr/nec; then
                   9580:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9581:        hardcode_shlibpath_var=no
                   9582:        runpath_var=LD_RUN_PATH
                   9583:        hardcode_runpath_var=yes
                   9584:        ld_shlibs=yes
                   9585:       fi
                   9586:       ;;
1.9       ohara    9587:
1.10      ohara    9588:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9589:       no_undefined_flag='${wl}-z,text'
                   9590:       archive_cmds_need_lc=no
                   9591:       hardcode_shlibpath_var=no
                   9592:       runpath_var='LD_RUN_PATH'
1.9       ohara    9593:
1.10      ohara    9594:       if test "$GCC" = yes; then
                   9595:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9596:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9597:       else
                   9598:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9599:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9600:       fi
                   9601:       ;;
1.9       ohara    9602:
1.10      ohara    9603:     sysv5* | sco3.2v5* | sco5v6*)
                   9604:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9605:       # link with -lc, and that would cause any symbols used from libc to
                   9606:       # always be unresolved, which means just about no library would
                   9607:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9608:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9609:       # as -z defs.
                   9610:       no_undefined_flag='${wl}-z,text'
                   9611:       allow_undefined_flag='${wl}-z,nodefs'
                   9612:       archive_cmds_need_lc=no
                   9613:       hardcode_shlibpath_var=no
                   9614:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9615:       hardcode_libdir_separator=':'
                   9616:       link_all_deplibs=yes
                   9617:       export_dynamic_flag_spec='${wl}-Bexport'
                   9618:       runpath_var='LD_RUN_PATH'
1.9       ohara    9619:
1.10      ohara    9620:       if test "$GCC" = yes; then
                   9621:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9622:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9623:       else
                   9624:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9625:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9626:       fi
                   9627:       ;;
1.9       ohara    9628:
1.10      ohara    9629:     uts4*)
                   9630:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9631:       hardcode_libdir_flag_spec='-L$libdir'
                   9632:       hardcode_shlibpath_var=no
                   9633:       ;;
1.9       ohara    9634:
1.10      ohara    9635:     *)
                   9636:       ld_shlibs=no
                   9637:       ;;
                   9638:     esac
1.9       ohara    9639:
1.10      ohara    9640:     if test x$host_vendor = xsni; then
                   9641:       case $host in
                   9642:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9643:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9644:        ;;
                   9645:       esac
                   9646:     fi
                   9647:   fi
1.9       ohara    9648:
1.10      ohara    9649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   9650: $as_echo "$ld_shlibs" >&6; }
                   9651: test "$ld_shlibs" = no && can_build_shared=no
1.9       ohara    9652:
1.10      ohara    9653: with_gnu_ld=$with_gnu_ld
1.9       ohara    9654:
                   9655:
                   9656:
                   9657:
                   9658:
                   9659:
                   9660:
                   9661:
                   9662:
                   9663:
                   9664:
                   9665:
                   9666:
                   9667:
                   9668:
1.10      ohara    9669: #
                   9670: # Do we need to explicitly link libc?
                   9671: #
                   9672: case "x$archive_cmds_need_lc" in
                   9673: x|xyes)
                   9674:   # Assume -lc should be added
                   9675:   archive_cmds_need_lc=yes
1.9       ohara    9676:
1.10      ohara    9677:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9678:     case $archive_cmds in
                   9679:     *'~'*)
                   9680:       # FIXME: we may have to deal with multi-command sequences.
                   9681:       ;;
                   9682:     '$CC '*)
                   9683:       # Test whether the compiler implicitly links with -lc since on some
                   9684:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9685:       # to ld, don't add -lc before -lgcc.
                   9686:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   9687: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1.12    ! noro     9688: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
1.10      ohara    9689:   $as_echo_n "(cached) " >&6
1.9       ohara    9690: else
1.10      ohara    9691:   $RM conftest*
                   9692:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.9       ohara    9693:
1.10      ohara    9694:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9695:   (eval $ac_compile) 2>&5
                   9696:   ac_status=$?
                   9697:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9698:   test $ac_status = 0; } 2>conftest.err; then
                   9699:          soname=conftest
                   9700:          lib=conftest
                   9701:          libobjs=conftest.$ac_objext
                   9702:          deplibs=
                   9703:          wl=$lt_prog_compiler_wl
                   9704:          pic_flag=$lt_prog_compiler_pic
                   9705:          compiler_flags=-v
                   9706:          linker_flags=-v
                   9707:          verstring=
                   9708:          output_objdir=.
                   9709:          libname=conftest
                   9710:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9711:          allow_undefined_flag=
                   9712:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   9713:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9714:   ac_status=$?
                   9715:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9716:   test $ac_status = 0; }
                   9717:          then
                   9718:            lt_cv_archive_cmds_need_lc=no
                   9719:          else
                   9720:            lt_cv_archive_cmds_need_lc=yes
                   9721:          fi
                   9722:          allow_undefined_flag=$lt_save_allow_undefined_flag
1.9       ohara    9723:        else
1.10      ohara    9724:          cat conftest.err 1>&5
1.9       ohara    9725:        fi
1.10      ohara    9726:        $RM conftest*
1.9       ohara    9727:
1.10      ohara    9728: fi
                   9729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   9730: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   9731:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   9732:       ;;
                   9733:     esac
                   9734:   fi
                   9735:   ;;
                   9736: esac
1.9       ohara    9737:
                   9738:
                   9739:
                   9740:
                   9741:
                   9742:
                   9743:
                   9744:
                   9745:
                   9746:
                   9747:
                   9748:
                   9749:
                   9750:
                   9751:
                   9752:
                   9753:
                   9754:
                   9755:
                   9756:
                   9757:
                   9758:
                   9759:
                   9760:
                   9761:
                   9762:
                   9763:
                   9764:
                   9765:
                   9766:
                   9767:
                   9768:
                   9769:
                   9770:
                   9771:
                   9772:
                   9773:
                   9774:
                   9775:
                   9776:
                   9777:
                   9778:
                   9779:
                   9780:
                   9781:
                   9782:
                   9783:
                   9784:
                   9785:
                   9786:
                   9787:
                   9788:
                   9789:
                   9790:
                   9791:
                   9792:
                   9793:
                   9794:
                   9795:
                   9796:
                   9797:
                   9798:
                   9799:
                   9800:
                   9801:
                   9802:
                   9803:
                   9804:
                   9805:
                   9806:
                   9807:
                   9808:
                   9809:
                   9810:
                   9811:
                   9812:
                   9813:
                   9814:
                   9815:
                   9816:
                   9817:
                   9818:
                   9819:
                   9820:
                   9821:
                   9822:
                   9823:
                   9824:
                   9825:
                   9826:
                   9827:
                   9828:
                   9829:
                   9830:
                   9831:
                   9832:
                   9833:
                   9834:
                   9835:
                   9836:
                   9837:
                   9838:
                   9839:
                   9840:
                   9841:
                   9842:
                   9843:
                   9844:
                   9845:
                   9846:
                   9847:
                   9848:
                   9849:
                   9850:
                   9851:
                   9852:
                   9853:
                   9854:
                   9855:
                   9856:
                   9857:
                   9858:
                   9859:
                   9860:
                   9861:
                   9862:
                   9863:
                   9864:
                   9865:
                   9866:
                   9867:
                   9868:
                   9869:
                   9870:
                   9871:
                   9872:
                   9873:
                   9874:
                   9875:
                   9876:
                   9877:
                   9878:
                   9879:
                   9880:
                   9881:
                   9882:
                   9883:
                   9884:
                   9885:
                   9886:
                   9887:
                   9888:
1.10      ohara    9889:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   9890: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.9       ohara    9891:
1.10      ohara    9892: if test "$GCC" = yes; then
                   9893:   case $host_os in
                   9894:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9895:     *) lt_awk_arg="/^libraries:/" ;;
                   9896:   esac
                   9897:   case $host_os in
                   9898:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   9899:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   9900:   esac
                   9901:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   9902:   case $lt_search_path_spec in
                   9903:   *\;*)
                   9904:     # if the path contains ";" then we assume it to be the separator
                   9905:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9906:     # assumed that no part of a normal pathname contains ";" but that should
                   9907:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9908:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   9909:     ;;
                   9910:   *)
                   9911:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   9912:     ;;
                   9913:   esac
                   9914:   # Ok, now we have the path, separated by spaces, we can step through it
                   9915:   # and add multilib dir if necessary.
                   9916:   lt_tmp_lt_search_path_spec=
                   9917:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9918:   for lt_sys_path in $lt_search_path_spec; do
                   9919:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9920:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9921:     else
                   9922:       test -d "$lt_sys_path" && \
                   9923:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   9924:     fi
                   9925:   done
                   9926:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   9927: BEGIN {RS=" "; FS="/|\n";} {
                   9928:   lt_foo="";
                   9929:   lt_count=0;
                   9930:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9931:     if ($lt_i != "" && $lt_i != ".") {
                   9932:       if ($lt_i == "..") {
                   9933:         lt_count++;
                   9934:       } else {
                   9935:         if (lt_count == 0) {
                   9936:           lt_foo="/" $lt_i lt_foo;
                   9937:         } else {
                   9938:           lt_count--;
                   9939:         }
                   9940:       }
                   9941:     }
                   9942:   }
                   9943:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9944:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9945: }'`
                   9946:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   9947:   # for these hosts.
                   9948:   case $host_os in
                   9949:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   9950:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   9951:   esac
                   9952:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   9953: else
                   9954:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9955: fi
1.9       ohara    9956: library_names_spec=
                   9957: libname_spec='lib$name'
                   9958: soname_spec=
                   9959: shrext_cmds=".so"
                   9960: postinstall_cmds=
                   9961: postuninstall_cmds=
                   9962: finish_cmds=
                   9963: finish_eval=
                   9964: shlibpath_var=
                   9965: shlibpath_overrides_runpath=unknown
                   9966: version_type=none
                   9967: dynamic_linker="$host_os ld.so"
                   9968: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   9969: need_lib_prefix=unknown
                   9970: hardcode_into_libs=no
                   9971:
                   9972: # when you set need_version to no, make sure it does not cause -set_version
                   9973: # flags to be left without arguments
                   9974: need_version=unknown
                   9975:
                   9976: case $host_os in
                   9977: aix3*)
1.10      ohara    9978:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    9979:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   9980:   shlibpath_var=LIBPATH
                   9981:
                   9982:   # AIX 3 has no versioning support, so we append a major version to the name.
                   9983:   soname_spec='${libname}${release}${shared_ext}$major'
                   9984:   ;;
                   9985:
1.10      ohara    9986: aix[4-9]*)
                   9987:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    9988:   need_lib_prefix=no
                   9989:   need_version=no
                   9990:   hardcode_into_libs=yes
                   9991:   if test "$host_cpu" = ia64; then
                   9992:     # AIX 5 supports IA64
                   9993:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   9994:     shlibpath_var=LD_LIBRARY_PATH
                   9995:   else
                   9996:     # With GCC up to 2.95.x, collect2 would create an import file
                   9997:     # for dependence libraries.  The import file would start with
                   9998:     # the line `#! .'.  This would cause the generated library to
                   9999:     # depend on `.', always an invalid library.  This was fixed in
                   10000:     # development snapshots of GCC prior to 3.0.
                   10001:     case $host_os in
                   10002:       aix4 | aix4.[01] | aix4.[01].*)
                   10003:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10004:           echo ' yes '
1.10      ohara    10005:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1.9       ohara    10006:        :
                   10007:       else
                   10008:        can_build_shared=no
                   10009:       fi
                   10010:       ;;
                   10011:     esac
                   10012:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10013:     # soname into executable. Probably we can add versioning support to
                   10014:     # collect2, so additional links can be useful in future.
                   10015:     if test "$aix_use_runtimelinking" = yes; then
                   10016:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10017:       # instead of lib<name>.a to let people know that these are not
                   10018:       # typical AIX shared libraries.
                   10019:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10020:     else
                   10021:       # We preserve .a as extension for shared libraries through AIX4.2
                   10022:       # and later when we are not doing run time linking.
                   10023:       library_names_spec='${libname}${release}.a $libname.a'
                   10024:       soname_spec='${libname}${release}${shared_ext}$major'
                   10025:     fi
                   10026:     shlibpath_var=LIBPATH
                   10027:   fi
                   10028:   ;;
                   10029:
                   10030: amigaos*)
1.10      ohara    10031:   case $host_cpu in
                   10032:   powerpc)
                   10033:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10034:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10035:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10036:     ;;
                   10037:   m68k)
                   10038:     library_names_spec='$libname.ixlibrary $libname.a'
                   10039:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10040:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
                   10041:     ;;
                   10042:   esac
1.9       ohara    10043:   ;;
                   10044:
                   10045: beos*)
                   10046:   library_names_spec='${libname}${shared_ext}'
                   10047:   dynamic_linker="$host_os ld.so"
                   10048:   shlibpath_var=LIBRARY_PATH
                   10049:   ;;
                   10050:
                   10051: bsdi[45]*)
1.10      ohara    10052:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10053:   need_version=no
                   10054:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10055:   soname_spec='${libname}${release}${shared_ext}$major'
                   10056:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10057:   shlibpath_var=LD_LIBRARY_PATH
                   10058:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10059:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10060:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10061:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10062:   # libtool to hard-code these into programs
                   10063:   ;;
                   10064:
1.10      ohara    10065: cygwin* | mingw* | pw32* | cegcc*)
1.9       ohara    10066:   version_type=windows
                   10067:   shrext_cmds=".dll"
                   10068:   need_version=no
                   10069:   need_lib_prefix=no
                   10070:
1.10      ohara    10071:   case $GCC,$cc_basename in
                   10072:   yes,*)
                   10073:     # gcc
                   10074:     library_names_spec='$libname.dll.a'
                   10075:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10076:     postinstall_cmds='base_file=`basename \${file}`~
                   10077:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10078:       dldir=$destdir/`dirname \$dlpath`~
                   10079:       test -d \$dldir || mkdir -p \$dldir~
                   10080:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10081:       chmod a+x \$dldir/$dlname~
                   10082:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10083:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10084:       fi'
                   10085:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10086:       dlpath=$dir/\$dldll~
                   10087:        $RM \$dlpath'
                   10088:     shlibpath_overrides_runpath=yes
                   10089:
                   10090:     case $host_os in
                   10091:     cygwin*)
                   10092:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10093:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10094:
                   10095:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10096:       ;;
                   10097:     mingw* | cegcc*)
                   10098:       # MinGW DLLs use traditional 'lib' prefix
                   10099:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10100:       ;;
                   10101:     pw32*)
                   10102:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10103:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10104:       ;;
                   10105:     esac
                   10106:     dynamic_linker='Win32 ld.exe'
                   10107:     ;;
                   10108:
                   10109:   *,cl*)
                   10110:     # Native MSVC
                   10111:     libname_spec='$name'
                   10112:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10113:     library_names_spec='${libname}.dll.lib'
                   10114:
                   10115:     case $build_os in
                   10116:     mingw*)
                   10117:       sys_lib_search_path_spec=
                   10118:       lt_save_ifs=$IFS
                   10119:       IFS=';'
                   10120:       for lt_path in $LIB
                   10121:       do
                   10122:         IFS=$lt_save_ifs
                   10123:         # Let DOS variable expansion print the short 8.3 style file name.
                   10124:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10125:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10126:       done
                   10127:       IFS=$lt_save_ifs
                   10128:       # Convert to MSYS style.
                   10129:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10130:       ;;
                   10131:     cygwin*)
                   10132:       # Convert to unix form, then to dos form, then back to unix form
                   10133:       # but this time dos style (no spaces!) so that the unix form looks
                   10134:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10135:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10136:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10137:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10138:       ;;
                   10139:     *)
                   10140:       sys_lib_search_path_spec="$LIB"
                   10141:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10142:         # It is most probably a Windows format PATH.
                   10143:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10144:       else
                   10145:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10146:       fi
                   10147:       # FIXME: find the short name or the path components, as spaces are
                   10148:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10149:       ;;
                   10150:     esac
                   10151:
1.9       ohara    10152:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10153:     postinstall_cmds='base_file=`basename \${file}`~
1.10      ohara    10154:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1.9       ohara    10155:       dldir=$destdir/`dirname \$dlpath`~
                   10156:       test -d \$dldir || mkdir -p \$dldir~
1.10      ohara    10157:       $install_prog $dir/$dlname \$dldir/$dlname'
1.9       ohara    10158:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10159:       dlpath=$dir/\$dldll~
1.10      ohara    10160:        $RM \$dlpath'
1.9       ohara    10161:     shlibpath_overrides_runpath=yes
1.10      ohara    10162:     dynamic_linker='Win32 link.exe'
1.9       ohara    10163:     ;;
                   10164:
                   10165:   *)
1.10      ohara    10166:     # Assume MSVC wrapper
1.9       ohara    10167:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.10      ohara    10168:     dynamic_linker='Win32 ld.exe'
1.9       ohara    10169:     ;;
                   10170:   esac
                   10171:   # FIXME: first we should search . and the directory the executable is in
                   10172:   shlibpath_var=PATH
                   10173:   ;;
                   10174:
                   10175: darwin* | rhapsody*)
                   10176:   dynamic_linker="$host_os dyld"
                   10177:   version_type=darwin
                   10178:   need_lib_prefix=no
                   10179:   need_version=no
1.10      ohara    10180:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.9       ohara    10181:   soname_spec='${libname}${release}${major}$shared_ext'
                   10182:   shlibpath_overrides_runpath=yes
                   10183:   shlibpath_var=DYLD_LIBRARY_PATH
                   10184:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.10      ohara    10185:
                   10186:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
1.9       ohara    10187:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10188:   ;;
                   10189:
                   10190: dgux*)
1.10      ohara    10191:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10192:   need_lib_prefix=no
                   10193:   need_version=no
                   10194:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10195:   soname_spec='${libname}${release}${shared_ext}$major'
                   10196:   shlibpath_var=LD_LIBRARY_PATH
                   10197:   ;;
                   10198:
                   10199: freebsd* | dragonfly*)
                   10200:   # DragonFly does not have aout.  When/if they implement a new
                   10201:   # versioning mechanism, adjust this.
                   10202:   if test -x /usr/bin/objformat; then
                   10203:     objformat=`/usr/bin/objformat`
                   10204:   else
                   10205:     case $host_os in
1.10      ohara    10206:     freebsd[23].*) objformat=aout ;;
1.9       ohara    10207:     *) objformat=elf ;;
                   10208:     esac
                   10209:   fi
                   10210:   version_type=freebsd-$objformat
                   10211:   case $version_type in
                   10212:     freebsd-elf*)
                   10213:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10214:       need_version=no
                   10215:       need_lib_prefix=no
                   10216:       ;;
                   10217:     freebsd-*)
                   10218:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10219:       need_version=yes
                   10220:       ;;
                   10221:   esac
                   10222:   shlibpath_var=LD_LIBRARY_PATH
                   10223:   case $host_os in
1.10      ohara    10224:   freebsd2.*)
1.9       ohara    10225:     shlibpath_overrides_runpath=yes
                   10226:     ;;
                   10227:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10228:     shlibpath_overrides_runpath=yes
                   10229:     hardcode_into_libs=yes
                   10230:     ;;
                   10231:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10232:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10233:     shlibpath_overrides_runpath=no
                   10234:     hardcode_into_libs=yes
                   10235:     ;;
1.10      ohara    10236:   *) # from 4.6 on, and DragonFly
1.9       ohara    10237:     shlibpath_overrides_runpath=yes
                   10238:     hardcode_into_libs=yes
                   10239:     ;;
                   10240:   esac
                   10241:   ;;
                   10242:
                   10243: gnu*)
1.10      ohara    10244:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10245:   need_lib_prefix=no
                   10246:   need_version=no
                   10247:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10248:   soname_spec='${libname}${release}${shared_ext}$major'
                   10249:   shlibpath_var=LD_LIBRARY_PATH
1.10      ohara    10250:   shlibpath_overrides_runpath=no
                   10251:   hardcode_into_libs=yes
                   10252:   ;;
                   10253:
                   10254: haiku*)
                   10255:   version_type=linux # correct to gnu/linux during the next big refactor
                   10256:   need_lib_prefix=no
                   10257:   need_version=no
                   10258:   dynamic_linker="$host_os runtime_loader"
                   10259:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10260:   soname_spec='${libname}${release}${shared_ext}$major'
                   10261:   shlibpath_var=LIBRARY_PATH
                   10262:   shlibpath_overrides_runpath=yes
                   10263:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
1.9       ohara    10264:   hardcode_into_libs=yes
                   10265:   ;;
                   10266:
                   10267: hpux9* | hpux10* | hpux11*)
                   10268:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10269:   # link against other versions.
                   10270:   version_type=sunos
                   10271:   need_lib_prefix=no
                   10272:   need_version=no
                   10273:   case $host_cpu in
                   10274:   ia64*)
                   10275:     shrext_cmds='.so'
                   10276:     hardcode_into_libs=yes
                   10277:     dynamic_linker="$host_os dld.so"
                   10278:     shlibpath_var=LD_LIBRARY_PATH
                   10279:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10280:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10281:     soname_spec='${libname}${release}${shared_ext}$major'
                   10282:     if test "X$HPUX_IA64_MODE" = X32; then
                   10283:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10284:     else
                   10285:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10286:     fi
                   10287:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10288:     ;;
1.10      ohara    10289:   hppa*64*)
                   10290:     shrext_cmds='.sl'
                   10291:     hardcode_into_libs=yes
                   10292:     dynamic_linker="$host_os dld.sl"
                   10293:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10294:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10295:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10296:     soname_spec='${libname}${release}${shared_ext}$major'
                   10297:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10298:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10299:     ;;
                   10300:   *)
1.9       ohara    10301:     shrext_cmds='.sl'
                   10302:     dynamic_linker="$host_os dld.sl"
                   10303:     shlibpath_var=SHLIB_PATH
                   10304:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10305:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10306:     soname_spec='${libname}${release}${shared_ext}$major'
                   10307:     ;;
                   10308:   esac
1.10      ohara    10309:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.9       ohara    10310:   postinstall_cmds='chmod 555 $lib'
1.10      ohara    10311:   # or fails outright, so override atomically:
                   10312:   install_override_mode=555
1.9       ohara    10313:   ;;
                   10314:
1.10      ohara    10315: interix[3-9]*)
                   10316:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10317:   need_lib_prefix=no
                   10318:   need_version=no
                   10319:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10320:   soname_spec='${libname}${release}${shared_ext}$major'
                   10321:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10322:   shlibpath_var=LD_LIBRARY_PATH
                   10323:   shlibpath_overrides_runpath=no
                   10324:   hardcode_into_libs=yes
                   10325:   ;;
                   10326:
                   10327: irix5* | irix6* | nonstopux*)
                   10328:   case $host_os in
                   10329:     nonstopux*) version_type=nonstopux ;;
                   10330:     *)
                   10331:        if test "$lt_cv_prog_gnu_ld" = yes; then
1.10      ohara    10332:                version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10333:        else
                   10334:                version_type=irix
                   10335:        fi ;;
                   10336:   esac
                   10337:   need_lib_prefix=no
                   10338:   need_version=no
                   10339:   soname_spec='${libname}${release}${shared_ext}$major'
                   10340:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10341:   case $host_os in
                   10342:   irix5* | nonstopux*)
                   10343:     libsuff= shlibsuff=
                   10344:     ;;
                   10345:   *)
                   10346:     case $LD in # libtool.m4 will add one of these switches to LD
                   10347:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10348:       libsuff= shlibsuff= libmagic=32-bit;;
                   10349:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10350:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10351:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10352:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10353:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10354:     esac
                   10355:     ;;
                   10356:   esac
                   10357:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10358:   shlibpath_overrides_runpath=no
                   10359:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10360:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10361:   hardcode_into_libs=yes
                   10362:   ;;
                   10363:
                   10364: # No shared lib support for Linux oldld, aout, or coff.
                   10365: linux*oldld* | linux*aout* | linux*coff*)
                   10366:   dynamic_linker=no
                   10367:   ;;
                   10368:
1.10      ohara    10369: # This must be glibc/ELF.
                   10370: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10371:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10372:   need_lib_prefix=no
                   10373:   need_version=no
                   10374:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10375:   soname_spec='${libname}${release}${shared_ext}$major'
                   10376:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10377:   shlibpath_var=LD_LIBRARY_PATH
                   10378:   shlibpath_overrides_runpath=no
1.10      ohara    10379:
                   10380:   # Some binutils ld are patched to set DT_RUNPATH
1.12    ! noro     10381:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
1.10      ohara    10382:   $as_echo_n "(cached) " >&6
                   10383: else
                   10384:   lt_cv_shlibpath_overrides_runpath=no
                   10385:     save_LDFLAGS=$LDFLAGS
                   10386:     save_libdir=$libdir
                   10387:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10388:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10389:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10390: /* end confdefs.h.  */
                   10391:
                   10392: int
                   10393: main ()
                   10394: {
                   10395:
                   10396:   ;
                   10397:   return 0;
                   10398: }
                   10399: _ACEOF
                   10400: if ac_fn_c_try_link "$LINENO"; then :
                   10401:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   10402:   lt_cv_shlibpath_overrides_runpath=yes
                   10403: fi
                   10404: fi
                   10405: rm -f core conftest.err conftest.$ac_objext \
                   10406:     conftest$ac_exeext conftest.$ac_ext
                   10407:     LDFLAGS=$save_LDFLAGS
                   10408:     libdir=$save_libdir
                   10409:
                   10410: fi
                   10411:
                   10412:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10413:
1.9       ohara    10414:   # This implies no fast_install, which is unacceptable.
                   10415:   # Some rework will be needed to allow for fast_install
                   10416:   # before this can be enabled.
                   10417:   hardcode_into_libs=yes
                   10418:
                   10419:   # Append ld.so.conf contents to the search path
                   10420:   if test -f /etc/ld.so.conf; then
1.10      ohara    10421:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
1.9       ohara    10422:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10423:   fi
                   10424:
                   10425:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10426:   # powerpc, because MkLinux only supported shared libraries with the
                   10427:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10428:   # most powerpc-linux boxes support dynamic linking these days and
                   10429:   # people can always --disable-shared, the test was removed, and we
                   10430:   # assume the GNU/Linux dynamic linker is in use.
                   10431:   dynamic_linker='GNU/Linux ld.so'
                   10432:   ;;
                   10433:
                   10434: netbsd*)
                   10435:   version_type=sunos
                   10436:   need_lib_prefix=no
                   10437:   need_version=no
1.10      ohara    10438:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.9       ohara    10439:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10440:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10441:     dynamic_linker='NetBSD (a.out) ld.so'
                   10442:   else
                   10443:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10444:     soname_spec='${libname}${release}${shared_ext}$major'
                   10445:     dynamic_linker='NetBSD ld.elf_so'
                   10446:   fi
                   10447:   shlibpath_var=LD_LIBRARY_PATH
                   10448:   shlibpath_overrides_runpath=yes
                   10449:   hardcode_into_libs=yes
                   10450:   ;;
                   10451:
                   10452: newsos6)
1.10      ohara    10453:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10454:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10455:   shlibpath_var=LD_LIBRARY_PATH
                   10456:   shlibpath_overrides_runpath=yes
                   10457:   ;;
                   10458:
1.10      ohara    10459: *nto* | *qnx*)
                   10460:   version_type=qnx
1.9       ohara    10461:   need_lib_prefix=no
                   10462:   need_version=no
                   10463:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10464:   soname_spec='${libname}${release}${shared_ext}$major'
                   10465:   shlibpath_var=LD_LIBRARY_PATH
1.10      ohara    10466:   shlibpath_overrides_runpath=no
                   10467:   hardcode_into_libs=yes
                   10468:   dynamic_linker='ldqnx.so'
1.9       ohara    10469:   ;;
                   10470:
                   10471: openbsd*)
                   10472:   version_type=sunos
                   10473:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10474:   need_lib_prefix=no
                   10475:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10476:   case $host_os in
1.10      ohara    10477:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10478:     *)                         need_version=no  ;;
1.9       ohara    10479:   esac
                   10480:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10481:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10482:   shlibpath_var=LD_LIBRARY_PATH
1.10      ohara    10483:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.9       ohara    10484:     case $host_os in
                   10485:       openbsd2.[89] | openbsd2.[89].*)
                   10486:        shlibpath_overrides_runpath=no
                   10487:        ;;
                   10488:       *)
                   10489:        shlibpath_overrides_runpath=yes
                   10490:        ;;
                   10491:       esac
                   10492:   else
                   10493:     shlibpath_overrides_runpath=yes
                   10494:   fi
                   10495:   ;;
                   10496:
                   10497: os2*)
                   10498:   libname_spec='$name'
                   10499:   shrext_cmds=".dll"
                   10500:   need_lib_prefix=no
                   10501:   library_names_spec='$libname${shared_ext} $libname.a'
                   10502:   dynamic_linker='OS/2 ld.exe'
                   10503:   shlibpath_var=LIBPATH
                   10504:   ;;
                   10505:
                   10506: osf3* | osf4* | osf5*)
                   10507:   version_type=osf
                   10508:   need_lib_prefix=no
                   10509:   need_version=no
                   10510:   soname_spec='${libname}${release}${shared_ext}$major'
                   10511:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10512:   shlibpath_var=LD_LIBRARY_PATH
                   10513:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10514:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10515:   ;;
                   10516:
1.10      ohara    10517: rdos*)
                   10518:   dynamic_linker=no
                   10519:   ;;
                   10520:
1.9       ohara    10521: solaris*)
1.10      ohara    10522:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10523:   need_lib_prefix=no
                   10524:   need_version=no
                   10525:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10526:   soname_spec='${libname}${release}${shared_ext}$major'
                   10527:   shlibpath_var=LD_LIBRARY_PATH
                   10528:   shlibpath_overrides_runpath=yes
                   10529:   hardcode_into_libs=yes
                   10530:   # ldd complains unless libraries are executable
                   10531:   postinstall_cmds='chmod +x $lib'
                   10532:   ;;
                   10533:
                   10534: sunos4*)
                   10535:   version_type=sunos
                   10536:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10537:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10538:   shlibpath_var=LD_LIBRARY_PATH
                   10539:   shlibpath_overrides_runpath=yes
                   10540:   if test "$with_gnu_ld" = yes; then
                   10541:     need_lib_prefix=no
                   10542:   fi
                   10543:   need_version=yes
                   10544:   ;;
                   10545:
                   10546: sysv4 | sysv4.3*)
1.10      ohara    10547:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10548:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10549:   soname_spec='${libname}${release}${shared_ext}$major'
                   10550:   shlibpath_var=LD_LIBRARY_PATH
                   10551:   case $host_vendor in
                   10552:     sni)
                   10553:       shlibpath_overrides_runpath=no
                   10554:       need_lib_prefix=no
                   10555:       runpath_var=LD_RUN_PATH
                   10556:       ;;
                   10557:     siemens)
                   10558:       need_lib_prefix=no
                   10559:       ;;
                   10560:     motorola)
                   10561:       need_lib_prefix=no
                   10562:       need_version=no
                   10563:       shlibpath_overrides_runpath=no
                   10564:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10565:       ;;
                   10566:   esac
                   10567:   ;;
                   10568:
                   10569: sysv4*MP*)
                   10570:   if test -d /usr/nec ;then
1.10      ohara    10571:     version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10572:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10573:     soname_spec='$libname${shared_ext}.$major'
                   10574:     shlibpath_var=LD_LIBRARY_PATH
                   10575:   fi
                   10576:   ;;
                   10577:
                   10578: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10579:   version_type=freebsd-elf
                   10580:   need_lib_prefix=no
                   10581:   need_version=no
                   10582:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10583:   soname_spec='${libname}${release}${shared_ext}$major'
                   10584:   shlibpath_var=LD_LIBRARY_PATH
1.10      ohara    10585:   shlibpath_overrides_runpath=yes
1.9       ohara    10586:   hardcode_into_libs=yes
                   10587:   if test "$with_gnu_ld" = yes; then
                   10588:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10589:   else
                   10590:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10591:     case $host_os in
                   10592:       sco3.2v5*)
                   10593:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10594:        ;;
                   10595:     esac
                   10596:   fi
                   10597:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10598:   ;;
                   10599:
1.10      ohara    10600: tpf*)
                   10601:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10602:   version_type=linux # correct to gnu/linux during the next big refactor
                   10603:   need_lib_prefix=no
                   10604:   need_version=no
                   10605:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10606:   shlibpath_var=LD_LIBRARY_PATH
                   10607:   shlibpath_overrides_runpath=no
                   10608:   hardcode_into_libs=yes
                   10609:   ;;
                   10610:
1.9       ohara    10611: uts4*)
1.10      ohara    10612:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10613:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10614:   soname_spec='${libname}${release}${shared_ext}$major'
                   10615:   shlibpath_var=LD_LIBRARY_PATH
                   10616:   ;;
                   10617:
                   10618: *)
                   10619:   dynamic_linker=no
                   10620:   ;;
                   10621: esac
1.10      ohara    10622: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   10623: $as_echo "$dynamic_linker" >&6; }
1.9       ohara    10624: test "$dynamic_linker" = no && can_build_shared=no
                   10625:
                   10626: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10627: if test "$GCC" = yes; then
                   10628:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10629: fi
                   10630:
1.10      ohara    10631: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10632:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10633: fi
                   10634: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10635:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10636: fi
                   10637:
                   10638:
                   10639:
                   10640:
                   10641:
                   10642:
                   10643:
                   10644:
                   10645:
                   10646:
                   10647:
                   10648:
                   10649:
                   10650:
                   10651:
                   10652:
1.9       ohara    10653:
                   10654:
                   10655:
                   10656:
                   10657:
                   10658:
                   10659:
                   10660:
                   10661:
                   10662:
                   10663:
                   10664:
                   10665:
                   10666:
                   10667:
                   10668:
                   10669:
                   10670:
                   10671:
                   10672:
                   10673:
                   10674:
                   10675:
                   10676:
                   10677:
                   10678:
                   10679:
                   10680:
                   10681:
                   10682:
                   10683:
                   10684:
                   10685:
                   10686:
                   10687:
                   10688:
                   10689:
                   10690:
                   10691:
                   10692:
                   10693:
                   10694:
                   10695:
                   10696:
                   10697:
                   10698:
                   10699:
                   10700:
                   10701:
                   10702:
                   10703:
                   10704:
                   10705:
                   10706:
                   10707:
                   10708:
                   10709:
                   10710:
                   10711:
                   10712:
                   10713:
                   10714:
                   10715:
                   10716:
                   10717:
                   10718:
                   10719:
                   10720:
                   10721:
                   10722:
                   10723:
                   10724:
                   10725:
                   10726:
                   10727:
                   10728:
1.10      ohara    10729:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   10730: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   10731: hardcode_action=
                   10732: if test -n "$hardcode_libdir_flag_spec" ||
                   10733:    test -n "$runpath_var" ||
                   10734:    test "X$hardcode_automatic" = "Xyes" ; then
1.9       ohara    10735:
1.10      ohara    10736:   # We can hardcode non-existent directories.
                   10737:   if test "$hardcode_direct" != no &&
                   10738:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10739:      # have to relink, otherwise we might link with an installed library
                   10740:      # when we should be linking with a yet-to-be-installed one
                   10741:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10742:      test "$hardcode_minus_L" != no; then
                   10743:     # Linking always hardcodes the temporary library directory.
                   10744:     hardcode_action=relink
                   10745:   else
                   10746:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10747:     hardcode_action=immediate
                   10748:   fi
                   10749: else
                   10750:   # We cannot hardcode anything, or else we can only hardcode existing
                   10751:   # directories.
                   10752:   hardcode_action=unsupported
                   10753: fi
                   10754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   10755: $as_echo "$hardcode_action" >&6; }
1.9       ohara    10756:
1.10      ohara    10757: if test "$hardcode_action" = relink ||
                   10758:    test "$inherit_rpath" = yes; then
                   10759:   # Fast installation is not supported
                   10760:   enable_fast_install=no
                   10761: elif test "$shlibpath_overrides_runpath" = yes ||
                   10762:      test "$enable_shared" = no; then
                   10763:   # Fast installation is not necessary
                   10764:   enable_fast_install=needless
                   10765: fi
1.9       ohara    10766:
                   10767:
                   10768:
                   10769:
                   10770:
                   10771:
1.10      ohara    10772:   if test "x$enable_dlopen" != xyes; then
                   10773:   enable_dlopen=unknown
                   10774:   enable_dlopen_self=unknown
                   10775:   enable_dlopen_self_static=unknown
                   10776: else
                   10777:   lt_cv_dlopen=no
                   10778:   lt_cv_dlopen_libs=
1.9       ohara    10779:
1.10      ohara    10780:   case $host_os in
                   10781:   beos*)
                   10782:     lt_cv_dlopen="load_add_on"
                   10783:     lt_cv_dlopen_libs=
                   10784:     lt_cv_dlopen_self=yes
                   10785:     ;;
1.9       ohara    10786:
1.10      ohara    10787:   mingw* | pw32* | cegcc*)
                   10788:     lt_cv_dlopen="LoadLibrary"
                   10789:     lt_cv_dlopen_libs=
                   10790:     ;;
1.9       ohara    10791:
1.10      ohara    10792:   cygwin*)
                   10793:     lt_cv_dlopen="dlopen"
                   10794:     lt_cv_dlopen_libs=
                   10795:     ;;
1.9       ohara    10796:
1.10      ohara    10797:   darwin*)
                   10798:   # if libdl is installed we need to link against it
                   10799:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10800: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.12    ! noro     10801: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1.10      ohara    10802:   $as_echo_n "(cached) " >&6
                   10803: else
                   10804:   ac_check_lib_save_LIBS=$LIBS
                   10805: LIBS="-ldl  $LIBS"
                   10806: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10807: /* end confdefs.h.  */
1.9       ohara    10808:
1.10      ohara    10809: /* Override any GCC internal prototype to avoid an error.
                   10810:    Use char because int might match the return type of a GCC
                   10811:    builtin and then its argument prototype would still apply.  */
                   10812: #ifdef __cplusplus
                   10813: extern "C"
                   10814: #endif
                   10815: char dlopen ();
                   10816: int
                   10817: main ()
                   10818: {
                   10819: return dlopen ();
                   10820:   ;
                   10821:   return 0;
                   10822: }
                   10823: _ACEOF
                   10824: if ac_fn_c_try_link "$LINENO"; then :
                   10825:   ac_cv_lib_dl_dlopen=yes
1.9       ohara    10826: else
1.10      ohara    10827:   ac_cv_lib_dl_dlopen=no
                   10828: fi
                   10829: rm -f core conftest.err conftest.$ac_objext \
                   10830:     conftest$ac_exeext conftest.$ac_ext
                   10831: LIBS=$ac_check_lib_save_LIBS
1.9       ohara    10832: fi
1.10      ohara    10833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10834: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.12    ! noro     10835: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1.10      ohara    10836:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10837: else
1.9       ohara    10838:
1.10      ohara    10839:     lt_cv_dlopen="dyld"
                   10840:     lt_cv_dlopen_libs=
                   10841:     lt_cv_dlopen_self=yes
1.9       ohara    10842:
1.10      ohara    10843: fi
1.9       ohara    10844:
1.10      ohara    10845:     ;;
1.9       ohara    10846:
1.10      ohara    10847:   *)
                   10848:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.12    ! noro     10849: if test "x$ac_cv_func_shl_load" = x""yes; then :
1.10      ohara    10850:   lt_cv_dlopen="shl_load"
                   10851: else
                   10852:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   10853: $as_echo_n "checking for shl_load in -ldld... " >&6; }
1.12    ! noro     10854: if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
1.10      ohara    10855:   $as_echo_n "(cached) " >&6
                   10856: else
                   10857:   ac_check_lib_save_LIBS=$LIBS
                   10858: LIBS="-ldld  $LIBS"
                   10859: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10860: /* end confdefs.h.  */
1.9       ohara    10861:
1.10      ohara    10862: /* Override any GCC internal prototype to avoid an error.
                   10863:    Use char because int might match the return type of a GCC
                   10864:    builtin and then its argument prototype would still apply.  */
                   10865: #ifdef __cplusplus
                   10866: extern "C"
                   10867: #endif
                   10868: char shl_load ();
                   10869: int
                   10870: main ()
                   10871: {
                   10872: return shl_load ();
                   10873:   ;
                   10874:   return 0;
                   10875: }
                   10876: _ACEOF
                   10877: if ac_fn_c_try_link "$LINENO"; then :
                   10878:   ac_cv_lib_dld_shl_load=yes
                   10879: else
                   10880:   ac_cv_lib_dld_shl_load=no
                   10881: fi
                   10882: rm -f core conftest.err conftest.$ac_objext \
                   10883:     conftest$ac_exeext conftest.$ac_ext
                   10884: LIBS=$ac_check_lib_save_LIBS
                   10885: fi
                   10886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   10887: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.12    ! noro     10888: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
1.10      ohara    10889:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   10890: else
                   10891:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.12    ! noro     10892: if test "x$ac_cv_func_dlopen" = x""yes; then :
1.10      ohara    10893:   lt_cv_dlopen="dlopen"
                   10894: else
                   10895:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10896: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.12    ! noro     10897: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1.10      ohara    10898:   $as_echo_n "(cached) " >&6
                   10899: else
                   10900:   ac_check_lib_save_LIBS=$LIBS
                   10901: LIBS="-ldl  $LIBS"
                   10902: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10903: /* end confdefs.h.  */
1.9       ohara    10904:
1.10      ohara    10905: /* Override any GCC internal prototype to avoid an error.
                   10906:    Use char because int might match the return type of a GCC
                   10907:    builtin and then its argument prototype would still apply.  */
                   10908: #ifdef __cplusplus
                   10909: extern "C"
                   10910: #endif
                   10911: char dlopen ();
                   10912: int
                   10913: main ()
                   10914: {
                   10915: return dlopen ();
                   10916:   ;
                   10917:   return 0;
                   10918: }
                   10919: _ACEOF
                   10920: if ac_fn_c_try_link "$LINENO"; then :
                   10921:   ac_cv_lib_dl_dlopen=yes
                   10922: else
                   10923:   ac_cv_lib_dl_dlopen=no
                   10924: fi
                   10925: rm -f core conftest.err conftest.$ac_objext \
                   10926:     conftest$ac_exeext conftest.$ac_ext
                   10927: LIBS=$ac_check_lib_save_LIBS
                   10928: fi
                   10929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10930: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.12    ! noro     10931: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1.10      ohara    10932:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10933: else
                   10934:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   10935: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.12    ! noro     10936: if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
1.10      ohara    10937:   $as_echo_n "(cached) " >&6
                   10938: else
                   10939:   ac_check_lib_save_LIBS=$LIBS
                   10940: LIBS="-lsvld  $LIBS"
                   10941: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10942: /* end confdefs.h.  */
1.9       ohara    10943:
1.10      ohara    10944: /* Override any GCC internal prototype to avoid an error.
                   10945:    Use char because int might match the return type of a GCC
                   10946:    builtin and then its argument prototype would still apply.  */
                   10947: #ifdef __cplusplus
                   10948: extern "C"
                   10949: #endif
                   10950: char dlopen ();
                   10951: int
                   10952: main ()
                   10953: {
                   10954: return dlopen ();
                   10955:   ;
                   10956:   return 0;
                   10957: }
                   10958: _ACEOF
                   10959: if ac_fn_c_try_link "$LINENO"; then :
                   10960:   ac_cv_lib_svld_dlopen=yes
                   10961: else
                   10962:   ac_cv_lib_svld_dlopen=no
                   10963: fi
                   10964: rm -f core conftest.err conftest.$ac_objext \
                   10965:     conftest$ac_exeext conftest.$ac_ext
                   10966: LIBS=$ac_check_lib_save_LIBS
                   10967: fi
                   10968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   10969: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.12    ! noro     10970: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
1.10      ohara    10971:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   10972: else
                   10973:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   10974: $as_echo_n "checking for dld_link in -ldld... " >&6; }
1.12    ! noro     10975: if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
1.10      ohara    10976:   $as_echo_n "(cached) " >&6
                   10977: else
                   10978:   ac_check_lib_save_LIBS=$LIBS
                   10979: LIBS="-ldld  $LIBS"
                   10980: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10981: /* end confdefs.h.  */
1.9       ohara    10982:
1.10      ohara    10983: /* Override any GCC internal prototype to avoid an error.
                   10984:    Use char because int might match the return type of a GCC
                   10985:    builtin and then its argument prototype would still apply.  */
                   10986: #ifdef __cplusplus
                   10987: extern "C"
                   10988: #endif
                   10989: char dld_link ();
                   10990: int
                   10991: main ()
                   10992: {
                   10993: return dld_link ();
                   10994:   ;
                   10995:   return 0;
                   10996: }
                   10997: _ACEOF
                   10998: if ac_fn_c_try_link "$LINENO"; then :
                   10999:   ac_cv_lib_dld_dld_link=yes
                   11000: else
                   11001:   ac_cv_lib_dld_dld_link=no
                   11002: fi
                   11003: rm -f core conftest.err conftest.$ac_objext \
                   11004:     conftest$ac_exeext conftest.$ac_ext
                   11005: LIBS=$ac_check_lib_save_LIBS
                   11006: fi
                   11007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11008: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.12    ! noro     11009: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
1.10      ohara    11010:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11011: fi
1.9       ohara    11012:
                   11013:
1.10      ohara    11014: fi
1.9       ohara    11015:
                   11016:
1.10      ohara    11017: fi
1.9       ohara    11018:
                   11019:
1.10      ohara    11020: fi
1.9       ohara    11021:
                   11022:
1.10      ohara    11023: fi
1.9       ohara    11024:
                   11025:
1.10      ohara    11026: fi
1.9       ohara    11027:
                   11028:     ;;
                   11029:   esac
                   11030:
1.10      ohara    11031:   if test "x$lt_cv_dlopen" != xno; then
                   11032:     enable_dlopen=yes
                   11033:   else
                   11034:     enable_dlopen=no
                   11035:   fi
1.9       ohara    11036:
1.10      ohara    11037:   case $lt_cv_dlopen in
                   11038:   dlopen)
                   11039:     save_CPPFLAGS="$CPPFLAGS"
                   11040:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.9       ohara    11041:
1.10      ohara    11042:     save_LDFLAGS="$LDFLAGS"
                   11043:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.9       ohara    11044:
1.10      ohara    11045:     save_LIBS="$LIBS"
                   11046:     LIBS="$lt_cv_dlopen_libs $LIBS"
1.9       ohara    11047:
1.10      ohara    11048:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11049: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.12    ! noro     11050: if test "${lt_cv_dlopen_self+set}" = set; then :
1.10      ohara    11051:   $as_echo_n "(cached) " >&6
                   11052: else
                   11053:          if test "$cross_compiling" = yes; then :
                   11054:   lt_cv_dlopen_self=cross
                   11055: else
                   11056:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11057:   lt_status=$lt_dlunknown
                   11058:   cat > conftest.$ac_ext <<_LT_EOF
                   11059: #line $LINENO "configure"
                   11060: #include "confdefs.h"
1.9       ohara    11061:
1.10      ohara    11062: #if HAVE_DLFCN_H
                   11063: #include <dlfcn.h>
                   11064: #endif
1.9       ohara    11065:
1.10      ohara    11066: #include <stdio.h>
1.9       ohara    11067:
1.10      ohara    11068: #ifdef RTLD_GLOBAL
                   11069: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11070: #else
                   11071: #  ifdef DL_GLOBAL
                   11072: #    define LT_DLGLOBAL                DL_GLOBAL
                   11073: #  else
                   11074: #    define LT_DLGLOBAL                0
                   11075: #  endif
                   11076: #endif
1.9       ohara    11077:
1.10      ohara    11078: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11079:    find out it does not work in some platform. */
                   11080: #ifndef LT_DLLAZY_OR_NOW
                   11081: #  ifdef RTLD_LAZY
                   11082: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11083: #  else
                   11084: #    ifdef DL_LAZY
                   11085: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11086: #    else
                   11087: #      ifdef RTLD_NOW
                   11088: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11089: #      else
                   11090: #        ifdef DL_NOW
                   11091: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11092: #        else
                   11093: #          define LT_DLLAZY_OR_NOW     0
                   11094: #        endif
                   11095: #      endif
                   11096: #    endif
                   11097: #  endif
                   11098: #endif
1.9       ohara    11099:
1.10      ohara    11100: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11101:    correspondingly for the symbols needed.  */
                   11102: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11103: int fnord () __attribute__((visibility("default")));
                   11104: #endif
1.9       ohara    11105:
1.10      ohara    11106: int fnord () { return 42; }
                   11107: int main ()
                   11108: {
                   11109:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11110:   int status = $lt_dlunknown;
1.9       ohara    11111:
1.10      ohara    11112:   if (self)
                   11113:     {
                   11114:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11115:       else
                   11116:         {
                   11117:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11118:           else puts (dlerror ());
                   11119:        }
                   11120:       /* dlclose (self); */
                   11121:     }
                   11122:   else
                   11123:     puts (dlerror ());
1.9       ohara    11124:
1.10      ohara    11125:   return status;
                   11126: }
                   11127: _LT_EOF
                   11128:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11129:   (eval $ac_link) 2>&5
                   11130:   ac_status=$?
                   11131:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11132:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11133:     (./conftest; exit; ) >&5 2>/dev/null
                   11134:     lt_status=$?
                   11135:     case x$lt_status in
                   11136:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11137:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11138:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11139:     esac
                   11140:   else :
                   11141:     # compilation failed
                   11142:     lt_cv_dlopen_self=no
                   11143:   fi
                   11144: fi
                   11145: rm -fr conftest*
1.9       ohara    11146:
                   11147:
1.10      ohara    11148: fi
                   11149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11150: $as_echo "$lt_cv_dlopen_self" >&6; }
1.9       ohara    11151:
1.10      ohara    11152:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11153:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11154:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11155: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.12    ! noro     11156: if test "${lt_cv_dlopen_self_static+set}" = set; then :
1.10      ohara    11157:   $as_echo_n "(cached) " >&6
                   11158: else
                   11159:          if test "$cross_compiling" = yes; then :
                   11160:   lt_cv_dlopen_self_static=cross
                   11161: else
                   11162:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11163:   lt_status=$lt_dlunknown
                   11164:   cat > conftest.$ac_ext <<_LT_EOF
                   11165: #line $LINENO "configure"
                   11166: #include "confdefs.h"
1.9       ohara    11167:
1.10      ohara    11168: #if HAVE_DLFCN_H
                   11169: #include <dlfcn.h>
                   11170: #endif
1.9       ohara    11171:
1.10      ohara    11172: #include <stdio.h>
1.9       ohara    11173:
1.10      ohara    11174: #ifdef RTLD_GLOBAL
                   11175: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11176: #else
                   11177: #  ifdef DL_GLOBAL
                   11178: #    define LT_DLGLOBAL                DL_GLOBAL
                   11179: #  else
                   11180: #    define LT_DLGLOBAL                0
                   11181: #  endif
                   11182: #endif
1.9       ohara    11183:
1.10      ohara    11184: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11185:    find out it does not work in some platform. */
                   11186: #ifndef LT_DLLAZY_OR_NOW
                   11187: #  ifdef RTLD_LAZY
                   11188: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11189: #  else
                   11190: #    ifdef DL_LAZY
                   11191: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11192: #    else
                   11193: #      ifdef RTLD_NOW
                   11194: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11195: #      else
                   11196: #        ifdef DL_NOW
                   11197: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11198: #        else
                   11199: #          define LT_DLLAZY_OR_NOW     0
                   11200: #        endif
                   11201: #      endif
                   11202: #    endif
                   11203: #  endif
                   11204: #endif
1.9       ohara    11205:
1.10      ohara    11206: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11207:    correspondingly for the symbols needed.  */
                   11208: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11209: int fnord () __attribute__((visibility("default")));
                   11210: #endif
1.9       ohara    11211:
1.10      ohara    11212: int fnord () { return 42; }
                   11213: int main ()
                   11214: {
                   11215:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11216:   int status = $lt_dlunknown;
1.9       ohara    11217:
1.10      ohara    11218:   if (self)
                   11219:     {
                   11220:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11221:       else
                   11222:         {
                   11223:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11224:           else puts (dlerror ());
                   11225:        }
                   11226:       /* dlclose (self); */
                   11227:     }
                   11228:   else
                   11229:     puts (dlerror ());
1.9       ohara    11230:
1.10      ohara    11231:   return status;
                   11232: }
                   11233: _LT_EOF
                   11234:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11235:   (eval $ac_link) 2>&5
                   11236:   ac_status=$?
                   11237:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11238:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11239:     (./conftest; exit; ) >&5 2>/dev/null
                   11240:     lt_status=$?
                   11241:     case x$lt_status in
                   11242:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11243:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11244:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11245:     esac
                   11246:   else :
                   11247:     # compilation failed
                   11248:     lt_cv_dlopen_self_static=no
                   11249:   fi
                   11250: fi
                   11251: rm -fr conftest*
1.9       ohara    11252:
                   11253:
1.10      ohara    11254: fi
                   11255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11256: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   11257:     fi
1.9       ohara    11258:
1.10      ohara    11259:     CPPFLAGS="$save_CPPFLAGS"
                   11260:     LDFLAGS="$save_LDFLAGS"
                   11261:     LIBS="$save_LIBS"
                   11262:     ;;
                   11263:   esac
1.9       ohara    11264:
1.10      ohara    11265:   case $lt_cv_dlopen_self in
                   11266:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11267:   *) enable_dlopen_self=unknown ;;
                   11268:   esac
1.9       ohara    11269:
1.10      ohara    11270:   case $lt_cv_dlopen_self_static in
                   11271:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11272:   *) enable_dlopen_self_static=unknown ;;
                   11273:   esac
                   11274: fi
1.9       ohara    11275:
                   11276:
                   11277:
                   11278:
                   11279:
                   11280:
                   11281:
                   11282:
                   11283:
                   11284:
                   11285:
                   11286:
                   11287:
                   11288:
                   11289:
                   11290:
                   11291:
1.10      ohara    11292: striplib=
                   11293: old_striplib=
                   11294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   11295: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   11296: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11297:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11298:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11299:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11300: $as_echo "yes" >&6; }
                   11301: else
                   11302: # FIXME - insert some real tests, host_os isn't really good enough
                   11303:   case $host_os in
                   11304:   darwin*)
                   11305:     if test -n "$STRIP" ; then
                   11306:       striplib="$STRIP -x"
                   11307:       old_striplib="$STRIP -S"
                   11308:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11309: $as_echo "yes" >&6; }
                   11310:     else
                   11311:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11312: $as_echo "no" >&6; }
                   11313:     fi
                   11314:     ;;
                   11315:   *)
                   11316:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11317: $as_echo "no" >&6; }
                   11318:     ;;
                   11319:   esac
                   11320: fi
1.9       ohara    11321:
                   11322:
                   11323:
                   11324:
                   11325:
                   11326:
                   11327:
                   11328:
                   11329:
                   11330:
                   11331:
                   11332:
1.10      ohara    11333:   # Report which library types will actually be built
                   11334:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   11335: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   11336:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   11337: $as_echo "$can_build_shared" >&6; }
1.9       ohara    11338:
1.10      ohara    11339:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   11340: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   11341:   test "$can_build_shared" = "no" && enable_shared=no
1.9       ohara    11342:
1.10      ohara    11343:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11344:   # are all built from PIC.
                   11345:   case $host_os in
                   11346:   aix3*)
                   11347:     test "$enable_shared" = yes && enable_static=no
                   11348:     if test -n "$RANLIB"; then
                   11349:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11350:       postinstall_cmds='$RANLIB $lib'
                   11351:     fi
                   11352:     ;;
1.9       ohara    11353:
1.10      ohara    11354:   aix[4-9]*)
                   11355:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11356:       test "$enable_shared" = yes && enable_static=no
                   11357:     fi
                   11358:     ;;
                   11359:   esac
                   11360:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   11361: $as_echo "$enable_shared" >&6; }
1.9       ohara    11362:
1.10      ohara    11363:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   11364: $as_echo_n "checking whether to build static libraries... " >&6; }
                   11365:   # Make sure either enable_shared or enable_static is yes.
                   11366:   test "$enable_shared" = yes || enable_static=yes
                   11367:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   11368: $as_echo "$enable_static" >&6; }
1.9       ohara    11369:
                   11370:
                   11371:
                   11372:
1.10      ohara    11373: fi
                   11374: ac_ext=c
                   11375: ac_cpp='$CPP $CPPFLAGS'
                   11376: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11377: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11378: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    11379:
1.10      ohara    11380: CC="$lt_save_CC"
1.9       ohara    11381:
                   11382:
                   11383:
                   11384:
                   11385:
                   11386:
                   11387:
                   11388:
                   11389:
                   11390:
                   11391:
                   11392:
                   11393:
                   11394:
                   11395:
1.10      ohara    11396:         ac_config_commands="$ac_config_commands libtool"
1.9       ohara    11397:
                   11398:
1.7       ohara    11399:
                   11400:
1.10      ohara    11401: # Only expand once:
1.9       ohara    11402:
1.7       ohara    11403:
1.10      ohara    11404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
                   11405: $as_echo_n "checking for X... " >&6; }
1.7       ohara    11406:
                   11407:
1.10      ohara    11408: # Check whether --with-x was given.
                   11409: if test "${with_x+set}" = set; then :
                   11410:   withval=$with_x;
                   11411: fi
1.7       ohara    11412:
1.10      ohara    11413: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   11414: if test "x$with_x" = xno; then
                   11415:   # The user explicitly disabled X.
                   11416:   have_x=disabled
                   11417: else
                   11418:   case $x_includes,$x_libraries in #(
1.12    ! noro     11419:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
        !          11420:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
1.10      ohara    11421:   $as_echo_n "(cached) " >&6
                   11422: else
                   11423:   # One or both of the vars are not set, and there is no cached value.
                   11424: ac_x_includes=no ac_x_libraries=no
                   11425: rm -f -r conftest.dir
                   11426: if mkdir conftest.dir; then
                   11427:   cd conftest.dir
                   11428:   cat >Imakefile <<'_ACEOF'
                   11429: incroot:
                   11430:        @echo incroot='${INCROOT}'
                   11431: usrlibdir:
                   11432:        @echo usrlibdir='${USRLIBDIR}'
                   11433: libdir:
                   11434:        @echo libdir='${LIBDIR}'
                   11435: _ACEOF
                   11436:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
                   11437:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   11438:     for ac_var in incroot usrlibdir libdir; do
                   11439:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
                   11440:     done
                   11441:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   11442:     for ac_extension in a so sl dylib la dll; do
                   11443:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
                   11444:         test -f "$ac_im_libdir/libX11.$ac_extension"; then
                   11445:        ac_im_usrlibdir=$ac_im_libdir; break
                   11446:       fi
                   11447:     done
                   11448:     # Screen out bogus values from the imake configuration.  They are
                   11449:     # bogus both because they are the default anyway, and because
                   11450:     # using them would break gcc on systems where it needs fixed includes.
                   11451:     case $ac_im_incroot in
                   11452:        /usr/include) ac_x_includes= ;;
                   11453:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   11454:     esac
                   11455:     case $ac_im_usrlibdir in
                   11456:        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
                   11457:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   11458:     esac
1.7       ohara    11459:   fi
1.10      ohara    11460:   cd ..
                   11461:   rm -f -r conftest.dir
1.7       ohara    11462: fi
                   11463:
1.10      ohara    11464: # Standard set of common directories for X headers.
                   11465: # Check X11 before X11Rn because it is often a symlink to the current release.
                   11466: ac_x_header_dirs='
                   11467: /usr/X11/include
                   11468: /usr/X11R7/include
                   11469: /usr/X11R6/include
                   11470: /usr/X11R5/include
                   11471: /usr/X11R4/include
1.7       ohara    11472:
1.10      ohara    11473: /usr/include/X11
                   11474: /usr/include/X11R7
                   11475: /usr/include/X11R6
                   11476: /usr/include/X11R5
                   11477: /usr/include/X11R4
1.7       ohara    11478:
1.10      ohara    11479: /usr/local/X11/include
                   11480: /usr/local/X11R7/include
                   11481: /usr/local/X11R6/include
                   11482: /usr/local/X11R5/include
                   11483: /usr/local/X11R4/include
1.9       ohara    11484:
1.10      ohara    11485: /usr/local/include/X11
                   11486: /usr/local/include/X11R7
                   11487: /usr/local/include/X11R6
                   11488: /usr/local/include/X11R5
                   11489: /usr/local/include/X11R4
1.9       ohara    11490:
1.10      ohara    11491: /usr/X386/include
                   11492: /usr/x386/include
                   11493: /usr/XFree86/include/X11
1.9       ohara    11494:
1.10      ohara    11495: /usr/include
                   11496: /usr/local/include
                   11497: /usr/unsupported/include
                   11498: /usr/athena/include
                   11499: /usr/local/x11r5/include
                   11500: /usr/lpp/Xamples/include
1.9       ohara    11501:
1.10      ohara    11502: /usr/openwin/include
                   11503: /usr/openwin/share/include'
1.9       ohara    11504:
1.10      ohara    11505: if test "$ac_x_includes" = no; then
                   11506:   # Guess where to find include files, by looking for Xlib.h.
                   11507:   # First, try using that file with no special directory specified.
                   11508:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11509: /* end confdefs.h.  */
                   11510: #include <X11/Xlib.h>
                   11511: _ACEOF
                   11512: if ac_fn_c_try_cpp "$LINENO"; then :
                   11513:   # We can compile using X headers with no special include directory.
                   11514: ac_x_includes=
                   11515: else
                   11516:   for ac_dir in $ac_x_header_dirs; do
                   11517:   if test -r "$ac_dir/X11/Xlib.h"; then
                   11518:     ac_x_includes=$ac_dir
                   11519:     break
                   11520:   fi
                   11521: done
                   11522: fi
                   11523: rm -f conftest.err conftest.i conftest.$ac_ext
                   11524: fi # $ac_x_includes = no
1.9       ohara    11525:
1.10      ohara    11526: if test "$ac_x_libraries" = no; then
                   11527:   # Check for the libraries.
                   11528:   # See if we find them without any special options.
                   11529:   # Don't add to $LIBS permanently.
                   11530:   ac_save_LIBS=$LIBS
                   11531:   LIBS="-lX11 $LIBS"
                   11532:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11533: /* end confdefs.h.  */
                   11534: #include <X11/Xlib.h>
                   11535: int
                   11536: main ()
                   11537: {
                   11538: XrmInitialize ()
                   11539:   ;
                   11540:   return 0;
                   11541: }
                   11542: _ACEOF
                   11543: if ac_fn_c_try_link "$LINENO"; then :
                   11544:   LIBS=$ac_save_LIBS
                   11545: # We can link X programs with no special library path.
                   11546: ac_x_libraries=
                   11547: else
                   11548:   LIBS=$ac_save_LIBS
                   11549: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
                   11550: do
                   11551:   # Don't even attempt the hair of trying to link an X program!
                   11552:   for ac_extension in a so sl dylib la dll; do
                   11553:     if test -r "$ac_dir/libX11.$ac_extension"; then
                   11554:       ac_x_libraries=$ac_dir
                   11555:       break 2
                   11556:     fi
                   11557:   done
                   11558: done
                   11559: fi
                   11560: rm -f core conftest.err conftest.$ac_objext \
                   11561:     conftest$ac_exeext conftest.$ac_ext
                   11562: fi # $ac_x_libraries = no
1.9       ohara    11563:
1.10      ohara    11564: case $ac_x_includes,$ac_x_libraries in #(
                   11565:   no,* | *,no | *\'*)
                   11566:     # Didn't find X, or a directory has "'" in its name.
                   11567:     ac_cv_have_x="have_x=no";; #(
                   11568:   *)
                   11569:     # Record where we found X for the cache.
                   11570:     ac_cv_have_x="have_x=yes\
                   11571:        ac_x_includes='$ac_x_includes'\
                   11572:        ac_x_libraries='$ac_x_libraries'"
                   11573: esac
                   11574: fi
                   11575: ;; #(
                   11576:     *) have_x=yes;;
                   11577:   esac
                   11578:   eval "$ac_cv_have_x"
                   11579: fi # $with_x != no
1.9       ohara    11580:
1.10      ohara    11581: if test "$have_x" != yes; then
                   11582:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
                   11583: $as_echo "$have_x" >&6; }
                   11584:   no_x=yes
                   11585: else
                   11586:   # If each of the values was on the command line, it overrides each guess.
                   11587:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   11588:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   11589:   # Update the cache value to reflect the command line values.
                   11590:   ac_cv_have_x="have_x=yes\
                   11591:        ac_x_includes='$x_includes'\
                   11592:        ac_x_libraries='$x_libraries'"
                   11593:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
                   11594: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
                   11595: fi
1.9       ohara    11596:
1.10      ohara    11597: if test "$no_x" = yes; then
                   11598:   # Not all programs may use this symbol, but it does not hurt to define it.
1.7       ohara    11599:
1.10      ohara    11600: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.4       takayama 11601:
1.10      ohara    11602:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   11603: else
                   11604:   if test -n "$x_includes"; then
                   11605:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   11606:   fi
1.4       takayama 11607:
1.10      ohara    11608:   # It would also be nice to do this for all -L options, not just this one.
                   11609:   if test -n "$x_libraries"; then
                   11610:     X_LIBS="$X_LIBS -L$x_libraries"
                   11611:     # For Solaris; some versions of Sun CC require a space after -R and
                   11612:     # others require no space.  Words are not sufficient . . . .
                   11613:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
                   11614: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
                   11615:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   11616:     ac_xsave_c_werror_flag=$ac_c_werror_flag
                   11617:     ac_c_werror_flag=yes
                   11618:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11619: /* end confdefs.h.  */
1.4       takayama 11620:
1.10      ohara    11621: int
                   11622: main ()
                   11623: {
1.4       takayama 11624:
1.10      ohara    11625:   ;
                   11626:   return 0;
                   11627: }
                   11628: _ACEOF
                   11629: if ac_fn_c_try_link "$LINENO"; then :
                   11630:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11631: $as_echo "no" >&6; }
                   11632:        X_LIBS="$X_LIBS -R$x_libraries"
                   11633: else
                   11634:   LIBS="$ac_xsave_LIBS -R $x_libraries"
                   11635:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11636: /* end confdefs.h.  */
1.4       takayama 11637:
1.10      ohara    11638: int
                   11639: main ()
                   11640: {
1.4       takayama 11641:
1.10      ohara    11642:   ;
                   11643:   return 0;
                   11644: }
                   11645: _ACEOF
                   11646: if ac_fn_c_try_link "$LINENO"; then :
                   11647:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11648: $as_echo "yes" >&6; }
                   11649:          X_LIBS="$X_LIBS -R $x_libraries"
                   11650: else
                   11651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
                   11652: $as_echo "neither works" >&6; }
                   11653: fi
                   11654: rm -f core conftest.err conftest.$ac_objext \
                   11655:     conftest$ac_exeext conftest.$ac_ext
                   11656: fi
                   11657: rm -f core conftest.err conftest.$ac_objext \
                   11658:     conftest$ac_exeext conftest.$ac_ext
                   11659:     ac_c_werror_flag=$ac_xsave_c_werror_flag
                   11660:     LIBS=$ac_xsave_LIBS
                   11661:   fi
1.1       ohara    11662:
1.10      ohara    11663:   # Check for system-dependent libraries X programs must link with.
                   11664:   # Do this before checking for the system-independent R6 libraries
                   11665:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.4       takayama 11666:
1.10      ohara    11667:   if test "$ISC" = yes; then
                   11668:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   11669:   else
                   11670:     # Martyn Johnson says this is needed for Ultrix, if the X
                   11671:     # libraries were built with DECnet support.  And Karl Berry says
                   11672:     # the Alpha needs dnet_stub (dnet does not exist).
                   11673:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   11674:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11675: /* end confdefs.h.  */
1.4       takayama 11676:
1.10      ohara    11677: /* Override any GCC internal prototype to avoid an error.
                   11678:    Use char because int might match the return type of a GCC
                   11679:    builtin and then its argument prototype would still apply.  */
                   11680: #ifdef __cplusplus
                   11681: extern "C"
                   11682: #endif
                   11683: char XOpenDisplay ();
                   11684: int
                   11685: main ()
                   11686: {
                   11687: return XOpenDisplay ();
                   11688:   ;
                   11689:   return 0;
                   11690: }
                   11691: _ACEOF
                   11692: if ac_fn_c_try_link "$LINENO"; then :
1.4       takayama 11693:
1.10      ohara    11694: else
                   11695:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
                   11696: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.12    ! noro     11697: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
1.10      ohara    11698:   $as_echo_n "(cached) " >&6
                   11699: else
                   11700:   ac_check_lib_save_LIBS=$LIBS
                   11701: LIBS="-ldnet  $LIBS"
                   11702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11703: /* end confdefs.h.  */
1.1       ohara    11704:
1.10      ohara    11705: /* Override any GCC internal prototype to avoid an error.
                   11706:    Use char because int might match the return type of a GCC
                   11707:    builtin and then its argument prototype would still apply.  */
                   11708: #ifdef __cplusplus
                   11709: extern "C"
                   11710: #endif
                   11711: char dnet_ntoa ();
                   11712: int
                   11713: main ()
                   11714: {
                   11715: return dnet_ntoa ();
                   11716:   ;
                   11717:   return 0;
                   11718: }
                   11719: _ACEOF
                   11720: if ac_fn_c_try_link "$LINENO"; then :
                   11721:   ac_cv_lib_dnet_dnet_ntoa=yes
                   11722: else
                   11723:   ac_cv_lib_dnet_dnet_ntoa=no
                   11724: fi
                   11725: rm -f core conftest.err conftest.$ac_objext \
                   11726:     conftest$ac_exeext conftest.$ac_ext
                   11727: LIBS=$ac_check_lib_save_LIBS
                   11728: fi
                   11729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   11730: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.12    ! noro     11731: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
1.10      ohara    11732:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
1.9       ohara    11733: fi
1.1       ohara    11734:
1.10      ohara    11735:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
                   11736:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
                   11737: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.12    ! noro     11738: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
1.10      ohara    11739:   $as_echo_n "(cached) " >&6
1.1       ohara    11740: else
1.10      ohara    11741:   ac_check_lib_save_LIBS=$LIBS
                   11742: LIBS="-ldnet_stub  $LIBS"
                   11743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11744: /* end confdefs.h.  */
                   11745:
                   11746: /* Override any GCC internal prototype to avoid an error.
                   11747:    Use char because int might match the return type of a GCC
                   11748:    builtin and then its argument prototype would still apply.  */
                   11749: #ifdef __cplusplus
                   11750: extern "C"
                   11751: #endif
                   11752: char dnet_ntoa ();
                   11753: int
                   11754: main ()
                   11755: {
                   11756: return dnet_ntoa ();
                   11757:   ;
                   11758:   return 0;
                   11759: }
                   11760: _ACEOF
                   11761: if ac_fn_c_try_link "$LINENO"; then :
                   11762:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
1.1       ohara    11763: else
1.10      ohara    11764:   ac_cv_lib_dnet_stub_dnet_ntoa=no
                   11765: fi
                   11766: rm -f core conftest.err conftest.$ac_objext \
                   11767:     conftest$ac_exeext conftest.$ac_ext
                   11768: LIBS=$ac_check_lib_save_LIBS
                   11769: fi
                   11770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   11771: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.12    ! noro     11772: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
1.10      ohara    11773:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
1.1       ohara    11774: fi
                   11775:
1.10      ohara    11776:     fi
                   11777: fi
                   11778: rm -f core conftest.err conftest.$ac_objext \
                   11779:     conftest$ac_exeext conftest.$ac_ext
                   11780:     LIBS="$ac_xsave_LIBS"
1.4       takayama 11781:
1.10      ohara    11782:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   11783:     # to get the SysV transport functions.
                   11784:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   11785:     # needs -lnsl.
                   11786:     # The nsl library prevents programs from opening the X display
                   11787:     # on Irix 5.2, according to T.E. Dickey.
                   11788:     # The functions gethostbyname, getservbyname, and inet_addr are
                   11789:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   11790:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.12    ! noro     11791: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
1.4       takayama 11792:
1.10      ohara    11793: fi
1.4       takayama 11794:
1.10      ohara    11795:     if test $ac_cv_func_gethostbyname = no; then
                   11796:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   11797: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.12    ! noro     11798: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
1.10      ohara    11799:   $as_echo_n "(cached) " >&6
                   11800: else
                   11801:   ac_check_lib_save_LIBS=$LIBS
                   11802: LIBS="-lnsl  $LIBS"
                   11803: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11804: /* end confdefs.h.  */
1.4       takayama 11805:
1.10      ohara    11806: /* Override any GCC internal prototype to avoid an error.
                   11807:    Use char because int might match the return type of a GCC
                   11808:    builtin and then its argument prototype would still apply.  */
                   11809: #ifdef __cplusplus
                   11810: extern "C"
                   11811: #endif
                   11812: char gethostbyname ();
                   11813: int
                   11814: main ()
                   11815: {
                   11816: return gethostbyname ();
                   11817:   ;
                   11818:   return 0;
                   11819: }
                   11820: _ACEOF
                   11821: if ac_fn_c_try_link "$LINENO"; then :
                   11822:   ac_cv_lib_nsl_gethostbyname=yes
                   11823: else
                   11824:   ac_cv_lib_nsl_gethostbyname=no
                   11825: fi
                   11826: rm -f core conftest.err conftest.$ac_objext \
                   11827:     conftest$ac_exeext conftest.$ac_ext
                   11828: LIBS=$ac_check_lib_save_LIBS
                   11829: fi
                   11830: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   11831: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.12    ! noro     11832: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
1.10      ohara    11833:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   11834: fi
1.4       takayama 11835:
1.10      ohara    11836:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   11837:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
                   11838: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.12    ! noro     11839: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
1.10      ohara    11840:   $as_echo_n "(cached) " >&6
                   11841: else
                   11842:   ac_check_lib_save_LIBS=$LIBS
                   11843: LIBS="-lbsd  $LIBS"
                   11844: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11845: /* end confdefs.h.  */
1.4       takayama 11846:
1.10      ohara    11847: /* Override any GCC internal prototype to avoid an error.
                   11848:    Use char because int might match the return type of a GCC
                   11849:    builtin and then its argument prototype would still apply.  */
                   11850: #ifdef __cplusplus
                   11851: extern "C"
                   11852: #endif
                   11853: char gethostbyname ();
                   11854: int
                   11855: main ()
                   11856: {
                   11857: return gethostbyname ();
                   11858:   ;
                   11859:   return 0;
                   11860: }
1.9       ohara    11861: _ACEOF
1.10      ohara    11862: if ac_fn_c_try_link "$LINENO"; then :
                   11863:   ac_cv_lib_bsd_gethostbyname=yes
1.1       ohara    11864: else
1.10      ohara    11865:   ac_cv_lib_bsd_gethostbyname=no
                   11866: fi
                   11867: rm -f core conftest.err conftest.$ac_objext \
                   11868:     conftest$ac_exeext conftest.$ac_ext
                   11869: LIBS=$ac_check_lib_save_LIBS
                   11870: fi
                   11871: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   11872: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.12    ! noro     11873: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
1.10      ohara    11874:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
                   11875: fi
                   11876:
                   11877:       fi
                   11878:     fi
                   11879:
                   11880:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   11881:     # socket/setsockopt and other routines are undefined under SCO ODT
                   11882:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
                   11883:     # on later versions), says Simon Leinen: it contains gethostby*
                   11884:     # variants that don't use the name server (or something).  -lsocket
                   11885:     # must be given before -lnsl if both are needed.  We assume that
                   11886:     # if connect needs -lnsl, so does gethostbyname.
                   11887:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
1.12    ! noro     11888: if test "x$ac_cv_func_connect" = x""yes; then :
1.9       ohara    11889:
1.1       ohara    11890: fi
1.9       ohara    11891:
1.10      ohara    11892:     if test $ac_cv_func_connect = no; then
                   11893:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
                   11894: $as_echo_n "checking for connect in -lsocket... " >&6; }
1.12    ! noro     11895: if test "${ac_cv_lib_socket_connect+set}" = set; then :
1.10      ohara    11896:   $as_echo_n "(cached) " >&6
                   11897: else
                   11898:   ac_check_lib_save_LIBS=$LIBS
                   11899: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
                   11900: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11901: /* end confdefs.h.  */
1.1       ohara    11902:
1.10      ohara    11903: /* Override any GCC internal prototype to avoid an error.
                   11904:    Use char because int might match the return type of a GCC
                   11905:    builtin and then its argument prototype would still apply.  */
                   11906: #ifdef __cplusplus
                   11907: extern "C"
                   11908: #endif
                   11909: char connect ();
1.4       takayama 11910: int
                   11911: main ()
                   11912: {
1.10      ohara    11913: return connect ();
1.4       takayama 11914:   ;
                   11915:   return 0;
                   11916: }
                   11917: _ACEOF
1.10      ohara    11918: if ac_fn_c_try_link "$LINENO"; then :
                   11919:   ac_cv_lib_socket_connect=yes
1.1       ohara    11920: else
1.10      ohara    11921:   ac_cv_lib_socket_connect=no
                   11922: fi
                   11923: rm -f core conftest.err conftest.$ac_objext \
                   11924:     conftest$ac_exeext conftest.$ac_ext
                   11925: LIBS=$ac_check_lib_save_LIBS
                   11926: fi
                   11927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
                   11928: $as_echo "$ac_cv_lib_socket_connect" >&6; }
1.12    ! noro     11929: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
1.10      ohara    11930:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   11931: fi
1.9       ohara    11932:
1.1       ohara    11933:     fi
1.9       ohara    11934:
1.10      ohara    11935:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   11936:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
1.12    ! noro     11937: if test "x$ac_cv_func_remove" = x""yes; then :
1.9       ohara    11938:
1.1       ohara    11939: fi
                   11940:
1.10      ohara    11941:     if test $ac_cv_func_remove = no; then
                   11942:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
                   11943: $as_echo_n "checking for remove in -lposix... " >&6; }
1.12    ! noro     11944: if test "${ac_cv_lib_posix_remove+set}" = set; then :
1.10      ohara    11945:   $as_echo_n "(cached) " >&6
                   11946: else
                   11947:   ac_check_lib_save_LIBS=$LIBS
                   11948: LIBS="-lposix  $LIBS"
                   11949: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11950: /* end confdefs.h.  */
                   11951:
                   11952: /* Override any GCC internal prototype to avoid an error.
                   11953:    Use char because int might match the return type of a GCC
                   11954:    builtin and then its argument prototype would still apply.  */
                   11955: #ifdef __cplusplus
                   11956: extern "C"
                   11957: #endif
                   11958: char remove ();
                   11959: int
                   11960: main ()
                   11961: {
                   11962: return remove ();
                   11963:   ;
                   11964:   return 0;
                   11965: }
                   11966: _ACEOF
                   11967: if ac_fn_c_try_link "$LINENO"; then :
                   11968:   ac_cv_lib_posix_remove=yes
1.1       ohara    11969: else
1.10      ohara    11970:   ac_cv_lib_posix_remove=no
                   11971: fi
                   11972: rm -f core conftest.err conftest.$ac_objext \
                   11973:     conftest$ac_exeext conftest.$ac_ext
                   11974: LIBS=$ac_check_lib_save_LIBS
                   11975: fi
                   11976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
                   11977: $as_echo "$ac_cv_lib_posix_remove" >&6; }
1.12    ! noro     11978: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
1.10      ohara    11979:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1.1       ohara    11980: fi
                   11981:
1.10      ohara    11982:     fi
                   11983:
                   11984:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
                   11985:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
1.12    ! noro     11986: if test "x$ac_cv_func_shmat" = x""yes; then :
1.4       takayama 11987:
1.10      ohara    11988: fi
1.1       ohara    11989:
1.10      ohara    11990:     if test $ac_cv_func_shmat = no; then
                   11991:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
                   11992: $as_echo_n "checking for shmat in -lipc... " >&6; }
1.12    ! noro     11993: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
1.10      ohara    11994:   $as_echo_n "(cached) " >&6
1.1       ohara    11995: else
1.10      ohara    11996:   ac_check_lib_save_LIBS=$LIBS
                   11997: LIBS="-lipc  $LIBS"
                   11998: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    11999: /* end confdefs.h.  */
1.1       ohara    12000:
1.10      ohara    12001: /* Override any GCC internal prototype to avoid an error.
                   12002:    Use char because int might match the return type of a GCC
                   12003:    builtin and then its argument prototype would still apply.  */
                   12004: #ifdef __cplusplus
                   12005: extern "C"
                   12006: #endif
                   12007: char shmat ();
1.4       takayama 12008: int
                   12009: main ()
                   12010: {
1.10      ohara    12011: return shmat ();
1.4       takayama 12012:   ;
                   12013:   return 0;
                   12014: }
                   12015: _ACEOF
1.10      ohara    12016: if ac_fn_c_try_link "$LINENO"; then :
                   12017:   ac_cv_lib_ipc_shmat=yes
1.1       ohara    12018: else
1.10      ohara    12019:   ac_cv_lib_ipc_shmat=no
                   12020: fi
                   12021: rm -f core conftest.err conftest.$ac_objext \
                   12022:     conftest$ac_exeext conftest.$ac_ext
                   12023: LIBS=$ac_check_lib_save_LIBS
                   12024: fi
                   12025: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
                   12026: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.12    ! noro     12027: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
1.10      ohara    12028:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   12029: fi
                   12030:
                   12031:     fi
                   12032:   fi
1.9       ohara    12033:
1.10      ohara    12034:   # Check for libraries that X11R6 Xt/Xaw programs need.
                   12035:   ac_save_LDFLAGS=$LDFLAGS
                   12036:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   12037:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   12038:   # check for ICE first), but we must link in the order -lSM -lICE or
                   12039:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   12040:   # These have to be linked with before -lX11, unlike the other
                   12041:   # libraries we check for below, so use a different variable.
                   12042:   # John Interrante, Karl Berry
                   12043:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
                   12044: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.12    ! noro     12045: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
1.10      ohara    12046:   $as_echo_n "(cached) " >&6
                   12047: else
                   12048:   ac_check_lib_save_LIBS=$LIBS
                   12049: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
                   12050: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12051: /* end confdefs.h.  */
1.1       ohara    12052:
1.10      ohara    12053: /* Override any GCC internal prototype to avoid an error.
                   12054:    Use char because int might match the return type of a GCC
                   12055:    builtin and then its argument prototype would still apply.  */
                   12056: #ifdef __cplusplus
                   12057: extern "C"
                   12058: #endif
                   12059: char IceConnectionNumber ();
1.4       takayama 12060: int
                   12061: main ()
                   12062: {
1.10      ohara    12063: return IceConnectionNumber ();
1.4       takayama 12064:   ;
                   12065:   return 0;
                   12066: }
                   12067: _ACEOF
1.10      ohara    12068: if ac_fn_c_try_link "$LINENO"; then :
                   12069:   ac_cv_lib_ICE_IceConnectionNumber=yes
1.1       ohara    12070: else
1.10      ohara    12071:   ac_cv_lib_ICE_IceConnectionNumber=no
                   12072: fi
                   12073: rm -f core conftest.err conftest.$ac_objext \
                   12074:     conftest$ac_exeext conftest.$ac_ext
                   12075: LIBS=$ac_check_lib_save_LIBS
                   12076: fi
                   12077: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   12078: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.12    ! noro     12079: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
1.10      ohara    12080:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   12081: fi
                   12082:
                   12083:   LDFLAGS=$ac_save_LDFLAGS
1.9       ohara    12084:
                   12085: fi
                   12086:
1.10      ohara    12087:
                   12088: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   12089:     CFLAGS="${CFLAGS} -finline-functions"
1.1       ohara    12090: fi
1.9       ohara    12091:
1.10      ohara    12092: case "${host}" in
                   12093: i[3-6]86-*-interix*)
                   12094:     $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
                   12095:
                   12096:     ;;
                   12097: *)
                   12098:     ;;
                   12099: esac
1.1       ohara    12100:
1.10      ohara    12101: ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
1.12    ! noro     12102: if test "x$ac_cv_func_socket" = x""yes; then :
1.1       ohara    12103:
1.10      ohara    12104: else
                   12105:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   12106: $as_echo_n "checking for socket in -lsocket... " >&6; }
1.12    ! noro     12107: if test "${ac_cv_lib_socket_socket+set}" = set; then :
1.10      ohara    12108:   $as_echo_n "(cached) " >&6
                   12109: else
                   12110:   ac_check_lib_save_LIBS=$LIBS
                   12111: LIBS="-lsocket  $LIBS"
                   12112: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12113: /* end confdefs.h.  */
1.4       takayama 12114:
1.9       ohara    12115: /* Override any GCC internal prototype to avoid an error.
                   12116:    Use char because int might match the return type of a GCC
                   12117:    builtin and then its argument prototype would still apply.  */
1.4       takayama 12118: #ifdef __cplusplus
                   12119: extern "C"
                   12120: #endif
1.10      ohara    12121: char socket ();
1.4       takayama 12122: int
                   12123: main ()
                   12124: {
1.10      ohara    12125: return socket ();
1.4       takayama 12126:   ;
                   12127:   return 0;
                   12128: }
                   12129: _ACEOF
1.10      ohara    12130: if ac_fn_c_try_link "$LINENO"; then :
                   12131:   ac_cv_lib_socket_socket=yes
1.1       ohara    12132: else
1.10      ohara    12133:   ac_cv_lib_socket_socket=no
                   12134: fi
                   12135: rm -f core conftest.err conftest.$ac_objext \
                   12136:     conftest$ac_exeext conftest.$ac_ext
                   12137: LIBS=$ac_check_lib_save_LIBS
                   12138: fi
                   12139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   12140: $as_echo "$ac_cv_lib_socket_socket" >&6; }
1.12    ! noro     12141: if test "x$ac_cv_lib_socket_socket" = x""yes; then :
1.10      ohara    12142:   cat >>confdefs.h <<_ACEOF
                   12143: #define HAVE_LIBSOCKET 1
                   12144: _ACEOF
                   12145:
                   12146:   LIBS="-lsocket $LIBS"
                   12147:
                   12148: fi
                   12149:
                   12150: fi
                   12151:
                   12152: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.12    ! noro     12153: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
1.9       ohara    12154:
1.10      ohara    12155: else
                   12156:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   12157: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.12    ! noro     12158: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
1.10      ohara    12159:   $as_echo_n "(cached) " >&6
1.4       takayama 12160: else
                   12161:   ac_check_lib_save_LIBS=$LIBS
1.10      ohara    12162: LIBS="-lnsl  $LIBS"
                   12163: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12164: /* end confdefs.h.  */
1.4       takayama 12165:
1.9       ohara    12166: /* Override any GCC internal prototype to avoid an error.
                   12167:    Use char because int might match the return type of a GCC
                   12168:    builtin and then its argument prototype would still apply.  */
1.4       takayama 12169: #ifdef __cplusplus
                   12170: extern "C"
                   12171: #endif
1.10      ohara    12172: char gethostbyname ();
1.4       takayama 12173: int
                   12174: main ()
                   12175: {
1.10      ohara    12176: return gethostbyname ();
1.4       takayama 12177:   ;
                   12178:   return 0;
                   12179: }
                   12180: _ACEOF
1.10      ohara    12181: if ac_fn_c_try_link "$LINENO"; then :
                   12182:   ac_cv_lib_nsl_gethostbyname=yes
                   12183: else
                   12184:   ac_cv_lib_nsl_gethostbyname=no
                   12185: fi
                   12186: rm -f core conftest.err conftest.$ac_objext \
                   12187:     conftest$ac_exeext conftest.$ac_ext
                   12188: LIBS=$ac_check_lib_save_LIBS
                   12189: fi
                   12190: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   12191: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.12    ! noro     12192: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
1.10      ohara    12193:   cat >>confdefs.h <<_ACEOF
                   12194: #define HAVE_LIBNSL 1
                   12195: _ACEOF
                   12196:
                   12197:   LIBS="-lnsl $LIBS"
1.9       ohara    12198:
1.4       takayama 12199: fi
1.9       ohara    12200:
1.1       ohara    12201: fi
                   12202:
1.10      ohara    12203: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.12    ! noro     12204: if test "x$ac_cv_func_dlopen" = x""yes; then :
1.10      ohara    12205:
                   12206: else
                   12207:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12208: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.12    ! noro     12209: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1.10      ohara    12210:   $as_echo_n "(cached) " >&6
1.1       ohara    12211: else
1.4       takayama 12212:   ac_check_lib_save_LIBS=$LIBS
1.10      ohara    12213: LIBS="-ldl  $LIBS"
                   12214: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12215: /* end confdefs.h.  */
1.4       takayama 12216:
1.9       ohara    12217: /* Override any GCC internal prototype to avoid an error.
                   12218:    Use char because int might match the return type of a GCC
                   12219:    builtin and then its argument prototype would still apply.  */
1.4       takayama 12220: #ifdef __cplusplus
                   12221: extern "C"
                   12222: #endif
1.10      ohara    12223: char dlopen ();
1.4       takayama 12224: int
                   12225: main ()
                   12226: {
1.10      ohara    12227: return dlopen ();
1.4       takayama 12228:   ;
                   12229:   return 0;
                   12230: }
                   12231: _ACEOF
1.10      ohara    12232: if ac_fn_c_try_link "$LINENO"; then :
                   12233:   ac_cv_lib_dl_dlopen=yes
1.4       takayama 12234: else
1.10      ohara    12235:   ac_cv_lib_dl_dlopen=no
                   12236: fi
                   12237: rm -f core conftest.err conftest.$ac_objext \
                   12238:     conftest$ac_exeext conftest.$ac_ext
                   12239: LIBS=$ac_check_lib_save_LIBS
                   12240: fi
                   12241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12242: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.12    ! noro     12243: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1.10      ohara    12244:   cat >>confdefs.h <<_ACEOF
                   12245: #define HAVE_LIBDL 1
                   12246: _ACEOF
                   12247:
                   12248:   LIBS="-ldl $LIBS"
                   12249:
                   12250: fi
1.9       ohara    12251:
1.4       takayama 12252: fi
1.9       ohara    12253:
1.10      ohara    12254:
1.12    ! noro     12255: # The cast to long int works around a bug in the HP C Compiler
        !          12256: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          12257: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          12258: # This bug is HP SR number 8606223364.
        !          12259: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
        !          12260: $as_echo_n "checking size of long... " >&6; }
        !          12261: if test "${ac_cv_sizeof_long+set}" = set; then :
        !          12262:   $as_echo_n "(cached) " >&6
        !          12263: else
        !          12264:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
        !          12265:
        !          12266: else
        !          12267:   if test "$ac_cv_type_long" = yes; then
        !          12268:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          12269: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          12270: as_fn_error 77 "cannot compute sizeof (long)
        !          12271: See \`config.log' for more details" "$LINENO" 5 ; }
        !          12272:    else
        !          12273:      ac_cv_sizeof_long=0
        !          12274:    fi
        !          12275: fi
        !          12276:
        !          12277: fi
        !          12278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
        !          12279: $as_echo "$ac_cv_sizeof_long" >&6; }
        !          12280:
        !          12281:
        !          12282:
        !          12283: cat >>confdefs.h <<_ACEOF
        !          12284: #define SIZEOF_LONG $ac_cv_sizeof_long
        !          12285: _ACEOF
        !          12286:
        !          12287:
1.10      ohara    12288: ac_config_files="$ac_config_files Makefile"
                   12289:
                   12290: cat >confcache <<\_ACEOF
                   12291: # This file is a shell script that caches the results of configure
                   12292: # tests run on this system so they can be shared between configure
                   12293: # scripts and configure runs, see configure's option --config-cache.
                   12294: # It is not useful on other systems.  If it contains results you don't
                   12295: # want to keep, you may remove or edit it.
                   12296: #
                   12297: # config.status only pays attention to the cache file if you give it
                   12298: # the --recheck option to rerun configure.
                   12299: #
                   12300: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   12301: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   12302: # following values.
                   12303:
                   12304: _ACEOF
                   12305:
                   12306: # The following way of writing the cache mishandles newlines in values,
                   12307: # but we know of no workaround that is simple, portable, and efficient.
                   12308: # So, we kill variables containing newlines.
                   12309: # Ultrix sh set writes to stderr and can't be redirected directly,
                   12310: # and sets the high bit in the cache file unless we assign to the vars.
                   12311: (
                   12312:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   12313:     eval ac_val=\$$ac_var
                   12314:     case $ac_val in #(
                   12315:     *${as_nl}*)
                   12316:       case $ac_var in #(
                   12317:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   12318: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   12319:       esac
                   12320:       case $ac_var in #(
                   12321:       _ | IFS | as_nl) ;; #(
                   12322:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   12323:       *) { eval $ac_var=; unset $ac_var;} ;;
                   12324:       esac ;;
                   12325:     esac
                   12326:   done
                   12327:
                   12328:   (set) 2>&1 |
                   12329:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   12330:     *${as_nl}ac_space=\ *)
                   12331:       # `set' does not quote correctly, so add quotes: double-quote
                   12332:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   12333:       sed -n \
                   12334:        "s/'/'\\\\''/g;
                   12335:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   12336:       ;; #(
                   12337:     *)
                   12338:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   12339:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   12340:       ;;
                   12341:     esac |
                   12342:     sort
                   12343: ) |
                   12344:   sed '
                   12345:      /^ac_cv_env_/b end
                   12346:      t clear
                   12347:      :clear
                   12348:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   12349:      t end
                   12350:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   12351:      :end' >>confcache
                   12352: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   12353:   if test -w "$cache_file"; then
1.12    ! noro     12354:     test "x$cache_file" != "x/dev/null" &&
1.10      ohara    12355:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   12356: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.12    ! noro     12357:     cat confcache >$cache_file
1.10      ohara    12358:   else
                   12359:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   12360: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   12361:   fi
1.4       takayama 12362: fi
1.10      ohara    12363: rm -f confcache
                   12364:
                   12365: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   12366: # Let make expand exec_prefix.
                   12367: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   12368:
                   12369: # Transform confdefs.h into DEFS.
                   12370: # Protect against shell expansion while executing Makefile rules.
                   12371: # Protect against Makefile macro expansion.
                   12372: #
                   12373: # If the first sed substitution is executed (which looks for macros that
                   12374: # take arguments), then branch to the quote section.  Otherwise,
                   12375: # look for a macro that doesn't take arguments.
                   12376: ac_script='
                   12377: :mline
                   12378: /\\$/{
                   12379:  N
                   12380:  s,\\\n,,
                   12381:  b mline
                   12382: }
                   12383: t clear
                   12384: :clear
                   12385: s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
                   12386: t quote
                   12387: s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
                   12388: t quote
                   12389: b any
                   12390: :quote
                   12391: s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
                   12392: s/\[/\\&/g
                   12393: s/\]/\\&/g
                   12394: s/\$/$$/g
                   12395: H
                   12396: :any
                   12397: ${
                   12398:        g
                   12399:        s/^\n//
                   12400:        s/\n/ /g
                   12401:        p
                   12402: }
                   12403: '
                   12404: DEFS=`sed -n "$ac_script" confdefs.h`
                   12405:
                   12406:
                   12407: ac_libobjs=
                   12408: ac_ltlibobjs=
                   12409: U=
                   12410: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   12411:   # 1. Remove the extension, and $U if already installed.
                   12412:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   12413:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   12414:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   12415:   #    will be set to the directory where LIBOBJS objects are built.
                   12416:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   12417:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   12418: done
                   12419: LIBOBJS=$ac_libobjs
                   12420:
                   12421: LTLIBOBJS=$ac_ltlibobjs
                   12422:
                   12423:
                   12424:  if test -n "$EXEEXT"; then
                   12425:   am__EXEEXT_TRUE=
                   12426:   am__EXEEXT_FALSE='#'
                   12427: else
                   12428:   am__EXEEXT_TRUE='#'
                   12429:   am__EXEEXT_FALSE=
1.1       ohara    12430: fi
                   12431:
1.10      ohara    12432: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   12433:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
                   12434: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12435: fi
                   12436: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   12437:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   12438: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12439: fi
                   12440: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   12441:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   12442: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.4       takayama 12443: fi
1.9       ohara    12444:
1.12    ! noro     12445: : ${CONFIG_STATUS=./config.status}
1.10      ohara    12446: ac_write_fail=0
                   12447: ac_clean_files_save=$ac_clean_files
                   12448: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   12449: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   12450: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   12451: as_write_fail=0
                   12452: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   12453: #! $SHELL
                   12454: # Generated by $as_me.
                   12455: # Run this file to recreate the current configuration.
                   12456: # Compiler output produced by configure, useful for debugging
                   12457: # configure, is in config.log if it exists.
                   12458:
                   12459: debug=false
                   12460: ac_cs_recheck=false
                   12461: ac_cs_silent=false
                   12462:
                   12463: SHELL=\${CONFIG_SHELL-$SHELL}
                   12464: export SHELL
                   12465: _ASEOF
                   12466: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   12467: ## -------------------- ##
                   12468: ## M4sh Initialization. ##
                   12469: ## -------------------- ##
1.1       ohara    12470:
1.10      ohara    12471: # Be more Bourne compatible
                   12472: DUALCASE=1; export DUALCASE # for MKS sh
                   12473: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   12474:   emulate sh
                   12475:   NULLCMD=:
                   12476:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   12477:   # is contrary to our usage.  Disable this feature.
                   12478:   alias -g '${1+"$@"}'='"$@"'
                   12479:   setopt NO_GLOB_SUBST
1.1       ohara    12480: else
1.10      ohara    12481:   case `(set -o) 2>/dev/null` in #(
                   12482:   *posix*) :
                   12483:     set -o posix ;; #(
                   12484:   *) :
                   12485:      ;;
                   12486: esac
                   12487: fi
                   12488:
                   12489:
                   12490: as_nl='
                   12491: '
                   12492: export as_nl
                   12493: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   12494: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   12495: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   12496: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   12497: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   12498: # but without wasting forks for bash or zsh.
                   12499: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   12500:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   12501:   as_echo='print -r --'
                   12502:   as_echo_n='print -rn --'
                   12503: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   12504:   as_echo='printf %s\n'
                   12505:   as_echo_n='printf %s'
                   12506: else
                   12507:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   12508:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   12509:     as_echo_n='/usr/ucb/echo -n'
                   12510:   else
                   12511:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   12512:     as_echo_n_body='eval
                   12513:       arg=$1;
                   12514:       case $arg in #(
                   12515:       *"$as_nl"*)
                   12516:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   12517:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   12518:       esac;
                   12519:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   12520:     '
                   12521:     export as_echo_n_body
                   12522:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   12523:   fi
                   12524:   export as_echo_body
                   12525:   as_echo='sh -c $as_echo_body as_echo'
                   12526: fi
                   12527:
                   12528: # The user is always right.
                   12529: if test "${PATH_SEPARATOR+set}" != set; then
                   12530:   PATH_SEPARATOR=:
                   12531:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   12532:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   12533:       PATH_SEPARATOR=';'
                   12534:   }
                   12535: fi
                   12536:
                   12537:
                   12538: # IFS
                   12539: # We need space, tab and new line, in precisely that order.  Quoting is
                   12540: # there to prevent editors from complaining about space-tab.
                   12541: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   12542: # splitting by setting IFS to empty value.)
                   12543: IFS=" ""       $as_nl"
                   12544:
                   12545: # Find who we are.  Look in the path if we contain no directory separator.
                   12546: case $0 in #((
                   12547:   *[\\/]* ) as_myself=$0 ;;
                   12548:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   12549: for as_dir in $PATH
                   12550: do
                   12551:   IFS=$as_save_IFS
                   12552:   test -z "$as_dir" && as_dir=.
                   12553:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   12554:   done
                   12555: IFS=$as_save_IFS
                   12556:
                   12557:      ;;
                   12558: esac
                   12559: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   12560: # in which case we are not to be found in the path.
                   12561: if test "x$as_myself" = x; then
                   12562:   as_myself=$0
                   12563: fi
                   12564: if test ! -f "$as_myself"; then
                   12565:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   12566:   exit 1
                   12567: fi
                   12568:
                   12569: # Unset variables that we do not need and which cause bugs (e.g. in
                   12570: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   12571: # suppresses any "Segmentation fault" message there.  '((' could
                   12572: # trigger a bug in pdksh 5.2.14.
                   12573: for as_var in BASH_ENV ENV MAIL MAILPATH
                   12574: do eval test x\${$as_var+set} = xset \
                   12575:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   12576: done
                   12577: PS1='$ '
                   12578: PS2='> '
                   12579: PS4='+ '
                   12580:
                   12581: # NLS nuisances.
                   12582: LC_ALL=C
                   12583: export LC_ALL
                   12584: LANGUAGE=C
                   12585: export LANGUAGE
1.9       ohara    12586:
1.10      ohara    12587: # CDPATH.
                   12588: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.9       ohara    12589:
                   12590:
1.10      ohara    12591: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   12592: # ----------------------------------------
                   12593: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   12594: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   12595: # script with STATUS, using 1 if that was 0.
                   12596: as_fn_error ()
                   12597: {
                   12598:   as_status=$1; test $as_status -eq 0 && as_status=1
                   12599:   if test "$4"; then
                   12600:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   12601:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   12602:   fi
                   12603:   $as_echo "$as_me: error: $2" >&2
                   12604:   as_fn_exit $as_status
                   12605: } # as_fn_error
                   12606:
                   12607:
                   12608: # as_fn_set_status STATUS
                   12609: # -----------------------
                   12610: # Set $? to STATUS, without forking.
                   12611: as_fn_set_status ()
                   12612: {
                   12613:   return $1
                   12614: } # as_fn_set_status
                   12615:
                   12616: # as_fn_exit STATUS
                   12617: # -----------------
                   12618: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   12619: as_fn_exit ()
                   12620: {
                   12621:   set +e
                   12622:   as_fn_set_status $1
                   12623:   exit $1
                   12624: } # as_fn_exit
                   12625:
                   12626: # as_fn_unset VAR
                   12627: # ---------------
                   12628: # Portably unset VAR.
                   12629: as_fn_unset ()
                   12630: {
                   12631:   { eval $1=; unset $1;}
                   12632: }
                   12633: as_unset=as_fn_unset
                   12634: # as_fn_append VAR VALUE
                   12635: # ----------------------
                   12636: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   12637: # advantage of any shell optimizations that allow amortized linear growth over
                   12638: # repeated appends, instead of the typical quadratic growth present in naive
                   12639: # implementations.
                   12640: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   12641:   eval 'as_fn_append ()
                   12642:   {
                   12643:     eval $1+=\$2
                   12644:   }'
                   12645: else
                   12646:   as_fn_append ()
                   12647:   {
                   12648:     eval $1=\$$1\$2
                   12649:   }
                   12650: fi # as_fn_append
                   12651:
                   12652: # as_fn_arith ARG...
                   12653: # ------------------
                   12654: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   12655: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   12656: # must be portable across $(()) and expr.
                   12657: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   12658:   eval 'as_fn_arith ()
                   12659:   {
                   12660:     as_val=$(( $* ))
                   12661:   }'
                   12662: else
                   12663:   as_fn_arith ()
                   12664:   {
                   12665:     as_val=`expr "$@" || test $? -eq 1`
                   12666:   }
                   12667: fi # as_fn_arith
1.9       ohara    12668:
1.1       ohara    12669:
1.10      ohara    12670: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   12671:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   12672:   as_expr=expr
1.4       takayama 12673: else
1.10      ohara    12674:   as_expr=false
                   12675: fi
1.9       ohara    12676:
1.10      ohara    12677: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   12678:   as_basename=basename
                   12679: else
                   12680:   as_basename=false
1.1       ohara    12681: fi
1.9       ohara    12682:
1.10      ohara    12683: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   12684:   as_dirname=dirname
                   12685: else
                   12686:   as_dirname=false
1.1       ohara    12687: fi
                   12688:
1.10      ohara    12689: as_me=`$as_basename -- "$0" ||
                   12690: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   12691:         X"$0" : 'X\(//\)$' \| \
                   12692:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   12693: $as_echo X/"$0" |
                   12694:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   12695:            s//\1/
                   12696:            q
                   12697:          }
                   12698:          /^X\/\(\/\/\)$/{
                   12699:            s//\1/
                   12700:            q
                   12701:          }
                   12702:          /^X\/\(\/\).*/{
                   12703:            s//\1/
                   12704:            q
                   12705:          }
                   12706:          s/.*/./; q'`
                   12707:
                   12708: # Avoid depending upon Character Ranges.
                   12709: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   12710: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   12711: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   12712: as_cr_digits='0123456789'
                   12713: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.4       takayama 12714:
1.10      ohara    12715: ECHO_C= ECHO_N= ECHO_T=
                   12716: case `echo -n x` in #(((((
                   12717: -n*)
                   12718:   case `echo 'xy\c'` in
                   12719:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   12720:   xy)  ECHO_C='\c';;
                   12721:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   12722:        ECHO_T='        ';;
                   12723:   esac;;
                   12724: *)
                   12725:   ECHO_N='-n';;
1.9       ohara    12726: esac
1.10      ohara    12727:
                   12728: rm -f conf$$ conf$$.exe conf$$.file
                   12729: if test -d conf$$.dir; then
                   12730:   rm -f conf$$.dir/conf$$.file
1.4       takayama 12731: else
1.10      ohara    12732:   rm -f conf$$.dir
                   12733:   mkdir conf$$.dir 2>/dev/null
1.4       takayama 12734: fi
1.10      ohara    12735: if (echo >conf$$.file) 2>/dev/null; then
                   12736:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   12737:     as_ln_s='ln -s'
                   12738:     # ... but there are two gotchas:
                   12739:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   12740:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   12741:     # In both cases, we have to default to `cp -p'.
                   12742:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   12743:       as_ln_s='cp -p'
                   12744:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   12745:     as_ln_s=ln
                   12746:   else
                   12747:     as_ln_s='cp -p'
                   12748:   fi
                   12749: else
                   12750:   as_ln_s='cp -p'
1.4       takayama 12751: fi
1.10      ohara    12752: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   12753: rmdir conf$$.dir 2>/dev/null
1.1       ohara    12754:
                   12755:
1.10      ohara    12756: # as_fn_mkdir_p
                   12757: # -------------
                   12758: # Create "$as_dir" as a directory, including parents if necessary.
                   12759: as_fn_mkdir_p ()
1.4       takayama 12760: {
1.10      ohara    12761:
                   12762:   case $as_dir in #(
                   12763:   -*) as_dir=./$as_dir;;
                   12764:   esac
                   12765:   test -d "$as_dir" || eval $as_mkdir_p || {
                   12766:     as_dirs=
                   12767:     while :; do
                   12768:       case $as_dir in #(
                   12769:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   12770:       *) as_qdir=$as_dir;;
                   12771:       esac
                   12772:       as_dirs="'$as_qdir' $as_dirs"
                   12773:       as_dir=`$as_dirname -- "$as_dir" ||
                   12774: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   12775:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   12776:         X"$as_dir" : 'X\(//\)$' \| \
                   12777:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   12778: $as_echo X"$as_dir" |
                   12779:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   12780:            s//\1/
                   12781:            q
                   12782:          }
                   12783:          /^X\(\/\/\)[^/].*/{
                   12784:            s//\1/
                   12785:            q
                   12786:          }
                   12787:          /^X\(\/\/\)$/{
                   12788:            s//\1/
                   12789:            q
                   12790:          }
                   12791:          /^X\(\/\).*/{
                   12792:            s//\1/
                   12793:            q
                   12794:          }
                   12795:          s/.*/./; q'`
                   12796:       test -d "$as_dir" && break
                   12797:     done
                   12798:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   12799:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   12800:
                   12801:
                   12802: } # as_fn_mkdir_p
                   12803: if mkdir -p . 2>/dev/null; then
                   12804:   as_mkdir_p='mkdir -p "$as_dir"'
1.4       takayama 12805: else
1.10      ohara    12806:   test -d ./-p && rmdir ./-p
                   12807:   as_mkdir_p=false
                   12808: fi
1.9       ohara    12809:
1.10      ohara    12810: if test -x / >/dev/null 2>&1; then
                   12811:   as_test_x='test -x'
                   12812: else
                   12813:   if ls -dL / >/dev/null 2>&1; then
                   12814:     as_ls_L_option=L
                   12815:   else
                   12816:     as_ls_L_option=
                   12817:   fi
                   12818:   as_test_x='
                   12819:     eval sh -c '\''
                   12820:       if test -d "$1"; then
                   12821:        test -d "$1/.";
                   12822:       else
                   12823:        case $1 in #(
                   12824:        -*)set "./$1";;
                   12825:        esac;
                   12826:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   12827:        ???[sx]*):;;*)false;;esac;fi
                   12828:     '\'' sh
                   12829:   '
1.4       takayama 12830: fi
1.10      ohara    12831: as_executable_p=$as_test_x
                   12832:
                   12833: # Sed expression to map a string onto a valid CPP name.
                   12834: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   12835:
                   12836: # Sed expression to map a string onto a valid variable name.
                   12837: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   12838:
                   12839:
                   12840: exec 6>&1
                   12841: ## ----------------------------------- ##
                   12842: ## Main body of $CONFIG_STATUS script. ##
                   12843: ## ----------------------------------- ##
                   12844: _ASEOF
                   12845: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.9       ohara    12846:
1.10      ohara    12847: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12848: # Save the log message, to keep $0 and so on meaningful, and to
                   12849: # report actual input values of CONFIG_FILES etc. instead of their
                   12850: # values after options handling.
                   12851: ac_log="
                   12852: This file was extended by $as_me, which was
1.12    ! noro     12853: generated by GNU Autoconf 2.67.  Invocation command line was
1.10      ohara    12854:
                   12855:   CONFIG_FILES    = $CONFIG_FILES
                   12856:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   12857:   CONFIG_LINKS    = $CONFIG_LINKS
                   12858:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   12859:   $ $0 $@
1.1       ohara    12860:
1.10      ohara    12861: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   12862: "
1.1       ohara    12863:
1.9       ohara    12864: _ACEOF
                   12865:
1.10      ohara    12866: case $ac_config_files in *"
                   12867: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   12868: esac
1.9       ohara    12869:
                   12870:
                   12871:
1.10      ohara    12872: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12873: # Files that config.status was made for.
                   12874: config_files="$ac_config_files"
                   12875: config_commands="$ac_config_commands"
1.1       ohara    12876:
1.4       takayama 12877: _ACEOF
1.9       ohara    12878:
1.10      ohara    12879: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12880: ac_cs_usage="\
                   12881: \`$as_me' instantiates files and other configuration actions
                   12882: from templates according to the current configuration.  Unless the files
                   12883: and actions are specified as TAGs, all are instantiated by default.
                   12884:
                   12885: Usage: $0 [OPTION]... [TAG]...
1.9       ohara    12886:
1.10      ohara    12887:   -h, --help       print this help, then exit
                   12888:   -V, --version    print version number and configuration settings, then exit
                   12889:       --config     print configuration, then exit
                   12890:   -q, --quiet, --silent
                   12891:                    do not print progress messages
                   12892:   -d, --debug      don't remove temporary files
                   12893:       --recheck    update $as_me by reconfiguring in the same conditions
                   12894:       --file=FILE[:TEMPLATE]
                   12895:                    instantiate the configuration file FILE
1.1       ohara    12896:
1.10      ohara    12897: Configuration files:
                   12898: $config_files
1.4       takayama 12899:
1.10      ohara    12900: Configuration commands:
                   12901: $config_commands
1.9       ohara    12902:
1.10      ohara    12903: Report bugs to the package provider."
1.9       ohara    12904:
1.10      ohara    12905: _ACEOF
                   12906: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12907: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   12908: ac_cs_version="\\
                   12909: config.status
1.12    ! noro     12910: configured by $0, generated by GNU Autoconf 2.67,
1.10      ohara    12911:   with options \\"\$ac_cs_config\\"
1.1       ohara    12912:
1.10      ohara    12913: Copyright (C) 2010 Free Software Foundation, Inc.
                   12914: This config.status script is free software; the Free Software Foundation
                   12915: gives unlimited permission to copy, distribute and modify it."
1.1       ohara    12916:
1.10      ohara    12917: ac_pwd='$ac_pwd'
                   12918: srcdir='$srcdir'
                   12919: INSTALL='$INSTALL'
                   12920: MKDIR_P='$MKDIR_P'
                   12921: AWK='$AWK'
                   12922: test -n "\$AWK" || AWK=awk
1.9       ohara    12923: _ACEOF
                   12924:
1.10      ohara    12925: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12926: # The default lists apply if the user does not specify any file.
                   12927: ac_need_defaults=:
                   12928: while test $# != 0
                   12929: do
                   12930:   case $1 in
                   12931:   --*=?*)
                   12932:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   12933:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   12934:     ac_shift=:
                   12935:     ;;
                   12936:   --*=)
                   12937:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   12938:     ac_optarg=
                   12939:     ac_shift=:
                   12940:     ;;
                   12941:   *)
                   12942:     ac_option=$1
                   12943:     ac_optarg=$2
                   12944:     ac_shift=shift
                   12945:     ;;
                   12946:   esac
                   12947:
                   12948:   case $ac_option in
                   12949:   # Handling of the options.
                   12950:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   12951:     ac_cs_recheck=: ;;
                   12952:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   12953:     $as_echo "$ac_cs_version"; exit ;;
                   12954:   --config | --confi | --conf | --con | --co | --c )
                   12955:     $as_echo "$ac_cs_config"; exit ;;
                   12956:   --debug | --debu | --deb | --de | --d | -d )
                   12957:     debug=: ;;
                   12958:   --file | --fil | --fi | --f )
                   12959:     $ac_shift
                   12960:     case $ac_optarg in
                   12961:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   12962:     '') as_fn_error $? "missing file argument" ;;
                   12963:     esac
                   12964:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   12965:     ac_need_defaults=false;;
                   12966:   --he | --h |  --help | --hel | -h )
                   12967:     $as_echo "$ac_cs_usage"; exit ;;
                   12968:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   12969:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   12970:     ac_cs_silent=: ;;
1.9       ohara    12971:
1.10      ohara    12972:   # This is an error.
                   12973:   -*) as_fn_error $? "unrecognized option: \`$1'
                   12974: Try \`$0 --help' for more information." ;;
1.9       ohara    12975:
1.10      ohara    12976:   *) as_fn_append ac_config_targets " $1"
                   12977:      ac_need_defaults=false ;;
1.9       ohara    12978:
1.10      ohara    12979:   esac
                   12980:   shift
                   12981: done
1.1       ohara    12982:
1.10      ohara    12983: ac_configure_extra_args=
1.9       ohara    12984:
1.10      ohara    12985: if $ac_cs_silent; then
                   12986:   exec 6>/dev/null
                   12987:   ac_configure_extra_args="$ac_configure_extra_args --silent"
1.1       ohara    12988: fi
1.9       ohara    12989:
1.10      ohara    12990: _ACEOF
                   12991: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12992: if \$ac_cs_recheck; then
                   12993:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   12994:   shift
                   12995:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   12996:   CONFIG_SHELL='$SHELL'
                   12997:   export CONFIG_SHELL
                   12998:   exec "\$@"
1.1       ohara    12999: fi
                   13000:
1.9       ohara    13001: _ACEOF
1.10      ohara    13002: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13003: exec 5>>config.log
                   13004: {
                   13005:   echo
                   13006:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   13007: ## Running $as_me. ##
                   13008: _ASBOX
                   13009:   $as_echo "$ac_log"
                   13010: } >&5
1.4       takayama 13011:
                   13012: _ACEOF
1.10      ohara    13013: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13014: #
                   13015: # INIT-COMMANDS
                   13016: #
                   13017: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   13018:
                   13019:
                   13020: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   13021: # if CDPATH is set.
                   13022: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   13023:
                   13024: sed_quote_subst='$sed_quote_subst'
                   13025: double_quote_subst='$double_quote_subst'
                   13026: delay_variable_subst='$delay_variable_subst'
                   13027: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   13028: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   13029: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   13030: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   13031: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   13032: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   13033: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   13034: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   13035: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   13036: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   13037: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   13038: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   13039: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   13040: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   13041: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   13042: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   13043: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   13044: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   13045: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   13046: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   13047: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   13048: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   13049: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   13050: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   13051: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   13052: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   13053: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   13054: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   13055: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   13056: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13057: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13058: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   13059: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   13060: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   13061: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   13062: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   13063: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   13064: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   13065: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   13066: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   13067: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   13068: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   13069: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   13070: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   13071: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   13072: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13073: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13074: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13075: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   13076: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   13077: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   13078: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   13079: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   13080: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   13081: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   13082: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   13083: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   13084: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13085: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   13086: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   13087: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   13088: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   13089: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   13090: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   13091: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   13092: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   13093: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   13094: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   13095: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   13096: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   13097: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   13098: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   13099: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   13100: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   13101: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   13102: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13103: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   13104: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   13105: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13106: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13107: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   13108: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   13109: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13110: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13111: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13112: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   13113: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13114: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   13115: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13116: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13117: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13118: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   13119: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   13120: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   13121: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   13122: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13123: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   13124: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   13125: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   13126: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   13127: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   13128: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   13129: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   13130: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   13131: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   13132: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13133: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   13134: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   13135: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   13136: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   13137: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   13138: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13139: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   13140: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   13141: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   13142: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   13143: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   13144: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13145: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13146: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   13147: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   13148: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   13149: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   13150: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   13151: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   13152: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   13153: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   13154: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   13155: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   13156: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   13157:
                   13158: LTCC='$LTCC'
                   13159: LTCFLAGS='$LTCFLAGS'
                   13160: compiler='$compiler_DEFAULT'
                   13161:
                   13162: # A function that is used when there is no print builtin or printf.
                   13163: func_fallback_echo ()
                   13164: {
                   13165:   eval 'cat <<_LTECHO_EOF
                   13166: \$1
                   13167: _LTECHO_EOF'
                   13168: }
                   13169:
                   13170: # Quote evaled strings.
                   13171: for var in SHELL \
                   13172: ECHO \
                   13173: PATH_SEPARATOR \
                   13174: SED \
                   13175: GREP \
                   13176: EGREP \
                   13177: FGREP \
                   13178: LD \
                   13179: NM \
                   13180: LN_S \
                   13181: lt_SP2NL \
                   13182: lt_NL2SP \
                   13183: reload_flag \
                   13184: OBJDUMP \
                   13185: deplibs_check_method \
                   13186: file_magic_cmd \
                   13187: file_magic_glob \
                   13188: want_nocaseglob \
                   13189: DLLTOOL \
                   13190: sharedlib_from_linklib_cmd \
                   13191: AR \
                   13192: AR_FLAGS \
                   13193: archiver_list_spec \
                   13194: STRIP \
                   13195: RANLIB \
                   13196: CC \
                   13197: CFLAGS \
                   13198: compiler \
                   13199: lt_cv_sys_global_symbol_pipe \
                   13200: lt_cv_sys_global_symbol_to_cdecl \
                   13201: lt_cv_sys_global_symbol_to_c_name_address \
                   13202: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   13203: nm_file_list_spec \
                   13204: lt_prog_compiler_no_builtin_flag \
                   13205: lt_prog_compiler_pic \
                   13206: lt_prog_compiler_wl \
                   13207: lt_prog_compiler_static \
                   13208: lt_cv_prog_compiler_c_o \
                   13209: need_locks \
                   13210: MANIFEST_TOOL \
                   13211: DSYMUTIL \
                   13212: NMEDIT \
                   13213: LIPO \
                   13214: OTOOL \
                   13215: OTOOL64 \
                   13216: shrext_cmds \
                   13217: export_dynamic_flag_spec \
                   13218: whole_archive_flag_spec \
                   13219: compiler_needs_object \
                   13220: with_gnu_ld \
                   13221: allow_undefined_flag \
                   13222: no_undefined_flag \
                   13223: hardcode_libdir_flag_spec \
                   13224: hardcode_libdir_separator \
                   13225: exclude_expsyms \
                   13226: include_expsyms \
                   13227: file_list_spec \
                   13228: variables_saved_for_relink \
                   13229: libname_spec \
                   13230: library_names_spec \
                   13231: soname_spec \
                   13232: install_override_mode \
                   13233: finish_eval \
                   13234: old_striplib \
                   13235: striplib; do
                   13236:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13237:     *[\\\\\\\`\\"\\\$]*)
                   13238:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   13239:       ;;
                   13240:     *)
                   13241:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13242:       ;;
                   13243:     esac
                   13244: done
                   13245:
                   13246: # Double-quote double-evaled strings.
                   13247: for var in reload_cmds \
                   13248: old_postinstall_cmds \
                   13249: old_postuninstall_cmds \
                   13250: old_archive_cmds \
                   13251: extract_expsyms_cmds \
                   13252: old_archive_from_new_cmds \
                   13253: old_archive_from_expsyms_cmds \
                   13254: archive_cmds \
                   13255: archive_expsym_cmds \
                   13256: module_cmds \
                   13257: module_expsym_cmds \
                   13258: export_symbols_cmds \
                   13259: prelink_cmds \
                   13260: postlink_cmds \
                   13261: postinstall_cmds \
                   13262: postuninstall_cmds \
                   13263: finish_cmds \
                   13264: sys_lib_search_path_spec \
                   13265: sys_lib_dlsearch_path_spec; do
                   13266:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13267:     *[\\\\\\\`\\"\\\$]*)
                   13268:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   13269:       ;;
                   13270:     *)
                   13271:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13272:       ;;
                   13273:     esac
                   13274: done
                   13275:
                   13276: ac_aux_dir='$ac_aux_dir'
                   13277: xsi_shell='$xsi_shell'
                   13278: lt_shell_append='$lt_shell_append'
1.9       ohara    13279:
1.10      ohara    13280: # See if we are running on zsh, and set the options which allow our
                   13281: # commands through without removal of \ escapes INIT.
                   13282: if test -n "\${ZSH_VERSION+set}" ; then
                   13283:    setopt NO_GLOB_SUBST
1.4       takayama 13284: fi
1.9       ohara    13285:
1.1       ohara    13286:
1.10      ohara    13287:     PACKAGE='$PACKAGE'
                   13288:     VERSION='$VERSION'
                   13289:     TIMESTAMP='$TIMESTAMP'
                   13290:     RM='$RM'
                   13291:     ofile='$ofile'
                   13292:
                   13293:
                   13294:
1.1       ohara    13295:
1.9       ohara    13296: _ACEOF
                   13297:
1.10      ohara    13298: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13299:
                   13300: # Handling of arguments.
                   13301: for ac_config_target in $ac_config_targets
                   13302: do
                   13303:   case $ac_config_target in
                   13304:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   13305:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   13306:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.9       ohara    13307:
1.12    ! noro     13308:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
1.10      ohara    13309:   esac
                   13310: done
1.9       ohara    13311:
                   13312:
1.10      ohara    13313: # If the user did not use the arguments to specify the items to instantiate,
                   13314: # then the envvar interface is used.  Set only those that are not.
                   13315: # We use the long form for the default assignment because of an extremely
                   13316: # bizarre bug on SunOS 4.1.3.
                   13317: if $ac_need_defaults; then
                   13318:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   13319:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   13320: fi
1.1       ohara    13321:
1.10      ohara    13322: # Have a temporary directory for convenience.  Make it in the build tree
                   13323: # simply because there is no reason against having it here, and in addition,
                   13324: # creating and moving files from /tmp can sometimes cause problems.
                   13325: # Hook for its removal unless debugging.
                   13326: # Note that there is a small window in which the directory will not be cleaned:
                   13327: # after its creation but before its name has been assigned to `$tmp'.
                   13328: $debug ||
1.9       ohara    13329: {
1.12    ! noro     13330:   tmp=
1.10      ohara    13331:   trap 'exit_status=$?
1.12    ! noro     13332:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1.10      ohara    13333: ' 0
                   13334:   trap 'as_fn_exit 1' 1 2 13 15
1.4       takayama 13335: }
1.10      ohara    13336: # Create a (secure) tmp directory for tmp files.
                   13337:
                   13338: {
                   13339:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.12    ! noro     13340:   test -n "$tmp" && test -d "$tmp"
1.10      ohara    13341: }  ||
                   13342: {
                   13343:   tmp=./conf$$-$RANDOM
                   13344:   (umask 077 && mkdir "$tmp")
                   13345: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   13346:
                   13347: # Set up the scripts for CONFIG_FILES section.
                   13348: # No need to generate them if there are no CONFIG_FILES.
                   13349: # This happens for instance with `./config.status config.h'.
                   13350: if test -n "$CONFIG_FILES"; then
1.9       ohara    13351:
                   13352:
1.10      ohara    13353: ac_cr=`echo X | tr X '\015'`
                   13354: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   13355: # But we know of no other shell where ac_cr would be empty at this
                   13356: # point, so we can use a bashism as a fallback.
                   13357: if test "x$ac_cr" = x; then
                   13358:   eval ac_cr=\$\'\\r\'
1.1       ohara    13359: fi
1.10      ohara    13360: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   13361: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   13362:   ac_cs_awk_cr='\\r'
1.1       ohara    13363: else
1.10      ohara    13364:   ac_cs_awk_cr=$ac_cr
                   13365: fi
1.4       takayama 13366:
1.12    ! noro     13367: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.4       takayama 13368: _ACEOF
1.9       ohara    13369:
                   13370:
1.10      ohara    13371: {
                   13372:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   13373:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   13374:   echo "_ACEOF"
                   13375: } >conf$$subs.sh ||
                   13376:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   13377: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   13378: ac_delim='%!_!# '
                   13379: for ac_last_try in false false false false false :; do
                   13380:   . ./conf$$subs.sh ||
                   13381:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       ohara    13382:
1.10      ohara    13383:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   13384:   if test $ac_delim_n = $ac_delim_num; then
                   13385:     break
                   13386:   elif $ac_last_try; then
                   13387:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   13388:   else
                   13389:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       ohara    13390:   fi
1.10      ohara    13391: done
                   13392: rm -f conf$$subs.sh
1.1       ohara    13393:
1.10      ohara    13394: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.12    ! noro     13395: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
1.9       ohara    13396: _ACEOF
1.10      ohara    13397: sed -n '
                   13398: h
                   13399: s/^/S["/; s/!.*/"]=/
                   13400: p
                   13401: g
                   13402: s/^[^!]*!//
                   13403: :repl
                   13404: t repl
                   13405: s/'"$ac_delim"'$//
                   13406: t delim
                   13407: :nl
                   13408: h
                   13409: s/\(.\{148\}\)..*/\1/
                   13410: t more1
                   13411: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   13412: p
                   13413: n
                   13414: b repl
                   13415: :more1
                   13416: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   13417: p
                   13418: g
                   13419: s/.\{148\}//
                   13420: t nl
                   13421: :delim
                   13422: h
                   13423: s/\(.\{148\}\)..*/\1/
                   13424: t more2
                   13425: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   13426: p
                   13427: b
                   13428: :more2
                   13429: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   13430: p
                   13431: g
                   13432: s/.\{148\}//
                   13433: t delim
                   13434: ' <conf$$subs.awk | sed '
                   13435: /^[^""]/{
                   13436:   N
                   13437:   s/\n//
                   13438: }
                   13439: ' >>$CONFIG_STATUS || ac_write_fail=1
                   13440: rm -f conf$$subs.awk
                   13441: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13442: _ACAWK
1.12    ! noro     13443: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
1.10      ohara    13444:   for (key in S) S_is_set[key] = 1
                   13445:   FS = ""
                   13446:
                   13447: }
                   13448: {
                   13449:   line = $ 0
                   13450:   nfields = split(line, field, "@")
                   13451:   substed = 0
                   13452:   len = length(field[1])
                   13453:   for (i = 2; i < nfields; i++) {
                   13454:     key = field[i]
                   13455:     keylen = length(key)
                   13456:     if (S_is_set[key]) {
                   13457:       value = S[key]
                   13458:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   13459:       len += length(value) + length(field[++i])
                   13460:       substed = 1
                   13461:     } else
                   13462:       len += 1 + keylen
                   13463:   }
                   13464:
                   13465:   print line
                   13466: }
                   13467:
                   13468: _ACAWK
                   13469: _ACEOF
                   13470: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13471: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   13472:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   13473: else
                   13474:   cat
1.12    ! noro     13475: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
1.10      ohara    13476:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.4       takayama 13477: _ACEOF
1.9       ohara    13478:
1.10      ohara    13479: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   13480: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   13481: # trailing colons and then remove the whole line if VPATH becomes empty
                   13482: # (actually we leave an empty line to preserve line numbers).
                   13483: if test "x$srcdir" = x.; then
                   13484:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   13485: h
                   13486: s///
                   13487: s/^/:/
                   13488: s/[     ]*$/:/
                   13489: s/:\$(srcdir):/:/g
                   13490: s/:\${srcdir}:/:/g
                   13491: s/:@srcdir@:/:/g
                   13492: s/^:*//
                   13493: s/:*$//
                   13494: x
                   13495: s/\(=[  ]*\).*/\1/
                   13496: G
                   13497: s/\n//
                   13498: s/^[^=]*=[      ]*$//
                   13499: }'
1.4       takayama 13500: fi
1.9       ohara    13501:
1.10      ohara    13502: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13503: fi # test -n "$CONFIG_FILES"
1.1       ohara    13504:
                   13505:
1.10      ohara    13506: eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
                   13507: shift
                   13508: for ac_tag
                   13509: do
                   13510:   case $ac_tag in
                   13511:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   13512:   esac
                   13513:   case $ac_mode$ac_tag in
                   13514:   :[FHL]*:*);;
1.12    ! noro     13515:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
1.10      ohara    13516:   :[FH]-) ac_tag=-:-;;
                   13517:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   13518:   esac
                   13519:   ac_save_IFS=$IFS
                   13520:   IFS=:
                   13521:   set x $ac_tag
                   13522:   IFS=$ac_save_IFS
                   13523:   shift
                   13524:   ac_file=$1
                   13525:   shift
1.1       ohara    13526:
1.10      ohara    13527:   case $ac_mode in
                   13528:   :L) ac_source=$1;;
                   13529:   :[FH])
                   13530:     ac_file_inputs=
                   13531:     for ac_f
                   13532:     do
                   13533:       case $ac_f in
1.12    ! noro     13534:       -) ac_f="$tmp/stdin";;
1.10      ohara    13535:       *) # Look for the file first in the build tree, then in the source tree
                   13536:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   13537:         # because $ac_f cannot contain `:'.
                   13538:         test -f "$ac_f" ||
                   13539:           case $ac_f in
                   13540:           [\\/$]*) false;;
                   13541:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   13542:           esac ||
1.12    ! noro     13543:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
1.10      ohara    13544:       esac
                   13545:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   13546:       as_fn_append ac_file_inputs " '$ac_f'"
                   13547:     done
1.1       ohara    13548:
1.10      ohara    13549:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   13550:     # use $as_me), people would be surprised to read:
                   13551:     #    /* config.h.  Generated by config.status.  */
                   13552:     configure_input='Generated from '`
                   13553:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   13554:        `' by configure.'
                   13555:     if test x"$ac_file" != x-; then
                   13556:       configure_input="$ac_file.  $configure_input"
                   13557:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   13558: $as_echo "$as_me: creating $ac_file" >&6;}
                   13559:     fi
                   13560:     # Neutralize special characters interpreted by sed in replacement strings.
                   13561:     case $configure_input in #(
                   13562:     *\&* | *\|* | *\\* )
                   13563:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   13564:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   13565:     *) ac_sed_conf_input=$configure_input;;
                   13566:     esac
1.5       ohara    13567:
1.10      ohara    13568:     case $ac_tag in
1.12    ! noro     13569:     *:-:* | *:-) cat >"$tmp/stdin" \
        !          13570:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
1.10      ohara    13571:     esac
1.5       ohara    13572:     ;;
1.10      ohara    13573:   esac
1.5       ohara    13574:
1.10      ohara    13575:   ac_dir=`$as_dirname -- "$ac_file" ||
                   13576: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   13577:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   13578:         X"$ac_file" : 'X\(//\)$' \| \
                   13579:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   13580: $as_echo X"$ac_file" |
                   13581:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   13582:            s//\1/
                   13583:            q
                   13584:          }
                   13585:          /^X\(\/\/\)[^/].*/{
                   13586:            s//\1/
                   13587:            q
                   13588:          }
                   13589:          /^X\(\/\/\)$/{
                   13590:            s//\1/
                   13591:            q
                   13592:          }
                   13593:          /^X\(\/\).*/{
                   13594:            s//\1/
                   13595:            q
                   13596:          }
                   13597:          s/.*/./; q'`
                   13598:   as_dir="$ac_dir"; as_fn_mkdir_p
                   13599:   ac_builddir=.
1.9       ohara    13600:
1.10      ohara    13601: case "$ac_dir" in
                   13602: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   13603: *)
                   13604:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   13605:   # A ".." for each directory in $ac_dir_suffix.
                   13606:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   13607:   case $ac_top_builddir_sub in
                   13608:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   13609:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   13610:   esac ;;
                   13611: esac
                   13612: ac_abs_top_builddir=$ac_pwd
                   13613: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   13614: # for backward compatibility:
                   13615: ac_top_builddir=$ac_top_build_prefix
1.9       ohara    13616:
1.10      ohara    13617: case $srcdir in
                   13618:   .)  # We are building in place.
                   13619:     ac_srcdir=.
                   13620:     ac_top_srcdir=$ac_top_builddir_sub
                   13621:     ac_abs_top_srcdir=$ac_pwd ;;
                   13622:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   13623:     ac_srcdir=$srcdir$ac_dir_suffix;
                   13624:     ac_top_srcdir=$srcdir
                   13625:     ac_abs_top_srcdir=$srcdir ;;
                   13626:   *) # Relative name.
                   13627:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   13628:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   13629:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.9       ohara    13630: esac
1.10      ohara    13631: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.9       ohara    13632:
                   13633:
1.10      ohara    13634:   case $ac_mode in
                   13635:   :F)
                   13636:   #
                   13637:   # CONFIG_FILE
                   13638:   #
1.1       ohara    13639:
1.10      ohara    13640:   case $INSTALL in
                   13641:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   13642:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   13643:   esac
                   13644:   ac_MKDIR_P=$MKDIR_P
                   13645:   case $MKDIR_P in
                   13646:   [\\/$]* | ?:[\\/]* ) ;;
                   13647:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   13648:   esac
1.9       ohara    13649: _ACEOF
1.4       takayama 13650:
1.10      ohara    13651: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13652: # If the template does not know about datarootdir, expand it.
                   13653: # FIXME: This hack should be removed a few years after 2.60.
                   13654: ac_datarootdir_hack=; ac_datarootdir_seen=
                   13655: ac_sed_dataroot='
                   13656: /datarootdir/ {
                   13657:   p
                   13658:   q
1.4       takayama 13659: }
1.10      ohara    13660: /@datadir@/p
                   13661: /@docdir@/p
                   13662: /@infodir@/p
                   13663: /@localedir@/p
                   13664: /@mandir@/p'
                   13665: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   13666: *datarootdir*) ac_datarootdir_seen=yes;;
                   13667: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   13668:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   13669: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.4       takayama 13670: _ACEOF
1.10      ohara    13671: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13672:   ac_datarootdir_hack='
                   13673:   s&@datadir@&$datadir&g
                   13674:   s&@docdir@&$docdir&g
                   13675:   s&@infodir@&$infodir&g
                   13676:   s&@localedir@&$localedir&g
                   13677:   s&@mandir@&$mandir&g
                   13678:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.9       ohara    13679: esac
1.4       takayama 13680: _ACEOF
1.1       ohara    13681:
1.10      ohara    13682: # Neutralize VPATH when `$srcdir' = `.'.
                   13683: # Shell code in configure.ac might set extrasub.
                   13684: # FIXME: do we really want to maintain this feature?
                   13685: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13686: ac_sed_extra="$ac_vpsub
                   13687: $extrasub
1.9       ohara    13688: _ACEOF
1.10      ohara    13689: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13690: :t
                   13691: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   13692: s|@configure_input@|$ac_sed_conf_input|;t t
                   13693: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   13694: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   13695: s&@srcdir@&$ac_srcdir&;t t
                   13696: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   13697: s&@top_srcdir@&$ac_top_srcdir&;t t
                   13698: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   13699: s&@builddir@&$ac_builddir&;t t
                   13700: s&@abs_builddir@&$ac_abs_builddir&;t t
                   13701: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   13702: s&@INSTALL@&$ac_INSTALL&;t t
                   13703: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   13704: $ac_datarootdir_hack
                   13705: "
1.12    ! noro     13706: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
        !          13707:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.9       ohara    13708:
1.10      ohara    13709: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.12    ! noro     13710:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
        !          13711:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1.10      ohara    13712:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   13713: which seems to be undefined.  Please make sure it is defined" >&5
                   13714: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   13715: which seems to be undefined.  Please make sure it is defined" >&2;}
1.9       ohara    13716:
1.12    ! noro     13717:   rm -f "$tmp/stdin"
1.10      ohara    13718:   case $ac_file in
1.12    ! noro     13719:   -) cat "$tmp/out" && rm -f "$tmp/out";;
        !          13720:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1.10      ohara    13721:   esac \
                   13722:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   13723:  ;;
1.9       ohara    13724:
                   13725:
1.10      ohara    13726:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   13727: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   13728:  ;;
                   13729:   esac
1.9       ohara    13730:
                   13731:
1.10      ohara    13732:   case $ac_file$ac_mode in
                   13733:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   13734:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   13735:   # are listed without --file.  Let's play safe and only enable the eval
                   13736:   # if we detect the quoting.
                   13737:   case $CONFIG_FILES in
                   13738:   *\'*) eval set x "$CONFIG_FILES" ;;
                   13739:   *)   set x $CONFIG_FILES ;;
                   13740:   esac
                   13741:   shift
                   13742:   for mf
                   13743:   do
                   13744:     # Strip MF so we end up with the name of the file.
                   13745:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   13746:     # Check whether this is an Automake generated Makefile or not.
                   13747:     # We used to match only the files named `Makefile.in', but
                   13748:     # some people rename them; so instead we look at the file content.
                   13749:     # Grep'ing the first line is not enough: some people post-process
                   13750:     # each Makefile.in and add a new line on top of each file to say so.
                   13751:     # Grep'ing the whole file is not good either: AIX grep has a line
                   13752:     # limit of 2048, but all sed's we know have understand at least 4000.
                   13753:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   13754:       dirpart=`$as_dirname -- "$mf" ||
                   13755: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   13756:         X"$mf" : 'X\(//\)[^/]' \| \
                   13757:         X"$mf" : 'X\(//\)$' \| \
                   13758:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   13759: $as_echo X"$mf" |
                   13760:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   13761:            s//\1/
                   13762:            q
                   13763:          }
                   13764:          /^X\(\/\/\)[^/].*/{
                   13765:            s//\1/
                   13766:            q
                   13767:          }
                   13768:          /^X\(\/\/\)$/{
                   13769:            s//\1/
                   13770:            q
                   13771:          }
                   13772:          /^X\(\/\).*/{
                   13773:            s//\1/
                   13774:            q
                   13775:          }
                   13776:          s/.*/./; q'`
                   13777:     else
                   13778:       continue
                   13779:     fi
                   13780:     # Extract the definition of DEPDIR, am__include, and am__quote
                   13781:     # from the Makefile without running `make'.
                   13782:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   13783:     test -z "$DEPDIR" && continue
                   13784:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   13785:     test -z "am__include" && continue
                   13786:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   13787:     # When using ansi2knr, U may be empty or an underscore; expand it
                   13788:     U=`sed -n 's/^U = //p' < "$mf"`
                   13789:     # Find all dependency output files, they are included files with
                   13790:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   13791:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   13792:     # expansion.
                   13793:     for file in `sed -n "
                   13794:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   13795:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   13796:       # Make sure the directory exists.
                   13797:       test -f "$dirpart/$file" && continue
                   13798:       fdir=`$as_dirname -- "$file" ||
                   13799: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   13800:         X"$file" : 'X\(//\)[^/]' \| \
                   13801:         X"$file" : 'X\(//\)$' \| \
                   13802:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   13803: $as_echo X"$file" |
                   13804:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   13805:            s//\1/
                   13806:            q
                   13807:          }
                   13808:          /^X\(\/\/\)[^/].*/{
                   13809:            s//\1/
                   13810:            q
                   13811:          }
                   13812:          /^X\(\/\/\)$/{
                   13813:            s//\1/
                   13814:            q
                   13815:          }
                   13816:          /^X\(\/\).*/{
                   13817:            s//\1/
                   13818:            q
                   13819:          }
                   13820:          s/.*/./; q'`
                   13821:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   13822:       # echo "creating $dirpart/$file"
                   13823:       echo '# dummy' > "$dirpart/$file"
                   13824:     done
                   13825:   done
1.4       takayama 13826: }
1.10      ohara    13827:  ;;
                   13828:     "libtool":C)
1.9       ohara    13829:
1.10      ohara    13830:     # See if we are running on zsh, and set the options which allow our
                   13831:     # commands through without removal of \ escapes.
                   13832:     if test -n "${ZSH_VERSION+set}" ; then
                   13833:       setopt NO_GLOB_SUBST
                   13834:     fi
1.9       ohara    13835:
1.10      ohara    13836:     cfgfile="${ofile}T"
                   13837:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   13838:     $RM "$cfgfile"
1.4       takayama 13839:
1.10      ohara    13840:     cat <<_LT_EOF >> "$cfgfile"
                   13841: #! $SHELL
1.1       ohara    13842:
1.10      ohara    13843: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   13844: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   13845: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   13846: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   13847: #
                   13848: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   13849: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   13850: #                 Foundation, Inc.
                   13851: #   Written by Gordon Matzigkeit, 1996
                   13852: #
                   13853: #   This file is part of GNU Libtool.
                   13854: #
                   13855: # GNU Libtool is free software; you can redistribute it and/or
                   13856: # modify it under the terms of the GNU General Public License as
                   13857: # published by the Free Software Foundation; either version 2 of
                   13858: # the License, or (at your option) any later version.
                   13859: #
                   13860: # As a special exception to the GNU General Public License,
                   13861: # if you distribute this file as part of a program or library that
                   13862: # is built using GNU Libtool, you may include this file under the
                   13863: # same distribution terms that you use for the rest of that program.
                   13864: #
                   13865: # GNU Libtool is distributed in the hope that it will be useful,
                   13866: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   13867: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   13868: # GNU General Public License for more details.
                   13869: #
                   13870: # You should have received a copy of the GNU General Public License
                   13871: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   13872: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   13873: # obtained by writing to the Free Software Foundation, Inc.,
                   13874: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1.1       ohara    13875:
                   13876:
1.10      ohara    13877: # The names of the tagged configurations supported by this script.
                   13878: available_tags=""
1.9       ohara    13879:
1.10      ohara    13880: # ### BEGIN LIBTOOL CONFIG
1.9       ohara    13881:
1.10      ohara    13882: # Which release of libtool.m4 was used?
                   13883: macro_version=$macro_version
                   13884: macro_revision=$macro_revision
1.9       ohara    13885:
1.10      ohara    13886: # Whether or not to build shared libraries.
                   13887: build_libtool_libs=$enable_shared
1.9       ohara    13888:
1.10      ohara    13889: # Whether or not to build static libraries.
                   13890: build_old_libs=$enable_static
1.1       ohara    13891:
1.10      ohara    13892: # What type of objects to build.
                   13893: pic_mode=$pic_mode
1.9       ohara    13894:
1.10      ohara    13895: # Whether or not to optimize for fast installation.
                   13896: fast_install=$enable_fast_install
1.9       ohara    13897:
1.10      ohara    13898: # Shell to use when invoking shell scripts.
                   13899: SHELL=$lt_SHELL
1.4       takayama 13900:
1.10      ohara    13901: # An echo program that protects backslashes.
                   13902: ECHO=$lt_ECHO
1.4       takayama 13903:
1.10      ohara    13904: # The PATH separator for the build system.
                   13905: PATH_SEPARATOR=$lt_PATH_SEPARATOR
1.9       ohara    13906:
1.10      ohara    13907: # The host system.
                   13908: host_alias=$host_alias
                   13909: host=$host
                   13910: host_os=$host_os
1.9       ohara    13911:
1.10      ohara    13912: # The build system.
                   13913: build_alias=$build_alias
                   13914: build=$build
                   13915: build_os=$build_os
1.4       takayama 13916:
1.10      ohara    13917: # A sed program that does not truncate output.
                   13918: SED=$lt_SED
1.4       takayama 13919:
1.10      ohara    13920: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   13921: Xsed="\$SED -e 1s/^X//"
1.1       ohara    13922:
1.10      ohara    13923: # A grep program that handles long lines.
                   13924: GREP=$lt_GREP
1.1       ohara    13925:
1.10      ohara    13926: # An ERE matcher.
                   13927: EGREP=$lt_EGREP
1.2       ohara    13928:
1.10      ohara    13929: # A literal string matcher.
                   13930: FGREP=$lt_FGREP
1.9       ohara    13931:
1.10      ohara    13932: # A BSD- or MS-compatible name lister.
                   13933: NM=$lt_NM
1.4       takayama 13934:
1.10      ohara    13935: # Whether we need soft or hard links.
                   13936: LN_S=$lt_LN_S
1.4       takayama 13937:
1.10      ohara    13938: # What is the maximum length of a command?
                   13939: max_cmd_len=$max_cmd_len
1.9       ohara    13940:
1.10      ohara    13941: # Object file suffix (normally "o").
                   13942: objext=$ac_objext
1.1       ohara    13943:
1.10      ohara    13944: # Executable file suffix (normally "").
                   13945: exeext=$exeext
1.1       ohara    13946:
1.10      ohara    13947: # whether the shell understands "unset".
                   13948: lt_unset=$lt_unset
1.9       ohara    13949:
1.10      ohara    13950: # turn spaces into newlines.
                   13951: SP2NL=$lt_lt_SP2NL
1.9       ohara    13952:
1.10      ohara    13953: # turn newlines into spaces.
                   13954: NL2SP=$lt_lt_NL2SP
1.4       takayama 13955:
1.10      ohara    13956: # convert \$build file names to \$host format.
                   13957: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.1       ohara    13958:
1.10      ohara    13959: # convert \$build files to toolchain format.
                   13960: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       ohara    13961:
1.10      ohara    13962: # An object symbol dumper.
                   13963: OBJDUMP=$lt_OBJDUMP
1.9       ohara    13964:
1.10      ohara    13965: # Method to check whether dependent libraries are shared objects.
                   13966: deplibs_check_method=$lt_deplibs_check_method
1.4       takayama 13967:
1.10      ohara    13968: # Command to use when deplibs_check_method = "file_magic".
                   13969: file_magic_cmd=$lt_file_magic_cmd
1.4       takayama 13970:
1.10      ohara    13971: # How to find potential files when deplibs_check_method = "file_magic".
                   13972: file_magic_glob=$lt_file_magic_glob
1.4       takayama 13973:
1.10      ohara    13974: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   13975: want_nocaseglob=$lt_want_nocaseglob
1.9       ohara    13976:
1.10      ohara    13977: # DLL creation program.
                   13978: DLLTOOL=$lt_DLLTOOL
1.9       ohara    13979:
1.10      ohara    13980: # Command to associate shared and link libraries.
                   13981: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1.9       ohara    13982:
1.10      ohara    13983: # The archiver.
                   13984: AR=$lt_AR
1.9       ohara    13985:
1.10      ohara    13986: # Flags to create an archive.
                   13987: AR_FLAGS=$lt_AR_FLAGS
1.9       ohara    13988:
1.10      ohara    13989: # How to feed a file listing to the archiver.
                   13990: archiver_list_spec=$lt_archiver_list_spec
1.9       ohara    13991:
1.10      ohara    13992: # A symbol stripping program.
                   13993: STRIP=$lt_STRIP
1.4       takayama 13994:
1.10      ohara    13995: # Commands used to install an old-style archive.
                   13996: RANLIB=$lt_RANLIB
                   13997: old_postinstall_cmds=$lt_old_postinstall_cmds
                   13998: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.4       takayama 13999:
1.10      ohara    14000: # Whether to use a lock for old archive extraction.
                   14001: lock_old_archive_extraction=$lock_old_archive_extraction
1.9       ohara    14002:
1.10      ohara    14003: # A C compiler.
                   14004: LTCC=$lt_CC
1.9       ohara    14005:
1.10      ohara    14006: # LTCC compiler flags.
                   14007: LTCFLAGS=$lt_CFLAGS
1.9       ohara    14008:
1.10      ohara    14009: # Take the output of nm and produce a listing of raw symbols and C names.
                   14010: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.9       ohara    14011:
1.10      ohara    14012: # Transform the output of nm in a proper C declaration.
                   14013: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.9       ohara    14014:
1.10      ohara    14015: # Transform the output of nm in a C name address pair.
                   14016: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.9       ohara    14017:
1.10      ohara    14018: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   14019: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1.9       ohara    14020:
1.10      ohara    14021: # Specify filename containing input files for \$NM.
                   14022: nm_file_list_spec=$lt_nm_file_list_spec
1.4       takayama 14023:
1.10      ohara    14024: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   14025: lt_sysroot=$lt_sysroot
1.4       takayama 14026:
1.10      ohara    14027: # The name of the directory that contains temporary libtool files.
                   14028: objdir=$objdir
1.4       takayama 14029:
1.10      ohara    14030: # Used to examine libraries when file_magic_cmd begins with "file".
                   14031: MAGIC_CMD=$MAGIC_CMD
1.4       takayama 14032:
1.10      ohara    14033: # Must we lock files when doing compilation?
                   14034: need_locks=$lt_need_locks
1.1       ohara    14035:
1.10      ohara    14036: # Manifest tool.
                   14037: MANIFEST_TOOL=$lt_MANIFEST_TOOL
1.4       takayama 14038:
1.10      ohara    14039: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   14040: DSYMUTIL=$lt_DSYMUTIL
1.4       takayama 14041:
1.10      ohara    14042: # Tool to change global to local symbols on Mac OS X.
                   14043: NMEDIT=$lt_NMEDIT
1.4       takayama 14044:
1.10      ohara    14045: # Tool to manipulate fat objects and archives on Mac OS X.
                   14046: LIPO=$lt_LIPO
1.4       takayama 14047:
1.10      ohara    14048: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   14049: OTOOL=$lt_OTOOL
1.9       ohara    14050:
1.10      ohara    14051: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   14052: OTOOL64=$lt_OTOOL64
1.4       takayama 14053:
1.10      ohara    14054: # Old archive suffix (normally "a").
                   14055: libext=$libext
1.4       takayama 14056:
1.10      ohara    14057: # Shared library suffix (normally ".so").
                   14058: shrext_cmds=$lt_shrext_cmds
1.9       ohara    14059:
1.10      ohara    14060: # The commands to extract the exported symbol list from a shared archive.
                   14061: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.4       takayama 14062:
1.10      ohara    14063: # Variables whose values should be saved in libtool wrapper scripts and
                   14064: # restored at link time.
                   14065: variables_saved_for_relink=$lt_variables_saved_for_relink
1.4       takayama 14066:
1.10      ohara    14067: # Do we need the "lib" prefix for modules?
                   14068: need_lib_prefix=$need_lib_prefix
1.4       takayama 14069:
1.10      ohara    14070: # Do we need a version for libraries?
                   14071: need_version=$need_version
1.4       takayama 14072:
1.10      ohara    14073: # Library versioning type.
                   14074: version_type=$version_type
1.4       takayama 14075:
1.10      ohara    14076: # Shared library runtime path variable.
                   14077: runpath_var=$runpath_var
1.4       takayama 14078:
1.10      ohara    14079: # Shared library path variable.
                   14080: shlibpath_var=$shlibpath_var
1.4       takayama 14081:
1.10      ohara    14082: # Is shlibpath searched before the hard-coded library search path?
                   14083: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.4       takayama 14084:
1.10      ohara    14085: # Format of library name prefix.
                   14086: libname_spec=$lt_libname_spec
1.9       ohara    14087:
1.10      ohara    14088: # List of archive names.  First name is the real one, the rest are links.
                   14089: # The last name is the one that the linker finds with -lNAME
                   14090: library_names_spec=$lt_library_names_spec
1.4       takayama 14091:
1.10      ohara    14092: # The coded name of the library, if different from the real name.
                   14093: soname_spec=$lt_soname_spec
1.4       takayama 14094:
1.10      ohara    14095: # Permission mode override for installation of shared libraries.
                   14096: install_override_mode=$lt_install_override_mode
1.4       takayama 14097:
1.10      ohara    14098: # Command to use after installation of a shared archive.
                   14099: postinstall_cmds=$lt_postinstall_cmds
1.4       takayama 14100:
1.10      ohara    14101: # Command to use after uninstallation of a shared archive.
                   14102: postuninstall_cmds=$lt_postuninstall_cmds
1.4       takayama 14103:
1.10      ohara    14104: # Commands used to finish a libtool library installation in a directory.
                   14105: finish_cmds=$lt_finish_cmds
1.4       takayama 14106:
1.10      ohara    14107: # As "finish_cmds", except a single script fragment to be evaled but
                   14108: # not shown.
                   14109: finish_eval=$lt_finish_eval
1.4       takayama 14110:
1.10      ohara    14111: # Whether we should hardcode library paths into libraries.
                   14112: hardcode_into_libs=$hardcode_into_libs
1.7       ohara    14113:
1.10      ohara    14114: # Compile-time system search path for libraries.
                   14115: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.9       ohara    14116:
1.10      ohara    14117: # Run-time system search path for libraries.
                   14118: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.4       takayama 14119:
1.10      ohara    14120: # Whether dlopen is supported.
                   14121: dlopen_support=$enable_dlopen
1.9       ohara    14122:
1.10      ohara    14123: # Whether dlopen of programs is supported.
                   14124: dlopen_self=$enable_dlopen_self
1.4       takayama 14125:
1.10      ohara    14126: # Whether dlopen of statically linked programs is supported.
                   14127: dlopen_self_static=$enable_dlopen_self_static
1.4       takayama 14128:
1.10      ohara    14129: # Commands to strip libraries.
                   14130: old_striplib=$lt_old_striplib
                   14131: striplib=$lt_striplib
1.4       takayama 14132:
                   14133:
1.10      ohara    14134: # The linker used to build libraries.
                   14135: LD=$lt_LD
1.4       takayama 14136:
1.10      ohara    14137: # How to create reloadable object files.
                   14138: reload_flag=$lt_reload_flag
                   14139: reload_cmds=$lt_reload_cmds
1.4       takayama 14140:
1.10      ohara    14141: # Commands used to build an old-style archive.
                   14142: old_archive_cmds=$lt_old_archive_cmds
1.9       ohara    14143:
1.10      ohara    14144: # A language specific compiler.
                   14145: CC=$lt_compiler
1.9       ohara    14146:
1.10      ohara    14147: # Is the compiler the GNU compiler?
                   14148: with_gcc=$GCC
1.9       ohara    14149:
1.10      ohara    14150: # Compiler flag to turn off builtin functions.
                   14151: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.4       takayama 14152:
1.10      ohara    14153: # Additional compiler flags for building library objects.
                   14154: pic_flag=$lt_lt_prog_compiler_pic
1.4       takayama 14155:
1.10      ohara    14156: # How to pass a linker flag through the compiler.
                   14157: wl=$lt_lt_prog_compiler_wl
1.4       takayama 14158:
1.10      ohara    14159: # Compiler flag to prevent dynamic linking.
                   14160: link_static_flag=$lt_lt_prog_compiler_static
1.4       takayama 14161:
1.10      ohara    14162: # Does compiler simultaneously support -c and -o options?
                   14163: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.9       ohara    14164:
1.10      ohara    14165: # Whether or not to add -lc for building shared libraries.
                   14166: build_libtool_need_lc=$archive_cmds_need_lc
1.1       ohara    14167:
1.10      ohara    14168: # Whether or not to disallow shared libs when runtime libs are static.
                   14169: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.9       ohara    14170:
1.10      ohara    14171: # Compiler flag to allow reflexive dlopens.
                   14172: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.4       takayama 14173:
1.10      ohara    14174: # Compiler flag to generate shared objects directly from archives.
                   14175: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.4       takayama 14176:
1.10      ohara    14177: # Whether the compiler copes with passing no objects directly.
                   14178: compiler_needs_object=$lt_compiler_needs_object
1.4       takayama 14179:
1.10      ohara    14180: # Create an old-style archive from a shared archive.
                   14181: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.9       ohara    14182:
1.10      ohara    14183: # Create a temporary old-style archive to link instead of a shared archive.
                   14184: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.9       ohara    14185:
1.10      ohara    14186: # Commands used to build a shared archive.
                   14187: archive_cmds=$lt_archive_cmds
                   14188: archive_expsym_cmds=$lt_archive_expsym_cmds
1.1       ohara    14189:
1.10      ohara    14190: # Commands used to build a loadable module if different from building
                   14191: # a shared archive.
                   14192: module_cmds=$lt_module_cmds
                   14193: module_expsym_cmds=$lt_module_expsym_cmds
1.9       ohara    14194:
1.10      ohara    14195: # Whether we are building with GNU ld or not.
                   14196: with_gnu_ld=$lt_with_gnu_ld
1.9       ohara    14197:
1.10      ohara    14198: # Flag that allows shared libraries with undefined symbols to be built.
                   14199: allow_undefined_flag=$lt_allow_undefined_flag
1.9       ohara    14200:
1.10      ohara    14201: # Flag that enforces no undefined symbols.
                   14202: no_undefined_flag=$lt_no_undefined_flag
1.9       ohara    14203:
1.10      ohara    14204: # Flag to hardcode \$libdir into a binary during linking.
                   14205: # This must work even if \$libdir does not exist
                   14206: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.9       ohara    14207:
1.10      ohara    14208: # Whether we need a single "-rpath" flag with a separated argument.
                   14209: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.4       takayama 14210:
1.10      ohara    14211: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   14212: # DIR into the resulting binary.
                   14213: hardcode_direct=$hardcode_direct
1.1       ohara    14214:
1.10      ohara    14215: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   14216: # DIR into the resulting binary and the resulting library dependency is
                   14217: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   14218: # library is relocated.
                   14219: hardcode_direct_absolute=$hardcode_direct_absolute
1.9       ohara    14220:
1.10      ohara    14221: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   14222: # into the resulting binary.
                   14223: hardcode_minus_L=$hardcode_minus_L
1.9       ohara    14224:
1.10      ohara    14225: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   14226: # into the resulting binary.
                   14227: hardcode_shlibpath_var=$hardcode_shlibpath_var
1.9       ohara    14228:
1.10      ohara    14229: # Set to "yes" if building a shared library automatically hardcodes DIR
                   14230: # into the library and all subsequent libraries and executables linked
                   14231: # against it.
                   14232: hardcode_automatic=$hardcode_automatic
1.9       ohara    14233:
1.10      ohara    14234: # Set to yes if linker adds runtime paths of dependent libraries
                   14235: # to runtime path list.
                   14236: inherit_rpath=$inherit_rpath
1.9       ohara    14237:
1.10      ohara    14238: # Whether libtool must link a program against all its dependency libraries.
                   14239: link_all_deplibs=$link_all_deplibs
1.9       ohara    14240:
1.10      ohara    14241: # Set to "yes" if exported symbols are required.
                   14242: always_export_symbols=$always_export_symbols
1.9       ohara    14243:
1.10      ohara    14244: # The commands to list exported symbols.
                   14245: export_symbols_cmds=$lt_export_symbols_cmds
1.9       ohara    14246:
1.10      ohara    14247: # Symbols that should not be listed in the preloaded symbols.
                   14248: exclude_expsyms=$lt_exclude_expsyms
1.9       ohara    14249:
1.10      ohara    14250: # Symbols that must always be exported.
                   14251: include_expsyms=$lt_include_expsyms
1.9       ohara    14252:
1.10      ohara    14253: # Commands necessary for linking programs (against libraries) with templates.
                   14254: prelink_cmds=$lt_prelink_cmds
1.1       ohara    14255:
1.10      ohara    14256: # Commands necessary for finishing linking programs.
                   14257: postlink_cmds=$lt_postlink_cmds
1.1       ohara    14258:
1.10      ohara    14259: # Specify filename containing input files.
                   14260: file_list_spec=$lt_file_list_spec
1.1       ohara    14261:
1.10      ohara    14262: # How to hardcode a shared library path into an executable.
                   14263: hardcode_action=$hardcode_action
1.4       takayama 14264:
1.10      ohara    14265: # ### END LIBTOOL CONFIG
1.1       ohara    14266:
1.10      ohara    14267: _LT_EOF
1.9       ohara    14268:
1.10      ohara    14269:   case $host_os in
                   14270:   aix3*)
                   14271:     cat <<\_LT_EOF >> "$cfgfile"
                   14272: # AIX sometimes has problems with the GCC collect2 program.  For some
                   14273: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   14274: # vanish in a puff of smoke.
                   14275: if test "X${COLLECT_NAMES+set}" != Xset; then
                   14276:   COLLECT_NAMES=
                   14277:   export COLLECT_NAMES
                   14278: fi
                   14279: _LT_EOF
                   14280:     ;;
1.9       ohara    14281:   esac
1.1       ohara    14282:
1.9       ohara    14283:
1.10      ohara    14284: ltmain="$ac_aux_dir/ltmain.sh"
1.9       ohara    14285:
                   14286:
1.10      ohara    14287:   # We use sed instead of cat because bash on DJGPP gets confused if
                   14288:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   14289:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   14290:   # is reportedly fixed, but why not run on old versions too?
                   14291:   sed '$q' "$ltmain" >> "$cfgfile" \
                   14292:      || (rm -f "$cfgfile"; exit 1)
1.9       ohara    14293:
1.10      ohara    14294:   if test x"$xsi_shell" = xyes; then
                   14295:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   14296: func_dirname ()\
                   14297: {\
                   14298: \    case ${1} in\
                   14299: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   14300: \      *  ) func_dirname_result="${3}" ;;\
                   14301: \    esac\
                   14302: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   14303:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14304:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14305: test 0 -eq $? || _lt_function_replace_fail=:
                   14306:
                   14307:
                   14308:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   14309: func_basename ()\
                   14310: {\
                   14311: \    func_basename_result="${1##*/}"\
                   14312: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   14313:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14314:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14315: test 0 -eq $? || _lt_function_replace_fail=:
                   14316:
                   14317:
                   14318:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   14319: func_dirname_and_basename ()\
                   14320: {\
                   14321: \    case ${1} in\
                   14322: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   14323: \      *  ) func_dirname_result="${3}" ;;\
                   14324: \    esac\
                   14325: \    func_basename_result="${1##*/}"\
                   14326: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   14327:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14328:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14329: test 0 -eq $? || _lt_function_replace_fail=:
                   14330:
                   14331:
                   14332:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   14333: func_stripname ()\
                   14334: {\
                   14335: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   14336: \    # positional parameters, so assign one to ordinary parameter first.\
                   14337: \    func_stripname_result=${3}\
                   14338: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   14339: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   14340: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   14341:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14342:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14343: test 0 -eq $? || _lt_function_replace_fail=:
                   14344:
                   14345:
                   14346:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   14347: func_split_long_opt ()\
                   14348: {\
                   14349: \    func_split_long_opt_name=${1%%=*}\
                   14350: \    func_split_long_opt_arg=${1#*=}\
                   14351: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   14352:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14353:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14354: test 0 -eq $? || _lt_function_replace_fail=:
                   14355:
                   14356:
                   14357:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   14358: func_split_short_opt ()\
                   14359: {\
                   14360: \    func_split_short_opt_arg=${1#??}\
                   14361: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   14362: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   14363:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14364:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14365: test 0 -eq $? || _lt_function_replace_fail=:
                   14366:
                   14367:
                   14368:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   14369: func_lo2o ()\
                   14370: {\
                   14371: \    case ${1} in\
                   14372: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   14373: \      *)    func_lo2o_result=${1} ;;\
                   14374: \    esac\
                   14375: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   14376:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14377:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14378: test 0 -eq $? || _lt_function_replace_fail=:
                   14379:
                   14380:
                   14381:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   14382: func_xform ()\
                   14383: {\
                   14384:     func_xform_result=${1%.*}.lo\
                   14385: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   14386:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14387:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14388: test 0 -eq $? || _lt_function_replace_fail=:
                   14389:
                   14390:
                   14391:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   14392: func_arith ()\
                   14393: {\
                   14394:     func_arith_result=$(( $* ))\
                   14395: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   14396:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14397:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14398: test 0 -eq $? || _lt_function_replace_fail=:
                   14399:
                   14400:
                   14401:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   14402: func_len ()\
                   14403: {\
                   14404:     func_len_result=${#1}\
                   14405: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   14406:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14407:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14408: test 0 -eq $? || _lt_function_replace_fail=:
                   14409:
                   14410: fi
                   14411:
                   14412: if test x"$lt_shell_append" = xyes; then
                   14413:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   14414: func_append ()\
                   14415: {\
                   14416:     eval "${1}+=\\${2}"\
                   14417: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   14418:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14419:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14420: test 0 -eq $? || _lt_function_replace_fail=:
                   14421:
                   14422:
                   14423:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   14424: func_append_quoted ()\
                   14425: {\
                   14426: \    func_quote_for_eval "${2}"\
                   14427: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   14428: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   14429:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14430:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14431: test 0 -eq $? || _lt_function_replace_fail=:
                   14432:
                   14433:
                   14434:   # Save a `func_append' function call where possible by direct use of '+='
                   14435:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   14436:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14437:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14438:   test 0 -eq $? || _lt_function_replace_fail=:
                   14439: else
                   14440:   # Save a `func_append' function call even when '+=' is not available
                   14441:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   14442:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14443:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14444:   test 0 -eq $? || _lt_function_replace_fail=:
                   14445: fi
                   14446:
                   14447: if test x"$_lt_function_replace_fail" = x":"; then
                   14448:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   14449: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   14450: fi
1.1       ohara    14451:
1.7       ohara    14452:
1.10      ohara    14453:    mv -f "$cfgfile" "$ofile" ||
                   14454:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   14455:   chmod +x "$ofile"
1.7       ohara    14456:
                   14457:  ;;
1.9       ohara    14458:
1.7       ohara    14459:   esac
1.9       ohara    14460: done # for ac_tag
1.1       ohara    14461:
                   14462:
1.10      ohara    14463: as_fn_exit 0
1.4       takayama 14464: _ACEOF
                   14465: ac_clean_files=$ac_clean_files_save
                   14466:
1.10      ohara    14467: test $ac_write_fail = 0 ||
                   14468:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   14469:
1.4       takayama 14470:
                   14471: # configure is writing to config.log, and then calls config.status.
                   14472: # config.status does its own redirection, appending to config.log.
                   14473: # Unfortunately, on DOS this fails, as config.log is still kept open
                   14474: # by configure, so config.status won't be able to write to it; its
                   14475: # output is simply discarded.  So we exec the FD to /dev/null,
                   14476: # effectively closing config.log, so it can be properly (re)opened and
                   14477: # appended to by config.status.  When coming back to configure, we
                   14478: # need to make the FD available again.
                   14479: if test "$no_create" != yes; then
                   14480:   ac_cs_success=:
1.9       ohara    14481:   ac_config_status_args=
                   14482:   test "$silent" = yes &&
                   14483:     ac_config_status_args="$ac_config_status_args --quiet"
1.4       takayama 14484:   exec 5>/dev/null
1.9       ohara    14485:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.4       takayama 14486:   exec 5>>config.log
                   14487:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   14488:   # would make configure fail if this is the last instruction.
1.10      ohara    14489:   $ac_cs_success || as_fn_exit 1
                   14490: fi
                   14491: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   14492:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   14493: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.4       takayama 14494: fi
1.2       ohara    14495:

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