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

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

1.1       ohara       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.13    ! ohara       3: # Generated by GNU Autoconf 2.69 for ox_toolkit 20150825.
1.10      ohara       4: #
1.1       ohara       5: #
1.13    ! ohara       6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.10      ohara       7: #
                      8: #
1.1       ohara       9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.10      ohara      11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
1.4       takayama   14:
1.9       ohara      15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
1.10      ohara      17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.4       takayama   18:   emulate sh
                     19:   NULLCMD=:
1.10      ohara      20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.9       ohara      21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
                     23:   setopt NO_GLOB_SUBST
                     24: else
1.10      ohara      25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
1.9       ohara      30: esac
1.4       takayama   31: fi
                     32:
                     33:
1.10      ohara      34: as_nl='
                     35: '
                     36: export as_nl
                     37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     41: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     42: # but without wasting forks for bash or zsh.
                     43: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     45:   as_echo='print -r --'
                     46:   as_echo_n='print -rn --'
                     47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     48:   as_echo='printf %s\n'
                     49:   as_echo_n='printf %s'
                     50: else
                     51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     53:     as_echo_n='/usr/ucb/echo -n'
                     54:   else
                     55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     56:     as_echo_n_body='eval
                     57:       arg=$1;
                     58:       case $arg in #(
                     59:       *"$as_nl"*)
                     60:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     62:       esac;
                     63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     64:     '
                     65:     export as_echo_n_body
                     66:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     67:   fi
                     68:   export as_echo_body
                     69:   as_echo='sh -c $as_echo_body as_echo'
                     70: fi
1.4       takayama   71:
                     72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
1.10      ohara      74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
1.4       takayama   79: fi
                     80:
                     81:
1.9       ohara      82: # IFS
                     83: # We need space, tab and new line, in precisely that order.  Quoting is
                     84: # there to prevent editors from complaining about space-tab.
                     85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     86: # splitting by setting IFS to empty value.)
                     87: IFS=" ""       $as_nl"
                     88:
                     89: # Find who we are.  Look in the path if we contain no directory separator.
1.13    ! ohara      90: as_myself=
1.10      ohara      91: case $0 in #((
1.9       ohara      92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4       takayama   94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
1.10      ohara      98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
1.9       ohara     100: IFS=$as_save_IFS
                    101:
                    102:      ;;
                    103: esac
                    104: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    105: # in which case we are not to be found in the path.
                    106: if test "x$as_myself" = x; then
                    107:   as_myself=$0
                    108: fi
                    109: if test ! -f "$as_myself"; then
1.10      ohara     110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
1.9       ohara     112: fi
                    113:
1.10      ohara     114: # Unset variables that we do not need and which cause bugs (e.g. in
                    115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    116: # suppresses any "Segmentation fault" message there.  '((' could
                    117: # trigger a bug in pdksh 5.2.14.
                    118: for as_var in BASH_ENV ENV MAIL MAILPATH
                    119: do eval test x\${$as_var+set} = xset \
                    120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.9       ohara     121: done
                    122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
1.4       takayama  125:
1.9       ohara     126: # NLS nuisances.
1.10      ohara     127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
                    131:
                    132: # CDPATH.
                    133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    134:
1.13    ! ohara     135: # Use a proper internal environment variable to ensure we don't fall
        !           136:   # into an infinite loop, continuously re-executing ourselves.
        !           137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           138:     _as_can_reexec=no; export _as_can_reexec;
        !           139:     # We cannot yet assume a decent shell, so we have to provide a
        !           140: # neutralization value for shells without unset; and this also
        !           141: # works around shells that cannot unset nonexistent variables.
        !           142: # Preserve -v and -x to the replacement shell.
        !           143: BASH_ENV=/dev/null
        !           144: ENV=/dev/null
        !           145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           146: case $- in # ((((
        !           147:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           148:   *v* ) as_opts=-v ;;
        !           149:   *x* ) as_opts=-x ;;
        !           150:   * ) as_opts= ;;
        !           151: esac
        !           152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           153: # Admittedly, this is quite paranoid, since all the known shells bail
        !           154: # out after a failed `exec'.
        !           155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           156: as_fn_exit 255
        !           157:   fi
        !           158:   # We don't want this to propagate to other subprocesses.
        !           159:           { _as_can_reexec=; unset _as_can_reexec;}
1.10      ohara     160: if test "x$CONFIG_SHELL" = x; then
                    161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    162:   emulate sh
                    163:   NULLCMD=:
                    164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    165:   # is contrary to our usage.  Disable this feature.
                    166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    167:   setopt NO_GLOB_SUBST
                    168: else
                    169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
                    175: fi
                    176: "
                    177:   as_required="as_fn_return () { (exit \$1); }
                    178: as_fn_success () { as_fn_return 0; }
                    179: as_fn_failure () { as_fn_return 1; }
                    180: as_fn_ret_success () { return 0; }
                    181: as_fn_ret_failure () { return 1; }
                    182:
                    183: exitcode=0
                    184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    189:
                    190: else
                    191:   exitcode=1; echo positional parameters were not saved.
                    192: fi
1.13    ! ohara     193: test x\$exitcode = x0 || exit 1
        !           194: test -x / || exit 1"
1.10      ohara     195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    199:
                    200:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    201:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    202:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    203:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    204:     PATH=/empty FPATH=/empty; export PATH FPATH
                    205:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    206:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    207: test \$(( 1 + 1 )) = 2 || exit 1"
                    208:   if (eval "$as_required") 2>/dev/null; then :
                    209:   as_have_required=yes
                    210: else
                    211:   as_have_required=no
                    212: fi
                    213:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    214:
                    215: else
                    216:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    217: as_found=false
                    218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.9       ohara     219: do
1.10      ohara     220:   IFS=$as_save_IFS
                    221:   test -z "$as_dir" && as_dir=.
                    222:   as_found=:
                    223:   case $as_dir in #(
                    224:         /*)
                    225:           for as_base in sh bash ksh sh5; do
                    226:             # Try only shells that exist, to save several forks.
                    227:             as_shell=$as_dir/$as_base
                    228:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    229:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    230:   CONFIG_SHELL=$as_shell as_have_required=yes
                    231:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   break 2
                    233: fi
                    234: fi
                    235:           done;;
                    236:        esac
                    237:   as_found=false
                    238: done
                    239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    240:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    241:   CONFIG_SHELL=$SHELL as_have_required=yes
                    242: fi; }
                    243: IFS=$as_save_IFS
                    244:
                    245:
                    246:       if test "x$CONFIG_SHELL" != x; then :
1.13    ! ohara     247:   export CONFIG_SHELL
        !           248:              # We cannot yet assume a decent shell, so we have to provide a
        !           249: # neutralization value for shells without unset; and this also
        !           250: # works around shells that cannot unset nonexistent variables.
        !           251: # Preserve -v and -x to the replacement shell.
        !           252: BASH_ENV=/dev/null
        !           253: ENV=/dev/null
        !           254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           255: case $- in # ((((
        !           256:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           257:   *v* ) as_opts=-v ;;
        !           258:   *x* ) as_opts=-x ;;
        !           259:   * ) as_opts= ;;
        !           260: esac
        !           261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           262: # Admittedly, this is quite paranoid, since all the known shells bail
        !           263: # out after a failed `exec'.
        !           264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           265: exit 255
1.10      ohara     266: fi
                    267:
                    268:     if test x$as_have_required = xno; then :
                    269:   $as_echo "$0: This script requires a shell more modern than all"
                    270:   $as_echo "$0: the shells that I found on your system."
                    271:   if test x${ZSH_VERSION+set} = xset ; then
                    272:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    273:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    274:   else
                    275:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    276: $0: including any error possibly output before this
                    277: $0: message. Then install a modern shell, or manually run
                    278: $0: the script under such a shell if you do have one."
1.4       takayama  279:   fi
1.10      ohara     280:   exit 1
                    281: fi
                    282: fi
                    283: fi
                    284: SHELL=${CONFIG_SHELL-/bin/sh}
                    285: export SHELL
                    286: # Unset more variables known to interfere with behavior of common tools.
                    287: CLICOLOR_FORCE= GREP_OPTIONS=
                    288: unset CLICOLOR_FORCE GREP_OPTIONS
                    289:
                    290: ## --------------------- ##
                    291: ## M4sh Shell Functions. ##
                    292: ## --------------------- ##
                    293: # as_fn_unset VAR
                    294: # ---------------
                    295: # Portably unset VAR.
                    296: as_fn_unset ()
                    297: {
                    298:   { eval $1=; unset $1;}
                    299: }
                    300: as_unset=as_fn_unset
                    301:
                    302: # as_fn_set_status STATUS
                    303: # -----------------------
                    304: # Set $? to STATUS, without forking.
                    305: as_fn_set_status ()
                    306: {
                    307:   return $1
                    308: } # as_fn_set_status
                    309:
                    310: # as_fn_exit STATUS
                    311: # -----------------
                    312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    313: as_fn_exit ()
                    314: {
                    315:   set +e
                    316:   as_fn_set_status $1
                    317:   exit $1
                    318: } # as_fn_exit
                    319:
                    320: # as_fn_mkdir_p
                    321: # -------------
                    322: # Create "$as_dir" as a directory, including parents if necessary.
                    323: as_fn_mkdir_p ()
                    324: {
                    325:
                    326:   case $as_dir in #(
                    327:   -*) as_dir=./$as_dir;;
                    328:   esac
                    329:   test -d "$as_dir" || eval $as_mkdir_p || {
                    330:     as_dirs=
                    331:     while :; do
                    332:       case $as_dir in #(
                    333:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    334:       *) as_qdir=$as_dir;;
                    335:       esac
                    336:       as_dirs="'$as_qdir' $as_dirs"
                    337:       as_dir=`$as_dirname -- "$as_dir" ||
                    338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    339:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    340:         X"$as_dir" : 'X\(//\)$' \| \
                    341:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    342: $as_echo X"$as_dir" |
                    343:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\/\)[^/].*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          /^X\(\/\/\)$/{
                    352:            s//\1/
                    353:            q
                    354:          }
                    355:          /^X\(\/\).*/{
                    356:            s//\1/
                    357:            q
                    358:          }
                    359:          s/.*/./; q'`
                    360:       test -d "$as_dir" && break
                    361:     done
                    362:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    363:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    364:
                    365:
                    366: } # as_fn_mkdir_p
1.13    ! ohara     367:
        !           368: # as_fn_executable_p FILE
        !           369: # -----------------------
        !           370: # Test if FILE is an executable regular file.
        !           371: as_fn_executable_p ()
        !           372: {
        !           373:   test -f "$1" && test -x "$1"
        !           374: } # as_fn_executable_p
1.10      ohara     375: # as_fn_append VAR VALUE
                    376: # ----------------------
                    377: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    378: # advantage of any shell optimizations that allow amortized linear growth over
                    379: # repeated appends, instead of the typical quadratic growth present in naive
                    380: # implementations.
                    381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    382:   eval 'as_fn_append ()
                    383:   {
                    384:     eval $1+=\$2
                    385:   }'
                    386: else
                    387:   as_fn_append ()
                    388:   {
                    389:     eval $1=\$$1\$2
                    390:   }
                    391: fi # as_fn_append
                    392:
                    393: # as_fn_arith ARG...
                    394: # ------------------
                    395: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    397: # must be portable across $(()) and expr.
                    398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    399:   eval 'as_fn_arith ()
                    400:   {
                    401:     as_val=$(( $* ))
                    402:   }'
                    403: else
                    404:   as_fn_arith ()
                    405:   {
                    406:     as_val=`expr "$@" || test $? -eq 1`
                    407:   }
                    408: fi # as_fn_arith
                    409:
                    410:
                    411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    412: # ----------------------------------------
                    413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    415: # script with STATUS, using 1 if that was 0.
                    416: as_fn_error ()
                    417: {
                    418:   as_status=$1; test $as_status -eq 0 && as_status=1
                    419:   if test "$4"; then
                    420:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    421:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    422:   fi
                    423:   $as_echo "$as_me: error: $2" >&2
                    424:   as_fn_exit $as_status
                    425: } # as_fn_error
1.9       ohara     426:
                    427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433:
                    434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439:
1.10      ohara     440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    441:   as_dirname=dirname
                    442: else
                    443:   as_dirname=false
                    444: fi
1.9       ohara     445:
                    446: as_me=`$as_basename -- "$0" ||
                    447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
                    449:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.10      ohara     450: $as_echo X/"$0" |
1.9       ohara     451:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          /^X\/\(\/\/\)$/{
                    456:            s//\1/
                    457:            q
                    458:          }
                    459:          /^X\/\(\/\).*/{
                    460:            s//\1/
                    461:            q
                    462:          }
                    463:          s/.*/./; q'`
                    464:
1.10      ohara     465: # Avoid depending upon Character Ranges.
                    466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    469: as_cr_digits='0123456789'
                    470: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.9       ohara     471:
                    472:
1.10      ohara     473:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    474:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    475:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    476:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    477:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    478:   sed -n '
                    479:     p
                    480:     /[$]LINENO/=
                    481:   ' <$as_myself |
                    482:     sed '
                    483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
                    487:       N
                    488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    490:       t loop
                    491:       s/-\n.*//
                    492:     ' >$as_me.lineno &&
                    493:   chmod +x "$as_me.lineno" ||
                    494:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.9       ohara     495:
1.13    ! ohara     496:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           497:   # already done that, so ensure we don't try to do so again and fall
        !           498:   # in an infinite loop.  This has already happened in practice.
        !           499:   _as_can_reexec=no; export _as_can_reexec
1.10      ohara     500:   # Don't try to exec as it changes $[0], causing all sort of problems
                    501:   # (the dirname of $[0] is not the place where we might find the
                    502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
                    504:   # Exit status is that of the last command.
                    505:   exit
1.9       ohara     506: }
                    507:
1.10      ohara     508: ECHO_C= ECHO_N= ECHO_T=
                    509: case `echo -n x` in #(((((
                    510: -n*)
                    511:   case `echo 'xy\c'` in
                    512:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    513:   xy)  ECHO_C='\c';;
                    514:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    515:        ECHO_T='        ';;
                    516:   esac;;
                    517: *)
                    518:   ECHO_N='-n';;
                    519: esac
                    520:
                    521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
1.9       ohara     524: else
1.10      ohara     525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
1.9       ohara     527: fi
1.10      ohara     528: if (echo >conf$$.file) 2>/dev/null; then
                    529:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s='ln -s'
                    531:     # ... but there are two gotchas:
                    532:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    533:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.13    ! ohara     534:     # In both cases, we have to default to `cp -pR'.
1.10      ohara     535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.13    ! ohara     536:       as_ln_s='cp -pR'
1.10      ohara     537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.13    ! ohara     540:     as_ln_s='cp -pR'
1.10      ohara     541:   fi
                    542: else
1.13    ! ohara     543:   as_ln_s='cp -pR'
1.9       ohara     544: fi
1.10      ohara     545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
1.9       ohara     547:
1.10      ohara     548: if mkdir -p . 2>/dev/null; then
                    549:   as_mkdir_p='mkdir -p "$as_dir"'
1.9       ohara     550: else
1.10      ohara     551:   test -d ./-p && rmdir ./-p
                    552:   as_mkdir_p=false
1.9       ohara     553: fi
                    554:
1.13    ! ohara     555: as_test_x='test -x'
        !           556: as_executable_p=as_fn_executable_p
1.9       ohara     557:
1.10      ohara     558: # Sed expression to map a string onto a valid CPP name.
                    559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.9       ohara     560:
1.10      ohara     561: # Sed expression to map a string onto a valid variable name.
                    562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.9       ohara     563:
1.10      ohara     564: SHELL=${CONFIG_SHELL-/bin/sh}
1.9       ohara     565:
                    566:
1.10      ohara     567: test -n "$DJDIR" || exec 7<&0 </dev/null
                    568: exec 6>&1
1.9       ohara     569:
1.10      ohara     570: # Name of the host.
                    571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    572: # so uname gets run too.
                    573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.9       ohara     574:
1.10      ohara     575: #
                    576: # Initializations.
                    577: #
                    578: ac_default_prefix=/usr/local
                    579: ac_clean_files=
                    580: ac_config_libobj_dir=.
                    581: LIBOBJS=
                    582: cross_compiling=no
                    583: subdirs=
                    584: MFLAGS=
                    585: MAKEFLAGS=
1.9       ohara     586:
1.10      ohara     587: # Identity of this package.
1.13    ! ohara     588: PACKAGE_NAME='ox_toolkit'
        !           589: PACKAGE_TARNAME='ox_toolkit'
        !           590: PACKAGE_VERSION='20150825'
        !           591: PACKAGE_STRING='ox_toolkit 20150825'
        !           592: PACKAGE_BUGREPORT=''
        !           593: PACKAGE_URL=''
1.9       ohara     594:
1.10      ohara     595: ac_unique_file="mysocket.c"
                    596: # Factoring default headers for most tests.
                    597: ac_includes_default="\
                    598: #include <stdio.h>
                    599: #ifdef HAVE_SYS_TYPES_H
                    600: # include <sys/types.h>
                    601: #endif
                    602: #ifdef HAVE_SYS_STAT_H
                    603: # include <sys/stat.h>
                    604: #endif
                    605: #ifdef STDC_HEADERS
                    606: # include <stdlib.h>
                    607: # include <stddef.h>
                    608: #else
                    609: # ifdef HAVE_STDLIB_H
                    610: #  include <stdlib.h>
                    611: # endif
                    612: #endif
                    613: #ifdef HAVE_STRING_H
                    614: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    615: #  include <memory.h>
                    616: # endif
                    617: # include <string.h>
                    618: #endif
                    619: #ifdef HAVE_STRINGS_H
                    620: # include <strings.h>
                    621: #endif
                    622: #ifdef HAVE_INTTYPES_H
                    623: # include <inttypes.h>
                    624: #endif
                    625: #ifdef HAVE_STDINT_H
                    626: # include <stdint.h>
                    627: #endif
                    628: #ifdef HAVE_UNISTD_H
                    629: # include <unistd.h>
                    630: #endif"
1.7       ohara     631:
1.10      ohara     632: ac_subst_vars='am__EXEEXT_FALSE
                    633: am__EXEEXT_TRUE
                    634: LTLIBOBJS
                    635: LIBOBJS
                    636: X_EXTRA_LIBS
                    637: X_LIBS
                    638: X_PRE_LIBS
                    639: X_CFLAGS
                    640: XMKMF
                    641: CPP
1.13    ! ohara     642: LT_SYS_LIBRARY_PATH
1.10      ohara     643: OTOOL64
                    644: OTOOL
                    645: LIPO
                    646: NMEDIT
                    647: DSYMUTIL
                    648: MANIFEST_TOOL
                    649: RANLIB
                    650: ac_ct_AR
                    651: AR
                    652: DLLTOOL
                    653: OBJDUMP
                    654: LN_S
                    655: NM
                    656: ac_ct_DUMPBIN
                    657: DUMPBIN
                    658: LD
                    659: FGREP
                    660: EGREP
                    661: GREP
                    662: SED
                    663: LIBTOOL
                    664: am__fastdepCC_FALSE
                    665: am__fastdepCC_TRUE
                    666: CCDEPMODE
1.13    ! ohara     667: am__nodep
1.10      ohara     668: AMDEPBACKSLASH
                    669: AMDEP_FALSE
                    670: AMDEP_TRUE
                    671: am__quote
                    672: am__include
                    673: DEPDIR
                    674: OBJEXT
                    675: EXEEXT
                    676: ac_ct_CC
                    677: CPPFLAGS
                    678: LDFLAGS
                    679: CFLAGS
                    680: CC
                    681: MAINT
                    682: MAINTAINER_MODE_FALSE
                    683: MAINTAINER_MODE_TRUE
1.13    ! ohara     684: AM_BACKSLASH
        !           685: AM_DEFAULT_VERBOSITY
        !           686: AM_DEFAULT_V
        !           687: AM_V
1.10      ohara     688: am__untar
                    689: am__tar
                    690: AMTAR
                    691: am__leading_dot
                    692: SET_MAKE
                    693: AWK
                    694: mkdir_p
                    695: MKDIR_P
                    696: INSTALL_STRIP_PROGRAM
                    697: STRIP
                    698: install_sh
                    699: MAKEINFO
                    700: AUTOHEADER
                    701: AUTOMAKE
                    702: AUTOCONF
                    703: ACLOCAL
                    704: VERSION
                    705: PACKAGE
                    706: CYGPATH_W
                    707: am__isrc
                    708: INSTALL_DATA
                    709: INSTALL_SCRIPT
                    710: INSTALL_PROGRAM
1.13    ! ohara     711: target_os
        !           712: target_vendor
        !           713: target_cpu
        !           714: target
        !           715: host_os
        !           716: host_vendor
        !           717: host_cpu
        !           718: host
        !           719: build_os
        !           720: build_vendor
        !           721: build_cpu
        !           722: build
1.10      ohara     723: target_alias
                    724: host_alias
                    725: build_alias
                    726: LIBS
                    727: ECHO_T
                    728: ECHO_N
                    729: ECHO_C
                    730: DEFS
                    731: mandir
                    732: localedir
                    733: libdir
                    734: psdir
                    735: pdfdir
                    736: dvidir
                    737: htmldir
                    738: infodir
                    739: docdir
                    740: oldincludedir
                    741: includedir
                    742: localstatedir
                    743: sharedstatedir
                    744: sysconfdir
                    745: datadir
                    746: datarootdir
                    747: libexecdir
                    748: sbindir
                    749: bindir
                    750: program_transform_name
                    751: prefix
                    752: exec_prefix
                    753: PACKAGE_URL
                    754: PACKAGE_BUGREPORT
                    755: PACKAGE_STRING
                    756: PACKAGE_VERSION
                    757: PACKAGE_TARNAME
                    758: PACKAGE_NAME
                    759: PATH_SEPARATOR
                    760: SHELL'
                    761: ac_subst_files=''
                    762: ac_user_opts='
                    763: enable_option_checking
1.13    ! ohara     764: enable_silent_rules
1.10      ohara     765: enable_maintainer_mode
                    766: enable_dependency_tracking
                    767: enable_shared
                    768: enable_static
                    769: with_pic
                    770: enable_fast_install
1.13    ! ohara     771: with_aix_soname
1.10      ohara     772: with_gnu_ld
                    773: with_sysroot
                    774: enable_libtool_lock
                    775: with_x
                    776: '
                    777:       ac_precious_vars='build_alias
                    778: host_alias
                    779: target_alias
                    780: CC
                    781: CFLAGS
                    782: LDFLAGS
                    783: LIBS
                    784: CPPFLAGS
1.13    ! ohara     785: LT_SYS_LIBRARY_PATH
1.10      ohara     786: CPP
                    787: XMKMF'
1.9       ohara     788:
                    789:
1.10      ohara     790: # Initialize some variables set by options.
                    791: ac_init_help=
                    792: ac_init_version=false
                    793: ac_unrecognized_opts=
                    794: ac_unrecognized_sep=
                    795: # The variables have the same names as the options, with
                    796: # dashes changed to underlines.
                    797: cache_file=/dev/null
                    798: exec_prefix=NONE
                    799: no_create=
                    800: no_recursion=
                    801: prefix=NONE
                    802: program_prefix=NONE
                    803: program_suffix=NONE
                    804: program_transform_name=s,x,x,
                    805: silent=
                    806: site=
                    807: srcdir=
                    808: verbose=
                    809: x_includes=NONE
                    810: x_libraries=NONE
1.9       ohara     811:
1.10      ohara     812: # Installation directory options.
                    813: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    814: # and all the variables that are supposed to be based on exec_prefix
                    815: # by default will actually change.
                    816: # Use braces instead of parens because sh, perl, etc. also accept them.
                    817: # (The list follows the same order as the GNU Coding Standards.)
                    818: bindir='${exec_prefix}/bin'
                    819: sbindir='${exec_prefix}/sbin'
                    820: libexecdir='${exec_prefix}/libexec'
                    821: datarootdir='${prefix}/share'
                    822: datadir='${datarootdir}'
                    823: sysconfdir='${prefix}/etc'
                    824: sharedstatedir='${prefix}/com'
                    825: localstatedir='${prefix}/var'
                    826: includedir='${prefix}/include'
                    827: oldincludedir='/usr/include'
1.13    ! ohara     828: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1.10      ohara     829: infodir='${datarootdir}/info'
                    830: htmldir='${docdir}'
                    831: dvidir='${docdir}'
                    832: pdfdir='${docdir}'
                    833: psdir='${docdir}'
                    834: libdir='${exec_prefix}/lib'
                    835: localedir='${datarootdir}/locale'
                    836: mandir='${datarootdir}/man'
1.9       ohara     837:
1.10      ohara     838: ac_prev=
                    839: ac_dashdash=
                    840: for ac_option
1.9       ohara     841: do
1.10      ohara     842:   # If the previous option needs an argument, assign it.
                    843:   if test -n "$ac_prev"; then
                    844:     eval $ac_prev=\$ac_option
                    845:     ac_prev=
                    846:     continue
                    847:   fi
1.9       ohara     848:
1.10      ohara     849:   case $ac_option in
                    850:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    851:   *=)   ac_optarg= ;;
                    852:   *)    ac_optarg=yes ;;
                    853:   esac
1.9       ohara     854:
1.10      ohara     855:   # Accept the important Cygnus configure options, so we can diagnose typos.
1.9       ohara     856:
1.10      ohara     857:   case $ac_dashdash$ac_option in
                    858:   --)
                    859:     ac_dashdash=yes ;;
1.9       ohara     860:
1.10      ohara     861:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    862:     ac_prev=bindir ;;
                    863:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    864:     bindir=$ac_optarg ;;
1.9       ohara     865:
1.10      ohara     866:   -build | --build | --buil | --bui | --bu)
                    867:     ac_prev=build_alias ;;
                    868:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    869:     build_alias=$ac_optarg ;;
1.9       ohara     870:
1.10      ohara     871:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    872:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    873:     ac_prev=cache_file ;;
                    874:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    875:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    876:     cache_file=$ac_optarg ;;
1.9       ohara     877:
1.10      ohara     878:   --config-cache | -C)
                    879:     cache_file=config.cache ;;
1.9       ohara     880:
1.10      ohara     881:   -datadir | --datadir | --datadi | --datad)
                    882:     ac_prev=datadir ;;
                    883:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    884:     datadir=$ac_optarg ;;
1.9       ohara     885:
1.10      ohara     886:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    887:   | --dataroo | --dataro | --datar)
                    888:     ac_prev=datarootdir ;;
                    889:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    890:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    891:     datarootdir=$ac_optarg ;;
1.9       ohara     892:
1.10      ohara     893:   -disable-* | --disable-*)
                    894:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    895:     # Reject names that are not valid shell variable names.
                    896:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    897:       as_fn_error $? "invalid feature name: $ac_useropt"
                    898:     ac_useropt_orig=$ac_useropt
                    899:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    900:     case $ac_user_opts in
                    901:       *"
                    902: "enable_$ac_useropt"
                    903: "*) ;;
                    904:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    905:         ac_unrecognized_sep=', ';;
                    906:     esac
                    907:     eval enable_$ac_useropt=no ;;
1.9       ohara     908:
1.10      ohara     909:   -docdir | --docdir | --docdi | --doc | --do)
                    910:     ac_prev=docdir ;;
                    911:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    912:     docdir=$ac_optarg ;;
1.9       ohara     913:
1.10      ohara     914:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    915:     ac_prev=dvidir ;;
                    916:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    917:     dvidir=$ac_optarg ;;
1.9       ohara     918:
1.10      ohara     919:   -enable-* | --enable-*)
                    920:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    921:     # Reject names that are not valid shell variable names.
                    922:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    923:       as_fn_error $? "invalid feature name: $ac_useropt"
                    924:     ac_useropt_orig=$ac_useropt
                    925:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    926:     case $ac_user_opts in
                    927:       *"
                    928: "enable_$ac_useropt"
                    929: "*) ;;
                    930:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    931:         ac_unrecognized_sep=', ';;
                    932:     esac
                    933:     eval enable_$ac_useropt=\$ac_optarg ;;
1.9       ohara     934:
1.10      ohara     935:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    936:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    937:   | --exec | --exe | --ex)
                    938:     ac_prev=exec_prefix ;;
                    939:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    940:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    941:   | --exec=* | --exe=* | --ex=*)
                    942:     exec_prefix=$ac_optarg ;;
1.9       ohara     943:
1.10      ohara     944:   -gas | --gas | --ga | --g)
                    945:     # Obsolete; use --with-gas.
                    946:     with_gas=yes ;;
1.9       ohara     947:
1.10      ohara     948:   -help | --help | --hel | --he | -h)
                    949:     ac_init_help=long ;;
                    950:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    951:     ac_init_help=recursive ;;
                    952:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    953:     ac_init_help=short ;;
1.9       ohara     954:
1.10      ohara     955:   -host | --host | --hos | --ho)
                    956:     ac_prev=host_alias ;;
                    957:   -host=* | --host=* | --hos=* | --ho=*)
                    958:     host_alias=$ac_optarg ;;
1.9       ohara     959:
1.10      ohara     960:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    961:     ac_prev=htmldir ;;
                    962:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    963:   | --ht=*)
                    964:     htmldir=$ac_optarg ;;
1.9       ohara     965:
1.10      ohara     966:   -includedir | --includedir | --includedi | --included | --include \
                    967:   | --includ | --inclu | --incl | --inc)
                    968:     ac_prev=includedir ;;
                    969:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    970:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    971:     includedir=$ac_optarg ;;
1.9       ohara     972:
1.10      ohara     973:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    974:     ac_prev=infodir ;;
                    975:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    976:     infodir=$ac_optarg ;;
1.9       ohara     977:
1.10      ohara     978:   -libdir | --libdir | --libdi | --libd)
                    979:     ac_prev=libdir ;;
                    980:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    981:     libdir=$ac_optarg ;;
1.9       ohara     982:
1.10      ohara     983:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    984:   | --libexe | --libex | --libe)
                    985:     ac_prev=libexecdir ;;
                    986:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    987:   | --libexe=* | --libex=* | --libe=*)
                    988:     libexecdir=$ac_optarg ;;
1.9       ohara     989:
1.10      ohara     990:   -localedir | --localedir | --localedi | --localed | --locale)
                    991:     ac_prev=localedir ;;
                    992:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    993:     localedir=$ac_optarg ;;
1.9       ohara     994:
1.10      ohara     995:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    996:   | --localstate | --localstat | --localsta | --localst | --locals)
                    997:     ac_prev=localstatedir ;;
                    998:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    999:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1000:     localstatedir=$ac_optarg ;;
1.9       ohara    1001:
1.10      ohara    1002:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1003:     ac_prev=mandir ;;
                   1004:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1005:     mandir=$ac_optarg ;;
1.9       ohara    1006:
1.10      ohara    1007:   -nfp | --nfp | --nf)
                   1008:     # Obsolete; use --without-fp.
                   1009:     with_fp=no ;;
1.9       ohara    1010:
1.10      ohara    1011:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1012:   | --no-cr | --no-c | -n)
                   1013:     no_create=yes ;;
1.9       ohara    1014:
1.10      ohara    1015:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1016:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1017:     no_recursion=yes ;;
1.9       ohara    1018:
1.10      ohara    1019:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1020:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1021:   | --oldin | --oldi | --old | --ol | --o)
                   1022:     ac_prev=oldincludedir ;;
                   1023:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1024:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1025:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1026:     oldincludedir=$ac_optarg ;;
1.9       ohara    1027:
1.10      ohara    1028:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1029:     ac_prev=prefix ;;
                   1030:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1031:     prefix=$ac_optarg ;;
1.9       ohara    1032:
1.10      ohara    1033:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1034:   | --program-pre | --program-pr | --program-p)
                   1035:     ac_prev=program_prefix ;;
                   1036:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1037:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1038:     program_prefix=$ac_optarg ;;
1.9       ohara    1039:
1.10      ohara    1040:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1041:   | --program-suf | --program-su | --program-s)
                   1042:     ac_prev=program_suffix ;;
                   1043:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1044:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1045:     program_suffix=$ac_optarg ;;
1.9       ohara    1046:
1.10      ohara    1047:   -program-transform-name | --program-transform-name \
                   1048:   | --program-transform-nam | --program-transform-na \
                   1049:   | --program-transform-n | --program-transform- \
                   1050:   | --program-transform | --program-transfor \
                   1051:   | --program-transfo | --program-transf \
                   1052:   | --program-trans | --program-tran \
                   1053:   | --progr-tra | --program-tr | --program-t)
                   1054:     ac_prev=program_transform_name ;;
                   1055:   -program-transform-name=* | --program-transform-name=* \
                   1056:   | --program-transform-nam=* | --program-transform-na=* \
                   1057:   | --program-transform-n=* | --program-transform-=* \
                   1058:   | --program-transform=* | --program-transfor=* \
                   1059:   | --program-transfo=* | --program-transf=* \
                   1060:   | --program-trans=* | --program-tran=* \
                   1061:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1062:     program_transform_name=$ac_optarg ;;
1.9       ohara    1063:
1.10      ohara    1064:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1065:     ac_prev=pdfdir ;;
                   1066:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1067:     pdfdir=$ac_optarg ;;
1.9       ohara    1068:
1.10      ohara    1069:   -psdir | --psdir | --psdi | --psd | --ps)
                   1070:     ac_prev=psdir ;;
                   1071:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1072:     psdir=$ac_optarg ;;
1.9       ohara    1073:
1.10      ohara    1074:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1075:   | -silent | --silent | --silen | --sile | --sil)
                   1076:     silent=yes ;;
1.9       ohara    1077:
1.10      ohara    1078:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1079:     ac_prev=sbindir ;;
                   1080:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1081:   | --sbi=* | --sb=*)
                   1082:     sbindir=$ac_optarg ;;
1.9       ohara    1083:
1.10      ohara    1084:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1085:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1086:   | --sharedst | --shareds | --shared | --share | --shar \
                   1087:   | --sha | --sh)
                   1088:     ac_prev=sharedstatedir ;;
                   1089:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1090:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1091:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1092:   | --sha=* | --sh=*)
                   1093:     sharedstatedir=$ac_optarg ;;
1.9       ohara    1094:
1.10      ohara    1095:   -site | --site | --sit)
                   1096:     ac_prev=site ;;
                   1097:   -site=* | --site=* | --sit=*)
                   1098:     site=$ac_optarg ;;
1.9       ohara    1099:
1.10      ohara    1100:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1101:     ac_prev=srcdir ;;
                   1102:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1103:     srcdir=$ac_optarg ;;
1.9       ohara    1104:
1.10      ohara    1105:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1106:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1107:     ac_prev=sysconfdir ;;
                   1108:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1109:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1110:     sysconfdir=$ac_optarg ;;
1.9       ohara    1111:
1.10      ohara    1112:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1113:     ac_prev=target_alias ;;
                   1114:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1115:     target_alias=$ac_optarg ;;
1.9       ohara    1116:
1.10      ohara    1117:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1118:     verbose=yes ;;
1.9       ohara    1119:
1.10      ohara    1120:   -version | --version | --versio | --versi | --vers | -V)
                   1121:     ac_init_version=: ;;
1.9       ohara    1122:
1.10      ohara    1123:   -with-* | --with-*)
                   1124:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1125:     # Reject names that are not valid shell variable names.
                   1126:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1127:       as_fn_error $? "invalid package name: $ac_useropt"
                   1128:     ac_useropt_orig=$ac_useropt
                   1129:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1130:     case $ac_user_opts in
                   1131:       *"
                   1132: "with_$ac_useropt"
                   1133: "*) ;;
                   1134:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1135:         ac_unrecognized_sep=', ';;
                   1136:     esac
                   1137:     eval with_$ac_useropt=\$ac_optarg ;;
1.9       ohara    1138:
1.10      ohara    1139:   -without-* | --without-*)
                   1140:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1141:     # Reject names that are not valid shell variable names.
                   1142:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1143:       as_fn_error $? "invalid package name: $ac_useropt"
                   1144:     ac_useropt_orig=$ac_useropt
                   1145:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1146:     case $ac_user_opts in
                   1147:       *"
                   1148: "with_$ac_useropt"
                   1149: "*) ;;
                   1150:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1151:         ac_unrecognized_sep=', ';;
                   1152:     esac
                   1153:     eval with_$ac_useropt=no ;;
1.9       ohara    1154:
1.10      ohara    1155:   --x)
                   1156:     # Obsolete; use --with-x.
                   1157:     with_x=yes ;;
1.9       ohara    1158:
1.10      ohara    1159:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1160:   | --x-incl | --x-inc | --x-in | --x-i)
                   1161:     ac_prev=x_includes ;;
                   1162:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1163:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1164:     x_includes=$ac_optarg ;;
1.9       ohara    1165:
1.10      ohara    1166:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1167:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1168:     ac_prev=x_libraries ;;
                   1169:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1170:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1171:     x_libraries=$ac_optarg ;;
1.9       ohara    1172:
1.10      ohara    1173:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1174: Try \`$0 --help' for more information"
                   1175:     ;;
1.9       ohara    1176:
1.10      ohara    1177:   *=*)
                   1178:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1179:     # Reject names that are not valid shell variable names.
                   1180:     case $ac_envvar in #(
                   1181:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1182:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1183:     esac
                   1184:     eval $ac_envvar=\$ac_optarg
                   1185:     export $ac_envvar ;;
1.9       ohara    1186:
1.10      ohara    1187:   *)
                   1188:     # FIXME: should be removed in autoconf 3.0.
                   1189:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1190:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1191:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.13    ! ohara    1192:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.9       ohara    1193:     ;;
                   1194:
1.10      ohara    1195:   esac
                   1196: done
1.9       ohara    1197:
1.10      ohara    1198: if test -n "$ac_prev"; then
                   1199:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1200:   as_fn_error $? "missing argument to $ac_option"
1.9       ohara    1201: fi
                   1202:
1.10      ohara    1203: if test -n "$ac_unrecognized_opts"; then
                   1204:   case $enable_option_checking in
                   1205:     no) ;;
                   1206:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1207:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1208:   esac
1.9       ohara    1209: fi
                   1210:
1.10      ohara    1211: # Check all directory arguments for consistency.
                   1212: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1213:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1214:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1215:                libdir localedir mandir
                   1216: do
                   1217:   eval ac_val=\$$ac_var
                   1218:   # Remove trailing slashes.
                   1219:   case $ac_val in
                   1220:     */ )
                   1221:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1222:       eval $ac_var=\$ac_val;;
                   1223:   esac
                   1224:   # Be sure to have absolute directory names.
                   1225:   case $ac_val in
                   1226:     [\\/$]* | ?:[\\/]* )  continue;;
                   1227:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1228:   esac
                   1229:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.9       ohara    1230: done
                   1231:
1.10      ohara    1232: # There might be people who depend on the old broken behavior: `$host'
                   1233: # used to hold the argument of --host etc.
                   1234: # FIXME: To remove some day.
                   1235: build=$build_alias
                   1236: host=$host_alias
                   1237: target=$target_alias
                   1238:
                   1239: # FIXME: To remove some day.
                   1240: if test "x$host_alias" != x; then
                   1241:   if test "x$build_alias" = x; then
                   1242:     cross_compiling=maybe
                   1243:   elif test "x$build_alias" != "x$host_alias"; then
                   1244:     cross_compiling=yes
1.9       ohara    1245:   fi
                   1246: fi
                   1247:
1.10      ohara    1248: ac_tool_prefix=
                   1249: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.9       ohara    1250:
1.10      ohara    1251: test "$silent" = yes && exec 6>/dev/null
1.9       ohara    1252:
                   1253:
1.10      ohara    1254: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1255: ac_ls_di=`ls -di .` &&
                   1256: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1257:   as_fn_error $? "working directory cannot be determined"
                   1258: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1259:   as_fn_error $? "pwd does not report name of working directory"
1.9       ohara    1260:
                   1261:
1.10      ohara    1262: # Find the source files, if location was not specified.
                   1263: if test -z "$srcdir"; then
                   1264:   ac_srcdir_defaulted=yes
                   1265:   # Try the directory containing this script, then the parent directory.
                   1266:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1267: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1268:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1269:         X"$as_myself" : 'X\(//\)$' \| \
                   1270:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1271: $as_echo X"$as_myself" |
                   1272:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1273:            s//\1/
                   1274:            q
                   1275:          }
                   1276:          /^X\(\/\/\)[^/].*/{
                   1277:            s//\1/
                   1278:            q
                   1279:          }
                   1280:          /^X\(\/\/\)$/{
                   1281:            s//\1/
                   1282:            q
                   1283:          }
                   1284:          /^X\(\/\).*/{
                   1285:            s//\1/
                   1286:            q
                   1287:          }
                   1288:          s/.*/./; q'`
                   1289:   srcdir=$ac_confdir
                   1290:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1291:     srcdir=..
1.9       ohara    1292:   fi
1.10      ohara    1293: else
                   1294:   ac_srcdir_defaulted=no
1.9       ohara    1295: fi
1.10      ohara    1296: if test ! -r "$srcdir/$ac_unique_file"; then
                   1297:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1298:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1299: fi
                   1300: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1301: ac_abs_confdir=`(
                   1302:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1303:        pwd)`
                   1304: # When building in place, set srcdir=.
                   1305: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1306:   srcdir=.
1.9       ohara    1307: fi
1.10      ohara    1308: # Remove unnecessary trailing slashes from srcdir.
                   1309: # Double slashes in file names in object file debugging info
                   1310: # mess up M-x gdb in Emacs.
                   1311: case $srcdir in
                   1312: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1.9       ohara    1313: esac
1.10      ohara    1314: for ac_var in $ac_precious_vars; do
                   1315:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1316:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1317:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1318:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1319: done
                   1320:
                   1321: #
                   1322: # Report the --help message.
                   1323: #
                   1324: if test "$ac_init_help" = "long"; then
                   1325:   # Omit some internal or obsolete options to make the list less imposing.
                   1326:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1327:   cat <<_ACEOF
1.13    ! ohara    1328: \`configure' configures ox_toolkit 20150825 to adapt to many kinds of systems.
1.9       ohara    1329:
1.10      ohara    1330: Usage: $0 [OPTION]... [VAR=VALUE]...
1.9       ohara    1331:
1.10      ohara    1332: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1333: VAR=VALUE.  See below for descriptions of some of the useful variables.
1.9       ohara    1334:
1.10      ohara    1335: Defaults for the options are specified in brackets.
1.9       ohara    1336:
1.10      ohara    1337: Configuration:
                   1338:   -h, --help              display this help and exit
                   1339:       --help=short        display options specific to this package
                   1340:       --help=recursive    display the short help of all the included packages
                   1341:   -V, --version           display version information and exit
                   1342:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1343:       --cache-file=FILE   cache test results in FILE [disabled]
                   1344:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1345:   -n, --no-create         do not create output files
                   1346:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1.9       ohara    1347:
1.10      ohara    1348: Installation directories:
                   1349:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1350:                           [$ac_default_prefix]
                   1351:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1352:                           [PREFIX]
1.9       ohara    1353:
1.10      ohara    1354: By default, \`make install' will install all the files in
                   1355: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1356: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1357: for instance \`--prefix=\$HOME'.
1.9       ohara    1358:
1.10      ohara    1359: For better control, use the options below.
1.9       ohara    1360:
1.10      ohara    1361: Fine tuning of the installation directories:
                   1362:   --bindir=DIR            user executables [EPREFIX/bin]
                   1363:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1364:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1365:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1366:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1367:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1368:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1369:   --includedir=DIR        C header files [PREFIX/include]
                   1370:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1371:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1372:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1373:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1374:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1375:   --mandir=DIR            man documentation [DATAROOTDIR/man]
1.13    ! ohara    1376:   --docdir=DIR            documentation root [DATAROOTDIR/doc/ox_toolkit]
1.10      ohara    1377:   --htmldir=DIR           html documentation [DOCDIR]
                   1378:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1379:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1380:   --psdir=DIR             ps documentation [DOCDIR]
1.9       ohara    1381: _ACEOF
                   1382:
1.10      ohara    1383:   cat <<\_ACEOF
1.9       ohara    1384:
1.10      ohara    1385: Program names:
                   1386:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1387:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1388:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1.9       ohara    1389:
1.10      ohara    1390: X features:
                   1391:   --x-includes=DIR    X include files are in DIR
                   1392:   --x-libraries=DIR   X library files are in DIR
1.9       ohara    1393:
1.10      ohara    1394: System types:
                   1395:   --build=BUILD     configure for building on BUILD [guessed]
                   1396:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1397:   --target=TARGET   configure for building compilers for TARGET [HOST]
1.9       ohara    1398: _ACEOF
1.10      ohara    1399: fi
1.9       ohara    1400:
1.10      ohara    1401: if test -n "$ac_init_help"; then
1.13    ! ohara    1402:   case $ac_init_help in
        !          1403:      short | recursive ) echo "Configuration of ox_toolkit 20150825:";;
        !          1404:    esac
1.10      ohara    1405:   cat <<\_ACEOF
1.9       ohara    1406:
1.10      ohara    1407: Optional Features:
                   1408:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1409:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1410:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.13    ! ohara    1411:   --enable-silent-rules   less verbose build output (undo: "make V=1")
        !          1412:   --disable-silent-rules  verbose build output (undo: "make V=0")
        !          1413:   --enable-maintainer-mode
        !          1414:                           enable make rules and dependencies not useful (and
        !          1415:                           sometimes confusing) to the casual installer
        !          1416:   --enable-dependency-tracking
        !          1417:                           do not reject slow dependency extractors
        !          1418:   --disable-dependency-tracking
        !          1419:                           speeds up one-time build
1.10      ohara    1420:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1421:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1422:   --enable-fast-install[=PKGS]
                   1423:                           optimize for fast installation [default=yes]
                   1424:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.9       ohara    1425:
1.10      ohara    1426: Optional Packages:
                   1427:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1428:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1429:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                   1430:                           both]
1.13    ! ohara    1431:   --with-aix-soname=aix|svr4|both
        !          1432:                           shared library versioning (aka "SONAME") variant to
        !          1433:                           provide on AIX, [default=aix].
1.10      ohara    1434:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.13    ! ohara    1435:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
        !          1436:                           compiler's sysroot if not specified).
1.10      ohara    1437:   --with-x                use the X Window System
1.9       ohara    1438:
1.10      ohara    1439: Some influential environment variables:
                   1440:   CC          C compiler command
                   1441:   CFLAGS      C compiler flags
                   1442:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1443:               nonstandard directory <lib dir>
                   1444:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1445:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1446:               you have headers in a nonstandard directory <include dir>
1.13    ! ohara    1447:   LT_SYS_LIBRARY_PATH
        !          1448:               User-defined run-time library search path.
1.10      ohara    1449:   CPP         C preprocessor
                   1450:   XMKMF       Path to xmkmf, Makefile generator for X Window System
1.9       ohara    1451:
1.10      ohara    1452: Use these variables to override the choices made by `configure' or to help
                   1453: it to find libraries and programs with nonstandard names/locations.
1.9       ohara    1454:
1.10      ohara    1455: Report bugs to the package provider.
                   1456: _ACEOF
                   1457: ac_status=$?
1.9       ohara    1458: fi
                   1459:
1.10      ohara    1460: if test "$ac_init_help" = "recursive"; then
                   1461:   # If there are subdirs, report their specific --help.
                   1462:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1463:     test -d "$ac_dir" ||
                   1464:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1465:       continue
                   1466:     ac_builddir=.
1.9       ohara    1467:
1.10      ohara    1468: case "$ac_dir" in
                   1469: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1470: *)
                   1471:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1472:   # A ".." for each directory in $ac_dir_suffix.
                   1473:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1474:   case $ac_top_builddir_sub in
                   1475:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1476:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1477:   esac ;;
                   1478: esac
                   1479: ac_abs_top_builddir=$ac_pwd
                   1480: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1481: # for backward compatibility:
                   1482: ac_top_builddir=$ac_top_build_prefix
1.9       ohara    1483:
1.10      ohara    1484: case $srcdir in
                   1485:   .)  # We are building in place.
                   1486:     ac_srcdir=.
                   1487:     ac_top_srcdir=$ac_top_builddir_sub
                   1488:     ac_abs_top_srcdir=$ac_pwd ;;
                   1489:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1490:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1491:     ac_top_srcdir=$srcdir
                   1492:     ac_abs_top_srcdir=$srcdir ;;
                   1493:   *) # Relative name.
                   1494:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1495:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1496:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1497: esac
                   1498: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.9       ohara    1499:
1.10      ohara    1500:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1501:     # Check for guested configure.
                   1502:     if test -f "$ac_srcdir/configure.gnu"; then
                   1503:       echo &&
                   1504:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1505:     elif test -f "$ac_srcdir/configure"; then
                   1506:       echo &&
                   1507:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1508:     else
                   1509:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1510:     fi || ac_status=$?
                   1511:     cd "$ac_pwd" || { ac_status=$?; break; }
1.9       ohara    1512:   done
                   1513: fi
                   1514:
1.10      ohara    1515: test -n "$ac_init_help" && exit $ac_status
                   1516: if $ac_init_version; then
                   1517:   cat <<\_ACEOF
1.13    ! ohara    1518: ox_toolkit configure 20150825
        !          1519: generated by GNU Autoconf 2.69
1.9       ohara    1520:
1.13    ! ohara    1521: Copyright (C) 2012 Free Software Foundation, Inc.
1.10      ohara    1522: This configure script is free software; the Free Software Foundation
                   1523: gives unlimited permission to copy, distribute and modify it.
                   1524: _ACEOF
                   1525:   exit
1.9       ohara    1526: fi
                   1527:
1.10      ohara    1528: ## ------------------------ ##
                   1529: ## Autoconf initialization. ##
                   1530: ## ------------------------ ##
                   1531:
                   1532: # ac_fn_c_try_compile LINENO
                   1533: # --------------------------
                   1534: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1535: ac_fn_c_try_compile ()
                   1536: {
                   1537:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1538:   rm -f conftest.$ac_objext
                   1539:   if { { ac_try="$ac_compile"
1.9       ohara    1540: case "(($ac_try" in
                   1541:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1542:   *) ac_try_echo=$ac_try;;
                   1543: esac
1.10      ohara    1544: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1545: $as_echo "$ac_try_echo"; } >&5
                   1546:   (eval "$ac_compile") 2>conftest.err
1.9       ohara    1547:   ac_status=$?
1.10      ohara    1548:   if test -s conftest.err; then
                   1549:     grep -v '^ *+' conftest.err >conftest.er1
                   1550:     cat conftest.er1 >&5
                   1551:     mv -f conftest.er1 conftest.err
                   1552:   fi
                   1553:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1554:   test $ac_status = 0; } && {
                   1555:         test -z "$ac_c_werror_flag" ||
1.9       ohara    1556:         test ! -s conftest.err
1.10      ohara    1557:        } && test -s conftest.$ac_objext; then :
                   1558:   ac_retval=0
1.9       ohara    1559: else
1.10      ohara    1560:   $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1561: sed 's/^/| /' conftest.$ac_ext >&5
                   1562:
1.10      ohara    1563:        ac_retval=1
1.9       ohara    1564: fi
1.13    ! ohara    1565:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.10      ohara    1566:   as_fn_set_status $ac_retval
1.9       ohara    1567:
1.10      ohara    1568: } # ac_fn_c_try_compile
1.9       ohara    1569:
1.10      ohara    1570: # ac_fn_c_try_link LINENO
                   1571: # -----------------------
                   1572: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1573: ac_fn_c_try_link ()
                   1574: {
                   1575:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1576:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1577:   if { { ac_try="$ac_link"
1.9       ohara    1578: case "(($ac_try" in
                   1579:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1580:   *) ac_try_echo=$ac_try;;
                   1581: esac
1.10      ohara    1582: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1583: $as_echo "$ac_try_echo"; } >&5
                   1584:   (eval "$ac_link") 2>conftest.err
1.9       ohara    1585:   ac_status=$?
1.10      ohara    1586:   if test -s conftest.err; then
                   1587:     grep -v '^ *+' conftest.err >conftest.er1
                   1588:     cat conftest.er1 >&5
                   1589:     mv -f conftest.er1 conftest.err
                   1590:   fi
                   1591:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1592:   test $ac_status = 0; } && {
                   1593:         test -z "$ac_c_werror_flag" ||
1.9       ohara    1594:         test ! -s conftest.err
1.10      ohara    1595:        } && test -s conftest$ac_exeext && {
                   1596:         test "$cross_compiling" = yes ||
1.13    ! ohara    1597:         test -x conftest$ac_exeext
1.10      ohara    1598:        }; then :
                   1599:   ac_retval=0
1.9       ohara    1600: else
1.10      ohara    1601:   $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1602: sed 's/^/| /' conftest.$ac_ext >&5
                   1603:
1.10      ohara    1604:        ac_retval=1
1.9       ohara    1605: fi
1.10      ohara    1606:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1607:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1608:   # interfere with the next link command; also delete a directory that is
                   1609:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1610:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.13    ! ohara    1611:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.10      ohara    1612:   as_fn_set_status $ac_retval
1.9       ohara    1613:
1.10      ohara    1614: } # ac_fn_c_try_link
1.9       ohara    1615:
1.10      ohara    1616: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1617: # -------------------------------------------------------
                   1618: # Tests whether HEADER exists and can be compiled using the include files in
                   1619: # INCLUDES, setting the cache variable VAR accordingly.
                   1620: ac_fn_c_check_header_compile ()
                   1621: {
                   1622:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1623:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1624: $as_echo_n "checking for $2... " >&6; }
1.13    ! ohara    1625: if eval \${$3+:} false; then :
1.10      ohara    1626:   $as_echo_n "(cached) " >&6
                   1627: else
                   1628:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1629: /* end confdefs.h.  */
                   1630: $4
                   1631: #include <$2>
                   1632: _ACEOF
                   1633: if ac_fn_c_try_compile "$LINENO"; then :
                   1634:   eval "$3=yes"
                   1635: else
                   1636:   eval "$3=no"
                   1637: fi
                   1638: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    1639: fi
1.10      ohara    1640: eval ac_res=\$$3
                   1641:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1642: $as_echo "$ac_res" >&6; }
1.13    ! ohara    1643:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.9       ohara    1644:
1.10      ohara    1645: } # ac_fn_c_check_header_compile
1.9       ohara    1646:
1.10      ohara    1647: # ac_fn_c_try_cpp LINENO
                   1648: # ----------------------
                   1649: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1650: ac_fn_c_try_cpp ()
                   1651: {
                   1652:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1653:   if { { ac_try="$ac_cpp conftest.$ac_ext"
1.9       ohara    1654: case "(($ac_try" in
                   1655:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1656:   *) ac_try_echo=$ac_try;;
                   1657: esac
1.10      ohara    1658: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1659: $as_echo "$ac_try_echo"; } >&5
                   1660:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1.9       ohara    1661:   ac_status=$?
1.10      ohara    1662:   if test -s conftest.err; then
                   1663:     grep -v '^ *+' conftest.err >conftest.er1
                   1664:     cat conftest.er1 >&5
                   1665:     mv -f conftest.er1 conftest.err
                   1666:   fi
                   1667:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1668:   test $ac_status = 0; } > conftest.i && {
                   1669:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.9       ohara    1670:         test ! -s conftest.err
1.10      ohara    1671:        }; then :
                   1672:   ac_retval=0
1.9       ohara    1673: else
1.10      ohara    1674:   $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1675: sed 's/^/| /' conftest.$ac_ext >&5
                   1676:
1.10      ohara    1677:     ac_retval=1
1.9       ohara    1678: fi
1.13    ! ohara    1679:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.10      ohara    1680:   as_fn_set_status $ac_retval
1.9       ohara    1681:
1.10      ohara    1682: } # ac_fn_c_try_cpp
1.9       ohara    1683:
1.10      ohara    1684: # ac_fn_c_try_run LINENO
                   1685: # ----------------------
                   1686: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1687: # that executables *can* be run.
                   1688: ac_fn_c_try_run ()
                   1689: {
                   1690:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1691:   if { { ac_try="$ac_link"
1.9       ohara    1692: case "(($ac_try" in
                   1693:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1694:   *) ac_try_echo=$ac_try;;
                   1695: esac
1.10      ohara    1696: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1697: $as_echo "$ac_try_echo"; } >&5
                   1698:   (eval "$ac_link") 2>&5
                   1699:   ac_status=$?
                   1700:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1701:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1702:   { { case "(($ac_try" in
                   1703:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1704:   *) ac_try_echo=$ac_try;;
                   1705: esac
                   1706: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1707: $as_echo "$ac_try_echo"; } >&5
                   1708:   (eval "$ac_try") 2>&5
1.9       ohara    1709:   ac_status=$?
1.10      ohara    1710:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1711:   test $ac_status = 0; }; }; then :
                   1712:   ac_retval=0
1.9       ohara    1713: else
1.10      ohara    1714:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1715:        $as_echo "$as_me: failed program was:" >&5
1.9       ohara    1716: sed 's/^/| /' conftest.$ac_ext >&5
                   1717:
1.10      ohara    1718:        ac_retval=$ac_status
1.9       ohara    1719: fi
1.10      ohara    1720:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.13    ! ohara    1721:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.10      ohara    1722:   as_fn_set_status $ac_retval
1.9       ohara    1723:
1.10      ohara    1724: } # ac_fn_c_try_run
1.9       ohara    1725:
1.10      ohara    1726: # ac_fn_c_check_func LINENO FUNC VAR
                   1727: # ----------------------------------
                   1728: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1729: ac_fn_c_check_func ()
                   1730: {
                   1731:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1732:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1733: $as_echo_n "checking for $2... " >&6; }
1.13    ! ohara    1734: if eval \${$3+:} false; then :
1.10      ohara    1735:   $as_echo_n "(cached) " >&6
1.9       ohara    1736: else
1.10      ohara    1737:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1738: /* end confdefs.h.  */
                   1739: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1740:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1741: #define $2 innocuous_$2
1.9       ohara    1742:
1.10      ohara    1743: /* System header to define __stub macros and hopefully few prototypes,
                   1744:     which can conflict with char $2 (); below.
                   1745:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1746:     <limits.h> exists even on freestanding compilers.  */
1.9       ohara    1747:
1.10      ohara    1748: #ifdef __STDC__
                   1749: # include <limits.h>
                   1750: #else
                   1751: # include <assert.h>
                   1752: #endif
1.9       ohara    1753:
1.10      ohara    1754: #undef $2
1.9       ohara    1755:
1.10      ohara    1756: /* Override any GCC internal prototype to avoid an error.
                   1757:    Use char because int might match the return type of a GCC
                   1758:    builtin and then its argument prototype would still apply.  */
                   1759: #ifdef __cplusplus
                   1760: extern "C"
                   1761: #endif
                   1762: char $2 ();
                   1763: /* The GNU C library defines this for functions which it implements
                   1764:     to always fail with ENOSYS.  Some functions are actually named
                   1765:     something starting with __ and the normal name is an alias.  */
                   1766: #if defined __stub_$2 || defined __stub___$2
                   1767: choke me
                   1768: #endif
1.9       ohara    1769:
1.10      ohara    1770: int
                   1771: main ()
                   1772: {
                   1773: return $2 ();
                   1774:   ;
                   1775:   return 0;
                   1776: }
1.9       ohara    1777: _ACEOF
1.10      ohara    1778: if ac_fn_c_try_link "$LINENO"; then :
                   1779:   eval "$3=yes"
1.9       ohara    1780: else
1.10      ohara    1781:   eval "$3=no"
                   1782: fi
                   1783: rm -f core conftest.err conftest.$ac_objext \
                   1784:     conftest$ac_exeext conftest.$ac_ext
                   1785: fi
                   1786: eval ac_res=\$$3
                   1787:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1788: $as_echo "$ac_res" >&6; }
1.13    ! ohara    1789:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.9       ohara    1790:
1.10      ohara    1791: } # ac_fn_c_check_func
1.12      noro     1792:
                   1793: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
                   1794: # --------------------------------------------
                   1795: # Tries to find the compile-time value of EXPR in a program that includes
                   1796: # INCLUDES, setting VAR accordingly. Returns whether the value could be
                   1797: # computed
                   1798: ac_fn_c_compute_int ()
                   1799: {
                   1800:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1801:   if test "$cross_compiling" = yes; then
                   1802:     # Depending upon the size, compute the lo and hi bounds.
                   1803: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1804: /* end confdefs.h.  */
                   1805: $4
                   1806: int
                   1807: main ()
                   1808: {
                   1809: static int test_array [1 - 2 * !(($2) >= 0)];
1.13    ! ohara    1810: test_array [0] = 0;
        !          1811: return test_array [0];
1.12      noro     1812:
                   1813:   ;
                   1814:   return 0;
                   1815: }
                   1816: _ACEOF
                   1817: if ac_fn_c_try_compile "$LINENO"; then :
                   1818:   ac_lo=0 ac_mid=0
                   1819:   while :; do
                   1820:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1821: /* end confdefs.h.  */
                   1822: $4
                   1823: int
                   1824: main ()
                   1825: {
                   1826: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1.13    ! ohara    1827: test_array [0] = 0;
        !          1828: return test_array [0];
1.12      noro     1829:
                   1830:   ;
                   1831:   return 0;
                   1832: }
                   1833: _ACEOF
                   1834: if ac_fn_c_try_compile "$LINENO"; then :
                   1835:   ac_hi=$ac_mid; break
                   1836: else
                   1837:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
                   1838:                        if test $ac_lo -le $ac_mid; then
                   1839:                          ac_lo= ac_hi=
                   1840:                          break
                   1841:                        fi
                   1842:                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
                   1843: fi
                   1844: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1845:   done
                   1846: else
                   1847:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1848: /* end confdefs.h.  */
                   1849: $4
                   1850: int
                   1851: main ()
                   1852: {
                   1853: static int test_array [1 - 2 * !(($2) < 0)];
1.13    ! ohara    1854: test_array [0] = 0;
        !          1855: return test_array [0];
1.12      noro     1856:
                   1857:   ;
                   1858:   return 0;
                   1859: }
                   1860: _ACEOF
                   1861: if ac_fn_c_try_compile "$LINENO"; then :
                   1862:   ac_hi=-1 ac_mid=-1
                   1863:   while :; do
                   1864:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1865: /* end confdefs.h.  */
                   1866: $4
                   1867: int
                   1868: main ()
                   1869: {
                   1870: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1.13    ! ohara    1871: test_array [0] = 0;
        !          1872: return test_array [0];
1.12      noro     1873:
                   1874:   ;
                   1875:   return 0;
                   1876: }
                   1877: _ACEOF
                   1878: if ac_fn_c_try_compile "$LINENO"; then :
                   1879:   ac_lo=$ac_mid; break
                   1880: else
                   1881:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
                   1882:                        if test $ac_mid -le $ac_hi; then
                   1883:                          ac_lo= ac_hi=
                   1884:                          break
                   1885:                        fi
                   1886:                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
                   1887: fi
                   1888: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1889:   done
                   1890: else
                   1891:   ac_lo= ac_hi=
                   1892: fi
                   1893: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1894: fi
                   1895: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1896: # Binary search between lo and hi bounds.
                   1897: while test "x$ac_lo" != "x$ac_hi"; do
                   1898:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
                   1899:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1900: /* end confdefs.h.  */
                   1901: $4
                   1902: int
                   1903: main ()
                   1904: {
                   1905: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1.13    ! ohara    1906: test_array [0] = 0;
        !          1907: return test_array [0];
1.12      noro     1908:
                   1909:   ;
                   1910:   return 0;
                   1911: }
                   1912: _ACEOF
                   1913: if ac_fn_c_try_compile "$LINENO"; then :
                   1914:   ac_hi=$ac_mid
                   1915: else
                   1916:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
                   1917: fi
                   1918: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1919: done
                   1920: case $ac_lo in #((
                   1921: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
                   1922: '') ac_retval=1 ;;
                   1923: esac
                   1924:   else
                   1925:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1926: /* end confdefs.h.  */
                   1927: $4
                   1928: static long int longval () { return $2; }
                   1929: static unsigned long int ulongval () { return $2; }
                   1930: #include <stdio.h>
                   1931: #include <stdlib.h>
                   1932: int
                   1933: main ()
                   1934: {
                   1935:
                   1936:   FILE *f = fopen ("conftest.val", "w");
                   1937:   if (! f)
                   1938:     return 1;
                   1939:   if (($2) < 0)
                   1940:     {
                   1941:       long int i = longval ();
                   1942:       if (i != ($2))
                   1943:        return 1;
                   1944:       fprintf (f, "%ld", i);
                   1945:     }
                   1946:   else
                   1947:     {
                   1948:       unsigned long int i = ulongval ();
                   1949:       if (i != ($2))
                   1950:        return 1;
                   1951:       fprintf (f, "%lu", i);
                   1952:     }
                   1953:   /* Do not output a trailing newline, as this causes \r\n confusion
                   1954:      on some platforms.  */
                   1955:   return ferror (f) || fclose (f) != 0;
                   1956:
                   1957:   ;
                   1958:   return 0;
                   1959: }
                   1960: _ACEOF
                   1961: if ac_fn_c_try_run "$LINENO"; then :
                   1962:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
                   1963: else
                   1964:   ac_retval=1
                   1965: fi
                   1966: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   1967:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   1968: rm -f conftest.val
                   1969:
                   1970:   fi
1.13    ! ohara    1971:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.12      noro     1972:   as_fn_set_status $ac_retval
                   1973:
                   1974: } # ac_fn_c_compute_int
1.10      ohara    1975: cat >config.log <<_ACEOF
                   1976: This file contains any messages produced by compilers while
                   1977: running configure, to aid debugging if configure makes a mistake.
1.9       ohara    1978:
1.13    ! ohara    1979: It was created by ox_toolkit $as_me 20150825, which was
        !          1980: generated by GNU Autoconf 2.69.  Invocation command line was
1.9       ohara    1981:
1.10      ohara    1982:   $ $0 $@
1.9       ohara    1983:
                   1984: _ACEOF
1.10      ohara    1985: exec 5>>config.log
                   1986: {
                   1987: cat <<_ASUNAME
                   1988: ## --------- ##
                   1989: ## Platform. ##
                   1990: ## --------- ##
1.9       ohara    1991:
1.10      ohara    1992: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1993: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1994: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1995: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1996: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.9       ohara    1997:
1.10      ohara    1998: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1999: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.9       ohara    2000:
1.10      ohara    2001: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2002: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2003: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2004: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2005: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2006: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2007: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1.9       ohara    2008:
1.10      ohara    2009: _ASUNAME
1.9       ohara    2010:
1.10      ohara    2011: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2012: for as_dir in $PATH
                   2013: do
                   2014:   IFS=$as_save_IFS
                   2015:   test -z "$as_dir" && as_dir=.
                   2016:     $as_echo "PATH: $as_dir"
                   2017:   done
                   2018: IFS=$as_save_IFS
1.9       ohara    2019:
1.10      ohara    2020: } >&5
1.9       ohara    2021:
1.10      ohara    2022: cat >&5 <<_ACEOF
1.9       ohara    2023:
                   2024:
1.10      ohara    2025: ## ----------- ##
                   2026: ## Core tests. ##
                   2027: ## ----------- ##
1.9       ohara    2028:
1.10      ohara    2029: _ACEOF
1.9       ohara    2030:
                   2031:
1.10      ohara    2032: # Keep a trace of the command line.
                   2033: # Strip out --no-create and --no-recursion so they do not pile up.
                   2034: # Strip out --silent because we don't want to record it for future runs.
                   2035: # Also quote any args containing shell meta-characters.
                   2036: # Make two passes to allow for proper duplicate-argument suppression.
                   2037: ac_configure_args=
                   2038: ac_configure_args0=
                   2039: ac_configure_args1=
                   2040: ac_must_keep_next=false
                   2041: for ac_pass in 1 2
                   2042: do
                   2043:   for ac_arg
                   2044:   do
                   2045:     case $ac_arg in
                   2046:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2047:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2048:     | -silent | --silent | --silen | --sile | --sil)
                   2049:       continue ;;
                   2050:     *\'*)
                   2051:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2052:     esac
                   2053:     case $ac_pass in
                   2054:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2055:     2)
                   2056:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2057:       if test $ac_must_keep_next = true; then
                   2058:        ac_must_keep_next=false # Got value, back to normal.
                   2059:       else
                   2060:        case $ac_arg in
                   2061:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2062:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2063:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2064:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2065:            case "$ac_configure_args0 " in
                   2066:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2067:            esac
                   2068:            ;;
                   2069:          -* ) ac_must_keep_next=true ;;
                   2070:        esac
                   2071:       fi
                   2072:       as_fn_append ac_configure_args " '$ac_arg'"
                   2073:       ;;
                   2074:     esac
                   2075:   done
                   2076: done
                   2077: { ac_configure_args0=; unset ac_configure_args0;}
                   2078: { ac_configure_args1=; unset ac_configure_args1;}
1.9       ohara    2079:
1.10      ohara    2080: # When interrupted or exit'd, cleanup temporary files, and complete
                   2081: # config.log.  We remove comments because anyway the quotes in there
                   2082: # would cause problems or look ugly.
                   2083: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2084: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2085: trap 'exit_status=$?
                   2086:   # Save into config.log some information that might help in debugging.
                   2087:   {
                   2088:     echo
1.9       ohara    2089:
1.10      ohara    2090:     $as_echo "## ---------------- ##
                   2091: ## Cache variables. ##
                   2092: ## ---------------- ##"
                   2093:     echo
                   2094:     # The following way of writing the cache mishandles newlines in values,
                   2095: (
                   2096:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2097:     eval ac_val=\$$ac_var
                   2098:     case $ac_val in #(
                   2099:     *${as_nl}*)
                   2100:       case $ac_var in #(
                   2101:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2102: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2103:       esac
                   2104:       case $ac_var in #(
                   2105:       _ | IFS | as_nl) ;; #(
                   2106:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2107:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2108:       esac ;;
                   2109:     esac
                   2110:   done
                   2111:   (set) 2>&1 |
                   2112:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2113:     *${as_nl}ac_space=\ *)
                   2114:       sed -n \
                   2115:        "s/'\''/'\''\\\\'\'''\''/g;
                   2116:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2117:       ;; #(
                   2118:     *)
                   2119:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2120:       ;;
                   2121:     esac |
                   2122:     sort
                   2123: )
                   2124:     echo
1.9       ohara    2125:
1.10      ohara    2126:     $as_echo "## ----------------- ##
                   2127: ## Output variables. ##
                   2128: ## ----------------- ##"
                   2129:     echo
                   2130:     for ac_var in $ac_subst_vars
                   2131:     do
                   2132:       eval ac_val=\$$ac_var
                   2133:       case $ac_val in
                   2134:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.9       ohara    2135:       esac
1.10      ohara    2136:       $as_echo "$ac_var='\''$ac_val'\''"
                   2137:     done | sort
                   2138:     echo
                   2139:
                   2140:     if test -n "$ac_subst_files"; then
                   2141:       $as_echo "## ------------------- ##
                   2142: ## File substitutions. ##
                   2143: ## ------------------- ##"
                   2144:       echo
                   2145:       for ac_var in $ac_subst_files
                   2146:       do
                   2147:        eval ac_val=\$$ac_var
                   2148:        case $ac_val in
                   2149:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2150:        esac
                   2151:        $as_echo "$ac_var='\''$ac_val'\''"
                   2152:       done | sort
                   2153:       echo
                   2154:     fi
                   2155:
                   2156:     if test -s confdefs.h; then
                   2157:       $as_echo "## ----------- ##
                   2158: ## confdefs.h. ##
                   2159: ## ----------- ##"
                   2160:       echo
                   2161:       cat confdefs.h
                   2162:       echo
1.9       ohara    2163:     fi
1.10      ohara    2164:     test "$ac_signal" != 0 &&
                   2165:       $as_echo "$as_me: caught signal $ac_signal"
                   2166:     $as_echo "$as_me: exit $exit_status"
                   2167:   } >&5
                   2168:   rm -f core *.core core.conftest.* &&
                   2169:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2170:     exit $exit_status
                   2171: ' 0
                   2172: for ac_signal in 1 2 13 15; do
                   2173:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2174: done
                   2175: ac_signal=0
1.9       ohara    2176:
1.10      ohara    2177: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2178: rm -f -r conftest* confdefs.h
1.9       ohara    2179:
1.10      ohara    2180: $as_echo "/* confdefs.h */" > confdefs.h
1.9       ohara    2181:
1.10      ohara    2182: # Predefined preprocessor variables.
1.9       ohara    2183:
1.10      ohara    2184: cat >>confdefs.h <<_ACEOF
                   2185: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2186: _ACEOF
1.9       ohara    2187:
1.10      ohara    2188: cat >>confdefs.h <<_ACEOF
                   2189: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2190: _ACEOF
1.9       ohara    2191:
1.10      ohara    2192: cat >>confdefs.h <<_ACEOF
                   2193: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2194: _ACEOF
1.9       ohara    2195:
1.10      ohara    2196: cat >>confdefs.h <<_ACEOF
                   2197: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2198: _ACEOF
1.9       ohara    2199:
1.10      ohara    2200: cat >>confdefs.h <<_ACEOF
                   2201: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2202: _ACEOF
1.9       ohara    2203:
1.10      ohara    2204: cat >>confdefs.h <<_ACEOF
                   2205: #define PACKAGE_URL "$PACKAGE_URL"
                   2206: _ACEOF
1.9       ohara    2207:
                   2208:
1.10      ohara    2209: # Let the site file select an alternate cache file if it wants to.
                   2210: # Prefer an explicitly selected file to automatically selected ones.
                   2211: ac_site_file1=NONE
                   2212: ac_site_file2=NONE
                   2213: if test -n "$CONFIG_SITE"; then
                   2214:   # We do not want a PATH search for config.site.
                   2215:   case $CONFIG_SITE in #((
                   2216:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2217:     */*) ac_site_file1=$CONFIG_SITE;;
                   2218:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2219:   esac
                   2220: elif test "x$prefix" != xNONE; then
                   2221:   ac_site_file1=$prefix/share/config.site
                   2222:   ac_site_file2=$prefix/etc/config.site
                   2223: else
                   2224:   ac_site_file1=$ac_default_prefix/share/config.site
                   2225:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2226: fi
                   2227: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2228: do
                   2229:   test "x$ac_site_file" = xNONE && continue
                   2230:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2231:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2232: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2233:     sed 's/^/| /' "$ac_site_file" >&5
                   2234:     . "$ac_site_file" \
                   2235:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2236: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2237: as_fn_error $? "failed to load site script $ac_site_file
1.13    ! ohara    2238: See \`config.log' for more details" "$LINENO" 5; }
1.10      ohara    2239:   fi
                   2240: done
1.9       ohara    2241:
1.10      ohara    2242: if test -r "$cache_file"; then
                   2243:   # Some versions of bash will fail to source /dev/null (special files
                   2244:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2245:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2246:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2247: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2248:     case $cache_file in
                   2249:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2250:       *)                      . "./$cache_file";;
                   2251:     esac
1.9       ohara    2252:   fi
1.10      ohara    2253: else
                   2254:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2255: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2256:   >$cache_file
                   2257: fi
                   2258:
                   2259: # Check that the precious variables saved in the cache have kept the same
                   2260: # value.
                   2261: ac_cache_corrupted=false
                   2262: for ac_var in $ac_precious_vars; do
                   2263:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2264:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2265:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2266:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2267:   case $ac_old_set,$ac_new_set in
                   2268:     set,)
                   2269:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2270: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2271:       ac_cache_corrupted=: ;;
                   2272:     ,set)
                   2273:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2274: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2275:       ac_cache_corrupted=: ;;
                   2276:     ,);;
                   2277:     *)
                   2278:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2279:        # differences in whitespace do not lead to failure.
                   2280:        ac_old_val_w=`echo x $ac_old_val`
                   2281:        ac_new_val_w=`echo x $ac_new_val`
                   2282:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2283:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2284: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2285:          ac_cache_corrupted=:
                   2286:        else
                   2287:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2288: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2289:          eval $ac_var=\$ac_old_val
                   2290:        fi
                   2291:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2292: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2293:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2294: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2295:       fi;;
                   2296:   esac
                   2297:   # Pass precious variables to config.status.
                   2298:   if test "$ac_new_set" = set; then
                   2299:     case $ac_new_val in
                   2300:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2301:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2302:     esac
                   2303:     case " $ac_configure_args " in
                   2304:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2305:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2306:     esac
1.9       ohara    2307:   fi
1.10      ohara    2308: done
                   2309: if $ac_cache_corrupted; then
                   2310:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2311: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2312:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2313: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2314:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2315: fi
                   2316: ## -------------------- ##
                   2317: ## Main body of script. ##
                   2318: ## -------------------- ##
1.9       ohara    2319:
1.10      ohara    2320: ac_ext=c
                   2321: ac_cpp='$CPP $CPPFLAGS'
                   2322: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2323: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2324: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    2325:
                   2326:
                   2327:
                   2328:
1.10      ohara    2329: ac_aux_dir=
                   2330: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2331:   if test -f "$ac_dir/install-sh"; then
                   2332:     ac_aux_dir=$ac_dir
                   2333:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2334:     break
                   2335:   elif test -f "$ac_dir/install.sh"; then
                   2336:     ac_aux_dir=$ac_dir
                   2337:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2338:     break
                   2339:   elif test -f "$ac_dir/shtool"; then
                   2340:     ac_aux_dir=$ac_dir
                   2341:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2342:     break
                   2343:   fi
                   2344: done
                   2345: if test -z "$ac_aux_dir"; then
                   2346:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2347: fi
1.9       ohara    2348:
1.10      ohara    2349: # These three variables are undocumented and unsupported,
                   2350: # and are intended to be withdrawn in a future Autoconf release.
                   2351: # They can cause serious problems if a builder's source tree is in a directory
                   2352: # whose full name contains unusual characters.
                   2353: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2354: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2355: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1.9       ohara    2356:
                   2357:
1.13    ! ohara    2358: # Make sure we can run config.sub.
        !          2359: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
        !          2360:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
        !          2361:
        !          2362: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          2363: $as_echo_n "checking build system type... " >&6; }
        !          2364: if ${ac_cv_build+:} false; then :
        !          2365:   $as_echo_n "(cached) " >&6
        !          2366: else
        !          2367:   ac_build_alias=$build_alias
        !          2368: test "x$ac_build_alias" = x &&
        !          2369:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
        !          2370: test "x$ac_build_alias" = x &&
        !          2371:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
        !          2372: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
        !          2373:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
        !          2374:
        !          2375: fi
        !          2376: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
        !          2377: $as_echo "$ac_cv_build" >&6; }
        !          2378: case $ac_cv_build in
        !          2379: *-*-*) ;;
        !          2380: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
        !          2381: esac
        !          2382: build=$ac_cv_build
        !          2383: ac_save_IFS=$IFS; IFS='-'
        !          2384: set x $ac_cv_build
        !          2385: shift
        !          2386: build_cpu=$1
        !          2387: build_vendor=$2
        !          2388: shift; shift
        !          2389: # Remember, the first character of IFS is used to create $*,
        !          2390: # except with old shells:
        !          2391: build_os=$*
        !          2392: IFS=$ac_save_IFS
        !          2393: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
        !          2394:
        !          2395:
        !          2396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
        !          2397: $as_echo_n "checking host system type... " >&6; }
        !          2398: if ${ac_cv_host+:} false; then :
        !          2399:   $as_echo_n "(cached) " >&6
        !          2400: else
        !          2401:   if test "x$host_alias" = x; then
        !          2402:   ac_cv_host=$ac_cv_build
        !          2403: else
        !          2404:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        !          2405:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
        !          2406: fi
        !          2407:
        !          2408: fi
        !          2409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
        !          2410: $as_echo "$ac_cv_host" >&6; }
        !          2411: case $ac_cv_host in
        !          2412: *-*-*) ;;
        !          2413: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
        !          2414: esac
        !          2415: host=$ac_cv_host
        !          2416: ac_save_IFS=$IFS; IFS='-'
        !          2417: set x $ac_cv_host
        !          2418: shift
        !          2419: host_cpu=$1
        !          2420: host_vendor=$2
        !          2421: shift; shift
        !          2422: # Remember, the first character of IFS is used to create $*,
        !          2423: # except with old shells:
        !          2424: host_os=$*
        !          2425: IFS=$ac_save_IFS
        !          2426: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
        !          2427:
        !          2428:
        !          2429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
        !          2430: $as_echo_n "checking target system type... " >&6; }
        !          2431: if ${ac_cv_target+:} false; then :
        !          2432:   $as_echo_n "(cached) " >&6
        !          2433: else
        !          2434:   if test "x$target_alias" = x; then
        !          2435:   ac_cv_target=$ac_cv_host
        !          2436: else
        !          2437:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
        !          2438:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
        !          2439: fi
        !          2440:
        !          2441: fi
        !          2442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
        !          2443: $as_echo "$ac_cv_target" >&6; }
        !          2444: case $ac_cv_target in
        !          2445: *-*-*) ;;
        !          2446: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
        !          2447: esac
        !          2448: target=$ac_cv_target
        !          2449: ac_save_IFS=$IFS; IFS='-'
        !          2450: set x $ac_cv_target
        !          2451: shift
        !          2452: target_cpu=$1
        !          2453: target_vendor=$2
        !          2454: shift; shift
        !          2455: # Remember, the first character of IFS is used to create $*,
        !          2456: # except with old shells:
        !          2457: target_os=$*
        !          2458: IFS=$ac_save_IFS
        !          2459: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
        !          2460:
        !          2461:
        !          2462: # The aliases save the names the user supplied, while $host etc.
        !          2463: # will get canonicalized.
        !          2464: test -n "$target_alias" &&
        !          2465:   test "$program_prefix$program_suffix$program_transform_name" = \
        !          2466:     NONENONEs,x,x, &&
        !          2467:   program_prefix=${target_alias}-
        !          2468: am__api_version='1.15'
        !          2469:
1.10      ohara    2470: # Find a good install program.  We prefer a C program (faster),
                   2471: # so one script is as good as another.  But avoid the broken or
                   2472: # incompatible versions:
                   2473: # SysV /etc/install, /usr/sbin/install
                   2474: # SunOS /usr/etc/install
                   2475: # IRIX /sbin/install
                   2476: # AIX /bin/install
                   2477: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2478: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2479: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2480: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2481: # OS/2's system install, which has a completely different semantic
                   2482: # ./install, which can be erroneously created by make from ./install.sh.
                   2483: # Reject install programs that cannot install multiple files.
                   2484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2485: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2486: if test -z "$INSTALL"; then
1.13    ! ohara    2487: if ${ac_cv_path_install+:} false; then :
1.10      ohara    2488:   $as_echo_n "(cached) " >&6
                   2489: else
                   2490:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2491: for as_dir in $PATH
                   2492: do
                   2493:   IFS=$as_save_IFS
                   2494:   test -z "$as_dir" && as_dir=.
                   2495:     # Account for people who put trailing slashes in PATH elements.
                   2496: case $as_dir/ in #((
                   2497:   ./ | .// | /[cC]/* | \
                   2498:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2499:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2500:   /usr/ucb/* ) ;;
                   2501:   *)
                   2502:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2503:     # Don't use installbsd from OSF since it installs stuff as root
                   2504:     # by default.
                   2505:     for ac_prog in ginstall scoinst install; do
                   2506:       for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    2507:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.10      ohara    2508:          if test $ac_prog = install &&
                   2509:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2510:            # AIX install.  It has an incompatible calling convention.
                   2511:            :
                   2512:          elif test $ac_prog = install &&
                   2513:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2514:            # program-specific install script used by HP pwplus--don't use.
                   2515:            :
                   2516:          else
                   2517:            rm -rf conftest.one conftest.two conftest.dir
                   2518:            echo one > conftest.one
                   2519:            echo two > conftest.two
                   2520:            mkdir conftest.dir
                   2521:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2522:              test -s conftest.one && test -s conftest.two &&
                   2523:              test -s conftest.dir/conftest.one &&
                   2524:              test -s conftest.dir/conftest.two
                   2525:            then
                   2526:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2527:              break 3
                   2528:            fi
1.9       ohara    2529:          fi
                   2530:        fi
1.10      ohara    2531:       done
                   2532:     done
                   2533:     ;;
                   2534: esac
1.9       ohara    2535:
1.10      ohara    2536:   done
                   2537: IFS=$as_save_IFS
1.9       ohara    2538:
1.10      ohara    2539: rm -rf conftest.one conftest.two conftest.dir
1.9       ohara    2540:
                   2541: fi
1.10      ohara    2542:   if test "${ac_cv_path_install+set}" = set; then
                   2543:     INSTALL=$ac_cv_path_install
                   2544:   else
                   2545:     # As a last resort, use the slow shell script.  Don't cache a
                   2546:     # value for INSTALL within a source directory, because that will
                   2547:     # break other packages using the cache if that directory is
                   2548:     # removed, or if the value is a relative name.
                   2549:     INSTALL=$ac_install_sh
                   2550:   fi
1.9       ohara    2551: fi
1.10      ohara    2552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2553: $as_echo "$INSTALL" >&6; }
1.9       ohara    2554:
1.10      ohara    2555: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2556: # It thinks the first close brace ends the variable substitution.
                   2557: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.9       ohara    2558:
1.10      ohara    2559: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.9       ohara    2560:
1.10      ohara    2561: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.9       ohara    2562:
1.10      ohara    2563: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2564: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2565: # Reject unsafe characters in $srcdir or the absolute working directory
                   2566: # name.  Accept space and tab only in the latter.
                   2567: am_lf='
                   2568: '
                   2569: case `pwd` in
                   2570:   *[\\\"\#\$\&\'\`$am_lf]*)
1.13    ! ohara    2571:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.10      ohara    2572: esac
                   2573: case $srcdir in
                   2574:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.13    ! ohara    2575:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.9       ohara    2576: esac
                   2577:
1.13    ! ohara    2578: # Do 'set' in a subshell so we don't clobber the current shell's
1.10      ohara    2579: # arguments.  Must try -L first in case configure is actually a
                   2580: # symlink; some systems play weird games with the mod time of symlinks
                   2581: # (eg FreeBSD returns the mod time of the symlink's containing
                   2582: # directory).
                   2583: if (
1.13    ! ohara    2584:    am_has_slept=no
        !          2585:    for am_try in 1 2; do
        !          2586:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2587:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2588:      if test "$*" = "X"; then
        !          2589:        # -L didn't work.
        !          2590:        set X `ls -t "$srcdir/configure" conftest.file`
        !          2591:      fi
        !          2592:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          2593:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.9       ohara    2594:
1.13    ! ohara    2595:        # If neither matched, then we have a broken ls.  This can happen
        !          2596:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2597:        # broken ls alias from the environment.  This has actually
        !          2598:        # happened.  Such a system could not be considered "sane".
        !          2599:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2600:   alias in your environment" "$LINENO" 5
        !          2601:      fi
        !          2602:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          2603:        break
        !          2604:      fi
        !          2605:      # Just in case.
        !          2606:      sleep 1
        !          2607:      am_has_slept=yes
        !          2608:    done
1.10      ohara    2609:    test "$2" = conftest.file
                   2610:    )
                   2611: then
                   2612:    # Ok.
                   2613:    :
                   2614: else
                   2615:    as_fn_error $? "newly created file is older than distributed files!
                   2616: Check your system clock" "$LINENO" 5
                   2617: fi
                   2618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2619: $as_echo "yes" >&6; }
1.13    ! ohara    2620: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          2621: # generated files are strictly newer.
        !          2622: am_sleep_pid=
        !          2623: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          2624:   ( sleep 1 ) &
        !          2625:   am_sleep_pid=$!
        !          2626: fi
        !          2627:
        !          2628: rm -f conftest.file
        !          2629:
1.10      ohara    2630: test "$program_prefix" != NONE &&
                   2631:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2632: # Use a double $ so make ignores it.
                   2633: test "$program_suffix" != NONE &&
                   2634:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2635: # Double any \ or $.
                   2636: # By default was `s,x,x', remove it if useless.
                   2637: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2638: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.9       ohara    2639:
1.13    ! ohara    2640: # Expand $ac_aux_dir to an absolute path.
        !          2641: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.9       ohara    2642:
1.10      ohara    2643: if test x"${MISSING+set}" != xset; then
                   2644:   case $am_aux_dir in
                   2645:   *\ * | *\    *)
                   2646:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2647:   *)
                   2648:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2649:   esac
                   2650: fi
                   2651: # Use eval to expand $SHELL
1.13    ! ohara    2652: if eval "$MISSING --is-lightweight"; then
        !          2653:   am_missing_run="$MISSING "
1.10      ohara    2654: else
                   2655:   am_missing_run=
1.13    ! ohara    2656:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          2657: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.10      ohara    2658: fi
1.9       ohara    2659:
1.13    ! ohara    2660: if test x"${install_sh+set}" != xset; then
1.10      ohara    2661:   case $am_aux_dir in
                   2662:   *\ * | *\    *)
                   2663:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2664:   *)
                   2665:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2666:   esac
                   2667: fi
1.9       ohara    2668:
1.13    ! ohara    2669: # Installed binaries are usually stripped using 'strip' when the user
        !          2670: # run "make install-strip".  However 'strip' might not be the right
1.10      ohara    2671: # tool to use in cross-compilation environments, therefore Automake
1.13    ! ohara    2672: # will honor the 'STRIP' environment variable to overrule this program.
1.10      ohara    2673: if test "$cross_compiling" != no; then
                   2674:   if test -n "$ac_tool_prefix"; then
                   2675:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2676: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2678: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    2679: if ${ac_cv_prog_STRIP+:} false; then :
1.10      ohara    2680:   $as_echo_n "(cached) " >&6
1.9       ohara    2681: else
1.10      ohara    2682:   if test -n "$STRIP"; then
                   2683:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.9       ohara    2684: else
                   2685: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2686: for as_dir in $PATH
                   2687: do
                   2688:   IFS=$as_save_IFS
                   2689:   test -z "$as_dir" && as_dir=.
1.10      ohara    2690:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    2691:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    2692:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2693:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9       ohara    2694:     break 2
                   2695:   fi
                   2696: done
1.10      ohara    2697:   done
1.9       ohara    2698: IFS=$as_save_IFS
                   2699:
                   2700: fi
                   2701: fi
1.10      ohara    2702: STRIP=$ac_cv_prog_STRIP
                   2703: if test -n "$STRIP"; then
                   2704:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2705: $as_echo "$STRIP" >&6; }
1.9       ohara    2706: else
1.10      ohara    2707:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2708: $as_echo "no" >&6; }
1.9       ohara    2709: fi
                   2710:
                   2711:
                   2712: fi
1.10      ohara    2713: if test -z "$ac_cv_prog_STRIP"; then
                   2714:   ac_ct_STRIP=$STRIP
                   2715:   # Extract the first word of "strip", so it can be a program name with args.
                   2716: set dummy strip; ac_word=$2
                   2717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2718: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    2719: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.10      ohara    2720:   $as_echo_n "(cached) " >&6
1.9       ohara    2721: else
1.10      ohara    2722:   if test -n "$ac_ct_STRIP"; then
                   2723:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.9       ohara    2724: else
                   2725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2726: for as_dir in $PATH
                   2727: do
                   2728:   IFS=$as_save_IFS
                   2729:   test -z "$as_dir" && as_dir=.
1.10      ohara    2730:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    2731:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    2732:     ac_cv_prog_ac_ct_STRIP="strip"
                   2733:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9       ohara    2734:     break 2
                   2735:   fi
                   2736: done
1.10      ohara    2737:   done
1.9       ohara    2738: IFS=$as_save_IFS
                   2739:
                   2740: fi
                   2741: fi
1.10      ohara    2742: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2743: if test -n "$ac_ct_STRIP"; then
                   2744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2745: $as_echo "$ac_ct_STRIP" >&6; }
1.9       ohara    2746: else
1.10      ohara    2747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2748: $as_echo "no" >&6; }
1.9       ohara    2749: fi
                   2750:
1.10      ohara    2751:   if test "x$ac_ct_STRIP" = x; then
                   2752:     STRIP=":"
1.9       ohara    2753:   else
                   2754:     case $cross_compiling:$ac_tool_warned in
                   2755: yes:)
1.10      ohara    2756: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2757: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.9       ohara    2758: ac_tool_warned=yes ;;
                   2759: esac
1.10      ohara    2760:     STRIP=$ac_ct_STRIP
1.9       ohara    2761:   fi
                   2762: else
1.10      ohara    2763:   STRIP="$ac_cv_prog_STRIP"
1.9       ohara    2764: fi
                   2765:
                   2766: fi
1.10      ohara    2767: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.9       ohara    2768:
1.10      ohara    2769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2770: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2771: if test -z "$MKDIR_P"; then
1.13    ! ohara    2772:   if ${ac_cv_path_mkdir+:} false; then :
1.10      ohara    2773:   $as_echo_n "(cached) " >&6
1.9       ohara    2774: else
1.10      ohara    2775:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2776: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1.9       ohara    2777: do
                   2778:   IFS=$as_save_IFS
                   2779:   test -z "$as_dir" && as_dir=.
1.10      ohara    2780:     for ac_prog in mkdir gmkdir; do
                   2781:         for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    2782:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.10      ohara    2783:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2784:             'mkdir (GNU coreutils) '* | \
                   2785:             'mkdir (coreutils) '* | \
                   2786:             'mkdir (fileutils) '4.1*)
                   2787:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2788:               break 3;;
                   2789:           esac
                   2790:         done
                   2791:        done
                   2792:   done
1.9       ohara    2793: IFS=$as_save_IFS
                   2794:
                   2795: fi
                   2796:
1.10      ohara    2797:   test -d ./--version && rmdir ./--version
                   2798:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2799:     MKDIR_P="$ac_cv_path_mkdir -p"
1.9       ohara    2800:   else
1.10      ohara    2801:     # As a last resort, use the slow shell script.  Don't cache a
                   2802:     # value for MKDIR_P within a source directory, because that will
                   2803:     # break other packages using the cache if that directory is
                   2804:     # removed, or if the value is a relative name.
                   2805:     MKDIR_P="$ac_install_sh -d"
1.9       ohara    2806:   fi
                   2807: fi
1.10      ohara    2808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2809: $as_echo "$MKDIR_P" >&6; }
                   2810:
                   2811: for ac_prog in gawk mawk nawk awk
                   2812: do
                   2813:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2814: set dummy $ac_prog; ac_word=$2
                   2815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2816: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    2817: if ${ac_cv_prog_AWK+:} false; then :
1.10      ohara    2818:   $as_echo_n "(cached) " >&6
1.9       ohara    2819: else
1.10      ohara    2820:   if test -n "$AWK"; then
                   2821:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.9       ohara    2822: else
                   2823: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2824: for as_dir in $PATH
                   2825: do
                   2826:   IFS=$as_save_IFS
                   2827:   test -z "$as_dir" && as_dir=.
1.10      ohara    2828:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    2829:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    2830:     ac_cv_prog_AWK="$ac_prog"
                   2831:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9       ohara    2832:     break 2
                   2833:   fi
                   2834: done
1.10      ohara    2835:   done
1.9       ohara    2836: IFS=$as_save_IFS
                   2837:
                   2838: fi
                   2839: fi
1.10      ohara    2840: AWK=$ac_cv_prog_AWK
                   2841: if test -n "$AWK"; then
                   2842:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2843: $as_echo "$AWK" >&6; }
1.9       ohara    2844: else
1.10      ohara    2845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2846: $as_echo "no" >&6; }
1.9       ohara    2847: fi
                   2848:
                   2849:
1.10      ohara    2850:   test -n "$AWK" && break
1.9       ohara    2851: done
                   2852:
1.10      ohara    2853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2854: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2855: set x ${MAKE-make}
                   2856: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.13    ! ohara    2857: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.10      ohara    2858:   $as_echo_n "(cached) " >&6
                   2859: else
                   2860:   cat >conftest.make <<\_ACEOF
                   2861: SHELL = /bin/sh
                   2862: all:
                   2863:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2864: _ACEOF
                   2865: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2866: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2867:   *@@@%%%=?*=@@@%%%*)
                   2868:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2869:   *)
                   2870:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2871: esac
                   2872: rm -f conftest.make
1.9       ohara    2873: fi
1.10      ohara    2874: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2875:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2876: $as_echo "yes" >&6; }
                   2877:   SET_MAKE=
                   2878: else
                   2879:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2880: $as_echo "no" >&6; }
                   2881:   SET_MAKE="MAKE=${MAKE-make}"
1.9       ohara    2882: fi
1.10      ohara    2883:
                   2884: rm -rf .tst 2>/dev/null
                   2885: mkdir .tst 2>/dev/null
                   2886: if test -d .tst; then
                   2887:   am__leading_dot=.
1.9       ohara    2888: else
1.10      ohara    2889:   am__leading_dot=_
                   2890: fi
                   2891: rmdir .tst 2>/dev/null
                   2892:
1.13    ! ohara    2893: # Check whether --enable-silent-rules was given.
        !          2894: if test "${enable_silent_rules+set}" = set; then :
        !          2895:   enableval=$enable_silent_rules;
        !          2896: fi
        !          2897:
        !          2898: case $enable_silent_rules in # (((
        !          2899:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          2900:    no) AM_DEFAULT_VERBOSITY=1;;
        !          2901:     *) AM_DEFAULT_VERBOSITY=1;;
        !          2902: esac
        !          2903: am_make=${MAKE-make}
        !          2904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          2905: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          2906: if ${am_cv_make_support_nested_variables+:} false; then :
        !          2907:   $as_echo_n "(cached) " >&6
        !          2908: else
        !          2909:   if $as_echo 'TRUE=$(BAR$(V))
        !          2910: BAR0=false
        !          2911: BAR1=true
        !          2912: V=1
        !          2913: am__doit:
        !          2914:        @$(TRUE)
        !          2915: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          2916:   am_cv_make_support_nested_variables=yes
        !          2917: else
        !          2918:   am_cv_make_support_nested_variables=no
        !          2919: fi
        !          2920: fi
        !          2921: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          2922: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          2923: if test $am_cv_make_support_nested_variables = yes; then
        !          2924:     AM_V='$(V)'
        !          2925:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          2926: else
        !          2927:   AM_V=$AM_DEFAULT_VERBOSITY
        !          2928:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          2929: fi
        !          2930: AM_BACKSLASH='\'
        !          2931:
1.10      ohara    2932: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2933:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2934:   # is not polluted with repeated "-I."
                   2935:   am__isrc=' -I$(srcdir)'
                   2936:   # test to see if srcdir already configured
                   2937:   if test -f $srcdir/config.status; then
                   2938:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2939:   fi
1.9       ohara    2940: fi
                   2941:
1.10      ohara    2942: # test whether we have cygpath
                   2943: if test -z "$CYGPATH_W"; then
                   2944:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2945:     CYGPATH_W='cygpath -w'
1.9       ohara    2946:   else
1.10      ohara    2947:     CYGPATH_W=echo
1.9       ohara    2948:   fi
                   2949: fi
                   2950:
                   2951:
1.10      ohara    2952: # Define the identity of the package.
1.13    ! ohara    2953:  PACKAGE='ox_toolkit'
        !          2954:  VERSION='20150825'
1.10      ohara    2955:
                   2956:
                   2957: cat >>confdefs.h <<_ACEOF
                   2958: #define PACKAGE "$PACKAGE"
                   2959: _ACEOF
                   2960:
                   2961:
                   2962: cat >>confdefs.h <<_ACEOF
                   2963: #define VERSION "$VERSION"
                   2964: _ACEOF
                   2965:
                   2966: # Some tools Automake needs.
                   2967:
                   2968: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2969:
                   2970:
                   2971: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2972:
                   2973:
                   2974: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2975:
1.9       ohara    2976:
1.10      ohara    2977: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.9       ohara    2978:
                   2979:
1.10      ohara    2980: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.9       ohara    2981:
1.13    ! ohara    2982: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          2983: # dies out for good.  For more background, see:
        !          2984: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          2985: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          2986: mkdir_p='$(MKDIR_P)'
        !          2987:
        !          2988: # We need awk for the "check" target (and possibly the TAP driver).  The
        !          2989: # system "awk" is bad on some platforms.
        !          2990: # Always define AMTAR for backward compatibility.  Yes, it's still used
        !          2991: # in the wild :-(  We should find a proper way to deprecate it ...
        !          2992: AMTAR='$${TAR-tar}'
        !          2993:
        !          2994:
        !          2995: # We'll loop over all known methods to create a tar archive until one works.
        !          2996: _am_tools='gnutar  pax cpio none'
        !          2997:
        !          2998: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.9       ohara    2999:
                   3000:
                   3001:
                   3002:
                   3003:
                   3004:
1.13    ! ohara    3005: # POSIX will say in a future version that running "rm -f" with no argument
        !          3006: # is OK; and we want to be able to make that assumption in our Makefile
        !          3007: # recipes.  So use an aggressive probe to check that the usage we want is
        !          3008: # actually supported "in the wild" to an acceptable degree.
        !          3009: # See automake bug#10828.
        !          3010: # To make any issue more visible, cause the running configure to be aborted
        !          3011: # by default if the 'rm' program in use doesn't match our expectations; the
        !          3012: # user can still override this though.
        !          3013: if rm -f && rm -fr && rm -rf; then : OK; else
        !          3014:   cat >&2 <<'END'
        !          3015: Oops!
        !          3016:
        !          3017: Your 'rm' program seems unable to run without file operands specified
        !          3018: on the command line, even when the '-f' option is present.  This is contrary
        !          3019: to the behaviour of most rm programs out there, and not conforming with
        !          3020: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
        !          3021:
        !          3022: Please tell bug-automake@gnu.org about your system, including the value
        !          3023: of your $PATH and any error possibly output before this message.  This
        !          3024: can help us improve future automake versions.
        !          3025:
        !          3026: END
        !          3027:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
        !          3028:     echo 'Configuration will proceed anyway, since you have set the' >&2
        !          3029:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
        !          3030:     echo >&2
        !          3031:   else
        !          3032:     cat >&2 <<'END'
        !          3033: Aborting the configuration process, to ensure you take notice of the issue.
        !          3034:
        !          3035: You can download and install GNU coreutils to get an 'rm' implementation
        !          3036: that behaves properly: <http://www.gnu.org/software/coreutils/>.
        !          3037:
        !          3038: If you want to complete the configuration process using your problematic
        !          3039: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
        !          3040: to "yes", and re-run configure.
        !          3041:
        !          3042: END
        !          3043:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
        !          3044:   fi
        !          3045: fi
1.9       ohara    3046:
                   3047:
1.10      ohara    3048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   3049: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
                   3050:     # Check whether --enable-maintainer-mode was given.
                   3051: if test "${enable_maintainer_mode+set}" = set; then :
                   3052:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
                   3053: else
                   3054:   USE_MAINTAINER_MODE=no
1.9       ohara    3055: fi
                   3056:
1.10      ohara    3057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
                   3058: $as_echo "$USE_MAINTAINER_MODE" >&6; }
                   3059:    if test $USE_MAINTAINER_MODE = yes; then
                   3060:   MAINTAINER_MODE_TRUE=
                   3061:   MAINTAINER_MODE_FALSE='#'
1.9       ohara    3062: else
1.10      ohara    3063:   MAINTAINER_MODE_TRUE='#'
                   3064:   MAINTAINER_MODE_FALSE=
1.9       ohara    3065: fi
                   3066:
1.10      ohara    3067:   MAINT=$MAINTAINER_MODE_TRUE
                   3068:
                   3069:
1.9       ohara    3070: ac_ext=c
                   3071: ac_cpp='$CPP $CPPFLAGS'
                   3072: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3073: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3074: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      ohara    3075: if test -n "$ac_tool_prefix"; then
                   3076:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3077: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3079: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    3080: if ${ac_cv_prog_CC+:} false; then :
1.10      ohara    3081:   $as_echo_n "(cached) " >&6
                   3082: else
                   3083:   if test -n "$CC"; then
                   3084:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3085: else
                   3086: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3087: for as_dir in $PATH
                   3088: do
                   3089:   IFS=$as_save_IFS
                   3090:   test -z "$as_dir" && as_dir=.
                   3091:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    3092:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    3093:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3094:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3095:     break 2
                   3096:   fi
                   3097: done
                   3098:   done
                   3099: IFS=$as_save_IFS
1.9       ohara    3100:
1.10      ohara    3101: fi
                   3102: fi
                   3103: CC=$ac_cv_prog_CC
                   3104: if test -n "$CC"; then
                   3105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3106: $as_echo "$CC" >&6; }
                   3107: else
                   3108:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3109: $as_echo "no" >&6; }
                   3110: fi
1.9       ohara    3111:
                   3112:
1.10      ohara    3113: fi
                   3114: if test -z "$ac_cv_prog_CC"; then
                   3115:   ac_ct_CC=$CC
                   3116:   # Extract the first word of "gcc", so it can be a program name with args.
                   3117: set dummy gcc; ac_word=$2
                   3118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3119: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    3120: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.10      ohara    3121:   $as_echo_n "(cached) " >&6
                   3122: else
                   3123:   if test -n "$ac_ct_CC"; then
                   3124:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3125: else
                   3126: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3127: for as_dir in $PATH
                   3128: do
                   3129:   IFS=$as_save_IFS
                   3130:   test -z "$as_dir" && as_dir=.
                   3131:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    3132:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    3133:     ac_cv_prog_ac_ct_CC="gcc"
                   3134:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3135:     break 2
                   3136:   fi
                   3137: done
                   3138:   done
                   3139: IFS=$as_save_IFS
1.9       ohara    3140:
1.10      ohara    3141: fi
                   3142: fi
                   3143: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3144: if test -n "$ac_ct_CC"; then
                   3145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3146: $as_echo "$ac_ct_CC" >&6; }
                   3147: else
                   3148:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3149: $as_echo "no" >&6; }
                   3150: fi
1.9       ohara    3151:
1.10      ohara    3152:   if test "x$ac_ct_CC" = x; then
                   3153:     CC=""
                   3154:   else
                   3155:     case $cross_compiling:$ac_tool_warned in
                   3156: yes:)
                   3157: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3158: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3159: ac_tool_warned=yes ;;
                   3160: esac
                   3161:     CC=$ac_ct_CC
                   3162:   fi
                   3163: else
                   3164:   CC="$ac_cv_prog_CC"
                   3165: fi
1.9       ohara    3166:
1.10      ohara    3167: if test -z "$CC"; then
                   3168:           if test -n "$ac_tool_prefix"; then
                   3169:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3170: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3171: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3172: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    3173: if ${ac_cv_prog_CC+:} false; then :
1.10      ohara    3174:   $as_echo_n "(cached) " >&6
                   3175: else
                   3176:   if test -n "$CC"; then
                   3177:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3178: else
                   3179: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3180: for as_dir in $PATH
                   3181: do
                   3182:   IFS=$as_save_IFS
                   3183:   test -z "$as_dir" && as_dir=.
                   3184:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    3185:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    3186:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3187:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3188:     break 2
                   3189:   fi
                   3190: done
                   3191:   done
                   3192: IFS=$as_save_IFS
1.9       ohara    3193:
1.10      ohara    3194: fi
                   3195: fi
                   3196: CC=$ac_cv_prog_CC
                   3197: if test -n "$CC"; then
                   3198:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3199: $as_echo "$CC" >&6; }
                   3200: else
                   3201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3202: $as_echo "no" >&6; }
                   3203: fi
1.9       ohara    3204:
                   3205:
1.10      ohara    3206:   fi
                   3207: fi
                   3208: if test -z "$CC"; then
                   3209:   # Extract the first word of "cc", so it can be a program name with args.
                   3210: set dummy cc; ac_word=$2
                   3211: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3212: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    3213: if ${ac_cv_prog_CC+:} false; then :
1.10      ohara    3214:   $as_echo_n "(cached) " >&6
                   3215: else
                   3216:   if test -n "$CC"; then
                   3217:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.9       ohara    3218: else
1.10      ohara    3219:   ac_prog_rejected=no
                   3220: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3221: for as_dir in $PATH
                   3222: do
                   3223:   IFS=$as_save_IFS
                   3224:   test -z "$as_dir" && as_dir=.
                   3225:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    3226:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    3227:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3228:        ac_prog_rejected=yes
                   3229:        continue
1.9       ohara    3230:      fi
1.10      ohara    3231:     ac_cv_prog_CC="cc"
                   3232:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3233:     break 2
                   3234:   fi
                   3235: done
                   3236:   done
                   3237: IFS=$as_save_IFS
1.9       ohara    3238:
1.10      ohara    3239: if test $ac_prog_rejected = yes; then
                   3240:   # We found a bogon in the path, so make sure we never use it.
                   3241:   set dummy $ac_cv_prog_CC
                   3242:   shift
                   3243:   if test $# != 0; then
                   3244:     # We chose a different compiler from the bogus one.
                   3245:     # However, it has the same basename, so the bogon will be chosen
                   3246:     # first if we set CC to just the basename; use the full file name.
                   3247:     shift
                   3248:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3249:   fi
1.9       ohara    3250: fi
1.10      ohara    3251: fi
                   3252: fi
                   3253: CC=$ac_cv_prog_CC
                   3254: if test -n "$CC"; then
                   3255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3256: $as_echo "$CC" >&6; }
1.9       ohara    3257: else
1.10      ohara    3258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3259: $as_echo "no" >&6; }
1.9       ohara    3260: fi
                   3261:
1.10      ohara    3262:
1.9       ohara    3263: fi
1.10      ohara    3264: if test -z "$CC"; then
                   3265:   if test -n "$ac_tool_prefix"; then
                   3266:   for ac_prog in cl.exe
                   3267:   do
                   3268:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3269: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3271: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    3272: if ${ac_cv_prog_CC+:} false; then :
1.10      ohara    3273:   $as_echo_n "(cached) " >&6
                   3274: else
                   3275:   if test -n "$CC"; then
                   3276:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3277: else
                   3278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3279: for as_dir in $PATH
                   3280: do
                   3281:   IFS=$as_save_IFS
                   3282:   test -z "$as_dir" && as_dir=.
                   3283:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    3284:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    3285:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3286:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3287:     break 2
                   3288:   fi
                   3289: done
                   3290:   done
                   3291: IFS=$as_save_IFS
1.9       ohara    3292:
1.10      ohara    3293: fi
                   3294: fi
                   3295: CC=$ac_cv_prog_CC
                   3296: if test -n "$CC"; then
                   3297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3298: $as_echo "$CC" >&6; }
                   3299: else
                   3300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3301: $as_echo "no" >&6; }
                   3302: fi
1.9       ohara    3303:
                   3304:
1.10      ohara    3305:     test -n "$CC" && break
                   3306:   done
                   3307: fi
                   3308: if test -z "$CC"; then
                   3309:   ac_ct_CC=$CC
                   3310:   for ac_prog in cl.exe
                   3311: do
                   3312:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3313: set dummy $ac_prog; ac_word=$2
                   3314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3315: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    3316: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.10      ohara    3317:   $as_echo_n "(cached) " >&6
                   3318: else
                   3319:   if test -n "$ac_ct_CC"; then
                   3320:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3321: else
                   3322: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3323: for as_dir in $PATH
                   3324: do
                   3325:   IFS=$as_save_IFS
                   3326:   test -z "$as_dir" && as_dir=.
                   3327:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    3328:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    3329:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3330:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3331:     break 2
                   3332:   fi
                   3333: done
                   3334:   done
                   3335: IFS=$as_save_IFS
1.9       ohara    3336:
1.10      ohara    3337: fi
                   3338: fi
                   3339: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3340: if test -n "$ac_ct_CC"; then
                   3341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3342: $as_echo "$ac_ct_CC" >&6; }
                   3343: else
                   3344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3345: $as_echo "no" >&6; }
                   3346: fi
1.9       ohara    3347:
                   3348:
1.10      ohara    3349:   test -n "$ac_ct_CC" && break
                   3350: done
1.9       ohara    3351:
1.10      ohara    3352:   if test "x$ac_ct_CC" = x; then
                   3353:     CC=""
1.9       ohara    3354:   else
1.10      ohara    3355:     case $cross_compiling:$ac_tool_warned in
                   3356: yes:)
                   3357: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3358: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3359: ac_tool_warned=yes ;;
                   3360: esac
                   3361:     CC=$ac_ct_CC
                   3362:   fi
                   3363: fi
1.9       ohara    3364:
1.10      ohara    3365: fi
1.9       ohara    3366:
                   3367:
1.10      ohara    3368: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3369: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3370: as_fn_error $? "no acceptable C compiler found in \$PATH
1.13    ! ohara    3371: See \`config.log' for more details" "$LINENO" 5; }
1.9       ohara    3372:
1.10      ohara    3373: # Provide some information about the compiler.
                   3374: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3375: set X $ac_compile
                   3376: ac_compiler=$2
                   3377: for ac_option in --version -v -V -qversion; do
                   3378:   { { ac_try="$ac_compiler $ac_option >&5"
                   3379: case "(($ac_try" in
                   3380:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3381:   *) ac_try_echo=$ac_try;;
                   3382: esac
                   3383: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3384: $as_echo "$ac_try_echo"; } >&5
                   3385:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3386:   ac_status=$?
                   3387:   if test -s conftest.err; then
                   3388:     sed '10a\
                   3389: ... rest of stderr output deleted ...
                   3390:          10q' conftest.err >conftest.er1
                   3391:     cat conftest.er1 >&5
                   3392:   fi
                   3393:   rm -f conftest.er1 conftest.err
                   3394:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3395:   test $ac_status = 0; }
                   3396: done
1.9       ohara    3397:
1.10      ohara    3398: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3399: /* end confdefs.h.  */
1.9       ohara    3400:
1.10      ohara    3401: int
                   3402: main ()
                   3403: {
1.9       ohara    3404:
1.10      ohara    3405:   ;
                   3406:   return 0;
                   3407: }
                   3408: _ACEOF
                   3409: ac_clean_files_save=$ac_clean_files
                   3410: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3411: # Try to create an executable without -o first, disregard a.out.
                   3412: # It will help us diagnose broken compilers, and finding out an intuition
                   3413: # of exeext.
                   3414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3415: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3416: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.9       ohara    3417:
1.10      ohara    3418: # The possible output files:
                   3419: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1.9       ohara    3420:
1.10      ohara    3421: ac_rmfiles=
                   3422: for ac_file in $ac_files
                   3423: do
                   3424:   case $ac_file in
                   3425:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3426:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3427:   esac
                   3428: done
                   3429: rm -f $ac_rmfiles
1.9       ohara    3430:
1.10      ohara    3431: if { { ac_try="$ac_link_default"
                   3432: case "(($ac_try" in
                   3433:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3434:   *) ac_try_echo=$ac_try;;
                   3435: esac
                   3436: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3437: $as_echo "$ac_try_echo"; } >&5
                   3438:   (eval "$ac_link_default") 2>&5
                   3439:   ac_status=$?
                   3440:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3441:   test $ac_status = 0; }; then :
                   3442:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3443: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3444: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3445: # so that the user can short-circuit this test for compilers unknown to
                   3446: # Autoconf.
                   3447: for ac_file in $ac_files ''
                   3448: do
                   3449:   test -f "$ac_file" || continue
                   3450:   case $ac_file in
                   3451:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3452:        ;;
                   3453:     [ab].out )
                   3454:        # We found the default executable, but exeext='' is most
                   3455:        # certainly right.
                   3456:        break;;
                   3457:     *.* )
                   3458:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3459:        then :; else
                   3460:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3461:        fi
                   3462:        # We set ac_cv_exeext here because the later test for it is not
                   3463:        # safe: cross compilers may not add the suffix if given an `-o'
                   3464:        # argument, so we may need to know it at that point already.
                   3465:        # Even if this section looks crufty: it has the advantage of
                   3466:        # actually working.
                   3467:        break;;
                   3468:     * )
                   3469:        break;;
                   3470:   esac
                   3471: done
                   3472: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.9       ohara    3473:
1.10      ohara    3474: else
                   3475:   ac_file=''
                   3476: fi
                   3477: if test -z "$ac_file"; then :
                   3478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3479: $as_echo "no" >&6; }
                   3480: $as_echo "$as_me: failed program was:" >&5
                   3481: sed 's/^/| /' conftest.$ac_ext >&5
                   3482:
                   3483: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3484: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3485: as_fn_error 77 "C compiler cannot create executables
1.13    ! ohara    3486: See \`config.log' for more details" "$LINENO" 5; }
1.10      ohara    3487: else
                   3488:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3489: $as_echo "yes" >&6; }
                   3490: fi
                   3491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3492: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3494: $as_echo "$ac_file" >&6; }
                   3495: ac_exeext=$ac_cv_exeext
1.9       ohara    3496:
1.10      ohara    3497: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3498: ac_clean_files=$ac_clean_files_save
                   3499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3500: $as_echo_n "checking for suffix of executables... " >&6; }
                   3501: if { { ac_try="$ac_link"
                   3502: case "(($ac_try" in
                   3503:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3504:   *) ac_try_echo=$ac_try;;
                   3505: esac
                   3506: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3507: $as_echo "$ac_try_echo"; } >&5
                   3508:   (eval "$ac_link") 2>&5
                   3509:   ac_status=$?
                   3510:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3511:   test $ac_status = 0; }; then :
                   3512:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3513: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3514: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3515: # `rm'.
                   3516: for ac_file in conftest.exe conftest conftest.*; do
                   3517:   test -f "$ac_file" || continue
                   3518:   case $ac_file in
                   3519:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3520:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3521:          break;;
                   3522:     * ) break;;
                   3523:   esac
                   3524: done
                   3525: else
                   3526:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3527: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3528: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.13    ! ohara    3529: See \`config.log' for more details" "$LINENO" 5; }
1.10      ohara    3530: fi
                   3531: rm -f conftest conftest$ac_cv_exeext
                   3532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3533: $as_echo "$ac_cv_exeext" >&6; }
1.9       ohara    3534:
1.10      ohara    3535: rm -f conftest.$ac_ext
                   3536: EXEEXT=$ac_cv_exeext
                   3537: ac_exeext=$EXEEXT
                   3538: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3539: /* end confdefs.h.  */
                   3540: #include <stdio.h>
                   3541: int
                   3542: main ()
                   3543: {
                   3544: FILE *f = fopen ("conftest.out", "w");
                   3545:  return ferror (f) || fclose (f) != 0;
1.9       ohara    3546:
1.10      ohara    3547:   ;
                   3548:   return 0;
                   3549: }
                   3550: _ACEOF
                   3551: ac_clean_files="$ac_clean_files conftest.out"
                   3552: # Check that the compiler produces executables we can run.  If not, either
                   3553: # the compiler is broken, or we cross compile.
                   3554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3555: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3556: if test "$cross_compiling" != yes; then
                   3557:   { { ac_try="$ac_link"
                   3558: case "(($ac_try" in
                   3559:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3560:   *) ac_try_echo=$ac_try;;
                   3561: esac
                   3562: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3563: $as_echo "$ac_try_echo"; } >&5
                   3564:   (eval "$ac_link") 2>&5
                   3565:   ac_status=$?
                   3566:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3567:   test $ac_status = 0; }
                   3568:   if { ac_try='./conftest$ac_cv_exeext'
                   3569:   { { case "(($ac_try" in
                   3570:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3571:   *) ac_try_echo=$ac_try;;
                   3572: esac
                   3573: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3574: $as_echo "$ac_try_echo"; } >&5
                   3575:   (eval "$ac_try") 2>&5
                   3576:   ac_status=$?
                   3577:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3578:   test $ac_status = 0; }; }; then
                   3579:     cross_compiling=no
                   3580:   else
                   3581:     if test "$cross_compiling" = maybe; then
                   3582:        cross_compiling=yes
                   3583:     else
                   3584:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3585: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3586: as_fn_error $? "cannot run C compiled programs.
                   3587: If you meant to cross compile, use \`--host'.
1.13    ! ohara    3588: See \`config.log' for more details" "$LINENO" 5; }
1.10      ohara    3589:     fi
1.9       ohara    3590:   fi
1.10      ohara    3591: fi
                   3592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3593: $as_echo "$cross_compiling" >&6; }
1.9       ohara    3594:
1.10      ohara    3595: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3596: ac_clean_files=$ac_clean_files_save
                   3597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3598: $as_echo_n "checking for suffix of object files... " >&6; }
1.13    ! ohara    3599: if ${ac_cv_objext+:} false; then :
1.10      ohara    3600:   $as_echo_n "(cached) " >&6
                   3601: else
                   3602:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3603: /* end confdefs.h.  */
1.9       ohara    3604:
1.10      ohara    3605: int
                   3606: main ()
                   3607: {
1.9       ohara    3608:
1.10      ohara    3609:   ;
                   3610:   return 0;
                   3611: }
                   3612: _ACEOF
                   3613: rm -f conftest.o conftest.obj
                   3614: if { { ac_try="$ac_compile"
                   3615: case "(($ac_try" in
                   3616:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3617:   *) ac_try_echo=$ac_try;;
                   3618: esac
                   3619: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3620: $as_echo "$ac_try_echo"; } >&5
                   3621:   (eval "$ac_compile") 2>&5
                   3622:   ac_status=$?
                   3623:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3624:   test $ac_status = 0; }; then :
                   3625:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3626:   test -f "$ac_file" || continue;
                   3627:   case $ac_file in
                   3628:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3629:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3630:        break;;
                   3631:   esac
                   3632: done
                   3633: else
                   3634:   $as_echo "$as_me: failed program was:" >&5
                   3635: sed 's/^/| /' conftest.$ac_ext >&5
1.9       ohara    3636:
1.10      ohara    3637: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3638: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3639: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.13    ! ohara    3640: See \`config.log' for more details" "$LINENO" 5; }
1.9       ohara    3641: fi
1.10      ohara    3642: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3643: fi
                   3644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3645: $as_echo "$ac_cv_objext" >&6; }
                   3646: OBJEXT=$ac_cv_objext
                   3647: ac_objext=$OBJEXT
                   3648: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3649: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.13    ! ohara    3650: if ${ac_cv_c_compiler_gnu+:} false; then :
1.10      ohara    3651:   $as_echo_n "(cached) " >&6
                   3652: else
                   3653:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3654: /* end confdefs.h.  */
                   3655:
                   3656: int
                   3657: main ()
                   3658: {
                   3659: #ifndef __GNUC__
                   3660:        choke me
                   3661: #endif
1.9       ohara    3662:
1.10      ohara    3663:   ;
                   3664:   return 0;
                   3665: }
                   3666: _ACEOF
                   3667: if ac_fn_c_try_compile "$LINENO"; then :
                   3668:   ac_compiler_gnu=yes
1.9       ohara    3669: else
1.10      ohara    3670:   ac_compiler_gnu=no
1.9       ohara    3671: fi
1.10      ohara    3672: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3673: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.9       ohara    3674:
                   3675: fi
1.10      ohara    3676: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3677: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3678: if test $ac_compiler_gnu = yes; then
                   3679:   GCC=yes
                   3680: else
                   3681:   GCC=
                   3682: fi
                   3683: ac_test_CFLAGS=${CFLAGS+set}
                   3684: ac_save_CFLAGS=$CFLAGS
                   3685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3686: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.13    ! ohara    3687: if ${ac_cv_prog_cc_g+:} false; then :
1.10      ohara    3688:   $as_echo_n "(cached) " >&6
1.9       ohara    3689: else
1.10      ohara    3690:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3691:    ac_c_werror_flag=yes
                   3692:    ac_cv_prog_cc_g=no
                   3693:    CFLAGS="-g"
                   3694:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3695: /* end confdefs.h.  */
1.9       ohara    3696:
1.10      ohara    3697: int
                   3698: main ()
                   3699: {
1.9       ohara    3700:
1.10      ohara    3701:   ;
                   3702:   return 0;
                   3703: }
                   3704: _ACEOF
                   3705: if ac_fn_c_try_compile "$LINENO"; then :
                   3706:   ac_cv_prog_cc_g=yes
1.9       ohara    3707: else
1.10      ohara    3708:   CFLAGS=""
                   3709:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3710: /* end confdefs.h.  */
                   3711:
                   3712: int
                   3713: main ()
                   3714: {
1.9       ohara    3715:
1.10      ohara    3716:   ;
                   3717:   return 0;
                   3718: }
                   3719: _ACEOF
                   3720: if ac_fn_c_try_compile "$LINENO"; then :
1.9       ohara    3721:
                   3722: else
1.10      ohara    3723:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3724:         CFLAGS="-g"
                   3725:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3726: /* end confdefs.h.  */
1.9       ohara    3727:
1.10      ohara    3728: int
                   3729: main ()
                   3730: {
1.9       ohara    3731:
1.10      ohara    3732:   ;
                   3733:   return 0;
                   3734: }
                   3735: _ACEOF
                   3736: if ac_fn_c_try_compile "$LINENO"; then :
                   3737:   ac_cv_prog_cc_g=yes
                   3738: fi
                   3739: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3740: fi
                   3741: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    3742: fi
1.10      ohara    3743: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3744:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3745: fi
                   3746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3747: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3748: if test "$ac_test_CFLAGS" = set; then
                   3749:   CFLAGS=$ac_save_CFLAGS
                   3750: elif test $ac_cv_prog_cc_g = yes; then
                   3751:   if test "$GCC" = yes; then
                   3752:     CFLAGS="-g -O2"
                   3753:   else
                   3754:     CFLAGS="-g"
1.9       ohara    3755:   fi
                   3756: else
1.10      ohara    3757:   if test "$GCC" = yes; then
                   3758:     CFLAGS="-O2"
                   3759:   else
                   3760:     CFLAGS=
                   3761:   fi
1.9       ohara    3762: fi
1.10      ohara    3763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3764: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.13    ! ohara    3765: if ${ac_cv_prog_cc_c89+:} false; then :
1.10      ohara    3766:   $as_echo_n "(cached) " >&6
                   3767: else
                   3768:   ac_cv_prog_cc_c89=no
                   3769: ac_save_CC=$CC
                   3770: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3771: /* end confdefs.h.  */
                   3772: #include <stdarg.h>
                   3773: #include <stdio.h>
1.13    ! ohara    3774: struct stat;
1.10      ohara    3775: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3776: struct buf { int x; };
                   3777: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3778: static char *e (p, i)
                   3779:      char **p;
                   3780:      int i;
                   3781: {
                   3782:   return p[i];
                   3783: }
                   3784: static char *f (char * (*g) (char **, int), char **p, ...)
                   3785: {
                   3786:   char *s;
                   3787:   va_list v;
                   3788:   va_start (v,p);
                   3789:   s = g (p, va_arg (v,int));
                   3790:   va_end (v);
                   3791:   return s;
                   3792: }
                   3793:
                   3794: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3795:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3796:    These don't provoke an error unfortunately, instead are silently treated
                   3797:    as 'x'.  The following induces an error, until -std is added to get
                   3798:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3799:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3800:    that's true only with -std.  */
                   3801: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.9       ohara    3802:
1.10      ohara    3803: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3804:    inside strings and character constants.  */
                   3805: #define FOO(x) 'x'
                   3806: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.9       ohara    3807:
1.10      ohara    3808: int test (int i, double x);
                   3809: struct s1 {int (*f) (int a);};
                   3810: struct s2 {int (*f) (double a);};
                   3811: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3812: int argc;
                   3813: char **argv;
                   3814: int
                   3815: main ()
                   3816: {
                   3817: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3818:   ;
                   3819:   return 0;
                   3820: }
                   3821: _ACEOF
                   3822: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3823:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3824: do
                   3825:   CC="$ac_save_CC $ac_arg"
                   3826:   if ac_fn_c_try_compile "$LINENO"; then :
                   3827:   ac_cv_prog_cc_c89=$ac_arg
                   3828: fi
                   3829: rm -f core conftest.err conftest.$ac_objext
                   3830:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.9       ohara    3831: done
1.10      ohara    3832: rm -f conftest.$ac_ext
                   3833: CC=$ac_save_CC
1.9       ohara    3834:
1.10      ohara    3835: fi
                   3836: # AC_CACHE_VAL
                   3837: case "x$ac_cv_prog_cc_c89" in
                   3838:   x)
                   3839:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3840: $as_echo "none needed" >&6; } ;;
                   3841:   xno)
                   3842:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3843: $as_echo "unsupported" >&6; } ;;
                   3844:   *)
                   3845:     CC="$CC $ac_cv_prog_cc_c89"
                   3846:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3847: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3848: esac
                   3849: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.9       ohara    3850:
1.10      ohara    3851: fi
1.9       ohara    3852:
1.10      ohara    3853: ac_ext=c
                   3854: ac_cpp='$CPP $CPPFLAGS'
                   3855: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3856: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3857: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.13    ! ohara    3858:
        !          3859: ac_ext=c
        !          3860: ac_cpp='$CPP $CPPFLAGS'
        !          3861: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3862: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3863: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          3865: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          3866: if ${am_cv_prog_cc_c_o+:} false; then :
        !          3867:   $as_echo_n "(cached) " >&6
        !          3868: else
        !          3869:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3870: /* end confdefs.h.  */
        !          3871:
        !          3872: int
        !          3873: main ()
        !          3874: {
        !          3875:
        !          3876:   ;
        !          3877:   return 0;
        !          3878: }
        !          3879: _ACEOF
        !          3880:   # Make sure it works both with $CC and with simple cc.
        !          3881:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          3882:   # compilers refuse to overwrite an existing .o file with -o,
        !          3883:   # though they will create one.
        !          3884:   am_cv_prog_cc_c_o=yes
        !          3885:   for am_i in 1 2; do
        !          3886:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          3887:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          3888:    ac_status=$?
        !          3889:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3890:    (exit $ac_status); } \
        !          3891:          && test -f conftest2.$ac_objext; then
        !          3892:       : OK
        !          3893:     else
        !          3894:       am_cv_prog_cc_c_o=no
        !          3895:       break
        !          3896:     fi
        !          3897:   done
        !          3898:   rm -f core conftest*
        !          3899:   unset am_i
        !          3900: fi
        !          3901: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          3902: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          3903: if test "$am_cv_prog_cc_c_o" != yes; then
        !          3904:    # Losing compiler, so override with the script.
        !          3905:    # FIXME: It is wrong to rewrite CC.
        !          3906:    # But if we don't then we get into trouble of one sort or another.
        !          3907:    # A longer-term fix would be to have automake use am__CC in this case,
        !          3908:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          3909:    CC="$am_aux_dir/compile $CC"
        !          3910: fi
        !          3911: ac_ext=c
        !          3912: ac_cpp='$CPP $CPPFLAGS'
        !          3913: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3914: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3915: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3916:
1.10      ohara    3917: DEPDIR="${am__leading_dot}deps"
1.9       ohara    3918:
1.10      ohara    3919: ac_config_commands="$ac_config_commands depfiles"
1.9       ohara    3920:
                   3921:
1.10      ohara    3922: am_make=${MAKE-make}
                   3923: cat > confinc << 'END'
                   3924: am__doit:
                   3925:        @echo this is the am__doit target
                   3926: .PHONY: am__doit
                   3927: END
                   3928: # If we don't find an include directive, just comment out the code.
                   3929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3930: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3931: am__include="#"
                   3932: am__quote=
                   3933: _am_result=none
                   3934: # First try GNU make style include.
                   3935: echo "include confinc" > confmf
1.13    ! ohara    3936: # Ignore all kinds of additional output from 'make'.
1.10      ohara    3937: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3938: *the\ am__doit\ target*)
                   3939:   am__include=include
                   3940:   am__quote=
                   3941:   _am_result=GNU
                   3942:   ;;
                   3943: esac
                   3944: # Now try BSD make style include.
                   3945: if test "$am__include" = "#"; then
                   3946:    echo '.include "confinc"' > confmf
                   3947:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3948:    *the\ am__doit\ target*)
                   3949:      am__include=.include
                   3950:      am__quote="\""
                   3951:      _am_result=BSD
                   3952:      ;;
                   3953:    esac
                   3954: fi
1.9       ohara    3955:
                   3956:
1.10      ohara    3957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3958: $as_echo "$_am_result" >&6; }
                   3959: rm -f confinc confmf
1.9       ohara    3960:
1.10      ohara    3961: # Check whether --enable-dependency-tracking was given.
                   3962: if test "${enable_dependency_tracking+set}" = set; then :
                   3963:   enableval=$enable_dependency_tracking;
                   3964: fi
1.9       ohara    3965:
1.10      ohara    3966: if test "x$enable_dependency_tracking" != xno; then
                   3967:   am_depcomp="$ac_aux_dir/depcomp"
                   3968:   AMDEPBACKSLASH='\'
1.13    ! ohara    3969:   am__nodep='_no'
1.10      ohara    3970: fi
                   3971:  if test "x$enable_dependency_tracking" != xno; then
                   3972:   AMDEP_TRUE=
                   3973:   AMDEP_FALSE='#'
                   3974: else
                   3975:   AMDEP_TRUE='#'
                   3976:   AMDEP_FALSE=
                   3977: fi
1.9       ohara    3978:
                   3979:
                   3980:
1.10      ohara    3981: depcc="$CC"   am_compiler_list=
1.9       ohara    3982:
1.10      ohara    3983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3984: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.13    ! ohara    3985: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.10      ohara    3986:   $as_echo_n "(cached) " >&6
                   3987: else
                   3988:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3989:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3990:   # making bogus files that we don't know about and never remove.  For
                   3991:   # instance it was reported that on HP-UX the gcc test will end up
1.13    ! ohara    3992:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          3993:   # in D".
        !          3994:   rm -rf conftest.dir
1.10      ohara    3995:   mkdir conftest.dir
                   3996:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3997:   # using a relative directory.
                   3998:   cp "$am_depcomp" conftest.dir
                   3999:   cd conftest.dir
                   4000:   # We will build objects and dependencies in a subdirectory because
                   4001:   # it helps to detect inapplicable dependency modes.  For instance
                   4002:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4003:   # side effect of compilation, but ICC will put the dependencies in
                   4004:   # the current directory while Tru64 will put them in the object
                   4005:   # directory.
                   4006:   mkdir sub
1.9       ohara    4007:
1.10      ohara    4008:   am_cv_CC_dependencies_compiler_type=none
                   4009:   if test "$am_compiler_list" = ""; then
                   4010:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4011:   fi
                   4012:   am__universal=false
                   4013:   case " $depcc " in #(
                   4014:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4015:      esac
1.9       ohara    4016:
1.10      ohara    4017:   for depmode in $am_compiler_list; do
                   4018:     # Setup a source with many dependencies, because some compilers
                   4019:     # like to wrap large dependency lists on column 80 (with \), and
                   4020:     # we should not choose a depcomp mode which is confused by this.
                   4021:     #
                   4022:     # We need to recreate these files for each test, as the compiler may
                   4023:     # overwrite some of them when testing with obscure command lines.
                   4024:     # This happens at least with the AIX C compiler.
                   4025:     : > sub/conftest.c
                   4026:     for i in 1 2 3 4 5 6; do
                   4027:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.13    ! ohara    4028:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          4029:       # Solaris 10 /bin/sh.
        !          4030:       echo '/* dummy */' > sub/conftst$i.h
1.10      ohara    4031:     done
                   4032:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.9       ohara    4033:
1.13    ! ohara    4034:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.10      ohara    4035:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.13    ! ohara    4036:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          4037:     # versions had trouble with output in subdirs.
1.10      ohara    4038:     am__obj=sub/conftest.${OBJEXT-o}
                   4039:     am__minus_obj="-o $am__obj"
                   4040:     case $depmode in
                   4041:     gcc)
                   4042:       # This depmode causes a compiler race in universal mode.
                   4043:       test "$am__universal" = false || continue
1.9       ohara    4044:       ;;
1.10      ohara    4045:     nosideeffect)
1.13    ! ohara    4046:       # After this tag, mechanisms are not by side-effect, so they'll
        !          4047:       # only be used when explicitly requested.
1.10      ohara    4048:       if test "x$enable_dependency_tracking" = xyes; then
                   4049:        continue
1.9       ohara    4050:       else
1.10      ohara    4051:        break
1.9       ohara    4052:       fi
                   4053:       ;;
1.13    ! ohara    4054:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
        !          4055:       # This compiler won't grok '-c -o', but also, the minuso test has
1.10      ohara    4056:       # not run yet.  These depmodes are late enough in the game, and
                   4057:       # so weak that their functioning should not be impacted.
                   4058:       am__obj=conftest.${OBJEXT-o}
                   4059:       am__minus_obj=
                   4060:       ;;
                   4061:     none) break ;;
1.9       ohara    4062:     esac
1.10      ohara    4063:     if depmode=$depmode \
                   4064:        source=sub/conftest.c object=$am__obj \
                   4065:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4066:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4067:          >/dev/null 2>conftest.err &&
                   4068:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4069:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4070:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4071:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4072:       # icc doesn't choke on unknown options, it will just issue warnings
                   4073:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4074:       # that says an option was ignored or not supported.
                   4075:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4076:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4077:       # The diagnosis changed in icc 8.0:
                   4078:       #   icc: Command line remark: option '-MP' not supported
                   4079:       if (grep 'ignoring option' conftest.err ||
                   4080:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4081:         am_cv_CC_dependencies_compiler_type=$depmode
                   4082:         break
1.9       ohara    4083:       fi
1.10      ohara    4084:     fi
                   4085:   done
1.9       ohara    4086:
1.10      ohara    4087:   cd ..
                   4088:   rm -rf conftest.dir
                   4089: else
                   4090:   am_cv_CC_dependencies_compiler_type=none
                   4091: fi
1.9       ohara    4092:
1.10      ohara    4093: fi
                   4094: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4095: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4096: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.9       ohara    4097:
1.10      ohara    4098:  if
                   4099:   test "x$enable_dependency_tracking" != xno \
                   4100:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4101:   am__fastdepCC_TRUE=
                   4102:   am__fastdepCC_FALSE='#'
                   4103: else
                   4104:   am__fastdepCC_TRUE='#'
                   4105:   am__fastdepCC_FALSE=
                   4106: fi
1.9       ohara    4107:
                   4108:
                   4109:
1.10      ohara    4110: case `pwd` in
                   4111:   *\ * | *\    *)
                   4112:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4113: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.9       ohara    4114: esac
                   4115:
                   4116:
                   4117:
1.13    ! ohara    4118: macro_version='2.4.6'
        !          4119: macro_revision='2.4.6'
1.10      ohara    4120:
                   4121:
1.9       ohara    4122:
                   4123:
                   4124:
                   4125:
                   4126:
                   4127:
                   4128:
                   4129:
                   4130:
                   4131:
                   4132:
1.13    ! ohara    4133: ltmain=$ac_aux_dir/ltmain.sh
1.9       ohara    4134:
1.10      ohara    4135: # Backslashify metacharacters that are still active within
                   4136: # double-quoted strings.
                   4137: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.9       ohara    4138:
1.10      ohara    4139: # Same as above, but do not quote variable references.
                   4140: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.9       ohara    4141:
1.10      ohara    4142: # Sed substitution to delay expansion of an escaped shell variable in a
                   4143: # double_quote_subst'ed string.
                   4144: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.9       ohara    4145:
1.10      ohara    4146: # Sed substitution to delay expansion of an escaped single quote.
                   4147: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.9       ohara    4148:
1.10      ohara    4149: # Sed substitution to avoid accidental globbing in evaled expressions
                   4150: no_glob_subst='s/\*/\\\*/g'
1.9       ohara    4151:
1.10      ohara    4152: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4153: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4154: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   4155:
                   4156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   4157: $as_echo_n "checking how to print strings... " >&6; }
                   4158: # Test print first, because it will be a builtin if present.
                   4159: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4160:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4161:   ECHO='print -r --'
                   4162: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4163:   ECHO='printf %s\n'
                   4164: else
                   4165:   # Use this function as a fallback that always works.
                   4166:   func_fallback_echo ()
                   4167:   {
                   4168:     eval 'cat <<_LTECHO_EOF
                   4169: $1
                   4170: _LTECHO_EOF'
                   4171:   }
                   4172:   ECHO='func_fallback_echo'
                   4173: fi
1.9       ohara    4174:
1.10      ohara    4175: # func_echo_all arg...
                   4176: # Invoke $ECHO with all args, space-separated.
                   4177: func_echo_all ()
                   4178: {
                   4179:     $ECHO ""
                   4180: }
1.9       ohara    4181:
1.13    ! ohara    4182: case $ECHO in
1.10      ohara    4183:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   4184: $as_echo "printf" >&6; } ;;
                   4185:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   4186: $as_echo "print -r" >&6; } ;;
                   4187:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   4188: $as_echo "cat" >&6; } ;;
                   4189: esac
1.9       ohara    4190:
                   4191:
                   4192:
                   4193:
                   4194:
                   4195:
                   4196:
                   4197:
                   4198:
                   4199:
                   4200:
                   4201:
                   4202:
                   4203:
1.10      ohara    4204: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4205: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.13    ! ohara    4206: if ${ac_cv_path_SED+:} false; then :
1.10      ohara    4207:   $as_echo_n "(cached) " >&6
                   4208: else
                   4209:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4210:      for ac_i in 1 2 3 4 5 6 7; do
                   4211:        ac_script="$ac_script$as_nl$ac_script"
                   4212:      done
                   4213:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4214:      { ac_script=; unset ac_script;}
                   4215:      if test -z "$SED"; then
                   4216:   ac_path_SED_found=false
                   4217:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4219: for as_dir in $PATH
                   4220: do
                   4221:   IFS=$as_save_IFS
                   4222:   test -z "$as_dir" && as_dir=.
                   4223:     for ac_prog in sed gsed; do
                   4224:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4225:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.13    ! ohara    4226:       as_fn_executable_p "$ac_path_SED" || continue
1.10      ohara    4227: # Check for GNU ac_path_SED and select it if it is found.
                   4228:   # Check for GNU $ac_path_SED
                   4229: case `"$ac_path_SED" --version 2>&1` in
                   4230: *GNU*)
                   4231:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4232: *)
                   4233:   ac_count=0
                   4234:   $as_echo_n 0123456789 >"conftest.in"
                   4235:   while :
                   4236:   do
                   4237:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4238:     mv "conftest.tmp" "conftest.in"
                   4239:     cp "conftest.in" "conftest.nl"
                   4240:     $as_echo '' >> "conftest.nl"
                   4241:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4242:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4243:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4244:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4245:       # Best one so far, save it but keep looking for a better one
                   4246:       ac_cv_path_SED="$ac_path_SED"
                   4247:       ac_path_SED_max=$ac_count
                   4248:     fi
                   4249:     # 10*(2^10) chars as input seems more than enough
                   4250:     test $ac_count -gt 10 && break
                   4251:   done
                   4252:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4253: esac
1.9       ohara    4254:
1.10      ohara    4255:       $ac_path_SED_found && break 3
                   4256:     done
                   4257:   done
                   4258:   done
                   4259: IFS=$as_save_IFS
                   4260:   if test -z "$ac_cv_path_SED"; then
                   4261:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4262:   fi
                   4263: else
                   4264:   ac_cv_path_SED=$SED
                   4265: fi
1.9       ohara    4266:
1.10      ohara    4267: fi
                   4268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4269: $as_echo "$ac_cv_path_SED" >&6; }
                   4270:  SED="$ac_cv_path_SED"
                   4271:   rm -f conftest.sed
1.9       ohara    4272:
1.10      ohara    4273: test -z "$SED" && SED=sed
                   4274: Xsed="$SED -e 1s/^X//"
1.9       ohara    4275:
                   4276:
                   4277:
                   4278:
                   4279:
                   4280:
                   4281:
                   4282:
                   4283:
                   4284:
                   4285:
1.10      ohara    4286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4287: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.13    ! ohara    4288: if ${ac_cv_path_GREP+:} false; then :
1.10      ohara    4289:   $as_echo_n "(cached) " >&6
                   4290: else
                   4291:   if test -z "$GREP"; then
                   4292:   ac_path_GREP_found=false
                   4293:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4294:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4295: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4296: do
                   4297:   IFS=$as_save_IFS
                   4298:   test -z "$as_dir" && as_dir=.
                   4299:     for ac_prog in grep ggrep; do
                   4300:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4301:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.13    ! ohara    4302:       as_fn_executable_p "$ac_path_GREP" || continue
1.10      ohara    4303: # Check for GNU ac_path_GREP and select it if it is found.
                   4304:   # Check for GNU $ac_path_GREP
                   4305: case `"$ac_path_GREP" --version 2>&1` in
                   4306: *GNU*)
                   4307:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4308: *)
                   4309:   ac_count=0
                   4310:   $as_echo_n 0123456789 >"conftest.in"
                   4311:   while :
                   4312:   do
                   4313:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4314:     mv "conftest.tmp" "conftest.in"
                   4315:     cp "conftest.in" "conftest.nl"
                   4316:     $as_echo 'GREP' >> "conftest.nl"
                   4317:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4318:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4319:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4320:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4321:       # Best one so far, save it but keep looking for a better one
                   4322:       ac_cv_path_GREP="$ac_path_GREP"
                   4323:       ac_path_GREP_max=$ac_count
                   4324:     fi
                   4325:     # 10*(2^10) chars as input seems more than enough
                   4326:     test $ac_count -gt 10 && break
                   4327:   done
                   4328:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4329: esac
1.9       ohara    4330:
1.10      ohara    4331:       $ac_path_GREP_found && break 3
                   4332:     done
                   4333:   done
                   4334:   done
                   4335: IFS=$as_save_IFS
                   4336:   if test -z "$ac_cv_path_GREP"; then
                   4337:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.9       ohara    4338:   fi
                   4339: else
1.10      ohara    4340:   ac_cv_path_GREP=$GREP
1.9       ohara    4341: fi
                   4342:
1.10      ohara    4343: fi
                   4344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4345: $as_echo "$ac_cv_path_GREP" >&6; }
                   4346:  GREP="$ac_cv_path_GREP"
1.9       ohara    4347:
                   4348:
1.10      ohara    4349: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4350: $as_echo_n "checking for egrep... " >&6; }
1.13    ! ohara    4351: if ${ac_cv_path_EGREP+:} false; then :
1.10      ohara    4352:   $as_echo_n "(cached) " >&6
                   4353: else
                   4354:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4355:    then ac_cv_path_EGREP="$GREP -E"
                   4356:    else
                   4357:      if test -z "$EGREP"; then
                   4358:   ac_path_EGREP_found=false
                   4359:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4360:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4361: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4362: do
                   4363:   IFS=$as_save_IFS
                   4364:   test -z "$as_dir" && as_dir=.
                   4365:     for ac_prog in egrep; do
                   4366:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4367:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.13    ! ohara    4368:       as_fn_executable_p "$ac_path_EGREP" || continue
1.10      ohara    4369: # Check for GNU ac_path_EGREP and select it if it is found.
                   4370:   # Check for GNU $ac_path_EGREP
                   4371: case `"$ac_path_EGREP" --version 2>&1` in
                   4372: *GNU*)
                   4373:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4374: *)
                   4375:   ac_count=0
                   4376:   $as_echo_n 0123456789 >"conftest.in"
                   4377:   while :
                   4378:   do
                   4379:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4380:     mv "conftest.tmp" "conftest.in"
                   4381:     cp "conftest.in" "conftest.nl"
                   4382:     $as_echo 'EGREP' >> "conftest.nl"
                   4383:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4384:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4385:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4386:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4387:       # Best one so far, save it but keep looking for a better one
                   4388:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4389:       ac_path_EGREP_max=$ac_count
                   4390:     fi
                   4391:     # 10*(2^10) chars as input seems more than enough
                   4392:     test $ac_count -gt 10 && break
                   4393:   done
                   4394:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4395: esac
1.9       ohara    4396:
1.10      ohara    4397:       $ac_path_EGREP_found && break 3
                   4398:     done
                   4399:   done
                   4400:   done
                   4401: IFS=$as_save_IFS
                   4402:   if test -z "$ac_cv_path_EGREP"; then
                   4403:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.9       ohara    4404:   fi
1.10      ohara    4405: else
                   4406:   ac_cv_path_EGREP=$EGREP
                   4407: fi
1.9       ohara    4408:
1.10      ohara    4409:    fi
                   4410: fi
                   4411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4412: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4413:  EGREP="$ac_cv_path_EGREP"
1.9       ohara    4414:
                   4415:
1.10      ohara    4416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4417: $as_echo_n "checking for fgrep... " >&6; }
1.13    ! ohara    4418: if ${ac_cv_path_FGREP+:} false; then :
1.10      ohara    4419:   $as_echo_n "(cached) " >&6
                   4420: else
                   4421:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4422:    then ac_cv_path_FGREP="$GREP -F"
                   4423:    else
                   4424:      if test -z "$FGREP"; then
                   4425:   ac_path_FGREP_found=false
                   4426:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4427:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4428: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4429: do
                   4430:   IFS=$as_save_IFS
                   4431:   test -z "$as_dir" && as_dir=.
                   4432:     for ac_prog in fgrep; do
                   4433:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4434:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.13    ! ohara    4435:       as_fn_executable_p "$ac_path_FGREP" || continue
1.10      ohara    4436: # Check for GNU ac_path_FGREP and select it if it is found.
                   4437:   # Check for GNU $ac_path_FGREP
                   4438: case `"$ac_path_FGREP" --version 2>&1` in
                   4439: *GNU*)
                   4440:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4441: *)
                   4442:   ac_count=0
                   4443:   $as_echo_n 0123456789 >"conftest.in"
                   4444:   while :
                   4445:   do
                   4446:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4447:     mv "conftest.tmp" "conftest.in"
                   4448:     cp "conftest.in" "conftest.nl"
                   4449:     $as_echo 'FGREP' >> "conftest.nl"
                   4450:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4451:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4452:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4453:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4454:       # Best one so far, save it but keep looking for a better one
                   4455:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4456:       ac_path_FGREP_max=$ac_count
                   4457:     fi
                   4458:     # 10*(2^10) chars as input seems more than enough
                   4459:     test $ac_count -gt 10 && break
                   4460:   done
                   4461:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4462: esac
1.9       ohara    4463:
1.10      ohara    4464:       $ac_path_FGREP_found && break 3
                   4465:     done
                   4466:   done
                   4467:   done
                   4468: IFS=$as_save_IFS
                   4469:   if test -z "$ac_cv_path_FGREP"; then
                   4470:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4471:   fi
                   4472: else
                   4473:   ac_cv_path_FGREP=$FGREP
                   4474: fi
1.9       ohara    4475:
1.10      ohara    4476:    fi
                   4477: fi
                   4478: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4479: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4480:  FGREP="$ac_cv_path_FGREP"
1.9       ohara    4481:
                   4482:
1.10      ohara    4483: test -z "$GREP" && GREP=grep
1.9       ohara    4484:
                   4485:
                   4486:
                   4487:
                   4488:
                   4489:
                   4490:
                   4491:
                   4492:
                   4493:
                   4494:
                   4495:
                   4496:
                   4497:
                   4498:
                   4499:
                   4500:
                   4501:
                   4502:
1.10      ohara    4503: # Check whether --with-gnu-ld was given.
                   4504: if test "${with_gnu_ld+set}" = set; then :
1.13    ! ohara    4505:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
1.10      ohara    4506: else
                   4507:   with_gnu_ld=no
                   4508: fi
1.9       ohara    4509:
1.10      ohara    4510: ac_prog=ld
1.13    ! ohara    4511: if test yes = "$GCC"; then
1.10      ohara    4512:   # Check if gcc -print-prog-name=ld gives a path.
                   4513:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4514: $as_echo_n "checking for ld used by $CC... " >&6; }
                   4515:   case $host in
                   4516:   *-*-mingw*)
1.13    ! ohara    4517:     # gcc leaves a trailing carriage return, which upsets mingw
1.10      ohara    4518:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4519:   *)
                   4520:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4521:   esac
                   4522:   case $ac_prog in
                   4523:     # Accept absolute paths.
                   4524:     [\\/]* | ?:[\\/]*)
                   4525:       re_direlt='/[^/][^/]*/\.\./'
                   4526:       # Canonicalize the pathname of ld
                   4527:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4528:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4529:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4530:       done
1.13    ! ohara    4531:       test -z "$LD" && LD=$ac_prog
1.9       ohara    4532:       ;;
1.10      ohara    4533:   "")
                   4534:     # If it fails, then pretend we aren't using GCC.
                   4535:     ac_prog=ld
                   4536:     ;;
                   4537:   *)
                   4538:     # If it is relative, then search for the first ld in PATH.
                   4539:     with_gnu_ld=unknown
                   4540:     ;;
1.9       ohara    4541:   esac
1.13    ! ohara    4542: elif test yes = "$with_gnu_ld"; then
1.10      ohara    4543:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4544: $as_echo_n "checking for GNU ld... " >&6; }
                   4545: else
                   4546:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4547: $as_echo_n "checking for non-GNU ld... " >&6; }
                   4548: fi
1.13    ! ohara    4549: if ${lt_cv_path_LD+:} false; then :
1.10      ohara    4550:   $as_echo_n "(cached) " >&6
                   4551: else
                   4552:   if test -z "$LD"; then
1.13    ! ohara    4553:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.10      ohara    4554:   for ac_dir in $PATH; do
1.13    ! ohara    4555:     IFS=$lt_save_ifs
1.10      ohara    4556:     test -z "$ac_dir" && ac_dir=.
                   4557:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.13    ! ohara    4558:       lt_cv_path_LD=$ac_dir/$ac_prog
1.10      ohara    4559:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4560:       # but apparently some variants of GNU ld only accept -v.
                   4561:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4562:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4563:       *GNU* | *'with BFD'*)
1.13    ! ohara    4564:        test no != "$with_gnu_ld" && break
1.10      ohara    4565:        ;;
                   4566:       *)
1.13    ! ohara    4567:        test yes != "$with_gnu_ld" && break
1.9       ohara    4568:        ;;
1.10      ohara    4569:       esac
                   4570:     fi
                   4571:   done
1.13    ! ohara    4572:   IFS=$lt_save_ifs
1.10      ohara    4573: else
1.13    ! ohara    4574:   lt_cv_path_LD=$LD # Let the user override the test with a path.
1.10      ohara    4575: fi
                   4576: fi
1.9       ohara    4577:
1.13    ! ohara    4578: LD=$lt_cv_path_LD
1.10      ohara    4579: if test -n "$LD"; then
                   4580:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4581: $as_echo "$LD" >&6; }
                   4582: else
                   4583:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4584: $as_echo "no" >&6; }
                   4585: fi
                   4586: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4587: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4588: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.13    ! ohara    4589: if ${lt_cv_prog_gnu_ld+:} false; then :
1.10      ohara    4590:   $as_echo_n "(cached) " >&6
                   4591: else
                   4592:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4593: case `$LD -v 2>&1 </dev/null` in
                   4594: *GNU* | *'with BFD'*)
                   4595:   lt_cv_prog_gnu_ld=yes
1.9       ohara    4596:   ;;
                   4597: *)
1.10      ohara    4598:   lt_cv_prog_gnu_ld=no
1.9       ohara    4599:   ;;
                   4600: esac
                   4601: fi
1.10      ohara    4602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4603: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   4604: with_gnu_ld=$lt_cv_prog_gnu_ld
1.9       ohara    4605:
                   4606:
                   4607:
                   4608:
                   4609:
                   4610:
                   4611:
                   4612:
                   4613:
1.10      ohara    4614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4615: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.13    ! ohara    4616: if ${lt_cv_path_NM+:} false; then :
1.10      ohara    4617:   $as_echo_n "(cached) " >&6
                   4618: else
                   4619:   if test -n "$NM"; then
                   4620:   # Let the user override the test.
1.13    ! ohara    4621:   lt_cv_path_NM=$NM
1.10      ohara    4622: else
1.13    ! ohara    4623:   lt_nm_to_check=${ac_tool_prefix}nm
1.10      ohara    4624:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4625:     lt_nm_to_check="$lt_nm_to_check nm"
                   4626:   fi
                   4627:   for lt_tmp_nm in $lt_nm_to_check; do
1.13    ! ohara    4628:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.10      ohara    4629:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1.13    ! ohara    4630:       IFS=$lt_save_ifs
1.10      ohara    4631:       test -z "$ac_dir" && ac_dir=.
1.13    ! ohara    4632:       tmp_nm=$ac_dir/$lt_tmp_nm
        !          4633:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
1.10      ohara    4634:        # Check to see if the nm accepts a BSD-compat flag.
1.13    ! ohara    4635:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
1.10      ohara    4636:        #   nm: unknown option "B" ignored
                   4637:        # Tru64's nm complains that /dev/null is an invalid object file
1.13    ! ohara    4638:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
        !          4639:        case $build_os in
        !          4640:        mingw*) lt_bad_file=conftest.nm/nofile ;;
        !          4641:        *) lt_bad_file=/dev/null ;;
        !          4642:        esac
        !          4643:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
        !          4644:        *$lt_bad_file* | *'Invalid file or object type'*)
1.10      ohara    4645:          lt_cv_path_NM="$tmp_nm -B"
1.13    ! ohara    4646:          break 2
1.10      ohara    4647:          ;;
                   4648:        *)
                   4649:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4650:          */dev/null*)
                   4651:            lt_cv_path_NM="$tmp_nm -p"
1.13    ! ohara    4652:            break 2
1.10      ohara    4653:            ;;
                   4654:          *)
                   4655:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4656:            continue # so that we can try to find one that supports BSD flags
                   4657:            ;;
                   4658:          esac
                   4659:          ;;
                   4660:        esac
                   4661:       fi
                   4662:     done
1.13    ! ohara    4663:     IFS=$lt_save_ifs
1.10      ohara    4664:   done
                   4665:   : ${lt_cv_path_NM=no}
                   4666: fi
                   4667: fi
                   4668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   4669: $as_echo "$lt_cv_path_NM" >&6; }
1.13    ! ohara    4670: if test no != "$lt_cv_path_NM"; then
        !          4671:   NM=$lt_cv_path_NM
1.10      ohara    4672: else
                   4673:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4674:   if test -n "$DUMPBIN"; then :
                   4675:     # Let the user override the test.
                   4676:   else
                   4677:     if test -n "$ac_tool_prefix"; then
                   4678:   for ac_prog in dumpbin "link -dump"
                   4679:   do
                   4680:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4681: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4683: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    4684: if ${ac_cv_prog_DUMPBIN+:} false; then :
1.10      ohara    4685:   $as_echo_n "(cached) " >&6
                   4686: else
                   4687:   if test -n "$DUMPBIN"; then
                   4688:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
1.9       ohara    4689: else
1.10      ohara    4690: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4691: for as_dir in $PATH
                   4692: do
                   4693:   IFS=$as_save_IFS
                   4694:   test -z "$as_dir" && as_dir=.
                   4695:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    4696:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    4697:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4698:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4699:     break 2
                   4700:   fi
                   4701: done
                   4702:   done
                   4703: IFS=$as_save_IFS
1.9       ohara    4704:
1.10      ohara    4705: fi
                   4706: fi
                   4707: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4708: if test -n "$DUMPBIN"; then
                   4709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   4710: $as_echo "$DUMPBIN" >&6; }
1.9       ohara    4711: else
1.10      ohara    4712:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4713: $as_echo "no" >&6; }
                   4714: fi
                   4715:
1.9       ohara    4716:
1.10      ohara    4717:     test -n "$DUMPBIN" && break
                   4718:   done
1.9       ohara    4719: fi
1.10      ohara    4720: if test -z "$DUMPBIN"; then
                   4721:   ac_ct_DUMPBIN=$DUMPBIN
                   4722:   for ac_prog in dumpbin "link -dump"
                   4723: do
                   4724:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4725: set dummy $ac_prog; ac_word=$2
                   4726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4727: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    4728: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
1.10      ohara    4729:   $as_echo_n "(cached) " >&6
                   4730: else
                   4731:   if test -n "$ac_ct_DUMPBIN"; then
                   4732:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4733: else
                   4734: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4735: for as_dir in $PATH
                   4736: do
                   4737:   IFS=$as_save_IFS
                   4738:   test -z "$as_dir" && as_dir=.
                   4739:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    4740:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    4741:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4742:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4743:     break 2
                   4744:   fi
                   4745: done
                   4746:   done
                   4747: IFS=$as_save_IFS
1.9       ohara    4748:
                   4749: fi
1.10      ohara    4750: fi
                   4751: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4752: if test -n "$ac_ct_DUMPBIN"; then
                   4753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   4754: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.9       ohara    4755: else
1.10      ohara    4756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4757: $as_echo "no" >&6; }
                   4758: fi
                   4759:
1.9       ohara    4760:
1.10      ohara    4761:   test -n "$ac_ct_DUMPBIN" && break
                   4762: done
1.9       ohara    4763:
1.10      ohara    4764:   if test "x$ac_ct_DUMPBIN" = x; then
                   4765:     DUMPBIN=":"
                   4766:   else
                   4767:     case $cross_compiling:$ac_tool_warned in
                   4768: yes:)
                   4769: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4770: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4771: ac_tool_warned=yes ;;
                   4772: esac
                   4773:     DUMPBIN=$ac_ct_DUMPBIN
                   4774:   fi
1.9       ohara    4775: fi
                   4776:
1.13    ! ohara    4777:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
1.10      ohara    4778:     *COFF*)
1.13    ! ohara    4779:       DUMPBIN="$DUMPBIN -symbols -headers"
1.10      ohara    4780:       ;;
                   4781:     *)
                   4782:       DUMPBIN=:
                   4783:       ;;
                   4784:     esac
                   4785:   fi
1.9       ohara    4786:
1.13    ! ohara    4787:   if test : != "$DUMPBIN"; then
        !          4788:     NM=$DUMPBIN
1.10      ohara    4789:   fi
                   4790: fi
                   4791: test -z "$NM" && NM=nm
1.9       ohara    4792:
                   4793:
                   4794:
                   4795:
                   4796:
                   4797:
1.10      ohara    4798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   4799: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.13    ! ohara    4800: if ${lt_cv_nm_interface+:} false; then :
1.10      ohara    4801:   $as_echo_n "(cached) " >&6
                   4802: else
                   4803:   lt_cv_nm_interface="BSD nm"
                   4804:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4805:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4806:   (eval "$ac_compile" 2>conftest.err)
                   4807:   cat conftest.err >&5
                   4808:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4809:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4810:   cat conftest.err >&5
                   4811:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4812:   cat conftest.out >&5
                   4813:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4814:     lt_cv_nm_interface="MS dumpbin"
                   4815:   fi
                   4816:   rm -f conftest*
1.9       ohara    4817: fi
1.10      ohara    4818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   4819: $as_echo "$lt_cv_nm_interface" >&6; }
1.9       ohara    4820:
1.10      ohara    4821: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   4822: $as_echo_n "checking whether ln -s works... " >&6; }
                   4823: LN_S=$as_ln_s
                   4824: if test "$LN_S" = "ln -s"; then
                   4825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4826: $as_echo "yes" >&6; }
                   4827: else
                   4828:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   4829: $as_echo "no, using $LN_S" >&6; }
1.9       ohara    4830: fi
1.10      ohara    4831:
                   4832: # find the maximum length of command line arguments
                   4833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   4834: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.13    ! ohara    4835: if ${lt_cv_sys_max_cmd_len+:} false; then :
1.10      ohara    4836:   $as_echo_n "(cached) " >&6
1.9       ohara    4837: else
1.10      ohara    4838:     i=0
1.13    ! ohara    4839:   teststring=ABCD
1.10      ohara    4840:
                   4841:   case $build_os in
                   4842:   msdosdjgpp*)
                   4843:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4844:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4845:     # during glob expansion).  Even if it were fixed, the result of this
                   4846:     # check would be larger than it should be.
                   4847:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4848:     ;;
1.9       ohara    4849:
1.10      ohara    4850:   gnu*)
                   4851:     # Under GNU Hurd, this test is not required because there is
                   4852:     # no limit to the length of command line arguments.
                   4853:     # Libtool will interpret -1 as no limit whatsoever
                   4854:     lt_cv_sys_max_cmd_len=-1;
                   4855:     ;;
1.9       ohara    4856:
1.10      ohara    4857:   cygwin* | mingw* | cegcc*)
                   4858:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4859:     # about 5 minutes as the teststring grows exponentially.
                   4860:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4861:     # you end up with a "frozen" computer, even though with patience
                   4862:     # the test eventually succeeds (with a max line length of 256k).
                   4863:     # Instead, let's just punt: use the minimum linelength reported by
                   4864:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4865:     lt_cv_sys_max_cmd_len=8192;
                   4866:     ;;
1.9       ohara    4867:
1.10      ohara    4868:   mint*)
                   4869:     # On MiNT this can take a long time and run out of memory.
                   4870:     lt_cv_sys_max_cmd_len=8192;
                   4871:     ;;
1.9       ohara    4872:
1.10      ohara    4873:   amigaos*)
                   4874:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4875:     # So we just punt and use a minimum line length of 8192.
                   4876:     lt_cv_sys_max_cmd_len=8192;
                   4877:     ;;
1.9       ohara    4878:
1.13    ! ohara    4879:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1.10      ohara    4880:     # This has been around since 386BSD, at least.  Likely further.
                   4881:     if test -x /sbin/sysctl; then
                   4882:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4883:     elif test -x /usr/sbin/sysctl; then
                   4884:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4885:     else
                   4886:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4887:     fi
                   4888:     # And add a safety zone
                   4889:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4890:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4891:     ;;
1.9       ohara    4892:
1.10      ohara    4893:   interix*)
                   4894:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4895:     lt_cv_sys_max_cmd_len=196608
                   4896:     ;;
1.9       ohara    4897:
1.10      ohara    4898:   os2*)
                   4899:     # The test takes a long time on OS/2.
                   4900:     lt_cv_sys_max_cmd_len=8192
                   4901:     ;;
1.9       ohara    4902:
1.10      ohara    4903:   osf*)
                   4904:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4905:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4906:     # nice to cause kernel panics so lets avoid the loop below.
                   4907:     # First set a reasonable default.
                   4908:     lt_cv_sys_max_cmd_len=16384
                   4909:     #
                   4910:     if test -x /sbin/sysconfig; then
                   4911:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4912:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4913:       esac
                   4914:     fi
                   4915:     ;;
                   4916:   sco3.2v5*)
                   4917:     lt_cv_sys_max_cmd_len=102400
                   4918:     ;;
                   4919:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4920:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4921:     if test -n "$kargmax"; then
                   4922:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4923:     else
                   4924:       lt_cv_sys_max_cmd_len=32768
                   4925:     fi
                   4926:     ;;
                   4927:   *)
                   4928:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1.13    ! ohara    4929:     if test -n "$lt_cv_sys_max_cmd_len" && \
        !          4930:        test undefined != "$lt_cv_sys_max_cmd_len"; then
1.10      ohara    4931:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4932:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4933:     else
                   4934:       # Make teststring a little bigger before we do anything with it.
                   4935:       # a 1K string should be a reasonable start.
1.13    ! ohara    4936:       for i in 1 2 3 4 5 6 7 8; do
1.10      ohara    4937:         teststring=$teststring$teststring
                   4938:       done
                   4939:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4940:       # If test is not a shell built-in, we'll probably end up computing a
                   4941:       # maximum length that is only half of the actual maximum length, but
                   4942:       # we can't tell.
1.13    ! ohara    4943:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1.10      ohara    4944:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.13    ! ohara    4945:              test 17 != "$i" # 1/2 MB should be enough
1.10      ohara    4946:       do
                   4947:         i=`expr $i + 1`
                   4948:         teststring=$teststring$teststring
                   4949:       done
                   4950:       # Only check the string length outside the loop.
                   4951:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4952:       teststring=
                   4953:       # Add a significant safety factor because C++ compilers can tack on
                   4954:       # massive amounts of additional arguments before passing them to the
                   4955:       # linker.  It appears as though 1/2 is a usable value.
                   4956:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4957:     fi
                   4958:     ;;
                   4959:   esac
1.9       ohara    4960:
                   4961: fi
                   4962:
1.13    ! ohara    4963: if test -n "$lt_cv_sys_max_cmd_len"; then
1.10      ohara    4964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   4965: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   4966: else
                   4967:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   4968: $as_echo "none" >&6; }
1.9       ohara    4969: fi
1.10      ohara    4970: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4971:
                   4972:
1.9       ohara    4973:
                   4974:
                   4975:
                   4976:
1.10      ohara    4977: : ${CP="cp -f"}
                   4978: : ${MV="mv -f"}
                   4979: : ${RM="rm -f"}
                   4980:
                   4981: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4982:   lt_unset=unset
                   4983: else
                   4984:   lt_unset=false
1.9       ohara    4985: fi
                   4986:
                   4987:
                   4988:
                   4989:
                   4990:
1.10      ohara    4991: # test EBCDIC or ASCII
                   4992: case `echo X|tr X '\101'` in
                   4993:  A) # ASCII based system
                   4994:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4995:   lt_SP2NL='tr \040 \012'
                   4996:   lt_NL2SP='tr \015\012 \040\040'
                   4997:   ;;
                   4998:  *) # EBCDIC based system
                   4999:   lt_SP2NL='tr \100 \n'
                   5000:   lt_NL2SP='tr \r\n \100\100'
                   5001:   ;;
                   5002: esac
1.9       ohara    5003:
                   5004:
                   5005:
                   5006:
                   5007:
                   5008:
                   5009:
                   5010:
                   5011:
1.10      ohara    5012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5013: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
1.13    ! ohara    5014: if ${lt_cv_to_host_file_cmd+:} false; then :
1.10      ohara    5015:   $as_echo_n "(cached) " >&6
                   5016: else
                   5017:   case $host in
                   5018:   *-*-mingw* )
                   5019:     case $build in
                   5020:       *-*-mingw* ) # actually msys
                   5021:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5022:         ;;
                   5023:       *-*-cygwin* )
                   5024:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5025:         ;;
                   5026:       * ) # otherwise, assume *nix
                   5027:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5028:         ;;
                   5029:     esac
                   5030:     ;;
                   5031:   *-*-cygwin* )
                   5032:     case $build in
                   5033:       *-*-mingw* ) # actually msys
                   5034:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5035:         ;;
                   5036:       *-*-cygwin* )
                   5037:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5038:         ;;
                   5039:       * ) # otherwise, assume *nix
                   5040:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5041:         ;;
                   5042:     esac
1.9       ohara    5043:     ;;
1.10      ohara    5044:   * ) # unhandled hosts (and "normal" native builds)
                   5045:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5046:     ;;
                   5047: esac
1.9       ohara    5048:
1.10      ohara    5049: fi
1.9       ohara    5050:
1.10      ohara    5051: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   5052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5053: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.9       ohara    5054:
                   5055:
                   5056:
                   5057:
                   5058:
1.10      ohara    5059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5060: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
1.13    ! ohara    5061: if ${lt_cv_to_tool_file_cmd+:} false; then :
1.10      ohara    5062:   $as_echo_n "(cached) " >&6
                   5063: else
                   5064:   #assume ordinary cross tools, or native build.
                   5065: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5066: case $host in
                   5067:   *-*-mingw* )
                   5068:     case $build in
                   5069:       *-*-mingw* ) # actually msys
                   5070:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5071:         ;;
                   5072:     esac
                   5073:     ;;
                   5074: esac
1.9       ohara    5075:
1.10      ohara    5076: fi
1.9       ohara    5077:
1.10      ohara    5078: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5080: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.9       ohara    5081:
                   5082:
                   5083:
                   5084:
                   5085:
1.10      ohara    5086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5087: $as_echo_n "checking for $LD option to reload object files... " >&6; }
1.13    ! ohara    5088: if ${lt_cv_ld_reload_flag+:} false; then :
1.10      ohara    5089:   $as_echo_n "(cached) " >&6
                   5090: else
                   5091:   lt_cv_ld_reload_flag='-r'
1.9       ohara    5092: fi
1.10      ohara    5093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5094: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5095: reload_flag=$lt_cv_ld_reload_flag
                   5096: case $reload_flag in
                   5097: "" | " "*) ;;
                   5098: *) reload_flag=" $reload_flag" ;;
                   5099: esac
                   5100: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5101: case $host_os in
                   5102:   cygwin* | mingw* | pw32* | cegcc*)
1.13    ! ohara    5103:     if test yes != "$GCC"; then
1.10      ohara    5104:       reload_cmds=false
                   5105:     fi
                   5106:     ;;
                   5107:   darwin*)
1.13    ! ohara    5108:     if test yes = "$GCC"; then
        !          5109:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
1.10      ohara    5110:     else
                   5111:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5112:     fi
                   5113:     ;;
                   5114: esac
1.9       ohara    5115:
                   5116:
                   5117:
                   5118:
                   5119:
                   5120:
                   5121:
                   5122:
                   5123:
1.10      ohara    5124: if test -n "$ac_tool_prefix"; then
                   5125:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5126: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5128: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5129: if ${ac_cv_prog_OBJDUMP+:} false; then :
1.10      ohara    5130:   $as_echo_n "(cached) " >&6
                   5131: else
                   5132:   if test -n "$OBJDUMP"; then
                   5133:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5134: else
                   5135: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5136: for as_dir in $PATH
                   5137: do
                   5138:   IFS=$as_save_IFS
                   5139:   test -z "$as_dir" && as_dir=.
                   5140:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5141:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5142:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5143:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5144:     break 2
1.9       ohara    5145:   fi
1.10      ohara    5146: done
                   5147:   done
                   5148: IFS=$as_save_IFS
                   5149:
                   5150: fi
                   5151: fi
                   5152: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5153: if test -n "$OBJDUMP"; then
                   5154:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5155: $as_echo "$OBJDUMP" >&6; }
                   5156: else
                   5157:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5158: $as_echo "no" >&6; }
1.9       ohara    5159: fi
                   5160:
                   5161:
                   5162: fi
1.10      ohara    5163: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5164:   ac_ct_OBJDUMP=$OBJDUMP
                   5165:   # Extract the first word of "objdump", so it can be a program name with args.
                   5166: set dummy objdump; ac_word=$2
                   5167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5168: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5169: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.10      ohara    5170:   $as_echo_n "(cached) " >&6
                   5171: else
                   5172:   if test -n "$ac_ct_OBJDUMP"; then
                   5173:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5174: else
                   5175: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5176: for as_dir in $PATH
                   5177: do
                   5178:   IFS=$as_save_IFS
                   5179:   test -z "$as_dir" && as_dir=.
                   5180:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5181:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5182:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5183:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5184:     break 2
                   5185:   fi
                   5186: done
                   5187:   done
                   5188: IFS=$as_save_IFS
1.9       ohara    5189:
1.10      ohara    5190: fi
                   5191: fi
                   5192: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5193: if test -n "$ac_ct_OBJDUMP"; then
                   5194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5195: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5196: else
                   5197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5198: $as_echo "no" >&6; }
                   5199: fi
1.9       ohara    5200:
1.10      ohara    5201:   if test "x$ac_ct_OBJDUMP" = x; then
                   5202:     OBJDUMP="false"
                   5203:   else
                   5204:     case $cross_compiling:$ac_tool_warned in
                   5205: yes:)
                   5206: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5207: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5208: ac_tool_warned=yes ;;
                   5209: esac
                   5210:     OBJDUMP=$ac_ct_OBJDUMP
                   5211:   fi
                   5212: else
                   5213:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5214: fi
1.9       ohara    5215:
1.10      ohara    5216: test -z "$OBJDUMP" && OBJDUMP=objdump
1.9       ohara    5217:
                   5218:
                   5219:
                   5220:
                   5221:
                   5222:
                   5223:
                   5224:
                   5225:
1.10      ohara    5226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5227: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.13    ! ohara    5228: if ${lt_cv_deplibs_check_method+:} false; then :
1.10      ohara    5229:   $as_echo_n "(cached) " >&6
                   5230: else
                   5231:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5232: lt_cv_file_magic_test_file=
                   5233: lt_cv_deplibs_check_method='unknown'
                   5234: # Need to set the preceding variable on all platforms that support
                   5235: # interlibrary dependencies.
                   5236: # 'none' -- dependencies not supported.
1.13    ! ohara    5237: # 'unknown' -- same as none, but documents that we really don't know.
1.10      ohara    5238: # 'pass_all' -- all dependencies passed with no checks.
                   5239: # 'test_compile' -- check by making test program.
                   5240: # 'file_magic [[regex]]' -- check by looking for files in library path
1.13    ! ohara    5241: # that responds to the $file_magic_cmd with a given extended regex.
        !          5242: # If you have 'file' or equivalent on your system and you're not sure
        !          5243: # whether 'pass_all' will *always* work, you probably want this one.
1.9       ohara    5244:
1.10      ohara    5245: case $host_os in
                   5246: aix[4-9]*)
                   5247:   lt_cv_deplibs_check_method=pass_all
                   5248:   ;;
1.9       ohara    5249:
1.10      ohara    5250: beos*)
                   5251:   lt_cv_deplibs_check_method=pass_all
                   5252:   ;;
1.9       ohara    5253:
1.10      ohara    5254: bsdi[45]*)
                   5255:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5256:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5257:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5258:   ;;
1.9       ohara    5259:
1.10      ohara    5260: cygwin*)
                   5261:   # func_win32_libid is a shell function defined in ltmain.sh
                   5262:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5263:   lt_cv_file_magic_cmd='func_win32_libid'
                   5264:   ;;
1.9       ohara    5265:
1.10      ohara    5266: mingw* | pw32*)
                   5267:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5268:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5269:   # unless we find 'file', for example because we are cross-compiling.
1.13    ! ohara    5270:   if ( file / ) >/dev/null 2>&1; then
1.10      ohara    5271:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5272:     lt_cv_file_magic_cmd='func_win32_libid'
                   5273:   else
                   5274:     # Keep this pattern in sync with the one in func_win32_libid.
                   5275:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5276:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5277:   fi
                   5278:   ;;
1.9       ohara    5279:
1.10      ohara    5280: cegcc*)
                   5281:   # use the weaker test based on 'objdump'. See mingw*.
                   5282:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5283:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5284:   ;;
1.9       ohara    5285:
1.10      ohara    5286: darwin* | rhapsody*)
                   5287:   lt_cv_deplibs_check_method=pass_all
                   5288:   ;;
1.9       ohara    5289:
1.10      ohara    5290: freebsd* | dragonfly*)
                   5291:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5292:     case $host_cpu in
                   5293:     i*86 )
                   5294:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5295:       # Let's accept both of them until this is cleared up.
                   5296:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5297:       lt_cv_file_magic_cmd=/usr/bin/file
                   5298:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5299:       ;;
                   5300:     esac
                   5301:   else
                   5302:     lt_cv_deplibs_check_method=pass_all
                   5303:   fi
                   5304:   ;;
1.9       ohara    5305:
1.10      ohara    5306: haiku*)
                   5307:   lt_cv_deplibs_check_method=pass_all
                   5308:   ;;
1.9       ohara    5309:
1.10      ohara    5310: hpux10.20* | hpux11*)
                   5311:   lt_cv_file_magic_cmd=/usr/bin/file
                   5312:   case $host_cpu in
                   5313:   ia64*)
                   5314:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5315:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5316:     ;;
                   5317:   hppa*64*)
                   5318:     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]'
                   5319:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5320:     ;;
                   5321:   *)
                   5322:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5323:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5324:     ;;
                   5325:   esac
                   5326:   ;;
1.9       ohara    5327:
1.10      ohara    5328: interix[3-9]*)
                   5329:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5330:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5331:   ;;
1.9       ohara    5332:
1.10      ohara    5333: irix5* | irix6* | nonstopux*)
                   5334:   case $LD in
                   5335:   *-32|*"-32 ") libmagic=32-bit;;
                   5336:   *-n32|*"-n32 ") libmagic=N32;;
                   5337:   *-64|*"-64 ") libmagic=64-bit;;
                   5338:   *) libmagic=never-match;;
                   5339:   esac
                   5340:   lt_cv_deplibs_check_method=pass_all
                   5341:   ;;
1.9       ohara    5342:
1.10      ohara    5343: # This must be glibc/ELF.
1.13    ! ohara    5344: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.10      ohara    5345:   lt_cv_deplibs_check_method=pass_all
                   5346:   ;;
1.9       ohara    5347:
1.10      ohara    5348: netbsd*)
                   5349:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5350:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5351:   else
                   5352:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5353:   fi
                   5354:   ;;
1.9       ohara    5355:
1.10      ohara    5356: newos6*)
                   5357:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5358:   lt_cv_file_magic_cmd=/usr/bin/file
                   5359:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5360:   ;;
1.9       ohara    5361:
1.10      ohara    5362: *nto* | *qnx*)
                   5363:   lt_cv_deplibs_check_method=pass_all
                   5364:   ;;
1.9       ohara    5365:
1.13    ! ohara    5366: openbsd* | bitrig*)
        !          5367:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.10      ohara    5368:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5369:   else
                   5370:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5371:   fi
                   5372:   ;;
1.9       ohara    5373:
1.10      ohara    5374: osf3* | osf4* | osf5*)
                   5375:   lt_cv_deplibs_check_method=pass_all
                   5376:   ;;
1.9       ohara    5377:
1.10      ohara    5378: rdos*)
                   5379:   lt_cv_deplibs_check_method=pass_all
                   5380:   ;;
1.9       ohara    5381:
1.10      ohara    5382: solaris*)
                   5383:   lt_cv_deplibs_check_method=pass_all
                   5384:   ;;
1.9       ohara    5385:
1.10      ohara    5386: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5387:   lt_cv_deplibs_check_method=pass_all
                   5388:   ;;
1.9       ohara    5389:
1.10      ohara    5390: sysv4 | sysv4.3*)
                   5391:   case $host_vendor in
                   5392:   motorola)
                   5393:     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]'
                   5394:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5395:     ;;
                   5396:   ncr)
                   5397:     lt_cv_deplibs_check_method=pass_all
                   5398:     ;;
                   5399:   sequent)
                   5400:     lt_cv_file_magic_cmd='/bin/file'
                   5401:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5402:     ;;
                   5403:   sni)
                   5404:     lt_cv_file_magic_cmd='/bin/file'
                   5405:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5406:     lt_cv_file_magic_test_file=/lib/libc.so
                   5407:     ;;
                   5408:   siemens)
                   5409:     lt_cv_deplibs_check_method=pass_all
                   5410:     ;;
                   5411:   pc)
                   5412:     lt_cv_deplibs_check_method=pass_all
                   5413:     ;;
                   5414:   esac
                   5415:   ;;
1.9       ohara    5416:
1.10      ohara    5417: tpf*)
                   5418:   lt_cv_deplibs_check_method=pass_all
                   5419:   ;;
1.13    ! ohara    5420: os2*)
        !          5421:   lt_cv_deplibs_check_method=pass_all
        !          5422:   ;;
1.10      ohara    5423: esac
1.9       ohara    5424:
1.10      ohara    5425: fi
                   5426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5427: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.9       ohara    5428:
1.10      ohara    5429: file_magic_glob=
                   5430: want_nocaseglob=no
                   5431: if test "$build" = "$host"; then
                   5432:   case $host_os in
                   5433:   mingw* | pw32*)
                   5434:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5435:       want_nocaseglob=yes
                   5436:     else
                   5437:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5438:     fi
                   5439:     ;;
                   5440:   esac
                   5441: fi
1.9       ohara    5442:
1.10      ohara    5443: file_magic_cmd=$lt_cv_file_magic_cmd
                   5444: deplibs_check_method=$lt_cv_deplibs_check_method
                   5445: test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.9       ohara    5446:
                   5447:
                   5448:
                   5449:
                   5450:
                   5451:
                   5452:
                   5453:
                   5454:
                   5455:
                   5456:
                   5457:
                   5458:
                   5459:
                   5460:
                   5461:
                   5462:
                   5463:
                   5464:
                   5465:
                   5466:
                   5467:
1.10      ohara    5468: if test -n "$ac_tool_prefix"; then
                   5469:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5470: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5471: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5472: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5473: if ${ac_cv_prog_DLLTOOL+:} false; then :
1.10      ohara    5474:   $as_echo_n "(cached) " >&6
                   5475: else
                   5476:   if test -n "$DLLTOOL"; then
                   5477:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5478: else
                   5479: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5480: for as_dir in $PATH
                   5481: do
                   5482:   IFS=$as_save_IFS
                   5483:   test -z "$as_dir" && as_dir=.
                   5484:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5485:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5486:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5487:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5488:     break 2
                   5489:   fi
                   5490: done
                   5491:   done
                   5492: IFS=$as_save_IFS
1.9       ohara    5493:
1.10      ohara    5494: fi
                   5495: fi
                   5496: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5497: if test -n "$DLLTOOL"; then
                   5498:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5499: $as_echo "$DLLTOOL" >&6; }
                   5500: else
                   5501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5502: $as_echo "no" >&6; }
                   5503: fi
1.9       ohara    5504:
                   5505:
1.10      ohara    5506: fi
                   5507: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5508:   ac_ct_DLLTOOL=$DLLTOOL
                   5509:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5510: set dummy dlltool; ac_word=$2
                   5511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5512: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5513: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
1.10      ohara    5514:   $as_echo_n "(cached) " >&6
                   5515: else
                   5516:   if test -n "$ac_ct_DLLTOOL"; then
                   5517:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5518: else
                   5519: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5520: for as_dir in $PATH
                   5521: do
                   5522:   IFS=$as_save_IFS
                   5523:   test -z "$as_dir" && as_dir=.
                   5524:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5525:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5526:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5527:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5528:     break 2
                   5529:   fi
                   5530: done
                   5531:   done
                   5532: IFS=$as_save_IFS
1.9       ohara    5533:
1.10      ohara    5534: fi
                   5535: fi
                   5536: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5537: if test -n "$ac_ct_DLLTOOL"; then
                   5538:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5539: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   5540: else
                   5541:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5542: $as_echo "no" >&6; }
                   5543: fi
1.9       ohara    5544:
1.10      ohara    5545:   if test "x$ac_ct_DLLTOOL" = x; then
                   5546:     DLLTOOL="false"
                   5547:   else
                   5548:     case $cross_compiling:$ac_tool_warned in
                   5549: yes:)
                   5550: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5551: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5552: ac_tool_warned=yes ;;
                   5553: esac
                   5554:     DLLTOOL=$ac_ct_DLLTOOL
                   5555:   fi
                   5556: else
                   5557:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5558: fi
1.9       ohara    5559:
1.10      ohara    5560: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.9       ohara    5561:
                   5562:
                   5563:
                   5564:
                   5565:
                   5566:
                   5567:
                   5568:
                   5569:
                   5570:
1.10      ohara    5571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5572: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
1.13    ! ohara    5573: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
1.10      ohara    5574:   $as_echo_n "(cached) " >&6
                   5575: else
                   5576:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.9       ohara    5577:
1.10      ohara    5578: case $host_os in
                   5579: cygwin* | mingw* | pw32* | cegcc*)
1.13    ! ohara    5580:   # two different shell functions defined in ltmain.sh;
        !          5581:   # decide which one to use based on capabilities of $DLLTOOL
1.10      ohara    5582:   case `$DLLTOOL --help 2>&1` in
                   5583:   *--identify-strict*)
                   5584:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5585:     ;;
                   5586:   *)
                   5587:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5588:     ;;
                   5589:   esac
                   5590:   ;;
                   5591: *)
                   5592:   # fallback: assume linklib IS sharedlib
1.13    ! ohara    5593:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
1.10      ohara    5594:   ;;
                   5595: esac
1.9       ohara    5596:
1.10      ohara    5597: fi
                   5598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5599: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   5600: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5601: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.9       ohara    5602:
                   5603:
                   5604:
                   5605:
                   5606:
                   5607:
                   5608:
                   5609:
1.10      ohara    5610: if test -n "$ac_tool_prefix"; then
                   5611:   for ac_prog in ar
                   5612:   do
                   5613:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5614: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5616: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5617: if ${ac_cv_prog_AR+:} false; then :
1.10      ohara    5618:   $as_echo_n "(cached) " >&6
                   5619: else
                   5620:   if test -n "$AR"; then
                   5621:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5622: else
                   5623: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5624: for as_dir in $PATH
                   5625: do
                   5626:   IFS=$as_save_IFS
                   5627:   test -z "$as_dir" && as_dir=.
                   5628:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5629:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5630:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5631:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5632:     break 2
                   5633:   fi
                   5634: done
                   5635:   done
                   5636: IFS=$as_save_IFS
1.9       ohara    5637:
1.10      ohara    5638: fi
                   5639: fi
                   5640: AR=$ac_cv_prog_AR
                   5641: if test -n "$AR"; then
                   5642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   5643: $as_echo "$AR" >&6; }
                   5644: else
                   5645:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5646: $as_echo "no" >&6; }
                   5647: fi
1.9       ohara    5648:
                   5649:
1.10      ohara    5650:     test -n "$AR" && break
                   5651:   done
                   5652: fi
                   5653: if test -z "$AR"; then
                   5654:   ac_ct_AR=$AR
                   5655:   for ac_prog in ar
                   5656: do
                   5657:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5658: set dummy $ac_prog; ac_word=$2
                   5659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5660: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5661: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.10      ohara    5662:   $as_echo_n "(cached) " >&6
                   5663: else
                   5664:   if test -n "$ac_ct_AR"; then
                   5665:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5666: else
                   5667: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5668: for as_dir in $PATH
                   5669: do
                   5670:   IFS=$as_save_IFS
                   5671:   test -z "$as_dir" && as_dir=.
                   5672:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5673:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5674:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5675:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5676:     break 2
                   5677:   fi
                   5678: done
                   5679:   done
                   5680: IFS=$as_save_IFS
1.9       ohara    5681:
1.10      ohara    5682: fi
                   5683: fi
                   5684: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5685: if test -n "$ac_ct_AR"; then
                   5686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   5687: $as_echo "$ac_ct_AR" >&6; }
                   5688: else
                   5689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5690: $as_echo "no" >&6; }
                   5691: fi
1.9       ohara    5692:
                   5693:
1.10      ohara    5694:   test -n "$ac_ct_AR" && break
                   5695: done
1.9       ohara    5696:
1.10      ohara    5697:   if test "x$ac_ct_AR" = x; then
                   5698:     AR="false"
                   5699:   else
                   5700:     case $cross_compiling:$ac_tool_warned in
                   5701: yes:)
                   5702: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5703: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5704: ac_tool_warned=yes ;;
                   5705: esac
                   5706:     AR=$ac_ct_AR
                   5707:   fi
                   5708: fi
1.9       ohara    5709:
1.10      ohara    5710: : ${AR=ar}
                   5711: : ${AR_FLAGS=cru}
1.9       ohara    5712:
                   5713:
                   5714:
                   5715:
                   5716:
                   5717:
                   5718:
                   5719:
                   5720:
                   5721:
                   5722:
1.10      ohara    5723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   5724: $as_echo_n "checking for archiver @FILE support... " >&6; }
1.13    ! ohara    5725: if ${lt_cv_ar_at_file+:} false; then :
1.10      ohara    5726:   $as_echo_n "(cached) " >&6
                   5727: else
                   5728:   lt_cv_ar_at_file=no
                   5729:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5730: /* end confdefs.h.  */
1.9       ohara    5731:
1.10      ohara    5732: int
                   5733: main ()
                   5734: {
1.9       ohara    5735:
1.10      ohara    5736:   ;
                   5737:   return 0;
                   5738: }
                   5739: _ACEOF
                   5740: if ac_fn_c_try_compile "$LINENO"; then :
                   5741:   echo conftest.$ac_objext > conftest.lst
                   5742:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5743:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5744:   (eval $lt_ar_try) 2>&5
                   5745:   ac_status=$?
                   5746:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5747:   test $ac_status = 0; }
1.13    ! ohara    5748:       if test 0 -eq "$ac_status"; then
1.10      ohara    5749:        # Ensure the archiver fails upon bogus file names.
                   5750:        rm -f conftest.$ac_objext libconftest.a
                   5751:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5752:   (eval $lt_ar_try) 2>&5
                   5753:   ac_status=$?
                   5754:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5755:   test $ac_status = 0; }
1.13    ! ohara    5756:        if test 0 -ne "$ac_status"; then
1.10      ohara    5757:           lt_cv_ar_at_file=@
                   5758:         fi
                   5759:       fi
                   5760:       rm -f conftest.* libconftest.a
1.9       ohara    5761:
                   5762: fi
1.10      ohara    5763: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    5764:
1.10      ohara    5765: fi
                   5766: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   5767: $as_echo "$lt_cv_ar_at_file" >&6; }
1.9       ohara    5768:
1.13    ! ohara    5769: if test no = "$lt_cv_ar_at_file"; then
1.10      ohara    5770:   archiver_list_spec=
1.9       ohara    5771: else
1.10      ohara    5772:   archiver_list_spec=$lt_cv_ar_at_file
1.9       ohara    5773: fi
                   5774:
                   5775:
                   5776:
                   5777:
                   5778:
                   5779:
                   5780:
1.10      ohara    5781: if test -n "$ac_tool_prefix"; then
                   5782:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5783: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5785: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5786: if ${ac_cv_prog_STRIP+:} false; then :
1.10      ohara    5787:   $as_echo_n "(cached) " >&6
                   5788: else
                   5789:   if test -n "$STRIP"; then
                   5790:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5791: else
                   5792: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5793: for as_dir in $PATH
                   5794: do
                   5795:   IFS=$as_save_IFS
                   5796:   test -z "$as_dir" && as_dir=.
                   5797:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5798:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5799:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5800:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5801:     break 2
1.9       ohara    5802:   fi
1.10      ohara    5803: done
                   5804:   done
                   5805: IFS=$as_save_IFS
1.9       ohara    5806:
1.10      ohara    5807: fi
                   5808: fi
                   5809: STRIP=$ac_cv_prog_STRIP
                   5810: if test -n "$STRIP"; then
                   5811:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   5812: $as_echo "$STRIP" >&6; }
                   5813: else
                   5814:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5815: $as_echo "no" >&6; }
                   5816: fi
1.9       ohara    5817:
                   5818:
1.10      ohara    5819: fi
                   5820: if test -z "$ac_cv_prog_STRIP"; then
                   5821:   ac_ct_STRIP=$STRIP
                   5822:   # Extract the first word of "strip", so it can be a program name with args.
                   5823: set dummy strip; ac_word=$2
                   5824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5825: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5826: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.10      ohara    5827:   $as_echo_n "(cached) " >&6
                   5828: else
                   5829:   if test -n "$ac_ct_STRIP"; then
                   5830:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5831: else
                   5832: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5833: for as_dir in $PATH
                   5834: do
                   5835:   IFS=$as_save_IFS
                   5836:   test -z "$as_dir" && as_dir=.
                   5837:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5838:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5839:     ac_cv_prog_ac_ct_STRIP="strip"
                   5840:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5841:     break 2
                   5842:   fi
                   5843: done
                   5844:   done
                   5845: IFS=$as_save_IFS
1.9       ohara    5846:
1.10      ohara    5847: fi
                   5848: fi
                   5849: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5850: if test -n "$ac_ct_STRIP"; then
                   5851:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   5852: $as_echo "$ac_ct_STRIP" >&6; }
                   5853: else
                   5854:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5855: $as_echo "no" >&6; }
                   5856: fi
1.9       ohara    5857:
1.10      ohara    5858:   if test "x$ac_ct_STRIP" = x; then
                   5859:     STRIP=":"
                   5860:   else
                   5861:     case $cross_compiling:$ac_tool_warned in
                   5862: yes:)
                   5863: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5864: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5865: ac_tool_warned=yes ;;
                   5866: esac
                   5867:     STRIP=$ac_ct_STRIP
                   5868:   fi
                   5869: else
                   5870:   STRIP="$ac_cv_prog_STRIP"
                   5871: fi
1.9       ohara    5872:
1.10      ohara    5873: test -z "$STRIP" && STRIP=:
1.9       ohara    5874:
                   5875:
                   5876:
                   5877:
                   5878:
                   5879:
1.10      ohara    5880: if test -n "$ac_tool_prefix"; then
                   5881:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5882: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5884: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5885: if ${ac_cv_prog_RANLIB+:} false; then :
1.10      ohara    5886:   $as_echo_n "(cached) " >&6
                   5887: else
                   5888:   if test -n "$RANLIB"; then
                   5889:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5890: else
                   5891: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5892: for as_dir in $PATH
                   5893: do
                   5894:   IFS=$as_save_IFS
                   5895:   test -z "$as_dir" && as_dir=.
                   5896:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5897:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5898:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5899:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5900:     break 2
                   5901:   fi
                   5902: done
                   5903:   done
                   5904: IFS=$as_save_IFS
1.9       ohara    5905:
1.10      ohara    5906: fi
                   5907: fi
                   5908: RANLIB=$ac_cv_prog_RANLIB
                   5909: if test -n "$RANLIB"; then
                   5910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   5911: $as_echo "$RANLIB" >&6; }
                   5912: else
                   5913:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5914: $as_echo "no" >&6; }
                   5915: fi
1.9       ohara    5916:
                   5917:
                   5918: fi
1.10      ohara    5919: if test -z "$ac_cv_prog_RANLIB"; then
                   5920:   ac_ct_RANLIB=$RANLIB
                   5921:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5922: set dummy ranlib; ac_word=$2
                   5923: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5924: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    5925: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.10      ohara    5926:   $as_echo_n "(cached) " >&6
                   5927: else
                   5928:   if test -n "$ac_ct_RANLIB"; then
                   5929:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.9       ohara    5930: else
1.10      ohara    5931: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5932: for as_dir in $PATH
                   5933: do
                   5934:   IFS=$as_save_IFS
                   5935:   test -z "$as_dir" && as_dir=.
                   5936:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    5937:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    5938:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5939:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5940:     break 2
                   5941:   fi
1.9       ohara    5942: done
1.10      ohara    5943:   done
                   5944: IFS=$as_save_IFS
1.9       ohara    5945:
1.10      ohara    5946: fi
                   5947: fi
                   5948: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5949: if test -n "$ac_ct_RANLIB"; then
                   5950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   5951: $as_echo "$ac_ct_RANLIB" >&6; }
                   5952: else
                   5953:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5954: $as_echo "no" >&6; }
                   5955: fi
1.9       ohara    5956:
1.10      ohara    5957:   if test "x$ac_ct_RANLIB" = x; then
                   5958:     RANLIB=":"
                   5959:   else
                   5960:     case $cross_compiling:$ac_tool_warned in
                   5961: yes:)
                   5962: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5963: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5964: ac_tool_warned=yes ;;
                   5965: esac
                   5966:     RANLIB=$ac_ct_RANLIB
                   5967:   fi
1.9       ohara    5968: else
1.10      ohara    5969:   RANLIB="$ac_cv_prog_RANLIB"
1.9       ohara    5970: fi
                   5971:
1.10      ohara    5972: test -z "$RANLIB" && RANLIB=:
                   5973:
                   5974:
                   5975:
                   5976:
1.9       ohara    5977:
                   5978:
1.10      ohara    5979: # Determine commands to create old-style static archives.
                   5980: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5981: old_postinstall_cmds='chmod 644 $oldlib'
                   5982: old_postuninstall_cmds=
1.9       ohara    5983:
1.10      ohara    5984: if test -n "$RANLIB"; then
                   5985:   case $host_os in
1.13    ! ohara    5986:   bitrig* | openbsd*)
1.10      ohara    5987:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.9       ohara    5988:     ;;
                   5989:   *)
1.10      ohara    5990:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.9       ohara    5991:     ;;
                   5992:   esac
1.10      ohara    5993:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.9       ohara    5994: fi
                   5995:
1.10      ohara    5996: case $host_os in
                   5997:   darwin*)
                   5998:     lock_old_archive_extraction=yes ;;
                   5999:   *)
                   6000:     lock_old_archive_extraction=no ;;
1.9       ohara    6001: esac
                   6002:
                   6003:
                   6004:
                   6005:
                   6006:
                   6007:
                   6008:
                   6009:
                   6010:
                   6011:
                   6012:
                   6013:
                   6014:
                   6015:
                   6016:
                   6017:
                   6018:
                   6019:
                   6020:
                   6021:
                   6022:
                   6023:
                   6024:
                   6025:
                   6026:
                   6027:
                   6028:
                   6029:
                   6030:
                   6031:
                   6032:
                   6033:
                   6034:
                   6035:
                   6036:
                   6037:
                   6038:
                   6039:
                   6040:
1.10      ohara    6041: # If no C compiler was specified, use CC.
                   6042: LTCC=${LTCC-"$CC"}
                   6043:
                   6044: # If no C compiler flags were specified, use CFLAGS.
                   6045: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.9       ohara    6046:
1.10      ohara    6047: # Allow CC to be a program name with arguments.
                   6048: compiler=$CC
1.9       ohara    6049:
                   6050:
1.10      ohara    6051: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6053: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.13    ! ohara    6054: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
1.10      ohara    6055:   $as_echo_n "(cached) " >&6
                   6056: else
1.9       ohara    6057:
1.10      ohara    6058: # These are sane defaults that work on at least a few old systems.
                   6059: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.9       ohara    6060:
1.10      ohara    6061: # Character class describing NM global symbol codes.
                   6062: symcode='[BCDEGRST]'
1.9       ohara    6063:
1.10      ohara    6064: # Regexp to match symbols that can be accessed directly from C.
                   6065: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.9       ohara    6066:
1.10      ohara    6067: # Define system-specific variables.
                   6068: case $host_os in
                   6069: aix*)
                   6070:   symcode='[BCDT]'
                   6071:   ;;
                   6072: cygwin* | mingw* | pw32* | cegcc*)
                   6073:   symcode='[ABCDGISTW]'
                   6074:   ;;
                   6075: hpux*)
1.13    ! ohara    6076:   if test ia64 = "$host_cpu"; then
1.10      ohara    6077:     symcode='[ABCDEGRST]'
                   6078:   fi
                   6079:   ;;
                   6080: irix* | nonstopux*)
                   6081:   symcode='[BCDEGRST]'
                   6082:   ;;
                   6083: osf*)
                   6084:   symcode='[BCDEGQRST]'
                   6085:   ;;
                   6086: solaris*)
                   6087:   symcode='[BDRT]'
                   6088:   ;;
                   6089: sco3.2v5*)
                   6090:   symcode='[DT]'
                   6091:   ;;
                   6092: sysv4.2uw2*)
                   6093:   symcode='[DT]'
                   6094:   ;;
                   6095: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6096:   symcode='[ABDT]'
                   6097:   ;;
                   6098: sysv4)
                   6099:   symcode='[DFNSTU]'
                   6100:   ;;
                   6101: esac
1.9       ohara    6102:
1.10      ohara    6103: # If we're using GNU nm, then use its standard symbol codes.
                   6104: case `$NM -V 2>&1` in
                   6105: *GNU* | *'with BFD'*)
                   6106:   symcode='[ABCDGIRSTW]' ;;
                   6107: esac
1.9       ohara    6108:
1.13    ! ohara    6109: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          6110:   # Gets list of data symbols to import.
        !          6111:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
        !          6112:   # Adjust the below global symbol transforms to fixup imported variables.
        !          6113:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
        !          6114:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
        !          6115:   lt_c_name_lib_hook="\
        !          6116:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
        !          6117:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
        !          6118: else
        !          6119:   # Disable hooks by default.
        !          6120:   lt_cv_sys_global_symbol_to_import=
        !          6121:   lt_cdecl_hook=
        !          6122:   lt_c_name_hook=
        !          6123:   lt_c_name_lib_hook=
        !          6124: fi
        !          6125:
1.10      ohara    6126: # Transform an extracted symbol line into a proper C declaration.
                   6127: # Some systems (esp. on ia64) link data and code symbols differently,
                   6128: # so use this general approach.
1.13    ! ohara    6129: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
        !          6130: $lt_cdecl_hook\
        !          6131: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
        !          6132: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.9       ohara    6133:
1.10      ohara    6134: # Transform an extracted symbol line into symbol name and symbol address
1.13    ! ohara    6135: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
        !          6136: $lt_c_name_hook\
        !          6137: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          6138: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
        !          6139:
        !          6140: # Transform an extracted symbol line into symbol name with lib prefix and
        !          6141: # symbol address.
        !          6142: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
        !          6143: $lt_c_name_lib_hook\
        !          6144: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          6145: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
        !          6146: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.9       ohara    6147:
1.10      ohara    6148: # Handle CRLF in mingw tool chain
                   6149: opt_cr=
                   6150: case $build_os in
                   6151: mingw*)
                   6152:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6153:   ;;
1.9       ohara    6154: esac
                   6155:
1.10      ohara    6156: # Try without a prefix underscore, then with it.
                   6157: for ac_symprfx in "" "_"; do
                   6158:
                   6159:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6160:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6161:
                   6162:   # Write the raw and C identifiers.
                   6163:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.13    ! ohara    6164:     # Fake it for dumpbin and say T for any non-static function,
        !          6165:     # D for any global variable and I for any imported variable.
1.10      ohara    6166:     # Also find C++ and __fastcall symbols from MSVC++,
                   6167:     # which start with @ or ?.
                   6168:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6169: "     {last_section=section; section=\$ 3};"\
                   6170: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6171: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.13    ! ohara    6172: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
        !          6173: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
        !          6174: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.10      ohara    6175: "     \$ 0!~/External *\|/{next};"\
                   6176: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6177: "     {if(hide[section]) next};"\
1.13    ! ohara    6178: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
        !          6179: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
        !          6180: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
        !          6181: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.10      ohara    6182: "     ' prfx=^$ac_symprfx"
                   6183:   else
                   6184:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6185:   fi
                   6186:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.9       ohara    6187:
1.10      ohara    6188:   # Check to see that the pipe works correctly.
                   6189:   pipe_works=no
1.9       ohara    6190:
1.10      ohara    6191:   rm -f conftest*
                   6192:   cat > conftest.$ac_ext <<_LT_EOF
                   6193: #ifdef __cplusplus
                   6194: extern "C" {
                   6195: #endif
                   6196: char nm_test_var;
                   6197: void nm_test_func(void);
                   6198: void nm_test_func(void){}
                   6199: #ifdef __cplusplus
                   6200: }
                   6201: #endif
                   6202: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6203: _LT_EOF
1.9       ohara    6204:
1.10      ohara    6205:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.9       ohara    6206:   (eval $ac_compile) 2>&5
                   6207:   ac_status=$?
1.10      ohara    6208:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6209:   test $ac_status = 0; }; then
                   6210:     # Now try to grab the symbols.
                   6211:     nlist=conftest.nm
                   6212:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   6213:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6214:   ac_status=$?
                   6215:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6216:   test $ac_status = 0; } && test -s "$nlist"; then
                   6217:       # Try sorting and uniquifying the output.
                   6218:       if sort "$nlist" | uniq > "$nlist"T; then
                   6219:        mv -f "$nlist"T "$nlist"
                   6220:       else
                   6221:        rm -f "$nlist"T
                   6222:       fi
                   6223:
                   6224:       # Make sure that we snagged all the symbols we need.
                   6225:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6226:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6227:          cat <<_LT_EOF > conftest.$ac_ext
                   6228: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
1.13    ! ohara    6229: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
        !          6230: /* DATA imports from DLLs on WIN32 can't be const, because runtime
1.10      ohara    6231:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6232: # define LT_DLSYM_CONST
1.13    ! ohara    6233: #elif defined __osf__
1.10      ohara    6234: /* This system does not cope well with relocations in const data.  */
                   6235: # define LT_DLSYM_CONST
                   6236: #else
                   6237: # define LT_DLSYM_CONST const
                   6238: #endif
                   6239:
                   6240: #ifdef __cplusplus
                   6241: extern "C" {
                   6242: #endif
                   6243:
                   6244: _LT_EOF
                   6245:          # Now generate the symbol file.
                   6246:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6247:
                   6248:          cat <<_LT_EOF >> conftest.$ac_ext
1.9       ohara    6249:
1.10      ohara    6250: /* The mapping between symbol names and symbols.  */
                   6251: LT_DLSYM_CONST struct {
                   6252:   const char *name;
                   6253:   void       *address;
                   6254: }
                   6255: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6256: {
                   6257:   { "@PROGRAM@", (void *) 0 },
                   6258: _LT_EOF
1.13    ! ohara    6259:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.10      ohara    6260:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6261:   {0, (void *) 0}
                   6262: };
1.9       ohara    6263:
1.10      ohara    6264: /* This works around a problem in FreeBSD linker */
                   6265: #ifdef FREEBSD_WORKAROUND
                   6266: static const void *lt_preloaded_setup() {
                   6267:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6268: }
                   6269: #endif
1.9       ohara    6270:
1.10      ohara    6271: #ifdef __cplusplus
                   6272: }
                   6273: #endif
                   6274: _LT_EOF
                   6275:          # Now try linking the two files.
                   6276:          mv conftest.$ac_objext conftstm.$ac_objext
                   6277:          lt_globsym_save_LIBS=$LIBS
                   6278:          lt_globsym_save_CFLAGS=$CFLAGS
1.13    ! ohara    6279:          LIBS=conftstm.$ac_objext
1.10      ohara    6280:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6281:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6282:   (eval $ac_link) 2>&5
                   6283:   ac_status=$?
                   6284:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.13    ! ohara    6285:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.10      ohara    6286:            pipe_works=yes
                   6287:          fi
                   6288:          LIBS=$lt_globsym_save_LIBS
                   6289:          CFLAGS=$lt_globsym_save_CFLAGS
                   6290:        else
                   6291:          echo "cannot find nm_test_func in $nlist" >&5
                   6292:        fi
                   6293:       else
                   6294:        echo "cannot find nm_test_var in $nlist" >&5
                   6295:       fi
                   6296:     else
                   6297:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6298:     fi
                   6299:   else
                   6300:     echo "$progname: failed program was:" >&5
                   6301:     cat conftest.$ac_ext >&5
                   6302:   fi
                   6303:   rm -rf conftest* conftst*
1.9       ohara    6304:
1.10      ohara    6305:   # Do not use the global_symbol_pipe unless it works.
1.13    ! ohara    6306:   if test yes = "$pipe_works"; then
1.10      ohara    6307:     break
                   6308:   else
                   6309:     lt_cv_sys_global_symbol_pipe=
                   6310:   fi
                   6311: done
1.9       ohara    6312:
1.10      ohara    6313: fi
1.9       ohara    6314:
1.10      ohara    6315: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6316:   lt_cv_sys_global_symbol_to_cdecl=
                   6317: fi
                   6318: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6320: $as_echo "failed" >&6; }
1.9       ohara    6321: else
1.10      ohara    6322:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6323: $as_echo "ok" >&6; }
1.9       ohara    6324: fi
                   6325:
1.10      ohara    6326: # Response file support.
                   6327: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6328:   nm_file_list_spec='@'
                   6329: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6330:   nm_file_list_spec='@'
                   6331: fi
1.9       ohara    6332:
                   6333:
                   6334:
                   6335:
                   6336:
                   6337:
                   6338:
                   6339:
                   6340:
                   6341:
                   6342:
                   6343:
                   6344:
                   6345:
                   6346:
                   6347:
                   6348:
                   6349:
                   6350:
                   6351:
                   6352:
                   6353:
                   6354:
                   6355:
                   6356:
                   6357:
                   6358:
1.13    ! ohara    6359:
        !          6360:
        !          6361:
        !          6362:
        !          6363:
        !          6364:
        !          6365:
        !          6366:
        !          6367:
        !          6368:
1.10      ohara    6369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6370: $as_echo_n "checking for sysroot... " >&6; }
1.9       ohara    6371:
1.10      ohara    6372: # Check whether --with-sysroot was given.
                   6373: if test "${with_sysroot+set}" = set; then :
                   6374:   withval=$with_sysroot;
1.9       ohara    6375: else
1.10      ohara    6376:   with_sysroot=no
1.9       ohara    6377: fi
                   6378:
                   6379:
1.10      ohara    6380: lt_sysroot=
1.13    ! ohara    6381: case $with_sysroot in #(
1.10      ohara    6382:  yes)
1.13    ! ohara    6383:    if test yes = "$GCC"; then
1.10      ohara    6384:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6385:    fi
                   6386:    ;; #(
                   6387:  /*)
                   6388:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6389:    ;; #(
1.13    ! ohara    6390:  no|'')
        !          6391:    ;; #(
        !          6392:  *)
        !          6393:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
        !          6394: $as_echo "$with_sysroot" >&6; }
        !          6395:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
        !          6396:    ;;
        !          6397: esac
        !          6398:
        !          6399:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          6400: $as_echo "${lt_sysroot:-no}" >&6; }
        !          6401:
        !          6402:
        !          6403:
        !          6404:
        !          6405:
        !          6406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
        !          6407: $as_echo_n "checking for a working dd... " >&6; }
        !          6408: if ${ac_cv_path_lt_DD+:} false; then :
        !          6409:   $as_echo_n "(cached) " >&6
        !          6410: else
        !          6411:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          6412: cat conftest.i conftest.i >conftest2.i
        !          6413: : ${lt_DD:=$DD}
        !          6414: if test -z "$lt_DD"; then
        !          6415:   ac_path_lt_DD_found=false
        !          6416:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          6417:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6418: for as_dir in $PATH
        !          6419: do
        !          6420:   IFS=$as_save_IFS
        !          6421:   test -z "$as_dir" && as_dir=.
        !          6422:     for ac_prog in dd; do
        !          6423:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6424:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
        !          6425:       as_fn_executable_p "$ac_path_lt_DD" || continue
        !          6426: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          6427:   cmp -s conftest.i conftest.out \
        !          6428:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
        !          6429: fi
        !          6430:       $ac_path_lt_DD_found && break 3
        !          6431:     done
        !          6432:   done
        !          6433:   done
        !          6434: IFS=$as_save_IFS
        !          6435:   if test -z "$ac_cv_path_lt_DD"; then
        !          6436:     :
        !          6437:   fi
        !          6438: else
        !          6439:   ac_cv_path_lt_DD=$lt_DD
        !          6440: fi
        !          6441:
        !          6442: rm -f conftest.i conftest2.i conftest.out
        !          6443: fi
        !          6444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
        !          6445: $as_echo "$ac_cv_path_lt_DD" >&6; }
        !          6446:
        !          6447:
        !          6448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
        !          6449: $as_echo_n "checking how to truncate binary pipes... " >&6; }
        !          6450: if ${lt_cv_truncate_bin+:} false; then :
        !          6451:   $as_echo_n "(cached) " >&6
        !          6452: else
        !          6453:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          6454: cat conftest.i conftest.i >conftest2.i
        !          6455: lt_cv_truncate_bin=
        !          6456: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          6457:   cmp -s conftest.i conftest.out \
        !          6458:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
        !          6459: fi
        !          6460: rm -f conftest.i conftest2.i conftest.out
        !          6461: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
        !          6462: fi
        !          6463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
        !          6464: $as_echo "$lt_cv_truncate_bin" >&6; }
        !          6465:
        !          6466:
1.10      ohara    6467:
                   6468:
                   6469:
                   6470:
                   6471:
1.13    ! ohara    6472: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          6473: func_cc_basename ()
        !          6474: {
        !          6475:     for cc_temp in $*""; do
        !          6476:       case $cc_temp in
        !          6477:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          6478:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          6479:         \-*) ;;
        !          6480:         *) break;;
        !          6481:       esac
        !          6482:     done
        !          6483:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          6484: }
1.10      ohara    6485:
                   6486: # Check whether --enable-libtool-lock was given.
                   6487: if test "${enable_libtool_lock+set}" = set; then :
                   6488:   enableval=$enable_libtool_lock;
                   6489: fi
1.9       ohara    6490:
1.13    ! ohara    6491: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.9       ohara    6492:
1.10      ohara    6493: # Some flags need to be propagated to the compiler or linker for good
                   6494: # libtool support.
                   6495: case $host in
                   6496: ia64-*-hpux*)
1.13    ! ohara    6497:   # Find out what ABI is being produced by ac_compile, and set mode
        !          6498:   # options accordingly.
1.10      ohara    6499:   echo 'int i;' > conftest.$ac_ext
                   6500:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6501:   (eval $ac_compile) 2>&5
                   6502:   ac_status=$?
                   6503:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6504:   test $ac_status = 0; }; then
                   6505:     case `/usr/bin/file conftest.$ac_objext` in
                   6506:       *ELF-32*)
1.13    ! ohara    6507:        HPUX_IA64_MODE=32
1.10      ohara    6508:        ;;
                   6509:       *ELF-64*)
1.13    ! ohara    6510:        HPUX_IA64_MODE=64
1.10      ohara    6511:        ;;
1.9       ohara    6512:     esac
1.10      ohara    6513:   fi
                   6514:   rm -rf conftest*
                   6515:   ;;
                   6516: *-*-irix6*)
1.13    ! ohara    6517:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6518:   # options accordingly.
1.10      ohara    6519:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6520:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6521:   (eval $ac_compile) 2>&5
                   6522:   ac_status=$?
                   6523:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6524:   test $ac_status = 0; }; then
1.13    ! ohara    6525:     if test yes = "$lt_cv_prog_gnu_ld"; then
1.10      ohara    6526:       case `/usr/bin/file conftest.$ac_objext` in
                   6527:        *32-bit*)
                   6528:          LD="${LD-ld} -melf32bsmip"
                   6529:          ;;
                   6530:        *N32*)
                   6531:          LD="${LD-ld} -melf32bmipn32"
                   6532:          ;;
                   6533:        *64-bit*)
                   6534:          LD="${LD-ld} -melf64bmip"
                   6535:        ;;
                   6536:       esac
1.9       ohara    6537:     else
1.10      ohara    6538:       case `/usr/bin/file conftest.$ac_objext` in
                   6539:        *32-bit*)
                   6540:          LD="${LD-ld} -32"
                   6541:          ;;
                   6542:        *N32*)
                   6543:          LD="${LD-ld} -n32"
                   6544:          ;;
                   6545:        *64-bit*)
                   6546:          LD="${LD-ld} -64"
                   6547:          ;;
                   6548:       esac
1.9       ohara    6549:     fi
                   6550:   fi
1.10      ohara    6551:   rm -rf conftest*
1.9       ohara    6552:   ;;
                   6553:
1.13    ! ohara    6554: mips64*-*linux*)
        !          6555:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6556:   # options accordingly.
        !          6557:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          6558:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          6559:   (eval $ac_compile) 2>&5
        !          6560:   ac_status=$?
        !          6561:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6562:   test $ac_status = 0; }; then
        !          6563:     emul=elf
        !          6564:     case `/usr/bin/file conftest.$ac_objext` in
        !          6565:       *32-bit*)
        !          6566:        emul="${emul}32"
        !          6567:        ;;
        !          6568:       *64-bit*)
        !          6569:        emul="${emul}64"
        !          6570:        ;;
        !          6571:     esac
        !          6572:     case `/usr/bin/file conftest.$ac_objext` in
        !          6573:       *MSB*)
        !          6574:        emul="${emul}btsmip"
        !          6575:        ;;
        !          6576:       *LSB*)
        !          6577:        emul="${emul}ltsmip"
        !          6578:        ;;
        !          6579:     esac
        !          6580:     case `/usr/bin/file conftest.$ac_objext` in
        !          6581:       *N32*)
        !          6582:        emul="${emul}n32"
        !          6583:        ;;
        !          6584:     esac
        !          6585:     LD="${LD-ld} -m $emul"
        !          6586:   fi
        !          6587:   rm -rf conftest*
        !          6588:   ;;
        !          6589:
        !          6590: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1.10      ohara    6591: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1.13    ! ohara    6592:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6593:   # options accordingly.  Note that the listed cases only cover the
        !          6594:   # situations where additional linker options are needed (such as when
        !          6595:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
        !          6596:   # vice versa); the common cases where no linker options are needed do
        !          6597:   # not appear in the list.
1.10      ohara    6598:   echo 'int i;' > conftest.$ac_ext
                   6599:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6600:   (eval $ac_compile) 2>&5
                   6601:   ac_status=$?
                   6602:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6603:   test $ac_status = 0; }; then
                   6604:     case `/usr/bin/file conftest.o` in
                   6605:       *32-bit*)
                   6606:        case $host in
                   6607:          x86_64-*kfreebsd*-gnu)
                   6608:            LD="${LD-ld} -m elf_i386_fbsd"
                   6609:            ;;
                   6610:          x86_64-*linux*)
1.13    ! ohara    6611:            case `/usr/bin/file conftest.o` in
        !          6612:              *x86-64*)
        !          6613:                LD="${LD-ld} -m elf32_x86_64"
        !          6614:                ;;
        !          6615:              *)
        !          6616:                LD="${LD-ld} -m elf_i386"
        !          6617:                ;;
        !          6618:            esac
1.10      ohara    6619:            ;;
1.13    ! ohara    6620:          powerpc64le-*linux*)
        !          6621:            LD="${LD-ld} -m elf32lppclinux"
        !          6622:            ;;
        !          6623:          powerpc64-*linux*)
1.10      ohara    6624:            LD="${LD-ld} -m elf32ppclinux"
                   6625:            ;;
                   6626:          s390x-*linux*)
                   6627:            LD="${LD-ld} -m elf_s390"
                   6628:            ;;
                   6629:          sparc64-*linux*)
                   6630:            LD="${LD-ld} -m elf32_sparc"
                   6631:            ;;
                   6632:        esac
                   6633:        ;;
                   6634:       *64-bit*)
                   6635:        case $host in
                   6636:          x86_64-*kfreebsd*-gnu)
                   6637:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6638:            ;;
                   6639:          x86_64-*linux*)
                   6640:            LD="${LD-ld} -m elf_x86_64"
                   6641:            ;;
1.13    ! ohara    6642:          powerpcle-*linux*)
        !          6643:            LD="${LD-ld} -m elf64lppc"
        !          6644:            ;;
        !          6645:          powerpc-*linux*)
1.10      ohara    6646:            LD="${LD-ld} -m elf64ppc"
                   6647:            ;;
                   6648:          s390*-*linux*|s390*-*tpf*)
                   6649:            LD="${LD-ld} -m elf64_s390"
                   6650:            ;;
                   6651:          sparc*-*linux*)
                   6652:            LD="${LD-ld} -m elf64_sparc"
                   6653:            ;;
                   6654:        esac
                   6655:        ;;
                   6656:     esac
                   6657:   fi
                   6658:   rm -rf conftest*
1.9       ohara    6659:   ;;
                   6660:
1.10      ohara    6661: *-*-sco3.2v5*)
                   6662:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.13    ! ohara    6663:   SAVE_CFLAGS=$CFLAGS
1.10      ohara    6664:   CFLAGS="$CFLAGS -belf"
                   6665:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6666: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
1.13    ! ohara    6667: if ${lt_cv_cc_needs_belf+:} false; then :
1.10      ohara    6668:   $as_echo_n "(cached) " >&6
                   6669: else
                   6670:   ac_ext=c
                   6671: ac_cpp='$CPP $CPPFLAGS'
                   6672: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6673: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6674: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    6675:
1.10      ohara    6676:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6677: /* end confdefs.h.  */
1.9       ohara    6678:
1.10      ohara    6679: int
                   6680: main ()
                   6681: {
1.9       ohara    6682:
1.10      ohara    6683:   ;
                   6684:   return 0;
                   6685: }
                   6686: _ACEOF
                   6687: if ac_fn_c_try_link "$LINENO"; then :
                   6688:   lt_cv_cc_needs_belf=yes
                   6689: else
                   6690:   lt_cv_cc_needs_belf=no
                   6691: fi
                   6692: rm -f core conftest.err conftest.$ac_objext \
                   6693:     conftest$ac_exeext conftest.$ac_ext
                   6694:      ac_ext=c
                   6695: ac_cpp='$CPP $CPPFLAGS'
                   6696: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6697: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6698: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    6699:
1.10      ohara    6700: fi
                   6701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6702: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.13    ! ohara    6703:   if test yes != "$lt_cv_cc_needs_belf"; then
1.10      ohara    6704:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.13    ! ohara    6705:     CFLAGS=$SAVE_CFLAGS
1.10      ohara    6706:   fi
                   6707:   ;;
                   6708: *-*solaris*)
1.13    ! ohara    6709:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6710:   # options accordingly.
1.10      ohara    6711:   echo 'int i;' > conftest.$ac_ext
                   6712:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6713:   (eval $ac_compile) 2>&5
                   6714:   ac_status=$?
                   6715:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6716:   test $ac_status = 0; }; then
                   6717:     case `/usr/bin/file conftest.o` in
                   6718:     *64-bit*)
                   6719:       case $lt_cv_prog_gnu_ld in
                   6720:       yes*)
                   6721:         case $host in
1.13    ! ohara    6722:         i?86-*-solaris*|x86_64-*-solaris*)
1.10      ohara    6723:           LD="${LD-ld} -m elf_x86_64"
                   6724:           ;;
                   6725:         sparc*-*-solaris*)
                   6726:           LD="${LD-ld} -m elf64_sparc"
                   6727:           ;;
                   6728:         esac
                   6729:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6730:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1.13    ! ohara    6731:           LD=${LD-ld}_sol2
1.10      ohara    6732:         fi
                   6733:         ;;
                   6734:       *)
                   6735:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6736:          LD="${LD-ld} -64"
                   6737:        fi
                   6738:        ;;
                   6739:       esac
1.9       ohara    6740:       ;;
                   6741:     esac
1.10      ohara    6742:   fi
                   6743:   rm -rf conftest*
                   6744:   ;;
                   6745: esac
1.9       ohara    6746:
1.13    ! ohara    6747: need_locks=$enable_libtool_lock
1.9       ohara    6748:
1.10      ohara    6749: if test -n "$ac_tool_prefix"; then
                   6750:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6751: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6753: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    6754: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
1.10      ohara    6755:   $as_echo_n "(cached) " >&6
                   6756: else
                   6757:   if test -n "$MANIFEST_TOOL"; then
                   6758:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6759: else
                   6760: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6761: for as_dir in $PATH
                   6762: do
                   6763:   IFS=$as_save_IFS
                   6764:   test -z "$as_dir" && as_dir=.
                   6765:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    6766:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    6767:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6768:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6769:     break 2
1.9       ohara    6770:   fi
1.10      ohara    6771: done
                   6772:   done
                   6773: IFS=$as_save_IFS
                   6774:
                   6775: fi
                   6776: fi
                   6777: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6778: if test -n "$MANIFEST_TOOL"; then
                   6779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6780: $as_echo "$MANIFEST_TOOL" >&6; }
                   6781: else
                   6782:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6783: $as_echo "no" >&6; }
                   6784: fi
1.9       ohara    6785:
                   6786:
1.10      ohara    6787: fi
                   6788: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6789:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6790:   # Extract the first word of "mt", so it can be a program name with args.
                   6791: set dummy mt; ac_word=$2
                   6792: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6793: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    6794: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
1.10      ohara    6795:   $as_echo_n "(cached) " >&6
                   6796: else
                   6797:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6798:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6799: else
                   6800: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6801: for as_dir in $PATH
                   6802: do
                   6803:   IFS=$as_save_IFS
                   6804:   test -z "$as_dir" && as_dir=.
                   6805:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    6806:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    6807:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6808:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6809:     break 2
                   6810:   fi
                   6811: done
                   6812:   done
                   6813: IFS=$as_save_IFS
1.9       ohara    6814:
1.10      ohara    6815: fi
                   6816: fi
                   6817: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6818: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6819:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   6820: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   6821: else
                   6822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6823: $as_echo "no" >&6; }
                   6824: fi
1.9       ohara    6825:
1.10      ohara    6826:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   6827:     MANIFEST_TOOL=":"
1.9       ohara    6828:   else
1.10      ohara    6829:     case $cross_compiling:$ac_tool_warned in
                   6830: yes:)
                   6831: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6832: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6833: ac_tool_warned=yes ;;
                   6834: esac
                   6835:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6836:   fi
                   6837: else
                   6838:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6839: fi
                   6840:
                   6841: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6843: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
1.13    ! ohara    6844: if ${lt_cv_path_mainfest_tool+:} false; then :
1.10      ohara    6845:   $as_echo_n "(cached) " >&6
                   6846: else
                   6847:   lt_cv_path_mainfest_tool=no
                   6848:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6849:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6850:   cat conftest.err >&5
                   6851:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6852:     lt_cv_path_mainfest_tool=yes
1.9       ohara    6853:   fi
1.10      ohara    6854:   rm -f conftest*
                   6855: fi
                   6856: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   6857: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.13    ! ohara    6858: if test yes != "$lt_cv_path_mainfest_tool"; then
1.10      ohara    6859:   MANIFEST_TOOL=:
                   6860: fi
                   6861:
                   6862:
1.9       ohara    6863:
                   6864:
                   6865:
                   6866:
                   6867:   case $host_os in
1.10      ohara    6868:     rhapsody* | darwin*)
                   6869:     if test -n "$ac_tool_prefix"; then
                   6870:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6871: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6872: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6873: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    6874: if ${ac_cv_prog_DSYMUTIL+:} false; then :
1.10      ohara    6875:   $as_echo_n "(cached) " >&6
                   6876: else
                   6877:   if test -n "$DSYMUTIL"; then
                   6878:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6879: else
                   6880: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6881: for as_dir in $PATH
                   6882: do
                   6883:   IFS=$as_save_IFS
                   6884:   test -z "$as_dir" && as_dir=.
                   6885:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    6886:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    6887:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6888:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6889:     break 2
                   6890:   fi
                   6891: done
                   6892:   done
                   6893: IFS=$as_save_IFS
                   6894:
                   6895: fi
                   6896: fi
                   6897: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6898: if test -n "$DSYMUTIL"; then
                   6899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   6900: $as_echo "$DSYMUTIL" >&6; }
                   6901: else
                   6902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6903: $as_echo "no" >&6; }
                   6904: fi
                   6905:
                   6906:
                   6907: fi
                   6908: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6909:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6910:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6911: set dummy dsymutil; ac_word=$2
                   6912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6913: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    6914: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
1.10      ohara    6915:   $as_echo_n "(cached) " >&6
                   6916: else
                   6917:   if test -n "$ac_ct_DSYMUTIL"; then
                   6918:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6919: else
                   6920: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6921: for as_dir in $PATH
                   6922: do
                   6923:   IFS=$as_save_IFS
                   6924:   test -z "$as_dir" && as_dir=.
                   6925:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    6926:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    6927:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6928:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6929:     break 2
                   6930:   fi
                   6931: done
                   6932:   done
                   6933: IFS=$as_save_IFS
1.9       ohara    6934:
1.10      ohara    6935: fi
                   6936: fi
                   6937: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6938: if test -n "$ac_ct_DSYMUTIL"; then
                   6939:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   6940: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   6941: else
                   6942:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6943: $as_echo "no" >&6; }
                   6944: fi
1.9       ohara    6945:
1.10      ohara    6946:   if test "x$ac_ct_DSYMUTIL" = x; then
                   6947:     DSYMUTIL=":"
                   6948:   else
                   6949:     case $cross_compiling:$ac_tool_warned in
                   6950: yes:)
                   6951: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6952: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6953: ac_tool_warned=yes ;;
                   6954: esac
                   6955:     DSYMUTIL=$ac_ct_DSYMUTIL
                   6956:   fi
                   6957: else
                   6958:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6959: fi
1.9       ohara    6960:
1.10      ohara    6961:     if test -n "$ac_tool_prefix"; then
                   6962:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6963: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6965: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    6966: if ${ac_cv_prog_NMEDIT+:} false; then :
1.10      ohara    6967:   $as_echo_n "(cached) " >&6
                   6968: else
                   6969:   if test -n "$NMEDIT"; then
                   6970:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6971: else
                   6972: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6973: for as_dir in $PATH
                   6974: do
                   6975:   IFS=$as_save_IFS
                   6976:   test -z "$as_dir" && as_dir=.
                   6977:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    6978:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    6979:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6980:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6981:     break 2
1.9       ohara    6982:   fi
1.10      ohara    6983: done
                   6984:   done
                   6985: IFS=$as_save_IFS
                   6986:
                   6987: fi
                   6988: fi
                   6989: NMEDIT=$ac_cv_prog_NMEDIT
                   6990: if test -n "$NMEDIT"; then
                   6991:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   6992: $as_echo "$NMEDIT" >&6; }
                   6993: else
                   6994:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6995: $as_echo "no" >&6; }
                   6996: fi
                   6997:
1.9       ohara    6998:
1.10      ohara    6999: fi
                   7000: if test -z "$ac_cv_prog_NMEDIT"; then
                   7001:   ac_ct_NMEDIT=$NMEDIT
                   7002:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7003: set dummy nmedit; ac_word=$2
                   7004: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7005: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7006: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
1.10      ohara    7007:   $as_echo_n "(cached) " >&6
                   7008: else
                   7009:   if test -n "$ac_ct_NMEDIT"; then
                   7010:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7011: else
                   7012: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7013: for as_dir in $PATH
                   7014: do
                   7015:   IFS=$as_save_IFS
                   7016:   test -z "$as_dir" && as_dir=.
                   7017:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7018:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7019:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   7020:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7021:     break 2
                   7022:   fi
                   7023: done
                   7024:   done
                   7025: IFS=$as_save_IFS
1.9       ohara    7026:
1.10      ohara    7027: fi
                   7028: fi
                   7029: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7030: if test -n "$ac_ct_NMEDIT"; then
                   7031:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7032: $as_echo "$ac_ct_NMEDIT" >&6; }
                   7033: else
                   7034:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7035: $as_echo "no" >&6; }
                   7036: fi
1.9       ohara    7037:
1.10      ohara    7038:   if test "x$ac_ct_NMEDIT" = x; then
                   7039:     NMEDIT=":"
1.9       ohara    7040:   else
1.10      ohara    7041:     case $cross_compiling:$ac_tool_warned in
                   7042: yes:)
                   7043: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7044: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7045: ac_tool_warned=yes ;;
                   7046: esac
                   7047:     NMEDIT=$ac_ct_NMEDIT
                   7048:   fi
                   7049: else
                   7050:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7051: fi
                   7052:
                   7053:     if test -n "$ac_tool_prefix"; then
                   7054:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7055: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   7056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7057: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7058: if ${ac_cv_prog_LIPO+:} false; then :
1.10      ohara    7059:   $as_echo_n "(cached) " >&6
                   7060: else
                   7061:   if test -n "$LIPO"; then
                   7062:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7063: else
                   7064: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7065: for as_dir in $PATH
                   7066: do
                   7067:   IFS=$as_save_IFS
                   7068:   test -z "$as_dir" && as_dir=.
                   7069:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7070:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7071:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   7072:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7073:     break 2
1.9       ohara    7074:   fi
1.10      ohara    7075: done
                   7076:   done
                   7077: IFS=$as_save_IFS
                   7078:
                   7079: fi
                   7080: fi
                   7081: LIPO=$ac_cv_prog_LIPO
                   7082: if test -n "$LIPO"; then
                   7083:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7084: $as_echo "$LIPO" >&6; }
                   7085: else
                   7086:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7087: $as_echo "no" >&6; }
                   7088: fi
                   7089:
1.9       ohara    7090:
1.10      ohara    7091: fi
                   7092: if test -z "$ac_cv_prog_LIPO"; then
                   7093:   ac_ct_LIPO=$LIPO
                   7094:   # Extract the first word of "lipo", so it can be a program name with args.
                   7095: set dummy lipo; ac_word=$2
                   7096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7097: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7098: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
1.10      ohara    7099:   $as_echo_n "(cached) " >&6
                   7100: else
                   7101:   if test -n "$ac_ct_LIPO"; then
                   7102:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7103: else
                   7104: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7105: for as_dir in $PATH
                   7106: do
                   7107:   IFS=$as_save_IFS
                   7108:   test -z "$as_dir" && as_dir=.
                   7109:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7110:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7111:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7112:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7113:     break 2
                   7114:   fi
                   7115: done
                   7116:   done
                   7117: IFS=$as_save_IFS
1.9       ohara    7118:
1.10      ohara    7119: fi
                   7120: fi
                   7121: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7122: if test -n "$ac_ct_LIPO"; then
                   7123:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7124: $as_echo "$ac_ct_LIPO" >&6; }
                   7125: else
                   7126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7127: $as_echo "no" >&6; }
                   7128: fi
1.9       ohara    7129:
1.10      ohara    7130:   if test "x$ac_ct_LIPO" = x; then
                   7131:     LIPO=":"
1.9       ohara    7132:   else
1.10      ohara    7133:     case $cross_compiling:$ac_tool_warned in
                   7134: yes:)
                   7135: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7136: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7137: ac_tool_warned=yes ;;
                   7138: esac
                   7139:     LIPO=$ac_ct_LIPO
1.9       ohara    7140:   fi
1.10      ohara    7141: else
                   7142:   LIPO="$ac_cv_prog_LIPO"
                   7143: fi
1.9       ohara    7144:
1.10      ohara    7145:     if test -n "$ac_tool_prefix"; then
                   7146:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7147: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7149: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7150: if ${ac_cv_prog_OTOOL+:} false; then :
1.10      ohara    7151:   $as_echo_n "(cached) " >&6
                   7152: else
                   7153:   if test -n "$OTOOL"; then
                   7154:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7155: else
                   7156: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7157: for as_dir in $PATH
                   7158: do
                   7159:   IFS=$as_save_IFS
                   7160:   test -z "$as_dir" && as_dir=.
                   7161:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7162:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7163:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7164:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7165:     break 2
                   7166:   fi
                   7167: done
                   7168:   done
                   7169: IFS=$as_save_IFS
1.9       ohara    7170:
1.10      ohara    7171: fi
                   7172: fi
                   7173: OTOOL=$ac_cv_prog_OTOOL
                   7174: if test -n "$OTOOL"; then
                   7175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7176: $as_echo "$OTOOL" >&6; }
                   7177: else
                   7178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7179: $as_echo "no" >&6; }
                   7180: fi
1.9       ohara    7181:
                   7182:
1.10      ohara    7183: fi
                   7184: if test -z "$ac_cv_prog_OTOOL"; then
                   7185:   ac_ct_OTOOL=$OTOOL
                   7186:   # Extract the first word of "otool", so it can be a program name with args.
                   7187: set dummy otool; ac_word=$2
                   7188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7189: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7190: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
1.10      ohara    7191:   $as_echo_n "(cached) " >&6
                   7192: else
                   7193:   if test -n "$ac_ct_OTOOL"; then
                   7194:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7195: else
                   7196: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7197: for as_dir in $PATH
                   7198: do
                   7199:   IFS=$as_save_IFS
                   7200:   test -z "$as_dir" && as_dir=.
                   7201:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7202:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7203:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7204:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7205:     break 2
1.9       ohara    7206:   fi
1.10      ohara    7207: done
                   7208:   done
                   7209: IFS=$as_save_IFS
1.9       ohara    7210:
1.10      ohara    7211: fi
                   7212: fi
                   7213: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7214: if test -n "$ac_ct_OTOOL"; then
                   7215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7216: $as_echo "$ac_ct_OTOOL" >&6; }
                   7217: else
                   7218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7219: $as_echo "no" >&6; }
                   7220: fi
1.9       ohara    7221:
1.10      ohara    7222:   if test "x$ac_ct_OTOOL" = x; then
                   7223:     OTOOL=":"
                   7224:   else
                   7225:     case $cross_compiling:$ac_tool_warned in
                   7226: yes:)
                   7227: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7228: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7229: ac_tool_warned=yes ;;
                   7230: esac
                   7231:     OTOOL=$ac_ct_OTOOL
1.9       ohara    7232:   fi
1.10      ohara    7233: else
                   7234:   OTOOL="$ac_cv_prog_OTOOL"
                   7235: fi
1.9       ohara    7236:
1.10      ohara    7237:     if test -n "$ac_tool_prefix"; then
                   7238:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7239: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7241: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7242: if ${ac_cv_prog_OTOOL64+:} false; then :
1.10      ohara    7243:   $as_echo_n "(cached) " >&6
                   7244: else
                   7245:   if test -n "$OTOOL64"; then
                   7246:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7247: else
                   7248: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7249: for as_dir in $PATH
                   7250: do
                   7251:   IFS=$as_save_IFS
                   7252:   test -z "$as_dir" && as_dir=.
                   7253:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7254:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7255:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7256:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7257:     break 2
1.9       ohara    7258:   fi
1.10      ohara    7259: done
                   7260:   done
                   7261: IFS=$as_save_IFS
1.9       ohara    7262:
1.10      ohara    7263: fi
                   7264: fi
                   7265: OTOOL64=$ac_cv_prog_OTOOL64
                   7266: if test -n "$OTOOL64"; then
                   7267:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7268: $as_echo "$OTOOL64" >&6; }
                   7269: else
                   7270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7271: $as_echo "no" >&6; }
                   7272: fi
1.9       ohara    7273:
                   7274:
                   7275: fi
1.10      ohara    7276: if test -z "$ac_cv_prog_OTOOL64"; then
                   7277:   ac_ct_OTOOL64=$OTOOL64
                   7278:   # Extract the first word of "otool64", so it can be a program name with args.
                   7279: set dummy otool64; ac_word=$2
                   7280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7281: $as_echo_n "checking for $ac_word... " >&6; }
1.13    ! ohara    7282: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
1.10      ohara    7283:   $as_echo_n "(cached) " >&6
                   7284: else
                   7285:   if test -n "$ac_ct_OTOOL64"; then
                   7286:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7287: else
                   7288: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7289: for as_dir in $PATH
                   7290: do
                   7291:   IFS=$as_save_IFS
                   7292:   test -z "$as_dir" && as_dir=.
                   7293:     for ac_exec_ext in '' $ac_executable_extensions; do
1.13    ! ohara    7294:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.10      ohara    7295:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7296:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7297:     break 2
                   7298:   fi
                   7299: done
                   7300:   done
                   7301: IFS=$as_save_IFS
1.9       ohara    7302:
1.10      ohara    7303: fi
                   7304: fi
                   7305: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7306: if test -n "$ac_ct_OTOOL64"; then
                   7307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7308: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7309: else
                   7310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7311: $as_echo "no" >&6; }
                   7312: fi
1.9       ohara    7313:
1.10      ohara    7314:   if test "x$ac_ct_OTOOL64" = x; then
                   7315:     OTOOL64=":"
1.9       ohara    7316:   else
1.10      ohara    7317:     case $cross_compiling:$ac_tool_warned in
                   7318: yes:)
                   7319: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7320: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7321: ac_tool_warned=yes ;;
                   7322: esac
                   7323:     OTOOL64=$ac_ct_OTOOL64
1.9       ohara    7324:   fi
                   7325: else
1.10      ohara    7326:   OTOOL64="$ac_cv_prog_OTOOL64"
1.9       ohara    7327: fi
                   7328:
                   7329:
                   7330:
                   7331:
                   7332:
                   7333:
                   7334:
                   7335:
                   7336:
                   7337:
                   7338:
                   7339:
                   7340:
                   7341:
                   7342:
                   7343:
                   7344:
                   7345:
                   7346:
                   7347:
                   7348:
                   7349:
                   7350:
                   7351:
                   7352:
                   7353:
                   7354:
1.10      ohara    7355:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7356: $as_echo_n "checking for -single_module linker flag... " >&6; }
1.13    ! ohara    7357: if ${lt_cv_apple_cc_single_mod+:} false; then :
1.10      ohara    7358:   $as_echo_n "(cached) " >&6
                   7359: else
                   7360:   lt_cv_apple_cc_single_mod=no
1.13    ! ohara    7361:       if test -z "$LT_MULTI_MODULE"; then
1.10      ohara    7362:        # By default we will add the -single_module flag. You can override
                   7363:        # by either setting the environment variable LT_MULTI_MODULE
                   7364:        # non-empty at configure time, or by adding -multi_module to the
                   7365:        # link flags.
                   7366:        rm -rf libconftest.dylib*
                   7367:        echo "int foo(void){return 1;}" > conftest.c
                   7368:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7369: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7370:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7371:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7372:         _lt_result=$?
                   7373:        # If there is a non-empty error log, and "single_module"
                   7374:        # appears in it, assume the flag caused a linker warning
                   7375:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7376:          cat conftest.err >&5
                   7377:        # Otherwise, if the output was created with a 0 exit code from
                   7378:        # the compiler, it worked.
1.13    ! ohara    7379:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.10      ohara    7380:          lt_cv_apple_cc_single_mod=yes
                   7381:        else
                   7382:          cat conftest.err >&5
                   7383:        fi
                   7384:        rm -rf libconftest.dylib*
                   7385:        rm -f conftest.*
                   7386:       fi
                   7387: fi
                   7388: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7389: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
                   7390:
                   7391:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7392: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.13    ! ohara    7393: if ${lt_cv_ld_exported_symbols_list+:} false; then :
1.10      ohara    7394:   $as_echo_n "(cached) " >&6
                   7395: else
                   7396:   lt_cv_ld_exported_symbols_list=no
                   7397:       save_LDFLAGS=$LDFLAGS
                   7398:       echo "_main" > conftest.sym
                   7399:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7400:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7401: /* end confdefs.h.  */
                   7402:
                   7403: int
                   7404: main ()
                   7405: {
                   7406:
                   7407:   ;
                   7408:   return 0;
                   7409: }
                   7410: _ACEOF
                   7411: if ac_fn_c_try_link "$LINENO"; then :
                   7412:   lt_cv_ld_exported_symbols_list=yes
                   7413: else
                   7414:   lt_cv_ld_exported_symbols_list=no
                   7415: fi
                   7416: rm -f core conftest.err conftest.$ac_objext \
                   7417:     conftest$ac_exeext conftest.$ac_ext
1.13    ! ohara    7418:        LDFLAGS=$save_LDFLAGS
1.10      ohara    7419:
                   7420: fi
                   7421: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7422: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
                   7423:
                   7424:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7425: $as_echo_n "checking for -force_load linker flag... " >&6; }
1.13    ! ohara    7426: if ${lt_cv_ld_force_load+:} false; then :
1.10      ohara    7427:   $as_echo_n "(cached) " >&6
                   7428: else
                   7429:   lt_cv_ld_force_load=no
                   7430:       cat > conftest.c << _LT_EOF
                   7431: int forced_loaded() { return 2;}
                   7432: _LT_EOF
                   7433:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7434:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7435:       echo "$AR cru libconftest.a conftest.o" >&5
                   7436:       $AR cru libconftest.a conftest.o 2>&5
                   7437:       echo "$RANLIB libconftest.a" >&5
                   7438:       $RANLIB libconftest.a 2>&5
                   7439:       cat > conftest.c << _LT_EOF
                   7440: int main() { return 0;}
                   7441: _LT_EOF
                   7442:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7443:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7444:       _lt_result=$?
                   7445:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7446:        cat conftest.err >&5
1.13    ! ohara    7447:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1.10      ohara    7448:        lt_cv_ld_force_load=yes
                   7449:       else
                   7450:        cat conftest.err >&5
                   7451:       fi
                   7452:         rm -f conftest.err libconftest.a conftest conftest.c
                   7453:         rm -rf conftest.dSYM
                   7454:
                   7455: fi
                   7456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7457: $as_echo "$lt_cv_ld_force_load" >&6; }
                   7458:     case $host_os in
                   7459:     rhapsody* | darwin1.[012])
1.13    ! ohara    7460:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.10      ohara    7461:     darwin1.*)
1.13    ! ohara    7462:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1.10      ohara    7463:     darwin*) # darwin 5.x on
                   7464:       # if running on 10.5 or later, the deployment target defaults
                   7465:       # to the OS version, if on x86, and 10.4, the deployment
                   7466:       # target defaults to 10.4. Don't you love it?
                   7467:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7468:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
1.13    ! ohara    7469:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        !          7470:        10.[012][,.]*)
        !          7471:          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1.10      ohara    7472:        10.*)
1.13    ! ohara    7473:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1.10      ohara    7474:       esac
                   7475:     ;;
                   7476:   esac
1.13    ! ohara    7477:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.10      ohara    7478:       _lt_dar_single_mod='$single_module'
                   7479:     fi
1.13    ! ohara    7480:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
        !          7481:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.10      ohara    7482:     else
1.13    ! ohara    7483:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.10      ohara    7484:     fi
1.13    ! ohara    7485:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.10      ohara    7486:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7487:     else
                   7488:       _lt_dsymutil=
                   7489:     fi
                   7490:     ;;
                   7491:   esac
                   7492:
1.13    ! ohara    7493: # func_munge_path_list VARIABLE PATH
        !          7494: # -----------------------------------
        !          7495: # VARIABLE is name of variable containing _space_ separated list of
        !          7496: # directories to be munged by the contents of PATH, which is string
        !          7497: # having a format:
        !          7498: # "DIR[:DIR]:"
        !          7499: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          7500: # ":DIR[:DIR]"
        !          7501: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          7502: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          7503: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          7504: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          7505: # "DIR[:DIR]"
        !          7506: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          7507: func_munge_path_list ()
        !          7508: {
        !          7509:     case x$2 in
        !          7510:     x)
        !          7511:         ;;
        !          7512:     *:)
        !          7513:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          7514:         ;;
        !          7515:     x:*)
        !          7516:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          7517:         ;;
        !          7518:     *::*)
        !          7519:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          7520:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          7521:         ;;
        !          7522:     *)
        !          7523:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          7524:         ;;
        !          7525:     esac
        !          7526: }
        !          7527:
1.10      ohara    7528: ac_ext=c
                   7529: ac_cpp='$CPP $CPPFLAGS'
                   7530: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7531: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7532: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7534: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   7535: # On Suns, sometimes $CPP names a directory.
                   7536: if test -n "$CPP" && test -d "$CPP"; then
                   7537:   CPP=
                   7538: fi
                   7539: if test -z "$CPP"; then
1.13    ! ohara    7540:   if ${ac_cv_prog_CPP+:} false; then :
1.10      ohara    7541:   $as_echo_n "(cached) " >&6
                   7542: else
                   7543:       # Double quotes because CPP needs to be expanded
                   7544:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7545:     do
                   7546:       ac_preproc_ok=false
                   7547: for ac_c_preproc_warn_flag in '' yes
                   7548: do
                   7549:   # Use a header file that comes with gcc, so configuring glibc
                   7550:   # with a fresh cross-compiler works.
                   7551:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7552:   # <limits.h> exists even on freestanding compilers.
                   7553:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7554:   # not just through cpp. "Syntax error" is here to catch this case.
                   7555:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7556: /* end confdefs.h.  */
                   7557: #ifdef __STDC__
                   7558: # include <limits.h>
                   7559: #else
                   7560: # include <assert.h>
                   7561: #endif
                   7562:                     Syntax error
                   7563: _ACEOF
                   7564: if ac_fn_c_try_cpp "$LINENO"; then :
                   7565:
                   7566: else
                   7567:   # Broken: fails on valid input.
                   7568: continue
                   7569: fi
                   7570: rm -f conftest.err conftest.i conftest.$ac_ext
                   7571:
                   7572:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7573:   # can be detected and how.
                   7574:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7575: /* end confdefs.h.  */
                   7576: #include <ac_nonexistent.h>
                   7577: _ACEOF
                   7578: if ac_fn_c_try_cpp "$LINENO"; then :
                   7579:   # Broken: success on invalid input.
                   7580: continue
                   7581: else
                   7582:   # Passes both tests.
                   7583: ac_preproc_ok=:
                   7584: break
                   7585: fi
                   7586: rm -f conftest.err conftest.i conftest.$ac_ext
                   7587:
                   7588: done
                   7589: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7590: rm -f conftest.i conftest.err conftest.$ac_ext
                   7591: if $ac_preproc_ok; then :
                   7592:   break
                   7593: fi
                   7594:
                   7595:     done
                   7596:     ac_cv_prog_CPP=$CPP
                   7597:
                   7598: fi
                   7599:   CPP=$ac_cv_prog_CPP
                   7600: else
                   7601:   ac_cv_prog_CPP=$CPP
                   7602: fi
                   7603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7604: $as_echo "$CPP" >&6; }
                   7605: ac_preproc_ok=false
                   7606: for ac_c_preproc_warn_flag in '' yes
                   7607: do
                   7608:   # Use a header file that comes with gcc, so configuring glibc
                   7609:   # with a fresh cross-compiler works.
                   7610:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7611:   # <limits.h> exists even on freestanding compilers.
                   7612:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7613:   # not just through cpp. "Syntax error" is here to catch this case.
                   7614:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7615: /* end confdefs.h.  */
                   7616: #ifdef __STDC__
                   7617: # include <limits.h>
                   7618: #else
                   7619: # include <assert.h>
                   7620: #endif
                   7621:                     Syntax error
                   7622: _ACEOF
                   7623: if ac_fn_c_try_cpp "$LINENO"; then :
                   7624:
                   7625: else
                   7626:   # Broken: fails on valid input.
                   7627: continue
                   7628: fi
                   7629: rm -f conftest.err conftest.i conftest.$ac_ext
                   7630:
                   7631:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7632:   # can be detected and how.
                   7633:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7634: /* end confdefs.h.  */
                   7635: #include <ac_nonexistent.h>
                   7636: _ACEOF
                   7637: if ac_fn_c_try_cpp "$LINENO"; then :
                   7638:   # Broken: success on invalid input.
                   7639: continue
                   7640: else
                   7641:   # Passes both tests.
                   7642: ac_preproc_ok=:
                   7643: break
                   7644: fi
                   7645: rm -f conftest.err conftest.i conftest.$ac_ext
                   7646:
                   7647: done
                   7648: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7649: rm -f conftest.i conftest.err conftest.$ac_ext
                   7650: if $ac_preproc_ok; then :
                   7651:
                   7652: else
                   7653:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7654: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   7655: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1.13    ! ohara    7656: See \`config.log' for more details" "$LINENO" 5; }
1.10      ohara    7657: fi
                   7658:
                   7659: ac_ext=c
                   7660: ac_cpp='$CPP $CPPFLAGS'
                   7661: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7662: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7663: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    7664:
                   7665:
1.10      ohara    7666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7667: $as_echo_n "checking for ANSI C header files... " >&6; }
1.13    ! ohara    7668: if ${ac_cv_header_stdc+:} false; then :
1.10      ohara    7669:   $as_echo_n "(cached) " >&6
                   7670: else
                   7671:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7672: /* end confdefs.h.  */
                   7673: #include <stdlib.h>
                   7674: #include <stdarg.h>
                   7675: #include <string.h>
                   7676: #include <float.h>
1.9       ohara    7677:
1.10      ohara    7678: int
                   7679: main ()
                   7680: {
1.9       ohara    7681:
1.10      ohara    7682:   ;
                   7683:   return 0;
                   7684: }
                   7685: _ACEOF
                   7686: if ac_fn_c_try_compile "$LINENO"; then :
                   7687:   ac_cv_header_stdc=yes
                   7688: else
                   7689:   ac_cv_header_stdc=no
                   7690: fi
                   7691: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.9       ohara    7692:
1.10      ohara    7693: if test $ac_cv_header_stdc = yes; then
                   7694:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7695:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7696: /* end confdefs.h.  */
                   7697: #include <string.h>
1.9       ohara    7698:
1.10      ohara    7699: _ACEOF
                   7700: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7701:   $EGREP "memchr" >/dev/null 2>&1; then :
1.9       ohara    7702:
1.10      ohara    7703: else
                   7704:   ac_cv_header_stdc=no
                   7705: fi
                   7706: rm -f conftest*
1.9       ohara    7707:
1.10      ohara    7708: fi
1.9       ohara    7709:
1.10      ohara    7710: if test $ac_cv_header_stdc = yes; then
                   7711:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7712:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7713: /* end confdefs.h.  */
                   7714: #include <stdlib.h>
1.9       ohara    7715:
1.10      ohara    7716: _ACEOF
                   7717: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7718:   $EGREP "free" >/dev/null 2>&1; then :
1.9       ohara    7719:
1.10      ohara    7720: else
                   7721:   ac_cv_header_stdc=no
                   7722: fi
                   7723: rm -f conftest*
1.9       ohara    7724:
1.10      ohara    7725: fi
1.9       ohara    7726:
1.10      ohara    7727: if test $ac_cv_header_stdc = yes; then
                   7728:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7729:   if test "$cross_compiling" = yes; then :
                   7730:   :
                   7731: else
                   7732:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7733: /* end confdefs.h.  */
                   7734: #include <ctype.h>
                   7735: #include <stdlib.h>
                   7736: #if ((' ' & 0x0FF) == 0x020)
                   7737: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7738: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7739: #else
                   7740: # define ISLOWER(c) \
                   7741:                   (('a' <= (c) && (c) <= 'i') \
                   7742:                     || ('j' <= (c) && (c) <= 'r') \
                   7743:                     || ('s' <= (c) && (c) <= 'z'))
                   7744: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7745: #endif
1.9       ohara    7746:
1.10      ohara    7747: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7748: int
                   7749: main ()
                   7750: {
                   7751:   int i;
                   7752:   for (i = 0; i < 256; i++)
                   7753:     if (XOR (islower (i), ISLOWER (i))
                   7754:        || toupper (i) != TOUPPER (i))
                   7755:       return 2;
                   7756:   return 0;
                   7757: }
                   7758: _ACEOF
                   7759: if ac_fn_c_try_run "$LINENO"; then :
1.9       ohara    7760:
1.10      ohara    7761: else
                   7762:   ac_cv_header_stdc=no
                   7763: fi
                   7764: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7765:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7766: fi
1.9       ohara    7767:
1.10      ohara    7768: fi
                   7769: fi
                   7770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   7771: $as_echo "$ac_cv_header_stdc" >&6; }
                   7772: if test $ac_cv_header_stdc = yes; then
1.9       ohara    7773:
1.10      ohara    7774: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.9       ohara    7775:
1.10      ohara    7776: fi
1.9       ohara    7777:
1.10      ohara    7778: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7779: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7780:                  inttypes.h stdint.h unistd.h
                   7781: do :
                   7782:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7783: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7784: "
                   7785: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   7786:   cat >>confdefs.h <<_ACEOF
                   7787: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7788: _ACEOF
1.9       ohara    7789:
1.10      ohara    7790: fi
1.9       ohara    7791:
1.10      ohara    7792: done
1.9       ohara    7793:
                   7794:
1.10      ohara    7795: for ac_header in dlfcn.h
                   7796: do :
                   7797:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7798: "
1.13    ! ohara    7799: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.10      ohara    7800:   cat >>confdefs.h <<_ACEOF
                   7801: #define HAVE_DLFCN_H 1
                   7802: _ACEOF
1.9       ohara    7803:
1.10      ohara    7804: fi
1.9       ohara    7805:
1.10      ohara    7806: done
1.9       ohara    7807:
                   7808:
                   7809:
                   7810:
                   7811:
1.10      ohara    7812: # Set options
1.9       ohara    7813:
                   7814:
                   7815:
1.10      ohara    7816:         enable_dlopen=no
1.9       ohara    7817:
                   7818:
1.10      ohara    7819:   enable_win32_dll=no
1.9       ohara    7820:
                   7821:
1.10      ohara    7822:             # Check whether --enable-shared was given.
                   7823: if test "${enable_shared+set}" = set; then :
                   7824:   enableval=$enable_shared; p=${PACKAGE-default}
                   7825:     case $enableval in
                   7826:     yes) enable_shared=yes ;;
                   7827:     no) enable_shared=no ;;
                   7828:     *)
                   7829:       enable_shared=no
                   7830:       # Look at the argument we got.  We use all the common list separators.
1.13    ! ohara    7831:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.10      ohara    7832:       for pkg in $enableval; do
1.13    ! ohara    7833:        IFS=$lt_save_ifs
1.10      ohara    7834:        if test "X$pkg" = "X$p"; then
                   7835:          enable_shared=yes
                   7836:        fi
                   7837:       done
1.13    ! ohara    7838:       IFS=$lt_save_ifs
1.10      ohara    7839:       ;;
                   7840:     esac
                   7841: else
                   7842:   enable_shared=yes
                   7843: fi
1.9       ohara    7844:
                   7845:
                   7846:
                   7847:
                   7848:
                   7849:
                   7850:
                   7851:
                   7852:
1.10      ohara    7853:   # Check whether --enable-static was given.
                   7854: if test "${enable_static+set}" = set; then :
                   7855:   enableval=$enable_static; p=${PACKAGE-default}
                   7856:     case $enableval in
                   7857:     yes) enable_static=yes ;;
                   7858:     no) enable_static=no ;;
                   7859:     *)
                   7860:      enable_static=no
                   7861:       # Look at the argument we got.  We use all the common list separators.
1.13    ! ohara    7862:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.10      ohara    7863:       for pkg in $enableval; do
1.13    ! ohara    7864:        IFS=$lt_save_ifs
1.10      ohara    7865:        if test "X$pkg" = "X$p"; then
                   7866:          enable_static=yes
                   7867:        fi
                   7868:       done
1.13    ! ohara    7869:       IFS=$lt_save_ifs
1.10      ohara    7870:       ;;
                   7871:     esac
                   7872: else
                   7873:   enable_static=yes
                   7874: fi
1.9       ohara    7875:
                   7876:
                   7877:
                   7878:
                   7879:
                   7880:
                   7881:
                   7882:
                   7883:
                   7884:
1.10      ohara    7885: # Check whether --with-pic was given.
                   7886: if test "${with_pic+set}" = set; then :
                   7887:   withval=$with_pic; lt_p=${PACKAGE-default}
                   7888:     case $withval in
                   7889:     yes|no) pic_mode=$withval ;;
                   7890:     *)
                   7891:       pic_mode=default
                   7892:       # Look at the argument we got.  We use all the common list separators.
1.13    ! ohara    7893:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.10      ohara    7894:       for lt_pkg in $withval; do
1.13    ! ohara    7895:        IFS=$lt_save_ifs
1.10      ohara    7896:        if test "X$lt_pkg" = "X$lt_p"; then
                   7897:          pic_mode=yes
                   7898:        fi
                   7899:       done
1.13    ! ohara    7900:       IFS=$lt_save_ifs
1.10      ohara    7901:       ;;
                   7902:     esac
                   7903: else
                   7904:   pic_mode=default
                   7905: fi
1.9       ohara    7906:
                   7907:
                   7908:
                   7909:
                   7910:
                   7911:
                   7912:
                   7913:
1.10      ohara    7914:   # Check whether --enable-fast-install was given.
                   7915: if test "${enable_fast_install+set}" = set; then :
                   7916:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7917:     case $enableval in
                   7918:     yes) enable_fast_install=yes ;;
                   7919:     no) enable_fast_install=no ;;
                   7920:     *)
                   7921:       enable_fast_install=no
                   7922:       # Look at the argument we got.  We use all the common list separators.
1.13    ! ohara    7923:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.10      ohara    7924:       for pkg in $enableval; do
1.13    ! ohara    7925:        IFS=$lt_save_ifs
1.10      ohara    7926:        if test "X$pkg" = "X$p"; then
                   7927:          enable_fast_install=yes
                   7928:        fi
                   7929:       done
1.13    ! ohara    7930:       IFS=$lt_save_ifs
1.10      ohara    7931:       ;;
                   7932:     esac
1.9       ohara    7933: else
1.10      ohara    7934:   enable_fast_install=yes
1.9       ohara    7935: fi
                   7936:
                   7937:
                   7938:
                   7939:
                   7940:
                   7941:
                   7942:
                   7943:
1.13    ! ohara    7944:   shared_archive_member_spec=
        !          7945: case $host,$enable_shared in
        !          7946: power*-*-aix[5-9]*,yes)
        !          7947:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
        !          7948: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
        !          7949:
        !          7950: # Check whether --with-aix-soname was given.
        !          7951: if test "${with_aix_soname+set}" = set; then :
        !          7952:   withval=$with_aix_soname; case $withval in
        !          7953:     aix|svr4|both)
        !          7954:       ;;
        !          7955:     *)
        !          7956:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
        !          7957:       ;;
        !          7958:     esac
        !          7959:     lt_cv_with_aix_soname=$with_aix_soname
        !          7960: else
        !          7961:   if ${lt_cv_with_aix_soname+:} false; then :
        !          7962:   $as_echo_n "(cached) " >&6
        !          7963: else
        !          7964:   lt_cv_with_aix_soname=aix
        !          7965: fi
        !          7966:
        !          7967:     with_aix_soname=$lt_cv_with_aix_soname
        !          7968: fi
        !          7969:
        !          7970:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
        !          7971: $as_echo "$with_aix_soname" >&6; }
        !          7972:   if test aix != "$with_aix_soname"; then
        !          7973:     # For the AIX way of multilib, we name the shared archive member
        !          7974:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
        !          7975:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
        !          7976:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
        !          7977:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
        !          7978:     if test 64 = "${OBJECT_MODE-32}"; then
        !          7979:       shared_archive_member_spec=shr_64
        !          7980:     else
        !          7981:       shared_archive_member_spec=shr
        !          7982:     fi
        !          7983:   fi
        !          7984:   ;;
        !          7985: *)
        !          7986:   with_aix_soname=aix
        !          7987:   ;;
        !          7988: esac
        !          7989:
        !          7990:
        !          7991:
        !          7992:
        !          7993:
        !          7994:
        !          7995:
1.9       ohara    7996:
                   7997:
                   7998:
1.10      ohara    7999: # This can be used to rebuild libtool when needed
1.13    ! ohara    8000: LIBTOOL_DEPS=$ltmain
1.9       ohara    8001:
1.10      ohara    8002: # Always use our own libtool.
                   8003: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.9       ohara    8004:
                   8005:
                   8006:
                   8007:
                   8008:
                   8009:
                   8010:
                   8011:
                   8012:
                   8013:
                   8014:
                   8015:
                   8016:
                   8017:
                   8018:
                   8019:
                   8020:
                   8021:
                   8022:
                   8023:
                   8024:
                   8025:
                   8026:
                   8027:
                   8028:
                   8029:
                   8030:
                   8031:
                   8032:
                   8033:
1.10      ohara    8034: test -z "$LN_S" && LN_S="ln -s"
1.9       ohara    8035:
                   8036:
                   8037:
                   8038:
                   8039:
                   8040:
                   8041:
                   8042:
                   8043:
                   8044:
                   8045:
                   8046:
                   8047:
                   8048:
1.13    ! ohara    8049: if test -n "${ZSH_VERSION+set}"; then
1.10      ohara    8050:    setopt NO_GLOB_SUBST
1.9       ohara    8051: fi
                   8052:
1.10      ohara    8053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8054: $as_echo_n "checking for objdir... " >&6; }
1.13    ! ohara    8055: if ${lt_cv_objdir+:} false; then :
1.10      ohara    8056:   $as_echo_n "(cached) " >&6
                   8057: else
                   8058:   rm -f .libs 2>/dev/null
                   8059: mkdir .libs 2>/dev/null
                   8060: if test -d .libs; then
                   8061:   lt_cv_objdir=.libs
1.9       ohara    8062: else
1.10      ohara    8063:   # MS-DOS does not allow filenames that begin with a dot.
                   8064:   lt_cv_objdir=_libs
                   8065: fi
                   8066: rmdir .libs 2>/dev/null
1.9       ohara    8067: fi
1.10      ohara    8068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8069: $as_echo "$lt_cv_objdir" >&6; }
                   8070: objdir=$lt_cv_objdir
                   8071:
                   8072:
1.9       ohara    8073:
                   8074:
                   8075:
1.10      ohara    8076: cat >>confdefs.h <<_ACEOF
                   8077: #define LT_OBJDIR "$lt_cv_objdir/"
                   8078: _ACEOF
                   8079:
1.9       ohara    8080:
                   8081:
                   8082:
1.10      ohara    8083: case $host_os in
                   8084: aix3*)
                   8085:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8086:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8087:   # vanish in a puff of smoke.
1.13    ! ohara    8088:   if test set != "${COLLECT_NAMES+set}"; then
1.10      ohara    8089:     COLLECT_NAMES=
                   8090:     export COLLECT_NAMES
1.9       ohara    8091:   fi
1.10      ohara    8092:   ;;
                   8093: esac
                   8094:
                   8095: # Global variables:
                   8096: ofile=libtool
                   8097: can_build_shared=yes
                   8098:
1.13    ! ohara    8099: # All known linkers require a '.a' archive for static linking (except MSVC,
1.10      ohara    8100: # which needs '.lib').
                   8101: libext=a
                   8102:
1.13    ! ohara    8103: with_gnu_ld=$lt_cv_prog_gnu_ld
1.10      ohara    8104:
1.13    ! ohara    8105: old_CC=$CC
        !          8106: old_CFLAGS=$CFLAGS
1.9       ohara    8107:
1.10      ohara    8108: # Set sane defaults for various variables
                   8109: test -z "$CC" && CC=cc
                   8110: test -z "$LTCC" && LTCC=$CC
                   8111: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8112: test -z "$LD" && LD=ld
                   8113: test -z "$ac_objext" && ac_objext=o
1.9       ohara    8114:
1.13    ! ohara    8115: func_cc_basename $compiler
        !          8116: cc_basename=$func_cc_basename_result
1.10      ohara    8117:
                   8118:
                   8119: # Only perform the check for file, if the check method requires it
                   8120: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8121: case $deplibs_check_method in
                   8122: file_magic*)
                   8123:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8124:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8125: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.13    ! ohara    8126: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.10      ohara    8127:   $as_echo_n "(cached) " >&6
                   8128: else
                   8129:   case $MAGIC_CMD in
                   8130: [\\/*] |  ?:[\\/]*)
1.13    ! ohara    8131:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.10      ohara    8132:   ;;
                   8133: *)
1.13    ! ohara    8134:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          8135:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.10      ohara    8136:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8137:   for ac_dir in $ac_dummy; do
1.13    ! ohara    8138:     IFS=$lt_save_ifs
1.10      ohara    8139:     test -z "$ac_dir" && ac_dir=.
1.13    ! ohara    8140:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
        !          8141:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.10      ohara    8142:       if test -n "$file_magic_test_file"; then
                   8143:        case $deplibs_check_method in
                   8144:        "file_magic "*)
                   8145:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.13    ! ohara    8146:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.10      ohara    8147:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8148:            $EGREP "$file_magic_regex" > /dev/null; then
                   8149:            :
                   8150:          else
                   8151:            cat <<_LT_EOF 1>&2
                   8152:
                   8153: *** Warning: the command libtool uses to detect shared libraries,
                   8154: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8155: *** The result is that libtool may fail to recognize shared libraries
                   8156: *** as such.  This will affect the creation of libtool libraries that
                   8157: *** depend on shared libraries, but programs linked with such libtool
                   8158: *** libraries will work regardless of this problem.  Nevertheless, you
                   8159: *** may want to report the problem to your system manager and/or to
                   8160: *** bug-libtool@gnu.org
1.9       ohara    8161:
1.10      ohara    8162: _LT_EOF
                   8163:          fi ;;
                   8164:        esac
                   8165:       fi
                   8166:       break
1.9       ohara    8167:     fi
1.10      ohara    8168:   done
1.13    ! ohara    8169:   IFS=$lt_save_ifs
        !          8170:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.10      ohara    8171:   ;;
                   8172: esac
                   8173: fi
                   8174:
1.13    ! ohara    8175: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.10      ohara    8176: if test -n "$MAGIC_CMD"; then
                   8177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8178: $as_echo "$MAGIC_CMD" >&6; }
                   8179: else
                   8180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8181: $as_echo "no" >&6; }
                   8182: fi
                   8183:
                   8184:
                   8185:
                   8186:
                   8187:
                   8188: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8189:   if test -n "$ac_tool_prefix"; then
                   8190:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8191: $as_echo_n "checking for file... " >&6; }
1.13    ! ohara    8192: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.10      ohara    8193:   $as_echo_n "(cached) " >&6
                   8194: else
                   8195:   case $MAGIC_CMD in
                   8196: [\\/*] |  ?:[\\/]*)
1.13    ! ohara    8197:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.10      ohara    8198:   ;;
                   8199: *)
1.13    ! ohara    8200:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          8201:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.10      ohara    8202:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8203:   for ac_dir in $ac_dummy; do
1.13    ! ohara    8204:     IFS=$lt_save_ifs
1.10      ohara    8205:     test -z "$ac_dir" && ac_dir=.
1.13    ! ohara    8206:     if test -f "$ac_dir/file"; then
        !          8207:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.10      ohara    8208:       if test -n "$file_magic_test_file"; then
                   8209:        case $deplibs_check_method in
                   8210:        "file_magic "*)
                   8211:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.13    ! ohara    8212:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.10      ohara    8213:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8214:            $EGREP "$file_magic_regex" > /dev/null; then
                   8215:            :
                   8216:          else
                   8217:            cat <<_LT_EOF 1>&2
1.9       ohara    8218:
1.10      ohara    8219: *** Warning: the command libtool uses to detect shared libraries,
                   8220: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8221: *** The result is that libtool may fail to recognize shared libraries
                   8222: *** as such.  This will affect the creation of libtool libraries that
                   8223: *** depend on shared libraries, but programs linked with such libtool
                   8224: *** libraries will work regardless of this problem.  Nevertheless, you
                   8225: *** may want to report the problem to your system manager and/or to
                   8226: *** bug-libtool@gnu.org
1.9       ohara    8227:
1.10      ohara    8228: _LT_EOF
                   8229:          fi ;;
                   8230:        esac
                   8231:       fi
                   8232:       break
1.9       ohara    8233:     fi
1.10      ohara    8234:   done
1.13    ! ohara    8235:   IFS=$lt_save_ifs
        !          8236:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.10      ohara    8237:   ;;
                   8238: esac
                   8239: fi
                   8240:
1.13    ! ohara    8241: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.10      ohara    8242: if test -n "$MAGIC_CMD"; then
                   8243:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8244: $as_echo "$MAGIC_CMD" >&6; }
                   8245: else
                   8246:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8247: $as_echo "no" >&6; }
                   8248: fi
1.9       ohara    8249:
                   8250:
1.10      ohara    8251:   else
                   8252:     MAGIC_CMD=:
                   8253:   fi
                   8254: fi
1.9       ohara    8255:
1.10      ohara    8256:   fi
                   8257:   ;;
                   8258: esac
1.9       ohara    8259:
1.10      ohara    8260: # Use C for the default configuration in the libtool script
1.9       ohara    8261:
1.13    ! ohara    8262: lt_save_CC=$CC
1.10      ohara    8263: ac_ext=c
                   8264: ac_cpp='$CPP $CPPFLAGS'
                   8265: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8266: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8267: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    8268:
                   8269:
1.10      ohara    8270: # Source file extension for C test sources.
                   8271: ac_ext=c
1.9       ohara    8272:
1.10      ohara    8273: # Object file extension for compiled C test sources.
                   8274: objext=o
                   8275: objext=$objext
1.9       ohara    8276:
1.10      ohara    8277: # Code to be used in simple compile tests
                   8278: lt_simple_compile_test_code="int some_variable = 0;"
1.9       ohara    8279:
1.10      ohara    8280: # Code to be used in simple link tests
                   8281: lt_simple_link_test_code='int main(){return(0);}'
1.9       ohara    8282:
                   8283:
                   8284:
                   8285:
                   8286:
                   8287:
                   8288:
1.10      ohara    8289: # If no C compiler was specified, use CC.
                   8290: LTCC=${LTCC-"$CC"}
1.9       ohara    8291:
1.10      ohara    8292: # If no C compiler flags were specified, use CFLAGS.
                   8293: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.9       ohara    8294:
1.10      ohara    8295: # Allow CC to be a program name with arguments.
                   8296: compiler=$CC
1.9       ohara    8297:
1.10      ohara    8298: # Save the default compiler, since it gets overwritten when the other
                   8299: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8300: compiler_DEFAULT=$CC
1.9       ohara    8301:
1.10      ohara    8302: # save warnings/boilerplate of simple test code
                   8303: ac_outfile=conftest.$ac_objext
                   8304: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8305: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8306: _lt_compiler_boilerplate=`cat conftest.err`
                   8307: $RM conftest*
1.9       ohara    8308:
1.10      ohara    8309: ac_outfile=conftest.$ac_objext
                   8310: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8311: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8312: _lt_linker_boilerplate=`cat conftest.err`
                   8313: $RM -r conftest*
1.9       ohara    8314:
                   8315:
1.10      ohara    8316: if test -n "$compiler"; then
1.9       ohara    8317:
1.10      ohara    8318: lt_prog_compiler_no_builtin_flag=
1.9       ohara    8319:
1.13    ! ohara    8320: if test yes = "$GCC"; then
1.10      ohara    8321:   case $cc_basename in
                   8322:   nvcc*)
                   8323:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8324:   *)
                   8325:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8326:   esac
1.9       ohara    8327:
1.10      ohara    8328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8329: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.13    ! ohara    8330: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
1.10      ohara    8331:   $as_echo_n "(cached) " >&6
                   8332: else
                   8333:   lt_cv_prog_compiler_rtti_exceptions=no
                   8334:    ac_outfile=conftest.$ac_objext
                   8335:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.13    ! ohara    8336:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.10      ohara    8337:    # Insert the option either (1) after the last *FLAGS variable, or
                   8338:    # (2) before a word containing "conftest.", or (3) at the end.
                   8339:    # Note that $ac_compile itself does not contain backslashes and begins
                   8340:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8341:    # The option is referenced via a variable to avoid confusing sed.
                   8342:    lt_compile=`echo "$ac_compile" | $SED \
                   8343:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8344:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8345:    -e 's:$: $lt_compiler_flag:'`
                   8346:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8347:    (eval "$lt_compile" 2>conftest.err)
                   8348:    ac_status=$?
                   8349:    cat conftest.err >&5
                   8350:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8351:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8352:      # The compiler can only warn and ignore the option if not recognized
                   8353:      # So say no if there are warnings other than the usual output.
                   8354:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8355:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8356:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8357:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8358:      fi
                   8359:    fi
                   8360:    $RM conftest*
1.9       ohara    8361:
1.10      ohara    8362: fi
                   8363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8364: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.9       ohara    8365:
1.13    ! ohara    8366: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.10      ohara    8367:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.9       ohara    8368: else
1.10      ohara    8369:     :
                   8370: fi
                   8371:
                   8372: fi
1.9       ohara    8373:
                   8374:
                   8375:
                   8376:
                   8377:
                   8378:
1.10      ohara    8379:   lt_prog_compiler_wl=
                   8380: lt_prog_compiler_pic=
                   8381: lt_prog_compiler_static=
1.9       ohara    8382:
                   8383:
1.13    ! ohara    8384:   if test yes = "$GCC"; then
1.10      ohara    8385:     lt_prog_compiler_wl='-Wl,'
                   8386:     lt_prog_compiler_static='-static'
1.9       ohara    8387:
1.10      ohara    8388:     case $host_os in
                   8389:       aix*)
                   8390:       # All AIX code is PIC.
1.13    ! ohara    8391:       if test ia64 = "$host_cpu"; then
1.10      ohara    8392:        # AIX 5 now supports IA64 processor
                   8393:        lt_prog_compiler_static='-Bstatic'
1.9       ohara    8394:       fi
1.13    ! ohara    8395:       lt_prog_compiler_pic='-fPIC'
1.9       ohara    8396:       ;;
                   8397:
                   8398:     amigaos*)
1.10      ohara    8399:       case $host_cpu in
                   8400:       powerpc)
                   8401:             # see comment about AmigaOS4 .so support
                   8402:             lt_prog_compiler_pic='-fPIC'
                   8403:         ;;
                   8404:       m68k)
                   8405:             # FIXME: we need at least 68020 code to build shared libraries, but
1.13    ! ohara    8406:             # adding the '-m68020' flag to GCC prevents building anything better,
        !          8407:             # like '-m68040'.
1.10      ohara    8408:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8409:         ;;
                   8410:       esac
1.9       ohara    8411:       ;;
                   8412:
1.10      ohara    8413:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8414:       # PIC is the default for these OSes.
1.9       ohara    8415:       ;;
                   8416:
1.10      ohara    8417:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8418:       # This hack is so that the source file can tell whether it is being
                   8419:       # built for inclusion in a dll (and should export symbols for example).
                   8420:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8421:       # (--disable-auto-import) libraries
                   8422:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.13    ! ohara    8423:       case $host_os in
        !          8424:       os2*)
        !          8425:        lt_prog_compiler_static='$wl-static'
        !          8426:        ;;
        !          8427:       esac
1.9       ohara    8428:       ;;
                   8429:
                   8430:     darwin* | rhapsody*)
1.10      ohara    8431:       # PIC is the default on this platform
                   8432:       # Common symbols not allowed in MH_DYLIB files
                   8433:       lt_prog_compiler_pic='-fno-common'
1.9       ohara    8434:       ;;
                   8435:
1.10      ohara    8436:     haiku*)
                   8437:       # PIC is the default for Haiku.
                   8438:       # The "-static" flag exists, but is broken.
                   8439:       lt_prog_compiler_static=
1.9       ohara    8440:       ;;
                   8441:
1.10      ohara    8442:     hpux*)
                   8443:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8444:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8445:       # sets the default TLS model and affects inlining.
                   8446:       case $host_cpu in
                   8447:       hppa*64*)
                   8448:        # +Z the default
                   8449:        ;;
                   8450:       *)
                   8451:        lt_prog_compiler_pic='-fPIC'
                   8452:        ;;
                   8453:       esac
1.9       ohara    8454:       ;;
                   8455:
1.10      ohara    8456:     interix[3-9]*)
                   8457:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8458:       # Instead, we relocate shared libraries at runtime.
1.9       ohara    8459:       ;;
                   8460:
1.10      ohara    8461:     msdosdjgpp*)
                   8462:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8463:       # on systems that don't support them.
                   8464:       lt_prog_compiler_can_build_shared=no
                   8465:       enable_shared=no
1.9       ohara    8466:       ;;
                   8467:
1.10      ohara    8468:     *nto* | *qnx*)
                   8469:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8470:       # it will coredump.
                   8471:       lt_prog_compiler_pic='-fPIC -shared'
1.9       ohara    8472:       ;;
                   8473:
1.10      ohara    8474:     sysv4*MP*)
                   8475:       if test -d /usr/nec; then
                   8476:        lt_prog_compiler_pic=-Kconform_pic
1.9       ohara    8477:       fi
1.10      ohara    8478:       ;;
1.9       ohara    8479:
1.10      ohara    8480:     *)
                   8481:       lt_prog_compiler_pic='-fPIC'
1.9       ohara    8482:       ;;
1.10      ohara    8483:     esac
1.9       ohara    8484:
1.10      ohara    8485:     case $cc_basename in
                   8486:     nvcc*) # Cuda Compiler Driver 2.2
                   8487:       lt_prog_compiler_wl='-Xlinker '
                   8488:       if test -n "$lt_prog_compiler_pic"; then
                   8489:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
1.9       ohara    8490:       fi
                   8491:       ;;
1.10      ohara    8492:     esac
                   8493:   else
                   8494:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8495:     case $host_os in
                   8496:     aix*)
                   8497:       lt_prog_compiler_wl='-Wl,'
1.13    ! ohara    8498:       if test ia64 = "$host_cpu"; then
1.10      ohara    8499:        # AIX 5 now supports IA64 processor
                   8500:        lt_prog_compiler_static='-Bstatic'
1.9       ohara    8501:       else
1.10      ohara    8502:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
1.9       ohara    8503:       fi
1.10      ohara    8504:       ;;
1.9       ohara    8505:
1.13    ! ohara    8506:     darwin* | rhapsody*)
        !          8507:       # PIC is the default on this platform
        !          8508:       # Common symbols not allowed in MH_DYLIB files
        !          8509:       lt_prog_compiler_pic='-fno-common'
        !          8510:       case $cc_basename in
        !          8511:       nagfor*)
        !          8512:         # NAG Fortran compiler
        !          8513:         lt_prog_compiler_wl='-Wl,-Wl,,'
        !          8514:         lt_prog_compiler_pic='-PIC'
        !          8515:         lt_prog_compiler_static='-Bstatic'
        !          8516:         ;;
        !          8517:       esac
        !          8518:       ;;
        !          8519:
1.10      ohara    8520:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8521:       # This hack is so that the source file can tell whether it is being
                   8522:       # built for inclusion in a dll (and should export symbols for example).
                   8523:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.13    ! ohara    8524:       case $host_os in
        !          8525:       os2*)
        !          8526:        lt_prog_compiler_static='$wl-static'
        !          8527:        ;;
        !          8528:       esac
1.10      ohara    8529:       ;;
1.9       ohara    8530:
1.10      ohara    8531:     hpux9* | hpux10* | hpux11*)
                   8532:       lt_prog_compiler_wl='-Wl,'
                   8533:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8534:       # not for PA HP-UX.
                   8535:       case $host_cpu in
                   8536:       hppa*64*|ia64*)
                   8537:        # +Z the default
                   8538:        ;;
                   8539:       *)
                   8540:        lt_prog_compiler_pic='+Z'
                   8541:        ;;
                   8542:       esac
                   8543:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.13    ! ohara    8544:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.9       ohara    8545:       ;;
                   8546:
                   8547:     irix5* | irix6* | nonstopux*)
1.10      ohara    8548:       lt_prog_compiler_wl='-Wl,'
                   8549:       # PIC (with -KPIC) is the default.
                   8550:       lt_prog_compiler_static='-non_shared'
1.9       ohara    8551:       ;;
                   8552:
1.13    ! ohara    8553:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.10      ohara    8554:       case $cc_basename in
1.13    ! ohara    8555:       # old Intel for x86_64, which still supported -KPIC.
1.10      ohara    8556:       ecc*)
                   8557:        lt_prog_compiler_wl='-Wl,'
                   8558:        lt_prog_compiler_pic='-KPIC'
                   8559:        lt_prog_compiler_static='-static'
                   8560:         ;;
                   8561:       # icc used to be incompatible with GCC.
                   8562:       # ICC 10 doesn't accept -KPIC any more.
                   8563:       icc* | ifort*)
                   8564:        lt_prog_compiler_wl='-Wl,'
                   8565:        lt_prog_compiler_pic='-fPIC'
                   8566:        lt_prog_compiler_static='-static'
                   8567:         ;;
                   8568:       # Lahey Fortran 8.1.
                   8569:       lf95*)
                   8570:        lt_prog_compiler_wl='-Wl,'
                   8571:        lt_prog_compiler_pic='--shared'
                   8572:        lt_prog_compiler_static='--static'
                   8573:        ;;
                   8574:       nagfor*)
                   8575:        # NAG Fortran compiler
                   8576:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8577:        lt_prog_compiler_pic='-PIC'
                   8578:        lt_prog_compiler_static='-Bstatic'
                   8579:        ;;
1.13    ! ohara    8580:       tcc*)
        !          8581:        # Fabrice Bellard et al's Tiny C Compiler
        !          8582:        lt_prog_compiler_wl='-Wl,'
        !          8583:        lt_prog_compiler_pic='-fPIC'
        !          8584:        lt_prog_compiler_static='-static'
        !          8585:        ;;
1.10      ohara    8586:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8587:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8588:        # which looks to be a dead project)
                   8589:        lt_prog_compiler_wl='-Wl,'
                   8590:        lt_prog_compiler_pic='-fpic'
                   8591:        lt_prog_compiler_static='-Bstatic'
                   8592:         ;;
                   8593:       ccc*)
                   8594:         lt_prog_compiler_wl='-Wl,'
                   8595:         # All Alpha code is PIC.
                   8596:         lt_prog_compiler_static='-non_shared'
                   8597:         ;;
                   8598:       xl* | bgxl* | bgf* | mpixl*)
                   8599:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8600:        lt_prog_compiler_wl='-Wl,'
                   8601:        lt_prog_compiler_pic='-qpic'
                   8602:        lt_prog_compiler_static='-qstaticlink'
                   8603:        ;;
                   8604:       *)
                   8605:        case `$CC -V 2>&1 | sed 5q` in
                   8606:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8607:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8608:          lt_prog_compiler_pic='-KPIC'
                   8609:          lt_prog_compiler_static='-Bstatic'
                   8610:          lt_prog_compiler_wl=''
                   8611:          ;;
                   8612:        *Sun\ F* | *Sun*Fortran*)
                   8613:          lt_prog_compiler_pic='-KPIC'
                   8614:          lt_prog_compiler_static='-Bstatic'
                   8615:          lt_prog_compiler_wl='-Qoption ld '
                   8616:          ;;
                   8617:        *Sun\ C*)
                   8618:          # Sun C 5.9
                   8619:          lt_prog_compiler_pic='-KPIC'
                   8620:          lt_prog_compiler_static='-Bstatic'
                   8621:          lt_prog_compiler_wl='-Wl,'
                   8622:          ;;
                   8623:         *Intel*\ [CF]*Compiler*)
                   8624:          lt_prog_compiler_wl='-Wl,'
                   8625:          lt_prog_compiler_pic='-fPIC'
                   8626:          lt_prog_compiler_static='-static'
                   8627:          ;;
                   8628:        *Portland\ Group*)
                   8629:          lt_prog_compiler_wl='-Wl,'
                   8630:          lt_prog_compiler_pic='-fpic'
                   8631:          lt_prog_compiler_static='-Bstatic'
                   8632:          ;;
                   8633:        esac
                   8634:        ;;
                   8635:       esac
1.9       ohara    8636:       ;;
                   8637:
                   8638:     newsos6)
1.10      ohara    8639:       lt_prog_compiler_pic='-KPIC'
                   8640:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8641:       ;;
                   8642:
1.10      ohara    8643:     *nto* | *qnx*)
                   8644:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8645:       # it will coredump.
                   8646:       lt_prog_compiler_pic='-fPIC -shared'
1.9       ohara    8647:       ;;
                   8648:
1.10      ohara    8649:     osf3* | osf4* | osf5*)
                   8650:       lt_prog_compiler_wl='-Wl,'
                   8651:       # All OSF/1 code is PIC.
                   8652:       lt_prog_compiler_static='-non_shared'
1.9       ohara    8653:       ;;
                   8654:
1.10      ohara    8655:     rdos*)
                   8656:       lt_prog_compiler_static='-non_shared'
1.9       ohara    8657:       ;;
                   8658:
                   8659:     solaris*)
1.10      ohara    8660:       lt_prog_compiler_pic='-KPIC'
                   8661:       lt_prog_compiler_static='-Bstatic'
                   8662:       case $cc_basename in
                   8663:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8664:        lt_prog_compiler_wl='-Qoption ld ';;
1.9       ohara    8665:       *)
1.10      ohara    8666:        lt_prog_compiler_wl='-Wl,';;
1.9       ohara    8667:       esac
                   8668:       ;;
                   8669:
                   8670:     sunos4*)
1.10      ohara    8671:       lt_prog_compiler_wl='-Qoption ld '
                   8672:       lt_prog_compiler_pic='-PIC'
                   8673:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8674:       ;;
                   8675:
1.10      ohara    8676:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8677:       lt_prog_compiler_wl='-Wl,'
                   8678:       lt_prog_compiler_pic='-KPIC'
                   8679:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8680:       ;;
                   8681:
                   8682:     sysv4*MP*)
1.13    ! ohara    8683:       if test -d /usr/nec; then
1.10      ohara    8684:        lt_prog_compiler_pic='-Kconform_pic'
                   8685:        lt_prog_compiler_static='-Bstatic'
1.9       ohara    8686:       fi
                   8687:       ;;
                   8688:
1.10      ohara    8689:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8690:       lt_prog_compiler_wl='-Wl,'
                   8691:       lt_prog_compiler_pic='-KPIC'
                   8692:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8693:       ;;
                   8694:
1.10      ohara    8695:     unicos*)
                   8696:       lt_prog_compiler_wl='-Wl,'
                   8697:       lt_prog_compiler_can_build_shared=no
1.9       ohara    8698:       ;;
                   8699:
                   8700:     uts4*)
1.10      ohara    8701:       lt_prog_compiler_pic='-pic'
                   8702:       lt_prog_compiler_static='-Bstatic'
1.9       ohara    8703:       ;;
                   8704:
                   8705:     *)
1.10      ohara    8706:       lt_prog_compiler_can_build_shared=no
1.9       ohara    8707:       ;;
                   8708:     esac
                   8709:   fi
                   8710:
1.10      ohara    8711: case $host_os in
1.13    ! ohara    8712:   # For platforms that do not support PIC, -DPIC is meaningless:
1.10      ohara    8713:   *djgpp*)
                   8714:     lt_prog_compiler_pic=
                   8715:     ;;
                   8716:   *)
                   8717:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8718:     ;;
                   8719: esac
                   8720:
                   8721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8722: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1.13    ! ohara    8723: if ${lt_cv_prog_compiler_pic+:} false; then :
1.10      ohara    8724:   $as_echo_n "(cached) " >&6
                   8725: else
                   8726:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8727: fi
                   8728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   8729: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   8730: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.9       ohara    8731:
                   8732: #
1.10      ohara    8733: # Check to make sure the PIC flag actually works.
1.9       ohara    8734: #
1.10      ohara    8735: if test -n "$lt_prog_compiler_pic"; then
                   8736:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8737: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.13    ! ohara    8738: if ${lt_cv_prog_compiler_pic_works+:} false; then :
1.10      ohara    8739:   $as_echo_n "(cached) " >&6
                   8740: else
                   8741:   lt_cv_prog_compiler_pic_works=no
                   8742:    ac_outfile=conftest.$ac_objext
                   8743:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.13    ! ohara    8744:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.10      ohara    8745:    # Insert the option either (1) after the last *FLAGS variable, or
                   8746:    # (2) before a word containing "conftest.", or (3) at the end.
                   8747:    # Note that $ac_compile itself does not contain backslashes and begins
                   8748:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8749:    # The option is referenced via a variable to avoid confusing sed.
                   8750:    lt_compile=`echo "$ac_compile" | $SED \
                   8751:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8752:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8753:    -e 's:$: $lt_compiler_flag:'`
                   8754:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8755:    (eval "$lt_compile" 2>conftest.err)
                   8756:    ac_status=$?
                   8757:    cat conftest.err >&5
                   8758:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8759:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8760:      # The compiler can only warn and ignore the option if not recognized
                   8761:      # So say no if there are warnings other than the usual output.
                   8762:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8763:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8764:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8765:        lt_cv_prog_compiler_pic_works=yes
                   8766:      fi
                   8767:    fi
                   8768:    $RM conftest*
                   8769:
                   8770: fi
                   8771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8772: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8773:
1.13    ! ohara    8774: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.10      ohara    8775:     case $lt_prog_compiler_pic in
                   8776:      "" | " "*) ;;
                   8777:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8778:      esac
                   8779: else
                   8780:     lt_prog_compiler_pic=
                   8781:      lt_prog_compiler_can_build_shared=no
                   8782: fi
                   8783:
                   8784: fi
                   8785:
                   8786:
                   8787:
                   8788:
                   8789:
                   8790:
                   8791:
                   8792:
1.9       ohara    8793:
                   8794:
                   8795:
1.10      ohara    8796: #
                   8797: # Check to make sure the static flag actually works.
                   8798: #
                   8799: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8800: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8801: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.13    ! ohara    8802: if ${lt_cv_prog_compiler_static_works+:} false; then :
1.10      ohara    8803:   $as_echo_n "(cached) " >&6
1.9       ohara    8804: else
1.10      ohara    8805:   lt_cv_prog_compiler_static_works=no
1.13    ! ohara    8806:    save_LDFLAGS=$LDFLAGS
1.10      ohara    8807:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8808:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8809:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8810:      # The linker can only warn and ignore the option if not recognized
                   8811:      # So say no if there are warnings
                   8812:      if test -s conftest.err; then
                   8813:        # Append any errors to the config.log.
                   8814:        cat conftest.err 1>&5
                   8815:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8816:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8817:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8818:          lt_cv_prog_compiler_static_works=yes
                   8819:        fi
                   8820:      else
                   8821:        lt_cv_prog_compiler_static_works=yes
                   8822:      fi
                   8823:    fi
                   8824:    $RM -r conftest*
1.13    ! ohara    8825:    LDFLAGS=$save_LDFLAGS
1.10      ohara    8826:
1.9       ohara    8827: fi
1.10      ohara    8828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8829: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.9       ohara    8830:
1.13    ! ohara    8831: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.10      ohara    8832:     :
                   8833: else
                   8834:     lt_prog_compiler_static=
                   8835: fi
1.9       ohara    8836:
                   8837:
                   8838:
                   8839:
                   8840:
                   8841:
                   8842:
1.10      ohara    8843:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8844: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.13    ! ohara    8845: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.10      ohara    8846:   $as_echo_n "(cached) " >&6
                   8847: else
                   8848:   lt_cv_prog_compiler_c_o=no
                   8849:    $RM -r conftest 2>/dev/null
                   8850:    mkdir conftest
                   8851:    cd conftest
                   8852:    mkdir out
                   8853:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.9       ohara    8854:
1.10      ohara    8855:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8856:    # Insert the option either (1) after the last *FLAGS variable, or
                   8857:    # (2) before a word containing "conftest.", or (3) at the end.
                   8858:    # Note that $ac_compile itself does not contain backslashes and begins
                   8859:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8860:    lt_compile=`echo "$ac_compile" | $SED \
                   8861:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8862:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8863:    -e 's:$: $lt_compiler_flag:'`
                   8864:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8865:    (eval "$lt_compile" 2>out/conftest.err)
                   8866:    ac_status=$?
                   8867:    cat out/conftest.err >&5
                   8868:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8869:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8870:    then
                   8871:      # The compiler can only warn and ignore the option if not recognized
                   8872:      # So say no if there are warnings
                   8873:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8874:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8875:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8876:        lt_cv_prog_compiler_c_o=yes
                   8877:      fi
                   8878:    fi
                   8879:    chmod u+w . 2>&5
                   8880:    $RM conftest*
                   8881:    # SGI C++ compiler will create directory out/ii_files/ for
                   8882:    # template instantiation
                   8883:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8884:    $RM out/* && rmdir out
                   8885:    cd ..
                   8886:    $RM -r conftest
                   8887:    $RM conftest*
1.9       ohara    8888:
1.10      ohara    8889: fi
                   8890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8891: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.9       ohara    8892:
                   8893:
                   8894:
                   8895:
                   8896:
                   8897:
1.10      ohara    8898:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8899: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.13    ! ohara    8900: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.10      ohara    8901:   $as_echo_n "(cached) " >&6
                   8902: else
                   8903:   lt_cv_prog_compiler_c_o=no
                   8904:    $RM -r conftest 2>/dev/null
                   8905:    mkdir conftest
                   8906:    cd conftest
                   8907:    mkdir out
                   8908:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.9       ohara    8909:
1.10      ohara    8910:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8911:    # Insert the option either (1) after the last *FLAGS variable, or
                   8912:    # (2) before a word containing "conftest.", or (3) at the end.
                   8913:    # Note that $ac_compile itself does not contain backslashes and begins
                   8914:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8915:    lt_compile=`echo "$ac_compile" | $SED \
                   8916:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8917:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8918:    -e 's:$: $lt_compiler_flag:'`
                   8919:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8920:    (eval "$lt_compile" 2>out/conftest.err)
                   8921:    ac_status=$?
                   8922:    cat out/conftest.err >&5
                   8923:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8924:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8925:    then
                   8926:      # The compiler can only warn and ignore the option if not recognized
                   8927:      # So say no if there are warnings
                   8928:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8929:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8930:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8931:        lt_cv_prog_compiler_c_o=yes
                   8932:      fi
                   8933:    fi
                   8934:    chmod u+w . 2>&5
                   8935:    $RM conftest*
                   8936:    # SGI C++ compiler will create directory out/ii_files/ for
                   8937:    # template instantiation
                   8938:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8939:    $RM out/* && rmdir out
                   8940:    cd ..
                   8941:    $RM -r conftest
                   8942:    $RM conftest*
1.9       ohara    8943:
1.10      ohara    8944: fi
                   8945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8946: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.9       ohara    8947:
                   8948:
                   8949:
                   8950:
1.13    ! ohara    8951: hard_links=nottested
        !          8952: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.10      ohara    8953:   # do not overwrite the value of need_locks provided by the user
                   8954:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   8955: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8956:   hard_links=yes
                   8957:   $RM conftest*
                   8958:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8959:   touch conftest.a
                   8960:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8961:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   8963: $as_echo "$hard_links" >&6; }
1.13    ! ohara    8964:   if test no = "$hard_links"; then
        !          8965:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
        !          8966: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.10      ohara    8967:     need_locks=warn
1.9       ohara    8968:   fi
1.10      ohara    8969: else
                   8970:   need_locks=no
                   8971: fi
                   8972:
                   8973:
1.9       ohara    8974:
                   8975:
                   8976:
                   8977:
1.10      ohara    8978:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8979: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.9       ohara    8980:
1.10      ohara    8981:   runpath_var=
                   8982:   allow_undefined_flag=
                   8983:   always_export_symbols=no
                   8984:   archive_cmds=
                   8985:   archive_expsym_cmds=
                   8986:   compiler_needs_object=no
                   8987:   enable_shared_with_static_runtimes=no
                   8988:   export_dynamic_flag_spec=
                   8989:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8990:   hardcode_automatic=no
                   8991:   hardcode_direct=no
                   8992:   hardcode_direct_absolute=no
                   8993:   hardcode_libdir_flag_spec=
                   8994:   hardcode_libdir_separator=
                   8995:   hardcode_minus_L=no
                   8996:   hardcode_shlibpath_var=unsupported
                   8997:   inherit_rpath=no
                   8998:   link_all_deplibs=unknown
                   8999:   module_cmds=
                   9000:   module_expsym_cmds=
                   9001:   old_archive_from_new_cmds=
                   9002:   old_archive_from_expsyms_cmds=
                   9003:   thread_safe_flag_spec=
                   9004:   whole_archive_flag_spec=
                   9005:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9006:   # included in the symbol list
                   9007:   include_expsyms=
                   9008:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.13    ! ohara    9009:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
        !          9010:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
        !          9011:   # as well as any symbol that contains 'd'.
1.10      ohara    9012:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9013:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9014:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9015:   # the symbol is explicitly referenced.  Since portable code cannot
                   9016:   # rely on this symbol name, it's probably fine to never include it in
                   9017:   # preloaded symbol tables.
                   9018:   # Exclude shared library initialization/finalization symbols.
                   9019:   extract_expsyms_cmds=
1.9       ohara    9020:
                   9021:   case $host_os in
1.10      ohara    9022:   cygwin* | mingw* | pw32* | cegcc*)
                   9023:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9024:     # When not using gcc, we currently assume that we are using
                   9025:     # Microsoft Visual C++.
1.13    ! ohara    9026:     if test yes != "$GCC"; then
1.10      ohara    9027:       with_gnu_ld=no
                   9028:     fi
                   9029:     ;;
                   9030:   interix*)
                   9031:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9032:     with_gnu_ld=yes
                   9033:     ;;
1.13    ! ohara    9034:   openbsd* | bitrig*)
1.10      ohara    9035:     with_gnu_ld=no
                   9036:     ;;
1.9       ohara    9037:   esac
1.10      ohara    9038:
                   9039:   ld_shlibs=yes
                   9040:
                   9041:   # On some targets, GNU ld is compatible enough with the native linker
                   9042:   # that we're better off using the native interface for both.
                   9043:   lt_use_gnu_ld_interface=no
1.13    ! ohara    9044:   if test yes = "$with_gnu_ld"; then
1.9       ohara    9045:     case $host_os in
1.10      ohara    9046:       aix*)
                   9047:        # The AIX port of GNU ld has always aspired to compatibility
                   9048:        # with the native linker.  However, as the warning in the GNU ld
                   9049:        # block says, versions before 2.19.5* couldn't really create working
                   9050:        # shared libraries, regardless of the interface used.
                   9051:        case `$LD -v 2>&1` in
                   9052:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9053:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9054:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9055:          *)
                   9056:            lt_use_gnu_ld_interface=yes
                   9057:            ;;
                   9058:        esac
1.9       ohara    9059:        ;;
                   9060:       *)
1.10      ohara    9061:        lt_use_gnu_ld_interface=yes
1.9       ohara    9062:        ;;
1.10      ohara    9063:     esac
1.9       ohara    9064:   fi
                   9065:
1.13    ! ohara    9066:   if test yes = "$lt_use_gnu_ld_interface"; then
1.10      ohara    9067:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.13    ! ohara    9068:     wlarc='$wl'
1.10      ohara    9069:
                   9070:     # Set some defaults for GNU ld with shared library support. These
                   9071:     # are reset later if shared libraries are not supported. Putting them
                   9072:     # here allows them to be overridden if necessary.
                   9073:     runpath_var=LD_RUN_PATH
1.13    ! ohara    9074:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9075:     export_dynamic_flag_spec='$wl--export-dynamic'
1.10      ohara    9076:     # ancient GNU ld didn't support --whole-archive et. al.
                   9077:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.13    ! ohara    9078:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.10      ohara    9079:     else
                   9080:       whole_archive_flag_spec=
                   9081:     fi
                   9082:     supports_anon_versioning=no
1.13    ! ohara    9083:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
1.10      ohara    9084:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9085:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9086:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9087:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9088:       *\ 2.11.*) ;; # other 2.11 versions
                   9089:       *) supports_anon_versioning=yes ;;
                   9090:     esac
                   9091:
                   9092:     # See if GNU ld supports shared libraries.
                   9093:     case $host_os in
                   9094:     aix[3-9]*)
                   9095:       # On AIX/PPC, the GNU linker is very broken
1.13    ! ohara    9096:       if test ia64 != "$host_cpu"; then
1.10      ohara    9097:        ld_shlibs=no
                   9098:        cat <<_LT_EOF 1>&2
                   9099:
                   9100: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9101: *** to be unable to reliably create shared libraries on AIX.
                   9102: *** Therefore, libtool is disabling shared libraries support.  If you
                   9103: *** really care for shared libraries, you may want to install binutils
                   9104: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9105: *** You will then need to restart the configuration process.
                   9106:
                   9107: _LT_EOF
                   9108:       fi
                   9109:       ;;
1.9       ohara    9110:
1.10      ohara    9111:     amigaos*)
                   9112:       case $host_cpu in
                   9113:       powerpc)
                   9114:             # see comment about AmigaOS4 .so support
1.13    ! ohara    9115:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.10      ohara    9116:             archive_expsym_cmds=''
                   9117:         ;;
                   9118:       m68k)
                   9119:             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)'
                   9120:             hardcode_libdir_flag_spec='-L$libdir'
                   9121:             hardcode_minus_L=yes
                   9122:         ;;
                   9123:       esac
                   9124:       ;;
1.9       ohara    9125:
1.10      ohara    9126:     beos*)
                   9127:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9128:        allow_undefined_flag=unsupported
                   9129:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9130:        # support --undefined.  This deserves some investigation.  FIXME
1.13    ! ohara    9131:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.10      ohara    9132:       else
                   9133:        ld_shlibs=no
                   9134:       fi
                   9135:       ;;
1.9       ohara    9136:
1.10      ohara    9137:     cygwin* | mingw* | pw32* | cegcc*)
                   9138:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9139:       # as there is no search path for DLLs.
                   9140:       hardcode_libdir_flag_spec='-L$libdir'
1.13    ! ohara    9141:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.10      ohara    9142:       allow_undefined_flag=unsupported
                   9143:       always_export_symbols=no
                   9144:       enable_shared_with_static_runtimes=yes
                   9145:       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'
                   9146:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.9       ohara    9147:
1.10      ohara    9148:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.13    ! ohara    9149:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
        !          9150:        # If the export-symbols file already is a .def file, use it as
        !          9151:        # is; otherwise, prepend EXPORTS...
        !          9152:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          9153:           cp $export_symbols $output_objdir/$soname.def;
        !          9154:         else
        !          9155:           echo EXPORTS > $output_objdir/$soname.def;
        !          9156:           cat $export_symbols >> $output_objdir/$soname.def;
        !          9157:         fi~
        !          9158:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1.10      ohara    9159:       else
                   9160:        ld_shlibs=no
                   9161:       fi
1.9       ohara    9162:       ;;
1.10      ohara    9163:
                   9164:     haiku*)
1.13    ! ohara    9165:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.10      ohara    9166:       link_all_deplibs=yes
1.9       ohara    9167:       ;;
1.10      ohara    9168:
1.13    ! ohara    9169:     os2*)
        !          9170:       hardcode_libdir_flag_spec='-L$libdir'
        !          9171:       hardcode_minus_L=yes
        !          9172:       allow_undefined_flag=unsupported
        !          9173:       shrext_cmds=.dll
        !          9174:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          9175:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          9176:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          9177:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          9178:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          9179:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          9180:        emximp -o $lib $output_objdir/$libname.def'
        !          9181:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          9182:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          9183:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          9184:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          9185:        prefix_cmds="$SED"~
        !          9186:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          9187:          prefix_cmds="$prefix_cmds -e 1d";
        !          9188:        fi~
        !          9189:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          9190:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          9191:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          9192:        emximp -o $lib $output_objdir/$libname.def'
        !          9193:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          9194:       enable_shared_with_static_runtimes=yes
        !          9195:       ;;
        !          9196:
1.10      ohara    9197:     interix[3-9]*)
                   9198:       hardcode_direct=no
                   9199:       hardcode_shlibpath_var=no
1.13    ! ohara    9200:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          9201:       export_dynamic_flag_spec='$wl-E'
1.10      ohara    9202:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9203:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9204:       # default) and relocated if they conflict, which is a slow very memory
                   9205:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9206:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9207:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.13    ! ohara    9208:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        !          9209:       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    9210:       ;;
                   9211:
1.10      ohara    9212:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9213:       tmp_diet=no
1.13    ! ohara    9214:       if test linux-dietlibc = "$host_os"; then
1.10      ohara    9215:        case $cc_basename in
                   9216:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9217:        esac
                   9218:       fi
                   9219:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.13    ! ohara    9220:         && test no = "$tmp_diet"
1.10      ohara    9221:       then
                   9222:        tmp_addflag=' $pic_flag'
                   9223:        tmp_sharedflag='-shared'
                   9224:        case $cc_basename,$host_cpu in
                   9225:         pgcc*)                         # Portland Group C compiler
1.13    ! ohara    9226:          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'
1.10      ohara    9227:          tmp_addflag=' $pic_flag'
                   9228:          ;;
                   9229:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9230:                                        # Portland Group f77 and f90 compilers
1.13    ! ohara    9231:          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'
1.10      ohara    9232:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9233:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9234:          tmp_addflag=' -i_dynamic' ;;
                   9235:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9236:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9237:        ifc* | ifort*)                  # Intel Fortran compiler
                   9238:          tmp_addflag=' -nofor_main' ;;
                   9239:        lf95*)                          # Lahey Fortran 8.1
                   9240:          whole_archive_flag_spec=
                   9241:          tmp_sharedflag='--shared' ;;
1.13    ! ohara    9242:         nagfor*)                        # NAGFOR 5.3
        !          9243:           tmp_sharedflag='-Wl,-shared' ;;
1.10      ohara    9244:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9245:          tmp_sharedflag='-qmkshrobj'
                   9246:          tmp_addflag= ;;
                   9247:        nvcc*)  # Cuda Compiler Driver 2.2
1.13    ! ohara    9248:          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'
1.10      ohara    9249:          compiler_needs_object=yes
                   9250:          ;;
                   9251:        esac
                   9252:        case `$CC -V 2>&1 | sed 5q` in
                   9253:        *Sun\ C*)                       # Sun C 5.9
1.13    ! ohara    9254:          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'
1.10      ohara    9255:          compiler_needs_object=yes
                   9256:          tmp_sharedflag='-G' ;;
                   9257:        *Sun\ F*)                       # Sun Fortran 8.3
                   9258:          tmp_sharedflag='-G' ;;
                   9259:        esac
1.13    ! ohara    9260:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.10      ohara    9261:
1.13    ! ohara    9262:         if test yes = "$supports_anon_versioning"; then
1.10      ohara    9263:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.13    ! ohara    9264:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          9265:             echo "local: *; };" >> $output_objdir/$libname.ver~
        !          9266:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.10      ohara    9267:         fi
                   9268:
                   9269:        case $cc_basename in
1.13    ! ohara    9270:        tcc*)
        !          9271:          export_dynamic_flag_spec='-rdynamic'
        !          9272:          ;;
1.10      ohara    9273:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9274:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9275:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.13    ! ohara    9276:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.10      ohara    9277:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.13    ! ohara    9278:          if test yes = "$supports_anon_versioning"; then
1.10      ohara    9279:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.13    ! ohara    9280:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          9281:               echo "local: *; };" >> $output_objdir/$libname.ver~
        !          9282:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.10      ohara    9283:          fi
                   9284:          ;;
                   9285:        esac
                   9286:       else
                   9287:         ld_shlibs=no
                   9288:       fi
                   9289:       ;;
1.9       ohara    9290:
1.10      ohara    9291:     netbsd*)
                   9292:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9293:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9294:        wlarc=
                   9295:       else
1.13    ! ohara    9296:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9297:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.10      ohara    9298:       fi
                   9299:       ;;
1.9       ohara    9300:
1.10      ohara    9301:     solaris*)
                   9302:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9303:        ld_shlibs=no
                   9304:        cat <<_LT_EOF 1>&2
1.9       ohara    9305:
1.10      ohara    9306: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9307: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9308: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9309: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9310: *** your PATH or compiler configuration so that the native linker is
                   9311: *** used, and then restart.
1.9       ohara    9312:
1.10      ohara    9313: _LT_EOF
                   9314:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.13    ! ohara    9315:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9316:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.10      ohara    9317:       else
                   9318:        ld_shlibs=no
                   9319:       fi
                   9320:       ;;
1.9       ohara    9321:
1.10      ohara    9322:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9323:       case `$LD -v 2>&1` in
                   9324:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9325:        ld_shlibs=no
                   9326:        cat <<_LT_EOF 1>&2
1.9       ohara    9327:
1.13    ! ohara    9328: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.10      ohara    9329: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9330: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9331: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9332: *** your PATH or compiler configuration so that the native linker is
                   9333: *** used, and then restart.
1.9       ohara    9334:
1.10      ohara    9335: _LT_EOF
                   9336:        ;;
                   9337:        *)
                   9338:          # For security reasons, it is highly recommended that you always
                   9339:          # use absolute paths for naming shared libraries, and exclude the
                   9340:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9341:          # requires that you compile everything twice, which is a pain.
                   9342:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.13    ! ohara    9343:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9344:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9345:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.10      ohara    9346:          else
                   9347:            ld_shlibs=no
                   9348:          fi
                   9349:        ;;
                   9350:       esac
                   9351:       ;;
1.9       ohara    9352:
1.10      ohara    9353:     sunos4*)
                   9354:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9355:       wlarc=
                   9356:       hardcode_direct=yes
                   9357:       hardcode_shlibpath_var=no
                   9358:       ;;
1.9       ohara    9359:
                   9360:     *)
1.10      ohara    9361:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.13    ! ohara    9362:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9363:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.10      ohara    9364:       else
                   9365:        ld_shlibs=no
                   9366:       fi
1.9       ohara    9367:       ;;
                   9368:     esac
                   9369:
1.13    ! ohara    9370:     if test no = "$ld_shlibs"; then
1.10      ohara    9371:       runpath_var=
                   9372:       hardcode_libdir_flag_spec=
                   9373:       export_dynamic_flag_spec=
                   9374:       whole_archive_flag_spec=
                   9375:     fi
                   9376:   else
                   9377:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9378:     case $host_os in
                   9379:     aix3*)
                   9380:       allow_undefined_flag=unsupported
                   9381:       always_export_symbols=yes
                   9382:       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'
                   9383:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9384:       # are no directories specified by -L.
                   9385:       hardcode_minus_L=yes
1.13    ! ohara    9386:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.10      ohara    9387:        # Neither direct hardcoding nor static linking is supported with a
                   9388:        # broken collect2.
                   9389:        hardcode_direct=unsupported
                   9390:       fi
                   9391:       ;;
1.9       ohara    9392:
1.10      ohara    9393:     aix[4-9]*)
1.13    ! ohara    9394:       if test ia64 = "$host_cpu"; then
1.10      ohara    9395:        # On IA64, the linker does run time linking by default, so we don't
                   9396:        # have to do anything special.
                   9397:        aix_use_runtimelinking=no
                   9398:        exp_sym_flag='-Bexport'
1.13    ! ohara    9399:        no_entry_flag=
1.10      ohara    9400:       else
                   9401:        # If we're using GNU nm, then we don't want the "-C" option.
1.13    ! ohara    9402:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
        !          9403:        # Without the "-l" option, or with the "-B" option, AIX nm treats
        !          9404:        # weak defined symbols like other global defined symbols, whereas
        !          9405:        # GNU nm marks them as "W".
        !          9406:        # While the 'weak' keyword is ignored in the Export File, we need
        !          9407:        # it in the Import File for the 'aix-soname' feature, so we have
        !          9408:        # to replace the "-B" option with "-P" for AIX nm.
1.10      ohara    9409:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.13    ! ohara    9410:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
1.10      ohara    9411:        else
1.13    ! ohara    9412:          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
1.10      ohara    9413:        fi
                   9414:        aix_use_runtimelinking=no
1.9       ohara    9415:
1.10      ohara    9416:        # Test if we are trying to use run time linking or normal
                   9417:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.13    ! ohara    9418:        # have runtime linking enabled, and use it for executables.
        !          9419:        # For shared libraries, we enable/disable runtime linking
        !          9420:        # depending on the kind of the shared library created -
        !          9421:        # when "with_aix_soname,aix_use_runtimelinking" is:
        !          9422:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
        !          9423:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
        !          9424:        #            lib.a           static archive
        !          9425:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
        !          9426:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
        !          9427:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
        !          9428:        #            lib.a(lib.so.V) shared, rtl:no
        !          9429:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
        !          9430:        #            lib.a           static archive
1.10      ohara    9431:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9432:          for ld_flag in $LDFLAGS; do
1.13    ! ohara    9433:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.10      ohara    9434:            aix_use_runtimelinking=yes
                   9435:            break
                   9436:          fi
                   9437:          done
1.13    ! ohara    9438:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
        !          9439:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
        !          9440:            # so we don't have lib.a shared libs to link our executables.
        !          9441:            # We have to force runtime linking in this case.
        !          9442:            aix_use_runtimelinking=yes
        !          9443:            LDFLAGS="$LDFLAGS -Wl,-brtl"
        !          9444:          fi
1.10      ohara    9445:          ;;
                   9446:        esac
1.9       ohara    9447:
1.10      ohara    9448:        exp_sym_flag='-bexport'
                   9449:        no_entry_flag='-bnoentry'
                   9450:       fi
1.9       ohara    9451:
1.10      ohara    9452:       # When large executables or shared objects are built, AIX ld can
                   9453:       # have problems creating the table of contents.  If linking a library
                   9454:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9455:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9456:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.9       ohara    9457:
1.10      ohara    9458:       archive_cmds=''
                   9459:       hardcode_direct=yes
                   9460:       hardcode_direct_absolute=yes
                   9461:       hardcode_libdir_separator=':'
                   9462:       link_all_deplibs=yes
1.13    ! ohara    9463:       file_list_spec='$wl-f,'
        !          9464:       case $with_aix_soname,$aix_use_runtimelinking in
        !          9465:       aix,*) ;; # traditional, no import file
        !          9466:       svr4,* | *,yes) # use import file
        !          9467:        # The Import File defines what to hardcode.
        !          9468:        hardcode_direct=no
        !          9469:        hardcode_direct_absolute=no
        !          9470:        ;;
        !          9471:       esac
1.9       ohara    9472:
1.13    ! ohara    9473:       if test yes = "$GCC"; then
1.10      ohara    9474:        case $host_os in aix4.[012]|aix4.[012].*)
                   9475:        # We only want to do this on AIX 4.2 and lower, the check
                   9476:        # below for broken collect2 doesn't work under 4.3+
1.13    ! ohara    9477:          collect2name=`$CC -print-prog-name=collect2`
1.10      ohara    9478:          if test -f "$collect2name" &&
                   9479:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9480:          then
                   9481:          # We have reworked collect2
                   9482:          :
                   9483:          else
                   9484:          # We have old collect2
                   9485:          hardcode_direct=unsupported
                   9486:          # It fails to find uninstalled libraries when the uninstalled
                   9487:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9488:          # to unsupported forces relinking
                   9489:          hardcode_minus_L=yes
                   9490:          hardcode_libdir_flag_spec='-L$libdir'
                   9491:          hardcode_libdir_separator=
                   9492:          fi
                   9493:          ;;
                   9494:        esac
                   9495:        shared_flag='-shared'
1.13    ! ohara    9496:        if test yes = "$aix_use_runtimelinking"; then
        !          9497:          shared_flag="$shared_flag "'$wl-G'
1.10      ohara    9498:        fi
1.13    ! ohara    9499:        # Need to ensure runtime linking is disabled for the traditional
        !          9500:        # shared library, or the linker may eventually find shared libraries
        !          9501:        # /with/ Import File - we do not want to mix them.
        !          9502:        shared_flag_aix='-shared'
        !          9503:        shared_flag_svr4='-shared $wl-G'
1.10      ohara    9504:       else
                   9505:        # not using gcc
1.13    ! ohara    9506:        if test ia64 = "$host_cpu"; then
1.10      ohara    9507:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9508:        # chokes on -Wl,-G. The following line is correct:
                   9509:          shared_flag='-G'
                   9510:        else
1.13    ! ohara    9511:          if test yes = "$aix_use_runtimelinking"; then
        !          9512:            shared_flag='$wl-G'
1.10      ohara    9513:          else
1.13    ! ohara    9514:            shared_flag='$wl-bM:SRE'
1.10      ohara    9515:          fi
1.13    ! ohara    9516:          shared_flag_aix='$wl-bM:SRE'
        !          9517:          shared_flag_svr4='$wl-G'
1.10      ohara    9518:        fi
                   9519:       fi
1.9       ohara    9520:
1.13    ! ohara    9521:       export_dynamic_flag_spec='$wl-bexpall'
1.10      ohara    9522:       # It seems that -bexpall does not export symbols beginning with
                   9523:       # underscore (_), so it is better to generate a list of symbols to export.
                   9524:       always_export_symbols=yes
1.13    ! ohara    9525:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.10      ohara    9526:        # Warning - without using the other runtime loading flags (-brtl),
                   9527:        # -berok will link without error, but may produce a broken library.
                   9528:        allow_undefined_flag='-berok'
                   9529:         # Determine the default libpath from the value encoded in an
                   9530:         # empty executable.
1.13    ! ohara    9531:         if test set = "${lt_cv_aix_libpath+set}"; then
1.10      ohara    9532:   aix_libpath=$lt_cv_aix_libpath
                   9533: else
1.13    ! ohara    9534:   if ${lt_cv_aix_libpath_+:} false; then :
1.10      ohara    9535:   $as_echo_n "(cached) " >&6
                   9536: else
                   9537:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9538: /* end confdefs.h.  */
1.9       ohara    9539:
1.10      ohara    9540: int
                   9541: main ()
                   9542: {
1.9       ohara    9543:
1.10      ohara    9544:   ;
                   9545:   return 0;
                   9546: }
                   9547: _ACEOF
                   9548: if ac_fn_c_try_link "$LINENO"; then :
1.9       ohara    9549:
1.10      ohara    9550:   lt_aix_libpath_sed='
                   9551:       /Import File Strings/,/^$/ {
                   9552:          /^0/ {
                   9553:              s/^0  *\([^ ]*\) *$/\1/
                   9554:              p
                   9555:          }
                   9556:       }'
                   9557:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9558:   # Check for a 64-bit object if we didn't find anything.
                   9559:   if test -z "$lt_cv_aix_libpath_"; then
                   9560:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9561:   fi
                   9562: fi
                   9563: rm -f core conftest.err conftest.$ac_objext \
                   9564:     conftest$ac_exeext conftest.$ac_ext
                   9565:   if test -z "$lt_cv_aix_libpath_"; then
1.13    ! ohara    9566:     lt_cv_aix_libpath_=/usr/lib:/lib
1.10      ohara    9567:   fi
1.9       ohara    9568:
1.10      ohara    9569: fi
1.9       ohara    9570:
1.10      ohara    9571:   aix_libpath=$lt_cv_aix_libpath_
                   9572: fi
1.9       ohara    9573:
1.13    ! ohara    9574:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
        !          9575:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
1.10      ohara    9576:       else
1.13    ! ohara    9577:        if test ia64 = "$host_cpu"; then
        !          9578:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.10      ohara    9579:          allow_undefined_flag="-z nodefs"
1.13    ! ohara    9580:          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"
1.10      ohara    9581:        else
                   9582:         # Determine the default libpath from the value encoded in an
                   9583:         # empty executable.
1.13    ! ohara    9584:         if test set = "${lt_cv_aix_libpath+set}"; then
1.10      ohara    9585:   aix_libpath=$lt_cv_aix_libpath
                   9586: else
1.13    ! ohara    9587:   if ${lt_cv_aix_libpath_+:} false; then :
1.10      ohara    9588:   $as_echo_n "(cached) " >&6
                   9589: else
                   9590:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9591: /* end confdefs.h.  */
1.9       ohara    9592:
1.10      ohara    9593: int
                   9594: main ()
                   9595: {
1.9       ohara    9596:
1.10      ohara    9597:   ;
                   9598:   return 0;
                   9599: }
                   9600: _ACEOF
                   9601: if ac_fn_c_try_link "$LINENO"; then :
1.9       ohara    9602:
1.10      ohara    9603:   lt_aix_libpath_sed='
                   9604:       /Import File Strings/,/^$/ {
                   9605:          /^0/ {
                   9606:              s/^0  *\([^ ]*\) *$/\1/
                   9607:              p
                   9608:          }
                   9609:       }'
                   9610:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9611:   # Check for a 64-bit object if we didn't find anything.
                   9612:   if test -z "$lt_cv_aix_libpath_"; then
                   9613:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9614:   fi
                   9615: fi
                   9616: rm -f core conftest.err conftest.$ac_objext \
                   9617:     conftest$ac_exeext conftest.$ac_ext
                   9618:   if test -z "$lt_cv_aix_libpath_"; then
1.13    ! ohara    9619:     lt_cv_aix_libpath_=/usr/lib:/lib
1.10      ohara    9620:   fi
1.9       ohara    9621:
1.10      ohara    9622: fi
1.9       ohara    9623:
1.10      ohara    9624:   aix_libpath=$lt_cv_aix_libpath_
                   9625: fi
1.9       ohara    9626:
1.13    ! ohara    9627:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.10      ohara    9628:          # Warning - without using the other run time loading flags,
                   9629:          # -berok will link without error, but may produce a broken library.
1.13    ! ohara    9630:          no_undefined_flag=' $wl-bernotok'
        !          9631:          allow_undefined_flag=' $wl-berok'
        !          9632:          if test yes = "$with_gnu_ld"; then
1.10      ohara    9633:            # We only use this code for GNU lds that support --whole-archive.
1.13    ! ohara    9634:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
1.10      ohara    9635:          else
                   9636:            # Exported symbols can be pulled into shared objects from archives
                   9637:            whole_archive_flag_spec='$convenience'
                   9638:          fi
                   9639:          archive_cmds_need_lc=yes
1.13    ! ohara    9640:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
        !          9641:          # -brtl affects multiple linker settings, -berok does not and is overridden later
        !          9642:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
        !          9643:          if test svr4 != "$with_aix_soname"; then
        !          9644:            # This is similar to how AIX traditionally builds its shared libraries.
        !          9645:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
        !          9646:          fi
        !          9647:          if test aix != "$with_aix_soname"; then
        !          9648:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
        !          9649:          else
        !          9650:            # used by -dlpreopen to get the symbols
        !          9651:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
        !          9652:          fi
        !          9653:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.10      ohara    9654:        fi
                   9655:       fi
                   9656:       ;;
1.9       ohara    9657:
1.10      ohara    9658:     amigaos*)
                   9659:       case $host_cpu in
                   9660:       powerpc)
                   9661:             # see comment about AmigaOS4 .so support
1.13    ! ohara    9662:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.10      ohara    9663:             archive_expsym_cmds=''
                   9664:         ;;
                   9665:       m68k)
                   9666:             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)'
                   9667:             hardcode_libdir_flag_spec='-L$libdir'
                   9668:             hardcode_minus_L=yes
                   9669:         ;;
                   9670:       esac
                   9671:       ;;
1.9       ohara    9672:
1.10      ohara    9673:     bsdi[45]*)
                   9674:       export_dynamic_flag_spec=-rdynamic
                   9675:       ;;
1.9       ohara    9676:
1.10      ohara    9677:     cygwin* | mingw* | pw32* | cegcc*)
                   9678:       # When not using gcc, we currently assume that we are using
                   9679:       # Microsoft Visual C++.
                   9680:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9681:       # no search path for DLLs.
                   9682:       case $cc_basename in
                   9683:       cl*)
                   9684:        # Native MSVC
                   9685:        hardcode_libdir_flag_spec=' '
                   9686:        allow_undefined_flag=unsupported
                   9687:        always_export_symbols=yes
                   9688:        file_list_spec='@'
                   9689:        # Tell ltmain to make .lib files, not .a files.
                   9690:        libext=lib
                   9691:        # Tell ltmain to make .dll files, not .so files.
1.13    ! ohara    9692:        shrext_cmds=.dll
1.10      ohara    9693:        # FIXME: Setting linknames here is a bad hack.
1.13    ! ohara    9694:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
        !          9695:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          9696:             cp "$export_symbols" "$output_objdir/$soname.def";
        !          9697:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
        !          9698:           else
        !          9699:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
        !          9700:           fi~
        !          9701:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          9702:           linknames='
1.10      ohara    9703:        # The linker will not automatically build a static lib if we build a DLL.
                   9704:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9705:        enable_shared_with_static_runtimes=yes
                   9706:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9707:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9708:        # Don't use ranlib
                   9709:        old_postinstall_cmds='chmod 644 $oldlib'
                   9710:        postlink_cmds='lt_outputfile="@OUTPUT@"~
1.13    ! ohara    9711:           lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          9712:           case $lt_outputfile in
        !          9713:             *.exe|*.EXE) ;;
        !          9714:             *)
        !          9715:               lt_outputfile=$lt_outputfile.exe
        !          9716:               lt_tool_outputfile=$lt_tool_outputfile.exe
        !          9717:               ;;
        !          9718:           esac~
        !          9719:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
        !          9720:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          9721:             $RM "$lt_outputfile.manifest";
        !          9722:           fi'
1.10      ohara    9723:        ;;
                   9724:       *)
                   9725:        # Assume MSVC wrapper
                   9726:        hardcode_libdir_flag_spec=' '
                   9727:        allow_undefined_flag=unsupported
                   9728:        # Tell ltmain to make .lib files, not .a files.
                   9729:        libext=lib
                   9730:        # Tell ltmain to make .dll files, not .so files.
1.13    ! ohara    9731:        shrext_cmds=.dll
1.10      ohara    9732:        # FIXME: Setting linknames here is a bad hack.
                   9733:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9734:        # The linker will automatically build a .lib file if we build a DLL.
                   9735:        old_archive_from_new_cmds='true'
                   9736:        # FIXME: Should let the user specify the lib program.
                   9737:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9738:        enable_shared_with_static_runtimes=yes
                   9739:        ;;
                   9740:       esac
                   9741:       ;;
1.9       ohara    9742:
1.10      ohara    9743:     darwin* | rhapsody*)
1.9       ohara    9744:
                   9745:
1.10      ohara    9746:   archive_cmds_need_lc=no
                   9747:   hardcode_direct=no
                   9748:   hardcode_automatic=yes
                   9749:   hardcode_shlibpath_var=unsupported
1.13    ! ohara    9750:   if test yes = "$lt_cv_ld_force_load"; then
        !          9751:     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    9752:
1.10      ohara    9753:   else
                   9754:     whole_archive_flag_spec=''
                   9755:   fi
                   9756:   link_all_deplibs=yes
1.13    ! ohara    9757:   allow_undefined_flag=$_lt_dar_allow_undefined
1.10      ohara    9758:   case $cc_basename in
1.13    ! ohara    9759:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.10      ohara    9760:      *) _lt_dar_can_shared=$GCC ;;
                   9761:   esac
1.13    ! ohara    9762:   if test yes = "$_lt_dar_can_shared"; then
1.10      ohara    9763:     output_verbose_link_cmd=func_echo_all
1.13    ! ohara    9764:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
        !          9765:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
        !          9766:     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"
        !          9767:     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    9768:
1.10      ohara    9769:   else
                   9770:   ld_shlibs=no
                   9771:   fi
1.9       ohara    9772:
1.10      ohara    9773:       ;;
1.9       ohara    9774:
1.10      ohara    9775:     dgux*)
                   9776:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9777:       hardcode_libdir_flag_spec='-L$libdir'
                   9778:       hardcode_shlibpath_var=no
                   9779:       ;;
1.9       ohara    9780:
1.10      ohara    9781:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9782:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9783:     # does not break anything, and helps significantly (at the cost of a little
                   9784:     # extra space).
                   9785:     freebsd2.2*)
                   9786:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9787:       hardcode_libdir_flag_spec='-R$libdir'
                   9788:       hardcode_direct=yes
                   9789:       hardcode_shlibpath_var=no
                   9790:       ;;
1.9       ohara    9791:
1.10      ohara    9792:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9793:     freebsd2.*)
                   9794:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9795:       hardcode_direct=yes
                   9796:       hardcode_minus_L=yes
                   9797:       hardcode_shlibpath_var=no
                   9798:       ;;
1.9       ohara    9799:
1.10      ohara    9800:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9801:     freebsd* | dragonfly*)
                   9802:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9803:       hardcode_libdir_flag_spec='-R$libdir'
                   9804:       hardcode_direct=yes
                   9805:       hardcode_shlibpath_var=no
                   9806:       ;;
1.9       ohara    9807:
1.10      ohara    9808:     hpux9*)
1.13    ! ohara    9809:       if test yes = "$GCC"; then
        !          9810:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.10      ohara    9811:       else
1.13    ! ohara    9812:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.10      ohara    9813:       fi
1.13    ! ohara    9814:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.10      ohara    9815:       hardcode_libdir_separator=:
                   9816:       hardcode_direct=yes
1.9       ohara    9817:
1.10      ohara    9818:       # hardcode_minus_L: Not really in the search PATH,
                   9819:       # but as the default location of the library.
                   9820:       hardcode_minus_L=yes
1.13    ! ohara    9821:       export_dynamic_flag_spec='$wl-E'
1.10      ohara    9822:       ;;
1.9       ohara    9823:
1.10      ohara    9824:     hpux10*)
1.13    ! ohara    9825:       if test yes,no = "$GCC,$with_gnu_ld"; then
        !          9826:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9827:       else
                   9828:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9829:       fi
1.13    ! ohara    9830:       if test no = "$with_gnu_ld"; then
        !          9831:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.10      ohara    9832:        hardcode_libdir_separator=:
                   9833:        hardcode_direct=yes
                   9834:        hardcode_direct_absolute=yes
1.13    ! ohara    9835:        export_dynamic_flag_spec='$wl-E'
1.10      ohara    9836:        # hardcode_minus_L: Not really in the search PATH,
                   9837:        # but as the default location of the library.
                   9838:        hardcode_minus_L=yes
                   9839:       fi
                   9840:       ;;
1.9       ohara    9841:
1.10      ohara    9842:     hpux11*)
1.13    ! ohara    9843:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.10      ohara    9844:        case $host_cpu in
                   9845:        hppa*64*)
1.13    ! ohara    9846:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9847:          ;;
                   9848:        ia64*)
1.13    ! ohara    9849:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9850:          ;;
                   9851:        *)
1.13    ! ohara    9852:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9853:          ;;
                   9854:        esac
                   9855:       else
                   9856:        case $host_cpu in
                   9857:        hppa*64*)
1.13    ! ohara    9858:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9859:          ;;
                   9860:        ia64*)
1.13    ! ohara    9861:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9862:          ;;
                   9863:        *)
1.9       ohara    9864:
1.10      ohara    9865:          # Older versions of the 11.00 compiler do not understand -b yet
                   9866:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9867:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   9868: $as_echo_n "checking if $CC understands -b... " >&6; }
1.13    ! ohara    9869: if ${lt_cv_prog_compiler__b+:} false; then :
1.10      ohara    9870:   $as_echo_n "(cached) " >&6
                   9871: else
                   9872:   lt_cv_prog_compiler__b=no
1.13    ! ohara    9873:    save_LDFLAGS=$LDFLAGS
1.10      ohara    9874:    LDFLAGS="$LDFLAGS -b"
                   9875:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9876:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9877:      # The linker can only warn and ignore the option if not recognized
                   9878:      # So say no if there are warnings
                   9879:      if test -s conftest.err; then
                   9880:        # Append any errors to the config.log.
                   9881:        cat conftest.err 1>&5
                   9882:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9883:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9884:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9885:          lt_cv_prog_compiler__b=yes
                   9886:        fi
                   9887:      else
                   9888:        lt_cv_prog_compiler__b=yes
                   9889:      fi
                   9890:    fi
                   9891:    $RM -r conftest*
1.13    ! ohara    9892:    LDFLAGS=$save_LDFLAGS
1.9       ohara    9893:
1.10      ohara    9894: fi
                   9895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   9896: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.9       ohara    9897:
1.13    ! ohara    9898: if test yes = "$lt_cv_prog_compiler__b"; then
        !          9899:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    9900: else
                   9901:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9902: fi
1.9       ohara    9903:
1.10      ohara    9904:          ;;
                   9905:        esac
                   9906:       fi
1.13    ! ohara    9907:       if test no = "$with_gnu_ld"; then
        !          9908:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.10      ohara    9909:        hardcode_libdir_separator=:
1.9       ohara    9910:
1.10      ohara    9911:        case $host_cpu in
                   9912:        hppa*64*|ia64*)
                   9913:          hardcode_direct=no
                   9914:          hardcode_shlibpath_var=no
                   9915:          ;;
                   9916:        *)
                   9917:          hardcode_direct=yes
                   9918:          hardcode_direct_absolute=yes
1.13    ! ohara    9919:          export_dynamic_flag_spec='$wl-E'
1.9       ohara    9920:
1.10      ohara    9921:          # hardcode_minus_L: Not really in the search PATH,
                   9922:          # but as the default location of the library.
                   9923:          hardcode_minus_L=yes
                   9924:          ;;
                   9925:        esac
                   9926:       fi
                   9927:       ;;
1.9       ohara    9928:
1.10      ohara    9929:     irix5* | irix6* | nonstopux*)
1.13    ! ohara    9930:       if test yes = "$GCC"; then
        !          9931:        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'
1.10      ohara    9932:        # Try to use the -exported_symbol ld option, if it does not
                   9933:        # work, assume that -exports_file does not work either and
                   9934:        # implicitly export all symbols.
                   9935:        # This should be the same for all languages, so no per-tag cache variable.
                   9936:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9937: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
1.13    ! ohara    9938: if ${lt_cv_irix_exported_symbol+:} false; then :
1.10      ohara    9939:   $as_echo_n "(cached) " >&6
                   9940: else
1.13    ! ohara    9941:   save_LDFLAGS=$LDFLAGS
        !          9942:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1.10      ohara    9943:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9944: /* end confdefs.h.  */
                   9945: int foo (void) { return 0; }
                   9946: _ACEOF
                   9947: if ac_fn_c_try_link "$LINENO"; then :
                   9948:   lt_cv_irix_exported_symbol=yes
                   9949: else
                   9950:   lt_cv_irix_exported_symbol=no
                   9951: fi
                   9952: rm -f core conftest.err conftest.$ac_objext \
                   9953:     conftest$ac_exeext conftest.$ac_ext
1.13    ! ohara    9954:            LDFLAGS=$save_LDFLAGS
1.10      ohara    9955: fi
                   9956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   9957: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.13    ! ohara    9958:        if test yes = "$lt_cv_irix_exported_symbol"; then
        !          9959:           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'
1.10      ohara    9960:        fi
                   9961:       else
1.13    ! ohara    9962:        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'
        !          9963:        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'
1.10      ohara    9964:       fi
                   9965:       archive_cmds_need_lc='no'
1.13    ! ohara    9966:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.10      ohara    9967:       hardcode_libdir_separator=:
                   9968:       inherit_rpath=yes
                   9969:       link_all_deplibs=yes
                   9970:       ;;
1.9       ohara    9971:
1.13    ! ohara    9972:     linux*)
        !          9973:       case $cc_basename in
        !          9974:       tcc*)
        !          9975:        # Fabrice Bellard et al's Tiny C Compiler
        !          9976:        ld_shlibs=yes
        !          9977:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          9978:        ;;
        !          9979:       esac
        !          9980:       ;;
        !          9981:
1.10      ohara    9982:     netbsd*)
                   9983:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9984:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9985:       else
                   9986:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9987:       fi
                   9988:       hardcode_libdir_flag_spec='-R$libdir'
                   9989:       hardcode_direct=yes
                   9990:       hardcode_shlibpath_var=no
                   9991:       ;;
1.9       ohara    9992:
1.10      ohara    9993:     newsos6)
                   9994:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9995:       hardcode_direct=yes
1.13    ! ohara    9996:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.10      ohara    9997:       hardcode_libdir_separator=:
                   9998:       hardcode_shlibpath_var=no
                   9999:       ;;
1.9       ohara    10000:
1.10      ohara    10001:     *nto* | *qnx*)
                   10002:       ;;
1.9       ohara    10003:
1.13    ! ohara    10004:     openbsd* | bitrig*)
1.10      ohara    10005:       if test -f /usr/libexec/ld.so; then
                   10006:        hardcode_direct=yes
                   10007:        hardcode_shlibpath_var=no
                   10008:        hardcode_direct_absolute=yes
1.13    ! ohara    10009:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.10      ohara    10010:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.13    ! ohara    10011:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
        !          10012:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          10013:          export_dynamic_flag_spec='$wl-E'
1.10      ohara    10014:        else
1.13    ! ohara    10015:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          10016:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.10      ohara    10017:        fi
                   10018:       else
                   10019:        ld_shlibs=no
                   10020:       fi
                   10021:       ;;
1.9       ohara    10022:
1.10      ohara    10023:     os2*)
                   10024:       hardcode_libdir_flag_spec='-L$libdir'
                   10025:       hardcode_minus_L=yes
                   10026:       allow_undefined_flag=unsupported
1.13    ! ohara    10027:       shrext_cmds=.dll
        !          10028:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10029:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10030:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10031:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10032:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          10033:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10034:        emximp -o $lib $output_objdir/$libname.def'
        !          10035:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10036:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10037:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10038:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10039:        prefix_cmds="$SED"~
        !          10040:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          10041:          prefix_cmds="$prefix_cmds -e 1d";
        !          10042:        fi~
        !          10043:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          10044:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          10045:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10046:        emximp -o $lib $output_objdir/$libname.def'
        !          10047:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          10048:       enable_shared_with_static_runtimes=yes
1.10      ohara    10049:       ;;
1.9       ohara    10050:
1.10      ohara    10051:     osf3*)
1.13    ! ohara    10052:       if test yes = "$GCC"; then
        !          10053:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          10054:        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'
1.10      ohara    10055:       else
                   10056:        allow_undefined_flag=' -expect_unresolved \*'
1.13    ! ohara    10057:        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'
1.10      ohara    10058:       fi
                   10059:       archive_cmds_need_lc='no'
1.13    ! ohara    10060:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.10      ohara    10061:       hardcode_libdir_separator=:
                   10062:       ;;
1.9       ohara    10063:
1.10      ohara    10064:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.13    ! ohara    10065:       if test yes = "$GCC"; then
        !          10066:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          10067:        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'
        !          10068:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.10      ohara    10069:       else
                   10070:        allow_undefined_flag=' -expect_unresolved \*'
1.13    ! ohara    10071:        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'
1.10      ohara    10072:        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~
1.13    ! ohara    10073:           $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    10074:
1.10      ohara    10075:        # Both c and cxx compiler support -rpath directly
                   10076:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10077:       fi
                   10078:       archive_cmds_need_lc='no'
                   10079:       hardcode_libdir_separator=:
                   10080:       ;;
1.9       ohara    10081:
1.10      ohara    10082:     solaris*)
                   10083:       no_undefined_flag=' -z defs'
1.13    ! ohara    10084:       if test yes = "$GCC"; then
        !          10085:        wlarc='$wl'
        !          10086:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10087:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.13    ! ohara    10088:           $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'
1.10      ohara    10089:       else
                   10090:        case `$CC -V 2>&1` in
                   10091:        *"Compilers 5.0"*)
                   10092:          wlarc=''
1.13    ! ohara    10093:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.10      ohara    10094:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.13    ! ohara    10095:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.10      ohara    10096:          ;;
                   10097:        *)
1.13    ! ohara    10098:          wlarc='$wl'
        !          10099:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10100:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.13    ! ohara    10101:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.10      ohara    10102:          ;;
                   10103:        esac
                   10104:       fi
                   10105:       hardcode_libdir_flag_spec='-R$libdir'
                   10106:       hardcode_shlibpath_var=no
                   10107:       case $host_os in
                   10108:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10109:       *)
                   10110:        # The compiler driver will combine and reorder linker options,
1.13    ! ohara    10111:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.10      ohara    10112:        # but is careful enough not to reorder.
                   10113:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.13    ! ohara    10114:        if test yes = "$GCC"; then
        !          10115:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.10      ohara    10116:        else
                   10117:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10118:        fi
                   10119:        ;;
                   10120:       esac
                   10121:       link_all_deplibs=yes
                   10122:       ;;
1.9       ohara    10123:
1.10      ohara    10124:     sunos4*)
1.13    ! ohara    10125:       if test sequent = "$host_vendor"; then
1.10      ohara    10126:        # Use $CC to link under sequent, because it throws in some extra .o
                   10127:        # files that make .init and .fini sections work.
1.13    ! ohara    10128:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10129:       else
                   10130:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10131:       fi
                   10132:       hardcode_libdir_flag_spec='-L$libdir'
                   10133:       hardcode_direct=yes
                   10134:       hardcode_minus_L=yes
                   10135:       hardcode_shlibpath_var=no
                   10136:       ;;
1.9       ohara    10137:
1.10      ohara    10138:     sysv4)
                   10139:       case $host_vendor in
                   10140:        sni)
                   10141:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10142:          hardcode_direct=yes # is this really true???
                   10143:        ;;
                   10144:        siemens)
                   10145:          ## LD is ld it makes a PLAMLIB
                   10146:          ## CC just makes a GrossModule.
                   10147:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10148:          reload_cmds='$CC -r -o $output$reload_objs'
                   10149:          hardcode_direct=no
                   10150:         ;;
                   10151:        motorola)
                   10152:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10153:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10154:        ;;
                   10155:       esac
                   10156:       runpath_var='LD_RUN_PATH'
                   10157:       hardcode_shlibpath_var=no
                   10158:       ;;
1.9       ohara    10159:
1.10      ohara    10160:     sysv4.3*)
                   10161:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10162:       hardcode_shlibpath_var=no
                   10163:       export_dynamic_flag_spec='-Bexport'
                   10164:       ;;
1.9       ohara    10165:
1.10      ohara    10166:     sysv4*MP*)
                   10167:       if test -d /usr/nec; then
                   10168:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10169:        hardcode_shlibpath_var=no
                   10170:        runpath_var=LD_RUN_PATH
                   10171:        hardcode_runpath_var=yes
                   10172:        ld_shlibs=yes
                   10173:       fi
                   10174:       ;;
1.9       ohara    10175:
1.10      ohara    10176:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.13    ! ohara    10177:       no_undefined_flag='$wl-z,text'
1.10      ohara    10178:       archive_cmds_need_lc=no
                   10179:       hardcode_shlibpath_var=no
                   10180:       runpath_var='LD_RUN_PATH'
1.9       ohara    10181:
1.13    ! ohara    10182:       if test yes = "$GCC"; then
        !          10183:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10184:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10185:       else
1.13    ! ohara    10186:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10187:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10188:       fi
                   10189:       ;;
1.9       ohara    10190:
1.10      ohara    10191:     sysv5* | sco3.2v5* | sco5v6*)
1.13    ! ohara    10192:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.10      ohara    10193:       # link with -lc, and that would cause any symbols used from libc to
                   10194:       # always be unresolved, which means just about no library would
                   10195:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10196:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10197:       # as -z defs.
1.13    ! ohara    10198:       no_undefined_flag='$wl-z,text'
        !          10199:       allow_undefined_flag='$wl-z,nodefs'
1.10      ohara    10200:       archive_cmds_need_lc=no
                   10201:       hardcode_shlibpath_var=no
1.13    ! ohara    10202:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.10      ohara    10203:       hardcode_libdir_separator=':'
                   10204:       link_all_deplibs=yes
1.13    ! ohara    10205:       export_dynamic_flag_spec='$wl-Bexport'
1.10      ohara    10206:       runpath_var='LD_RUN_PATH'
1.9       ohara    10207:
1.13    ! ohara    10208:       if test yes = "$GCC"; then
        !          10209:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10210:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10211:       else
1.13    ! ohara    10212:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10213:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.10      ohara    10214:       fi
                   10215:       ;;
1.9       ohara    10216:
1.10      ohara    10217:     uts4*)
                   10218:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10219:       hardcode_libdir_flag_spec='-L$libdir'
                   10220:       hardcode_shlibpath_var=no
                   10221:       ;;
1.9       ohara    10222:
1.10      ohara    10223:     *)
                   10224:       ld_shlibs=no
                   10225:       ;;
                   10226:     esac
1.9       ohara    10227:
1.13    ! ohara    10228:     if test sni = "$host_vendor"; then
1.10      ohara    10229:       case $host in
                   10230:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.13    ! ohara    10231:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.10      ohara    10232:        ;;
                   10233:       esac
                   10234:     fi
                   10235:   fi
1.9       ohara    10236:
1.10      ohara    10237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10238: $as_echo "$ld_shlibs" >&6; }
1.13    ! ohara    10239: test no = "$ld_shlibs" && can_build_shared=no
1.9       ohara    10240:
1.10      ohara    10241: with_gnu_ld=$with_gnu_ld
1.9       ohara    10242:
                   10243:
                   10244:
                   10245:
                   10246:
                   10247:
                   10248:
                   10249:
                   10250:
                   10251:
                   10252:
                   10253:
                   10254:
                   10255:
                   10256:
1.10      ohara    10257: #
                   10258: # Do we need to explicitly link libc?
                   10259: #
                   10260: case "x$archive_cmds_need_lc" in
                   10261: x|xyes)
                   10262:   # Assume -lc should be added
                   10263:   archive_cmds_need_lc=yes
1.9       ohara    10264:
1.13    ! ohara    10265:   if test yes,yes = "$GCC,$enable_shared"; then
1.10      ohara    10266:     case $archive_cmds in
                   10267:     *'~'*)
                   10268:       # FIXME: we may have to deal with multi-command sequences.
                   10269:       ;;
                   10270:     '$CC '*)
                   10271:       # Test whether the compiler implicitly links with -lc since on some
                   10272:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10273:       # to ld, don't add -lc before -lgcc.
                   10274:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10275: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1.13    ! ohara    10276: if ${lt_cv_archive_cmds_need_lc+:} false; then :
1.10      ohara    10277:   $as_echo_n "(cached) " >&6
1.9       ohara    10278: else
1.10      ohara    10279:   $RM conftest*
                   10280:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.9       ohara    10281:
1.10      ohara    10282:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10283:   (eval $ac_compile) 2>&5
                   10284:   ac_status=$?
                   10285:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10286:   test $ac_status = 0; } 2>conftest.err; then
                   10287:          soname=conftest
                   10288:          lib=conftest
                   10289:          libobjs=conftest.$ac_objext
                   10290:          deplibs=
                   10291:          wl=$lt_prog_compiler_wl
                   10292:          pic_flag=$lt_prog_compiler_pic
                   10293:          compiler_flags=-v
                   10294:          linker_flags=-v
                   10295:          verstring=
                   10296:          output_objdir=.
                   10297:          libname=conftest
                   10298:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10299:          allow_undefined_flag=
                   10300:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   10301:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10302:   ac_status=$?
                   10303:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10304:   test $ac_status = 0; }
                   10305:          then
                   10306:            lt_cv_archive_cmds_need_lc=no
                   10307:          else
                   10308:            lt_cv_archive_cmds_need_lc=yes
                   10309:          fi
                   10310:          allow_undefined_flag=$lt_save_allow_undefined_flag
1.9       ohara    10311:        else
1.10      ohara    10312:          cat conftest.err 1>&5
1.9       ohara    10313:        fi
1.10      ohara    10314:        $RM conftest*
1.9       ohara    10315:
1.10      ohara    10316: fi
                   10317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   10318: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   10319:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10320:       ;;
                   10321:     esac
                   10322:   fi
                   10323:   ;;
                   10324: esac
1.9       ohara    10325:
                   10326:
                   10327:
                   10328:
                   10329:
                   10330:
                   10331:
                   10332:
                   10333:
                   10334:
                   10335:
                   10336:
                   10337:
                   10338:
                   10339:
                   10340:
                   10341:
                   10342:
                   10343:
                   10344:
                   10345:
                   10346:
                   10347:
                   10348:
                   10349:
                   10350:
                   10351:
                   10352:
                   10353:
                   10354:
                   10355:
                   10356:
                   10357:
                   10358:
                   10359:
                   10360:
                   10361:
                   10362:
                   10363:
                   10364:
                   10365:
                   10366:
                   10367:
                   10368:
                   10369:
                   10370:
                   10371:
                   10372:
                   10373:
                   10374:
                   10375:
                   10376:
                   10377:
                   10378:
                   10379:
                   10380:
                   10381:
                   10382:
                   10383:
                   10384:
                   10385:
                   10386:
                   10387:
                   10388:
                   10389:
                   10390:
                   10391:
                   10392:
                   10393:
                   10394:
                   10395:
                   10396:
                   10397:
                   10398:
                   10399:
                   10400:
                   10401:
                   10402:
                   10403:
                   10404:
                   10405:
                   10406:
                   10407:
                   10408:
                   10409:
                   10410:
                   10411:
                   10412:
                   10413:
                   10414:
                   10415:
                   10416:
                   10417:
                   10418:
                   10419:
                   10420:
                   10421:
                   10422:
                   10423:
                   10424:
                   10425:
                   10426:
                   10427:
                   10428:
                   10429:
                   10430:
                   10431:
                   10432:
                   10433:
                   10434:
                   10435:
                   10436:
                   10437:
                   10438:
                   10439:
                   10440:
                   10441:
                   10442:
                   10443:
                   10444:
                   10445:
                   10446:
                   10447:
                   10448:
                   10449:
                   10450:
                   10451:
                   10452:
                   10453:
                   10454:
                   10455:
                   10456:
                   10457:
                   10458:
                   10459:
                   10460:
                   10461:
                   10462:
                   10463:
                   10464:
                   10465:
                   10466:
                   10467:
                   10468:
                   10469:
                   10470:
                   10471:
                   10472:
                   10473:
                   10474:
                   10475:
                   10476:
1.10      ohara    10477:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10478: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.9       ohara    10479:
1.13    ! ohara    10480: if test yes = "$GCC"; then
1.10      ohara    10481:   case $host_os in
1.13    ! ohara    10482:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
        !          10483:     *) lt_awk_arg='/^libraries:/' ;;
1.10      ohara    10484:   esac
                   10485:   case $host_os in
1.13    ! ohara    10486:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
        !          10487:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.10      ohara    10488:   esac
                   10489:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10490:   case $lt_search_path_spec in
                   10491:   *\;*)
                   10492:     # if the path contains ";" then we assume it to be the separator
                   10493:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10494:     # assumed that no part of a normal pathname contains ";" but that should
                   10495:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10496:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10497:     ;;
                   10498:   *)
                   10499:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10500:     ;;
                   10501:   esac
                   10502:   # Ok, now we have the path, separated by spaces, we can step through it
1.13    ! ohara    10503:   # and add multilib dir if necessary...
1.10      ohara    10504:   lt_tmp_lt_search_path_spec=
1.13    ! ohara    10505:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
        !          10506:   # ...but if some path component already ends with the multilib dir we assume
        !          10507:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
        !          10508:   case "$lt_multi_os_dir; $lt_search_path_spec " in
        !          10509:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
        !          10510:     lt_multi_os_dir=
        !          10511:     ;;
        !          10512:   esac
1.10      ohara    10513:   for lt_sys_path in $lt_search_path_spec; do
1.13    ! ohara    10514:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
        !          10515:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
        !          10516:     elif test -n "$lt_multi_os_dir"; then
1.10      ohara    10517:       test -d "$lt_sys_path" && \
                   10518:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10519:     fi
                   10520:   done
                   10521:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.13    ! ohara    10522: BEGIN {RS = " "; FS = "/|\n";} {
        !          10523:   lt_foo = "";
        !          10524:   lt_count = 0;
1.10      ohara    10525:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10526:     if ($lt_i != "" && $lt_i != ".") {
                   10527:       if ($lt_i == "..") {
                   10528:         lt_count++;
                   10529:       } else {
                   10530:         if (lt_count == 0) {
1.13    ! ohara    10531:           lt_foo = "/" $lt_i lt_foo;
1.10      ohara    10532:         } else {
                   10533:           lt_count--;
                   10534:         }
                   10535:       }
                   10536:     }
                   10537:   }
                   10538:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10539:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10540: }'`
                   10541:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10542:   # for these hosts.
                   10543:   case $host_os in
                   10544:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
1.13    ! ohara    10545:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
1.10      ohara    10546:   esac
                   10547:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10548: else
                   10549:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10550: fi
1.9       ohara    10551: library_names_spec=
                   10552: libname_spec='lib$name'
                   10553: soname_spec=
1.13    ! ohara    10554: shrext_cmds=.so
1.9       ohara    10555: postinstall_cmds=
                   10556: postuninstall_cmds=
                   10557: finish_cmds=
                   10558: finish_eval=
                   10559: shlibpath_var=
                   10560: shlibpath_overrides_runpath=unknown
                   10561: version_type=none
                   10562: dynamic_linker="$host_os ld.so"
                   10563: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10564: need_lib_prefix=unknown
                   10565: hardcode_into_libs=no
                   10566:
                   10567: # when you set need_version to no, make sure it does not cause -set_version
                   10568: # flags to be left without arguments
                   10569: need_version=unknown
                   10570:
1.13    ! ohara    10571:
        !          10572:
1.9       ohara    10573: case $host_os in
                   10574: aix3*)
1.10      ohara    10575:   version_type=linux # correct to gnu/linux during the next big refactor
1.13    ! ohara    10576:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.9       ohara    10577:   shlibpath_var=LIBPATH
                   10578:
                   10579:   # AIX 3 has no versioning support, so we append a major version to the name.
1.13    ! ohara    10580:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    10581:   ;;
                   10582:
1.10      ohara    10583: aix[4-9]*)
                   10584:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10585:   need_lib_prefix=no
                   10586:   need_version=no
                   10587:   hardcode_into_libs=yes
1.13    ! ohara    10588:   if test ia64 = "$host_cpu"; then
1.9       ohara    10589:     # AIX 5 supports IA64
1.13    ! ohara    10590:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.9       ohara    10591:     shlibpath_var=LD_LIBRARY_PATH
                   10592:   else
                   10593:     # With GCC up to 2.95.x, collect2 would create an import file
                   10594:     # for dependence libraries.  The import file would start with
1.13    ! ohara    10595:     # the line '#! .'.  This would cause the generated library to
        !          10596:     # depend on '.', always an invalid library.  This was fixed in
1.9       ohara    10597:     # development snapshots of GCC prior to 3.0.
                   10598:     case $host_os in
                   10599:       aix4 | aix4.[01] | aix4.[01].*)
                   10600:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10601:           echo ' yes '
1.13    ! ohara    10602:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.9       ohara    10603:        :
                   10604:       else
                   10605:        can_build_shared=no
                   10606:       fi
                   10607:       ;;
                   10608:     esac
1.13    ! ohara    10609:     # Using Import Files as archive members, it is possible to support
        !          10610:     # filename-based versioning of shared library archives on AIX. While
        !          10611:     # this would work for both with and without runtime linking, it will
        !          10612:     # prevent static linking of such archives. So we do filename-based
        !          10613:     # shared library versioning with .so extension only, which is used
        !          10614:     # when both runtime linking and shared linking is enabled.
        !          10615:     # Unfortunately, runtime linking may impact performance, so we do
        !          10616:     # not want this to be the default eventually. Also, we use the
        !          10617:     # versioned .so libs for executables only if there is the -brtl
        !          10618:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
        !          10619:     # To allow for filename-based versioning support, we need to create
        !          10620:     # libNAME.so.V as an archive file, containing:
        !          10621:     # *) an Import File, referring to the versioned filename of the
        !          10622:     #    archive as well as the shared archive member, telling the
        !          10623:     #    bitwidth (32 or 64) of that shared object, and providing the
        !          10624:     #    list of exported symbols of that shared object, eventually
        !          10625:     #    decorated with the 'weak' keyword
        !          10626:     # *) the shared object with the F_LOADONLY flag set, to really avoid
        !          10627:     #    it being seen by the linker.
        !          10628:     # At run time we better use the real file rather than another symlink,
        !          10629:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
        !          10630:
        !          10631:     case $with_aix_soname,$aix_use_runtimelinking in
        !          10632:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.9       ohara    10633:     # soname into executable. Probably we can add versioning support to
                   10634:     # collect2, so additional links can be useful in future.
1.13    ! ohara    10635:     aix,yes) # traditional libtool
        !          10636:       dynamic_linker='AIX unversionable lib.so'
1.9       ohara    10637:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10638:       # instead of lib<name>.a to let people know that these are not
                   10639:       # typical AIX shared libraries.
1.13    ! ohara    10640:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10641:       ;;
        !          10642:     aix,no) # traditional AIX only
        !          10643:       dynamic_linker='AIX lib.a(lib.so.V)'
1.9       ohara    10644:       # We preserve .a as extension for shared libraries through AIX4.2
                   10645:       # and later when we are not doing run time linking.
1.13    ! ohara    10646:       library_names_spec='$libname$release.a $libname.a'
        !          10647:       soname_spec='$libname$release$shared_ext$major'
        !          10648:       ;;
        !          10649:     svr4,*) # full svr4 only
        !          10650:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
        !          10651:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          10652:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          10653:       shlibpath_overrides_runpath=yes
        !          10654:       ;;
        !          10655:     *,yes) # both, prefer svr4
        !          10656:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
        !          10657:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          10658:       # unpreferred sharedlib libNAME.a needs extra handling
        !          10659:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
        !          10660:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
        !          10661:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          10662:       shlibpath_overrides_runpath=yes
        !          10663:       ;;
        !          10664:     *,no) # both, prefer aix
        !          10665:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
        !          10666:       library_names_spec='$libname$release.a $libname.a'
        !          10667:       soname_spec='$libname$release$shared_ext$major'
        !          10668:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
        !          10669:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
        !          10670:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
        !          10671:       ;;
        !          10672:     esac
1.9       ohara    10673:     shlibpath_var=LIBPATH
                   10674:   fi
                   10675:   ;;
                   10676:
                   10677: amigaos*)
1.10      ohara    10678:   case $host_cpu in
                   10679:   powerpc)
                   10680:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10681:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.13    ! ohara    10682:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.10      ohara    10683:     ;;
                   10684:   m68k)
                   10685:     library_names_spec='$libname.ixlibrary $libname.a'
                   10686:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.13    ! ohara    10687:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
1.10      ohara    10688:     ;;
                   10689:   esac
1.9       ohara    10690:   ;;
                   10691:
                   10692: beos*)
1.13    ! ohara    10693:   library_names_spec='$libname$shared_ext'
1.9       ohara    10694:   dynamic_linker="$host_os ld.so"
                   10695:   shlibpath_var=LIBRARY_PATH
                   10696:   ;;
                   10697:
                   10698: bsdi[45]*)
1.10      ohara    10699:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10700:   need_version=no
1.13    ! ohara    10701:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10702:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    10703:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10704:   shlibpath_var=LD_LIBRARY_PATH
                   10705:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10706:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10707:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10708:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10709:   # libtool to hard-code these into programs
                   10710:   ;;
                   10711:
1.10      ohara    10712: cygwin* | mingw* | pw32* | cegcc*)
1.9       ohara    10713:   version_type=windows
1.13    ! ohara    10714:   shrext_cmds=.dll
1.9       ohara    10715:   need_version=no
                   10716:   need_lib_prefix=no
                   10717:
1.10      ohara    10718:   case $GCC,$cc_basename in
                   10719:   yes,*)
                   10720:     # gcc
                   10721:     library_names_spec='$libname.dll.a'
                   10722:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.13    ! ohara    10723:     postinstall_cmds='base_file=`basename \$file`~
        !          10724:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.10      ohara    10725:       dldir=$destdir/`dirname \$dlpath`~
                   10726:       test -d \$dldir || mkdir -p \$dldir~
                   10727:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10728:       chmod a+x \$dldir/$dlname~
                   10729:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10730:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10731:       fi'
                   10732:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10733:       dlpath=$dir/\$dldll~
                   10734:        $RM \$dlpath'
                   10735:     shlibpath_overrides_runpath=yes
                   10736:
                   10737:     case $host_os in
                   10738:     cygwin*)
                   10739:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.13    ! ohara    10740:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.10      ohara    10741:
                   10742:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10743:       ;;
                   10744:     mingw* | cegcc*)
                   10745:       # MinGW DLLs use traditional 'lib' prefix
1.13    ! ohara    10746:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.10      ohara    10747:       ;;
                   10748:     pw32*)
                   10749:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.13    ! ohara    10750:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.10      ohara    10751:       ;;
                   10752:     esac
                   10753:     dynamic_linker='Win32 ld.exe'
                   10754:     ;;
                   10755:
                   10756:   *,cl*)
                   10757:     # Native MSVC
                   10758:     libname_spec='$name'
1.13    ! ohara    10759:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          10760:     library_names_spec='$libname.dll.lib'
1.10      ohara    10761:
                   10762:     case $build_os in
                   10763:     mingw*)
                   10764:       sys_lib_search_path_spec=
                   10765:       lt_save_ifs=$IFS
                   10766:       IFS=';'
                   10767:       for lt_path in $LIB
                   10768:       do
                   10769:         IFS=$lt_save_ifs
                   10770:         # Let DOS variable expansion print the short 8.3 style file name.
                   10771:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10772:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10773:       done
                   10774:       IFS=$lt_save_ifs
                   10775:       # Convert to MSYS style.
                   10776:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10777:       ;;
                   10778:     cygwin*)
                   10779:       # Convert to unix form, then to dos form, then back to unix form
                   10780:       # but this time dos style (no spaces!) so that the unix form looks
                   10781:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10782:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10783:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10784:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10785:       ;;
                   10786:     *)
1.13    ! ohara    10787:       sys_lib_search_path_spec=$LIB
1.10      ohara    10788:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10789:         # It is most probably a Windows format PATH.
                   10790:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10791:       else
                   10792:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10793:       fi
                   10794:       # FIXME: find the short name or the path components, as spaces are
                   10795:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10796:       ;;
                   10797:     esac
                   10798:
1.9       ohara    10799:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.13    ! ohara    10800:     postinstall_cmds='base_file=`basename \$file`~
        !          10801:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.9       ohara    10802:       dldir=$destdir/`dirname \$dlpath`~
                   10803:       test -d \$dldir || mkdir -p \$dldir~
1.10      ohara    10804:       $install_prog $dir/$dlname \$dldir/$dlname'
1.9       ohara    10805:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10806:       dlpath=$dir/\$dldll~
1.10      ohara    10807:        $RM \$dlpath'
1.9       ohara    10808:     shlibpath_overrides_runpath=yes
1.10      ohara    10809:     dynamic_linker='Win32 link.exe'
1.9       ohara    10810:     ;;
                   10811:
                   10812:   *)
1.10      ohara    10813:     # Assume MSVC wrapper
1.13    ! ohara    10814:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.10      ohara    10815:     dynamic_linker='Win32 ld.exe'
1.9       ohara    10816:     ;;
                   10817:   esac
                   10818:   # FIXME: first we should search . and the directory the executable is in
                   10819:   shlibpath_var=PATH
                   10820:   ;;
                   10821:
                   10822: darwin* | rhapsody*)
                   10823:   dynamic_linker="$host_os dyld"
                   10824:   version_type=darwin
                   10825:   need_lib_prefix=no
                   10826:   need_version=no
1.13    ! ohara    10827:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
        !          10828:   soname_spec='$libname$release$major$shared_ext'
1.9       ohara    10829:   shlibpath_overrides_runpath=yes
                   10830:   shlibpath_var=DYLD_LIBRARY_PATH
                   10831:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.10      ohara    10832:
                   10833:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
1.9       ohara    10834:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10835:   ;;
                   10836:
                   10837: dgux*)
1.10      ohara    10838:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10839:   need_lib_prefix=no
                   10840:   need_version=no
1.13    ! ohara    10841:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10842:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    10843:   shlibpath_var=LD_LIBRARY_PATH
                   10844:   ;;
                   10845:
                   10846: freebsd* | dragonfly*)
                   10847:   # DragonFly does not have aout.  When/if they implement a new
                   10848:   # versioning mechanism, adjust this.
                   10849:   if test -x /usr/bin/objformat; then
                   10850:     objformat=`/usr/bin/objformat`
                   10851:   else
                   10852:     case $host_os in
1.10      ohara    10853:     freebsd[23].*) objformat=aout ;;
1.9       ohara    10854:     *) objformat=elf ;;
                   10855:     esac
                   10856:   fi
                   10857:   version_type=freebsd-$objformat
                   10858:   case $version_type in
                   10859:     freebsd-elf*)
1.13    ! ohara    10860:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10861:       soname_spec='$libname$release$shared_ext$major'
1.9       ohara    10862:       need_version=no
                   10863:       need_lib_prefix=no
                   10864:       ;;
                   10865:     freebsd-*)
1.13    ! ohara    10866:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.9       ohara    10867:       need_version=yes
                   10868:       ;;
                   10869:   esac
                   10870:   shlibpath_var=LD_LIBRARY_PATH
                   10871:   case $host_os in
1.10      ohara    10872:   freebsd2.*)
1.9       ohara    10873:     shlibpath_overrides_runpath=yes
                   10874:     ;;
                   10875:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10876:     shlibpath_overrides_runpath=yes
                   10877:     hardcode_into_libs=yes
                   10878:     ;;
                   10879:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10880:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10881:     shlibpath_overrides_runpath=no
                   10882:     hardcode_into_libs=yes
                   10883:     ;;
1.10      ohara    10884:   *) # from 4.6 on, and DragonFly
1.9       ohara    10885:     shlibpath_overrides_runpath=yes
                   10886:     hardcode_into_libs=yes
                   10887:     ;;
                   10888:   esac
                   10889:   ;;
                   10890:
1.10      ohara    10891: haiku*)
                   10892:   version_type=linux # correct to gnu/linux during the next big refactor
                   10893:   need_lib_prefix=no
                   10894:   need_version=no
                   10895:   dynamic_linker="$host_os runtime_loader"
1.13    ! ohara    10896:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10897:   soname_spec='$libname$release$shared_ext$major'
1.10      ohara    10898:   shlibpath_var=LIBRARY_PATH
1.13    ! ohara    10899:   shlibpath_overrides_runpath=no
1.10      ohara    10900:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
1.9       ohara    10901:   hardcode_into_libs=yes
                   10902:   ;;
                   10903:
                   10904: hpux9* | hpux10* | hpux11*)
                   10905:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10906:   # link against other versions.
                   10907:   version_type=sunos
                   10908:   need_lib_prefix=no
                   10909:   need_version=no
                   10910:   case $host_cpu in
                   10911:   ia64*)
                   10912:     shrext_cmds='.so'
                   10913:     hardcode_into_libs=yes
                   10914:     dynamic_linker="$host_os dld.so"
                   10915:     shlibpath_var=LD_LIBRARY_PATH
                   10916:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.13    ! ohara    10917:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10918:     soname_spec='$libname$release$shared_ext$major'
        !          10919:     if test 32 = "$HPUX_IA64_MODE"; then
1.9       ohara    10920:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.13    ! ohara    10921:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.9       ohara    10922:     else
                   10923:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.13    ! ohara    10924:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.9       ohara    10925:     fi
                   10926:     ;;
1.10      ohara    10927:   hppa*64*)
                   10928:     shrext_cmds='.sl'
                   10929:     hardcode_into_libs=yes
                   10930:     dynamic_linker="$host_os dld.sl"
                   10931:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10932:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.13    ! ohara    10933:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10934:     soname_spec='$libname$release$shared_ext$major'
1.10      ohara    10935:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10936:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10937:     ;;
                   10938:   *)
1.9       ohara    10939:     shrext_cmds='.sl'
                   10940:     dynamic_linker="$host_os dld.sl"
                   10941:     shlibpath_var=SHLIB_PATH
                   10942:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.13    ! ohara    10943:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10944:     soname_spec='$libname$release$shared_ext$major'
1.9       ohara    10945:     ;;
                   10946:   esac
1.10      ohara    10947:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.9       ohara    10948:   postinstall_cmds='chmod 555 $lib'
1.10      ohara    10949:   # or fails outright, so override atomically:
                   10950:   install_override_mode=555
1.9       ohara    10951:   ;;
                   10952:
1.10      ohara    10953: interix[3-9]*)
                   10954:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10955:   need_lib_prefix=no
                   10956:   need_version=no
1.13    ! ohara    10957:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10958:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    10959:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10960:   shlibpath_var=LD_LIBRARY_PATH
                   10961:   shlibpath_overrides_runpath=no
                   10962:   hardcode_into_libs=yes
                   10963:   ;;
                   10964:
                   10965: irix5* | irix6* | nonstopux*)
                   10966:   case $host_os in
                   10967:     nonstopux*) version_type=nonstopux ;;
                   10968:     *)
1.13    ! ohara    10969:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.10      ohara    10970:                version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    10971:        else
                   10972:                version_type=irix
                   10973:        fi ;;
                   10974:   esac
                   10975:   need_lib_prefix=no
                   10976:   need_version=no
1.13    ! ohara    10977:   soname_spec='$libname$release$shared_ext$major'
        !          10978:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.9       ohara    10979:   case $host_os in
                   10980:   irix5* | nonstopux*)
                   10981:     libsuff= shlibsuff=
                   10982:     ;;
                   10983:   *)
                   10984:     case $LD in # libtool.m4 will add one of these switches to LD
                   10985:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10986:       libsuff= shlibsuff= libmagic=32-bit;;
                   10987:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10988:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10989:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10990:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10991:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10992:     esac
                   10993:     ;;
                   10994:   esac
                   10995:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10996:   shlibpath_overrides_runpath=no
1.13    ! ohara    10997:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
        !          10998:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.9       ohara    10999:   hardcode_into_libs=yes
                   11000:   ;;
                   11001:
                   11002: # No shared lib support for Linux oldld, aout, or coff.
                   11003: linux*oldld* | linux*aout* | linux*coff*)
                   11004:   dynamic_linker=no
                   11005:   ;;
                   11006:
1.13    ! ohara    11007: linux*android*)
        !          11008:   version_type=none # Android doesn't support versioned libraries.
        !          11009:   need_lib_prefix=no
        !          11010:   need_version=no
        !          11011:   library_names_spec='$libname$release$shared_ext'
        !          11012:   soname_spec='$libname$release$shared_ext'
        !          11013:   finish_cmds=
        !          11014:   shlibpath_var=LD_LIBRARY_PATH
        !          11015:   shlibpath_overrides_runpath=yes
        !          11016:
        !          11017:   # This implies no fast_install, which is unacceptable.
        !          11018:   # Some rework will be needed to allow for fast_install
        !          11019:   # before this can be enabled.
        !          11020:   hardcode_into_libs=yes
        !          11021:
        !          11022:   dynamic_linker='Android linker'
        !          11023:   # Don't embed -rpath directories since the linker doesn't support them.
        !          11024:   hardcode_libdir_flag_spec='-L$libdir'
        !          11025:   ;;
        !          11026:
1.10      ohara    11027: # This must be glibc/ELF.
1.13    ! ohara    11028: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.10      ohara    11029:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    11030:   need_lib_prefix=no
                   11031:   need_version=no
1.13    ! ohara    11032:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11033:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11034:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11035:   shlibpath_var=LD_LIBRARY_PATH
                   11036:   shlibpath_overrides_runpath=no
1.10      ohara    11037:
                   11038:   # Some binutils ld are patched to set DT_RUNPATH
1.13    ! ohara    11039:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
1.10      ohara    11040:   $as_echo_n "(cached) " >&6
                   11041: else
                   11042:   lt_cv_shlibpath_overrides_runpath=no
                   11043:     save_LDFLAGS=$LDFLAGS
                   11044:     save_libdir=$libdir
                   11045:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11046:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11047:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11048: /* end confdefs.h.  */
                   11049:
                   11050: int
                   11051: main ()
                   11052: {
                   11053:
                   11054:   ;
                   11055:   return 0;
                   11056: }
                   11057: _ACEOF
                   11058: if ac_fn_c_try_link "$LINENO"; then :
                   11059:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   11060:   lt_cv_shlibpath_overrides_runpath=yes
                   11061: fi
                   11062: fi
                   11063: rm -f core conftest.err conftest.$ac_objext \
                   11064:     conftest$ac_exeext conftest.$ac_ext
                   11065:     LDFLAGS=$save_LDFLAGS
                   11066:     libdir=$save_libdir
                   11067:
                   11068: fi
                   11069:
                   11070:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11071:
1.9       ohara    11072:   # This implies no fast_install, which is unacceptable.
                   11073:   # Some rework will be needed to allow for fast_install
                   11074:   # before this can be enabled.
                   11075:   hardcode_into_libs=yes
                   11076:
1.13    ! ohara    11077:   # Ideally, we could use ldconfig to report *all* directores which are
        !          11078:   # searched for libraries, however this is still not possible.  Aside from not
        !          11079:   # being certain /sbin/ldconfig is available, command
        !          11080:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
        !          11081:   # even though it is searched at run-time.  Try to do the best guess by
        !          11082:   # appending ld.so.conf contents (and includes) to the search path.
1.9       ohara    11083:   if test -f /etc/ld.so.conf; then
1.10      ohara    11084:     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    11085:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11086:   fi
                   11087:
                   11088:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11089:   # powerpc, because MkLinux only supported shared libraries with the
                   11090:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11091:   # most powerpc-linux boxes support dynamic linking these days and
                   11092:   # people can always --disable-shared, the test was removed, and we
                   11093:   # assume the GNU/Linux dynamic linker is in use.
                   11094:   dynamic_linker='GNU/Linux ld.so'
                   11095:   ;;
                   11096:
                   11097: netbsd*)
                   11098:   version_type=sunos
                   11099:   need_lib_prefix=no
                   11100:   need_version=no
1.10      ohara    11101:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.13    ! ohara    11102:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.9       ohara    11103:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11104:     dynamic_linker='NetBSD (a.out) ld.so'
                   11105:   else
1.13    ! ohara    11106:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11107:     soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11108:     dynamic_linker='NetBSD ld.elf_so'
                   11109:   fi
                   11110:   shlibpath_var=LD_LIBRARY_PATH
                   11111:   shlibpath_overrides_runpath=yes
                   11112:   hardcode_into_libs=yes
                   11113:   ;;
                   11114:
                   11115: newsos6)
1.10      ohara    11116:   version_type=linux # correct to gnu/linux during the next big refactor
1.13    ! ohara    11117:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.9       ohara    11118:   shlibpath_var=LD_LIBRARY_PATH
                   11119:   shlibpath_overrides_runpath=yes
                   11120:   ;;
                   11121:
1.10      ohara    11122: *nto* | *qnx*)
                   11123:   version_type=qnx
1.9       ohara    11124:   need_lib_prefix=no
                   11125:   need_version=no
1.13    ! ohara    11126:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11127:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11128:   shlibpath_var=LD_LIBRARY_PATH
1.10      ohara    11129:   shlibpath_overrides_runpath=no
                   11130:   hardcode_into_libs=yes
                   11131:   dynamic_linker='ldqnx.so'
1.9       ohara    11132:   ;;
                   11133:
1.13    ! ohara    11134: openbsd* | bitrig*)
1.9       ohara    11135:   version_type=sunos
1.13    ! ohara    11136:   sys_lib_dlsearch_path_spec=/usr/lib
1.9       ohara    11137:   need_lib_prefix=no
1.13    ! ohara    11138:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          11139:     need_version=no
        !          11140:   else
        !          11141:     need_version=yes
        !          11142:   fi
        !          11143:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.9       ohara    11144:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11145:   shlibpath_var=LD_LIBRARY_PATH
1.13    ! ohara    11146:   shlibpath_overrides_runpath=yes
1.9       ohara    11147:   ;;
                   11148:
                   11149: os2*)
                   11150:   libname_spec='$name'
1.13    ! ohara    11151:   version_type=windows
        !          11152:   shrext_cmds=.dll
        !          11153:   need_version=no
1.9       ohara    11154:   need_lib_prefix=no
1.13    ! ohara    11155:   # OS/2 can only load a DLL with a base name of 8 characters or less.
        !          11156:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
        !          11157:     v=$($ECHO $release$versuffix | tr -d .-);
        !          11158:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
        !          11159:     $ECHO $n$v`$shared_ext'
        !          11160:   library_names_spec='${libname}_dll.$libext'
1.9       ohara    11161:   dynamic_linker='OS/2 ld.exe'
1.13    ! ohara    11162:   shlibpath_var=BEGINLIBPATH
        !          11163:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
        !          11164:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          11165:   postinstall_cmds='base_file=`basename \$file`~
        !          11166:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
        !          11167:     dldir=$destdir/`dirname \$dlpath`~
        !          11168:     test -d \$dldir || mkdir -p \$dldir~
        !          11169:     $install_prog $dir/$dlname \$dldir/$dlname~
        !          11170:     chmod a+x \$dldir/$dlname~
        !          11171:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          11172:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          11173:     fi'
        !          11174:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
        !          11175:     dlpath=$dir/\$dldll~
        !          11176:     $RM \$dlpath'
1.9       ohara    11177:   ;;
                   11178:
                   11179: osf3* | osf4* | osf5*)
                   11180:   version_type=osf
                   11181:   need_lib_prefix=no
                   11182:   need_version=no
1.13    ! ohara    11183:   soname_spec='$libname$release$shared_ext$major'
        !          11184:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.9       ohara    11185:   shlibpath_var=LD_LIBRARY_PATH
                   11186:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.13    ! ohara    11187:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.9       ohara    11188:   ;;
                   11189:
1.10      ohara    11190: rdos*)
                   11191:   dynamic_linker=no
                   11192:   ;;
                   11193:
1.9       ohara    11194: solaris*)
1.10      ohara    11195:   version_type=linux # correct to gnu/linux during the next big refactor
1.9       ohara    11196:   need_lib_prefix=no
                   11197:   need_version=no
1.13    ! ohara    11198:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11199:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11200:   shlibpath_var=LD_LIBRARY_PATH
                   11201:   shlibpath_overrides_runpath=yes
                   11202:   hardcode_into_libs=yes
                   11203:   # ldd complains unless libraries are executable
                   11204:   postinstall_cmds='chmod +x $lib'
                   11205:   ;;
                   11206:
                   11207: sunos4*)
                   11208:   version_type=sunos
1.13    ! ohara    11209:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.9       ohara    11210:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11211:   shlibpath_var=LD_LIBRARY_PATH
                   11212:   shlibpath_overrides_runpath=yes
1.13    ! ohara    11213:   if test yes = "$with_gnu_ld"; then
1.9       ohara    11214:     need_lib_prefix=no
                   11215:   fi
                   11216:   need_version=yes
                   11217:   ;;
                   11218:
                   11219: sysv4 | sysv4.3*)
1.10      ohara    11220:   version_type=linux # correct to gnu/linux during the next big refactor
1.13    ! ohara    11221:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11222:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11223:   shlibpath_var=LD_LIBRARY_PATH
                   11224:   case $host_vendor in
                   11225:     sni)
                   11226:       shlibpath_overrides_runpath=no
                   11227:       need_lib_prefix=no
                   11228:       runpath_var=LD_RUN_PATH
                   11229:       ;;
                   11230:     siemens)
                   11231:       need_lib_prefix=no
                   11232:       ;;
                   11233:     motorola)
                   11234:       need_lib_prefix=no
                   11235:       need_version=no
                   11236:       shlibpath_overrides_runpath=no
                   11237:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11238:       ;;
                   11239:   esac
                   11240:   ;;
                   11241:
                   11242: sysv4*MP*)
1.13    ! ohara    11243:   if test -d /usr/nec; then
1.10      ohara    11244:     version_type=linux # correct to gnu/linux during the next big refactor
1.13    ! ohara    11245:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
        !          11246:     soname_spec='$libname$shared_ext.$major'
1.9       ohara    11247:     shlibpath_var=LD_LIBRARY_PATH
                   11248:   fi
                   11249:   ;;
                   11250:
                   11251: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.13    ! ohara    11252:   version_type=sco
1.9       ohara    11253:   need_lib_prefix=no
                   11254:   need_version=no
1.13    ! ohara    11255:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
        !          11256:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11257:   shlibpath_var=LD_LIBRARY_PATH
1.10      ohara    11258:   shlibpath_overrides_runpath=yes
1.9       ohara    11259:   hardcode_into_libs=yes
1.13    ! ohara    11260:   if test yes = "$with_gnu_ld"; then
1.9       ohara    11261:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11262:   else
                   11263:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11264:     case $host_os in
                   11265:       sco3.2v5*)
                   11266:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11267:        ;;
                   11268:     esac
                   11269:   fi
                   11270:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11271:   ;;
                   11272:
1.10      ohara    11273: tpf*)
                   11274:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11275:   version_type=linux # correct to gnu/linux during the next big refactor
                   11276:   need_lib_prefix=no
                   11277:   need_version=no
1.13    ! ohara    11278:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.10      ohara    11279:   shlibpath_var=LD_LIBRARY_PATH
                   11280:   shlibpath_overrides_runpath=no
                   11281:   hardcode_into_libs=yes
                   11282:   ;;
                   11283:
1.9       ohara    11284: uts4*)
1.10      ohara    11285:   version_type=linux # correct to gnu/linux during the next big refactor
1.13    ! ohara    11286:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11287:   soname_spec='$libname$release$shared_ext$major'
1.9       ohara    11288:   shlibpath_var=LD_LIBRARY_PATH
                   11289:   ;;
                   11290:
                   11291: *)
                   11292:   dynamic_linker=no
                   11293:   ;;
                   11294: esac
1.10      ohara    11295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11296: $as_echo "$dynamic_linker" >&6; }
1.13    ! ohara    11297: test no = "$dynamic_linker" && can_build_shared=no
1.9       ohara    11298:
                   11299: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.13    ! ohara    11300: if test yes = "$GCC"; then
1.9       ohara    11301:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11302: fi
                   11303:
1.13    ! ohara    11304: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
        !          11305:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.10      ohara    11306: fi
1.13    ! ohara    11307:
        !          11308: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
        !          11309:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.10      ohara    11310: fi
                   11311:
1.13    ! ohara    11312: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
        !          11313: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
        !          11314:
        !          11315: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
        !          11316: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
        !          11317:
        !          11318: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
        !          11319: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
        !          11320:
        !          11321:
        !          11322:
        !          11323:
        !          11324:
        !          11325:
1.10      ohara    11326:
                   11327:
                   11328:
                   11329:
                   11330:
                   11331:
                   11332:
                   11333:
                   11334:
                   11335:
                   11336:
                   11337:
                   11338:
                   11339:
                   11340:
1.9       ohara    11341:
                   11342:
                   11343:
                   11344:
                   11345:
                   11346:
                   11347:
                   11348:
                   11349:
                   11350:
                   11351:
                   11352:
                   11353:
                   11354:
                   11355:
                   11356:
                   11357:
                   11358:
                   11359:
                   11360:
                   11361:
                   11362:
                   11363:
                   11364:
                   11365:
                   11366:
                   11367:
                   11368:
                   11369:
                   11370:
                   11371:
                   11372:
                   11373:
                   11374:
                   11375:
                   11376:
                   11377:
                   11378:
                   11379:
                   11380:
                   11381:
                   11382:
                   11383:
                   11384:
                   11385:
                   11386:
                   11387:
                   11388:
                   11389:
                   11390:
                   11391:
                   11392:
                   11393:
                   11394:
                   11395:
                   11396:
                   11397:
                   11398:
                   11399:
                   11400:
                   11401:
                   11402:
                   11403:
                   11404:
                   11405:
                   11406:
                   11407:
                   11408:
                   11409:
                   11410:
                   11411:
                   11412:
                   11413:
                   11414:
                   11415:
                   11416:
1.10      ohara    11417:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11418: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   11419: hardcode_action=
                   11420: if test -n "$hardcode_libdir_flag_spec" ||
                   11421:    test -n "$runpath_var" ||
1.13    ! ohara    11422:    test yes = "$hardcode_automatic"; then
1.9       ohara    11423:
1.10      ohara    11424:   # We can hardcode non-existent directories.
1.13    ! ohara    11425:   if test no != "$hardcode_direct" &&
1.10      ohara    11426:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11427:      # have to relink, otherwise we might link with an installed library
                   11428:      # when we should be linking with a yet-to-be-installed one
1.13    ! ohara    11429:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
        !          11430:      test no != "$hardcode_minus_L"; then
1.10      ohara    11431:     # Linking always hardcodes the temporary library directory.
                   11432:     hardcode_action=relink
                   11433:   else
                   11434:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11435:     hardcode_action=immediate
                   11436:   fi
                   11437: else
                   11438:   # We cannot hardcode anything, or else we can only hardcode existing
                   11439:   # directories.
                   11440:   hardcode_action=unsupported
                   11441: fi
                   11442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   11443: $as_echo "$hardcode_action" >&6; }
1.9       ohara    11444:
1.13    ! ohara    11445: if test relink = "$hardcode_action" ||
        !          11446:    test yes = "$inherit_rpath"; then
1.10      ohara    11447:   # Fast installation is not supported
                   11448:   enable_fast_install=no
1.13    ! ohara    11449: elif test yes = "$shlibpath_overrides_runpath" ||
        !          11450:      test no = "$enable_shared"; then
1.10      ohara    11451:   # Fast installation is not necessary
                   11452:   enable_fast_install=needless
                   11453: fi
1.9       ohara    11454:
                   11455:
                   11456:
                   11457:
                   11458:
                   11459:
1.13    ! ohara    11460:   if test yes != "$enable_dlopen"; then
1.10      ohara    11461:   enable_dlopen=unknown
                   11462:   enable_dlopen_self=unknown
                   11463:   enable_dlopen_self_static=unknown
                   11464: else
                   11465:   lt_cv_dlopen=no
                   11466:   lt_cv_dlopen_libs=
1.9       ohara    11467:
1.10      ohara    11468:   case $host_os in
                   11469:   beos*)
1.13    ! ohara    11470:     lt_cv_dlopen=load_add_on
1.10      ohara    11471:     lt_cv_dlopen_libs=
                   11472:     lt_cv_dlopen_self=yes
                   11473:     ;;
1.9       ohara    11474:
1.10      ohara    11475:   mingw* | pw32* | cegcc*)
1.13    ! ohara    11476:     lt_cv_dlopen=LoadLibrary
1.10      ohara    11477:     lt_cv_dlopen_libs=
                   11478:     ;;
1.9       ohara    11479:
1.10      ohara    11480:   cygwin*)
1.13    ! ohara    11481:     lt_cv_dlopen=dlopen
1.10      ohara    11482:     lt_cv_dlopen_libs=
                   11483:     ;;
1.9       ohara    11484:
1.10      ohara    11485:   darwin*)
1.13    ! ohara    11486:     # if libdl is installed we need to link against it
1.10      ohara    11487:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11488: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.13    ! ohara    11489: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.10      ohara    11490:   $as_echo_n "(cached) " >&6
                   11491: else
                   11492:   ac_check_lib_save_LIBS=$LIBS
                   11493: LIBS="-ldl  $LIBS"
                   11494: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11495: /* end confdefs.h.  */
1.9       ohara    11496:
1.10      ohara    11497: /* Override any GCC internal prototype to avoid an error.
                   11498:    Use char because int might match the return type of a GCC
                   11499:    builtin and then its argument prototype would still apply.  */
                   11500: #ifdef __cplusplus
                   11501: extern "C"
                   11502: #endif
                   11503: char dlopen ();
                   11504: int
                   11505: main ()
                   11506: {
                   11507: return dlopen ();
                   11508:   ;
                   11509:   return 0;
                   11510: }
                   11511: _ACEOF
                   11512: if ac_fn_c_try_link "$LINENO"; then :
                   11513:   ac_cv_lib_dl_dlopen=yes
1.9       ohara    11514: else
1.10      ohara    11515:   ac_cv_lib_dl_dlopen=no
                   11516: fi
                   11517: rm -f core conftest.err conftest.$ac_objext \
                   11518:     conftest$ac_exeext conftest.$ac_ext
                   11519: LIBS=$ac_check_lib_save_LIBS
1.9       ohara    11520: fi
1.10      ohara    11521: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11522: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.13    ! ohara    11523: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
        !          11524:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
1.10      ohara    11525: else
1.9       ohara    11526:
1.13    ! ohara    11527:     lt_cv_dlopen=dyld
1.10      ohara    11528:     lt_cv_dlopen_libs=
                   11529:     lt_cv_dlopen_self=yes
1.9       ohara    11530:
1.10      ohara    11531: fi
1.9       ohara    11532:
1.10      ohara    11533:     ;;
1.9       ohara    11534:
1.13    ! ohara    11535:   tpf*)
        !          11536:     # Don't try to run any link tests for TPF.  We know it's impossible
        !          11537:     # because TPF is a cross-compiler, and we know how we open DSOs.
        !          11538:     lt_cv_dlopen=dlopen
        !          11539:     lt_cv_dlopen_libs=
        !          11540:     lt_cv_dlopen_self=no
        !          11541:     ;;
        !          11542:
1.10      ohara    11543:   *)
                   11544:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.13    ! ohara    11545: if test "x$ac_cv_func_shl_load" = xyes; then :
        !          11546:   lt_cv_dlopen=shl_load
1.10      ohara    11547: else
                   11548:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11549: $as_echo_n "checking for shl_load in -ldld... " >&6; }
1.13    ! ohara    11550: if ${ac_cv_lib_dld_shl_load+:} false; then :
1.10      ohara    11551:   $as_echo_n "(cached) " >&6
                   11552: else
                   11553:   ac_check_lib_save_LIBS=$LIBS
                   11554: LIBS="-ldld  $LIBS"
                   11555: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11556: /* end confdefs.h.  */
1.9       ohara    11557:
1.10      ohara    11558: /* Override any GCC internal prototype to avoid an error.
                   11559:    Use char because int might match the return type of a GCC
                   11560:    builtin and then its argument prototype would still apply.  */
                   11561: #ifdef __cplusplus
                   11562: extern "C"
                   11563: #endif
                   11564: char shl_load ();
                   11565: int
                   11566: main ()
                   11567: {
                   11568: return shl_load ();
                   11569:   ;
                   11570:   return 0;
                   11571: }
                   11572: _ACEOF
                   11573: if ac_fn_c_try_link "$LINENO"; then :
                   11574:   ac_cv_lib_dld_shl_load=yes
                   11575: else
                   11576:   ac_cv_lib_dld_shl_load=no
                   11577: fi
                   11578: rm -f core conftest.err conftest.$ac_objext \
                   11579:     conftest$ac_exeext conftest.$ac_ext
                   11580: LIBS=$ac_check_lib_save_LIBS
                   11581: fi
                   11582: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11583: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.13    ! ohara    11584: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
        !          11585:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
1.10      ohara    11586: else
                   11587:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.13    ! ohara    11588: if test "x$ac_cv_func_dlopen" = xyes; then :
        !          11589:   lt_cv_dlopen=dlopen
1.10      ohara    11590: else
                   11591:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11592: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.13    ! ohara    11593: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.10      ohara    11594:   $as_echo_n "(cached) " >&6
                   11595: else
                   11596:   ac_check_lib_save_LIBS=$LIBS
                   11597: LIBS="-ldl  $LIBS"
                   11598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11599: /* end confdefs.h.  */
1.9       ohara    11600:
1.10      ohara    11601: /* Override any GCC internal prototype to avoid an error.
                   11602:    Use char because int might match the return type of a GCC
                   11603:    builtin and then its argument prototype would still apply.  */
                   11604: #ifdef __cplusplus
                   11605: extern "C"
                   11606: #endif
                   11607: char dlopen ();
                   11608: int
                   11609: main ()
                   11610: {
                   11611: return dlopen ();
                   11612:   ;
                   11613:   return 0;
                   11614: }
                   11615: _ACEOF
                   11616: if ac_fn_c_try_link "$LINENO"; then :
                   11617:   ac_cv_lib_dl_dlopen=yes
                   11618: else
                   11619:   ac_cv_lib_dl_dlopen=no
                   11620: fi
                   11621: rm -f core conftest.err conftest.$ac_objext \
                   11622:     conftest$ac_exeext conftest.$ac_ext
                   11623: LIBS=$ac_check_lib_save_LIBS
                   11624: fi
                   11625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11626: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.13    ! ohara    11627: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
        !          11628:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
1.10      ohara    11629: else
                   11630:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11631: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.13    ! ohara    11632: if ${ac_cv_lib_svld_dlopen+:} false; then :
1.10      ohara    11633:   $as_echo_n "(cached) " >&6
                   11634: else
                   11635:   ac_check_lib_save_LIBS=$LIBS
                   11636: LIBS="-lsvld  $LIBS"
                   11637: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11638: /* end confdefs.h.  */
1.9       ohara    11639:
1.10      ohara    11640: /* Override any GCC internal prototype to avoid an error.
                   11641:    Use char because int might match the return type of a GCC
                   11642:    builtin and then its argument prototype would still apply.  */
                   11643: #ifdef __cplusplus
                   11644: extern "C"
                   11645: #endif
                   11646: char dlopen ();
                   11647: int
                   11648: main ()
                   11649: {
                   11650: return dlopen ();
                   11651:   ;
                   11652:   return 0;
                   11653: }
                   11654: _ACEOF
                   11655: if ac_fn_c_try_link "$LINENO"; then :
                   11656:   ac_cv_lib_svld_dlopen=yes
                   11657: else
                   11658:   ac_cv_lib_svld_dlopen=no
                   11659: fi
                   11660: rm -f core conftest.err conftest.$ac_objext \
                   11661:     conftest$ac_exeext conftest.$ac_ext
                   11662: LIBS=$ac_check_lib_save_LIBS
                   11663: fi
                   11664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11665: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.13    ! ohara    11666: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
        !          11667:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
1.10      ohara    11668: else
                   11669:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11670: $as_echo_n "checking for dld_link in -ldld... " >&6; }
1.13    ! ohara    11671: if ${ac_cv_lib_dld_dld_link+:} false; then :
1.10      ohara    11672:   $as_echo_n "(cached) " >&6
                   11673: else
                   11674:   ac_check_lib_save_LIBS=$LIBS
                   11675: LIBS="-ldld  $LIBS"
                   11676: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11677: /* end confdefs.h.  */
1.9       ohara    11678:
1.10      ohara    11679: /* Override any GCC internal prototype to avoid an error.
                   11680:    Use char because int might match the return type of a GCC
                   11681:    builtin and then its argument prototype would still apply.  */
                   11682: #ifdef __cplusplus
                   11683: extern "C"
                   11684: #endif
                   11685: char dld_link ();
                   11686: int
                   11687: main ()
                   11688: {
                   11689: return dld_link ();
                   11690:   ;
                   11691:   return 0;
                   11692: }
                   11693: _ACEOF
                   11694: if ac_fn_c_try_link "$LINENO"; then :
                   11695:   ac_cv_lib_dld_dld_link=yes
                   11696: else
                   11697:   ac_cv_lib_dld_dld_link=no
                   11698: fi
                   11699: rm -f core conftest.err conftest.$ac_objext \
                   11700:     conftest$ac_exeext conftest.$ac_ext
                   11701: LIBS=$ac_check_lib_save_LIBS
                   11702: fi
                   11703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11704: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.13    ! ohara    11705: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
        !          11706:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.10      ohara    11707: fi
1.9       ohara    11708:
                   11709:
1.10      ohara    11710: fi
1.9       ohara    11711:
                   11712:
1.10      ohara    11713: fi
1.9       ohara    11714:
                   11715:
1.10      ohara    11716: fi
1.9       ohara    11717:
                   11718:
1.10      ohara    11719: fi
1.9       ohara    11720:
                   11721:
1.10      ohara    11722: fi
1.9       ohara    11723:
                   11724:     ;;
                   11725:   esac
                   11726:
1.13    ! ohara    11727:   if test no = "$lt_cv_dlopen"; then
        !          11728:     enable_dlopen=no
        !          11729:   else
1.10      ohara    11730:     enable_dlopen=yes
                   11731:   fi
1.9       ohara    11732:
1.10      ohara    11733:   case $lt_cv_dlopen in
                   11734:   dlopen)
1.13    ! ohara    11735:     save_CPPFLAGS=$CPPFLAGS
        !          11736:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.9       ohara    11737:
1.13    ! ohara    11738:     save_LDFLAGS=$LDFLAGS
1.10      ohara    11739:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.9       ohara    11740:
1.13    ! ohara    11741:     save_LIBS=$LIBS
1.10      ohara    11742:     LIBS="$lt_cv_dlopen_libs $LIBS"
1.9       ohara    11743:
1.10      ohara    11744:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11745: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.13    ! ohara    11746: if ${lt_cv_dlopen_self+:} false; then :
1.10      ohara    11747:   $as_echo_n "(cached) " >&6
                   11748: else
1.13    ! ohara    11749:          if test yes = "$cross_compiling"; then :
1.10      ohara    11750:   lt_cv_dlopen_self=cross
                   11751: else
                   11752:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11753:   lt_status=$lt_dlunknown
                   11754:   cat > conftest.$ac_ext <<_LT_EOF
                   11755: #line $LINENO "configure"
                   11756: #include "confdefs.h"
1.9       ohara    11757:
1.10      ohara    11758: #if HAVE_DLFCN_H
                   11759: #include <dlfcn.h>
                   11760: #endif
1.9       ohara    11761:
1.10      ohara    11762: #include <stdio.h>
1.9       ohara    11763:
1.10      ohara    11764: #ifdef RTLD_GLOBAL
                   11765: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11766: #else
                   11767: #  ifdef DL_GLOBAL
                   11768: #    define LT_DLGLOBAL                DL_GLOBAL
                   11769: #  else
                   11770: #    define LT_DLGLOBAL                0
                   11771: #  endif
                   11772: #endif
1.9       ohara    11773:
1.10      ohara    11774: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11775:    find out it does not work in some platform. */
                   11776: #ifndef LT_DLLAZY_OR_NOW
                   11777: #  ifdef RTLD_LAZY
                   11778: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11779: #  else
                   11780: #    ifdef DL_LAZY
                   11781: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11782: #    else
                   11783: #      ifdef RTLD_NOW
                   11784: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11785: #      else
                   11786: #        ifdef DL_NOW
                   11787: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11788: #        else
                   11789: #          define LT_DLLAZY_OR_NOW     0
                   11790: #        endif
                   11791: #      endif
                   11792: #    endif
                   11793: #  endif
                   11794: #endif
1.9       ohara    11795:
1.13    ! ohara    11796: /* When -fvisibility=hidden is used, assume the code has been annotated
1.10      ohara    11797:    correspondingly for the symbols needed.  */
1.13    ! ohara    11798: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1.10      ohara    11799: int fnord () __attribute__((visibility("default")));
                   11800: #endif
1.9       ohara    11801:
1.10      ohara    11802: int fnord () { return 42; }
                   11803: int main ()
                   11804: {
                   11805:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11806:   int status = $lt_dlunknown;
1.9       ohara    11807:
1.10      ohara    11808:   if (self)
                   11809:     {
                   11810:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11811:       else
                   11812:         {
                   11813:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11814:           else puts (dlerror ());
                   11815:        }
                   11816:       /* dlclose (self); */
                   11817:     }
                   11818:   else
                   11819:     puts (dlerror ());
1.9       ohara    11820:
1.10      ohara    11821:   return status;
                   11822: }
                   11823: _LT_EOF
                   11824:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11825:   (eval $ac_link) 2>&5
                   11826:   ac_status=$?
                   11827:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.13    ! ohara    11828:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.10      ohara    11829:     (./conftest; exit; ) >&5 2>/dev/null
                   11830:     lt_status=$?
                   11831:     case x$lt_status in
                   11832:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11833:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11834:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11835:     esac
                   11836:   else :
                   11837:     # compilation failed
                   11838:     lt_cv_dlopen_self=no
                   11839:   fi
                   11840: fi
                   11841: rm -fr conftest*
1.9       ohara    11842:
                   11843:
1.10      ohara    11844: fi
                   11845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11846: $as_echo "$lt_cv_dlopen_self" >&6; }
1.9       ohara    11847:
1.13    ! ohara    11848:     if test yes = "$lt_cv_dlopen_self"; then
1.10      ohara    11849:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11850:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11851: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.13    ! ohara    11852: if ${lt_cv_dlopen_self_static+:} false; then :
1.10      ohara    11853:   $as_echo_n "(cached) " >&6
                   11854: else
1.13    ! ohara    11855:          if test yes = "$cross_compiling"; then :
1.10      ohara    11856:   lt_cv_dlopen_self_static=cross
                   11857: else
                   11858:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11859:   lt_status=$lt_dlunknown
                   11860:   cat > conftest.$ac_ext <<_LT_EOF
                   11861: #line $LINENO "configure"
                   11862: #include "confdefs.h"
1.9       ohara    11863:
1.10      ohara    11864: #if HAVE_DLFCN_H
                   11865: #include <dlfcn.h>
                   11866: #endif
1.9       ohara    11867:
1.10      ohara    11868: #include <stdio.h>
1.9       ohara    11869:
1.10      ohara    11870: #ifdef RTLD_GLOBAL
                   11871: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11872: #else
                   11873: #  ifdef DL_GLOBAL
                   11874: #    define LT_DLGLOBAL                DL_GLOBAL
                   11875: #  else
                   11876: #    define LT_DLGLOBAL                0
                   11877: #  endif
                   11878: #endif
1.9       ohara    11879:
1.10      ohara    11880: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11881:    find out it does not work in some platform. */
                   11882: #ifndef LT_DLLAZY_OR_NOW
                   11883: #  ifdef RTLD_LAZY
                   11884: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11885: #  else
                   11886: #    ifdef DL_LAZY
                   11887: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11888: #    else
                   11889: #      ifdef RTLD_NOW
                   11890: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11891: #      else
                   11892: #        ifdef DL_NOW
                   11893: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11894: #        else
                   11895: #          define LT_DLLAZY_OR_NOW     0
                   11896: #        endif
                   11897: #      endif
                   11898: #    endif
                   11899: #  endif
                   11900: #endif
1.9       ohara    11901:
1.13    ! ohara    11902: /* When -fvisibility=hidden is used, assume the code has been annotated
1.10      ohara    11903:    correspondingly for the symbols needed.  */
1.13    ! ohara    11904: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1.10      ohara    11905: int fnord () __attribute__((visibility("default")));
                   11906: #endif
1.9       ohara    11907:
1.10      ohara    11908: int fnord () { return 42; }
                   11909: int main ()
                   11910: {
                   11911:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11912:   int status = $lt_dlunknown;
1.9       ohara    11913:
1.10      ohara    11914:   if (self)
                   11915:     {
                   11916:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11917:       else
                   11918:         {
                   11919:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11920:           else puts (dlerror ());
                   11921:        }
                   11922:       /* dlclose (self); */
                   11923:     }
                   11924:   else
                   11925:     puts (dlerror ());
1.9       ohara    11926:
1.10      ohara    11927:   return status;
                   11928: }
                   11929: _LT_EOF
                   11930:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11931:   (eval $ac_link) 2>&5
                   11932:   ac_status=$?
                   11933:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.13    ! ohara    11934:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.10      ohara    11935:     (./conftest; exit; ) >&5 2>/dev/null
                   11936:     lt_status=$?
                   11937:     case x$lt_status in
                   11938:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11939:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11940:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11941:     esac
                   11942:   else :
                   11943:     # compilation failed
                   11944:     lt_cv_dlopen_self_static=no
                   11945:   fi
                   11946: fi
                   11947: rm -fr conftest*
1.9       ohara    11948:
                   11949:
1.10      ohara    11950: fi
                   11951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11952: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   11953:     fi
1.9       ohara    11954:
1.13    ! ohara    11955:     CPPFLAGS=$save_CPPFLAGS
        !          11956:     LDFLAGS=$save_LDFLAGS
        !          11957:     LIBS=$save_LIBS
1.10      ohara    11958:     ;;
                   11959:   esac
1.9       ohara    11960:
1.10      ohara    11961:   case $lt_cv_dlopen_self in
                   11962:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11963:   *) enable_dlopen_self=unknown ;;
                   11964:   esac
1.9       ohara    11965:
1.10      ohara    11966:   case $lt_cv_dlopen_self_static in
                   11967:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11968:   *) enable_dlopen_self_static=unknown ;;
                   11969:   esac
                   11970: fi
1.9       ohara    11971:
                   11972:
                   11973:
                   11974:
                   11975:
                   11976:
                   11977:
                   11978:
                   11979:
                   11980:
                   11981:
                   11982:
                   11983:
                   11984:
                   11985:
                   11986:
                   11987:
1.10      ohara    11988: striplib=
                   11989: old_striplib=
                   11990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   11991: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   11992: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11993:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11994:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11995:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11996: $as_echo "yes" >&6; }
                   11997: else
                   11998: # FIXME - insert some real tests, host_os isn't really good enough
                   11999:   case $host_os in
                   12000:   darwin*)
1.13    ! ohara    12001:     if test -n "$STRIP"; then
1.10      ohara    12002:       striplib="$STRIP -x"
                   12003:       old_striplib="$STRIP -S"
                   12004:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12005: $as_echo "yes" >&6; }
                   12006:     else
                   12007:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12008: $as_echo "no" >&6; }
                   12009:     fi
                   12010:     ;;
                   12011:   *)
                   12012:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12013: $as_echo "no" >&6; }
                   12014:     ;;
                   12015:   esac
                   12016: fi
1.9       ohara    12017:
                   12018:
                   12019:
                   12020:
                   12021:
                   12022:
                   12023:
                   12024:
                   12025:
                   12026:
                   12027:
                   12028:
1.13    ! ohara    12029:   # Report what library types will actually be built
1.10      ohara    12030:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12031: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12032:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12033: $as_echo "$can_build_shared" >&6; }
1.9       ohara    12034:
1.10      ohara    12035:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12036: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.13    ! ohara    12037:   test no = "$can_build_shared" && enable_shared=no
1.9       ohara    12038:
1.10      ohara    12039:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12040:   # are all built from PIC.
                   12041:   case $host_os in
                   12042:   aix3*)
1.13    ! ohara    12043:     test yes = "$enable_shared" && enable_static=no
1.10      ohara    12044:     if test -n "$RANLIB"; then
                   12045:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12046:       postinstall_cmds='$RANLIB $lib'
                   12047:     fi
                   12048:     ;;
1.9       ohara    12049:
1.10      ohara    12050:   aix[4-9]*)
1.13    ! ohara    12051:     if test ia64 != "$host_cpu"; then
        !          12052:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
        !          12053:       yes,aix,yes) ;;                  # shared object as lib.so file only
        !          12054:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
        !          12055:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
        !          12056:       esac
1.10      ohara    12057:     fi
                   12058:     ;;
                   12059:   esac
                   12060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12061: $as_echo "$enable_shared" >&6; }
1.9       ohara    12062:
1.10      ohara    12063:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12064: $as_echo_n "checking whether to build static libraries... " >&6; }
                   12065:   # Make sure either enable_shared or enable_static is yes.
1.13    ! ohara    12066:   test yes = "$enable_shared" || enable_static=yes
1.10      ohara    12067:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12068: $as_echo "$enable_static" >&6; }
1.9       ohara    12069:
                   12070:
                   12071:
                   12072:
1.10      ohara    12073: fi
                   12074: ac_ext=c
                   12075: ac_cpp='$CPP $CPPFLAGS'
                   12076: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12077: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12078: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9       ohara    12079:
1.13    ! ohara    12080: CC=$lt_save_CC
1.9       ohara    12081:
                   12082:
                   12083:
                   12084:
                   12085:
                   12086:
                   12087:
                   12088:
                   12089:
                   12090:
                   12091:
                   12092:
                   12093:
                   12094:
                   12095:
1.10      ohara    12096:         ac_config_commands="$ac_config_commands libtool"
1.9       ohara    12097:
                   12098:
1.7       ohara    12099:
                   12100:
1.10      ohara    12101: # Only expand once:
1.9       ohara    12102:
1.7       ohara    12103:
1.10      ohara    12104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
                   12105: $as_echo_n "checking for X... " >&6; }
1.7       ohara    12106:
                   12107:
1.10      ohara    12108: # Check whether --with-x was given.
                   12109: if test "${with_x+set}" = set; then :
                   12110:   withval=$with_x;
                   12111: fi
1.7       ohara    12112:
1.10      ohara    12113: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   12114: if test "x$with_x" = xno; then
                   12115:   # The user explicitly disabled X.
                   12116:   have_x=disabled
                   12117: else
                   12118:   case $x_includes,$x_libraries in #(
1.13    ! ohara    12119:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
        !          12120:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
1.10      ohara    12121:   $as_echo_n "(cached) " >&6
                   12122: else
                   12123:   # One or both of the vars are not set, and there is no cached value.
                   12124: ac_x_includes=no ac_x_libraries=no
                   12125: rm -f -r conftest.dir
                   12126: if mkdir conftest.dir; then
                   12127:   cd conftest.dir
                   12128:   cat >Imakefile <<'_ACEOF'
                   12129: incroot:
                   12130:        @echo incroot='${INCROOT}'
                   12131: usrlibdir:
                   12132:        @echo usrlibdir='${USRLIBDIR}'
                   12133: libdir:
                   12134:        @echo libdir='${LIBDIR}'
                   12135: _ACEOF
                   12136:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
                   12137:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   12138:     for ac_var in incroot usrlibdir libdir; do
                   12139:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
                   12140:     done
                   12141:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   12142:     for ac_extension in a so sl dylib la dll; do
                   12143:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
                   12144:         test -f "$ac_im_libdir/libX11.$ac_extension"; then
                   12145:        ac_im_usrlibdir=$ac_im_libdir; break
                   12146:       fi
                   12147:     done
                   12148:     # Screen out bogus values from the imake configuration.  They are
                   12149:     # bogus both because they are the default anyway, and because
                   12150:     # using them would break gcc on systems where it needs fixed includes.
                   12151:     case $ac_im_incroot in
                   12152:        /usr/include) ac_x_includes= ;;
                   12153:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   12154:     esac
                   12155:     case $ac_im_usrlibdir in
                   12156:        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
                   12157:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   12158:     esac
1.7       ohara    12159:   fi
1.10      ohara    12160:   cd ..
                   12161:   rm -f -r conftest.dir
1.7       ohara    12162: fi
                   12163:
1.10      ohara    12164: # Standard set of common directories for X headers.
                   12165: # Check X11 before X11Rn because it is often a symlink to the current release.
                   12166: ac_x_header_dirs='
                   12167: /usr/X11/include
                   12168: /usr/X11R7/include
                   12169: /usr/X11R6/include
                   12170: /usr/X11R5/include
                   12171: /usr/X11R4/include
1.7       ohara    12172:
1.10      ohara    12173: /usr/include/X11
                   12174: /usr/include/X11R7
                   12175: /usr/include/X11R6
                   12176: /usr/include/X11R5
                   12177: /usr/include/X11R4
1.7       ohara    12178:
1.10      ohara    12179: /usr/local/X11/include
                   12180: /usr/local/X11R7/include
                   12181: /usr/local/X11R6/include
                   12182: /usr/local/X11R5/include
                   12183: /usr/local/X11R4/include
1.9       ohara    12184:
1.10      ohara    12185: /usr/local/include/X11
                   12186: /usr/local/include/X11R7
                   12187: /usr/local/include/X11R6
                   12188: /usr/local/include/X11R5
                   12189: /usr/local/include/X11R4
1.9       ohara    12190:
1.10      ohara    12191: /usr/X386/include
                   12192: /usr/x386/include
                   12193: /usr/XFree86/include/X11
1.9       ohara    12194:
1.10      ohara    12195: /usr/include
                   12196: /usr/local/include
                   12197: /usr/unsupported/include
                   12198: /usr/athena/include
                   12199: /usr/local/x11r5/include
                   12200: /usr/lpp/Xamples/include
1.9       ohara    12201:
1.10      ohara    12202: /usr/openwin/include
                   12203: /usr/openwin/share/include'
1.9       ohara    12204:
1.10      ohara    12205: if test "$ac_x_includes" = no; then
                   12206:   # Guess where to find include files, by looking for Xlib.h.
                   12207:   # First, try using that file with no special directory specified.
                   12208:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12209: /* end confdefs.h.  */
                   12210: #include <X11/Xlib.h>
                   12211: _ACEOF
                   12212: if ac_fn_c_try_cpp "$LINENO"; then :
                   12213:   # We can compile using X headers with no special include directory.
                   12214: ac_x_includes=
                   12215: else
                   12216:   for ac_dir in $ac_x_header_dirs; do
                   12217:   if test -r "$ac_dir/X11/Xlib.h"; then
                   12218:     ac_x_includes=$ac_dir
                   12219:     break
                   12220:   fi
                   12221: done
                   12222: fi
                   12223: rm -f conftest.err conftest.i conftest.$ac_ext
                   12224: fi # $ac_x_includes = no
1.9       ohara    12225:
1.10      ohara    12226: if test "$ac_x_libraries" = no; then
                   12227:   # Check for the libraries.
                   12228:   # See if we find them without any special options.
                   12229:   # Don't add to $LIBS permanently.
                   12230:   ac_save_LIBS=$LIBS
                   12231:   LIBS="-lX11 $LIBS"
                   12232:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12233: /* end confdefs.h.  */
                   12234: #include <X11/Xlib.h>
                   12235: int
                   12236: main ()
                   12237: {
                   12238: XrmInitialize ()
                   12239:   ;
                   12240:   return 0;
                   12241: }
                   12242: _ACEOF
                   12243: if ac_fn_c_try_link "$LINENO"; then :
                   12244:   LIBS=$ac_save_LIBS
                   12245: # We can link X programs with no special library path.
                   12246: ac_x_libraries=
                   12247: else
                   12248:   LIBS=$ac_save_LIBS
                   12249: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
                   12250: do
                   12251:   # Don't even attempt the hair of trying to link an X program!
                   12252:   for ac_extension in a so sl dylib la dll; do
                   12253:     if test -r "$ac_dir/libX11.$ac_extension"; then
                   12254:       ac_x_libraries=$ac_dir
                   12255:       break 2
                   12256:     fi
                   12257:   done
                   12258: done
                   12259: fi
                   12260: rm -f core conftest.err conftest.$ac_objext \
                   12261:     conftest$ac_exeext conftest.$ac_ext
                   12262: fi # $ac_x_libraries = no
1.9       ohara    12263:
1.10      ohara    12264: case $ac_x_includes,$ac_x_libraries in #(
                   12265:   no,* | *,no | *\'*)
                   12266:     # Didn't find X, or a directory has "'" in its name.
                   12267:     ac_cv_have_x="have_x=no";; #(
                   12268:   *)
                   12269:     # Record where we found X for the cache.
                   12270:     ac_cv_have_x="have_x=yes\
                   12271:        ac_x_includes='$ac_x_includes'\
                   12272:        ac_x_libraries='$ac_x_libraries'"
                   12273: esac
                   12274: fi
                   12275: ;; #(
                   12276:     *) have_x=yes;;
                   12277:   esac
                   12278:   eval "$ac_cv_have_x"
                   12279: fi # $with_x != no
1.9       ohara    12280:
1.10      ohara    12281: if test "$have_x" != yes; then
                   12282:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
                   12283: $as_echo "$have_x" >&6; }
                   12284:   no_x=yes
                   12285: else
                   12286:   # If each of the values was on the command line, it overrides each guess.
                   12287:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   12288:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   12289:   # Update the cache value to reflect the command line values.
                   12290:   ac_cv_have_x="have_x=yes\
                   12291:        ac_x_includes='$x_includes'\
                   12292:        ac_x_libraries='$x_libraries'"
                   12293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
                   12294: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
                   12295: fi
1.9       ohara    12296:
1.10      ohara    12297: if test "$no_x" = yes; then
                   12298:   # Not all programs may use this symbol, but it does not hurt to define it.
1.7       ohara    12299:
1.10      ohara    12300: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.4       takayama 12301:
1.10      ohara    12302:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   12303: else
                   12304:   if test -n "$x_includes"; then
                   12305:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   12306:   fi
1.4       takayama 12307:
1.10      ohara    12308:   # It would also be nice to do this for all -L options, not just this one.
                   12309:   if test -n "$x_libraries"; then
                   12310:     X_LIBS="$X_LIBS -L$x_libraries"
                   12311:     # For Solaris; some versions of Sun CC require a space after -R and
                   12312:     # others require no space.  Words are not sufficient . . . .
                   12313:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
                   12314: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
                   12315:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   12316:     ac_xsave_c_werror_flag=$ac_c_werror_flag
                   12317:     ac_c_werror_flag=yes
                   12318:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12319: /* end confdefs.h.  */
1.4       takayama 12320:
1.10      ohara    12321: int
                   12322: main ()
                   12323: {
1.4       takayama 12324:
1.10      ohara    12325:   ;
                   12326:   return 0;
                   12327: }
                   12328: _ACEOF
                   12329: if ac_fn_c_try_link "$LINENO"; then :
                   12330:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12331: $as_echo "no" >&6; }
                   12332:        X_LIBS="$X_LIBS -R$x_libraries"
                   12333: else
                   12334:   LIBS="$ac_xsave_LIBS -R $x_libraries"
                   12335:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12336: /* end confdefs.h.  */
1.4       takayama 12337:
1.10      ohara    12338: int
                   12339: main ()
                   12340: {
1.4       takayama 12341:
1.10      ohara    12342:   ;
                   12343:   return 0;
                   12344: }
                   12345: _ACEOF
                   12346: if ac_fn_c_try_link "$LINENO"; then :
                   12347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12348: $as_echo "yes" >&6; }
                   12349:          X_LIBS="$X_LIBS -R $x_libraries"
                   12350: else
                   12351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
                   12352: $as_echo "neither works" >&6; }
                   12353: fi
                   12354: rm -f core conftest.err conftest.$ac_objext \
                   12355:     conftest$ac_exeext conftest.$ac_ext
                   12356: fi
                   12357: rm -f core conftest.err conftest.$ac_objext \
                   12358:     conftest$ac_exeext conftest.$ac_ext
                   12359:     ac_c_werror_flag=$ac_xsave_c_werror_flag
                   12360:     LIBS=$ac_xsave_LIBS
                   12361:   fi
1.1       ohara    12362:
1.10      ohara    12363:   # Check for system-dependent libraries X programs must link with.
                   12364:   # Do this before checking for the system-independent R6 libraries
                   12365:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.4       takayama 12366:
1.10      ohara    12367:   if test "$ISC" = yes; then
                   12368:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   12369:   else
                   12370:     # Martyn Johnson says this is needed for Ultrix, if the X
                   12371:     # libraries were built with DECnet support.  And Karl Berry says
                   12372:     # the Alpha needs dnet_stub (dnet does not exist).
                   12373:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   12374:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12375: /* end confdefs.h.  */
1.4       takayama 12376:
1.10      ohara    12377: /* Override any GCC internal prototype to avoid an error.
                   12378:    Use char because int might match the return type of a GCC
                   12379:    builtin and then its argument prototype would still apply.  */
                   12380: #ifdef __cplusplus
                   12381: extern "C"
                   12382: #endif
                   12383: char XOpenDisplay ();
                   12384: int
                   12385: main ()
                   12386: {
                   12387: return XOpenDisplay ();
                   12388:   ;
                   12389:   return 0;
                   12390: }
                   12391: _ACEOF
                   12392: if ac_fn_c_try_link "$LINENO"; then :
1.4       takayama 12393:
1.10      ohara    12394: else
                   12395:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
                   12396: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.13    ! ohara    12397: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
1.10      ohara    12398:   $as_echo_n "(cached) " >&6
                   12399: else
                   12400:   ac_check_lib_save_LIBS=$LIBS
                   12401: LIBS="-ldnet  $LIBS"
                   12402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12403: /* end confdefs.h.  */
1.1       ohara    12404:
1.10      ohara    12405: /* Override any GCC internal prototype to avoid an error.
                   12406:    Use char because int might match the return type of a GCC
                   12407:    builtin and then its argument prototype would still apply.  */
                   12408: #ifdef __cplusplus
                   12409: extern "C"
                   12410: #endif
                   12411: char dnet_ntoa ();
                   12412: int
                   12413: main ()
                   12414: {
                   12415: return dnet_ntoa ();
                   12416:   ;
                   12417:   return 0;
                   12418: }
                   12419: _ACEOF
                   12420: if ac_fn_c_try_link "$LINENO"; then :
                   12421:   ac_cv_lib_dnet_dnet_ntoa=yes
                   12422: else
                   12423:   ac_cv_lib_dnet_dnet_ntoa=no
                   12424: fi
                   12425: rm -f core conftest.err conftest.$ac_objext \
                   12426:     conftest$ac_exeext conftest.$ac_ext
                   12427: LIBS=$ac_check_lib_save_LIBS
                   12428: fi
                   12429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   12430: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.13    ! ohara    12431: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
1.10      ohara    12432:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
1.9       ohara    12433: fi
1.1       ohara    12434:
1.10      ohara    12435:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
                   12436:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
                   12437: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.13    ! ohara    12438: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
1.10      ohara    12439:   $as_echo_n "(cached) " >&6
1.1       ohara    12440: else
1.10      ohara    12441:   ac_check_lib_save_LIBS=$LIBS
                   12442: LIBS="-ldnet_stub  $LIBS"
                   12443: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12444: /* end confdefs.h.  */
                   12445:
                   12446: /* Override any GCC internal prototype to avoid an error.
                   12447:    Use char because int might match the return type of a GCC
                   12448:    builtin and then its argument prototype would still apply.  */
                   12449: #ifdef __cplusplus
                   12450: extern "C"
                   12451: #endif
                   12452: char dnet_ntoa ();
                   12453: int
                   12454: main ()
                   12455: {
                   12456: return dnet_ntoa ();
                   12457:   ;
                   12458:   return 0;
                   12459: }
                   12460: _ACEOF
                   12461: if ac_fn_c_try_link "$LINENO"; then :
                   12462:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
1.1       ohara    12463: else
1.10      ohara    12464:   ac_cv_lib_dnet_stub_dnet_ntoa=no
                   12465: fi
                   12466: rm -f core conftest.err conftest.$ac_objext \
                   12467:     conftest$ac_exeext conftest.$ac_ext
                   12468: LIBS=$ac_check_lib_save_LIBS
                   12469: fi
                   12470: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   12471: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.13    ! ohara    12472: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
1.10      ohara    12473:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
1.1       ohara    12474: fi
                   12475:
1.10      ohara    12476:     fi
                   12477: fi
                   12478: rm -f core conftest.err conftest.$ac_objext \
                   12479:     conftest$ac_exeext conftest.$ac_ext
                   12480:     LIBS="$ac_xsave_LIBS"
1.4       takayama 12481:
1.10      ohara    12482:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   12483:     # to get the SysV transport functions.
                   12484:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   12485:     # needs -lnsl.
                   12486:     # The nsl library prevents programs from opening the X display
                   12487:     # on Irix 5.2, according to T.E. Dickey.
                   12488:     # The functions gethostbyname, getservbyname, and inet_addr are
                   12489:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   12490:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.13    ! ohara    12491: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.4       takayama 12492:
1.10      ohara    12493: fi
1.4       takayama 12494:
1.10      ohara    12495:     if test $ac_cv_func_gethostbyname = no; then
                   12496:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   12497: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.13    ! ohara    12498: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.10      ohara    12499:   $as_echo_n "(cached) " >&6
                   12500: else
                   12501:   ac_check_lib_save_LIBS=$LIBS
                   12502: LIBS="-lnsl  $LIBS"
                   12503: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12504: /* end confdefs.h.  */
1.4       takayama 12505:
1.10      ohara    12506: /* Override any GCC internal prototype to avoid an error.
                   12507:    Use char because int might match the return type of a GCC
                   12508:    builtin and then its argument prototype would still apply.  */
                   12509: #ifdef __cplusplus
                   12510: extern "C"
                   12511: #endif
                   12512: char gethostbyname ();
                   12513: int
                   12514: main ()
                   12515: {
                   12516: return gethostbyname ();
                   12517:   ;
                   12518:   return 0;
                   12519: }
                   12520: _ACEOF
                   12521: if ac_fn_c_try_link "$LINENO"; then :
                   12522:   ac_cv_lib_nsl_gethostbyname=yes
                   12523: else
                   12524:   ac_cv_lib_nsl_gethostbyname=no
                   12525: fi
                   12526: rm -f core conftest.err conftest.$ac_objext \
                   12527:     conftest$ac_exeext conftest.$ac_ext
                   12528: LIBS=$ac_check_lib_save_LIBS
                   12529: fi
                   12530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   12531: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.13    ! ohara    12532: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.10      ohara    12533:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   12534: fi
1.4       takayama 12535:
1.10      ohara    12536:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   12537:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
                   12538: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.13    ! ohara    12539: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
1.10      ohara    12540:   $as_echo_n "(cached) " >&6
                   12541: else
                   12542:   ac_check_lib_save_LIBS=$LIBS
                   12543: LIBS="-lbsd  $LIBS"
                   12544: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12545: /* end confdefs.h.  */
1.4       takayama 12546:
1.10      ohara    12547: /* Override any GCC internal prototype to avoid an error.
                   12548:    Use char because int might match the return type of a GCC
                   12549:    builtin and then its argument prototype would still apply.  */
                   12550: #ifdef __cplusplus
                   12551: extern "C"
                   12552: #endif
                   12553: char gethostbyname ();
                   12554: int
                   12555: main ()
                   12556: {
                   12557: return gethostbyname ();
                   12558:   ;
                   12559:   return 0;
                   12560: }
1.9       ohara    12561: _ACEOF
1.10      ohara    12562: if ac_fn_c_try_link "$LINENO"; then :
                   12563:   ac_cv_lib_bsd_gethostbyname=yes
1.1       ohara    12564: else
1.10      ohara    12565:   ac_cv_lib_bsd_gethostbyname=no
                   12566: fi
                   12567: rm -f core conftest.err conftest.$ac_objext \
                   12568:     conftest$ac_exeext conftest.$ac_ext
                   12569: LIBS=$ac_check_lib_save_LIBS
                   12570: fi
                   12571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   12572: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.13    ! ohara    12573: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
1.10      ohara    12574:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
                   12575: fi
                   12576:
                   12577:       fi
                   12578:     fi
                   12579:
                   12580:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   12581:     # socket/setsockopt and other routines are undefined under SCO ODT
                   12582:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
                   12583:     # on later versions), says Simon Leinen: it contains gethostby*
                   12584:     # variants that don't use the name server (or something).  -lsocket
                   12585:     # must be given before -lnsl if both are needed.  We assume that
                   12586:     # if connect needs -lnsl, so does gethostbyname.
                   12587:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
1.13    ! ohara    12588: if test "x$ac_cv_func_connect" = xyes; then :
1.9       ohara    12589:
1.1       ohara    12590: fi
1.9       ohara    12591:
1.10      ohara    12592:     if test $ac_cv_func_connect = no; then
                   12593:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
                   12594: $as_echo_n "checking for connect in -lsocket... " >&6; }
1.13    ! ohara    12595: if ${ac_cv_lib_socket_connect+:} false; then :
1.10      ohara    12596:   $as_echo_n "(cached) " >&6
                   12597: else
                   12598:   ac_check_lib_save_LIBS=$LIBS
                   12599: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
                   12600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12601: /* end confdefs.h.  */
1.1       ohara    12602:
1.10      ohara    12603: /* Override any GCC internal prototype to avoid an error.
                   12604:    Use char because int might match the return type of a GCC
                   12605:    builtin and then its argument prototype would still apply.  */
                   12606: #ifdef __cplusplus
                   12607: extern "C"
                   12608: #endif
                   12609: char connect ();
1.4       takayama 12610: int
                   12611: main ()
                   12612: {
1.10      ohara    12613: return connect ();
1.4       takayama 12614:   ;
                   12615:   return 0;
                   12616: }
                   12617: _ACEOF
1.10      ohara    12618: if ac_fn_c_try_link "$LINENO"; then :
                   12619:   ac_cv_lib_socket_connect=yes
1.1       ohara    12620: else
1.10      ohara    12621:   ac_cv_lib_socket_connect=no
                   12622: fi
                   12623: rm -f core conftest.err conftest.$ac_objext \
                   12624:     conftest$ac_exeext conftest.$ac_ext
                   12625: LIBS=$ac_check_lib_save_LIBS
                   12626: fi
                   12627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
                   12628: $as_echo "$ac_cv_lib_socket_connect" >&6; }
1.13    ! ohara    12629: if test "x$ac_cv_lib_socket_connect" = xyes; then :
1.10      ohara    12630:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   12631: fi
1.9       ohara    12632:
1.1       ohara    12633:     fi
1.9       ohara    12634:
1.10      ohara    12635:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   12636:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
1.13    ! ohara    12637: if test "x$ac_cv_func_remove" = xyes; then :
1.9       ohara    12638:
1.1       ohara    12639: fi
                   12640:
1.10      ohara    12641:     if test $ac_cv_func_remove = no; then
                   12642:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
                   12643: $as_echo_n "checking for remove in -lposix... " >&6; }
1.13    ! ohara    12644: if ${ac_cv_lib_posix_remove+:} false; then :
1.10      ohara    12645:   $as_echo_n "(cached) " >&6
                   12646: else
                   12647:   ac_check_lib_save_LIBS=$LIBS
                   12648: LIBS="-lposix  $LIBS"
                   12649: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12650: /* end confdefs.h.  */
                   12651:
                   12652: /* Override any GCC internal prototype to avoid an error.
                   12653:    Use char because int might match the return type of a GCC
                   12654:    builtin and then its argument prototype would still apply.  */
                   12655: #ifdef __cplusplus
                   12656: extern "C"
                   12657: #endif
                   12658: char remove ();
                   12659: int
                   12660: main ()
                   12661: {
                   12662: return remove ();
                   12663:   ;
                   12664:   return 0;
                   12665: }
                   12666: _ACEOF
                   12667: if ac_fn_c_try_link "$LINENO"; then :
                   12668:   ac_cv_lib_posix_remove=yes
1.1       ohara    12669: else
1.10      ohara    12670:   ac_cv_lib_posix_remove=no
                   12671: fi
                   12672: rm -f core conftest.err conftest.$ac_objext \
                   12673:     conftest$ac_exeext conftest.$ac_ext
                   12674: LIBS=$ac_check_lib_save_LIBS
                   12675: fi
                   12676: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
                   12677: $as_echo "$ac_cv_lib_posix_remove" >&6; }
1.13    ! ohara    12678: if test "x$ac_cv_lib_posix_remove" = xyes; then :
1.10      ohara    12679:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1.1       ohara    12680: fi
                   12681:
1.10      ohara    12682:     fi
                   12683:
                   12684:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
                   12685:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
1.13    ! ohara    12686: if test "x$ac_cv_func_shmat" = xyes; then :
1.4       takayama 12687:
1.10      ohara    12688: fi
1.1       ohara    12689:
1.10      ohara    12690:     if test $ac_cv_func_shmat = no; then
                   12691:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
                   12692: $as_echo_n "checking for shmat in -lipc... " >&6; }
1.13    ! ohara    12693: if ${ac_cv_lib_ipc_shmat+:} false; then :
1.10      ohara    12694:   $as_echo_n "(cached) " >&6
1.1       ohara    12695: else
1.10      ohara    12696:   ac_check_lib_save_LIBS=$LIBS
                   12697: LIBS="-lipc  $LIBS"
                   12698: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12699: /* end confdefs.h.  */
1.1       ohara    12700:
1.10      ohara    12701: /* Override any GCC internal prototype to avoid an error.
                   12702:    Use char because int might match the return type of a GCC
                   12703:    builtin and then its argument prototype would still apply.  */
                   12704: #ifdef __cplusplus
                   12705: extern "C"
                   12706: #endif
                   12707: char shmat ();
1.4       takayama 12708: int
                   12709: main ()
                   12710: {
1.10      ohara    12711: return shmat ();
1.4       takayama 12712:   ;
                   12713:   return 0;
                   12714: }
                   12715: _ACEOF
1.10      ohara    12716: if ac_fn_c_try_link "$LINENO"; then :
                   12717:   ac_cv_lib_ipc_shmat=yes
1.1       ohara    12718: else
1.10      ohara    12719:   ac_cv_lib_ipc_shmat=no
                   12720: fi
                   12721: rm -f core conftest.err conftest.$ac_objext \
                   12722:     conftest$ac_exeext conftest.$ac_ext
                   12723: LIBS=$ac_check_lib_save_LIBS
                   12724: fi
                   12725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
                   12726: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.13    ! ohara    12727: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
1.10      ohara    12728:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   12729: fi
                   12730:
                   12731:     fi
                   12732:   fi
1.9       ohara    12733:
1.10      ohara    12734:   # Check for libraries that X11R6 Xt/Xaw programs need.
                   12735:   ac_save_LDFLAGS=$LDFLAGS
                   12736:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   12737:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   12738:   # check for ICE first), but we must link in the order -lSM -lICE or
                   12739:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   12740:   # These have to be linked with before -lX11, unlike the other
                   12741:   # libraries we check for below, so use a different variable.
                   12742:   # John Interrante, Karl Berry
                   12743:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
                   12744: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.13    ! ohara    12745: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
1.10      ohara    12746:   $as_echo_n "(cached) " >&6
                   12747: else
                   12748:   ac_check_lib_save_LIBS=$LIBS
                   12749: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
                   12750: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12751: /* end confdefs.h.  */
1.1       ohara    12752:
1.10      ohara    12753: /* Override any GCC internal prototype to avoid an error.
                   12754:    Use char because int might match the return type of a GCC
                   12755:    builtin and then its argument prototype would still apply.  */
                   12756: #ifdef __cplusplus
                   12757: extern "C"
                   12758: #endif
                   12759: char IceConnectionNumber ();
1.4       takayama 12760: int
                   12761: main ()
                   12762: {
1.10      ohara    12763: return IceConnectionNumber ();
1.4       takayama 12764:   ;
                   12765:   return 0;
                   12766: }
                   12767: _ACEOF
1.10      ohara    12768: if ac_fn_c_try_link "$LINENO"; then :
                   12769:   ac_cv_lib_ICE_IceConnectionNumber=yes
1.1       ohara    12770: else
1.10      ohara    12771:   ac_cv_lib_ICE_IceConnectionNumber=no
                   12772: fi
                   12773: rm -f core conftest.err conftest.$ac_objext \
                   12774:     conftest$ac_exeext conftest.$ac_ext
                   12775: LIBS=$ac_check_lib_save_LIBS
                   12776: fi
                   12777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   12778: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.13    ! ohara    12779: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
1.10      ohara    12780:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   12781: fi
                   12782:
                   12783:   LDFLAGS=$ac_save_LDFLAGS
1.9       ohara    12784:
                   12785: fi
                   12786:
1.10      ohara    12787:
                   12788: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   12789:     CFLAGS="${CFLAGS} -finline-functions"
1.1       ohara    12790: fi
1.9       ohara    12791:
1.10      ohara    12792: case "${host}" in
                   12793: i[3-6]86-*-interix*)
                   12794:     $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
                   12795:
                   12796:     ;;
                   12797: *)
                   12798:     ;;
                   12799: esac
1.1       ohara    12800:
1.10      ohara    12801: ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
1.13    ! ohara    12802: if test "x$ac_cv_func_socket" = xyes; then :
1.1       ohara    12803:
1.10      ohara    12804: else
                   12805:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   12806: $as_echo_n "checking for socket in -lsocket... " >&6; }
1.13    ! ohara    12807: if ${ac_cv_lib_socket_socket+:} false; then :
1.10      ohara    12808:   $as_echo_n "(cached) " >&6
                   12809: else
                   12810:   ac_check_lib_save_LIBS=$LIBS
                   12811: LIBS="-lsocket  $LIBS"
                   12812: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12813: /* end confdefs.h.  */
1.4       takayama 12814:
1.9       ohara    12815: /* Override any GCC internal prototype to avoid an error.
                   12816:    Use char because int might match the return type of a GCC
                   12817:    builtin and then its argument prototype would still apply.  */
1.4       takayama 12818: #ifdef __cplusplus
                   12819: extern "C"
                   12820: #endif
1.10      ohara    12821: char socket ();
1.4       takayama 12822: int
                   12823: main ()
                   12824: {
1.10      ohara    12825: return socket ();
1.4       takayama 12826:   ;
                   12827:   return 0;
                   12828: }
                   12829: _ACEOF
1.10      ohara    12830: if ac_fn_c_try_link "$LINENO"; then :
                   12831:   ac_cv_lib_socket_socket=yes
1.1       ohara    12832: else
1.10      ohara    12833:   ac_cv_lib_socket_socket=no
                   12834: fi
                   12835: rm -f core conftest.err conftest.$ac_objext \
                   12836:     conftest$ac_exeext conftest.$ac_ext
                   12837: LIBS=$ac_check_lib_save_LIBS
                   12838: fi
                   12839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   12840: $as_echo "$ac_cv_lib_socket_socket" >&6; }
1.13    ! ohara    12841: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.10      ohara    12842:   cat >>confdefs.h <<_ACEOF
                   12843: #define HAVE_LIBSOCKET 1
                   12844: _ACEOF
                   12845:
                   12846:   LIBS="-lsocket $LIBS"
                   12847:
                   12848: fi
                   12849:
                   12850: fi
                   12851:
                   12852: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.13    ! ohara    12853: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.9       ohara    12854:
1.10      ohara    12855: else
                   12856:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   12857: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.13    ! ohara    12858: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.10      ohara    12859:   $as_echo_n "(cached) " >&6
1.4       takayama 12860: else
                   12861:   ac_check_lib_save_LIBS=$LIBS
1.10      ohara    12862: LIBS="-lnsl  $LIBS"
                   12863: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12864: /* end confdefs.h.  */
1.4       takayama 12865:
1.9       ohara    12866: /* Override any GCC internal prototype to avoid an error.
                   12867:    Use char because int might match the return type of a GCC
                   12868:    builtin and then its argument prototype would still apply.  */
1.4       takayama 12869: #ifdef __cplusplus
                   12870: extern "C"
                   12871: #endif
1.10      ohara    12872: char gethostbyname ();
1.4       takayama 12873: int
                   12874: main ()
                   12875: {
1.10      ohara    12876: return gethostbyname ();
1.4       takayama 12877:   ;
                   12878:   return 0;
                   12879: }
                   12880: _ACEOF
1.10      ohara    12881: if ac_fn_c_try_link "$LINENO"; then :
                   12882:   ac_cv_lib_nsl_gethostbyname=yes
                   12883: else
                   12884:   ac_cv_lib_nsl_gethostbyname=no
                   12885: fi
                   12886: rm -f core conftest.err conftest.$ac_objext \
                   12887:     conftest$ac_exeext conftest.$ac_ext
                   12888: LIBS=$ac_check_lib_save_LIBS
                   12889: fi
                   12890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   12891: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.13    ! ohara    12892: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.10      ohara    12893:   cat >>confdefs.h <<_ACEOF
                   12894: #define HAVE_LIBNSL 1
                   12895: _ACEOF
                   12896:
                   12897:   LIBS="-lnsl $LIBS"
1.9       ohara    12898:
1.4       takayama 12899: fi
1.9       ohara    12900:
1.1       ohara    12901: fi
                   12902:
1.10      ohara    12903: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.13    ! ohara    12904: if test "x$ac_cv_func_dlopen" = xyes; then :
1.10      ohara    12905:
                   12906: else
                   12907:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12908: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.13    ! ohara    12909: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.10      ohara    12910:   $as_echo_n "(cached) " >&6
1.1       ohara    12911: else
1.4       takayama 12912:   ac_check_lib_save_LIBS=$LIBS
1.10      ohara    12913: LIBS="-ldl  $LIBS"
                   12914: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.9       ohara    12915: /* end confdefs.h.  */
1.4       takayama 12916:
1.9       ohara    12917: /* Override any GCC internal prototype to avoid an error.
                   12918:    Use char because int might match the return type of a GCC
                   12919:    builtin and then its argument prototype would still apply.  */
1.4       takayama 12920: #ifdef __cplusplus
                   12921: extern "C"
                   12922: #endif
1.10      ohara    12923: char dlopen ();
1.4       takayama 12924: int
                   12925: main ()
                   12926: {
1.10      ohara    12927: return dlopen ();
1.4       takayama 12928:   ;
                   12929:   return 0;
                   12930: }
                   12931: _ACEOF
1.10      ohara    12932: if ac_fn_c_try_link "$LINENO"; then :
                   12933:   ac_cv_lib_dl_dlopen=yes
1.4       takayama 12934: else
1.10      ohara    12935:   ac_cv_lib_dl_dlopen=no
                   12936: fi
                   12937: rm -f core conftest.err conftest.$ac_objext \
                   12938:     conftest$ac_exeext conftest.$ac_ext
                   12939: LIBS=$ac_check_lib_save_LIBS
                   12940: fi
                   12941: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12942: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.13    ! ohara    12943: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.10      ohara    12944:   cat >>confdefs.h <<_ACEOF
                   12945: #define HAVE_LIBDL 1
                   12946: _ACEOF
                   12947:
                   12948:   LIBS="-ldl $LIBS"
                   12949:
                   12950: fi
1.9       ohara    12951:
1.4       takayama 12952: fi
1.9       ohara    12953:
1.10      ohara    12954:
1.12      noro     12955: # The cast to long int works around a bug in the HP C Compiler
                   12956: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   12957: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   12958: # This bug is HP SR number 8606223364.
                   12959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
                   12960: $as_echo_n "checking size of long... " >&6; }
1.13    ! ohara    12961: if ${ac_cv_sizeof_long+:} false; then :
1.12      noro     12962:   $as_echo_n "(cached) " >&6
                   12963: else
                   12964:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
                   12965:
                   12966: else
                   12967:   if test "$ac_cv_type_long" = yes; then
                   12968:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12969: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12970: as_fn_error 77 "cannot compute sizeof (long)
1.13    ! ohara    12971: See \`config.log' for more details" "$LINENO" 5; }
1.12      noro     12972:    else
                   12973:      ac_cv_sizeof_long=0
                   12974:    fi
                   12975: fi
                   12976:
                   12977: fi
                   12978: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
                   12979: $as_echo "$ac_cv_sizeof_long" >&6; }
                   12980:
                   12981:
                   12982:
                   12983: cat >>confdefs.h <<_ACEOF
                   12984: #define SIZEOF_LONG $ac_cv_sizeof_long
                   12985: _ACEOF
                   12986:
                   12987:
1.10      ohara    12988: ac_config_files="$ac_config_files Makefile"
                   12989:
                   12990: cat >confcache <<\_ACEOF
                   12991: # This file is a shell script that caches the results of configure
                   12992: # tests run on this system so they can be shared between configure
                   12993: # scripts and configure runs, see configure's option --config-cache.
                   12994: # It is not useful on other systems.  If it contains results you don't
                   12995: # want to keep, you may remove or edit it.
                   12996: #
                   12997: # config.status only pays attention to the cache file if you give it
                   12998: # the --recheck option to rerun configure.
                   12999: #
                   13000: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   13001: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   13002: # following values.
                   13003:
                   13004: _ACEOF
                   13005:
                   13006: # The following way of writing the cache mishandles newlines in values,
                   13007: # but we know of no workaround that is simple, portable, and efficient.
                   13008: # So, we kill variables containing newlines.
                   13009: # Ultrix sh set writes to stderr and can't be redirected directly,
                   13010: # and sets the high bit in the cache file unless we assign to the vars.
                   13011: (
                   13012:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   13013:     eval ac_val=\$$ac_var
                   13014:     case $ac_val in #(
                   13015:     *${as_nl}*)
                   13016:       case $ac_var in #(
                   13017:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   13018: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   13019:       esac
                   13020:       case $ac_var in #(
                   13021:       _ | IFS | as_nl) ;; #(
                   13022:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   13023:       *) { eval $ac_var=; unset $ac_var;} ;;
                   13024:       esac ;;
                   13025:     esac
                   13026:   done
                   13027:
                   13028:   (set) 2>&1 |
                   13029:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   13030:     *${as_nl}ac_space=\ *)
                   13031:       # `set' does not quote correctly, so add quotes: double-quote
                   13032:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   13033:       sed -n \
                   13034:        "s/'/'\\\\''/g;
                   13035:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   13036:       ;; #(
                   13037:     *)
                   13038:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   13039:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   13040:       ;;
                   13041:     esac |
                   13042:     sort
                   13043: ) |
                   13044:   sed '
                   13045:      /^ac_cv_env_/b end
                   13046:      t clear
                   13047:      :clear
                   13048:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   13049:      t end
                   13050:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   13051:      :end' >>confcache
                   13052: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   13053:   if test -w "$cache_file"; then
1.13    ! ohara    13054:     if test "x$cache_file" != "x/dev/null"; then
1.10      ohara    13055:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   13056: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.13    ! ohara    13057:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          13058:        cat confcache >"$cache_file"
        !          13059:       else
        !          13060:         case $cache_file in #(
        !          13061:         */* | ?:*)
        !          13062:          mv -f confcache "$cache_file"$$ &&
        !          13063:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          13064:         *)
        !          13065:          mv -f confcache "$cache_file" ;;
        !          13066:        esac
        !          13067:       fi
        !          13068:     fi
1.10      ohara    13069:   else
                   13070:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   13071: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   13072:   fi
1.4       takayama 13073: fi
1.10      ohara    13074: rm -f confcache
                   13075:
                   13076: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   13077: # Let make expand exec_prefix.
                   13078: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   13079:
                   13080: # Transform confdefs.h into DEFS.
                   13081: # Protect against shell expansion while executing Makefile rules.
                   13082: # Protect against Makefile macro expansion.
                   13083: #
                   13084: # If the first sed substitution is executed (which looks for macros that
                   13085: # take arguments), then branch to the quote section.  Otherwise,
                   13086: # look for a macro that doesn't take arguments.
                   13087: ac_script='
                   13088: :mline
                   13089: /\\$/{
                   13090:  N
                   13091:  s,\\\n,,
                   13092:  b mline
                   13093: }
                   13094: t clear
                   13095: :clear
                   13096: s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
                   13097: t quote
                   13098: s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
                   13099: t quote
                   13100: b any
                   13101: :quote
                   13102: s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
                   13103: s/\[/\\&/g
                   13104: s/\]/\\&/g
                   13105: s/\$/$$/g
                   13106: H
                   13107: :any
                   13108: ${
                   13109:        g
                   13110:        s/^\n//
                   13111:        s/\n/ /g
                   13112:        p
                   13113: }
                   13114: '
                   13115: DEFS=`sed -n "$ac_script" confdefs.h`
                   13116:
                   13117:
                   13118: ac_libobjs=
                   13119: ac_ltlibobjs=
                   13120: U=
                   13121: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   13122:   # 1. Remove the extension, and $U if already installed.
                   13123:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   13124:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   13125:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   13126:   #    will be set to the directory where LIBOBJS objects are built.
                   13127:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   13128:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   13129: done
                   13130: LIBOBJS=$ac_libobjs
                   13131:
                   13132: LTLIBOBJS=$ac_ltlibobjs
                   13133:
                   13134:
1.13    ! ohara    13135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          13136: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          13137:    if test -n "$am_sleep_pid"; then
        !          13138:      # Hide warnings about reused PIDs.
        !          13139:      wait $am_sleep_pid 2>/dev/null
        !          13140:    fi
        !          13141:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          13142: $as_echo "done" >&6; }
1.10      ohara    13143:  if test -n "$EXEEXT"; then
                   13144:   am__EXEEXT_TRUE=
                   13145:   am__EXEEXT_FALSE='#'
                   13146: else
                   13147:   am__EXEEXT_TRUE='#'
                   13148:   am__EXEEXT_FALSE=
1.1       ohara    13149: fi
                   13150:
1.10      ohara    13151: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   13152:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
                   13153: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   13154: fi
                   13155: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   13156:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   13157: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   13158: fi
                   13159: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   13160:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   13161: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.4       takayama 13162: fi
1.9       ohara    13163:
1.13    ! ohara    13164: : "${CONFIG_STATUS=./config.status}"
1.10      ohara    13165: ac_write_fail=0
                   13166: ac_clean_files_save=$ac_clean_files
                   13167: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   13168: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   13169: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   13170: as_write_fail=0
                   13171: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   13172: #! $SHELL
                   13173: # Generated by $as_me.
                   13174: # Run this file to recreate the current configuration.
                   13175: # Compiler output produced by configure, useful for debugging
                   13176: # configure, is in config.log if it exists.
                   13177:
                   13178: debug=false
                   13179: ac_cs_recheck=false
                   13180: ac_cs_silent=false
                   13181:
                   13182: SHELL=\${CONFIG_SHELL-$SHELL}
                   13183: export SHELL
                   13184: _ASEOF
                   13185: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   13186: ## -------------------- ##
                   13187: ## M4sh Initialization. ##
                   13188: ## -------------------- ##
1.1       ohara    13189:
1.10      ohara    13190: # Be more Bourne compatible
                   13191: DUALCASE=1; export DUALCASE # for MKS sh
                   13192: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   13193:   emulate sh
                   13194:   NULLCMD=:
                   13195:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   13196:   # is contrary to our usage.  Disable this feature.
                   13197:   alias -g '${1+"$@"}'='"$@"'
                   13198:   setopt NO_GLOB_SUBST
1.1       ohara    13199: else
1.10      ohara    13200:   case `(set -o) 2>/dev/null` in #(
                   13201:   *posix*) :
                   13202:     set -o posix ;; #(
                   13203:   *) :
                   13204:      ;;
                   13205: esac
                   13206: fi
                   13207:
                   13208:
                   13209: as_nl='
                   13210: '
                   13211: export as_nl
                   13212: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   13213: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   13214: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   13215: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   13216: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   13217: # but without wasting forks for bash or zsh.
                   13218: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   13219:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   13220:   as_echo='print -r --'
                   13221:   as_echo_n='print -rn --'
                   13222: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   13223:   as_echo='printf %s\n'
                   13224:   as_echo_n='printf %s'
                   13225: else
                   13226:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   13227:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   13228:     as_echo_n='/usr/ucb/echo -n'
                   13229:   else
                   13230:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   13231:     as_echo_n_body='eval
                   13232:       arg=$1;
                   13233:       case $arg in #(
                   13234:       *"$as_nl"*)
                   13235:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   13236:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   13237:       esac;
                   13238:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   13239:     '
                   13240:     export as_echo_n_body
                   13241:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   13242:   fi
                   13243:   export as_echo_body
                   13244:   as_echo='sh -c $as_echo_body as_echo'
                   13245: fi
                   13246:
                   13247: # The user is always right.
                   13248: if test "${PATH_SEPARATOR+set}" != set; then
                   13249:   PATH_SEPARATOR=:
                   13250:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   13251:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   13252:       PATH_SEPARATOR=';'
                   13253:   }
                   13254: fi
                   13255:
                   13256:
                   13257: # IFS
                   13258: # We need space, tab and new line, in precisely that order.  Quoting is
                   13259: # there to prevent editors from complaining about space-tab.
                   13260: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   13261: # splitting by setting IFS to empty value.)
                   13262: IFS=" ""       $as_nl"
                   13263:
                   13264: # Find who we are.  Look in the path if we contain no directory separator.
1.13    ! ohara    13265: as_myself=
1.10      ohara    13266: case $0 in #((
                   13267:   *[\\/]* ) as_myself=$0 ;;
                   13268:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   13269: for as_dir in $PATH
                   13270: do
                   13271:   IFS=$as_save_IFS
                   13272:   test -z "$as_dir" && as_dir=.
                   13273:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   13274:   done
                   13275: IFS=$as_save_IFS
                   13276:
                   13277:      ;;
                   13278: esac
                   13279: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   13280: # in which case we are not to be found in the path.
                   13281: if test "x$as_myself" = x; then
                   13282:   as_myself=$0
                   13283: fi
                   13284: if test ! -f "$as_myself"; then
                   13285:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   13286:   exit 1
                   13287: fi
                   13288:
                   13289: # Unset variables that we do not need and which cause bugs (e.g. in
                   13290: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   13291: # suppresses any "Segmentation fault" message there.  '((' could
                   13292: # trigger a bug in pdksh 5.2.14.
                   13293: for as_var in BASH_ENV ENV MAIL MAILPATH
                   13294: do eval test x\${$as_var+set} = xset \
                   13295:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   13296: done
                   13297: PS1='$ '
                   13298: PS2='> '
                   13299: PS4='+ '
                   13300:
                   13301: # NLS nuisances.
                   13302: LC_ALL=C
                   13303: export LC_ALL
                   13304: LANGUAGE=C
                   13305: export LANGUAGE
1.9       ohara    13306:
1.10      ohara    13307: # CDPATH.
                   13308: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.9       ohara    13309:
                   13310:
1.10      ohara    13311: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   13312: # ----------------------------------------
                   13313: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   13314: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   13315: # script with STATUS, using 1 if that was 0.
                   13316: as_fn_error ()
                   13317: {
                   13318:   as_status=$1; test $as_status -eq 0 && as_status=1
                   13319:   if test "$4"; then
                   13320:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   13321:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   13322:   fi
                   13323:   $as_echo "$as_me: error: $2" >&2
                   13324:   as_fn_exit $as_status
                   13325: } # as_fn_error
                   13326:
                   13327:
                   13328: # as_fn_set_status STATUS
                   13329: # -----------------------
                   13330: # Set $? to STATUS, without forking.
                   13331: as_fn_set_status ()
                   13332: {
                   13333:   return $1
                   13334: } # as_fn_set_status
                   13335:
                   13336: # as_fn_exit STATUS
                   13337: # -----------------
                   13338: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   13339: as_fn_exit ()
                   13340: {
                   13341:   set +e
                   13342:   as_fn_set_status $1
                   13343:   exit $1
                   13344: } # as_fn_exit
                   13345:
                   13346: # as_fn_unset VAR
                   13347: # ---------------
                   13348: # Portably unset VAR.
                   13349: as_fn_unset ()
                   13350: {
                   13351:   { eval $1=; unset $1;}
                   13352: }
                   13353: as_unset=as_fn_unset
                   13354: # as_fn_append VAR VALUE
                   13355: # ----------------------
                   13356: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   13357: # advantage of any shell optimizations that allow amortized linear growth over
                   13358: # repeated appends, instead of the typical quadratic growth present in naive
                   13359: # implementations.
                   13360: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   13361:   eval 'as_fn_append ()
                   13362:   {
                   13363:     eval $1+=\$2
                   13364:   }'
                   13365: else
                   13366:   as_fn_append ()
                   13367:   {
                   13368:     eval $1=\$$1\$2
                   13369:   }
                   13370: fi # as_fn_append
                   13371:
                   13372: # as_fn_arith ARG...
                   13373: # ------------------
                   13374: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   13375: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   13376: # must be portable across $(()) and expr.
                   13377: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   13378:   eval 'as_fn_arith ()
                   13379:   {
                   13380:     as_val=$(( $* ))
                   13381:   }'
                   13382: else
                   13383:   as_fn_arith ()
                   13384:   {
                   13385:     as_val=`expr "$@" || test $? -eq 1`
                   13386:   }
                   13387: fi # as_fn_arith
1.9       ohara    13388:
1.1       ohara    13389:
1.10      ohara    13390: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   13391:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   13392:   as_expr=expr
1.4       takayama 13393: else
1.10      ohara    13394:   as_expr=false
                   13395: fi
1.9       ohara    13396:
1.10      ohara    13397: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   13398:   as_basename=basename
                   13399: else
                   13400:   as_basename=false
1.1       ohara    13401: fi
1.9       ohara    13402:
1.10      ohara    13403: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   13404:   as_dirname=dirname
                   13405: else
                   13406:   as_dirname=false
1.1       ohara    13407: fi
                   13408:
1.10      ohara    13409: as_me=`$as_basename -- "$0" ||
                   13410: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   13411:         X"$0" : 'X\(//\)$' \| \
                   13412:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   13413: $as_echo X/"$0" |
                   13414:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   13415:            s//\1/
                   13416:            q
                   13417:          }
                   13418:          /^X\/\(\/\/\)$/{
                   13419:            s//\1/
                   13420:            q
                   13421:          }
                   13422:          /^X\/\(\/\).*/{
                   13423:            s//\1/
                   13424:            q
                   13425:          }
                   13426:          s/.*/./; q'`
                   13427:
                   13428: # Avoid depending upon Character Ranges.
                   13429: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   13430: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   13431: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   13432: as_cr_digits='0123456789'
                   13433: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.4       takayama 13434:
1.10      ohara    13435: ECHO_C= ECHO_N= ECHO_T=
                   13436: case `echo -n x` in #(((((
                   13437: -n*)
                   13438:   case `echo 'xy\c'` in
                   13439:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   13440:   xy)  ECHO_C='\c';;
                   13441:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   13442:        ECHO_T='        ';;
                   13443:   esac;;
                   13444: *)
                   13445:   ECHO_N='-n';;
1.9       ohara    13446: esac
1.10      ohara    13447:
                   13448: rm -f conf$$ conf$$.exe conf$$.file
                   13449: if test -d conf$$.dir; then
                   13450:   rm -f conf$$.dir/conf$$.file
1.4       takayama 13451: else
1.10      ohara    13452:   rm -f conf$$.dir
                   13453:   mkdir conf$$.dir 2>/dev/null
1.4       takayama 13454: fi
1.10      ohara    13455: if (echo >conf$$.file) 2>/dev/null; then
                   13456:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   13457:     as_ln_s='ln -s'
                   13458:     # ... but there are two gotchas:
                   13459:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   13460:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.13    ! ohara    13461:     # In both cases, we have to default to `cp -pR'.
1.10      ohara    13462:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.13    ! ohara    13463:       as_ln_s='cp -pR'
1.10      ohara    13464:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   13465:     as_ln_s=ln
                   13466:   else
1.13    ! ohara    13467:     as_ln_s='cp -pR'
1.10      ohara    13468:   fi
                   13469: else
1.13    ! ohara    13470:   as_ln_s='cp -pR'
1.4       takayama 13471: fi
1.10      ohara    13472: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   13473: rmdir conf$$.dir 2>/dev/null
1.1       ohara    13474:
                   13475:
1.10      ohara    13476: # as_fn_mkdir_p
                   13477: # -------------
                   13478: # Create "$as_dir" as a directory, including parents if necessary.
                   13479: as_fn_mkdir_p ()
1.4       takayama 13480: {
1.10      ohara    13481:
                   13482:   case $as_dir in #(
                   13483:   -*) as_dir=./$as_dir;;
                   13484:   esac
                   13485:   test -d "$as_dir" || eval $as_mkdir_p || {
                   13486:     as_dirs=
                   13487:     while :; do
                   13488:       case $as_dir in #(
                   13489:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   13490:       *) as_qdir=$as_dir;;
                   13491:       esac
                   13492:       as_dirs="'$as_qdir' $as_dirs"
                   13493:       as_dir=`$as_dirname -- "$as_dir" ||
                   13494: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   13495:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   13496:         X"$as_dir" : 'X\(//\)$' \| \
                   13497:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   13498: $as_echo X"$as_dir" |
                   13499:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   13500:            s//\1/
                   13501:            q
                   13502:          }
                   13503:          /^X\(\/\/\)[^/].*/{
                   13504:            s//\1/
                   13505:            q
                   13506:          }
                   13507:          /^X\(\/\/\)$/{
                   13508:            s//\1/
                   13509:            q
                   13510:          }
                   13511:          /^X\(\/\).*/{
                   13512:            s//\1/
                   13513:            q
                   13514:          }
                   13515:          s/.*/./; q'`
                   13516:       test -d "$as_dir" && break
                   13517:     done
                   13518:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   13519:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   13520:
                   13521:
                   13522: } # as_fn_mkdir_p
                   13523: if mkdir -p . 2>/dev/null; then
                   13524:   as_mkdir_p='mkdir -p "$as_dir"'
1.4       takayama 13525: else
1.10      ohara    13526:   test -d ./-p && rmdir ./-p
                   13527:   as_mkdir_p=false
                   13528: fi
1.9       ohara    13529:
1.13    ! ohara    13530:
        !          13531: # as_fn_executable_p FILE
        !          13532: # -----------------------
        !          13533: # Test if FILE is an executable regular file.
        !          13534: as_fn_executable_p ()
        !          13535: {
        !          13536:   test -f "$1" && test -x "$1"
        !          13537: } # as_fn_executable_p
        !          13538: as_test_x='test -x'
        !          13539: as_executable_p=as_fn_executable_p
1.10      ohara    13540:
                   13541: # Sed expression to map a string onto a valid CPP name.
                   13542: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   13543:
                   13544: # Sed expression to map a string onto a valid variable name.
                   13545: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   13546:
                   13547:
                   13548: exec 6>&1
                   13549: ## ----------------------------------- ##
                   13550: ## Main body of $CONFIG_STATUS script. ##
                   13551: ## ----------------------------------- ##
                   13552: _ASEOF
                   13553: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.9       ohara    13554:
1.10      ohara    13555: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13556: # Save the log message, to keep $0 and so on meaningful, and to
                   13557: # report actual input values of CONFIG_FILES etc. instead of their
                   13558: # values after options handling.
                   13559: ac_log="
1.13    ! ohara    13560: This file was extended by ox_toolkit $as_me 20150825, which was
        !          13561: generated by GNU Autoconf 2.69.  Invocation command line was
1.10      ohara    13562:
                   13563:   CONFIG_FILES    = $CONFIG_FILES
                   13564:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   13565:   CONFIG_LINKS    = $CONFIG_LINKS
                   13566:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   13567:   $ $0 $@
1.1       ohara    13568:
1.10      ohara    13569: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   13570: "
1.1       ohara    13571:
1.9       ohara    13572: _ACEOF
                   13573:
1.10      ohara    13574: case $ac_config_files in *"
                   13575: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   13576: esac
1.9       ohara    13577:
                   13578:
                   13579:
1.10      ohara    13580: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13581: # Files that config.status was made for.
                   13582: config_files="$ac_config_files"
                   13583: config_commands="$ac_config_commands"
1.1       ohara    13584:
1.4       takayama 13585: _ACEOF
1.9       ohara    13586:
1.10      ohara    13587: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13588: ac_cs_usage="\
                   13589: \`$as_me' instantiates files and other configuration actions
                   13590: from templates according to the current configuration.  Unless the files
                   13591: and actions are specified as TAGs, all are instantiated by default.
                   13592:
                   13593: Usage: $0 [OPTION]... [TAG]...
1.9       ohara    13594:
1.10      ohara    13595:   -h, --help       print this help, then exit
                   13596:   -V, --version    print version number and configuration settings, then exit
                   13597:       --config     print configuration, then exit
                   13598:   -q, --quiet, --silent
                   13599:                    do not print progress messages
                   13600:   -d, --debug      don't remove temporary files
                   13601:       --recheck    update $as_me by reconfiguring in the same conditions
                   13602:       --file=FILE[:TEMPLATE]
                   13603:                    instantiate the configuration file FILE
1.1       ohara    13604:
1.10      ohara    13605: Configuration files:
                   13606: $config_files
1.4       takayama 13607:
1.10      ohara    13608: Configuration commands:
                   13609: $config_commands
1.9       ohara    13610:
1.10      ohara    13611: Report bugs to the package provider."
1.9       ohara    13612:
1.10      ohara    13613: _ACEOF
                   13614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13615: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   13616: ac_cs_version="\\
1.13    ! ohara    13617: ox_toolkit config.status 20150825
        !          13618: configured by $0, generated by GNU Autoconf 2.69,
1.10      ohara    13619:   with options \\"\$ac_cs_config\\"
1.1       ohara    13620:
1.13    ! ohara    13621: Copyright (C) 2012 Free Software Foundation, Inc.
1.10      ohara    13622: This config.status script is free software; the Free Software Foundation
                   13623: gives unlimited permission to copy, distribute and modify it."
1.1       ohara    13624:
1.10      ohara    13625: ac_pwd='$ac_pwd'
                   13626: srcdir='$srcdir'
                   13627: INSTALL='$INSTALL'
                   13628: MKDIR_P='$MKDIR_P'
                   13629: AWK='$AWK'
                   13630: test -n "\$AWK" || AWK=awk
1.9       ohara    13631: _ACEOF
                   13632:
1.10      ohara    13633: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13634: # The default lists apply if the user does not specify any file.
                   13635: ac_need_defaults=:
                   13636: while test $# != 0
                   13637: do
                   13638:   case $1 in
                   13639:   --*=?*)
                   13640:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   13641:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   13642:     ac_shift=:
                   13643:     ;;
                   13644:   --*=)
                   13645:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   13646:     ac_optarg=
                   13647:     ac_shift=:
                   13648:     ;;
                   13649:   *)
                   13650:     ac_option=$1
                   13651:     ac_optarg=$2
                   13652:     ac_shift=shift
                   13653:     ;;
                   13654:   esac
                   13655:
                   13656:   case $ac_option in
                   13657:   # Handling of the options.
                   13658:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   13659:     ac_cs_recheck=: ;;
                   13660:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   13661:     $as_echo "$ac_cs_version"; exit ;;
                   13662:   --config | --confi | --conf | --con | --co | --c )
                   13663:     $as_echo "$ac_cs_config"; exit ;;
                   13664:   --debug | --debu | --deb | --de | --d | -d )
                   13665:     debug=: ;;
                   13666:   --file | --fil | --fi | --f )
                   13667:     $ac_shift
                   13668:     case $ac_optarg in
                   13669:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   13670:     '') as_fn_error $? "missing file argument" ;;
                   13671:     esac
                   13672:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   13673:     ac_need_defaults=false;;
                   13674:   --he | --h |  --help | --hel | -h )
                   13675:     $as_echo "$ac_cs_usage"; exit ;;
                   13676:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   13677:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   13678:     ac_cs_silent=: ;;
1.9       ohara    13679:
1.10      ohara    13680:   # This is an error.
                   13681:   -*) as_fn_error $? "unrecognized option: \`$1'
                   13682: Try \`$0 --help' for more information." ;;
1.9       ohara    13683:
1.10      ohara    13684:   *) as_fn_append ac_config_targets " $1"
                   13685:      ac_need_defaults=false ;;
1.9       ohara    13686:
1.10      ohara    13687:   esac
                   13688:   shift
                   13689: done
1.1       ohara    13690:
1.10      ohara    13691: ac_configure_extra_args=
1.9       ohara    13692:
1.10      ohara    13693: if $ac_cs_silent; then
                   13694:   exec 6>/dev/null
                   13695:   ac_configure_extra_args="$ac_configure_extra_args --silent"
1.1       ohara    13696: fi
1.9       ohara    13697:
1.10      ohara    13698: _ACEOF
                   13699: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13700: if \$ac_cs_recheck; then
1.13    ! ohara    13701:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.10      ohara    13702:   shift
                   13703:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   13704:   CONFIG_SHELL='$SHELL'
                   13705:   export CONFIG_SHELL
                   13706:   exec "\$@"
1.1       ohara    13707: fi
                   13708:
1.9       ohara    13709: _ACEOF
1.10      ohara    13710: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13711: exec 5>>config.log
                   13712: {
                   13713:   echo
                   13714:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   13715: ## Running $as_me. ##
                   13716: _ASBOX
                   13717:   $as_echo "$ac_log"
                   13718: } >&5
1.4       takayama 13719:
                   13720: _ACEOF
1.10      ohara    13721: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13722: #
                   13723: # INIT-COMMANDS
                   13724: #
                   13725: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   13726:
                   13727:
                   13728: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   13729: # if CDPATH is set.
                   13730: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   13731:
                   13732: sed_quote_subst='$sed_quote_subst'
                   13733: double_quote_subst='$double_quote_subst'
                   13734: delay_variable_subst='$delay_variable_subst'
                   13735: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   13736: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   13737: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   13738: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   13739: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   13740: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1.13    ! ohara    13741: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1.10      ohara    13742: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   13743: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   13744: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   13745: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   13746: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   13747: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   13748: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   13749: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   13750: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   13751: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   13752: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   13753: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   13754: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   13755: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   13756: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   13757: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   13758: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   13759: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   13760: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   13761: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   13762: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   13763: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   13764: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   13765: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13766: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13767: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   13768: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   13769: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   13770: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   13771: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   13772: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   13773: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   13774: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   13775: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   13776: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   13777: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   13778: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   13779: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   13780: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   13781: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13782: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13783: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13784: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   13785: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   13786: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   13787: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   13788: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   13789: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   13790: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1.13    ! ohara    13791: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1.10      ohara    13792: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   13793: 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"`'
1.13    ! ohara    13794: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1.10      ohara    13795: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13796: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.13    ! ohara    13797: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1.10      ohara    13798: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   13799: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   13800: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   13801: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   13802: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   13803: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   13804: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   13805: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   13806: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   13807: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   13808: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   13809: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   13810: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   13811: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   13812: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   13813: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   13814: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13815: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   13816: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   13817: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13818: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13819: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   13820: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   13821: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13822: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13823: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13824: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   13825: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13826: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   13827: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13828: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13829: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13830: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   13831: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   13832: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   13833: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   13834: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13835: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   13836: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   13837: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   13838: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   13839: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   13840: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   13841: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   13842: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   13843: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   13844: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13845: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   13846: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   13847: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   13848: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   13849: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   13850: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13851: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   13852: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   13853: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   13854: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   13855: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   13856: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13857: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13858: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   13859: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   13860: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   13861: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
1.13    ! ohara    13862: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
        !          13863: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
1.10      ohara    13864: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   13865: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   13866: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   13867: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   13868: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   13869: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   13870:
                   13871: LTCC='$LTCC'
                   13872: LTCFLAGS='$LTCFLAGS'
                   13873: compiler='$compiler_DEFAULT'
                   13874:
                   13875: # A function that is used when there is no print builtin or printf.
                   13876: func_fallback_echo ()
                   13877: {
                   13878:   eval 'cat <<_LTECHO_EOF
                   13879: \$1
                   13880: _LTECHO_EOF'
                   13881: }
                   13882:
                   13883: # Quote evaled strings.
                   13884: for var in SHELL \
                   13885: ECHO \
                   13886: PATH_SEPARATOR \
                   13887: SED \
                   13888: GREP \
                   13889: EGREP \
                   13890: FGREP \
                   13891: LD \
                   13892: NM \
                   13893: LN_S \
                   13894: lt_SP2NL \
                   13895: lt_NL2SP \
                   13896: reload_flag \
                   13897: OBJDUMP \
                   13898: deplibs_check_method \
                   13899: file_magic_cmd \
                   13900: file_magic_glob \
                   13901: want_nocaseglob \
                   13902: DLLTOOL \
                   13903: sharedlib_from_linklib_cmd \
                   13904: AR \
                   13905: AR_FLAGS \
                   13906: archiver_list_spec \
                   13907: STRIP \
                   13908: RANLIB \
                   13909: CC \
                   13910: CFLAGS \
                   13911: compiler \
                   13912: lt_cv_sys_global_symbol_pipe \
                   13913: lt_cv_sys_global_symbol_to_cdecl \
1.13    ! ohara    13914: lt_cv_sys_global_symbol_to_import \
1.10      ohara    13915: lt_cv_sys_global_symbol_to_c_name_address \
                   13916: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.13    ! ohara    13917: lt_cv_nm_interface \
1.10      ohara    13918: nm_file_list_spec \
1.13    ! ohara    13919: lt_cv_truncate_bin \
1.10      ohara    13920: lt_prog_compiler_no_builtin_flag \
                   13921: lt_prog_compiler_pic \
                   13922: lt_prog_compiler_wl \
                   13923: lt_prog_compiler_static \
                   13924: lt_cv_prog_compiler_c_o \
                   13925: need_locks \
                   13926: MANIFEST_TOOL \
                   13927: DSYMUTIL \
                   13928: NMEDIT \
                   13929: LIPO \
                   13930: OTOOL \
                   13931: OTOOL64 \
                   13932: shrext_cmds \
                   13933: export_dynamic_flag_spec \
                   13934: whole_archive_flag_spec \
                   13935: compiler_needs_object \
                   13936: with_gnu_ld \
                   13937: allow_undefined_flag \
                   13938: no_undefined_flag \
                   13939: hardcode_libdir_flag_spec \
                   13940: hardcode_libdir_separator \
                   13941: exclude_expsyms \
                   13942: include_expsyms \
                   13943: file_list_spec \
                   13944: variables_saved_for_relink \
                   13945: libname_spec \
                   13946: library_names_spec \
                   13947: soname_spec \
                   13948: install_override_mode \
                   13949: finish_eval \
                   13950: old_striplib \
                   13951: striplib; do
                   13952:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13953:     *[\\\\\\\`\\"\\\$]*)
1.13    ! ohara    13954:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.10      ohara    13955:       ;;
                   13956:     *)
                   13957:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13958:       ;;
                   13959:     esac
                   13960: done
                   13961:
                   13962: # Double-quote double-evaled strings.
                   13963: for var in reload_cmds \
                   13964: old_postinstall_cmds \
                   13965: old_postuninstall_cmds \
                   13966: old_archive_cmds \
                   13967: extract_expsyms_cmds \
                   13968: old_archive_from_new_cmds \
                   13969: old_archive_from_expsyms_cmds \
                   13970: archive_cmds \
                   13971: archive_expsym_cmds \
                   13972: module_cmds \
                   13973: module_expsym_cmds \
                   13974: export_symbols_cmds \
                   13975: prelink_cmds \
                   13976: postlink_cmds \
                   13977: postinstall_cmds \
                   13978: postuninstall_cmds \
                   13979: finish_cmds \
                   13980: sys_lib_search_path_spec \
1.13    ! ohara    13981: configure_time_dlsearch_path \
        !          13982: configure_time_lt_sys_library_path; do
1.10      ohara    13983:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13984:     *[\\\\\\\`\\"\\\$]*)
1.13    ! ohara    13985:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.10      ohara    13986:       ;;
                   13987:     *)
                   13988:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13989:       ;;
                   13990:     esac
                   13991: done
                   13992:
                   13993: ac_aux_dir='$ac_aux_dir'
1.9       ohara    13994:
1.13    ! ohara    13995: # See if we are running on zsh, and set the options that allow our
1.10      ohara    13996: # commands through without removal of \ escapes INIT.
1.13    ! ohara    13997: if test -n "\${ZSH_VERSION+set}"; then
1.10      ohara    13998:    setopt NO_GLOB_SUBST
1.4       takayama 13999: fi
1.9       ohara    14000:
1.1       ohara    14001:
1.10      ohara    14002:     PACKAGE='$PACKAGE'
                   14003:     VERSION='$VERSION'
                   14004:     RM='$RM'
                   14005:     ofile='$ofile'
                   14006:
                   14007:
                   14008:
1.1       ohara    14009:
1.9       ohara    14010: _ACEOF
                   14011:
1.10      ohara    14012: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14013:
                   14014: # Handling of arguments.
                   14015: for ac_config_target in $ac_config_targets
                   14016: do
                   14017:   case $ac_config_target in
                   14018:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   14019:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   14020:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.9       ohara    14021:
1.13    ! ohara    14022:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.10      ohara    14023:   esac
                   14024: done
1.9       ohara    14025:
                   14026:
1.10      ohara    14027: # If the user did not use the arguments to specify the items to instantiate,
                   14028: # then the envvar interface is used.  Set only those that are not.
                   14029: # We use the long form for the default assignment because of an extremely
                   14030: # bizarre bug on SunOS 4.1.3.
                   14031: if $ac_need_defaults; then
                   14032:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   14033:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   14034: fi
1.1       ohara    14035:
1.10      ohara    14036: # Have a temporary directory for convenience.  Make it in the build tree
                   14037: # simply because there is no reason against having it here, and in addition,
                   14038: # creating and moving files from /tmp can sometimes cause problems.
                   14039: # Hook for its removal unless debugging.
                   14040: # Note that there is a small window in which the directory will not be cleaned:
                   14041: # after its creation but before its name has been assigned to `$tmp'.
                   14042: $debug ||
1.9       ohara    14043: {
1.13    ! ohara    14044:   tmp= ac_tmp=
1.10      ohara    14045:   trap 'exit_status=$?
1.13    ! ohara    14046:   : "${ac_tmp:=$tmp}"
        !          14047:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.10      ohara    14048: ' 0
                   14049:   trap 'as_fn_exit 1' 1 2 13 15
1.4       takayama 14050: }
1.10      ohara    14051: # Create a (secure) tmp directory for tmp files.
                   14052:
                   14053: {
                   14054:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.13    ! ohara    14055:   test -d "$tmp"
1.10      ohara    14056: }  ||
                   14057: {
                   14058:   tmp=./conf$$-$RANDOM
                   14059:   (umask 077 && mkdir "$tmp")
                   14060: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.13    ! ohara    14061: ac_tmp=$tmp
1.10      ohara    14062:
                   14063: # Set up the scripts for CONFIG_FILES section.
                   14064: # No need to generate them if there are no CONFIG_FILES.
                   14065: # This happens for instance with `./config.status config.h'.
                   14066: if test -n "$CONFIG_FILES"; then
1.9       ohara    14067:
                   14068:
1.10      ohara    14069: ac_cr=`echo X | tr X '\015'`
                   14070: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   14071: # But we know of no other shell where ac_cr would be empty at this
                   14072: # point, so we can use a bashism as a fallback.
                   14073: if test "x$ac_cr" = x; then
                   14074:   eval ac_cr=\$\'\\r\'
1.1       ohara    14075: fi
1.10      ohara    14076: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   14077: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   14078:   ac_cs_awk_cr='\\r'
1.1       ohara    14079: else
1.10      ohara    14080:   ac_cs_awk_cr=$ac_cr
                   14081: fi
1.4       takayama 14082:
1.13    ! ohara    14083: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.4       takayama 14084: _ACEOF
1.9       ohara    14085:
                   14086:
1.10      ohara    14087: {
                   14088:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   14089:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   14090:   echo "_ACEOF"
                   14091: } >conf$$subs.sh ||
                   14092:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   14093: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   14094: ac_delim='%!_!# '
                   14095: for ac_last_try in false false false false false :; do
                   14096:   . ./conf$$subs.sh ||
                   14097:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       ohara    14098:
1.10      ohara    14099:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   14100:   if test $ac_delim_n = $ac_delim_num; then
                   14101:     break
                   14102:   elif $ac_last_try; then
                   14103:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   14104:   else
                   14105:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       ohara    14106:   fi
1.10      ohara    14107: done
                   14108: rm -f conf$$subs.sh
1.1       ohara    14109:
1.10      ohara    14110: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.13    ! ohara    14111: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.9       ohara    14112: _ACEOF
1.10      ohara    14113: sed -n '
                   14114: h
                   14115: s/^/S["/; s/!.*/"]=/
                   14116: p
                   14117: g
                   14118: s/^[^!]*!//
                   14119: :repl
                   14120: t repl
                   14121: s/'"$ac_delim"'$//
                   14122: t delim
                   14123: :nl
                   14124: h
                   14125: s/\(.\{148\}\)..*/\1/
                   14126: t more1
                   14127: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   14128: p
                   14129: n
                   14130: b repl
                   14131: :more1
                   14132: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   14133: p
                   14134: g
                   14135: s/.\{148\}//
                   14136: t nl
                   14137: :delim
                   14138: h
                   14139: s/\(.\{148\}\)..*/\1/
                   14140: t more2
                   14141: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   14142: p
                   14143: b
                   14144: :more2
                   14145: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   14146: p
                   14147: g
                   14148: s/.\{148\}//
                   14149: t delim
                   14150: ' <conf$$subs.awk | sed '
                   14151: /^[^""]/{
                   14152:   N
                   14153:   s/\n//
                   14154: }
                   14155: ' >>$CONFIG_STATUS || ac_write_fail=1
                   14156: rm -f conf$$subs.awk
                   14157: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   14158: _ACAWK
1.13    ! ohara    14159: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.10      ohara    14160:   for (key in S) S_is_set[key] = 1
                   14161:   FS = ""
                   14162:
                   14163: }
                   14164: {
                   14165:   line = $ 0
                   14166:   nfields = split(line, field, "@")
                   14167:   substed = 0
                   14168:   len = length(field[1])
                   14169:   for (i = 2; i < nfields; i++) {
                   14170:     key = field[i]
                   14171:     keylen = length(key)
                   14172:     if (S_is_set[key]) {
                   14173:       value = S[key]
                   14174:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   14175:       len += length(value) + length(field[++i])
                   14176:       substed = 1
                   14177:     } else
                   14178:       len += 1 + keylen
                   14179:   }
                   14180:
                   14181:   print line
                   14182: }
                   14183:
                   14184: _ACAWK
                   14185: _ACEOF
                   14186: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14187: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   14188:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   14189: else
                   14190:   cat
1.13    ! ohara    14191: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.10      ohara    14192:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.4       takayama 14193: _ACEOF
1.9       ohara    14194:
1.10      ohara    14195: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   14196: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   14197: # trailing colons and then remove the whole line if VPATH becomes empty
                   14198: # (actually we leave an empty line to preserve line numbers).
                   14199: if test "x$srcdir" = x.; then
                   14200:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   14201: h
                   14202: s///
                   14203: s/^/:/
                   14204: s/[     ]*$/:/
                   14205: s/:\$(srcdir):/:/g
                   14206: s/:\${srcdir}:/:/g
                   14207: s/:@srcdir@:/:/g
                   14208: s/^:*//
                   14209: s/:*$//
                   14210: x
                   14211: s/\(=[  ]*\).*/\1/
                   14212: G
                   14213: s/\n//
                   14214: s/^[^=]*=[      ]*$//
                   14215: }'
1.4       takayama 14216: fi
1.9       ohara    14217:
1.10      ohara    14218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14219: fi # test -n "$CONFIG_FILES"
1.1       ohara    14220:
                   14221:
1.10      ohara    14222: eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
                   14223: shift
                   14224: for ac_tag
                   14225: do
                   14226:   case $ac_tag in
                   14227:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   14228:   esac
                   14229:   case $ac_mode$ac_tag in
                   14230:   :[FHL]*:*);;
1.13    ! ohara    14231:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.10      ohara    14232:   :[FH]-) ac_tag=-:-;;
                   14233:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   14234:   esac
                   14235:   ac_save_IFS=$IFS
                   14236:   IFS=:
                   14237:   set x $ac_tag
                   14238:   IFS=$ac_save_IFS
                   14239:   shift
                   14240:   ac_file=$1
                   14241:   shift
1.1       ohara    14242:
1.10      ohara    14243:   case $ac_mode in
                   14244:   :L) ac_source=$1;;
                   14245:   :[FH])
                   14246:     ac_file_inputs=
                   14247:     for ac_f
                   14248:     do
                   14249:       case $ac_f in
1.13    ! ohara    14250:       -) ac_f="$ac_tmp/stdin";;
1.10      ohara    14251:       *) # Look for the file first in the build tree, then in the source tree
                   14252:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   14253:         # because $ac_f cannot contain `:'.
                   14254:         test -f "$ac_f" ||
                   14255:           case $ac_f in
                   14256:           [\\/$]*) false;;
                   14257:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   14258:           esac ||
1.13    ! ohara    14259:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.10      ohara    14260:       esac
                   14261:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   14262:       as_fn_append ac_file_inputs " '$ac_f'"
                   14263:     done
1.1       ohara    14264:
1.10      ohara    14265:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   14266:     # use $as_me), people would be surprised to read:
                   14267:     #    /* config.h.  Generated by config.status.  */
                   14268:     configure_input='Generated from '`
                   14269:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   14270:        `' by configure.'
                   14271:     if test x"$ac_file" != x-; then
                   14272:       configure_input="$ac_file.  $configure_input"
                   14273:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   14274: $as_echo "$as_me: creating $ac_file" >&6;}
                   14275:     fi
                   14276:     # Neutralize special characters interpreted by sed in replacement strings.
                   14277:     case $configure_input in #(
                   14278:     *\&* | *\|* | *\\* )
                   14279:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   14280:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   14281:     *) ac_sed_conf_input=$configure_input;;
                   14282:     esac
1.5       ohara    14283:
1.10      ohara    14284:     case $ac_tag in
1.13    ! ohara    14285:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          14286:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.10      ohara    14287:     esac
1.5       ohara    14288:     ;;
1.10      ohara    14289:   esac
1.5       ohara    14290:
1.10      ohara    14291:   ac_dir=`$as_dirname -- "$ac_file" ||
                   14292: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14293:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   14294:         X"$ac_file" : 'X\(//\)$' \| \
                   14295:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   14296: $as_echo X"$ac_file" |
                   14297:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14298:            s//\1/
                   14299:            q
                   14300:          }
                   14301:          /^X\(\/\/\)[^/].*/{
                   14302:            s//\1/
                   14303:            q
                   14304:          }
                   14305:          /^X\(\/\/\)$/{
                   14306:            s//\1/
                   14307:            q
                   14308:          }
                   14309:          /^X\(\/\).*/{
                   14310:            s//\1/
                   14311:            q
                   14312:          }
                   14313:          s/.*/./; q'`
                   14314:   as_dir="$ac_dir"; as_fn_mkdir_p
                   14315:   ac_builddir=.
1.9       ohara    14316:
1.10      ohara    14317: case "$ac_dir" in
                   14318: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   14319: *)
                   14320:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   14321:   # A ".." for each directory in $ac_dir_suffix.
                   14322:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   14323:   case $ac_top_builddir_sub in
                   14324:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   14325:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   14326:   esac ;;
                   14327: esac
                   14328: ac_abs_top_builddir=$ac_pwd
                   14329: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   14330: # for backward compatibility:
                   14331: ac_top_builddir=$ac_top_build_prefix
1.9       ohara    14332:
1.10      ohara    14333: case $srcdir in
                   14334:   .)  # We are building in place.
                   14335:     ac_srcdir=.
                   14336:     ac_top_srcdir=$ac_top_builddir_sub
                   14337:     ac_abs_top_srcdir=$ac_pwd ;;
                   14338:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   14339:     ac_srcdir=$srcdir$ac_dir_suffix;
                   14340:     ac_top_srcdir=$srcdir
                   14341:     ac_abs_top_srcdir=$srcdir ;;
                   14342:   *) # Relative name.
                   14343:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   14344:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   14345:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.9       ohara    14346: esac
1.10      ohara    14347: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.9       ohara    14348:
                   14349:
1.10      ohara    14350:   case $ac_mode in
                   14351:   :F)
                   14352:   #
                   14353:   # CONFIG_FILE
                   14354:   #
1.1       ohara    14355:
1.10      ohara    14356:   case $INSTALL in
                   14357:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   14358:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   14359:   esac
                   14360:   ac_MKDIR_P=$MKDIR_P
                   14361:   case $MKDIR_P in
                   14362:   [\\/$]* | ?:[\\/]* ) ;;
                   14363:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   14364:   esac
1.9       ohara    14365: _ACEOF
1.4       takayama 14366:
1.10      ohara    14367: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14368: # If the template does not know about datarootdir, expand it.
                   14369: # FIXME: This hack should be removed a few years after 2.60.
                   14370: ac_datarootdir_hack=; ac_datarootdir_seen=
                   14371: ac_sed_dataroot='
                   14372: /datarootdir/ {
                   14373:   p
                   14374:   q
1.4       takayama 14375: }
1.10      ohara    14376: /@datadir@/p
                   14377: /@docdir@/p
                   14378: /@infodir@/p
                   14379: /@localedir@/p
                   14380: /@mandir@/p'
                   14381: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   14382: *datarootdir*) ac_datarootdir_seen=yes;;
                   14383: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   14384:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   14385: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.4       takayama 14386: _ACEOF
1.10      ohara    14387: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   14388:   ac_datarootdir_hack='
                   14389:   s&@datadir@&$datadir&g
                   14390:   s&@docdir@&$docdir&g
                   14391:   s&@infodir@&$infodir&g
                   14392:   s&@localedir@&$localedir&g
                   14393:   s&@mandir@&$mandir&g
                   14394:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.9       ohara    14395: esac
1.4       takayama 14396: _ACEOF
1.1       ohara    14397:
1.10      ohara    14398: # Neutralize VPATH when `$srcdir' = `.'.
                   14399: # Shell code in configure.ac might set extrasub.
                   14400: # FIXME: do we really want to maintain this feature?
                   14401: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   14402: ac_sed_extra="$ac_vpsub
                   14403: $extrasub
1.9       ohara    14404: _ACEOF
1.10      ohara    14405: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14406: :t
                   14407: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   14408: s|@configure_input@|$ac_sed_conf_input|;t t
                   14409: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   14410: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   14411: s&@srcdir@&$ac_srcdir&;t t
                   14412: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   14413: s&@top_srcdir@&$ac_top_srcdir&;t t
                   14414: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   14415: s&@builddir@&$ac_builddir&;t t
                   14416: s&@abs_builddir@&$ac_abs_builddir&;t t
                   14417: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   14418: s&@INSTALL@&$ac_INSTALL&;t t
                   14419: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   14420: $ac_datarootdir_hack
                   14421: "
1.13    ! ohara    14422: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          14423:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.9       ohara    14424:
1.10      ohara    14425: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.13    ! ohara    14426:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          14427:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          14428:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.10      ohara    14429:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   14430: which seems to be undefined.  Please make sure it is defined" >&5
                   14431: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   14432: which seems to be undefined.  Please make sure it is defined" >&2;}
1.9       ohara    14433:
1.13    ! ohara    14434:   rm -f "$ac_tmp/stdin"
1.10      ohara    14435:   case $ac_file in
1.13    ! ohara    14436:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          14437:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.10      ohara    14438:   esac \
                   14439:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14440:  ;;
1.9       ohara    14441:
                   14442:
1.10      ohara    14443:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   14444: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   14445:  ;;
                   14446:   esac
1.9       ohara    14447:
                   14448:
1.10      ohara    14449:   case $ac_file$ac_mode in
                   14450:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.13    ! ohara    14451:   # Older Autoconf quotes --file arguments for eval, but not when files
1.10      ohara    14452:   # are listed without --file.  Let's play safe and only enable the eval
                   14453:   # if we detect the quoting.
                   14454:   case $CONFIG_FILES in
                   14455:   *\'*) eval set x "$CONFIG_FILES" ;;
                   14456:   *)   set x $CONFIG_FILES ;;
                   14457:   esac
                   14458:   shift
                   14459:   for mf
                   14460:   do
                   14461:     # Strip MF so we end up with the name of the file.
                   14462:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   14463:     # Check whether this is an Automake generated Makefile or not.
1.13    ! ohara    14464:     # We used to match only the files named 'Makefile.in', but
1.10      ohara    14465:     # some people rename them; so instead we look at the file content.
                   14466:     # Grep'ing the first line is not enough: some people post-process
                   14467:     # each Makefile.in and add a new line on top of each file to say so.
                   14468:     # Grep'ing the whole file is not good either: AIX grep has a line
                   14469:     # limit of 2048, but all sed's we know have understand at least 4000.
                   14470:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   14471:       dirpart=`$as_dirname -- "$mf" ||
                   14472: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14473:         X"$mf" : 'X\(//\)[^/]' \| \
                   14474:         X"$mf" : 'X\(//\)$' \| \
                   14475:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   14476: $as_echo X"$mf" |
                   14477:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14478:            s//\1/
                   14479:            q
                   14480:          }
                   14481:          /^X\(\/\/\)[^/].*/{
                   14482:            s//\1/
                   14483:            q
                   14484:          }
                   14485:          /^X\(\/\/\)$/{
                   14486:            s//\1/
                   14487:            q
                   14488:          }
                   14489:          /^X\(\/\).*/{
                   14490:            s//\1/
                   14491:            q
                   14492:          }
                   14493:          s/.*/./; q'`
                   14494:     else
                   14495:       continue
                   14496:     fi
                   14497:     # Extract the definition of DEPDIR, am__include, and am__quote
1.13    ! ohara    14498:     # from the Makefile without running 'make'.
1.10      ohara    14499:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   14500:     test -z "$DEPDIR" && continue
                   14501:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
1.13    ! ohara    14502:     test -z "$am__include" && continue
1.10      ohara    14503:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   14504:     # Find all dependency output files, they are included files with
                   14505:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   14506:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   14507:     # expansion.
                   14508:     for file in `sed -n "
                   14509:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.13    ! ohara    14510:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1.10      ohara    14511:       # Make sure the directory exists.
                   14512:       test -f "$dirpart/$file" && continue
                   14513:       fdir=`$as_dirname -- "$file" ||
                   14514: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14515:         X"$file" : 'X\(//\)[^/]' \| \
                   14516:         X"$file" : 'X\(//\)$' \| \
                   14517:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   14518: $as_echo X"$file" |
                   14519:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14520:            s//\1/
                   14521:            q
                   14522:          }
                   14523:          /^X\(\/\/\)[^/].*/{
                   14524:            s//\1/
                   14525:            q
                   14526:          }
                   14527:          /^X\(\/\/\)$/{
                   14528:            s//\1/
                   14529:            q
                   14530:          }
                   14531:          /^X\(\/\).*/{
                   14532:            s//\1/
                   14533:            q
                   14534:          }
                   14535:          s/.*/./; q'`
                   14536:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   14537:       # echo "creating $dirpart/$file"
                   14538:       echo '# dummy' > "$dirpart/$file"
                   14539:     done
                   14540:   done
1.4       takayama 14541: }
1.10      ohara    14542:  ;;
                   14543:     "libtool":C)
1.9       ohara    14544:
1.13    ! ohara    14545:     # See if we are running on zsh, and set the options that allow our
1.10      ohara    14546:     # commands through without removal of \ escapes.
1.13    ! ohara    14547:     if test -n "${ZSH_VERSION+set}"; then
1.10      ohara    14548:       setopt NO_GLOB_SUBST
                   14549:     fi
1.9       ohara    14550:
1.13    ! ohara    14551:     cfgfile=${ofile}T
1.10      ohara    14552:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   14553:     $RM "$cfgfile"
1.4       takayama 14554:
1.10      ohara    14555:     cat <<_LT_EOF >> "$cfgfile"
                   14556: #! $SHELL
1.13    ! ohara    14557: # Generated automatically by $as_me ($PACKAGE) $VERSION
1.10      ohara    14558: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   14559: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.13    ! ohara    14560:
        !          14561: # Provide generalized library-building support services.
        !          14562: # Written by Gordon Matzigkeit, 1996
        !          14563:
        !          14564: # Copyright (C) 2014 Free Software Foundation, Inc.
        !          14565: # This is free software; see the source for copying conditions.  There is NO
        !          14566: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        !          14567:
        !          14568: # GNU Libtool is free software; you can redistribute it and/or modify
        !          14569: # it under the terms of the GNU General Public License as published by
        !          14570: # the Free Software Foundation; either version 2 of of the License, or
        !          14571: # (at your option) any later version.
1.10      ohara    14572: #
1.13    ! ohara    14573: # As a special exception to the GNU General Public License, if you
        !          14574: # distribute this file as part of a program or library that is built
        !          14575: # using GNU Libtool, you may include this file under the  same
        !          14576: # distribution terms that you use for the rest of that program.
1.10      ohara    14577: #
1.13    ! ohara    14578: # GNU Libtool is distributed in the hope that it will be useful, but
        !          14579: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.10      ohara    14580: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   14581: # GNU General Public License for more details.
                   14582: #
                   14583: # You should have received a copy of the GNU General Public License
1.13    ! ohara    14584: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.1       ohara    14585:
                   14586:
1.10      ohara    14587: # The names of the tagged configurations supported by this script.
1.13    ! ohara    14588: available_tags=''
        !          14589:
        !          14590: # Configured defaults for sys_lib_dlsearch_path munging.
        !          14591: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.9       ohara    14592:
1.10      ohara    14593: # ### BEGIN LIBTOOL CONFIG
1.9       ohara    14594:
1.10      ohara    14595: # Which release of libtool.m4 was used?
                   14596: macro_version=$macro_version
                   14597: macro_revision=$macro_revision
1.9       ohara    14598:
1.10      ohara    14599: # Whether or not to build shared libraries.
                   14600: build_libtool_libs=$enable_shared
1.9       ohara    14601:
1.10      ohara    14602: # Whether or not to build static libraries.
                   14603: build_old_libs=$enable_static
1.1       ohara    14604:
1.10      ohara    14605: # What type of objects to build.
                   14606: pic_mode=$pic_mode
1.9       ohara    14607:
1.10      ohara    14608: # Whether or not to optimize for fast installation.
                   14609: fast_install=$enable_fast_install
1.9       ohara    14610:
1.13    ! ohara    14611: # Shared archive member basename,for filename based shared library versioning on AIX.
        !          14612: shared_archive_member_spec=$shared_archive_member_spec
        !          14613:
1.10      ohara    14614: # Shell to use when invoking shell scripts.
                   14615: SHELL=$lt_SHELL
1.4       takayama 14616:
1.10      ohara    14617: # An echo program that protects backslashes.
                   14618: ECHO=$lt_ECHO
1.4       takayama 14619:
1.10      ohara    14620: # The PATH separator for the build system.
                   14621: PATH_SEPARATOR=$lt_PATH_SEPARATOR
1.9       ohara    14622:
1.10      ohara    14623: # The host system.
                   14624: host_alias=$host_alias
                   14625: host=$host
                   14626: host_os=$host_os
1.9       ohara    14627:
1.10      ohara    14628: # The build system.
                   14629: build_alias=$build_alias
                   14630: build=$build
                   14631: build_os=$build_os
1.4       takayama 14632:
1.10      ohara    14633: # A sed program that does not truncate output.
                   14634: SED=$lt_SED
1.4       takayama 14635:
1.10      ohara    14636: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   14637: Xsed="\$SED -e 1s/^X//"
1.1       ohara    14638:
1.10      ohara    14639: # A grep program that handles long lines.
                   14640: GREP=$lt_GREP
1.1       ohara    14641:
1.10      ohara    14642: # An ERE matcher.
                   14643: EGREP=$lt_EGREP
1.2       ohara    14644:
1.10      ohara    14645: # A literal string matcher.
                   14646: FGREP=$lt_FGREP
1.9       ohara    14647:
1.10      ohara    14648: # A BSD- or MS-compatible name lister.
                   14649: NM=$lt_NM
1.4       takayama 14650:
1.10      ohara    14651: # Whether we need soft or hard links.
                   14652: LN_S=$lt_LN_S
1.4       takayama 14653:
1.10      ohara    14654: # What is the maximum length of a command?
                   14655: max_cmd_len=$max_cmd_len
1.9       ohara    14656:
1.10      ohara    14657: # Object file suffix (normally "o").
                   14658: objext=$ac_objext
1.1       ohara    14659:
1.10      ohara    14660: # Executable file suffix (normally "").
                   14661: exeext=$exeext
1.1       ohara    14662:
1.10      ohara    14663: # whether the shell understands "unset".
                   14664: lt_unset=$lt_unset
1.9       ohara    14665:
1.10      ohara    14666: # turn spaces into newlines.
                   14667: SP2NL=$lt_lt_SP2NL
1.9       ohara    14668:
1.10      ohara    14669: # turn newlines into spaces.
                   14670: NL2SP=$lt_lt_NL2SP
1.4       takayama 14671:
1.10      ohara    14672: # convert \$build file names to \$host format.
                   14673: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.1       ohara    14674:
1.10      ohara    14675: # convert \$build files to toolchain format.
                   14676: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       ohara    14677:
1.10      ohara    14678: # An object symbol dumper.
                   14679: OBJDUMP=$lt_OBJDUMP
1.9       ohara    14680:
1.10      ohara    14681: # Method to check whether dependent libraries are shared objects.
                   14682: deplibs_check_method=$lt_deplibs_check_method
1.4       takayama 14683:
1.10      ohara    14684: # Command to use when deplibs_check_method = "file_magic".
                   14685: file_magic_cmd=$lt_file_magic_cmd
1.4       takayama 14686:
1.10      ohara    14687: # How to find potential files when deplibs_check_method = "file_magic".
                   14688: file_magic_glob=$lt_file_magic_glob
1.4       takayama 14689:
1.10      ohara    14690: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   14691: want_nocaseglob=$lt_want_nocaseglob
1.9       ohara    14692:
1.10      ohara    14693: # DLL creation program.
                   14694: DLLTOOL=$lt_DLLTOOL
1.9       ohara    14695:
1.10      ohara    14696: # Command to associate shared and link libraries.
                   14697: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1.9       ohara    14698:
1.10      ohara    14699: # The archiver.
                   14700: AR=$lt_AR
1.9       ohara    14701:
1.10      ohara    14702: # Flags to create an archive.
                   14703: AR_FLAGS=$lt_AR_FLAGS
1.9       ohara    14704:
1.10      ohara    14705: # How to feed a file listing to the archiver.
                   14706: archiver_list_spec=$lt_archiver_list_spec
1.9       ohara    14707:
1.10      ohara    14708: # A symbol stripping program.
                   14709: STRIP=$lt_STRIP
1.4       takayama 14710:
1.10      ohara    14711: # Commands used to install an old-style archive.
                   14712: RANLIB=$lt_RANLIB
                   14713: old_postinstall_cmds=$lt_old_postinstall_cmds
                   14714: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.4       takayama 14715:
1.10      ohara    14716: # Whether to use a lock for old archive extraction.
                   14717: lock_old_archive_extraction=$lock_old_archive_extraction
1.9       ohara    14718:
1.10      ohara    14719: # A C compiler.
                   14720: LTCC=$lt_CC
1.9       ohara    14721:
1.10      ohara    14722: # LTCC compiler flags.
                   14723: LTCFLAGS=$lt_CFLAGS
1.9       ohara    14724:
1.10      ohara    14725: # Take the output of nm and produce a listing of raw symbols and C names.
                   14726: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.9       ohara    14727:
1.10      ohara    14728: # Transform the output of nm in a proper C declaration.
                   14729: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.9       ohara    14730:
1.13    ! ohara    14731: # Transform the output of nm into a list of symbols to manually relocate.
        !          14732: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
        !          14733:
1.10      ohara    14734: # Transform the output of nm in a C name address pair.
                   14735: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.9       ohara    14736:
1.10      ohara    14737: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   14738: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1.9       ohara    14739:
1.13    ! ohara    14740: # The name lister interface.
        !          14741: nm_interface=$lt_lt_cv_nm_interface
        !          14742:
1.10      ohara    14743: # Specify filename containing input files for \$NM.
                   14744: nm_file_list_spec=$lt_nm_file_list_spec
1.4       takayama 14745:
1.13    ! ohara    14746: # The root where to search for dependent libraries,and where our libraries should be installed.
1.10      ohara    14747: lt_sysroot=$lt_sysroot
1.4       takayama 14748:
1.13    ! ohara    14749: # Command to truncate a binary pipe.
        !          14750: lt_truncate_bin=$lt_lt_cv_truncate_bin
        !          14751:
1.10      ohara    14752: # The name of the directory that contains temporary libtool files.
                   14753: objdir=$objdir
1.4       takayama 14754:
1.10      ohara    14755: # Used to examine libraries when file_magic_cmd begins with "file".
                   14756: MAGIC_CMD=$MAGIC_CMD
1.4       takayama 14757:
1.10      ohara    14758: # Must we lock files when doing compilation?
                   14759: need_locks=$lt_need_locks
1.1       ohara    14760:
1.10      ohara    14761: # Manifest tool.
                   14762: MANIFEST_TOOL=$lt_MANIFEST_TOOL
1.4       takayama 14763:
1.10      ohara    14764: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   14765: DSYMUTIL=$lt_DSYMUTIL
1.4       takayama 14766:
1.10      ohara    14767: # Tool to change global to local symbols on Mac OS X.
                   14768: NMEDIT=$lt_NMEDIT
1.4       takayama 14769:
1.10      ohara    14770: # Tool to manipulate fat objects and archives on Mac OS X.
                   14771: LIPO=$lt_LIPO
1.4       takayama 14772:
1.10      ohara    14773: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   14774: OTOOL=$lt_OTOOL
1.9       ohara    14775:
1.10      ohara    14776: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   14777: OTOOL64=$lt_OTOOL64
1.4       takayama 14778:
1.10      ohara    14779: # Old archive suffix (normally "a").
                   14780: libext=$libext
1.4       takayama 14781:
1.10      ohara    14782: # Shared library suffix (normally ".so").
                   14783: shrext_cmds=$lt_shrext_cmds
1.9       ohara    14784:
1.10      ohara    14785: # The commands to extract the exported symbol list from a shared archive.
                   14786: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.4       takayama 14787:
1.10      ohara    14788: # Variables whose values should be saved in libtool wrapper scripts and
                   14789: # restored at link time.
                   14790: variables_saved_for_relink=$lt_variables_saved_for_relink
1.4       takayama 14791:
1.10      ohara    14792: # Do we need the "lib" prefix for modules?
                   14793: need_lib_prefix=$need_lib_prefix
1.4       takayama 14794:
1.10      ohara    14795: # Do we need a version for libraries?
                   14796: need_version=$need_version
1.4       takayama 14797:
1.10      ohara    14798: # Library versioning type.
                   14799: version_type=$version_type
1.4       takayama 14800:
1.10      ohara    14801: # Shared library runtime path variable.
                   14802: runpath_var=$runpath_var
1.4       takayama 14803:
1.10      ohara    14804: # Shared library path variable.
                   14805: shlibpath_var=$shlibpath_var
1.4       takayama 14806:
1.10      ohara    14807: # Is shlibpath searched before the hard-coded library search path?
                   14808: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.4       takayama 14809:
1.10      ohara    14810: # Format of library name prefix.
                   14811: libname_spec=$lt_libname_spec
1.9       ohara    14812:
1.10      ohara    14813: # List of archive names.  First name is the real one, the rest are links.
                   14814: # The last name is the one that the linker finds with -lNAME
                   14815: library_names_spec=$lt_library_names_spec
1.4       takayama 14816:
1.10      ohara    14817: # The coded name of the library, if different from the real name.
                   14818: soname_spec=$lt_soname_spec
1.4       takayama 14819:
1.10      ohara    14820: # Permission mode override for installation of shared libraries.
                   14821: install_override_mode=$lt_install_override_mode
1.4       takayama 14822:
1.10      ohara    14823: # Command to use after installation of a shared archive.
                   14824: postinstall_cmds=$lt_postinstall_cmds
1.4       takayama 14825:
1.10      ohara    14826: # Command to use after uninstallation of a shared archive.
                   14827: postuninstall_cmds=$lt_postuninstall_cmds
1.4       takayama 14828:
1.10      ohara    14829: # Commands used to finish a libtool library installation in a directory.
                   14830: finish_cmds=$lt_finish_cmds
1.4       takayama 14831:
1.10      ohara    14832: # As "finish_cmds", except a single script fragment to be evaled but
                   14833: # not shown.
                   14834: finish_eval=$lt_finish_eval
1.4       takayama 14835:
1.10      ohara    14836: # Whether we should hardcode library paths into libraries.
                   14837: hardcode_into_libs=$hardcode_into_libs
1.7       ohara    14838:
1.10      ohara    14839: # Compile-time system search path for libraries.
                   14840: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.9       ohara    14841:
1.13    ! ohara    14842: # Detected run-time system search path for libraries.
        !          14843: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
        !          14844:
        !          14845: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
        !          14846: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.4       takayama 14847:
1.10      ohara    14848: # Whether dlopen is supported.
                   14849: dlopen_support=$enable_dlopen
1.9       ohara    14850:
1.10      ohara    14851: # Whether dlopen of programs is supported.
                   14852: dlopen_self=$enable_dlopen_self
1.4       takayama 14853:
1.10      ohara    14854: # Whether dlopen of statically linked programs is supported.
                   14855: dlopen_self_static=$enable_dlopen_self_static
1.4       takayama 14856:
1.10      ohara    14857: # Commands to strip libraries.
                   14858: old_striplib=$lt_old_striplib
                   14859: striplib=$lt_striplib
1.4       takayama 14860:
                   14861:
1.10      ohara    14862: # The linker used to build libraries.
                   14863: LD=$lt_LD
1.4       takayama 14864:
1.10      ohara    14865: # How to create reloadable object files.
                   14866: reload_flag=$lt_reload_flag
                   14867: reload_cmds=$lt_reload_cmds
1.4       takayama 14868:
1.10      ohara    14869: # Commands used to build an old-style archive.
                   14870: old_archive_cmds=$lt_old_archive_cmds
1.9       ohara    14871:
1.10      ohara    14872: # A language specific compiler.
                   14873: CC=$lt_compiler
1.9       ohara    14874:
1.10      ohara    14875: # Is the compiler the GNU compiler?
                   14876: with_gcc=$GCC
1.9       ohara    14877:
1.10      ohara    14878: # Compiler flag to turn off builtin functions.
                   14879: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.4       takayama 14880:
1.10      ohara    14881: # Additional compiler flags for building library objects.
                   14882: pic_flag=$lt_lt_prog_compiler_pic
1.4       takayama 14883:
1.10      ohara    14884: # How to pass a linker flag through the compiler.
                   14885: wl=$lt_lt_prog_compiler_wl
1.4       takayama 14886:
1.10      ohara    14887: # Compiler flag to prevent dynamic linking.
                   14888: link_static_flag=$lt_lt_prog_compiler_static
1.4       takayama 14889:
1.10      ohara    14890: # Does compiler simultaneously support -c and -o options?
                   14891: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.9       ohara    14892:
1.10      ohara    14893: # Whether or not to add -lc for building shared libraries.
                   14894: build_libtool_need_lc=$archive_cmds_need_lc
1.1       ohara    14895:
1.10      ohara    14896: # Whether or not to disallow shared libs when runtime libs are static.
                   14897: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.9       ohara    14898:
1.10      ohara    14899: # Compiler flag to allow reflexive dlopens.
                   14900: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.4       takayama 14901:
1.10      ohara    14902: # Compiler flag to generate shared objects directly from archives.
                   14903: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.4       takayama 14904:
1.10      ohara    14905: # Whether the compiler copes with passing no objects directly.
                   14906: compiler_needs_object=$lt_compiler_needs_object
1.4       takayama 14907:
1.10      ohara    14908: # Create an old-style archive from a shared archive.
                   14909: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.9       ohara    14910:
1.10      ohara    14911: # Create a temporary old-style archive to link instead of a shared archive.
                   14912: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.9       ohara    14913:
1.10      ohara    14914: # Commands used to build a shared archive.
                   14915: archive_cmds=$lt_archive_cmds
                   14916: archive_expsym_cmds=$lt_archive_expsym_cmds
1.1       ohara    14917:
1.10      ohara    14918: # Commands used to build a loadable module if different from building
                   14919: # a shared archive.
                   14920: module_cmds=$lt_module_cmds
                   14921: module_expsym_cmds=$lt_module_expsym_cmds
1.9       ohara    14922:
1.10      ohara    14923: # Whether we are building with GNU ld or not.
                   14924: with_gnu_ld=$lt_with_gnu_ld
1.9       ohara    14925:
1.10      ohara    14926: # Flag that allows shared libraries with undefined symbols to be built.
                   14927: allow_undefined_flag=$lt_allow_undefined_flag
1.9       ohara    14928:
1.10      ohara    14929: # Flag that enforces no undefined symbols.
                   14930: no_undefined_flag=$lt_no_undefined_flag
1.9       ohara    14931:
1.10      ohara    14932: # Flag to hardcode \$libdir into a binary during linking.
                   14933: # This must work even if \$libdir does not exist
                   14934: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.9       ohara    14935:
1.10      ohara    14936: # Whether we need a single "-rpath" flag with a separated argument.
                   14937: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.4       takayama 14938:
1.13    ! ohara    14939: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.10      ohara    14940: # DIR into the resulting binary.
                   14941: hardcode_direct=$hardcode_direct
1.1       ohara    14942:
1.13    ! ohara    14943: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.10      ohara    14944: # DIR into the resulting binary and the resulting library dependency is
1.13    ! ohara    14945: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
1.10      ohara    14946: # library is relocated.
                   14947: hardcode_direct_absolute=$hardcode_direct_absolute
1.9       ohara    14948:
1.10      ohara    14949: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   14950: # into the resulting binary.
                   14951: hardcode_minus_L=$hardcode_minus_L
1.9       ohara    14952:
1.10      ohara    14953: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   14954: # into the resulting binary.
                   14955: hardcode_shlibpath_var=$hardcode_shlibpath_var
1.9       ohara    14956:
1.10      ohara    14957: # Set to "yes" if building a shared library automatically hardcodes DIR
                   14958: # into the library and all subsequent libraries and executables linked
                   14959: # against it.
                   14960: hardcode_automatic=$hardcode_automatic
1.9       ohara    14961:
1.10      ohara    14962: # Set to yes if linker adds runtime paths of dependent libraries
                   14963: # to runtime path list.
                   14964: inherit_rpath=$inherit_rpath
1.9       ohara    14965:
1.10      ohara    14966: # Whether libtool must link a program against all its dependency libraries.
                   14967: link_all_deplibs=$link_all_deplibs
1.9       ohara    14968:
1.10      ohara    14969: # Set to "yes" if exported symbols are required.
                   14970: always_export_symbols=$always_export_symbols
1.9       ohara    14971:
1.10      ohara    14972: # The commands to list exported symbols.
                   14973: export_symbols_cmds=$lt_export_symbols_cmds
1.9       ohara    14974:
1.10      ohara    14975: # Symbols that should not be listed in the preloaded symbols.
                   14976: exclude_expsyms=$lt_exclude_expsyms
1.9       ohara    14977:
1.10      ohara    14978: # Symbols that must always be exported.
                   14979: include_expsyms=$lt_include_expsyms
1.9       ohara    14980:
1.10      ohara    14981: # Commands necessary for linking programs (against libraries) with templates.
                   14982: prelink_cmds=$lt_prelink_cmds
1.1       ohara    14983:
1.10      ohara    14984: # Commands necessary for finishing linking programs.
                   14985: postlink_cmds=$lt_postlink_cmds
1.1       ohara    14986:
1.10      ohara    14987: # Specify filename containing input files.
                   14988: file_list_spec=$lt_file_list_spec
1.1       ohara    14989:
1.10      ohara    14990: # How to hardcode a shared library path into an executable.
                   14991: hardcode_action=$hardcode_action
1.4       takayama 14992:
1.10      ohara    14993: # ### END LIBTOOL CONFIG
1.1       ohara    14994:
1.10      ohara    14995: _LT_EOF
1.9       ohara    14996:
1.13    ! ohara    14997:     cat <<'_LT_EOF' >> "$cfgfile"
        !          14998:
        !          14999: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
        !          15000:
        !          15001: # func_munge_path_list VARIABLE PATH
        !          15002: # -----------------------------------
        !          15003: # VARIABLE is name of variable containing _space_ separated list of
        !          15004: # directories to be munged by the contents of PATH, which is string
        !          15005: # having a format:
        !          15006: # "DIR[:DIR]:"
        !          15007: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          15008: # ":DIR[:DIR]"
        !          15009: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          15010: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          15011: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          15012: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          15013: # "DIR[:DIR]"
        !          15014: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          15015: func_munge_path_list ()
        !          15016: {
        !          15017:     case x$2 in
        !          15018:     x)
        !          15019:         ;;
        !          15020:     *:)
        !          15021:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          15022:         ;;
        !          15023:     x:*)
        !          15024:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          15025:         ;;
        !          15026:     *::*)
        !          15027:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          15028:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          15029:         ;;
        !          15030:     *)
        !          15031:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          15032:         ;;
        !          15033:     esac
        !          15034: }
        !          15035:
        !          15036:
        !          15037: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          15038: func_cc_basename ()
        !          15039: {
        !          15040:     for cc_temp in $*""; do
        !          15041:       case $cc_temp in
        !          15042:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          15043:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          15044:         \-*) ;;
        !          15045:         *) break;;
        !          15046:       esac
        !          15047:     done
        !          15048:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          15049: }
        !          15050:
        !          15051:
        !          15052: # ### END FUNCTIONS SHARED WITH CONFIGURE
        !          15053:
        !          15054: _LT_EOF
        !          15055:
1.10      ohara    15056:   case $host_os in
                   15057:   aix3*)
                   15058:     cat <<\_LT_EOF >> "$cfgfile"
                   15059: # AIX sometimes has problems with the GCC collect2 program.  For some
                   15060: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   15061: # vanish in a puff of smoke.
1.13    ! ohara    15062: if test set != "${COLLECT_NAMES+set}"; then
1.10      ohara    15063:   COLLECT_NAMES=
                   15064:   export COLLECT_NAMES
                   15065: fi
                   15066: _LT_EOF
                   15067:     ;;
1.9       ohara    15068:   esac
1.1       ohara    15069:
1.9       ohara    15070:
1.13    ! ohara    15071: ltmain=$ac_aux_dir/ltmain.sh
1.9       ohara    15072:
                   15073:
1.10      ohara    15074:   # We use sed instead of cat because bash on DJGPP gets confused if
                   15075:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   15076:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   15077:   # is reportedly fixed, but why not run on old versions too?
                   15078:   sed '$q' "$ltmain" >> "$cfgfile" \
                   15079:      || (rm -f "$cfgfile"; exit 1)
1.9       ohara    15080:
1.10      ohara    15081:    mv -f "$cfgfile" "$ofile" ||
                   15082:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   15083:   chmod +x "$ofile"
1.7       ohara    15084:
                   15085:  ;;
1.9       ohara    15086:
1.7       ohara    15087:   esac
1.9       ohara    15088: done # for ac_tag
1.1       ohara    15089:
                   15090:
1.10      ohara    15091: as_fn_exit 0
1.4       takayama 15092: _ACEOF
                   15093: ac_clean_files=$ac_clean_files_save
                   15094:
1.10      ohara    15095: test $ac_write_fail = 0 ||
                   15096:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   15097:
1.4       takayama 15098:
                   15099: # configure is writing to config.log, and then calls config.status.
                   15100: # config.status does its own redirection, appending to config.log.
                   15101: # Unfortunately, on DOS this fails, as config.log is still kept open
                   15102: # by configure, so config.status won't be able to write to it; its
                   15103: # output is simply discarded.  So we exec the FD to /dev/null,
                   15104: # effectively closing config.log, so it can be properly (re)opened and
                   15105: # appended to by config.status.  When coming back to configure, we
                   15106: # need to make the FD available again.
                   15107: if test "$no_create" != yes; then
                   15108:   ac_cs_success=:
1.9       ohara    15109:   ac_config_status_args=
                   15110:   test "$silent" = yes &&
                   15111:     ac_config_status_args="$ac_config_status_args --quiet"
1.4       takayama 15112:   exec 5>/dev/null
1.9       ohara    15113:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.4       takayama 15114:   exec 5>>config.log
                   15115:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   15116:   # would make configure fail if this is the last instruction.
1.10      ohara    15117:   $ac_cs_success || as_fn_exit 1
                   15118: fi
                   15119: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   15120:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   15121: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.4       takayama 15122: fi
1.2       ohara    15123:

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